Skip to content

Document the remaining 41 desktop Flex component contracts - #4527

Merged
Jason Morse (JasonVMo) merged 3 commits into
mainfrom
user/jasonvmo/missing-component-specs
Nov 24, 2026
Merged

Jason Morse (JasonVMo) merged 3 commits into
mainfrom
user/jasonvmo/missing-component-specs

Conversation

@JasonVMo

Copy link
Copy Markdown
Contributor

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Description of changes

Add draft React Native contracts for the 41 previously unspecified entries in the pinned Flex 1.7 catalog. All 66 Flex entries now have a local spec; Text remains a separate native foundation. No runtime implementation or export changes.

Start with Label, Field and InfoLabel to review how visible text, native naming and control activation relate. The catalog review order groups the remaining 38 by dependency. Each draft includes source provenance, token bindings, interaction, accessibility, usage and planned evidence. Native picker behavior, writable ranges, modal isolation and focus recovery are requirements to verify, not claims of platform support.

Part of #4273. This does not close the implementation or native qualification work.

Verification

  • yarn workspace @fluentui-react-native/components check:spec-contracts — passed (67 contracts).
  • yarn change:check — passed against origin/main.
  • git diff --check origin/main...HEAD — passed. The three rebased patches are unchanged from the spec branch before rebasing.
  • yarn clean-lage-cache — passed.
  • yarn lage buildci --concurrency 1 — passed (186 tasks).
  • yarn lage test-links --verbose --grouped — passed (94 tasks).
  • Native interaction and screen-reader testing: not run. These are draft contracts, not implemented controls.
Before After
41 of 66 pinned Flex entries lacked a local contract. All 66 have a local contract; the 41 additions are drafts. Public exports and runtime behavior are unchanged.

Pull request checklist

This PR has considered (when applicable):

  • Automated Tests
  • Documentation and examples
  • Keyboard Accessibility
  • Voiceover
  • Internationalization and Right-to-left Layouts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5316a48e-4ec4-4d0e-b737-bd9b71c823ca
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5316a48e-4ec4-4d0e-b737-bd9b71c823ca
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5316a48e-4ec4-4d0e-b737-bd9b71c823ca
@github-actions

Copy link
Copy Markdown
Contributor

Bundle size report

Tree-shaken, minified production esbuild bundles with React and React Native runtimes externalized.

Scenario Modules-Mac (Δ) Modules-Win (Δ) Size-Mac (Δ) Size-Win (Δ)
components-button 81 (+3) 82 (+3) 77.87k (+4.24k) 77.79k (+4.24k)
components-catalog 280 (+53) 281 (+53) 257.16k (+27.84k) 257.08k (+27.84k)
design-themed-root 55 (+4) 56 (+4) 56.69k (+1.43k) 56.61k (+1.43k)
design-color-lib 6 (+0) 6 (+0) 6.27k (+0b) 6.27k (+0b)
design-theme-state-legacy-source 49 (+1) 50 (+1) 53.04k (-760b) 52.97k (-760b)
design-legacy-theme 42 (+0) 42 (+0) 39.11k (+0b) 42.91k (+0b)
design-legacy-theme-from-flex 58 (+4) 58 (+4) 61.05k (+1.17k) 64.86k (+1.17k)
design-fluent-light-theme 7 (+0) 7 (+0) 18.74k (+0b) 22.59k (+0b)
design-fluent-theme 35 (+0) 35 (+0) 27.46k (+4b) 31.25k (-1b)
design-fluent-hc-theme 32 (+0) 32 (+0) 27.34k (+0b) 31.13k (+0b)
design-flex-theme 29 (-4) 29 (-4) 14.30k (-9.07k) 14.29k (-9.07k)
design-flex-cool-theme 26 (New) 26 (New) 12.51k (New) 12.50k (New)
design-flex-warm-theme 26 (-7) 26 (-7) 12.28k (-11.15k) 12.27k (-11.15k)

The job is advisory: size changes are reported but do not fail the pull request. Bundle or analysis errors still fail.


View bundle-size workflow run

@JasonVMo
Jason Morse (JasonVMo) enabled auto-merge (squash) November 24, 2026 01:18
@JasonVMo
Jason Morse (JasonVMo) merged commit 6d2b340 into main Nov 24, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants