Skip to content

fix(ItemButton): actions positioning for card type and pointer events#1021

Merged
tenphi merged 3 commits intomainfrom
fix-item-actions-shown
Feb 11, 2026
Merged

fix(ItemButton): actions positioning for card type and pointer events#1021
tenphi merged 3 commits intomainfrom
fix-item-actions-shown

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Feb 10, 2026

Note

Low Risk
Small, localized styling/interaction changes to a UI component; risk is limited to potential regressions in action overlay layout and hover/click behavior across variants.

Overview
Fixes ItemButton actions positioning for the type="card" variant by adjusting the Actions inset, and ensures hidden actions (when autoHideActions is not showing them) do not capture clicks via pointer-events: none when !actions-shown.

Propagates data-type/data-theme onto the ActionsWrapper to drive the new styling conditions, and updates the ItemAction Storybook interaction test to hover the correct button index.

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

@changeset-bot
Copy link

changeset-bot bot commented Feb 10, 2026

🦋 Changeset detected

Latest commit: b98be94

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 Patch

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 Feb 10, 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 10, 2026 1:13pm
cube-ui-kit-cursor Ready Ready Preview, Comment Feb 10, 2026 1:13pm

Request Review

@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2026

📦 NPM canary release

Deployed canary version 0.0.0-canary-032998c.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2026

🧪 Storybook is successfully deployed!

@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2026

🏋️ Size limit report

Name Size Passed?
All 359.36 KB (+0.02% 🔺) Yes 🎉
Tree shaking (just a Button) 58.48 KB (0% 🟰) Yes 🎉
Tree shaking (just tasty) 34.33 KB (0% 🟰) 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