Skip to content

Releases: gpbl/react-day-picker

v9.1.0

18 Sep 00:54
fa8fa6e
Compare
Choose a tag to compare

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/utc if you are using react-day-picker/utc.
  • 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 PreviousMonthButton and NextMonthButton to custom components by @gpbl in #2437
  • feat: add MonthsDropdown and YearsDropdown custom components by @gpbl in #2454
  • feat(types): remove restrictions on components and classNames prop types by @gpbl in #2452
  • feat(types): add OnSelectHandler type by @gpbl in #2436
  • fix: controlled vs. uncontrolled selections by @gpbl in #2462
  • fix: use correct month to disable Chevron of NextMonthButton by @qgadrian in #2449
  • fix(types): add missing ClassNames types for dropdowns by @hsnaydd in #2441
  • chore: remove unnecessary labelOptions from labelNext and labelPrevious by @gpbl in #2434
  • chore: move Nav to its own component by @gpbl in #2435
  • chore(types): deprecate Button in CustomComponents by @gpbl in #2439

New Contributors

Full Changelog: v9.0.9...v9.1.0

v9.0.9

07 Sep 23:56
a30f541
Compare
Choose a tag to compare

This release fixes a regression causing the calendar to reset when selecting the days, improves compatibility with the previous version and fixes some other bugs.

What's Changed

  • feat: added back more properties to the value returned by useDayPicker by @gpbl in #2427
  • fix: calendar is reset after selecting a day by @gpbl in #2429
  • fix(style): remove unnecessary styles to buttons in footer in DayPicker by @hsnaydd in #2383
  • fix(style): missing class names for months and years dropdowns @hsnaydd in #2394
  • fix(utilities): dateMatchModifiers to use defaultDateLib by @gpbl in #2413
  • fix(types): add formatWeekNumberHeader to Formatters by @gpbl in #2412
  • fix(types): add missing ChevronProps export by @rishabh-ink in #2363

New Contributors

Full Changelog: v9.0.8...v9.0.9

v9.0.8

07 Aug 23:38
d9fec52
Compare
Choose a tag to compare

This release fixes a regression in v9.0.7 affecting range mode.

What's Changed

  • fix: update the displayed month only if start/end month change by @gpbl in #2358

Full Changelog: v9.0.7...v9.0.8

v9.0.7

04 Aug 23:38
0be5917
Compare
Choose a tag to compare

This release improves compatibility with v8 and fix an issue with the calendar navigation.

What's Changed

  • fix: update calendar state when startMonth or endMonth change by @gpbl in #2343
  • feat: allow partial locales, export defaultLocale by @gpbl in #2348
  • feat: allow undefined as initially selected value, as it was in v8 by @gpbl in #2341
  • docs: changed class name calendar to root in the examples by @gpbl in #2347
  • docs: replaced deprecated props by @josephmarkus in #2336*

New Contributors

Full Changelog: v9.0.6...v9.0.7

v9.0.6

31 Jul 11:59
ae63d4c
Compare
Choose a tag to compare

This release addresses the failed import of the common-js module for some app builder and add new data- attributes to help the integration with Tailwind. Thanks for your feedback!

What's Changed

  • fix(build): add package.json to dist/cjs module by @gpbl in #2330
  • feat: add new data-attributes to the day cells by @gpbl in #2331

New Contributors

Full Changelog: v9.0.5...v9.0.6

v9.0.5

30 Jul 02:04
114f087
Compare
Choose a tag to compare

This release improves the range mode behavior (see the updated docs) and address some styling issues.

What's Changed

  • fix: improved range mode to work with min / required props by @gpbl in #2326
  • fix(style): typo in css rdp-hidden module css breaking CSS builds by @ayuhito in #2307
  • fix(style): borders grid are not collapsed by @gpbl in #2323
  • fix(style): week numbers are now centered by @gpbl in c919ad8

New Contributors

Full Changelog: v9.0.4...v9.0.5

v9.0.4

24 Jul 12:26
5d42b37
Compare
Choose a tag to compare

This release fixes some bugs and improves compatibility with v8.10. Thanks for your feedback and patience! 🤖

What's Changed

  • fix(css): typo in .rdp-range_end by @AlessioDP in #2298
  • fix(css): dropdown is transparent in Windows OS by @gpbl in #2300
  • fix: endMonth date not working as expected by @gpbl in #2301
  • feat: added back onDayMouseEnter and onDayMouseLeave by @gpbl in #2304

New Contributors

Full Changelog: v9.0.3...v9.0.4

v9.0.3

23 Jul 00:16
63a7b3c
Compare
Choose a tag to compare

This release fixes two issues found with the grid style and the range mode.

What's Changed

  • fix: alignment of grid elements by @gpbl in #2294
  • fix: range mode not updating when selected prop changes by @gpbl in #2295

Full Changelog: v9.0.2...v9.0.3

v9.0.2

22 Jul 12:48
57fec63
Compare
Choose a tag to compare

This update improves backward compatibility with v8.10.1 for range selection mode.

What's Changed

  • feat: add excludeDisabled prop for range mode by @gpbl in #2290

Full Changelog: v9.0.1...v9.0.2

v9.0.1

22 Jul 00:41
8bed0e4
Compare
Choose a tag to compare

This update improves backward compatibility with v8.10.1.

What's Changed

  • fix: prop types not being correctly interpreted by TS by @gpbl in #2283
  • feat: add DeprecatedUI enum by @gpbl in #2284

Full Changelog: v9.0.0...v9.0.1