npm @vuepic/vue-datepicker 8.0.0
v8.0.0

latest releases: 8.8.1, 8.8.0, 8.7.0...
5 months ago

⚠️ Breaking Changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • highlight prop types are changed to either a configuration object or a function
  • Removed deprecated props
  • id for cell days in the calendar is changed to format value instead ISO date
  • date-fns-tz dependency is removed
  • date-fns is updated to version v3 (#688)

For more info, take a look at the migration guide

🚀 Features

  • Added dp--past and dp--future classes in the calendar (#676)
  • Added range support for week-picker (#700, #665, #283)
  • Added loading prop that adds loading overlay in the menu (#722)
  • Added minMaxRawRange in the range configuration object (#732)

🐛 Bug Fixes

  • Fixed slow year update in text-input mode combined with range (#694)
  • Fixed year 0 on the second solo calendar when the range is within the first calendar (#702)
  • Fixed issue with scroll jump when selecting year range (#705)
  • Fixed unhandled error when using flow with month-picker (#712)
  • Fixed issue where the @update-month-year event is not being triggered in year-picker (#716)
  • Fixed issue where the dp-input slot is not showing on :inline={ input: true } mode (#717)
  • Fixed issue with time update on model-auto with pre-defined v-model (#719)
  • Fixed select button style override by global CSS selectors (#721)
  • Fixed issue with partial-range and predefined v-model not highlighting hovered date and resetting selection (#726)
  • Fixed issue with bypassing [min/max]-time when selected boundary values (#727)
  • Fixed issue with vue compact warnings (#728)
  • Fixed issue with word break on Chinese action button labels (#733)
  • Fixed issue with duplicated calendars when using preset-dates and :multi-calendars="{ solo: true }" (#735)
  • Fixed issue with wrong month selection in month-picker mode when the current date is greater than the days on the selected month (#736, #738)
  • Fixed wrong transitions type (#740)

🔧 Refactor

  • Update the mobile layout if the calendar width is larger than the document width (#690)
  • When tabbing out from overlay, shift focus to the action row button (#695)
  • Debounce on month-change-on-scroll is changed to a variable rate throttle (#725) by @phillanier
  • Use format instead of ISO date split for day cell id (#729)
  • range prop can now accept configuration object
  • Deprecated the following props in favor of the range configuration object:
    • show-last-in-range
    • no-disabled-range
    • disable-time-range-validation
    • max-range
    • min-range
    • partial-range
    • auto-range
    • fixed-start
    • fixed-end

Don't miss a new vue-datepicker release

NewReleases is sending notifications on new releases.