🚀 Features
timezone- Support for timezones (#185)no-disabled-range- Prevent range selection if the range includes disabled dates (#188)textInputOptions.formatto display the given format on input focus and globalformatfor value display (#190)on-click-outside- Custom on click outside handler with exposed validation function 54d3f15 & 0795686 (#191)six-weeks- Always display six weeks in the calendar (#199)- New slots -
month-year,time-picker,action-row
🐛 Bug Fixes
- Fixed hours auto-increment on date change on UTC
preservemode 45b80f2 (#182) - Fixed
start-datebeing ignored inmonth-pickermode (#186) - Fixed issues related to min and max range (#187)
- number of dates to include both start and end dates, not between dates
- min range
>= 1allows the selection of the same date
- Fixed
auto-applywhen used in combination withmodel-auto(#195) - Fixed issue where the page scroll is blocked on mobile devices (#197)
🔧 Refactor
- Code reorganization
- Significantly reduced code complexity
- Improved code readability
- Test coverage over 80%
- Rewritten top/bottom positioning logic, smoother and consistent animation
- All prop changes should be reactive now
disabled-datesin the range will be marked as part of the range- ⚠️(deprecated) - custom components are now deprecated, additional slots are added instead
- ⚠️(breaking) -
htmlproperty for custom HTML in themarkersprop is replaced with the slot (marker-tooltip) for security purposes - ⚠️(breaking) - Custom
formatfunction will now receive date object(s) on all modes - ⚠️(breaking) - Slots with the name
[month/year/hours/minutes]-overlayare renamed to[month/year/hours/minutes]-overlay-value