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

Bump react-day-picker from 9.4.1 to 9.5.0 in /frontend #6197

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 30, 2024

Bumps react-day-picker from 9.4.1 to 9.5.0.

Release notes

Sourced from react-day-picker's releases.

v9.5.0

This release adds full support for the Persian calendar and a new numerals prop to set the numbering system.

Breaking Change: Dropdown Formatters

The formatMonthDropdown and formatYearDropdown now receive a Date (instead of a number) as first argument.

<DayPicker formatters={{ 
-     formatMonthDropdown: (month) => format(new Date(month), "mmmm") }} 
+     formatMonthDropdown: (date) => format(date, "mmmm") }} />
-     formatYearDropdown: (year) => format(new Date(year), "yyyy") }} 
+     formatYearDropdown: (date) => format(date, "yyyy") }} />
/>

Persian Calendar

Persian Calendar get fulls support in DayPicker and replaces the previous "Jalali Calendar".

If you were using DayPicker from react-day-picker/jalali, change your imports to react-day-picker/persian:

- import { DayPicker } from  `react-day-picker/jalali`;
+ import { DayPicker } from  `react-day-picker/persian`;

See the Persian calendar documentation for more details about using Persian calendar in DayPicker.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.4.4...v9.5.0

v9.4.4

This release fixes an issue with the month names in the Jalali calendar.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.4.3...v9.4.4

... (truncated)

Commits
  • a06052e fix(website): Persian test
  • aa0cacb fix(website): Persian formatted
  • e65d776 website: update docs for Persian calendar
  • 15280b7 chore(persian): use arabext numerals as default
  • 56c7acb chore: update tests after #2648 (#2650)
  • bcd5215 feat: remove startMonth and endMonth default constraints when `dropdown-m...
  • 1026b2c website: playground updates
  • d09e2ac feat: add new numerals prop (#2647)
  • 8a67562 website: fix type in ShadowDomWrapper
  • 5fabec6 build(website): disable typedoc watch
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-day-picker](https://github.com/gpbl/react-day-picker) from 9.4.1 to 9.5.0.
- [Release notes](https://github.com/gpbl/react-day-picker/releases)
- [Changelog](https://github.com/gpbl/react-day-picker/blob/main/CHANGELOG.md)
- [Commits](gpbl/react-day-picker@v9.4.1...v9.5.0)

---
updated-dependencies:
- dependency-name: react-day-picker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 30, 2024
@akheron akheron merged commit ede2fa0 into master Dec 30, 2024
31 checks passed
@akheron akheron deleted the dependabot/npm_and_yarn/frontend/react-day-picker-9.5.0 branch December 30, 2024 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant