This repository has been archived by the owner on Apr 17, 2022. It is now read-only.
v2.4.0
๐ Features
markers
- Add markers on dates with (optional) tooltipstransitions
- Customize or turn off transitionsuid
- Pass id to input or menu element (#45)modeHeight
- Adjust height when in specific mode,timePicker
andmonthPicker
(#44)- New slots added,
am-pm-button
,time-picker-overlay
(#44) - Add keyboard accessibility (#49)
enableSeconds
- Add seconds in time picker (#46)- Access to
@focus
and@blur
events (#49) escClose
- Close the menu on esc buttonspaceConfirm
- trigger select event when pressing space buttonmonthChangeOnArrows
- Change months via arrows@internalModelChange
- Event called when internal modelValue is changed (#52)- Support for now button in range mode (#54)
๐ Bug Fixes
- Stop propagation when using click outside directives (#51)
- Months starting on Sunday getting the wrong calendar (#55)
startTime
not working in time-picker mode (#58)- Issue where timezone dates caused inconsistency in the calendar (#62)
- Focus border to stay when date picker menu is in the open state
- Time not applied in range mode when only one date is selected
- Wheel month change not changing year
- No border-radius at the bottom when
autoApply
is enabled - Hover date border-radius stays in single-mode when
range
is active - Wrong month/year on the second calendar with a partial range in two-calendars mode
๐ง Refactor
date-fns
is now added as a dependency instead of bundling it with the package- Some code reorganization resulting in a smaller build size
- Increased default range for
yearRange
prop (#50) clear-icon
slot has a function passed as prop calledclear
and will not auto clear (#53 , #64)disabledDates
now accepts a custom function (#60)openMenuOnFocus
moved fromtextInputOptions
to general propmonthChangeOnScroll
extended with an option to change scroll direction (#43)- Now button will not auto-apply value if auto-apply is not specified
- Timepicker improvements (#56)
maxTime
andminTime
treated as the actual time- disable auto time jumping to min or max (#38)
- validation logic adjustments
๐ Documentation
- Due to a large number of props and slots that can be passed, they are now categorized in the documentation for easier navigation