Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Nov 27, 2025

Note

Ensures Disclosure content is visible and transitions correctly, and filters react‑aria press callbacks from ItemButton DOM props.

  • Disclosure:
    • Add contentVisibility: auto to ContentElement and adjust transition to transition: 'height $disclosure-transition'.
    • Update CubeDisclosureTriggerProps to omit isDisabled in addition to onPress.
  • ItemButton:
    • Extract onPressStart, onPressEnd, onPressChange, onPressUp to prevent passing react-aria press callbacks to the DOM; handled via useAction.
  • DisplayTransition:
    • Move enter-flow scheduling from ref callback to useLayoutEffect for symmetric enter/exit timing.
  • Changeset:
    • Patch release for @cube-dev/ui-kit with Disclosure visibility fix.

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

@changeset-bot
Copy link

changeset-bot bot commented Nov 27, 2025

🦋 Changeset detected

Latest commit: 87b9a81

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 Nov 27, 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 Nov 27, 2025 1:15pm
cube-ui-kit-cursor Ready Ready Preview Comment Nov 27, 2025 1:15pm

@github-actions
Copy link
Contributor

github-actions bot commented Nov 27, 2025

📦 NPM canary release

Deployed canary version 0.0.0-canary-5e2a152.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 27, 2025

🏋️ Size limit report

Name Size Passed?
All 299.47 KB (+0.01% 🔺) Yes 🎉
Tree shaking (just a Button) 33.44 KB (0% 🟰) Yes 🎉
Tree shaking (just an Icon) 20.71 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 Nov 27, 2025

🧪 Storybook is successfully deployed!

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.

2 participants