Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Oct 22, 2025

Note

Adds inline action/button support and badges to Item, ItemBase, ItemButton; refines Select/ComboBox popovers; updates DatePicker UI and tooltip/transition behavior.

  • Item family:
    • ItemBase, ItemButton, Item now support inline actions with new ItemAction (+ ItemActionContext); add showActionsOnHover, reserved action space, and static Action/Badge accessors.
    • New ItemBadge component with theme/type variants; exported across entry points and stories.
    • ItemBase enhancements: isCard styling, numeric size, updated tooltip overflow logic, additional layout/mods for actions.
  • Menus/Lists:
    • MenuItem passes actions to ItemBase; stories showcase items with inline actions.
  • Pickers/Selectors:
    • Select and ComboBox: popover height cap adjusted to 50vh - 5x; introduced overlay wrapper for positioning; minor ref/ARIA tweaks.
    • Picker/FilterPicker triggers use ItemButton; clear-button stories and minor trigger mods cleanup.
  • Date inputs:
    • DatePicker/DateRange*: refactored to use DateInputBase suffix; calendar nav button size tweaks; segment focus styles; DatePickerButton now ItemAction.
  • Overlays/Utils:
    • Tooltip trigger/provider opt out of dismissable; provider supports isDisabled.
    • DisplayTransition: longer fallback, new onPhaseChange/onToggle callbacks.
  • Misc:
    • Form field hook exposes isInvalid/isValid flags.
    • Tests and stories updated accordingly.
  • Changesets:
    • minor: add actions to Item/ItemButton/ItemBase; add ItemBadge.
    • patch: ItemBase isCard; fix Select/ComboBox popover height limit.

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

@changeset-bot
Copy link

changeset-bot bot commented Oct 22, 2025

🦋 Changeset detected

Latest commit: a06d452

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 Oct 22, 2025

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

Project Deployment Preview Comments Updated (UTC)
cube-ui-kit Ready Ready Preview Comment Oct 24, 2025 2:33pm
cube-ui-kit-cursor Error Error Oct 24, 2025 2:33pm

@github-actions
Copy link
Contributor

github-actions bot commented Oct 22, 2025

📦 NPM canary release

Deployed canary version 0.0.0-canary-ed51549.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 22, 2025

🏋️ Size limit report

Name Size Passed?
All 307.62 KB (+0.64% 🔺) Yes 🎉
Tree shaking (just a Button) 32.06 KB (0% 🟰) Yes 🎉
Tree shaking (just an Icon) 19.38 KB (0% 🟰) Yes 🎉

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 22, 2025

🧪 Storybook is successfully deployed!

@cursor
Copy link

cursor bot commented Oct 23, 2025

Bug: Actions Component Width Transition Bug

The Actions component's width transition style incorrectly references with-action instead of the with-actions mod. This typo prevents the width transition animation from applying when actions are in placeholder mode.

Fix in Cursor Fix in Web

@cursor
Copy link

cursor bot commented Oct 23, 2025

Bug: Tooltip Trigger Accessibility Issue

The isDisabled prop was removed from the useTooltipTrigger call. While DisplayTransition now prevents the tooltip from showing when disabled, the useTooltipTrigger hook still needs isDisabled to correctly manage event handlers and accessibility, preventing triggers when the component is disabled.

Fix in Cursor Fix in Web

cursor[bot]

This comment was marked as outdated.

@tenphi tenphi merged commit 2ad48fe into main Oct 24, 2025
13 of 14 checks passed
@tenphi tenphi deleted the feat-item-button-with-actions branch October 24, 2025 14:38
@github-actions github-actions bot mentioned this pull request Oct 24, 2025
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