Releases: Vuepic/vue-datepicker
Releases · Vuepic/vue-datepicker
v12.0.5
🐛 Bug Fixes
- Fixed issue with menu re-rendering while in the open state (#1192)
- FIxed issue where de-selecting multi-dates breaks time object (#1194)
- Fixed issue with menu not opening when
centeredprop is enabled by @alexpopovme (#1195) - Fixed issue with calendar days shifting depending on the OS timezone (#1198)
🔧 Refactor
booleanHTML attributes are removed from DOM when the value isfalse(#1191)
v12.0.4
🐛 Bug Fixes
- Fixed issue where
multi-calendarsnavigation ininlinemode remounts calendar on position update (#1183) - Fixed issue where end time resets on range date select (#1184)
- Fixed wrong type definition for
action-rowslot props (#1185) - Fixed issue where "blur" event is being emitted on every click outside (#1186)
- Fixed issue where clearing
text-inputvalue withauto-applyemits an empty string (#1187) - Fixed issue where
auto-applyon range select doesn't close the menu (#1188) - Fixed wrong type for
updateTimefunction intime-pickerslot (#1189) - Fixed issue where
setDateOnMenuClosetriggersupdate:model-valueto be emitted on every click outside (#1190)
v12.0.3
v12.0.2
v12.0.1
v12.0.0
⚠️ Breaking changes
This release includes a lot of internal refactor and a lot of breaking changes.
Please take a look at the migration guide
🚀 Features
- Added option to add calendard instance in
setMonthYearexposed function (#1120) - Added option to hide menu arrow (
floatingprop) (#1089) - Added option to change
inputmode(#1149) - Added option to set custom input
id(input-attrsprop) (#1163) - Added
@invalidevent that propagatesoninvalidfrom the input field (#1127) - Added input masking on
text-inputalpha stage, tnx to @apsisxcoder (#1131) - Added support for rounding the value on
nowbutton (action-rowprop) (#1138)
🐛 Bug Fixes
- Fixed issue where time values in the overlay are not reacting to
v-modelchange (#1108) - Fixed issue with time increment when picking from non-DST to DST date (#1112)
- Fixed issue with being unable to use
auto-applywhenpartialRangeis enabled (#1113) - Fixed issue where Increasing calendar width makes the inline time picker not centered (#1117)
- Fixed issue where
maxRangeandminRangeare not working inyear-pickermode (#1123) - Fixed issue where mobile swipe causes an unwanted selection of dates in the calendar (#1124, #1169)
- Fixed issue where
auto-applycloses the picker when usingflowwithrange(#1125) - Fixed issue where
start-dateis not working inquarter-pickermode (#1133) - Fixed issue where events
range-startandrange-endare not emitted when the time is updated (fixes #1142) - Fixed positioning issue on smaller screens with
preset-datesenabled (#1144) - Fixed issue with wrong week numbers from 2027 (#1147)
- Fixed isue where
auto-applynot selecting range inquarter-pickermode (#1166)
🔧 Other
- Use
@floating-ui/vuefor menu positioning instead of custom positioning logic - Use
@vueuse/core:onClickOutsideandunrefElementinstead of copied logic - Use
@date-fns/tzfor timezone calculations instead of basic custom implementation - Documentation website source code is moved under repository and updated
- Full type support throughout the library
- Root types are auto generated
v11.0.3
🐛 Bug Fixes
- Fixed wrong aria-label calendar cell from aria-pressed to aria-selected by (#1102) @sahilrajthapa
- Fixed issue where you can't type date when text-input and auto-apply are enabled (#1106) by @JoaoPedroAS51
- Fixed issue with disabled-dates function not working in year-picker mode (#1107) by @sahilrajthapa
- Fixed wrong css variable on time picker arrow icon (#1109) by @ayrtonandino
- Fixed issue with selectable months if year is out of range in
month-pickermode (#1145) by @spider-hand - Removed extra padding from the input when
clearableis set tofalse(#1150) by @Amirkian2023 - Fixed missing value and text props in
yearslot when using themonth-pickermode (#1154) by @mayswind - Fixed a11y typo in aria-selected logic for range end dates (#1167) by @brandonlavello
v11.0.2
🐛 Bug Fixes
- Fixed issue with the
disabled-datesfunction not being called inmonth-pickermode (#1070) - Fixed issue where
month-pickeris unable to select month whenallowed-datesprop is provided (fixes #1075) - Fixed issue where
@internal-model-changeis not being emitted whenmodel-autois enabled (#1077) - Fixed issue where
allowPreventDefaultandallowStopPropagationconfig options are not applied on theesckey (#1079) - Fixed issue with
auto-applynot working withtext-input(#1080) - Fixed issue with entering date past 1970 with the
text-inputinrangemode (#1084 by @amazy) (#1082) - Fixed issue with severe memory leak (#1099 by @sahilrajthapa) (#1083)
- Fixed type issue with
aria-labelsproperties not being all optional (#1085) - Fixed issue with Arabic short weekdays localization (#1088 by @lmetdaoui) (#1087)
- Fixed issue with missing app context when doing pre-render (#1094 by @chocolateimage) (#1092)
v11.0.1
v11.0.0
⚠️ Breaking Changes
- Library now requires
vue >= v3.3 - Calendar cells
idattribute is now prefixed withdp- - Calendar cells
data-test-idattribute now matches theidvalue - Ref
dpWrapMenuRefis now exposed via the getter functiongetDpWrapMenuRefinstead of direct access
For more info, take a look at the migration guide
🚀 Features
- Allow
preset-datesvalueto be computed when clicked 11bd8bc (#1031) by @ayrtonandino - Added prop
always-clearable94ff47d (#1033) by @Georglider - Added option
escCloseto thetext-inputconfiguration object (#1038) - When min or max range config is provided, the calendar will auto-disable dates out of range (#1039)
- Custom
onClickOutsidefunction now receives the second param of typePointerEvent(#1040) - Exposed
isDisabledtomonth-yearslot props 19a1bbd (#1056) by @vukadinFE
🐛 Bug Fixes
- Fixed issue with incorrect handling of
allowed-datesinmonth-pickerandyear-pickermodes (#1035, #1047) - Fixed issue where the start time is not reset on value reset (#1048)
- Fixed invalid calendar cell
id(#1051) - Fixed typescript error from wrongly exposed property (#1053)
- Fixed issue with the wrong year format on the first week in
week-pickermode (#1055) - Fixed issue where clicking DST date from outside DST and active timezone increments by an hour (#1059)
- Fixed issue with being unable to scroll over the calendar without selecting the date on iOS touch devices (#1061, #1066)
- Fixed typescript error due to missing type export
InternalTime724027e (#1062) by @davidglezz