Skip to content

feat(Tabs): improved#968

Merged
tenphi merged 23 commits intomainfrom
improve-tabs
Jan 23, 2026
Merged

feat(Tabs): improved#968
tenphi merged 23 commits intomainfrom
improve-tabs

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Jan 22, 2026

Note

Introduces a substantial Tabs overhaul with reordering, editing, overflow navigation, and API refinements.

  • Adds drag-and-drop tab reordering (isReorderable, keyOrder, onReorder) with drop indicators and keyboard support
  • Enables inline title editing (F2/double‑click) via new editing state hooks; preserves focus handling
  • Adds TabPicker dropdown (showTabPicker) for quick navigation when tabs overflow
  • Simplifies per-tab actions with built-in menu, menuTriggerProps, menuProps, contextMenu, and onAction (supports predefined rename/delete)
  • Refactors Tabs into modular files with context (TabsContext), indicator and editing hooks, and separate styled elements
  • Expands types and exports (TabType now includes narrow; TabSize expanded; types exported from Tabs/types)
  • Improves selection indicator positioning and scrolling UX (tiny scrollbar, fade edges)
  • Updates stories/docs extensively (new variants, reorderable demos) and adds disabled-state stories for Item/ItemButton
  • Minor style/behavior tweaks (hover/focus/opacity handling) and raises bundle size limit to 385kB

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

@changeset-bot
Copy link

changeset-bot bot commented Jan 22, 2026

🦋 Changeset detected

Latest commit: 5c33aef

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 Jan 22, 2026

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

Project Deployment Review Updated (UTC)
cube-ui-kit Ready Ready Preview, Comment Jan 23, 2026 11:09am
cube-ui-kit-cursor Ready Ready Preview, Comment Jan 23, 2026 11:09am

Request Review

@github-actions
Copy link
Contributor

github-actions bot commented Jan 22, 2026

🧪 Storybook is successfully deployed!

@github-actions
Copy link
Contributor

github-actions bot commented Jan 22, 2026

📦 NPM canary release

Deployed canary version 0.0.0-canary-e4243e1.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 22, 2026

🏋️ Size limit report

Name Size Passed?
All 374.56 KB (+8.99% 🔺) Yes 🎉
Tree shaking (just a Button) 56.33 KB (0% 🟰) Yes 🎉
Tree shaking (just tasty) 33.09 KB (0% 🟰) Yes 🎉

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

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

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 2 potential issues.

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

@tenphi tenphi merged commit b1322fd into main Jan 23, 2026
17 checks passed
@tenphi tenphi deleted the improve-tabs branch January 23, 2026 11:19
@github-actions github-actions bot mentioned this pull request Jan 23, 2026
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