Repository navigation
refactor(mosaic): export one props type per component - #10876
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
| Name | Type |
|---|---|
| @clerk/mosaic | Minor |
| @clerk/swingset | Patch |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
Description
@clerk/mosaicnow exports one props type per component:SwitcherProps,UserButtonProps,OrganizationSwitcherProps,ProfileProps,UserProfilePropsandOrganizationProfileProps.CombinedSwitcherProps,CombinedProfilePropsandProfileModefrom the package exports. They were branches of themodeunions, not types a consumer needs. A mode is still available asNonNullable<ProfileProps['mode']>.UserButtonPropsandOrganizationSwitcherPropsare now exported from their own component files.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change