Skip to content

feat(Tabs): styling#993

Merged
tenphi merged 31 commits intomainfrom
feat-tabs-styling
Feb 3, 2026
Merged

feat(Tabs): styling#993
tenphi merged 31 commits intomainfrom
feat-tabs-styling

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Jan 30, 2026

Note

Medium Risk
Medium risk because it changes public props (showActionsOnHoverautoHideActions) and alters token-to-CSS emission rules (booleans now affect output), which can subtly impact component styling and layout/z-index behavior.

Overview
Adds boolean support for tasty tokens. Color tokens (#name) now accept booleans: true normalizes to transparent, and false skips emitting any CSS; this is applied consistently across component tokens, configure({ tokens }), and style creation, with updated types and new test coverage.

Renames the hover-actions API. showActionsOnHover is replaced by autoHideActions across Item, ItemButton, and Tabs, including updated modifiers, docs/stories, and wrapper-based action visibility logic in ItemButton/Item.

Improves Tabs/Layout styling and customization. Tabs gets refined selectors/visuals (including file-type shadow handling), new sub-element styling props (tabListPadding, tabListStyles, prefixStyles, suffixStyles) implemented via a new useMergeStyles hook, plus minor Layout scrollbar selector/z-index tweaks and TabPanel hiding via mods.

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

@vercel
Copy link

vercel bot commented Jan 30, 2026

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

Project Deployment Actions Updated (UTC)
cube-ui-kit Ready Ready Preview, Comment Feb 3, 2026 9:43am
cube-ui-kit-cursor Ready Ready Preview, Comment Feb 3, 2026 9:43am

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Jan 30, 2026

🦋 Changeset detected

Latest commit: 8da0748

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

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

📦 NPM canary release

Deployed canary version 0.0.0-canary-bda527f.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

🧪 Storybook is successfully deployed!

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

🏋️ Size limit report

Name Size Passed?
All 378.67 KB (+0.11% 🔺) Yes 🎉
Tree shaking (just a Button) 57.83 KB (+0.16% 🔺) Yes 🎉
Tree shaking (just tasty) 34.2 KB (+0.26% 🔺) Yes 🎉

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

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant