Skip to content

Version Packages - #1292

Open
tenphi wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#1292
tenphi wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@tenphi

@tenphi tenphi commented Aug 7, 2026

Copy link
Copy Markdown
Member

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@cube-dev/ui-kit@0.157.0

Minor Changes

  • #1289 c7c85799 Thanks @tenphi! - Remove FileTabs. Use Tabs instead.

    FileTabs was an editor-style tab bar with close buttons and dirty-state dots.
    Its FileTabProps has carried @deprecated consider using <Tabs /> instead
    since before the Glaze migration. Cube Cloud — the component's only known
    consumer — moved FilesEditor onto Tabs in October 2025 and has had no
    reference to it since.

    Removed from the public API: the FileTabs component (with its
    FileTabs.TabPane subcomponent) and the CubeFileTabProps type.

    -<FileTabs defaultActiveKey="1" onTabClose={(key) => removeTab(key)}>
    -  <FileTabs.TabPane id="1" title="index.ts" />
    -  <FileTabs.TabPane id="2" title="styles.css" />
    -</FileTabs>
    +<Tabs defaultActiveKey="1" onDelete={(key) => removeTab(key)}>
    +  <Tabs.Panel key="1" title="index.ts" />
    +  <Tabs.Panel key="2" title="styles.css" />
    +</Tabs>

    The close button is the main behaviour to port: on Tabs it is onDelete, and
    passing it is what makes the buttons appear (onTabClose on FileTabs).
    Tabs has no built-in equivalent of isDirty — render the unsaved indicator
    into the tab's title or actions, which is what Cube Cloud's FilesEditor
    does.

  • #1291 90e86d48 Thanks @tenphi! - Export IconSwitch (and its CubeIconSwitchProps type) from the package root.

    IconSwitch cross-fades between icons when its children change — the animated
    icon swap used inside buttons and items. It already had a stories file and a
    published docs page under Helpers/IconSwitch, and src/components/helpers/index.ts
    exported it, but that barrel is not re-exported from src/index.ts — only
    DisplayTransition was pulled through. So the component was publicly documented
    while being impossible to import.

    import { IconSwitch } from "@cube-dev/ui-kit";
    
    <IconSwitch>{isLoading ? <LoaderIcon /> : <CheckIcon />}</IconSwitch>;

Note

Medium Risk
Shipping a minor release that drops FileTabs is a breaking change for any external importer still on FileTabs; IconSwitch export is additive and low risk.

Overview
Automated Changesets release that bumps @cube-dev/ui-kit from 0.156.0 to 0.157.0, folds the pending minor changesets into CHANGELOG.md, and deletes the consumed .changeset entries.

The published 0.157.0 minor release (already landed on main via prior PRs) removes deprecated FileTabs / CubeFileTabProps in favor of Tabs (onTabCloseonDelete), and exports IconSwitch and CubeIconSwitchProps from the package root so they match the existing docs.

Reviewed by Cursor Bugbot for commit 64069eb. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
cube-ui-kit Ready Ready Preview Aug 7, 2026 8:50pm

Request Review

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🧪 Storybook is successfully deployed!

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🏋️ Size limit report

Name Size Passed?
All 456.91 KB (0% 🟰) Yes 🎉
Tree shaking (just a Button) 118.94 KB (0% 🟰) Yes 🎉

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

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