This repository was archived by the owner on Apr 17, 2022. It is now read-only.
v2.2.0
⚠️ Breaking Changes
- Some classes are changed for the calendar since the
tabletag is replaced withdiv, so if you modified something, make sure to adjust it calendarClassNameis 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 otherhideOffsetDates- Hide days from the previous/next month in the calendarautoRange- Predefine rangenoToday- Disable today mark in the calendarnoHoursOverlay- Disable overlay for hours in the time pickernoMinutesOverlay- Disable overlay for minutes in the time picker- New slots added
hours,minutes,hours-overlay,minutes-overlay,month,year,month-overlay,year-overlay textInputOptionsextended with 2 more properties,tabSubmitandopenMenuOnFocus(#24)
🐛 Bug Fixes
customPropsnot passed to child components- New prop
altPositionadded for relative positioned parent (#8) - Same style when using with CSS frameworks
- Prevent calendar expanding on custom action labels
- Correct
scssimport path in the documentation (#23) - Missing calendar dates when
weekStartis changed - Hours glitch when going arrow down from 12 AM when
is24is disabled - Time validation issues with
minTimeandmaxTime
🔧 Refactor
- Replaced
tabletag withdivfor calendar - Style wrapped in
border-boxfor unified dimensions - Slightly compact size overall
- Preselect value on month-picker and time-picker (UX)
- Improved type support
hoursIncrementandminutesIncrementnot to reset on 00:00- Range marking improved