diff --git a/.changeset/tasty-3-0-2.md b/.changeset/tasty-3-0-2.md new file mode 100644 index 000000000..7b06aadf9 --- /dev/null +++ b/.changeset/tasty-3-0-2.md @@ -0,0 +1,9 @@ +--- +'@cube-dev/ui-kit': patch +--- + +Update `@tenphi/tasty` to `3.0.2`. A patch release with no public API change — the export surface is byte-for-byte the same set of names as `3.0.1` — so nothing in the UI Kit needed migrating and the full suite passes unchanged. + +Two clarifications in Tasty's docs are worth knowing if you write custom tokens: token names are case-sensitive and should start lowercase (a leading capital folds, so `$Foo` resolves to `--foo`), and `preset` / `transition` take token *names* rather than values, so a bare `$name` there warns in dev and is ignored. Neither affects this package — no capitalized token name is used anywhere in `src`. + +The tree-shaking size budget goes from 123 kB to 124 kB. Tasty's core grew ~0.56 kB in this release, which put the old budget 31 bytes over; the `All` entry moved by the same amount and stays inside its 501 kB budget. diff --git a/.size-limit.cjs b/.size-limit.cjs index 16ab9ee70..4be5e733c 100644 --- a/.size-limit.cjs +++ b/.size-limit.cjs @@ -92,13 +92,20 @@ module.exports = [ path: './dist/index.js', webpack: true, import: '{ Button }', - // 121.79 kB at the time of writing, measured on this branch merged with main. + // 123.03 kB at the time of writing, 31 bytes over the previous 123 kB. That + // is `@tenphi/tasty` 3.0.1 -> 3.0.2 and nothing of ours: both sides rebuilt + // on this Linux box read 122.47 kB on 3.0.1 and 123.03 kB on 3.0.2, +0.56 kB, + // and the `All` entry moved by the same 0.55 kB (499.12 -> 499.67 kB), which + // is what a change inside Tasty's always-included core looks like. The old + // budget only had ~530 B of headroom. Raised to 124 kB. + // + // Before this: 121.79 kB, measured on that branch merged with main. // Raised from main's 119 kB for Tasty v3. Two increases stack here: main had // already gone 118 -> 119 kB for the ~400 B that `@tenphi/tasty` 2.11.0 -> // 2.11.2 added, and v3 costs a further ~3.8 kB — its new dev diagnostics // (directional syntax, handler displacement, chunk conflicts) ship in every // bundle, because `isDevEnv()` is evaluated at runtime so one build serves // dev and production. Headroom stays small so real bloat still trips. - limit: '123kB', + limit: '124kB', }, ]; diff --git a/package.json b/package.json index 182dcda99..6f172dd0c 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "@tabler/icons-react": "^3.31.0", "@tanstack/react-virtual": "^3.13.12", "@tenphi/glaze": "1.3.0", - "@tenphi/tasty": "^3.0.0", + "@tenphi/tasty": "^3.0.2", "clipboard-copy": "^4.0.1", "clsx": "^1.1.1", "diff": "^8.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d36b31255..375694de1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: specifier: 1.3.0 version: 1.3.0 '@tenphi/tasty': - specifier: ^3.0.0 - version: 3.0.1(@babel/core@7.28.5)(@babel/helper-plugin-utils@7.25.7)(@babel/types@7.29.0)(jiti@2.6.1)(react@19.1.1) + specifier: ^3.0.2 + version: 3.0.2(@babel/core@7.28.5)(@babel/helper-plugin-utils@7.25.7)(@babel/types@7.29.0)(jiti@2.6.1)(react@19.1.1) clipboard-copy: specifier: ^4.0.1 version: 4.0.1 @@ -158,7 +158,7 @@ importers: version: 10.3.6(esbuild@0.27.3)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(storybook@10.3.6(@testing-library/dom@10.4.1)(prettier@3.2.5)(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(typescript@5.6.3)(vite@8.0.0(@types/node@24.13.3)(esbuild@0.27.3)(jiti@2.6.1)(terser@5.31.1)(yaml@2.9.0))(webpack@5.76.1(esbuild@0.27.3)) '@tenphi/eslint-plugin-tasty': specifier: ^1.0.3 - version: 1.0.3(@tenphi/tasty@3.0.1(@babel/core@7.28.5)(@babel/helper-plugin-utils@7.25.7)(@babel/types@7.29.0)(jiti@2.6.1)(react@19.1.1))(eslint@10.8.0(jiti@2.6.1))(typescript@5.6.3) + version: 1.0.3(@tenphi/tasty@3.0.2(@babel/core@7.28.5)(@babel/helper-plugin-utils@7.25.7)(@babel/types@7.29.0)(jiti@2.6.1)(react@19.1.1))(eslint@10.8.0(jiti@2.6.1))(typescript@5.6.3) '@testing-library/dom': specifier: ^10.4.1 version: 10.4.1 @@ -2186,8 +2186,8 @@ packages: resolution: {integrity: sha512-zZMl4BTw5bTJhkxO+OemtHT1YirDqZf1f4dPhRmocSIOljDsQLJ+GDdjn6j2QqLpl/HRfG9gQBNNs+s9XXFbQQ==} engines: {node: '>=20'} - '@tenphi/tasty@3.0.1': - resolution: {integrity: sha512-s7DGVHQKD+uZDMvOwCT7QjYtkcbnOYawAay7/y2J3fG3cytp3yai3zFvfgXmOJs/1Wwaj104SSkwmlc1WNBTKw==} + '@tenphi/tasty@3.0.2': + resolution: {integrity: sha512-05zT9Y7b9j4Byl8VczFLKPXkJ4CFSuhtWA4krsEVeLwj5DYVB1g/0IJfjNflMTH+D+v07nYotUgSqX+/936AvA==} engines: {node: '>=20'} peerDependencies: '@babel/core': ^7.24.0 @@ -8282,20 +8282,20 @@ snapshots: '@tanstack/virtual-core@3.13.12': {} - '@tenphi/eslint-plugin-tasty@1.0.3(@tenphi/tasty@3.0.1(@babel/core@7.28.5)(@babel/helper-plugin-utils@7.25.7)(@babel/types@7.29.0)(jiti@2.6.1)(react@19.1.1))(eslint@10.8.0(jiti@2.6.1))(typescript@5.6.3)': + '@tenphi/eslint-plugin-tasty@1.0.3(@tenphi/tasty@3.0.2(@babel/core@7.28.5)(@babel/helper-plugin-utils@7.25.7)(@babel/types@7.29.0)(jiti@2.6.1)(react@19.1.1))(eslint@10.8.0(jiti@2.6.1))(typescript@5.6.3)': dependencies: '@typescript-eslint/utils': 8.56.1(eslint@10.8.0(jiti@2.6.1))(typescript@5.6.3) eslint: 10.8.0(jiti@2.6.1) jiti: 2.6.1 optionalDependencies: - '@tenphi/tasty': 3.0.1(@babel/core@7.28.5)(@babel/helper-plugin-utils@7.25.7)(@babel/types@7.29.0)(jiti@2.6.1)(react@19.1.1) + '@tenphi/tasty': 3.0.2(@babel/core@7.28.5)(@babel/helper-plugin-utils@7.25.7)(@babel/types@7.29.0)(jiti@2.6.1)(react@19.1.1) transitivePeerDependencies: - supports-color - typescript '@tenphi/glaze@1.3.0': {} - '@tenphi/tasty@3.0.1(@babel/core@7.28.5)(@babel/helper-plugin-utils@7.25.7)(@babel/types@7.29.0)(jiti@2.6.1)(react@19.1.1)': + '@tenphi/tasty@3.0.2(@babel/core@7.28.5)(@babel/helper-plugin-utils@7.25.7)(@babel/types@7.29.0)(jiti@2.6.1)(react@19.1.1)': dependencies: csstype: 3.1.2 optionalDependencies: