Repository navigation
feat(mosaic)!: remove Menu.Indicator and add checkbox and radio items to Menu - #11000
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: e62d91b The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
|
Warning Review limit reached
This review includes 1 billable file and costs up to $0.25.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 14 minutes for your next included review. View limit details
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: |
|
| Merge-base | This PR 875db235 |
|---|---|
Merge-base
This PR 875db235
Also checked · 4 match
Proof on e62d91b8 (from 875db235) · mocked: ActionMenu scratch page (No Swingset story puts an ActionMenu action into a lasting pending state, so a t...) · Did Proof get it right? Yes · No
View full Proof report · React 👎 or comment @codesmith dismiss this proof to dismiss


Description
Removes
Menu.Indicatorso that "indicator" only names a part that follows checked state, as in Base UI, and adds checkbox and radio items to Menu. This is a breaking change. The changeset has the old→new table and agit grepto find usages.Menu.CheckboxItem,Menu.RadioGroupandMenu.RadioItem, withMenu.CheckboxItemIndicatorandMenu.RadioItemIndicator, headless and styled, modelled on Base UI 1.5.0. Checkable items keep the menu open on click unlesscloseOnClickis passed.keepMountedand show a checkmark when given no children. LikeSelect.ItemIndicatorin feat(mosaic)!: rename Select and Combobox Option parts to Item and add Select.ItemIndicator #10997, every row keeps the check's column and only the checked row shows it.Menu.Indicatorand thesizeprop onMenu.Mediaare removed. Any other trailing mark, such as the ActionMenu spinner, now goes in a trailingMenu.Media.aria-checked="true"in place ofaria-current="true".Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change