Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Nov 27, 2025

Note

Fixes focused state styling for TextInput and adds Storybook examples for valid/invalid states.

  • Styles (src/components/fields/TextInput/TextInputBase.tsx):
    • Adjust border styling: focused moved after valid/invalid and add combined states valid & focused and invalid & focused with solid success/danger colors.
    • Remove unused outline variants to rely on border-based focus indication.
  • Storybook (src/components/fields/TextInput/TextInput.stories.tsx):
    • Add Valid story and enhance Invalid with a default value.
    • Add ValidationStates composite story (width preset, docs description) showcasing valid and invalid appearances.
  • Changeset:
    • Patch release for @cube-dev/ui-kit noting fixed focused state styles for text inputs.

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

@changeset-bot
Copy link

changeset-bot bot commented Nov 27, 2025

🦋 Changeset detected

Latest commit: aea17fe

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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 27, 2025

📦 NPM canary release

Deployed canary version 0.0.0-canary-4eb4dd9.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 27, 2025

🏋️ Size limit report

Name Size Passed?
All 299.46 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