Skip to content

Version Packages - #1347

Merged
tenphi merged 1 commit into
mainfrom
changeset-release/main
Aug 24, 2026
Merged

Version Packages#1347
tenphi merged 1 commit into
mainfrom
changeset-release/main

Conversation

@tenphi

@tenphi tenphi commented Aug 24, 2026

Copy link
Copy Markdown
Member

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.166.0

Minor Changes

  • #1348 e0ccb9b0 Thanks @tenphi! - Board: a fixed cols × rows matrix, two exported placement helpers, and a hover-ring opt-out.

    • rows renders exactly that many rows whatever the content needs — a matrix rather than a grid that hugs its widgets — and implies a maxRows of the same value, so gridBounds keeps every drag and resize inside it without a per-widget maxH.
    • rowHeight="stretch" divides the board's own measured height into those rows. Together the two express "a grid of a declared size that fills the box it is given": the board takes its parent's height and each cell an equal share, so resizing the container resizes the cells instead of adding or removing them. It engages only with rows set and a parent that has a height of its own; otherwise the board keeps its ordinary content-hugging behaviour at the default row height. Previously an app wanting this had to measure the box itself, divide by the row count, and feed the result back in as rowHeight — which meant rendering nothing until the first measurement landed.
    • placeInFreeSlot(others, item, cols, maxRows?) and distributeEvenly(layout, { cols, rows }) are now exported. The first is the rule the board already applies when a dragged widget cannot stay where it was dropped; exporting it means a widget an app adds programmatically lands where a drag would have put it, instead of wherever the app's own re-implementation of the scan decided. The second tiles items evenly across both axes while keeping the row structure the layout already has, and is the one operation that deliberately grows items — which is why it is a call the app makes rather than a mode the board is in.
    • hoverRing (on Board.Widget, or for the whole board via widgetProps) turns off the resting ring a widget shows on hover. It is the affordance that says a widget can be picked up, and on scenery — a chromeless layout container, a spacer — it advertises an interaction the widget does not really offer. Turning it off used to mean overriding styles.shadow, which replaces the whole modifier map, so the selected ring and the drag lift had to be re-authored by hand just to drop the hover state.

Patch Changes

  • #1346 3e5e3fee Thanks @tenphi! - Tooltip: force wrapping of unbreakable content (URLs, tokens, identifiers) so it no longer overflows the tooltip.

Note

Low Risk
Release-only metadata (version bump, changelog, consumed changesets); no application or security-sensitive code is modified.

Overview
Changesets release PR: bumps @cube-dev/ui-kit from 0.165.0 to 0.166.0, writes the corresponding CHANGELOG.md notes, and consumes the pending changeset files.

The changelog records a minor for Board (fixed cols × rows matrix, rowHeight="stretch", exported placeInFreeSlot / distributeEvenly, and hoverRing) and a patch for Tooltip wrapping of unbreakable content. No runtime source changes in this PR.

Reviewed by Cursor Bugbot for commit 0723727. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cube-ui-kit Ready Ready Preview Aug 24, 2026 3:57pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

🧪 Storybook is successfully deployed!

@github-actions

Copy link
Copy Markdown
Contributor

🏋️ Size limit report

Name Size Passed?
All 498 KB (0% 🟰) Yes 🎉
Tree shaking (just a Button) 121.13 KB (0% 🟰) Yes 🎉

Compared against main at 3e5e3ferun 32739310694, 2026-08-24T14:32:16Z.

To see which modules changed, download the size-limit-statoscope-report artifact from this run and open report.html.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 161bf84 to 0723727 Compare August 24, 2026 15:56
@tenphi
tenphi merged commit 3755065 into main Aug 24, 2026
4 checks passed
@tenphi
tenphi deleted the changeset-release/main branch August 24, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant