Skip to content

Releases: Vuepic/vue-datepicker

v5.1.0

13 May 17:29
7772c1b
Compare
Choose a tag to compare

🚀 Features

  • New events: time-picker-close and am-pm-change (#377, #379)
  • New prop: disable-year-select (#381)

🐛 Bug Fixes

  • Fixed the issue causing the menu to close when auto-apply and text-input are enabled (#380)
  • Fixed double mount issue in the menu components (#383)

v5.0.1

02 May 18:21
111b375
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Set type="button" on <button> elements (#374)
  • Fix types exports in TS ^5 b4b59d1 (#375)

v5.0.0

02 May 12:26
0f6db34
Compare
Choose a tag to compare

⚠️ Breaking Changes

  • Now button is moved to the action row
  • sass variables and import are removed
  • Renames:
    • now-button slot is renamed to action-extra
    • action-select slot is renamed to action-buttons
  • prevenDefault is not called on mousedown | pointerdown events anymore in the menu (needs to be set explicitly)

🚀 Features

  • New prop action-row
  • dp-input slot now has exposed all internal input functions (#366)
  • six-weeks support for multiple options (#370)

🐛 Bug Fixes

  • Fixed issue in time-picker where only raw value is validated (#364)
  • Fixed issue with TS2499 error (#365)
  • Fixed issue with screen reader 9a8f867 (#367) by @arrocke
  • Fixed broken inputs when used inside slots (#372)
  • Fixed cell range direction when the hovered date is before the first selected range date

🔧 Refactor

  • <div role="button"> are now proper buttons
  • New menu open transition
  • CSS fine-tuning, 2 new variables added
  • Prevent word-wrap on default preset-ranges (#368)
  • Cleaned extra props rendered as attributes and data-test attribute in the build output

v4.5.1

24 Apr 17:35
b5136b4
Compare
Choose a tag to compare

🐛 Bug Fix

  • Fixed warning - [vite:css] end value has mixed support 3b751c6 (#361)

v4.5.0

22 Apr 17:24
74fc77f
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue with passed referenced value to a disabled-dates function (#352)
  • Fixed overlay button positioning on vertical resize #354 (#353)
  • Fixed missing type declaration (#355)
  • Fixed issue where text-input time is not being parsed on paste (#358)

🔧 Refactor

  • Revert auto-generating declarations
  • Exported DatepickerInstance type for usage with ref
  • Action row redesign

v4.4.0

15 Apr 11:26
ae5bb86
Compare
Choose a tag to compare

🚀 Feature

  • Option to override sass with plain CSS variables (#340)
  • Added onBlur param to the dp-input slot (#348)
  • New method parseModel is added for manually trigger reformating or parsing value (#345)

🐛 Bug Fixes

  • Fixed issue with lost text-input value on blur (#339)
  • Fixed wrong action row width when resizing (#341)
  • Fixed issue when on the initial selection of the current year in year-picker range mode can't be selected (#346)
  • Fixed [min/max]-range option not working in month-picker and year-picker modes (#347)

🔧 Refactor

  • Collapse overlay rows when there are not enough items (#343)
  • Auto-generate type declarations (revert #206 implementation)
  • Menu appear animation adjustment
  • ⚠️ sass variables are now in deprecated mode, if you use them, please switch to CSS variables

v4.3.0

01 Apr 18:02
35e47dc
Compare
Choose a tag to compare

🚀 Feature

  • Added multi-dates support for month-picker (#318)

🐛 Bug Fixes

  • Fixed reactive switch on multi-calendars (#327)
  • Fixed issue with using component inside defineCustomElement (#330)
  • Fixed issue with the wrong layout when reverse-years is used (#331)
  • Fixed range validation with [min/max]-date on month-picker (#333)

v4.2.3

25 Mar 12:54
b541061
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed month validation with [min/max]-date in month-picker range mode (#323)
  • Fixed issue that requires a double click to focus next item in the DOM (#324)
  • Fixed issue where you can't tab out of input element (#326)

v4.2.2

18 Mar 16:07
0cd5c98
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue where clear icon overlaps input text (#314)
  • Fixed highlighted day overriding the range start/end class (#315)
  • Fixed issue with the time change in input with enabled text-input not updating the time value (#317)
  • Fixed issue with the external click-outside directive trigger when slot is provided (#321)

v4.2.1

14 Mar 17:30
a57db70
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue where auto-apply resets selected time when text-input is active (#295)
  • Fixed marker tooltip exiting window bounds when placed near the edges (#305)
  • Fixed issue where the text-input time is not the same as one selected from the calendar (#312)