⚠️ Breaking Change
- Drop support for node 12
🚀 Features
arrowNavigation
- Navigate through the calendar via arrow keys (#11)flow
now supportstimePicker
andmonthPicker
modes (#26)- New event added
focus-prev
to handleshift+tab
(#28) - New mode -
yearPicker
(#32) - Added validation for disabled dates with
textInput
(#33)
🐛 Bug Fixes
- Fixed search in the documentation (#21)
- Fixed issue with the component inside HeadlessUI Dialog component (#22)
- This also references multiple issues reported in the previous versions
- Fix Y-overflow when the menu at the bottom of the screen (#23)
- Fixed positioning when added in the modal with overflow-y #comment
- Fixed issue with the arrow, swipe or scroll month change when
preventMinMaxNavigation
is enabled (#25)- Also included a fix for the logic itself
- Fixed duplicated month shown in
multiCalendars
mode (#27) - Fixed issue with AM/PM button switch after selecting hours (#29)
- Type correction for
textInputOptions.format
(#30) - Fixed wrong default prop value for
yearRange
(#34) - Fixed issue where the
open
event is emitted before the menu is opened (#35)
🔧 Refactor
- Days in between are now marked as selected when
weekPicker
is enabled (#24)