Repository navigation
Release 0.6.0: hook rework, website redesign, CI updates. - #12
Merged
Merged
Conversation
- Single ordered item list drives both rendering and keyboard order - Combobox/listbox/option ARIA wiring via searchProps, listProps, itemProps - Selection follows items by id; scrolling only the list, on keyboard moves - Keyboard: IME, key repeat, modifier and layout-aware shortcut handling - Stable item and group identity: typing and async results re-render only the rows that change - Types: distributive PreparedItem, separate async result type parameter - Internals split into list, selection, keyboard and scroll modules - Ship README, LICENSE and CHANGELOG in the package; drop committed dist - Tests (render counts and type-level), benchmark, typecheck script Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Shared design tokens: warm greys, slate accent, Open Sauce One and Rhallisa (WOFF2 subsets), ease-sail motion curve - Floating top menu, lit header card with the live demo, features and usage bands, dark grain footer - Demo: gliding selection highlight, key hints, Esc to go back, toast isolated so it doesn't re-render the menu, browser-safe shortcuts - Accessible group markup and contrast; version read from the package Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Move checkout, setup-node and pnpm/action-setup to their Node 24 majors (Node 20 is gone from the runners) - Add a typecheck task, run it in CI and before publishing - Build workspace dependencies before dev - Document the two-step Changesets release flow Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: fca3a7f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release commandmenu 0.6.0: a rework of the
useCommandMenuhook (correctness, accessibility, performance and types), a redesign of the website and updates to CI and the release tooling.The included changeset bumps the package to 0.6.0. It's a minor bump, but the release has breaking API changes.
Breaking changes
itemProps(id,role,aria-disabled,onClick,onMouseDown,onPointerMove) instead of top-level handlers. Spread it onto the row.selectionis replaced byselectedId.listPropsnow carries arefthat the hook uses to scroll the highlighted option into view.groups, async results are appended to the flat list.isAsyncLoadingandAsyncResultsGroup.isLoadingare removed. They only returned the value passed in.PreparedItemkeepsdisabledso rows can style it.Test plan
pnpm test)pnpm lint)pnpm build)