Skip to content

Fix native component definitions to codegen in all situations#4027

Merged
JasonVMo merged 6 commits intomainfrom
user/jasonvmo/fix-native-components
Mar 3, 2026
Merged

Fix native component definitions to codegen in all situations#4027
JasonVMo merged 6 commits intomainfrom
user/jasonvmo/fix-native-components

Conversation

@JasonVMo
Copy link
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.

@JasonVMo JasonVMo requested a review from acoates-ms February 28, 2026 00:52
@changeset-bot
Copy link

changeset-bot bot commented Feb 28, 2026

🦋 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

@JasonVMo JasonVMo requested a review from Saadnajmi February 28, 2026 00:52
@JasonVMo JasonVMo merged commit f72b43a into main Mar 3, 2026
13 checks passed
@JasonVMo 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