feat(#2936): radio style update 2.0 #2944
Draft
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.
Radio Component Style Updates - Issue #2936
Overview
Implements comprehensive style updates for the Radio component including new compact size variant, updated spacing, border
widths, colors, and improved accessibility compliance.
Changes Made
✅ New Features
size="compact"
prop to RadioGroup for tighter spacing✅ Component Updates
Cross-Framework Implementation
Visual Design Changes
✅ State-Specific Updates
Error States
Disabled States
Input Reveal Improvements
✅ Technical Implementation
Temporary CSS Overrides
:host
blocks for immediate testingAccessibility Enhancements
Backward Compatibility
Files Modified
libs/common/src/lib/common.ts
- Added RadioGroupSize type definitionlibs/react-components/src/lib/radio-group/radio-group.tsx
- React wrapper with size proplibs/angular-components/src/lib/components/radio-group/radio-group.ts
- Angular wrapper with size proplibs/web-components/src/components/radio-group/RadioGroup.svelte
- Group spacing and size inheritancelibs/web-components/src/components/radio-item/RadioItem.svelte
- Core styling updates and temporary overridesTesting
All variants have been tested in React playground including:
Design Tokens
Migration Guide
No migration required - all existing usage continues to work unchanged. New compact variant available via: