Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency react-day-picker to v9 #595

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 21, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-day-picker (source) ^8.10.1 -> ^9.3.0 age adoption passing confidence

Release Notes

gpbl/react-day-picker (react-day-picker)

v9.3.0

Compare Source

This release adds the dayPickerProps to the values returned by useDayPicker, enabling access to these props from custom components.

Thanks to the work by @​rodgobbi, we could enhance the performance when selecting a range of days.

We’ve also updated the default style to preserve the font-family inherited from the parent element. To restore the previous behavior, update the .rdp-root CSS class to include font-family: system-ui.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.2.1...v9.3.0

v9.2.1

Compare Source

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.2.0...v9.2.1

v9.2.0

Compare Source

This release addresses an issue with localization and applies some fixes for types and CSS exports.

What's Changed
New Contributors

Full Changelog: gpbl/react-day-picker@v9.1.4...v9.2.0

v9.1.4

Compare Source

This release fixes a localization issue and improves export compatibility across various Node.js environments.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.1.3...v9.1.4

v9.1.3

Compare Source

This release includes some minor build fixes and documentation updates.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.1.2...v9.1.3

v9.1.2

Compare Source

What's Changed

Full Changelog: gpbl/react-day-picker@v9.1.1...v9.1.2

v9.1.1

Compare Source

This release improves reliability for controlled mode and adds experimental support for time zones.

Time Zone Support

By integrating the @​date-fns/tz utilities for handling time zones, we have added a new experimental timeZone prop. Please see the updated docs for more details.

import { DayPicker, TZDate } from 'react-day-picker';
<DayPicker 
    timeZone="Europe/Athens"  // set the time zone
    disabled={TZDate.tz("Europe/Athens")}  // make sure you use `TZDate` to initialize dates
/> 

[!NOTE]
If you were using the experimental react-day-picker/utc module, you can skip now it. Remove the @date-fns/utc package and just pass timeZone="UTC" to <DayPicker />.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.1.0...v9.1.1

v9.1.0

Compare Source

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

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.9...v9.1.0

v9.0.9

Compare Source

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

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.8...v9.0.9

v9.0.8

Compare Source

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

What's Changed

Full Changelog: gpbl/react-day-picker@v9.0.7...v9.0.8

v9.0.7

Compare Source

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

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.6...v9.0.7

v9.0.6

Compare Source

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

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.5...v9.0.6

v9.0.5

Compare Source

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

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.4...v9.0.5

v9.0.4

Compare Source

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

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.3...v9.0.4

v9.0.3

Compare Source

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

What's Changed

Full Changelog: gpbl/react-day-picker@v9.0.2...v9.0.3

v9.0.2

Compare Source

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

What's Changed

Full Changelog: gpbl/react-day-picker@v9.0.1...v9.0.2

v9.0.1

Compare Source

This update improves backward compatibility with v8.10.1.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.0.0...v9.0.1

v9.0.0

Compare Source

DayPicker v9 is a major release including significant updates related to accessibility, customization and localization.

Install the Latest Version
npm install react-day-picker@latest

What’s New

  • Moved date-fns from 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-years and dropdown-months caption layouts.
  • New hideWeekdayRow and hideNavigation props.
  • Updated for a complete custom components support.
  • Improved typings and props for better compatibility in TypeScript strict mode.

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 useInput hook has been removed. See Input fields guide for more details.
  • onWeekNumberClick has 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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

Copy link

vercel bot commented Jul 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dew ❌ Failed (Inspect) Nov 13, 2024 2:44pm

@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from ade4d58 to 5655dbf Compare July 22, 2024 02:33
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 5655dbf to 0ef1140 Compare July 22, 2024 13:41
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 0ef1140 to fbad506 Compare July 23, 2024 02:58
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from fbad506 to 540c418 Compare July 24, 2024 15:30
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 540c418 to 308d3b7 Compare July 30, 2024 04:27
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 308d3b7 to 979bfe5 Compare July 31, 2024 13:10
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 979bfe5 to 2da766c Compare August 5, 2024 00:59
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 2da766c to 573fdc2 Compare August 8, 2024 02:19
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 573fdc2 to 2dc8dd6 Compare September 8, 2024 01:49
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 2dc8dd6 to 2478f74 Compare September 16, 2024 22:27
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 2478f74 to 592a24d Compare September 17, 2024 13:33
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 592a24d to f41deb1 Compare September 18, 2024 02:01
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from f41deb1 to bb2ce94 Compare September 19, 2024 15:07
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from bb2ce94 to 14ded6f Compare September 23, 2024 01:05
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 7f91149 to a556f98 Compare November 13, 2024 14:15
Copy link

sonarcloud bot commented Nov 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants