Repository navigation
fix(mosaic): fix primitive arrow, selection and disabled bugs and share panel sizing - #10574
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 57c437c The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types 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 |
|
No actionable comments were generated in the recent review.
|
@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
Fixes small bugs in the Mosaic Autocomplete, Menu and Select primitives, and moves the panel sizing logic duplicated in Accordion and Collapsible into a shared
usePanelSizehook.aria-selectednow follows the selected option rather than the highlighted one, and options stay frozen during the exit animation.Autocomplete.Arrow,Menu.ArrowandSelect.Arrownow forwardrefinstead of dropping it, and no longer listcontextin their props.aria-disabled={false}.usePanelSizeis a refactor. CSS variable names are unchanged, and Accordion still sets no width variable.Autocomplete and Combobox stay separate, as do menu/select, checkbox/switch and popover/tooltip. The changeset is empty because primitives have no public export.
Browser captures of the styled Swingset Menu at 1200 × 900. In both runs, the first item is given
aria-disabled="false"in the browser, then End and Home are pressed. The before capture uses the parent commit’s MenuPositioner; the after capture uses this branch. No CSS was changed.Checklist
pnpm testruns as expected. (run frompackages/mosaic)pnpm buildruns as expected.Type of change