From 043c5728423d2e15be75debb0dbc9d00718651a2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 6 Aug 2026 10:29:50 +0000 Subject: [PATCH] chore: release --- .changeset/remove-block-inline-props.md | 21 --------------- .changeset/tasty-v3.md | 16 ----------- CHANGELOG.md | 35 +++++++++++++++++++++++++ package.json | 2 +- 4 files changed, 36 insertions(+), 38 deletions(-) delete mode 100644 .changeset/remove-block-inline-props.md delete mode 100644 .changeset/tasty-v3.md diff --git a/.changeset/remove-block-inline-props.md b/.changeset/remove-block-inline-props.md deleted file mode 100644 index 7f90ab1e0..000000000 --- a/.changeset/remove-block-inline-props.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@cube-dev/ui-kit': minor ---- - -Remove the `block` prop from `Text` and the `inline` prop from `Title`. Use `display` instead: - -```diff -- -+ - -- -+ -``` - -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 `` still renders as a block. Note that passing `display` replaces the whole default state map, so `` 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. diff --git a/.changeset/tasty-v3.md b/.changeset/tasty-v3.md deleted file mode 100644 index f77227cde..000000000 --- a/.changeset/tasty-v3.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@cube-dev/ui-kit': minor ---- - -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`. 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. diff --git a/CHANGELOG.md b/CHANGELOG.md index 84157b775..2022eb8e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ # @cube-dev/ui-kit +## 0.155.0 + +### Minor Changes + +- [#1275](https://github.com/cube-js/cube-ui-kit/pull/1275) [`2bfe3a80`](https://github.com/cube-js/cube-ui-kit/commit/2bfe3a80f3febeebdaa7f01fe8ae73ac0c3ca5fb) Thanks [@tenphi](https://github.com/tenphi)! - Remove the `block` prop from `Text` and the `inline` prop from `Title`. Use `display` instead: + + ```diff + - + + + + - + + + ``` + + 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 `` still renders as a block. Note that passing `display` replaces the whole default state map, so `` 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](https://github.com/cube-js/cube-ui-kit/pull/1275) [`2bfe3a80`](https://github.com/cube-js/cube-ui-kit/commit/2bfe3a80f3febeebdaa7f01fe8ae73ac0c3ca5fb) Thanks [@tenphi](https://github.com/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`. 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. + ## 0.154.1 ### Patch Changes diff --git a/package.json b/package.json index 43bab8202..084df103c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cube-dev/ui-kit", - "version": "0.154.1", + "version": "0.155.0", "type": "module", "description": "UIKit for Cube Projects", "repository": {