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(ui): update dependency react-day-picker to v9 #262

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 1, 2024

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

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 - "on the 1st day of the month" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 Aug 1, 2024

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

Name Status Preview Comments Updated (UTC)
reti ❌ Failed (Inspect) Sep 28, 2024 2:43am

@renovate renovate bot requested a review from drichar as a code owner August 1, 2024 07:48
@renovate renovate bot requested a review from pbennett as a code owner August 1, 2024 07:48
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 4b7a37a to 506fb41 Compare August 1, 2024 21:57
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 506fb41 to 930b95e Compare August 2, 2024 04:07
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 930b95e to 26b0411 Compare August 2, 2024 04:46
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 26b0411 to e9e59e3 Compare August 2, 2024 19:15
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from e9e59e3 to e66bdb4 Compare August 3, 2024 12:22
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from e66bdb4 to 65adc33 Compare August 5, 2024 05:40
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 65adc33 to 72e37b2 Compare August 8, 2024 01:16
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 72e37b2 to d498bb6 Compare August 11, 2024 01:57
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from d498bb6 to 816dac4 Compare September 5, 2024 06:19
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 816dac4 to a822a7a Compare September 5, 2024 10:40
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from a822a7a to 8a3ae5c Compare September 5, 2024 22:06
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 8a3ae5c to 454140e Compare September 10, 2024 01:24
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 454140e to a33632a Compare September 10, 2024 19:43
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 54ba960 to 6410c46 Compare September 19, 2024 21:09
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 6410c46 to 960b1bd Compare September 19, 2024 21:15
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch 2 times, most recently from e7738c8 to e521ce8 Compare September 19, 2024 23:11
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from e521ce8 to 334f4ce Compare September 20, 2024 06:24
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 334f4ce to 234a8c7 Compare September 21, 2024 03:07
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 234a8c7 to f857403 Compare September 22, 2024 15:08
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from f857403 to 72acaa8 Compare September 23, 2024 20:30
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 72acaa8 to 0e1c330 Compare September 25, 2024 22:58
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from 0e1c330 to e62d76b Compare September 27, 2024 05:20
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from e62d76b to d152456 Compare September 27, 2024 22:00
@renovate renovate bot force-pushed the renovate/ui-react-day-picker-9.x branch from d152456 to 1b917a2 Compare September 28, 2024 02:31
@drichar
Copy link
Contributor

drichar commented Sep 28, 2024

Closing for now, more work is needed before the shadcn/ui Calendar component is ready for react-day-picker@9. There are multiple PRs open but none have been merged yet: https://github.com/search?q=repo%3Ashadcn-ui%2Fui+Calendar+react-day-picker&type=pullrequests

@drichar drichar closed this Sep 28, 2024
Copy link
Contributor Author

renovate bot commented Sep 28, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 9.x releases. But if you manually upgrade to 9.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/ui-react-day-picker-9.x branch September 28, 2024 03:12
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.

1 participant