Releases: Vuepic/vue-datepicker
Releases · Vuepic/vue-datepicker
v8.5.0
🚀 Features
- Added
keepViewOnOffsetClickin theconfigprop to prevent auto month change on offset date click (#797) - Various accessibility improvements (Date picker only) (#822)
PageUpandPageDownkeyboard buttons go to the next/previous monthshift+PageUporPageDownkeyboard buttons go to the next/previous yearhomeandendkeyboard buttons go to the start/end of the week
- New prop added
enable-minutes(#830)
🐛 Bug Fixes
- Fixed issue where month names are not displayed correctly when using
format-localeand overridden timezone (#817) - Added type definitions for slots (#819)
- Fixed issue with wrong disabled times in the overlay when using AM/PM mode (#820)
- Fixed issue with the
month-overlay-valueslot not working inmonth-pickermode (#821) - Fixed issue with
--dp-border-radiusapplied to calendar cells instead of--dp-cell-border-radius(#827) - Fixed issue with positioning inside shadow DOM (#828) by @biesbjerg
- Fixed issue with selecting the end date before the start date on
text-inputrangemode (#837)
🔧 Refactor
- Overlay container height is now passed as a CSS variable and used within a class instead of inline style (#838)
- Expose all
data-testattributespreset-datescan also accept optionaltestIdto configure thedata-testattribute
v8.4.0
🚀 Features
- Added support for
isoformat inmodel-type(#804) - Added
top-extraslot (#806) - Added a second parameter in the
internal-model-changeevent with a matching value inv-model(#808)
🐛 Bug Fixes
- Fixed issue with
disabledflag on wrapper div causing unwanted behavior in Quasar framework (#800) - Fixed wrong borders when hovering weeks in between on ranged
week-picker(#807) - Fixed issue with wrong classes applied in
rangemode including missing start and end range classes (#809)
🔧 Refactor
- Arrow position in the menu will now always match the center of the input or trigger slot (#802)
- Can be overridden in
configprop
- Can be overridden in
v8.3.2
🐛 Bug Fixes
- Fixed issue with collapsed
[left/right]-sidebarslots (#790) - Fixed issue where the date is cleared with
clearable="false"intext-inputmode (#791) - Fixed issue with
auto-applynot working inmonth-pickerandyear-pickerrangemode (#794) - Fixed
teleportprop type order to fix boolean casting (#798) by @mcmimik
🔧 Refactor
v8.3.1
v8.3.0
🚀 Features
- Added support for dragging and selecting on
multi-dates(#780)multi-datesprop can now accept configuration object
timezoneprop can now acceptconvertModelproperty (#773)
🐛 Bug Fixes
- Fixed issue where
format-localeis being ignored when parsingtext-input(#768) - Fixed issue where
filtersare not being applied inmonth-pickermode (#769) - Fixed issue where year numbers are not formatted based on locale (#775)
- Fixed issue where
arrow-navigationdoes not jump to the next/previous row on left/right navigation (#776) - Fixed issue where the date hover effect is missing in different modes (#777)
- Fixed issue where
partial-rangeis not working withfixed-start/end(#781) - Fixed issue where
selectOnFocusdoesn't select the value with customformatontext-input(#782)
🔧 Refactor
- Revert
v-modeltotimezoneconversion beforev8.1.0(can be opted out via config) (#773) - Deprecated prop
multi-dates-limit
v8.2.0
🚀 Feature
- Add
weekDayproperty toaria-labelsprop (#749)
🐛 Bug Fixes
- Fixed slow year update in
text-inputmode combined withrange(#694) - Fixed issue with the
aria-labelsprop not being propagated to all components (#748) - Fixed issue with
[min/max]-rangenot working inmonth-pickermode (#758) - Fixed hydration mismatch error in Nuxt (#762)
- Fixed
partial-flowwithauto-applynot closing the menu (#764) - Fixed missing
ariaLabels.menuonrole="dialog"(#765) - Fixed wrong seconds mapping in
time-pickerrange mode (#766)
v8.1.1
v8.1.0
🚀 Features
- The
timezoneprop is extended with the configuration object - Added
fixedStartandfixedEndrangesupport tomonth-picker(#742)
🐛 Bug Fixes
- Fixed slow year update in
text-inputmode combined withrange(#694) - Fixed issue with time update on
model-autowith pre-definedv-model(#719) - Fixed issue causing stretched menu after device rotation (#739)
🔧 Refactor
⚠️ Timezone validation rewrite- (Pottentionaly breaking), make sure to check the updated configuration
- Rewritten internal handling of props that provide date values
- Deprecated prop
emit-timezone
v8.0.0
⚠️ 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
v7.4.1
🐛 Bug Fixes
- Fixed issue with
hide-navigationnot working inmonth-pickermode (#674) - Fixed issue with
year-pickerinrangemode not highlighting end year on re-open (#677) - Fixed issue with
allowed-datesnot properly mapped whentimezoneis provided (#680) - Fixed issue with
:multi-calendars="{ solo: true }"not showing proper month/year on the second calendar (#681) - Fixed wrong icon on time-overlay when
time-picker-inlineis used (#686) - Fixed error when selecting January when using
month-pickermode withmulti-dates(#687) - Fixed issue where input loses focus when combining
text-inputwithmonth-pickeroryear-picker(#693) - Fixed issue where disabled months are not highlighted properly (#698)
- Fixed issue where
filtersare not working inyear-pickermode (#701)