github Vuepic/vue-datepicker v12.0.0

one day ago

⚠️ 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 setMonthYear exposed function (#1120)
  • Added option to hide menu arrow (floating prop) (#1089)
  • Added option to change inputmode (#1149)
  • Added option to set custom input id (input-attrs prop) (#1163)
  • Added @invalid event that propagates oninvalid from the input field (#1127)
  • Added input masking on text-input alpha stage , tnx to @apsisxcoder (#1131)
  • Added support for rounding the value on now button (action-row prop) (#1138)

🐛 Bug Fixes

  • Fixed issue where time values in the overlay are not reacting to v-model change (#1108)
  • Fixed issue with time increment when picking from non-DST to DST date (#1112)
  • Fixed issue with being unable to use auto-apply when partialRange is enabled (#1113)
  • Fixed issue where Increasing calendar width makes the inline time picker not centered (#1117)
  • Fixed issue where maxRange and minRange are not working in year-picker mode (#1123)
  • Fixed issue where mobile swipe causes an unwanted selection of dates in the calendar (#1124, #1169)
  • Fixed issue where auto-apply closes the picker when using flow with range (#1125)
  • Fixed issue where start-date is not working in quarter-picker mode (#1133)
  • Fixed issue where events range-start and range-end are not emitted when the time is updated (fixes #1142)
  • Fixed positioning issue on smaller screens with preset-dates enabled (#1144)
  • Fixed issue with wrong week numbers from 2027 (#1147)
  • Fixed isue where auto-apply not selecting range in quarter-picker mode (#1166)

🔧 Other

  • Use @floating-ui/vue for menu positioning instead of custom positioning logic
  • Use @vueuse/core: onClickOutside and unrefElement instead of copied logic
  • Use @date-fns/tz for 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

Don't miss a new vue-datepicker release

NewReleases is sending notifications on new releases.