From 4cd493aab83dc75453f300299479690f88e78863 Mon Sep 17 00:00:00 2001 From: Andrey Yamanov Date: Fri, 3 Apr 2026 17:23:54 +0200 Subject: [PATCH 1/4] chore(tasty): update to 1.2.0 Made-with: Cursor --- .changeset/tasty-1-2-0-update.md | 11 +++++++++++ package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 .changeset/tasty-1-2-0-update.md diff --git a/.changeset/tasty-1-2-0-update.md b/.changeset/tasty-1-2-0-update.md new file mode 100644 index 000000000..1c50abf0f --- /dev/null +++ b/.changeset/tasty-1-2-0-update.md @@ -0,0 +1,11 @@ +--- +"@cube-dev/ui-kit": patch +--- + +Update `@tenphi/tasty` to `1.2.0`. + +- All style handlers now accept CSS-wide keywords (`initial`, `inherit`, `revert`, `unset`, `revert-layer`) +- New `longhand` modifier forces longhand CSS output for radius, padding, margin, scroll-margin, inset, and border +- Unified placement style handler with hierarchical priority (longhands override shorthands) +- New `scrollMargin` style with full directional support +- `radius` now supports `inherit` value diff --git a/package.json b/package.json index f266eea8b..4b0651596 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "@react-types/shared": "^3.32.1", "@tabler/icons-react": "^3.31.0", "@tanstack/react-virtual": "^3.13.12", - "@tenphi/tasty": "1.1.0", + "@tenphi/tasty": "1.2.0", "clipboard-copy": "^4.0.1", "clsx": "^1.1.1", "diff": "^8.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9d3f5072d..490bff211 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,8 +45,8 @@ importers: specifier: ^3.13.12 version: 3.13.12(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@tenphi/tasty': - specifier: 1.1.0 - version: 1.1.0(@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: 1.2.0 + version: 1.2.0(@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 @@ -2873,8 +2873,8 @@ packages: peerDependencies: eslint: '>=8.0.0' - '@tenphi/tasty@1.1.0': - resolution: {integrity: sha512-eJHaDkS7RWlXaUcDicXwJP2Zlj8pWjZQkL18ASffAjZhh2WsvvKi90RRmDQFdvmCZmixfWpUjlIrdEA9HESXjA==} + '@tenphi/tasty@1.2.0': + resolution: {integrity: sha512-31eXCtX8T3K9t8qEFxE94Kt0Zyu7a619+QhlfbSlxjtB2axytnppucQF/FVy5/wsXinQPoDjpGqyMnZU006caQ==} engines: {node: '>=20'} peerDependencies: '@babel/core': ^7.24.0 @@ -10431,7 +10431,7 @@ snapshots: - supports-color - typescript - '@tenphi/tasty@1.1.0(@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@1.2.0(@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: From 27ef503b99197d70de3a79b01b6941854996543b Mon Sep 17 00:00:00 2001 From: Andrey Yamanov Date: Fri, 3 Apr 2026 17:43:31 +0200 Subject: [PATCH 2/4] fix: seciton styling --- src/components/content/List/SectionHeading.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/content/List/SectionHeading.tsx b/src/components/content/List/SectionHeading.tsx index 4c534d25c..cdc28585e 100644 --- a/src/components/content/List/SectionHeading.tsx +++ b/src/components/content/List/SectionHeading.tsx @@ -11,6 +11,6 @@ export const SectionHeading = tasty(Space, { padding: '.5x 1x', height: '3x', placeContent: 'center space-between', - align: 'start', + placeItems: 'start', }, }); From 681bed09a21121570db56b28ba58105eda8d7eb4 Mon Sep 17 00:00:00 2001 From: Andrey Yamanov Date: Fri, 3 Apr 2026 17:47:49 +0200 Subject: [PATCH 3/4] chore: update size limit --- .size-limit.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.size-limit.cjs b/.size-limit.cjs index c4855bb6d..9d6c7f9f6 100644 --- a/.size-limit.cjs +++ b/.size-limit.cjs @@ -27,6 +27,6 @@ module.exports = [ path: './dist/index.js', webpack: true, import: '{ Button }', - limit: '105kB', + limit: '106kB', }, ]; From 3c681a4d3ea1c4f6394d924efb60dc7323c7727c Mon Sep 17 00:00:00 2001 From: Andrey Yamanov Date: Fri, 3 Apr 2026 17:53:15 +0200 Subject: [PATCH 4/4] fix(HeadingSection): items positioning --- src/components/actions/Menu/styled.tsx | 1 - src/components/content/List/SectionHeading.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/actions/Menu/styled.tsx b/src/components/actions/Menu/styled.tsx index 456a4e6d9..931c4dfe0 100644 --- a/src/components/actions/Menu/styled.tsx +++ b/src/components/actions/Menu/styled.tsx @@ -189,7 +189,6 @@ export const StyledSectionHeading = tasty(Space, { preset: 'c2', height: '3x', placeContent: 'center space-between', - align: 'start', padding: { '': '.5x .75x', prefix: '0 .75x 0 .5x', diff --git a/src/components/content/List/SectionHeading.tsx b/src/components/content/List/SectionHeading.tsx index cdc28585e..01f4e6aed 100644 --- a/src/components/content/List/SectionHeading.tsx +++ b/src/components/content/List/SectionHeading.tsx @@ -11,6 +11,5 @@ export const SectionHeading = tasty(Space, { padding: '.5x 1x', height: '3x', placeContent: 'center space-between', - placeItems: 'start', }, });