Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Oct 29, 2025

Note

Introduces a new split option for labelPosition with layout/styles, modifiers, types, docs, and stories updates.

  • Form system
    • Add split to labelPosition type in src/shared/form.ts and propagate via context.
    • Apply has-split modifier in Form (src/components/form/Form/Form.tsx).
  • FieldWrapper (src/components/form/FieldWrapper/FieldWrapper.tsx)
    • Add grid/layout support for split (gridColumns, placeContent, margins, InputArea column).
    • Support has-split mod and place description next to label for split.
  • Label (src/components/form/Label.tsx)
    • Add width handling for split in LABEL_STYLES.
  • Docs & Stories
    • Update Form.docs.mdx to document labelPosition='split' and has-split modifier.
    • Extend Storybook controls to include split and add new examples in Form and FieldWrapper stories.

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

@changeset-bot
Copy link

changeset-bot bot commented Oct 29, 2025

🦋 Changeset detected

Latest commit: 89b9407

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 Minor

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

@github-actions
Copy link
Contributor

📦 NPM canary release

Deployed canary version 0.0.0-canary-212aa4d.

@github-actions
Copy link
Contributor

🧪 Storybook is successfully deployed!

@github-actions
Copy link
Contributor

🏋️ Size limit report

Name Size Passed?
All 294.96 KB (+0.02% 🔺) Yes 🎉
Tree shaking (just a Button) 32.08 KB (0% 🟰) Yes 🎉
Tree shaking (just an Icon) 19.38 KB (0% 🟰) Yes 🎉

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

@tenphi tenphi merged commit 9e502b7 into main Oct 29, 2025
14 checks passed
@tenphi tenphi deleted the feat-split-field branch October 29, 2025 10:40
@github-actions github-actions bot mentioned this pull request Oct 29, 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