Releases: Vuepic/vue-datepicker
Releases · Vuepic/vue-datepicker
v3.6.0
🚀 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) - Customformat
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
v3.5.3
v3.5.2
v3.5.1
v3.5.0
🚀 Features
dayClass
- Pass custom classes to the specific calendar days (#136)- Extended
presetRanges
to pass a customslot
(#140) highlightDisabledDays
- Keep disabled dates highlighted if enabled 77eefcd (#150)- Extended
markers
to accepthtml
string d8cfe85 (#156) - New slots added
left-sidebar
andright-sidebar
updateInternalModelValue
- New method to update internalmodel-value
while the picker is in open state
🐛 Bug Fixes
- Fixed
autoApply
not working withyearPicker
(#138) - Fixed issue with invalid selection in
monthPicker
withrange
mode (#147) - Fixed issue with
calendar
flow step being skipped when changing months via chevron (#149)