Thank you for using and helping improve DayPicker. Here are the notable changes in this release:
- Updated to date-fns v4.
- Please update
@date-fns/utcif you are usingreact-day-picker/utc.
- Please update
- Introduced new custom components for dropdowns and navigation buttons.
- Fixed issues with controlled vs. uncontrolled selections not working as expected.
What's Changed
- build: update to date-fns@4 by @gpbl in #2466
- feat: add
PreviousMonthButtonandNextMonthButtonto custom components by @gpbl in #2437 - feat: add
MonthsDropdownandYearsDropdowncustom components by @gpbl in #2454 - feat(types): remove restrictions on
componentsandclassNamesprop types by @gpbl in #2452 - feat(types): add
OnSelectHandlertype by @gpbl in #2436 - fix: controlled vs. uncontrolled selections by @gpbl in #2462
- fix: use correct month to disable
ChevronofNextMonthButtonby @qgadrian in #2449 - fix(types): add missing
ClassNamestypes for dropdowns by @hsnaydd in #2441 - chore: remove unnecessary
labelOptionsfromlabelNextandlabelPreviousby @gpbl in #2434 - chore: move
Navto its own component by @gpbl in #2435 - chore(types): deprecate
ButtoninCustomComponentsby @gpbl in #2439
New Contributors
Full Changelog: v9.0.9...v9.1.0