Skip to content

Releases: Vuepic/vue-datepicker

v3.1.0

09 Apr 19:48
5ab06a8
Compare
Choose a tag to compare

⚠️ Breaking changes

  • monthChangeOnScroll default and inverse mode are switched, scrolling down will now go to the next month

🚀 Features

  • Added swipe events for touch devices, (can be disabled by passing noSwipe prop)
  • vertical - New mode added, instead of going left/right, it will be up/down orientation
  • New transition added on menu open
  • ariaLabels - Option to change aria-labels text

🐛 Bug Fixes

  • Fixed issue where calendar transition was not active on the first change
  • Fixed issue where the transition was triggered on the second calendar in multiCalendars mode when v-model value was passed
  • Fixed wrong path for unpkg import (#3)
  • Fixed issue where today is marked on offset date (#9)
  • Fixed positioning issue above the input

🔧 Refactor

  • Code cleanup, removed redundant code, better organization
  • Use Symbol for injected props
  • teleport to accept HTMLElement
  • Improved and smoother transitions
  • Positioning is redone, if autoPosition is enabled, it will auto fit to screen, x or y-axis (#13)

v3.0.0

19 Mar 18:41
7d08043
Compare
Choose a tag to compare

⚠️ Important notes ⚠️

⚠️ Breaking changes

Nothing big, just adjust the imports if needed

  • scss import is changed to @vuepic/vue-datepicker/src/VueDatePicker/style/main.scss
  • If you used the component in the html <script> tag, component name is changed to just VueDatePicker

🐛 Bug fixes

  • Fixed issue where setting openMenu to false in textInputOptions requires openOnFocus prop to be set on false also (#120)
  • Fixed issue where reverseYears reverse months (4b1e5fe) (#123)
  • Fixed issue where openMenu actually toggles the menu (#126)
  • Fixed issue where the same month and different years do not display the second calendar properly inmultiCalendarsSolo mode (#127)
  • Fixed issue where minDate disables the provided date in different timezones (#128)

🔧 Refactor

  • Use vite as a build tool
  • The playground is moved to StackBlitz
  • The component folder is renamed to VueDatePicker

Previous releases can be found here