Releases: gpbl/react-day-picker
v9.0.0-rc.3
What's Changed
- feat: improve focus handling relying on data-attributes
- feat: merge hooks into one
useDayPicker
hook - feat: rollback to use HTML tables and button elements by @gpbl in #2253
- deprecate not used
onDay*
event handlers - consolidate use of
components
- now Is possible to extend all the internal components - improve ARIA labels for week number header, today date and selected dates
- update footer to be an
aria-live
region - fix: range includes disabled days by @gpbl in #2219
- fix: add type module in package.json by @ArthurGoupil in #2230
- feat: use back HTML table and Button element a button by @gpbl in #2253
New Contributors
- @ArthurGoupil made their first contribution in #2230
- @johnnysedh3lllo made their first contribution in #2252
- @xardit made their first contribution in #2254
Full Changelog: v9.0.0-rc.2...v9.0.0-rc.3
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