⚠️ Breaking Changes
- Default
week-pickerformat is changed to week numbers - Tabbing out from the overlay will shift focus to the action row button if present
highlightprop types are changed to either a configuration object or a function- Removed deprecated props
idfor cell days in the calendar is changed to format value instead ISO datedate-fns-tzdependency is removeddate-fnsis updated to versionv3(#688)
For more info, take a look at the migration guide
🚀 Features
- Added
dp--pastanddp--futureclasses in the calendar (#676) - Added
rangesupport forweek-picker(#700, #665, #283) - Added
loadingprop that adds loading overlay in the menu (#722) - Added
minMaxRawRangein therangeconfiguration object (#732)
🐛 Bug Fixes
- Fixed slow year update in
text-inputmode combined withrange(#694) - Fixed year
0on 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
flowwithmonth-picker(#712) - Fixed issue where the
@update-month-yearevent is not being triggered inyear-picker(#716) - Fixed issue where the
dp-inputslot is not showing on:inline={ input: true }mode (#717) - Fixed issue with time update on
model-autowith pre-definedv-model(#719) - Fixed select button style override by global CSS selectors (#721)
- Fixed issue with
partial-rangeand predefinedv-modelnot highlighting hovered date and resetting selection (#726) - Fixed issue with bypassing
[min/max]-timewhen 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-datesand:multi-calendars="{ solo: true }"(#735) - Fixed issue with wrong month selection in
month-pickermode when the current date is greater than the days on the selected month (#736, #738) - Fixed wrong
transitionstype (#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-scrollis changed to a variable rate throttle (#725) by @phillanier - Use
formatinstead of ISO date split for day cellid(#729) rangeprop can now accept configuration object- Deprecated the following props in favor of the range configuration object:
show-last-in-rangeno-disabled-rangedisable-time-range-validationmax-rangemin-rangepartial-rangeauto-rangefixed-startfixed-end