diff --git a/changelog.txt b/changelog.txt index bee2976d..1654833c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,9 +1,13 @@ -Version 1.3.4 - 27th December, 2024 +Version 1.3.4 - 30th December, 2024 - Improvement - Enhanced the UI of the Table and Line chart component for responsive design. - Improvement - Added option group to the Select component. - Improvement - Updated the Table component design. - Improvement - Added support for controlling selected dates through the 'selected' prop in DatePicker component. +- Fixed - Adjusted search icon size in Select combobox for better visual consistency. +- Fixed - Focus ring offset of Select, Switch, Checkbox, and dropdown component. +- Fixed - Checkbox/Switch toggle behavior with hint text and adjusted help text size. - Fixed - DatePicker component crash when navigating through years. +- Fixed - DatePicker component UI styles for better visual consistency. Version 1.3.3 - 20th December, 2024 - Fixed - React `Each child in a list should have a unique "key" prop` console warning. diff --git a/src/components/datepicker/datepicker-component.tsx b/src/components/datepicker/datepicker-component.tsx index 340260f4..c3ab1588 100644 --- a/src/components/datepicker/datepicker-component.tsx +++ b/src/components/datepicker/datepicker-component.tsx @@ -361,7 +361,7 @@ const DatePickerComponent = ( { // Common class for disabled outside days const disabledOutsideClass = - 'bg-transperant opacity-50 text-text-disabled cursor-auto'; + 'bg-transparent opacity-50 text-text-disabled cursor-auto'; const buttonClasses = cn( 'h-10 w-10 flex items-center justify-center transition text-text-secondary relative text-sm', @@ -391,7 +391,7 @@ const DatePickerComponent = ( { > { ( ! showOutsideDates || ( isPartOfRange && shouldShowDay ) ) && format( day.date, 'd' ) } - { isToday && ( + { isToday && shouldShowDay && ( ) } diff --git a/src/components/datepicker/datepicker.tsx b/src/components/datepicker/datepicker.tsx index 9e9de993..fae10b86 100644 --- a/src/components/datepicker/datepicker.tsx +++ b/src/components/datepicker/datepicker.tsx @@ -208,13 +208,13 @@ const DatePicker = ( { if ( variant === 'presets' ) { return (