Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
44da71b
fix(Layout): fix panel header props type
tenphi Dec 9, 2025
24981f1
fix(Layout): auto-border without parent layout
tenphi Dec 9, 2025
d4e4201
fix(Layout): vertical mod check
tenphi Dec 9, 2025
c4e5092
feat(Item): dynamic icon
tenphi Dec 9, 2025
59b2cc4
feat(IconSwitch): add component
tenphi Dec 9, 2025
bd38882
Merge remote-tracking branch 'origin' into fix-layout-issues
tenphi Dec 9, 2025
314e814
fix(Button): proper icon switch
tenphi Dec 9, 2025
d3e365c
fix(Item): mod calculation
tenphi Dec 9, 2025
5d621ff
fix(IconSwitch): component check
tenphi Dec 9, 2025
5b78d06
fix(Button): mod name match
tenphi Dec 9, 2025
8012afe
fix(Button): remove ButtonIcon subelement
tenphi Dec 9, 2025
2371d96
fix(Item): hygiene
tenphi Dec 9, 2025
fd404cf
fix(Panel): wrong intendation prop
tenphi Dec 9, 2025
8b119b0
feat(DisplayTransition): preserve content
tenphi Dec 9, 2025
3806957
feat(DisplayTransition): preserve content * 2
tenphi Dec 10, 2025
87e00bb
chore: normalize repository url
tenphi Dec 10, 2025
6a756d2
feat(DisplayTransition): content freeze on fading out
tenphi Dec 10, 2025
e705678
feat(Layout): innerRef and innerProps props
tenphi Dec 10, 2025
997f6b5
feat(Layout): innerRef and innerProps props * 2
tenphi Dec 10, 2025
1fee872
fix(Disclosure): inner content layout
tenphi Dec 10, 2025
8ed8359
fix(useTinyScrollbar): show briefly on hover
tenphi Dec 10, 2025
6179ea7
fix(useTinyScrollbar): show briefly on hover * 2
tenphi Dec 10, 2025
34aeec3
fix(ItemButton): show actions on focus within
tenphi Dec 10, 2025
3bb78d2
fix(Disclosure): styles
tenphi Dec 10, 2025
0213977
fix(ItemButton): show actions on pressed inside
tenphi Dec 10, 2025
117d758
chore: upgrade to OIDC trusted publishing
tenphi Dec 10, 2025
21e37b9
chore: increase size limit
tenphi Dec 11, 2025
85daa20
chore(ItemButton): add highlight story
tenphi Dec 11, 2025
3ba63ee
chore: update github actions
tenphi Dec 11, 2025
0c1614c
chore: update github actions * 2
tenphi Dec 11, 2025
ad10e47
chore: update github actions * 3
tenphi Dec 12, 2025
054814e
chore: update github actions * 4
tenphi Dec 12, 2025
80a22c2
chore: update github actions * 5
tenphi Dec 12, 2025
26e1a3d
chore: update github actions * 6
tenphi Dec 12, 2025
1b3b6bc
revert: revert .github/ changes to main branch state
tenphi Dec 12, 2025
307e7fd
feat(Item): remove isButton prop
tenphi Dec 15, 2025
f105a71
fix(dimension.style): zero number handling
tenphi Dec 15, 2025
db08f2c
feat(Button): animate icon toggle
tenphi Dec 15, 2025
a4a3604
fix(Disclosure): remove selected mod from the trigger
tenphi Dec 15, 2025
020bd40
feat(tasty): inline tokens support
tenphi Dec 15, 2025
1470e14
feat(tasty): inline tokens support * 2
tenphi Dec 15, 2025
dbdedcb
feat(tasty): inline tokens support * 3
tenphi Dec 15, 2025
76058d5
feat(Item): title type support
tenphi Dec 15, 2025
d495628
feat(Item): add alert type
tenphi Dec 15, 2025
2828f73
feat(Dialog): enlarge the fullscreen size
tenphi Dec 16, 2025
b02da32
feat(Dialog): enlarge the fullscreen size * 2
tenphi Dec 16, 2025
8fbc5e5
Merge remote-tracking branch 'origin' into fix-layout-issues
tenphi Dec 16, 2025
75dc529
fix(Item): title type
tenphi Dec 16, 2025
753e1f4
feat(tasty): improve tag typings
tenphi Dec 16, 2025
15cbb8d
fix(Item): inline size
tenphi Dec 16, 2025
d2cb406
fix(Item): inline sizing
tenphi Dec 16, 2025
09d9c16
chore: upgrade storybook
tenphi Dec 16, 2025
40edfd9
feat(preset): tight modifier
tenphi Dec 16, 2025
02e0342
fix(Tag): min inline padding
tenphi Dec 16, 2025
0df7c86
fix(NumberInput): step button styles
tenphi Dec 16, 2025
1c6e756
fix(Item): rename title type to header
tenphi Dec 16, 2025
f0d0e05
fix(Badge): inline size preset
tenphi Dec 16, 2025
789482f
fix(tasty): base styles list
tenphi Dec 16, 2025
3d078ea
fix(Tag): preset style
tenphi Dec 16, 2025
e796e9a
fix(Item): add pill shape
tenphi Dec 16, 2025
506c0dd
fix(Disclosure): revert content layout
tenphi Dec 16, 2025
d3d29da
chore(FilterPicker): update stories
tenphi Dec 17, 2025
ec14b2b
fix(tasty): as type
tenphi Dec 17, 2025
6982518
fix(Item): alert -> card type
tenphi Dec 18, 2025
9eb0272
fix(Item): add level prop
tenphi Dec 18, 2025
628193c
feat(Button): change layout
tenphi Dec 18, 2025
07d5701
fix(Layout): overlay mode doesnt push content
tenphi Dec 18, 2025
b2be37f
chore: update snapshots
tenphi Dec 18, 2025
60bc677
feat(Button): change layout * 2
tenphi Dec 18, 2025
deb839e
feat(Button): change layout * 3
tenphi Dec 18, 2025
8fe0ece
chore: upgrade storybook
tenphi Dec 18, 2025
431d3c8
feat(Button): change layout * 4
tenphi Dec 18, 2025
852788e
feat(Button): change layout * 5
tenphi Dec 18, 2025
6226dec
fix(Item): bottom padding
tenphi Dec 18, 2025
26d8e56
fix(Item): bottom padding * 2
tenphi Dec 18, 2025
2524a4a
fix(Tag): item type migration
tenphi Dec 18, 2025
91dff3a
fix(Item): bottom padding * 3
tenphi Dec 18, 2025
04eb997
feat(Button): change layout * 6
tenphi Dec 18, 2025
8561006
feat(Button): change layout * 7
tenphi Dec 18, 2025
338cffe
feat(Button): change layout * 8
tenphi Dec 18, 2025
02f707c
feat(Button): change layout * 9
tenphi Dec 18, 2025
94cea8f
feat(Button): change layout * 10
tenphi Dec 18, 2025
30d0aef
feat(Select): pass shape item prop
tenphi Dec 18, 2025
3c0d1f7
feat: pass shape item prop in pickers
tenphi Dec 18, 2025
978f5e0
fix(useTinyScrollbar): show on content size change
tenphi Dec 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/calm-trees-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Enlarge the size of the fullscreen dialog.
5 changes: 5 additions & 0 deletions .changeset/grumpy-windows-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Add IconSwitch component for icon transitions.
5 changes: 5 additions & 0 deletions .changeset/hip-coats-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Remove redundant `isButton` prop from Item component.
5 changes: 5 additions & 0 deletions .changeset/hungry-geckos-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Add `tight` modifier to `preset` style for setting line-height to the same value as font-size.
5 changes: 5 additions & 0 deletions .changeset/loud-worms-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Add alert type to Item component.
5 changes: 5 additions & 0 deletions .changeset/strange-coats-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Add `preserveContent` prop to DisplayTransition component. When enabled (default: true), the component preserves children content during exit transitions, ensuring smooth animations even when parent components remove content immediately after hiding.
5 changes: 5 additions & 0 deletions .changeset/tasty-tokens-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": minor
---

Add `tokens` prop to tasty components for defining CSS custom properties as inline styles. Tokens support design system values (`$name` for regular properties, `#name` for colors with RGB variants) and are merged from component defaults to instance usage. Use `tokens` instead of `style` prop for dynamic CSS custom properties.
5 changes: 5 additions & 0 deletions .changeset/tiny-buses-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Add `title` type support to Item component.
9 changes: 9 additions & 0 deletions .changeset/violet-bees-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@cube-dev/ui-kit": minor
---

Add dynamic icon support to Button and Item components. The `icon` and `rightIcon` props now support:
- `true` - renders an empty slot (reserves space but shows nothing)
- Function `({ loading, selected, ...mods }) => ReactNode | true` - dynamically renders icon based on component modifiers

Also made `Mods` type generic for better type definitions: `Mods<{ loading?: boolean }>` instead of extending interface.
5 changes: 5 additions & 0 deletions .changeset/violet-gifts-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Remove the selected mod in DisclosureTrigger.'
5 changes: 5 additions & 0 deletions .changeset/witty-geckos-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Fix Layout.PanelHeader props type.
2 changes: 1 addition & 1 deletion .size-limit.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = [
}),
);
},
limit: '315kB',
limit: '320kB',
},
{
name: 'Tree shaking (just a Button)',
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"prepare": "husky install",
"clear": "pnpm clear:dist && rimraf ./storybook-docs ./storybook-static ./node_modules/.cache",
"clear:dist": "rimraf ./dist",
"release": "pnpm build && changeset publish",
"release": "pnpm build && changeset publish --provenance",
"postinstall": "git config blame.ignoreRevsFile .git-blame-ignore-revs",
"add-icons": "cd src/icons && node add-new-icon.js && pnpm fix"
},
Expand Down Expand Up @@ -117,9 +117,9 @@
"@size-limit/webpack": "^8.2.4",
"@size-limit/webpack-why": "^8.2.4",
"@statoscope/cli": "^5.20.1",
"@storybook/addon-docs": "^10.0.8",
"@storybook/addon-links": "^10.0.8",
"@storybook/react-vite": "^10.0.8",
"@storybook/addon-docs": "^10.1.10",
"@storybook/addon-links": "^10.1.10",
"@storybook/react-vite": "^10.1.10",
"@swc/core": "^1.3.36",
"@swc/jest": "^0.2.36",
"@testing-library/dom": "^10.4.1",
Expand Down Expand Up @@ -148,7 +148,7 @@
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-storybook": "^10.0.8",
"eslint-plugin-storybook": "^10.1.10",
"husky": "^6.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
Expand All @@ -165,7 +165,7 @@
"react-test-renderer": "^19.1.1",
"rimraf": "^6.0.1",
"size-limit": "^8.2.6",
"storybook": "^10.0.8",
"storybook": "^10.1.10",
"storybook-addon-turbo-build": "^2.0.1",
"styled-components": "^6.1.19",
"swc-loader": "^0.2.6",
Expand All @@ -182,4 +182,4 @@
"node": ">=22.14.0",
"pnpm": "^10.0.0"
}
}
}
Loading
Loading