What's new?
- Ability to select range. You can enable range selection mode by using
selectRange
prop. - When passed a date range as a value, days can now be partially highlighted just like months, years and decades can. Behavior when passed a single date remains unchanged and won't cause day to be partially highlighted.
- Internal layout changes. They should not cause issues with custom styling, although in some extreme cases minor adjustments may be necessary.
- Several performance and size optimizations.
Bug fixes
- Fixed an accessibility issue with default calendar styling in which tiles selected using keyboard were not properly highlighted.
- Fixed uncaught error when provided (invalid) value as an array with one element.
- Fixed uncaught error when provided tileContent function that was not an instance of
Function
(e.g. Jest mock function). - Minor accessibility fix in Test suite.