Skip to content

Version Packages - #1225

Merged
tenphi merged 1 commit into
mainfrom
changeset-release/main
Jul 3, 2026
Merged

tenphi merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

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.143.0

Minor Changes

  • 2528e514 Thanks @tenphi! - Add new CommandTextArea component: a textarea-based command input with token-triggered autocomplete, virtual focus management, and form system integration.

Patch Changes

  • #1222 4232aad3 Thanks @tenphi! - Fix several CommandTextArea issues and a related ComboBox filtering regression:

    • Stale virtual focus / commit: As the typed token narrows, virtual focus now moves to the first still-visible option when the previously highlighted option is filtered out, and Enter/Tab can no longer commit a hidden command (e.g. typing / then h no longer inserts /clear). Visible options are derived from the component's own filtered collection instead of the ListBox state ref, which can lag by one render.
    • Conditional Hook: listStateRef no longer calls useRef conditionally, preventing the Hook-order changes that could occur when the optional listStateRef prop was added or removed.
    • Stale caret after external value updates: When the textarea value changes from outside (controlled updates, form reset, or a seeded defaultValue), the caret is now resynced from the DOM selection so trigger parsing uses a valid index.
    • defaultValue ignored: An uncontrolled CommandTextArea now seeds its text (and trigger parsing) from defaultValue.
    • ComboBox filtering: ComboBox again filters on textValue only, as documented. The shared filterCollectionNodes helper now matches plain-text children/description only when a component opts in via matchExtraFields (used by CommandTextArea).
  • #1224 5acb166c Thanks @tenphi! - Fix Notification rendering a duplicate "Dismiss" button when a custom NotificationAction with isDismiss is provided. Replaced the render-phase ref-mutation detection with deterministic static inspection of the actions tree, so the auto-appended "Dismiss" is reliably suppressed regardless of render order or concurrent rendering timing.


Note

Low Risk
Metadata-only release PR with no runtime code changes; risk is limited to incorrect version or changelog text before publish.

Overview
Release bookkeeping for @cube-dev/ui-kit 0.143.0: bumps package.json from 0.142.10, adds a 0.143.0 section to CHANGELOG.md, and removes the three consumed Changesets files (commandtextarea-component, commandtextarea-combobox-filter-focus-fixes, notification-isdismiss-detection).

The published notes cover what ships in this version: new CommandTextArea, follow-up fixes for virtual focus/commit, caret/defaultValue, Hooks, and ComboBox filtering (matchExtraFields), plus Notification no longer showing a duplicate Dismiss when a custom dismiss action is present. This PR does not change library source—only version and changelog metadata for npm publish after merge.

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

@vercel

vercel Bot commented Jul 3, 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, Comment Jul 3, 2026 10:18am

Request Review

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 18f220e to d5e33e8 Compare July 3, 2026 10:17
@tenphi
tenphi merged commit b6a1fea into main Jul 3, 2026
3 of 4 checks passed
@tenphi
tenphi deleted the changeset-release/main branch July 3, 2026 10:18
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

🏋️ Size limit report

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

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

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

📦 NPM canary release

Deployed canary version 0.0.0-canary-b6a1fea.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

🧪 Storybook is successfully deployed!

This branch was successfully deployed

2 active deployments
Preview — d5e33e8d Deployed Jul 3, 2026 by vercel[bot]
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