Skip to content

[pull] master from microsoft:master - #532

Merged
pull[bot] merged 2 commits into
code:masterfrom
microsoft:master
Jul 7, 2026
Merged

[pull] master from microsoft:master#532
pull[bot] merged 2 commits into
code:masterfrom
microsoft:master

Conversation

@pull

@pull pull Bot commented Jul 7, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

radium-v added 2 commits July 6, 2026 14:58
## Previous Behavior

* The indeterminate `<fluent-checkbox>` example wasn't wired up correctly.
* The `<fluent-accordion>` example felt a bit separated.

## New Behavior

* The `indeterminate` flag is set when the page is loaded.
* The accordion example uses single expand mode.
## Previous Behavior

The V2 → V3 migration guide (`packages/web-components/src/_docs/developer/migration.mdx`) was a high-level, snapshot-style document. It listed what was new in v3 as bullet points and relied heavily on large comparison tables, but gave little concrete guidance on how to actually update code — installation, component registration, theming, and per-component markup changes were sparse or missing.

## New Behavior

The migration guide is rewritten to be a practical, task-oriented reference for moving from v2 (`2.6.1`) to v3:

- Reframes the intro around v3 being a ground-up rewrite and calls out the concrete breaking areas: imports, component registration, theming, and form-control markup.
- Adds a **Major Changes** overview (FAST Element v3 foundation, individual component exports, new registration model, token-based theming, `ElementInternals`, smaller bundle).
- Adds a real **Bundle Size Comparison** table (v2.6.1 vs v3.0.0, with minified/gzip/brotli sizes and percentage reductions).
- Adds **Usage** guidance covering installation, the `@microsoft/fast-element` peer dependency, side-effect `define` imports for individual components, `web-components.js`, and importing a component's class/template/styles/definition.
- Documents the new **Theming** model, replacing design tokens and `DesignSystemProvider` with `setTheme()` (page-level and element-level, plus unsetting).
- Updates the Storybook `Meta` title from "V2 → V3 Migration Guide" to "V2 to V3 Migration Guide" and the page heading to "Migration Guide".
@pull pull Bot locked and limited conversation to collaborators Jul 7, 2026
@pull pull Bot added the ⤵️ pull label Jul 7, 2026
@pull
pull Bot merged commit 88ae4e3 into code:master Jul 7, 2026
1 check passed
@pull
pull Bot had a problem deploying to github-pages July 7, 2026 05:26 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant