Skip to content

Fix native component definitions to codegen in all situations - #4027

Merged
Jason Morse (JasonVMo) merged 6 commits into
mainfrom
user/jasonvmo/fix-native-components
Mar 3, 2026
Merged

Jason Morse (JasonVMo) merged 6 commits into
mainfrom
user/jasonvmo/fix-native-components

Conversation

@JasonVMo

Copy link
Copy Markdown
Contributor

Platforms Impacted

  • all

Description of changes

Codegen's ability to find things like type files varies quite a bit. When running directly from typescript files:

  • it will not be able to pull in types from other files reliably
  • it will not generate correctly for things defined using types instead of interfaces
  • react-native now exports most of the types needed that we had to redefine previously.

This fixes bundling against 81 (combined with the default exports fix), allowing codegen to run as part of the bundle and build.

Verification

Combination of manual steps, and automated tests.

@changeset-bot

changeset-bot Bot commented Feb 28, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 61651e5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@fluentui-react-native/contextual-menu Patch
@fluentui-react-native/vibrancy-view Patch
@fluentui-react-native/focus-trap-zone Patch
@fluentui-react-native/menu-button Patch
@fluentui-react-native/focus-zone Patch
@fluentui-react-native/tooltip Patch
@fluentui-react-native/experimental-avatar Patch
@fluentui-react-native/callout Patch
@fluentui-react-native/button Patch
@fluentui-react-native/experimental-menu-button Patch
@fluentui/react-native Patch
@fluentui-react-native/menu Patch
@fluentui-react-native/radio-group Patch
@fluentui-react-native/tablist Patch
@fluentui-react-native/dropdown Patch
@fluentui-react-native/notification Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread .vscode/settings.json Resolved
Comment thread docs/pages/Components/Callout.md Resolved
@JasonVMo
Jason Morse (JasonVMo) merged commit f72b43a into main Mar 3, 2026
13 checks passed
@JasonVMo
Jason Morse (JasonVMo) deleted the user/jasonvmo/fix-native-components branch March 3, 2026 01:03
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