- Fixed months and years switching when max day count is different
date
prop was renamed toselectedDate
- HTML markdown for the component was changed (there're new CSS classes, some classes were removed)
-
Finally, the datepicker shows the week days! You can customize:
// default is 0 (Sunday) // 1 - is Monday <SimpleDatepicker startWeekDay={1} />
You can also pass new locales to customize the name of the weekday
-
Added new color:
--sd-button-disabled-color
-
Refactored CSS
-
Fixed types for the package
- Added prefix
-sd
for css variables - CSS is minified
- Small style improvements (Added text ellipsis for buttons)
- Added missing title prop for day list