npm @vuepic/vue-datepicker 3.6.0
v3.6.0

latest releases: 9.0.3, 9.0.2, 9.0.1...
21 months ago

🚀 Features

  • timezone - Support for timezones (#185)
  • no-disabled-range - Prevent range selection if the range includes disabled dates (#188)
  • textInputOptions.format to display the given format on input focus and global format for value display (#190)
  • on-click-outside - Custom on click outside handler with exposed validation function 54d3f15 & 0795686 (#191)
  • six-weeks - Always display six weeks in the calendar (#199)
  • New slots - month-year, time-picker, action-row

🐛 Bug Fixes

  • Fixed hours auto-increment on date change on UTC preserve mode 45b80f2 (#182)
  • Fixed start-date being ignored in month-picker mode (#186)
  • Fixed issues related to min and max range (#187)
    • number of dates to include both start and end dates, not between dates
    • min range >= 1 allows the selection of the same date
  • Fixed auto-apply when used in combination with model-auto (#195)
  • Fixed issue where the page scroll is blocked on mobile devices (#197)

🔧 Refactor

  • Code reorganization
  • Significantly reduced code complexity
  • Improved code readability
  • Test coverage over 80%
  • Rewritten top/bottom positioning logic, smoother and consistent animation
  • All prop changes should be reactive now
  • disabled-dates in the range will be marked as part of the range
  • ⚠️(deprecated) - custom components are now deprecated, additional slots are added instead
  • ⚠️(breaking) - html property for custom HTML in the markers prop is replaced with the slot (marker-tooltip) for security purposes
  • ⚠️(breaking) - Custom format function will now receive date object(s) on all modes
  • ⚠️(breaking) - Slots with the name [month/year/hours/minutes]-overlay are renamed to [month/year/hours/minutes]-overlay-value

Don't miss a new vue-datepicker release

NewReleases is sending notifications on new releases.