Skip to content

Releases: Vuepic/vue-datepicker

v8.7.0

25 May 21:55
1bfd662
Compare
Choose a tag to compare

🚀 Features

  • Exposed handleFlow method to manually trigger flow (#864)
  • Added internalModelValue as a second param to the day-class prop (#872)

🐛 Bug Fixes

  • Fixed issue where the overlay is closed on click when the picker is added inside <label> tag (#661)
  • Fixed issue with inverse arrow-left/right navigation
  • Accessibility fixes (#822)
    • Home/End to respect focused cell
    • Fixed issue where PageUp/PageDown loses focus
  • Fixed wrong year slot type (#867)
  • Fixed issue where month matching min-date in month-picker mode can't be selected (#865)
  • Pass on-focus prop to dp-input slot to parse text-input with auto-apply (#873)
  • Fixed issue where the now button is not selecting the date in the provided timezone (#874)
  • Fixed issue where not all properties from range and multi-calendars are being applied on [month/quarter]-picker modes (#875 )

v8.6.0

12 May 14:19
7eceb72
Compare
Choose a tag to compare

🚀 Features

  • New event overlay-toggle added (#852)
  • Added option to click and hold time-picker arrows (#855)
    • Can be enabled with config.timeArrowHoldThreshold
  • Added [hours/minutes/seconds]-overlay-header slots (#857)
  • Added --dp-border-color-focus CSS variable (#863)

🐛 Bug Fixes

  • Fixed type errors for slot type definitions (#854, #858)
  • Fixed issue where 12 has wrong values in time-picker when :is-24="false" (#851)
  • Fixed issue where the calendar is not reacting to mode change between range and multi-dates (#560)
  • Fixed issue where prevent-min-max-navigation is not calculated properly when v-model is provided in month-picker mode (#861)

🔧 Refactor

  • Deprecated events time-picker-open and time-picker-close in favor of overlay-toggle event

v8.5.1

02 May 12:11
899d99f
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed missing prop type definition for clear-icon slot (#842)
  • Fixed issue with update-month-year event not being triggered on year change in month-picker mode (#843)
  • Fixed issue where input value disappears on internal-model-change event (#848)
  • Fixed issue where flow is not working properly in time-picker mode (#849)

v8.5.0

20 Apr 18:36
a96bc12
Compare
Choose a tag to compare

🚀 Features

  • Added keepViewOnOffsetClick in the config prop to prevent auto month change on offset date click (#797)
  • Various accessibility improvements (Date picker only) (#822)
    • PageUp and PageDown keyboard buttons go to the next/previous month
    • shift + PageUp or PageDown keyboard buttons go to the next/previous year
    • home and end keyboard 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-locale and 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-value slot not working in month-picker mode (#821)
  • Fixed issue with --dp-border-radius applied 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-input range mode (#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-test attributes
    • preset-dates can also accept optional testId to configure the data-test attribute

v8.4.0

06 Apr 20:01
57b20e6
Compare
Choose a tag to compare

🚀 Features

  • Added support for iso format in model-type (#804)
  • Added top-extra slot (#806)
  • Added a second parameter in the internal-model-change event with a matching value in v-model (#808)

🐛 Bug Fixes

  • Fixed issue with disabled flag 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 range mode 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 config prop

v8.3.2

01 Apr 21:09
3d2c3d0
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue with collapsed [left/right]-sidebar slots (#790)
  • Fixed issue where the date is cleared with clearable="false" in text-input mode (#791)
  • Fixed issue with auto-apply not working in month-picker and year-picker range mode (#794)
  • Fixed teleport prop type order to fix boolean casting (#798) by @mcmimik

🔧 Refactor

  • Pass the format-locale prop when parsing custom model-type (#788) by @fanta759

v8.3.1

17 Mar 20:18
f5dcdcd
Compare
Choose a tag to compare

🐛 Bug fix

  • Resolved range selecting issue introduced in v8.3.0

v8.3.0

17 Mar 19:55
edb0ee0
Compare
Choose a tag to compare

🚀 Features

  • Added support for dragging and selecting on multi-dates (#780)
    • multi-dates prop can now accept configuration object
  • timezone prop can now accept convertModel property (#773)

🐛 Bug Fixes

  • Fixed issue where format-locale is being ignored when parsing text-input (#768)
  • Fixed issue where filters are not being applied in month-picker mode (#769)
  • Fixed issue where year numbers are not formatted based on locale (#775)
  • Fixed issue where arrow-navigation does 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-range is not working with fixed-start/end (#781)
  • Fixed issue where selectOnFocus doesn't select the value with custom format on text-input (#782)

🔧 Refactor

  • Revert v-model to timezone conversion before v8.1.0 (can be opted out via config) (#773)
  • Deprecated prop multi-dates-limit

v8.2.0

01 Mar 22:18
cae49c3
Compare
Choose a tag to compare

🚀 Feature

  • Add weekDay property to aria-labels prop (#749)

🐛 Bug Fixes

  • Fixed slow year update in text-input mode combined with range (#694)
  • Fixed issue with the aria-labels prop not being propagated to all components (#748)
  • Fixed issue with [min/max]-range not working in month-picker mode (#758)
  • Fixed hydration mismatch error in Nuxt (#762)
  • Fixed partial-flow with auto-apply not closing the menu (#764)
  • Fixed missing ariaLabels.menu on role="dialog" (#765)
  • Fixed wrong seconds mapping in time-picker range mode (#766)

v8.1.1

13 Feb 20:18
9beb0d9
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue with multi-dates in month-picker mode not being validated properly (#744)
  • Fixed issue where multiple dates are expanding the calendar