🚀 Features
- Added
keepViewOnOffsetClick
in theconfig
prop to prevent auto month change on offset date click (#797) - Various accessibility improvements (Date picker only) (#822)
PageUp
andPageDown
keyboard buttons go to the next/previous monthshift
+PageUp
orPageDown
keyboard buttons go to the next/previous yearhome
andend
keyboard buttons go to the start/end of the week
- New prop added
enable-minutes
(#830)
🐛 Bug Fixes
- Fixed issue where month names are not displayed correctly when using
format-locale
and overridden timezone (#817) - Added type definitions for slots (#819)
- Fixed issue with wrong disabled times in the overlay when using AM/PM mode (#820)
- Fixed issue with the
month-overlay-value
slot not working inmonth-picker
mode (#821) - Fixed issue with
--dp-border-radius
applied to calendar cells instead of--dp-cell-border-radius
(#827) - Fixed issue with positioning inside shadow DOM (#828) by @biesbjerg
- Fixed issue with selecting the end date before the start date on
text-input
range
mode (#837)
🔧 Refactor
- Overlay container height is now passed as a CSS variable and used within a class instead of inline style (#838)
- Expose all
data-test
attributespreset-dates
can also accept optionaltestId
to configure thedata-test
attribute