v8.0.0
⚠️ Breaking Changes
- Default
week-picker
format is changed to week numbers - Tabbing out from the overlay will shift focus to the action row button if present
highlight
prop types are changed to either a configuration object or a function- Removed deprecated props
id
for cell days in the calendar is changed to format value instead ISO datedate-fns-tz
dependency is removeddate-fns
is updated to versionv3
(#688)
For more info, take a look at the migration guide
🚀 Features
- Added
dp--past
anddp--future
classes in the calendar (#676) - Added
range
support forweek-picker
(#700, #665, #283) - Added
loading
prop that adds loading overlay in the menu (#722) - Added
minMaxRawRange
in therange
configuration object (#732)
🐛 Bug Fixes
- Fixed slow year update in
text-input
mode combined withrange
(#694) - Fixed year
0
on the second solo calendar when the range is within the first calendar (#702) - Fixed issue with scroll jump when selecting year range (#705)
- Fixed unhandled error when using
flow
withmonth-picker
(#712) - Fixed issue where the
@update-month-year
event is not being triggered inyear-picker
(#716) - Fixed issue where the
dp-input
slot is not showing on:inline={ input: true }
mode (#717) - Fixed issue with time update on
model-auto
with pre-definedv-model
(#719) - Fixed select button style override by global CSS selectors (#721)
- Fixed issue with
partial-range
and predefinedv-model
not highlighting hovered date and resetting selection (#726) - Fixed issue with bypassing
[min/max]-time
when selected boundary values (#727) - Fixed issue with vue compact warnings (#728)
- Fixed issue with word break on Chinese action button labels (#733)
- Fixed issue with duplicated calendars when using
preset-dates
and:multi-calendars="{ solo: true }"
(#735) - Fixed issue with wrong month selection in
month-picker
mode when the current date is greater than the days on the selected month (#736, #738) - Fixed wrong
transitions
type (#740)
🔧 Refactor
- Update the mobile layout if the calendar width is larger than the document width (#690)
- When tabbing out from overlay, shift focus to the action row button (#695)
- Debounce on
month-change-on-scroll
is changed to a variable rate throttle (#725) by @phillanier - Use
format
instead of ISO date split for day cellid
(#729) range
prop can now accept configuration object- Deprecated the following props in favor of the range configuration object:
show-last-in-range
no-disabled-range
disable-time-range-validation
max-range
min-range
partial-range
auto-range
fixed-start
fixed-end