Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Oct 30, 2025

Note

Adds a size prop to Label (default medium, optional small) with corresponding style adjustments and a new Storybook example.

  • Components:
    • src/components/form/Label.tsx
      • Add size prop ('medium' | 'small', default medium).
      • Set data-size on root and map preset to t3m (default) or t4 when data-size="small".
  • Storybook:
    • src/components/form/FieldWrapper/FieldWrapper.stories.tsx
      • Add Small story using labelProps: { size: 'small' }.

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

@changeset-bot
Copy link

changeset-bot bot commented Oct 30, 2025

🦋 Changeset detected

Latest commit: beb57b2

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 Oct 30, 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 30, 2025 3:25pm
cube-ui-kit-cursor Ready Ready Preview Comment Oct 30, 2025 3:25pm

@github-actions
Copy link
Contributor

📦 NPM canary release

Deployed canary version 0.0.0-canary-e5edbab.

@github-actions
Copy link
Contributor

🏋️ Size limit report

Name Size Passed?
All 295.28 KB (+0.01% 🔺) Yes 🎉
Tree shaking (just a Button) 32.13 KB (0% 🟰) Yes 🎉
Tree shaking (just an Icon) 19.43 KB (0% 🟰) Yes 🎉

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

@github-actions
Copy link
Contributor

🧪 Storybook is successfully deployed!

@tenphi tenphi merged commit 7327f98 into main Oct 30, 2025
14 checks passed
@tenphi tenphi deleted the feat-label-small-size branch October 30, 2025 15:27
@github-actions github-actions bot mentioned this pull request Oct 30, 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.

2 participants