Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Dec 9, 2025

Note

Adds a tokens styling API, dynamic icon support (with IconSwitch), new Item types (header/alert) and pill shape, DisplayTransition content preservation, and multiple Layout/Dialog refinements, alongside assorted fixes and docs updates.

  • Core styling:
    • Add tokens prop to tasty components for inline CSS vars; introduce generic Mods type and preset tight line-height.
    • Improve dimension parsing (zero values) and tasty typing/APIs.
  • Components:
    • Button: support dynamic icon/rightIcon (true or function), smooth transitions via IconSwitch, custom numeric/string size, and layout tweaks.
    • Item: add type="header" and type="alert", new shape="pill", dynamic icons, smarter descriptionPlacement, validations for invalid combos; update Tag to use Item variants.
    • ItemButton: hover/focus/press keep actions visible; remove isButton usage.
    • DisplayTransition: new preserveContent prop (default true) + tests/docs.
    • Layout: expose innerRef/innerProps on Layout/Content/Container/Panel/Pane; refine tiny scrollbar behavior; adjust toolbar padding; fix Layout.PanelHeader props (uses Item header style); minor pane/resize tweaks.
    • Dialog/Modal: fullscreen sizes use dvw/dvh with margins.
    • FilterPicker/Select/FilterListBox/NumberInput: minor fixes (key handling, remove isButton, step icon rendering).
  • Helpers:
    • Add IconSwitch component for icon transitions and resolveIcon util.
  • Docs/Tooling:
    • Update docs/stories widely; bump size limit to 320kB; upgrade Storybook; release with provenance.

Written by Cursor Bugbot for commit ec14b2b. This will update automatically on new commits. Configure here.

@changeset-bot
Copy link

changeset-bot bot commented Dec 9, 2025

🦋 Changeset detected

Latest commit: ec14b2b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cube-dev/ui-kit Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Dec 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
cube-ui-kit Ready Ready Preview, Comment Dec 17, 2025 2:54pm
cube-ui-kit-cursor Ready Ready Preview, Comment Dec 17, 2025 2:54pm

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

📦 NPM canary release

Deployed canary version 0.0.0-canary-ac3388b.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

🏋️ Size limit report

Name Size Passed?
All 308.95 KB (+0.71% 🔺) Yes 🎉
Tree shaking (just a Button) 43.32 KB (+2.58% 🔺) Yes 🎉
Tree shaking (just an Icon) 21.18 KB (+2.24% 🔺) Yes 🎉

Click here if you want to find out what is changed in this build

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

🧪 Storybook is successfully deployed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant