Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Nov 5, 2025

Note

Adds an inherit visual type to HotKeys that uses currentColor for text and border, with docs and Storybook examples updated.

  • Content/HotKeys:
    • Type prop: Extend type to include 'inherit' in src/components/content/HotKeys/HotKeys.tsx.
    • Styles: For 'inherit', set color and border to currentColor, fill to transparent; keep existing defaults/primary.
  • Storybook (src/components/content/HotKeys/HotKeys.stories.tsx):
    • Add type control options ['default','primary','inherit'] and description.
    • New stories: Primary, Inherit, InheritInContext.
  • Docs (src/components/content/HotKeys/HotKeys.docs.mdx):
    • Document type variants including 'inherit'; add examples for Default, Primary, Inherit, and contextual usage.
  • Meta:
    • Changeset: patch release note for @cube-dev/ui-kit.
    • Cursor rules: minor description updates for documentation/storybook guidelines.

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

@changeset-bot
Copy link

changeset-bot bot commented Nov 5, 2025

🦋 Changeset detected

Latest commit: 5df89f0

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 5, 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 5, 2025 10:50am
cube-ui-kit-cursor Ready Ready Preview Comment Nov 5, 2025 10:50am

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

📦 NPM canary release

Deployed canary version 0.0.0-canary-e2cc413.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

🏋️ Size limit report

Name Size Passed?
All 296.45 KB (+0.01% 🔺) Yes 🎉
Tree shaking (just a Button) 33.29 KB (0% 🟰) Yes 🎉
Tree shaking (just an Icon) 20.59 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 5, 2025

🧪 Storybook is successfully deployed!

@tenphi tenphi merged commit f1bc522 into main Nov 5, 2025
14 checks passed
@tenphi tenphi deleted the andrew/cub-839-add-inherit-type-for-hotkeys-component branch November 5, 2025 10:53
@github-actions github-actions bot mentioned this pull request Nov 5, 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.

3 participants