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

v2.2.0

Choose a tag to compare

@Jasenkoo Jasenkoo released this 20 Oct 20:08
f5b569c

⚠️ Breaking Changes

  • Some classes are changed for the calendar since the table tag is replaced with div, so if you modified something, make sure to adjust it
  • calendarClassName is now passed directly to the calendar wrapper and not the top-most parent

🚀 Features

  • twoCalendars - Show two calendars for range picker (#20)
  • twoCalendarsSolo - Show two calendars, but both will behave independently of each other
  • hideOffsetDates - Hide days from the previous/next month in the calendar
  • autoRange - Predefine range
  • noToday - Disable today mark in the calendar
  • noHoursOverlay - Disable overlay for hours in the time picker
  • noMinutesOverlay - Disable overlay for minutes in the time picker
  • New slots added hours, minutes, hours-overlay, minutes-overlay, month, year, month-overlay, year-overlay
  • textInputOptions extended with 2 more properties, tabSubmit and openMenuOnFocus (#24)

🐛 Bug Fixes

  • customProps not passed to child components
  • New prop altPosition added for relative positioned parent (#8)
  • Same style when using with CSS frameworks
  • Prevent calendar expanding on custom action labels
  • Correct scss import path in the documentation (#23)
  • Missing calendar dates when weekStart is changed
  • Hours glitch when going arrow down from 12 AM when is24 is disabled
  • Time validation issues with minTime and maxTime

🔧 Refactor

  • Replaced table tag with div for calendar
  • Style wrapped in border-box for unified dimensions
  • Slightly compact size overall
  • Preselect value on month-picker and time-picker (UX)
  • Improved type support
  • hoursIncrement and minutesIncrement not to reset on 00:00
  • Range marking improved