Version Packages - #1283
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
🧪 Storybook is successfully deployed!
|
Contributor
🏋️ Size limit report
Click here if you want to find out what is changed in this build |
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.155.0
Minor Changes
#1275
2bfe3a80Thanks @tenphi! - Remove theblockprop fromTextand theinlineprop fromTitle. Usedisplayinstead:Both were inherited from Tasty's
BasePropsuntil v3 dropped them, at which point the UI Kit re-declared them locally.displayalready covers the use case on every Tasty component, so a bespoke boolean per component is redundant.inlineonTitlewas already inert — it was destructured and discarded, andTitleElementhardcodesdisplay: 'block'. Removing it changes nothing at runtime.blockonTextwas real: it drove ablockmod feeding the'ellipsis | block'display branch. That branch is now justellipsis, so<Text ellipsis>still renders as a block. Note that passingdisplayreplaces the whole default state map, so<Text ellipsis display="inline">will not force block — the explicit value wins, which is the intent.Proper
isBlock/isInlineprops may follow later where they earn their place; this is deliberately not that.#1275
2bfe3a80Thanks @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).Propsis no longer exported by Tasty — it was never a Tasty concept, justRecord<string, any>. Declared locally insrc/props.tsand still re-exported from the package root, so the UI Kit's own public API is unchanged.One style value needed changing:
Styles.stories.tsxhadinset: '2x bottom 4x left', the positional form v3 removed, nowinset: '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 the4xand rendersauto auto 16px 16px.Also adds 12 color tokens to
tasty.config.tsthat were declared insrc/tasty-augment.d.tsbut missing from the config the ESLint plugin reads, so they were reported as unknown.The ESLint plugin's v1 lints Storybook
args.stylesandstyles={{…}}JSX props for the first time. That is how theinsetviolation above was found — story files had been silently unchecked.Both size budgets are raised:
Allfrom 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, sinceisDevEnv()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.1to0.155.0, folds the pending changeset notes intoCHANGELOG.md, and removes the consumed.changesetfiles. No application source files change in this diff.The release documents two minor items already landed via #1275: upgrading to Tasty v3 (
getCSSTextForNode, localProps,insetsyntax fix, color tokens, ESLint plugin, bundle budget bumps) and removingblockonText/inlineonTitlein favor ofdisplay.Reviewed by Cursor Bugbot for commit 043c572. Bugbot is set up for automated code reviews on this repo. Configure here.