- 
                Notifications
    You must be signed in to change notification settings 
- Fork 403
refactor(clerk-js): Improve input + button group styling #7084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
refactor(clerk-js): Improve input + button group styling #7084
Conversation
| 🦋 Changeset detectedLatest commit: 5f7cd4b The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
 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 | 
| The latest updates on your projects. Learn more about Vercel for GitHub. 
 | 
| WalkthroughA patch release for @clerk/clerk-js updates UI component styling by replacing absolutely-positioned buttons with inline IconButtons, refactoring input and container styling to use variant-based themes, and improving focus and error state handling through focus-within styling patterns. Changes
 Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 
 Poem
 Pre-merge checks and finishing touches❌ Failed checks (1 warning)
 ✅ Passed checks (2 passed)
 ✨ Finishing touches
 🧪 Generate unit tests (beta)
 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources: 
 
 📒 Files selected for processing (3)
 🧰 Additional context used📓 Path-based instructions (10).changeset/**📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc) 
 Files: 
 packages/clerk-js/src/ui/**/*.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/clerk-js-ui.mdc) 
 Files: 
 **/*.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/development.mdc) 
 Files: 
 **/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}📄 CodeRabbit inference engine (.cursor/rules/development.mdc) 
 Files: 
 packages/**/*.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/development.mdc) 
 Files: 
 packages/**/*.{ts,tsx,d.ts}📄 CodeRabbit inference engine (.cursor/rules/development.mdc) 
 Files: 
 **/*.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/development.mdc) 
 Files: 
 **/*.{jsx,tsx}📄 CodeRabbit inference engine (.cursor/rules/development.mdc) 
 Files: 
 **/*.{js,ts,tsx,jsx}📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc) 
 Files: 
 **/*.tsx📄 CodeRabbit inference engine (.cursor/rules/react.mdc) 
 Files: 
 🧬 Code graph analysis (1)packages/clerk-js/src/ui/components/ApiKeys/ApiKeysTable.tsx (1)
 🔇 Additional comments (10)
 Comment  | 
Description
Improve implementations of input + button usage, specifically
PasswordInputandSecretInputWithToggle. Removes the absolutely positioned button in favor of flex + increase the touch area of the button by making it fill the space.BEFORE
Screen.Recording.2025-10-28.at.9.18.31.AM.mov
AFTER
Screen.Recording.2025-10-28.at.9.19.12.AM.mov
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit