Skip to content

Version Packages - #1272

Merged
tenphi merged 1 commit into
mainfrom
changeset-release/main
Jul 30, 2026
Merged

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

Conversation

@tenphi

@tenphi tenphi commented Jul 30, 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.151.0

Minor Changes

  • #1270 65bf3bc1 Thanks @tenphi! - Breaking: remove CloudLogo. It shipped the previous brand artwork with hard-coded hexes (#ff6492, #141446, #7a77ff, #a14474) and the retired "Cube Cloud" wordmark, so it could neither adapt to a colour scheme nor be recoloured.

    Replaced by two Icon-based marks:

    • CubeLogo — the square cube mark. size drives both axes, like any other icon.
    • CubeFullLogo — mark plus wordmark on one canvas. size sets the height only; the width follows the artwork's 98 / 28 ratio via aspect-ratio, so the wordmark is never squashed. Do not set an explicit width.

    Both draw every path with currentColor, so they inherit the surrounding text colour or take an explicit color, and both fall back to $icon-size when no size is given.

    The mark is two different drawings rather than one recoloured — the dark variant is filled differently to hold its weight on a dark surface — and the @dark state swaps them in CSS. That costs no re-render, needs no scheme prop, and is correct during SSR. Both paths are always present in the DOM, so assert on [data-element="LightMark"] / [data-element="DarkMark"] rather than a single path.

    Migrating: <CloudLogo to="/" /> became a logo inside an interactive element rather than being one itself, since the old component was a Button. Wrap it yourself and keep the accessible name on the control:

    <Button aria-label="Cube home" to="/">
      <CubeFullLogo aria-hidden />
    </Button>

Note

Medium Risk
Breaking public API removal (CloudLogo) will fail builds or runtime for dependents until they migrate; the diff itself is low-risk release bookkeeping.

Overview
Changesets release that publishes @cube-dev/ui-kit@0.151.0: bumps package.json, rolls the consumed changeset into CHANGELOG.md, and drops .changeset/cube-logo-components.md.

The 0.151.0 minor documents a breaking API change from #1270: CloudLogo is removed in favor of themeable CubeLogo and CubeFullLogo (currentColor, CSS @dark mark swap). Consumers that used <CloudLogo to="…" /> must wrap CubeFullLogo in their own Button (or link) and keep the accessible name on the control.

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

@vercel

vercel Bot commented Jul 30, 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 Jul 30, 2026 12:44pm

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 441.3 KB (-0.01% 🔽👏) Yes 🎉
Tree shaking (just a Button) 114.88 KB (0% 🟰) Yes 🎉

Click here if you want to find out what is changed in this build

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from dafa993 to cbab16c Compare July 30, 2026 12:43
@tenphi
tenphi merged commit fed7851 into main Jul 30, 2026
4 checks passed
@tenphi
tenphi deleted the changeset-release/main branch July 30, 2026 15:28
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