Skip to content

Commit

Permalink
chore(deps): update dependency react-day-picker to v9.1.1 (#1025)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-day-picker](https://daypicker.dev) ([source](https://redirect.github.com/gpbl/react-day-picker)) | [`9.1.0` -> `9.1.1`](https://renovatebot.com/diffs/npm/react-day-picker/9.1.0/9.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-day-picker/9.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-day-picker/9.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-day-picker/9.1.0/9.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-day-picker/9.1.0/9.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>gpbl/react-day-picker (react-day-picker)</summary>

### [`v9.1.1`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.1.1)

[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.1.0...v9.1.1)

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

#### Time Zone Support

By integrating the [@&#8203;date-fns/tz](https://redirect.github.com/date-fns/tz) utilities for handling time zones, we have added a new experimental `timeZone` prop. Please see the [updated docs](https://daypicker.dev/docs/localization#time-zone) for more details.

```tsx
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

-   fix: make sure internal state is not updated in controlled mode by [@&#8203;gpbl](https://redirect.github.com/gpbl) in [https://github.com/gpbl/react-day-picker/pull/2473](https://redirect.github.com/gpbl/react-day-picker/pull/2473)
-   feat: new `timeZone` prop (experimental) by [@&#8203;gpbl](https://redirect.github.com/gpbl) in [https://github.com/gpbl/react-day-picker/pull/2467](https://redirect.github.com/gpbl/react-day-picker/pull/2467)
-   feat: export locales from `react-day-picker/locale` by [@&#8203;gpbl](https://redirect.github.com/gpbl) in [https://github.com/gpbl/react-day-picker/pull/2474](https://redirect.github.com/gpbl/react-day-picker/pull/2474)

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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/technifit/tasker).
  • Loading branch information
renovate[bot] authored Sep 19, 2024
1 parent f149a78 commit 78bac5e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
"eslint": "8.57.1",
"postcss": "8.4.47",
"react": "18.3.1",
"react-day-picker": "9.1.0",
"react-day-picker": "9.1.1",
"react-dom": "18.3.1",
"react-hook-form": "7.53.0",
"tailwindcss": "3.4.12",
Expand All @@ -385,7 +385,7 @@
"peerDependencies": {
"@tanstack/react-table": "8.20.5",
"react": "18.3.1",
"react-day-picker": "9.1.0",
"react-day-picker": "9.1.1",
"react-dom": "18.3.1",
"react-hook-form": "7.53.0",
"tailwindcss": "3.4.12",
Expand Down
16 changes: 11 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 78bac5e

Please sign in to comment.