Skip to content

v9.9.0

Latest
Compare
Choose a tag to compare
@gpbl gpbl released this 17 Aug 23:13
· 2 commits to main since this release

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.

<DayPicker captionLayout="dropdown" reverseYears />

See it in action in the playground.

What's Changed

  • feat: add reverseYears prop by @gpbl in #2822
  • fix: select the same day in range mode when range is open and min prop is 0 by @rodgobbi in #2816
  • build: removed source maps and src directory from package by @gpbl in #2812
  • build: update date-fns/tz dependency by @gpbl in #2823

Full Changelog: v9.8.1...v9.9.0