🚀 Features
timezone
- Support for timezones (#185)no-disabled-range
- Prevent range selection if the range includes disabled dates (#188)textInputOptions.format
to display the given format on input focus and globalformat
for 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
preserve
mode 45b80f2 (#182) - Fixed
start-date
being ignored inmonth-picker
mode (#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
>= 1
allows the selection of the same date
- Fixed
auto-apply
when 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-dates
in the range will be marked as part of the range- ⚠️(deprecated) - custom components are now deprecated, additional slots are added instead
- ⚠️(breaking) -
html
property for custom HTML in themarkers
prop is replaced with the slot (marker-tooltip
) for security purposes - ⚠️(breaking) - Custom
format
function will now receive date object(s) on all modes - ⚠️(breaking) - Slots with the name
[month/year/hours/minutes]-overlay
are renamed to[month/year/hours/minutes]-overlay-value