Skip to content

Version Packages - #1283

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

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

Conversation

@tenphi

@tenphi tenphi commented Aug 6, 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.155.0

Minor Changes

  • #1275 2bfe3a80 Thanks @tenphi! - Remove the block prop from Text and the inline prop from Title. Use display instead:

    - <Text block>…</Text>
    + <Text display="block">…</Text>
    
    - <Title inline>…</Title>
    + <Title display="inline">…</Title>

    Both were inherited from Tasty's BaseProps until v3 dropped them, at which point the UI Kit re-declared them locally. display already covers the use case on every Tasty component, so a bespoke boolean per component is redundant.

    inline on Title was already inert — it was destructured and discarded, and TitleElement hardcodes display: 'block'. Removing it changes nothing at runtime.

    block on Text was real: it drove a block mod feeding the 'ellipsis | block' display branch. That branch is now just ellipsis, so <Text ellipsis> still renders as a block. Note that passing display replaces the whole default state map, so <Text ellipsis display="inline"> will not force block — the explicit value wins, which is the intent.

    Proper isBlock / isInline props may follow later where they earn their place; this is deliberately not that.

  • #1275 2bfe3a80 Thanks @tenphi! - Upgrade to Tasty v3 (@tenphi/tasty ^3.0.0) and @tenphi/eslint-plugin-tasty ^1.0.0, applying the required migration.

    • getCssTextForNode -> getCSSTextForNode (test helpers and the ESLint-plugin probe).
    • Props is no longer exported by Tasty — it was never a Tasty concept, just Record<string, any>. Declared locally in src/props.ts and still re-exported from the package root, so the UI Kit's own public API is unchanged.

    One style value needed changing: Styles.stories.tsx had inset: '2x bottom 4x left', the positional form v3 removed, now inset: '2x bottom, 4x left'. Verified against the v3 runtime that the comma form reproduces what v2 rendered (auto auto 16px 32px) — the old form now drops the 4x and renders auto auto 16px 16px.

    Also adds 12 color tokens to tasty.config.ts that were declared in src/tasty-augment.d.ts but missing from the config the ESLint plugin reads, so they were reported as unknown.

    The ESLint plugin's v1 lints Storybook args.styles and styles={{…}} JSX props for the first time. That is how the inset violation above was found — story files had been silently unchecked.

    Both size budgets are raised: All from 460 kB to 462 kB (it went over by 161 B) and tree-shaking from 118 kB to 123 kB. Tasty v3 costs +3.77 kB on that entry — its new dev diagnostics ship in every bundle, since isDevEnv() is evaluated at runtime so one build serves both modes — and the entry only had ~370 B of headroom.


Note

Low Risk
Release bookkeeping only (version, changelog, changeset cleanup); functional risk sits in the already-merged #1275 work, not in this PR’s diff.

Overview
This is a Changesets release PR: it bumps the package from 0.154.1 to 0.155.0, folds the pending changeset notes into CHANGELOG.md, and removes the consumed .changeset files. No application source files change in this diff.

The release documents two minor items already landed via #1275: upgrading to Tasty v3 (getCSSTextForNode, local Props, inset syntax fix, color tokens, ESLint plugin, bundle budget bumps) and removing block on Text / inline on Title in favor of display.

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

@vercel

vercel Bot commented Aug 6, 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 6, 2026 10:32am

Request Review

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🧪 Storybook is successfully deployed!

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🏋️ Size limit report

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

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

@tenphi
tenphi merged commit 3ad995b into main Aug 6, 2026
15 checks passed
@tenphi
tenphi deleted the changeset-release/main branch August 6, 2026 10:39
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