Releases: Vuepic/vue-datepicker
Releases · Vuepic/vue-datepicker
v10.0.0
⚠️ Breaking changes
date-fnslibrary is updated to version4data-testattribute is renamed todata-test-id(#987)alt-positionnow accepts any returned style and won't do any conversion (#1018)
For more info, take a look at the migration guide
🚀 Features
- Added two new properties in the
configprop - Inline date picker will now emit a
blurevent on click away (#995) - Added option to force
toporbottompositioning viaauto-positionprop (#1026)
🐛 Bug Fixes
- Fixed issue where
inline-time-pickerwithis-24="false"overflows the container (#990) - Fixed issue where selecting dates between DST and non-DST timezone results in hours updating every selection (#991)
- Fixed issue where the
markertooltip is showing on hidden offset dates (#994) - Fixed issue where
multi-datesselect is not working whenallowPreventDefaultis enabled in theconfig(#999) - Fixed issue where the
nowbutton is not working properly inmulti-datesmode (#1000) - Month range picker doesn't trigger
range-startandrange-endevents properly (#1005) by @jllavec - Fixed issue where
allowed-datesare not marking disabled months inmonth-picker(#1008) - Fixed issue with typescript build error (#1023)
- Fixed issues where on
multi-calendarssolomode, next calendar keeps resetting month on range picker (#1025) - Fixed the issue where the clock icon is not aligned on the mobile view
v9.0.3
🐛 Bug Fixes
- Fixed
tabSubmitnot updatingmodel-valuewhen the clear button is shown (#961) - Fixed missing
aria-labelfield for input field (#967) - Fixed issue with partial range in
week-pickermode setting current week as the second week (#972) - Fixed issue where click event from
dp-inputslot wrapper blocks slot clicks (#973) - Fixed issue where hidden calendar cell can be focused (#978)
🔧 Refactor
- Emit
invalid-dateevent when validating date fromtext-input(#971)
v9.0.2
🐛 Bug Fixes
- Fixed issue where touch on Android device causes double selection in range picker (#948, #964)
- Fixed issue where
nullvalues in min and max dates withprevent-min-max-navigationprevent navigation (#951) - Fixed issue where
--dp-menu-min-widthis not propagated tomonth-pickermode (#954) - Fixed
preview-formatprop not formatting based on the provided prop (#957) - Fixed wrong slot type for slot
marker-tooltip(#959) - Fixed
text-inputtabSubmitfocusing clear button instead of parsing value (#961) by @OlaAlsaker
v9.0.1
🐛 Bug Fixes
- Fixed issue where the wrong class is applied on the
clear-iconslot (#945) by @Tsuyoshi84 - Fixed issue where the
clearInputaria-label is set on the wrong element (#942)
🔧 Refactor
- Calendar direction property is extracted to a CSS variable (#943)
v9.0.0
⚠️ Breaking changes
- Deprecated props are removed
- Class
dp__clear_iconis renamed todp--clear-btnand the icon is wrapped in<button>tag textInput.openMenubooleanvaluetrueis changed to'open' | 'toggle'- Removed
calendarWrapandcalendarDaysfrom thearia-labelsprop due to accessibility violations - When using the component with web components, it must be enabled explicitly via
config.shadowDomproperty
For more info, take a look at the migration guide
🚀 Features
- Added option to enable menu toggle when clicking the input field in
text-inputmode (#905) - Added
@text-inputevent (#906) - Exposed
dpWrapMenuRef(#918) - Added
customPositionfunction to themarkerobject (#933) - Added new slot
menu-headerthat spans across all instances (#935) - Additional arria labels for overlays are added (#941)
🐛 Bug Fixes
- Fixed issue with required double touch to select date when the date has a marker on iOS devices (#904)
- Fixed accessibility violation with
aria-labelon theinputfield (#907) - Fixed accessibility issue with unable to focus the
xbutton in the input field via keyboard (#908) - Fixed issue with wrong month & year assignment for
auto-rangeinmulti-calendarsmode (#909) by @Tsuyoshi84 - Fixed positioning issue when layout altering slots are used (fixes #922)
- Fixed broken layout on
direction: rtl(#931) - Fixed issue where
partial-flowcloses the menu after the first flow step (#936) - Fixed issue where the menu changes position on
text-input(#940)
🔧 Refactor
- Accessibility improvements
- All
svgicons now have aroleattribute - The
handleTabfunction fromdp-inputslots now receives a second (optional)booleanparameter, indicating that the event comes from the input field - Keyboard helpers (
Home,PageUpandPageDownevents) will now add focus (#822, #932) - The clear icon is now wrapped inside the
buttontag instead of the span
- All
v8.8.1
🐛 Bug Fixes
- Added optional chaining operator on arrow positioning (#901) by @carlssonemil
- Fixed wrong weekday names on
format-localein overridden timezone (#911) by @basil-gor - Fixed menu arrow positioning when the input is on the right (#920) by @allusernamestakenexceptthis
- Fixed issue with
cssimport in some projects (#903)
v8.8.0
🚀 Features
- Added new
uiprop- Add custom class support for
nextandpreviousnav buttons (#883)
- Add custom class support for
- Added
tp-inline-arrow-[up/down]slots (#884) - Added support for dynamic calendar update when the count is updated externally (#886) by @simbacod3
🐛 Bug Fixes
- Ignore full date
[min/max]-datevalidation inyear-pickermode (#879) - Fixed wrong default time in
time-pickermode whentimezoneis provided (#880) - Fixed incorrect month name tokens for
format-locale(#881) by @exi66 - Fixed issues where value is not reflected in the calendar on
text-inputin specific modes (#893) - Fixed issue where
multi-calendarsare not updating ontext-input(#894)
🔧 Refactor
⚠️ Deprecated props:input-class-name,menu-class-name,calendar-class-nameandcalendar-cell-class-namein favor ofuiprop
v8.7.0
🚀 Features
- Exposed
handleFlowmethod to manually trigger flow (#864) - Added
internalModelValueas a second param to theday-classprop (#872)
🐛 Bug Fixes
- Fixed issue where the overlay is closed on
clickwhen the picker is added inside<label>tag (#661) - Fixed issue with inverse arrow-left/right navigation
- Accessibility fixes (#822)
Home/Endto respect focused cell- Fixed issue where
PageUp/PageDownloses focus
- Fixed wrong
yearslot type (#867) - Fixed issue where month matching
min-dateinmonth-pickermode can't be selected (#865) - Pass
on-focusprop todp-inputslot to parsetext-inputwithauto-apply(#873) - Fixed issue where the
nowbutton is not selecting the date in the providedtimezone(#874) - Fixed issue where not all properties from
rangeandmulti-calendarsare being applied on[month/quarter]-pickermodes (#875 )
v8.6.0
🚀 Features
- New event
overlay-toggleadded (#852) - Added option to click and hold
time-pickerarrows (#855)- Can be enabled with
config.timeArrowHoldThreshold
- Can be enabled with
- Added
[hours/minutes/seconds]-overlay-headerslots (#857) - Added
--dp-border-color-focusCSS variable (#863)
🐛 Bug Fixes
- Fixed type errors for slot type definitions (#854, #858)
- Fixed issue where
12has wrong values intime-pickerwhen:is-24="false"(#851) - Fixed issue where the calendar is not reacting to mode change between
rangeandmulti-dates(#560) - Fixed issue where
prevent-min-max-navigationis not calculated properly whenv-modelis provided inmonth-pickermode (#861)
🔧 Refactor
- Deprecated events
time-picker-openandtime-picker-closein favor ofoverlay-toggleevent
v8.5.1
🐛 Bug Fixes
- Fixed missing prop type definition for
clear-iconslot (#842) - Fixed issue with
update-month-yearevent not being triggered on year change inmonth-pickermode (#843) - Fixed issue where input value disappears on
internal-model-changeevent (#848) - Fixed issue where
flowis not working properly intime-pickermode (#849)