Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Version 1.4.2 - xxth February, 2025
- Improvement - Adjusted the ring width of the Radio Button component.
- Improvement - Added shadow to the disabled switch component for better visual consistency.

Version 1.4.1 - 10th February, 2025
- Improvement - Show active preset with background color in the DatePicker component.
Expand Down
2 changes: 1 addition & 1 deletion src/components/switch/switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const SwitchComponent = (
};

const disabledClassNames = {
input: 'bg-toggle-off-disabled disabled:border-transparent shadow-none disabled:cursor-not-allowed checked:disabled:bg-toggle-on-disabled',
input: 'bg-toggle-off-disabled disabled:border-transparent disabled:cursor-not-allowed checked:disabled:bg-toggle-on-disabled disabled:shadow-toggle-disabled',
toggleDial: 'peer-disabled:cursor-not-allowed',
};

Expand Down
1 change: 1 addition & 0 deletions src/theme/default-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ const defaultTheme = {
'soft-shadow-2xl':
'0px 24px 64px -12px rgba(149, 160, 178, 0.32)',
'soft-shadow-inner': '0px 1px 1px 0px rgba(0, 0, 0, 0.05)',
'toggle-disabled': '1px 1px 2px 0px rgba(0, 0, 0, 0.1) inset',
},
fontSize: {
tiny: '0.625rem',
Expand Down