Version Packages - #1285
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
🏋️ Size limit report
Click here if you want to find out what is changed in this build |
Contributor
🧪 Storybook is successfully deployed!
|
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 7, 2026 15:10
1a44843 to
3a45cd8
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 7, 2026 15:30
3a45cd8 to
aca92bd
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@cube-dev/ui-kit@0.156.0
Minor Changes
#1287
946f6b85Thanks @tenphi! - AddColorPicker— a form-attachable color input. The field shows the current color as a swatch, accepts hex,rgb(),hsl(),okhsl(),okhst()andoklch()text, and opens a popover where the color can be tuned on three axes: HST (OKHST hue/saturation/tone), LCH (OKLCH lightness/chroma/hue) or RGB. Every conversion runs through Glaze, so the value is always a real, in-gamut color.formatModecontrols how the text relates to the value:forced(default) rewrites the text informat,derivekeeps the notation the user typed but normalizes the value, andfreepasses the text through verbatim after verifying it parses. Also adds aPipetteIcon.#1286
272a9e9bThanks @tenphi! - Add widget selection and rigid group movement toBoard.Set
selectionMode="single" | "multiple"and read the selection withselectedKeys/defaultSelectedKeys/onSelectionChange(keys are layout itemids, always returned in layout order).
Pressing a widget selects it on pointer-down and arms a drag of the selection —
selecting and grabbing are one gesture, so move the pointer and it drags, stay
still and it was only a selection. Shift (or Cmd/
Ctrl) toggles membership, dragging from empty canvas lassos
(
allowMarqueeSelection), Space toggles the focused widget, andEscape clears.
Selection behaves like focus: it tracks what the user is working with and moves on
as soon as they touch something else — pressing another widget makes that the
selection, and pressing an interactive control inside a widget or moving focus off
the board drops it entirely.
With
"multiple", dragging any selected widget moves the whole selection as arigid block that reflows by the board's own rules — the same compaction a single
widget gets, so a group can never be parked in empty space on a
verticalboardand the widgets around it close the gap in the same frame. Every widget travels by the same delta, the group clamps against the
grid edge as a unit instead of collapsing into it, a frame that cannot be placed
is rejected outright rather than partially applied, and the move commits through a
single
onLayoutChange. Arrow keys move the group too.BoardInteractionInfogains
items,oldItemsandplaceholdersdescribing the whole gesture; theexisting
item/oldItem/placeholderfields are unchanged, and a board withno selection behaves exactly as before.
The
selectionCancelselector (board- or widget-level, defaulting to the exportedBOARD_SELECTION_CANCEL) marks interactive descendants;[data-no-select]optsout a custom control. On a selectable board it also gates dragging, which fixes a
long-standing trap:
useMove's pointer-down callspreventDefault(), so withouta
dragCancelaninputinside a widget could not be focused or typed into.Selected widgets are drawn with a
#primary-borderborder and a#primaryring —an edge treatment rather than a fill, since selection reads as a focus-like state;
outlinestays reserved for the real focus ring. Widgets get aselectedmodifier you can restyle through
widgetProps.styles.onWidgetsDeletereports a Delete/Backspace press with anon-empty selection. Board never mutates the layout itself, so removal stays
yours to implement and to make undoable.
Accessibility: widget hosts are now
role="group"with an accessible name fromthe new
Board.Widgetaria-labelprop (falling back toqa, then the layoutid).
aria-roledescriptionis now localized rather than hardcoded English — itwas previously also invalid, sitting on a role-less element. Selected widgets are
described as "Selected", and selection changes are announced through a polite live
region.
Widget hosts also expose
data-board-widget-idanddata-selected.Patch Changes
fc517477Thanks @tenphi! - Fix the types ofFilterListBox.ItemandCommandMenu.Item. Both were declared as React Stately's bareItem, soItemprops such asicon,rightIcon,description,hotkeysandactionswere rejected by TypeScript even though they worked at runtime. They now useCollectionItem, matchingListBox.Item,Menu.Itemand the other collection components.Note
Low Risk
Version and changelog-only Changesets release PR with no runtime code changes in the diff.
Overview
Release bump for
@cube-dev/ui-kit0.155.0 → 0.156.0 via Changesets—no application source changes in this diff.The 0.156.0 changelog is added and three pending changeset files are removed after their notes are merged. Documented in the release:
ColorPicker(minor),Boardwidget selection and rigid group moves (minor), and a patch fixingFilterListBox.Item/CommandMenu.ItemTypeScript types to useCollectionItem.Reviewed by Cursor Bugbot for commit aca92bd. Bugbot is set up for automated code reviews on this repo. Configure here.