You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR summary describes the change (Fixes/Resolves linked correctly)
PR Release Notes describes additional information useful to call out in a release message or removed if not applicable
Breaking Changes provides useful information to upgrade to this code or removed if not applicable
Summary by CodeRabbit
Style
Updated text input styling to use a larger border radius for a more consistent, modern appearance.
Adjusted error (critical) and caution state visuals by removing background color fills while keeping the existing border and shadow indicators (including hover/focus behavior).
textInputStencil in TextInput.tsx is updated: borderRadius switches from system.legacy.shape.md to system.shape.lg, and backgroundColor is removed from both the error (critical) and caution modifier blocks. No other logic or API changes are introduced.
Changes
TextInput stencil styling updates
Layer / File(s)
Summary
textInputStencil token and variant style updates modules/react/text-input/lib/TextInput.tsx
borderRadius updated from system.legacy.shape.md to system.shape.lg in the base stencil styles. backgroundColor removed from the error and caution modifier blocks; their borderColor/boxShadow hover and focus selector rules are preserved.
Estimated code review effort
🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
🐇 Hop, hop! The corners grow round,
With system.shape.lg now found.
No more background in error red,
Nor caution's tint — clean styles instead.
The stencil gleams, legacy unwound! ✨
🚥 Pre-merge checks | ✅ 3 | ❌ 2
❌ Failed checks (2 inconclusive)
Check name
Status
Explanation
Resolution
Linked Issues check
❓ Inconclusive
The pull request shows only changes to TextInput component in the raw summary, but the linked issue #3983 requires updates across Text Input, Text Area, Form Field, and Color Picker components. Cannot fully validate compliance without seeing all component changes.
Provide summaries of changes to Text Area, Form Field, and Color Picker components to verify all linked issue objectives are met.
Out of Scope Changes check
❓ Inconclusive
The raw summary only covers TextInput.tsx changes. The broader PR scope includes three additional components, but without complete file-level summaries, it is unclear whether all changes are properly scoped to token updates only.
Review summaries of all component files to confirm changes are limited to token and style updates with no unintended refactoring or API changes.
✅ Passed checks (3 passed)
Check name
Status
Explanation
Title check
✅ Passed
The title accurately describes the main feature: implementing Sana Canvas token and style updates for Text Input, Text Area, Form Field, and Color Picker components to align with v16 design standards.
Docstring Coverage
✅ Passed
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check
✅ Passed
Check skipped - CodeRabbit’s high-level summary is enabled.
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches🧪 Generate unit tests (beta)
Create PR with unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes: #3983
Release Category
Components
Checklist
ready for reviewhas been added to PRFor the Reviewer
Summary by CodeRabbit