Skip to content

fix: styles in Label and NumberInput - #862

Merged
tenphi merged 2 commits into
mainfrom
fix-number-input-and-fields
Oct 30, 2025
Merged

tenphi merged 2 commits into
mainfrom
fix-number-input-and-fields

Conversation

@tenphi

@tenphi tenphi commented Oct 30, 2025 •

Copy link
Copy Markdown
Member

Note

Updates typography presets (Label and Item/Button), introduces an isButton modifier, and right-aligns text in NumberInput.

  • Typography/Presets:
    • Change default Label preset to t3m (src/components/form/Label.tsx).
    • Update Item presets: default to t3, add button preset t3m, and tweak xlarge presets (src/components/content/Item/Item.tsx).
  • Item/Button Modifiers:
    • Add isButton prop/mod to Item; apply button styling via mods.
    • Mark ItemButton as button (isButton: true) in StyledItem (src/components/actions/ItemButton/ItemButton.tsx).
    • Explicitly set isButton={false} for triggers in FilterPicker and Picker to avoid button styling where not desired.
  • Inputs:
    • Right-align text in NumberInput (src/components/fields/NumberInput/NumberInput.tsx).
  • Changesets:
    • Patch notes for @cube-dev/ui-kit: Label preset change, Item/Button font weight fix, and NumberInput text alignment.

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

@changeset-bot

changeset-bot Bot commented Oct 30, 2025 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e3bbd7e

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

vercel Bot commented Oct 30, 2025 •

Copy link
Copy Markdown

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 9:29am
cube-ui-kit-cursor Ready Ready Preview Comment Oct 30, 2025 9:29am

@github-actions

github-actions Bot commented Oct 30, 2025 •

Copy link
Copy Markdown
Contributor

📦 NPM canary release

Deployed canary version 0.0.0-canary-0e8038d.

@github-actions

github-actions Bot commented Oct 30, 2025 •

Copy link
Copy Markdown
Contributor

🏋️ Size limit report

Name Size Passed?
All 295.21 KB (+0.02% 🔺) 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

github-actions Bot commented Oct 30, 2025 •

Copy link
Copy Markdown
Contributor

🧪 Storybook is successfully deployed!

This branch was successfully deployed

4 active deployments
Preview – cube-ui-kit-cursor — e3bbd7e8 Deployed Oct 30, 2025 by vercel[bot]
Preview – cube-ui-kit — e3bbd7e8 Deployed Oct 30, 2025 by vercel[bot]
Canary package in NPM — e3bbd7e8 Deployed Oct 30, 2025 by tenphi via Build & canary release #2180
Chromatic staging — e3bbd7e8 Deployed Oct 30, 2025 by tenphi via Prepare Storybook for review & tests #2180
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