Skip to content

Releases: gpbl/react-day-picker

v9.0.0-rc.2

24 Jun 11:27
f26248b
Compare
Choose a tag to compare

What's Changed

  • CSS variables are now inside the .rdp-caledar scope
  • fix: chevron orientation on RTL direction by @gpbl in #2216
  • fix: gradient in RTL by @gpbl in #2217
  • fix: selection modes not working as expected
  • fix: dropdown navigation not including year or month

Full Changelog: v9.0.0-rc.1...v9.0.0-rc.2

v9.0.0-rc.1

22 Jun 16:06
11b6734
Compare
Choose a tag to compare

What's Changed

  • feat: add support for UTC, Jalali calendar by @gpbl in #2213
  • refactor: simplified props, contexts by @gpbl in #2211

Full Changelog: v9.0.0-beta.5...v9.0.0-rc.1

v9.0.0-beta.5

08 Jun 14:33
1ae1822
Compare
Choose a tag to compare

What's Changed

  • feat: remove fromDate, toDate props by @gpbl in #2197
  • feat: new startMonth, endMonth prop; deprecate props by @gpbl in #2198
  • docs: update upgrading guide by @gpbl in #2199

Full Changelog: v9.0.0-beta.4...v9.0.0-beta.5

v9.0.0-beta.4

07 Jun 11:06
f00e8d9
Compare
Choose a tag to compare

What's Changed

  • style(typescript): improved Selection Mode types by @gpbl in #2195
  • feat: dropdown options are disabled when navigating out of calendar range by @gpbl in #2194

Full Changelog: v9.0.0-beta.3...v9.0.0-beta.4

v9.0.0-beta.3

03 Jun 01:10
df3d348
Compare
Choose a tag to compare

What's Changed

  • Improved classNames / Tailwind support @gpbl in #2175
  • fix(style): add --rdp-dropdown-gap css variable by @gpbl in #2176
  • fix: captionLayout prop not working as expected by @gpbl in #2177
  • fix: add ChevronFlag interface for disabled chevrons by @gpbl in #2178
  • feat: add new DayDate component by @gpbl in #2179
  • feat: update range styles by @gpbl in #2180
  • fix: replace data- attribute with WeekNumberFlag by @gpbl in #2181
  • fix: accessibility improvements by @gpbl in #2183

Full Changelog: v9.0.0-beta.2...v9.0.0-beta.3

v9.0.0-beta.2

31 May 12:11
94c92b1
Compare
Choose a tag to compare

What's Changed

  • build: React in scope, remove use of tslib by @gpbl in #2167
  • build: fix CSS module support, added missing class names by @gpbl in #2168
  • fix: disabled days can be selected with selected prop by @gpbl in #2171
  • fix: onNextClick, onPrevClick not being called by @gpbl in #2172
  • fix: today day is auto focused when available by @gpbl in #2174

Full Changelog: v9.0.0-beta.1...v9.0.0-beta.2

v9.0.0-beta.1

28 May 11:39
94d53c7
Compare
Choose a tag to compare

About DayPicker 9 beta

Version 9 is the next major version of React DayPicker, currently in development.

See http://react-day-picker.js.org/next for the updated documentation and a complete changelog. Please note the documentation is still a work in progress.

Help Testing this Version

Please report any issues or provide feedback on theGitHub Discussions page. We welcome feedback about the upgrade process to ensure it's smooth for everyone.

What’s New

  • Requires React 18+
  • New HTML structure based on div grids instead of tables
  • Updated style system with new CSS variables, CSS classes and selectors
  • Enhanced accessibility to complies with WCAG 2.1 AA
  • Updated typings - now DayPicker works in strict mode
  • Improved rendering performance, e.g. with multiple months
  • Updated custom components system, with new components and props
  • Removed the useInput hook (refer to the documentation for alternatives)

Breaking Changes

Upgrading to v9 will require some changes in your code. See the upgrading guide for more information.


Full Changelog: v8.10.1...v9.0.0-beta.1

v8.10.1

16 Apr 01:11
9a25636
Compare
Choose a tag to compare

What's Changed

  • build: fix Preact support by externalizing JSX runtime by @pwolfert in #2076
  • build: remove unused useIsomorphicLayoutEffect module by @pwolfert in #2077
  • fix(types): improved props for RootContext componet @zakbutcher in #2073

New Contributors

Full Changelog: v8.10.0...v8.10.1

v8.10.0

23 Dec 10:34
01b8e91
Compare
Choose a tag to compare

What's Changed

New Features

  • feat: support for date-fns 3.0 by @gpbl in #2003

Fixes

  • fix(types): cannot find module types/Matchers by @jerodfritz in #1964
  • fix(types): firstWeekContainsDate to be only Monday or Thursday by @gpbl in #2004
    • Note: this prop now supports only the value 1 (Monday) and 4 (Thursday) instead of values from 0 to 6. This change may break your type-check.

Docs Udpates

New Contributors

Full Changelog: v8.9.1...v8.10.0

v8.9.1

18 Oct 11:45
Compare
Choose a tag to compare

What's Changed

Bug fixes

  • fix(types): PropsWithChildren not compatible with React 17 by @binhpv in #1947

Build

  • build(types): add missing Locale imports by @gpbl in #1948
Updated dependencies
  • build(deps-dev): bump @rollup/plugin-terser from 0.4.3 to 0.4.4 by @dependabot in #1939
  • build(deps-dev): bump @adobe/css-tools from 4.0.1 to 4.3.1 by @dependabot in #1941
  • build(deps-dev): bump webpack from 5.88.2 to 5.89.0 by @dependabot in #1940
  • build(deps-dev): bump @types/react-dom from 18.2.7 to 18.2.13 by @dependabot in #1945

New Contributors

Full Changelog: v8.8.3...v8.9.1