Releases: Vuepic/vue-datepicker
Releases · Vuepic/vue-datepicker
v7.4.0
🚀 Feature
- Exposed
openMenu
,closeMenu
andtoggleMenu
functions to thedp-input
slot (#673)
🐛 Bug Fixes
- Fixed missing
week-numbers
prop object type definition (#667) - Fixed issue with focusing out from the input field and not focusing on the next/previous element (#668)
- Fixed issue with
flow
not working inmonth-picker
mode (#669)
🔧 Refactor
v7.3.0
🚀 Features
- Expose
toggleMenu
function (#644) - Added support for
preset-dates
inmonth-picker
mode (#647) - Extended
week-numbers
prop to allow hiding on weeks with only offset dates (#648) - New property added in the
config
proptabOutClosesMenu
(#664)
🐛 Bug fixes
- Fixed missing date 31 when the
timezone
is used where the 31st is the only date in the last week of the month (#641) - Fixed validation issue when using the
timezone
and[min/max]-date
(#642) - Fixed issue where markers are not positioned properly when
timezone
is used (#643) - Fixed issue where the
multi-calendars
solo option jumps months on new selection (#649) - Fixed issue where
start-date
is ignored onyear-picker
andmonth-picker
modes (#650) - Fixed issue with
multi-dates
containing pre-defined disabled dates not updating v-model value (#651) - Fixed menu open when used inside web components 962b705 (#657) by @LouisAndrew
- Fixed
[min/max] range
validation not working intext-input
mode (#660) - Fixed issue where menu closes on overlay click when used inside
<label>
tag (#661) - Fixed issue with tabbing out of the menu not closing the menu (#664)
🔧 Refactor
- Deprecated prop types
string | function
forweek-numbers
prop
v7.2.2
v7.2.1
🐛 Bug Fixes
- Fixed issue with time validation not working properly when validating only time (#612)
- Fixed prop type for
teleport
(#618 ) - Fixed tab out issue when the menu is in an open state on
text-input
(#622) - Fixed issue with
multi-dates
not working inyear-picker
mode (#628)
🔧 Refactor
- Reduced bundle size by optimizing
date-fns
imports f714802, d0c465a (#626, #627) by @MacFJA- ES: -101.42 kB (-35%) and 16.99 kB (-27%) compressed
- UMD: -67.87 kB (-32%) and 14.49 kB (-27%) compressed
- IIFE: -3 kB (-0.01%) and 0.56 kB (-1%) compressed
- Added
id
attribute to date cells in the calendar (#630)
v7.2.0
🚀 Features
- Added
invalid-date
event (#602) - Added
year-first
prop dad04d6 (#604) by @reeschan - Additional configuration is now possible for
highlight
prop (#607) - Added 3 additional CSS variables for range styling (#608)
🐛 Bug Fixes
- Fixed the issue causing the overlay grid to overflow when the height changes (#601)
- Fixed missing
--dp-hover-text-color
CSS variable on preset range button (#606)
🔧 Refactor
highlightWeekDays
andhighlightDisabledDays
props are deprecatedArray
type forhighlight
prop is deprecated
v7.1.0
🚀 Feature
- New event added
date-update
(#597)
🐛 Bug Fixes
- Fixed issue where the picker is focused
onMount
when combininginline
with[time/month/year]-picker
(#593) - Fixed issue where the
update-month-year
event is not emitting on calendar scroll and swipe (#594) - Fixed issue where
inline
combined with[month/year]-picker
is not showing inside popper (#598) - Fixed error caused by sidebar slots when using with
[time/month/year]-picker
(#599)
v7.0.0
⚠️ Potential breaking changes
- Wrapper for
preset-dates
is changed from<div>
to<template>
, which may cause potential styles break if you use aslot
for thepreset-dates
item - Removed deprecated props
For more info, take a look at the migration guide
🚀 Features
- Added
quarter-picker
mode (#571) - Added built-in date validation support for
text-input
(#578) - Added
utc
mode support forweek-picker
(#581) - Added disabled times indications when validating range start/end times (#585)
- Added new option
selectOnFocus
fortext-input
(#592)
🐛 Bug Fixes
- Fixed issue where clicking the clear icon doesn't clear value on
auto-apply
andtext-input
combined 151c680 (#562) by @kou-yoshida - Fixed issue where
invalid-select
is not being emitted on invalid[min/max]-range
withauto-apply
(#563) - Fixed issue where the
update-month-year
event is not being emitted inmonth-picker
mode (#564) - Fixed missing gap between
multi-calendars
(#565) - Fixed type for
updateInternalModelValue
method 52d755a (#566) by @AlexKotl - Fixed issue with
disabled-times
checking only minutes value (#570) - Fixed issue where 3rd party library components cause
shadowRender
error (#572) - Fixed issue with the wrong year on 2+ calendars in
month-picker
mode ( #573) - Fixed wrong
today
and initial time whentimezone
is set (#579) - Fixed issue where the
preset-dates
item is not clickable on the whole area (#580) - Fixed issue where custom
format
function prevents custommodel-type
parsing (#582) - Fixed incorrect
aria-role
650dff0 (#586) by @jameswhoughton - Fixed wrong variable name for
dp-row-margin
5d0e125 (#588) by @ExEr7um - Fixed issue where
text-input
withtime-picker
mode does not remove the value when the input is cleared (#589) - Fixed extra width on
time-picker
mode - Fixed issue where clicking the initial minutes down arrow in
range
mode doesn't update the time - Fixed wrong slot name for
[year/month]-overlay-value
(comment)
🔧 Refactor
preset-dates
item to use<button>
instead of<div>
element (#580)- Accessibility improvements
v6.1.0
🚀 Feature
- Added
config
prop, grouping general configuration (#556)
🐛 Bug Fixes
- Fixed issue where
no-disabled-rage
prop is ignored withauto-range
(#555) - Fixed issue where
disabled-dates
forutc="preserve"
are not appropriately mapped (#560) - Fixed typings for
format
andpreview-format
props(#561)
🔧 Refactor
The following props have been deprecated in favor of the config
prop
close-on-scroll
mode-height
allow-prevent-default
close-on-clear-value
close-on-auto-apply
no-swipe
keep-action-row
on-click-outside
v6.0.3
🐛 Bug Fixes
- Fixed button in the overlay submitting form (comment)
- Fixed issue where the position is not calculated correctly when
sidebar-[left/right]
slot is used (#547) - Fixed issue where flow step is triggered on month/year change when the first step is
calendar
(#553) - Fixed missing
month-year
slot from[month/year]-picker
modes (fixes #554)
🔧 Refactor
- Added
aria-disabled
andaria-invalid
attributes on the input field (#545)
v6.0.2
🐛 Bug Fixes
- Fixed issue where the
update-month-year
event is not being emitted (#534) - Fixed issue where the
start-time
is not working properly withtime-picker
mode (#535) - Fixed issue with random month jumping when in
multi-dates
mode (#539) - Fixed issue where months are not correctly displayed on specific ranges in
multi-calendars
mode (#540) - Fixed
undefined
sidebar props b1b7616 (#541) by @vinoMamba - Fixed
undefined
value
prop onmonth/year
slot (#544)