Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-08-17 | 1.1 kB | |
v9.9.0 source code.tar.gz | 2025-08-17 | 1.8 MB | |
v9.9.0 source code.zip | 2025-08-17 | 2.0 MB | |
Totals: 3 Items | 3.8 MB | 0 |
This release includes a new reverseYears
prop, a range selection fix, and a build update to fix issues with source maps.
Reversing the Years in the Dropdown
When using captionLayout='dropdown'
, set reverseYears
to reverse the years listed in the dropdown: the most recent year will appear first.
:::tsx
<DayPicker captionLayout="dropdown" reverseYears />
See it in action in the playground.
What's Changed
- feat: add
reverseYears
prop by @gpbl in https://github.com/gpbl/react-day-picker/pull/2822 - fix: select the same day in range mode when range is open and min prop is 0 by @rodgobbi in https://github.com/gpbl/react-day-picker/pull/2816
- build: removed source maps and
src
directory from package by @gpbl in https://github.com/gpbl/react-day-picker/pull/2812 - build: update
date-fns/tz
dependency by @gpbl in https://github.com/gpbl/react-day-picker/pull/2823
Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.8.1...v9.9.0