keystone
keystone copied to clipboard
fix(deps): update dependency react-day-picker to v9
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| react-day-picker (source) | ^8.0.4 -> ^9.0.0 |
Release Notes
gpbl/react-day-picker (react-day-picker)
v9.0.5
This release improves the range mode behavior (see the updated docs) and address some styling issues.
What's Changes
- fix: improved range mode to work with min / required props by @gpbl in https://github.com/gpbl/react-day-picker/pull/2326
- fix(style): typo in css rdp-hidden module css breaking CSS builds by @ayuhito in https://github.com/gpbl/react-day-picker/pull/2307
- fix(style): borders grid are not collapsed by @gpbl in https://github.com/gpbl/react-day-picker/pull/2323
- fix(style): week numbers are now centered by @gpbl in https://github.com/gpbl/react-day-picker/commit/c919ad829c042c7af70b6a88d22c163e697b40d7
New Contributors
- @ayuhito made their first contribution in https://github.com/gpbl/react-day-picker/pull/2307
- @rishabh-ink made their first contribution in https://github.com/gpbl/react-day-picker/pull/2311
Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.0.4...v9.0.5
v9.0.4
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_endby @AlessioDP in https://github.com/gpbl/react-day-picker/pull/2298 - fix(css): dropdown is transparent in Windows OS by @gpbl in https://github.com/gpbl/react-day-picker/pull/2300
- fix:
endMonthdate not working as expected by @gpbl in https://github.com/gpbl/react-day-picker/pull/2301 - feat: added back
onDayMouseEnterandonDayMouseLeaveby @gpbl in https://github.com/gpbl/react-day-picker/pull/2304
New Contributors
- @AlessioDP made their first contribution in https://github.com/gpbl/react-day-picker/pull/2298
Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.0.3...v9.0.4
v9.0.3
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 https://github.com/gpbl/react-day-picker/pull/2294
- fix: range mode not updating when selected prop changes by @gpbl in https://github.com/gpbl/react-day-picker/pull/2295
Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.0.2...v9.0.3
v9.0.2
This update improves backward compatibility with v8.10.1 for range selection mode.
What's Changed
- feat: add
excludeDisabledprop for range mode by @gpbl in https://github.com/gpbl/react-day-picker/pull/2290
Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.0.1...v9.0.2
v9.0.1
This update improves backward compatibility with v8.10.1.
What's Changed
- fix: prop types not being correctly interpreted by TS by @gpbl in https://github.com/gpbl/react-day-picker/pull/2283
- feat: add
DeprecatedUIenum by @gpbl in https://github.com/gpbl/react-day-picker/pull/2284
Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.0.0...v9.0.1
v9.0.0
DayPicker v9 is a major release including significant updates related to accessibility, customization and localization.
- See the updated docs at https://daypicker.dev and the upgrading Guide for more details.
Install the Latest Version
npm install react-day-picker@latest
What’s New
- Moved
date-fnsfrom peer dependencies to dependencies. - Added support for UTC dates and Jalali Calendar.
- Enhanced accessibility to better comply with WCAG 2.1 recommendations.
- Simplified styles and new CSS variables for easier customization.
- Improved selection logic for range mode.
- New
dropdown-yearsanddropdown-monthscaption layouts. - New
hideWeekdayRowandhideNavigationprops. - Updated for a complete custom components support.
- Improved typings and props for better compatibility in TypeScript
strictmode.
Breaking Changes
While we tried to keep the API as stable as possible, some breaking changes were necessary to improve the library:
- The updated ARIA labels could require new translations or updated unit tests selectors.
- Custom CSS styles will likely break, due to the updated CSS classes and simplified styles.
- Custom Components have new API and may break.
- Some typings have been renamed or deprecated.
- The
useInputhook has been removed. See Input fields guide for more details. onWeekNumberClickhas been removed. Use a custom component to handle week number clicks.- The updated build system to ESM and CommonJS could break some custom bundler.
Upgrading Guide
We prepared a Upgrading guide for help upgrading your app to v9. We welcome feedback about the upgrade process, to ensure it's smooth for everyone.
Compatibility
DayPicker v9 is compatible with React 16.8+.
Get Support and Report Issues
Get support, report issues, and provide feedback on the Discussion forums. Thanks.
New Contributors
- @grzegorzpokorski made their first contribution in https://github.com/gpbl/react-day-picker/pull/2124
- @zaaakher made their first contribution in https://github.com/gpbl/react-day-picker/pull/2137
- @ArthurGoupil made their first contribution in https://github.com/gpbl/react-day-picker/pull/2230
- @johnnysedh3lllo made their first contribution in https://github.com/gpbl/react-day-picker/pull/2252
- @xardit made their first contribution in https://github.com/gpbl/react-day-picker/pull/2254
- @dave-meyer made their first contribution in https://github.com/gpbl/react-day-picker/pull/2231
- @benasher44 made their first contribution in https://github.com/gpbl/react-day-picker/pull/2249
- @RyanCavanaugh made their first contribution in https://github.com/gpbl/react-day-picker/pull/2275
- @kesoji made their first contribution in https://github.com/gpbl/react-day-picker/pull/2281
Configuration
📅 Schedule: Branch creation - "before 7am on Tuesday,before 7am on Wednesday" in timezone Australia/Sydney, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 3aa7c11a0594d4130c957be550da8785ff135488:
| Sandbox | Source |
|---|---|
| @keystone-6/sandbox | Configuration |