This repository was 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,timePickerandmonthPicker(#44)- New slots added,
am-pm-button,time-picker-overlay(#44) - Add keyboard accessibility (#49)
enableSeconds- Add seconds in time picker (#46)- Access to
@focusand@blurevents (#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)
startTimenot 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
autoApplyis enabled - Hover date border-radius stays in single-mode when
rangeis active - Wrong month/year on the second calendar with a partial range in two-calendars mode
๐ง Refactor
date-fnsis 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
yearRangeprop (#50) clear-iconslot has a function passed as prop calledclearand will not auto clear (#53 , #64)disabledDatesnow accepts a custom function (#60)openMenuOnFocusmoved fromtextInputOptionsto general propmonthChangeOnScrollextended with an option to change scroll direction (#43)- Now button will not auto-apply value if auto-apply is not specified
- Timepicker improvements (#56)
maxTimeandminTimetreated 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