Skip to content

Releases: Vuepic/vue-datepicker

v7.3.0

28 Nov 21:52
bee8aef
Compare
Choose a tag to compare

🚀 Features

  • Expose toggleMenu function (#644)
  • Added support for preset-dates in month-picker mode (#647)
  • Extended week-numbers prop to allow hiding on weeks with only offset dates (#648)
  • New property added in the config prop tabOutClosesMenu (#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 on year-picker and month-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 in text-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 for week-numbers prop

v7.2.2

06 Nov 20:03
9c1b8f8
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue with nuxt installation (revert bundle optimization) (#634, #635)
  • Fixed disabled state for time-picker in inline mode (#636)
  • Fixed CSS on the highlighted date when using week-picker (#637)

v7.2.1

04 Nov 13:07
c54d391
Compare
Choose a tag to compare

🐛 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 in year-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

14 Oct 11:34
53d0399
Compare
Choose a tag to compare

🚀 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 and highlightDisabledDays props are deprecated
  • Array type for highlight prop is deprecated

v7.1.0

07 Oct 11:20
610f2f3
Compare
Choose a tag to compare

🚀 Feature

  • New event added date-update (#597)

🐛 Bug Fixes

  • Fixed issue where the picker is focused onMount when combining inline 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

29 Sep 17:39
86b439a
Compare
Choose a tag to compare

⚠️ Potential breaking changes

  • Wrapper for preset-dates is changed from <div> to <template>, which may cause potential styles break if you use a slot for the preset-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 for week-picker (#581)
  • Added disabled times indications when validating range start/end times (#585)
  • Added new option selectOnFocus for text-input (#592)

🐛 Bug Fixes

  • Fixed issue where clicking the clear icon doesn't clear value on auto-apply and text-input combined 151c680 (#562) by @kou-yoshida
  • Fixed issue where invalid-select is not being emitted on invalid [min/max]-range with auto-apply (#563)
  • Fixed issue where the update-month-year event is not being emitted in month-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 when timezone 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 custom model-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 with time-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

09 Sep 12:05
7a3994b
Compare
Choose a tag to compare

🚀 Feature

  • Added config prop, grouping general configuration (#556)

🐛 Bug Fixes

  • Fixed issue where no-disabled-rage prop is ignored with auto-range (#555)
  • Fixed issue where disabled-dates for utc="preserve" are not appropriately mapped (#560)
  • Fixed typings for format and preview-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

02 Sep 14:53
be047a7
Compare
Choose a tag to compare

🐛 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 and aria-invalid attributes on the input field (#545)

v6.0.2

26 Aug 09:39
56e07a2
Compare
Choose a tag to compare

🐛 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 with time-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 on month/year slot (#544)

v6.0.1

19 Aug 11:25
0b2a9ed
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed missing CSS in webpack projects (#526)
  • Fixed issue where the disabled-dates prop is not reactive (#528)
  • Fixed issue where auto-apply is not working in year-picker mode (#529)
  • Fixed aria-disabled value not removing attribute on false value f88ffa1 (#530) by @chip

🔧 Refactor

  • Extend disabled-times prop config for more accessible range validation (#459)
    • Mark hour as disabled in the overlay if all minutes are disabled