Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

v2.4.0

Compare
Choose a tag to compare
@Jasenkoo Jasenkoo released this 12 Dec 17:29
d70e5e1

๐Ÿš€ Features

  • markers - Add markers on dates with (optional) tooltips
  • transitions - Customize or turn off transitions
  • uid- Pass id to input or menu element (#45)
  • modeHeight - Adjust height when in specific mode, timePicker and monthPicker (#44)
  • New slots added, am-pm-button, time-picker-overlay (#44)
  • Add keyboard accessibility (#49)
  • enableSeconds - Add seconds in time picker (#46)
  • Access to @focus and @blur events (#49)
  • escClose - Close the menu on esc button
  • spaceConfirm - trigger select event when pressing space button
  • monthChangeOnArrows - Change months via arrows
  • @internalModelChange - Event called when internal modelValue is changed (#52)
  • Support for now button in range mode (#54)

๐Ÿ› Bug Fixes

  • Stop propagation when using click outside directives (#51)
  • Months starting on Sunday getting the wrong calendar (#55)
  • startTime not working in time-picker mode (#58)
  • Issue where timezone dates caused inconsistency in the calendar (#62)
  • Focus border to stay when date picker menu is in the open state
  • Time not applied in range mode when only one date is selected
  • Wheel month change not changing year
  • No border-radius at the bottom when autoApply is enabled
  • Hover date border-radius stays in single-mode when range is active
  • Wrong month/year on the second calendar with a partial range in two-calendars mode

๐Ÿ”ง Refactor

  • date-fns is now added as a dependency instead of bundling it with the package
  • Some code reorganization resulting in a smaller build size
  • Increased default range for yearRange prop (#50)
  • clear-icon slot has a function passed as prop called clear and will not auto clear (#53 , #64)
  • disabledDates now accepts a custom function (#60)
  • openMenuOnFocus moved from textInputOptions to general prop
  • monthChangeOnScroll extended with an option to change scroll direction (#43)
  • Now button will not auto-apply value if auto-apply is not specified
  • Timepicker improvements (#56)
    • maxTime and minTime treated as the actual time
    • disable auto time jumping to min or max (#38)
    • validation logic adjustments

๐Ÿ“ Documentation

  • Due to a large number of props and slots that can be passed, they are now categorized in the documentation for easier navigation