Releases: gpbl/react-day-picker
v9.0.0-rc.2
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
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
v9.0.0-beta.4
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
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 withWeekNumberFlag
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
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
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
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
- @union-zakbutcher made their first contribution in #2073
Full Changelog: v8.10.0...v8.10.1
v8.10.0
What's Changed
New Features
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) and4
(Thursday) instead of values from0
to6
. This change may break your type-check.
- Note: this prop now supports only the value
Docs Udpates
- docs: remove anchor from the Readme image by @neicore in #1969
- docs: fix typo by @toby-brilliant in #1984
- docs: adjust example wording: "the today's date" by @toby-brilliant in #1987
- docs: matcher api reference page uses incorrect object syntax by @janaiscoding in #1978
- docs: update Contributing.md by @janaiscoding in #1979
New Contributors
- @jerodfritz made their first contribution in #1964
- @neicore made their first contribution in #1969
- @toby-brilliant made their first contribution in #1984
- @janaiscoding made their first contribution in #1978
Full Changelog: v8.9.1...v8.10.0
v8.9.1
What's Changed
Bug fixes
Build
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