Skip to content

Commit 5208d3f

Browse files
authored
chore: update workspace dependencies (#2900)
* chore: update workspace dependencies * chore: format changelog and docs
1 parent 38e1b27 commit 5208d3f

9 files changed

Lines changed: 1764 additions & 1660 deletions

File tree

CHANGELOG.md

Lines changed: 331 additions & 343 deletions
Large diffs are not rendered by default.

examples-app/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"react": "^19.2.1",
12+
"react": "^19.2.4",
1313
"react-day-picker": "workspace:*",
14-
"react-dom": "^19.2.1"
14+
"react-dom": "^19.2.4"
1515
},
1616
"devDependencies": {
17-
"@types/react": "^19.2.7",
17+
"@types/react": "^19.2.13",
1818
"@types/react-dom": "^19.2.3",
19-
"@vitejs/plugin-react": "^5.1.1",
19+
"@vitejs/plugin-react": "^5.1.4",
2020
"typescript": "^5.9.3",
21-
"vite": "^7.2.6"
21+
"vite": "^7.3.1"
2222
}
2323
}

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -237,27 +237,27 @@
237237
"date-fns-jalali": "^4.1.0-0"
238238
},
239239
"devDependencies": {
240-
"@biomejs/biome": "2.3.8",
240+
"@biomejs/biome": "2.3.14",
241241
"@jest/types": "^30.2.0",
242242
"@radix-ui/react-select": "^2.2.6",
243-
"@swc/core": "^1.15.3",
243+
"@swc/core": "^1.15.11",
244244
"@swc/jest": "^0.2.39",
245245
"@testing-library/dom": "^10.4.1",
246246
"@testing-library/jest-dom": "^6.9.1",
247-
"@testing-library/react": "^16.3.0",
247+
"@testing-library/react": "^16.3.2",
248248
"@testing-library/user-event": "^14.6.1",
249249
"@types/jest": "^30.0.0",
250-
"@types/node": "^24.10.1",
251-
"@types/react": "^19.2.7",
250+
"@types/node": "^25.2.3",
251+
"@types/react": "^19.2.13",
252252
"@types/react-dom": "^19.2.3",
253253
"jest": "^30.2.0",
254254
"jest-environment-jsdom": "^30.2.0",
255255
"jest-transform-css": "^6.0.3",
256256
"mockdate": "^3.0.5",
257-
"prettier": "^3.7.1",
258-
"prettier-plugin-jsdoc": "^1.7.0",
259-
"react": "^19.2.1",
260-
"react-dom": "^19.2.1",
257+
"prettier": "^3.8.1",
258+
"prettier-plugin-jsdoc": "^1.8.0",
259+
"react": "^19.2.4",
260+
"react-dom": "^19.2.4",
261261
"ts-node": "^10.9.2",
262262
"tslib": "^2.8.1",
263263
"typescript": "^5.9.3",

pnpm-lock.yaml

Lines changed: 1385 additions & 1282 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/UI.ts

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ export enum DayFlag {
8585
}
8686

8787
/**
88-
* Enum representing selection states that can be applied to the {@link UI | UI.Day}
89-
* element in selection mode.
88+
* Enum representing selection states that can be applied to the
89+
* {@link UI | UI.Day} element in selection mode.
9090
*/
9191
export enum SelectionState {
9292
/** The day is at the end of a selected range. */
@@ -138,14 +138,16 @@ export enum Animation {
138138
export type DeprecatedUI<T extends CSSProperties | string> = {
139139
/**
140140
* This element was applied to the style of any button in DayPicker and it is
141-
* replaced by {@link UI | UI.PreviousMonthButton} and {@link UI | UI.NextMonthButton}.
141+
* replaced by {@link UI | UI.PreviousMonthButton} and
142+
* {@link UI | UI.NextMonthButton}.
142143
*
143144
* @deprecated
144145
*/
145146
button: T;
146147
/**
147148
* This element was resetting the style of any button in DayPicker and it is
148-
* replaced by {@link UI | UI.PreviousMonthButton} and {@link UI | UI.NextMonthButton}.
149+
* replaced by {@link UI | UI.PreviousMonthButton} and
150+
* {@link UI | UI.NextMonthButton}.
149151
*
150152
* @deprecated
151153
*/
@@ -207,25 +209,29 @@ export type DeprecatedUI<T extends CSSProperties | string> = {
207209
*/
208210
day_outside: T;
209211
/**
210-
* This element has been renamed to {@link SelectionState | SelectionState.range_end}.
212+
* This element has been renamed to
213+
* {@link SelectionState | SelectionState.range_end}.
211214
*
212215
* @deprecated
213216
*/
214217
day_range_end: T;
215218
/**
216-
* This element has been renamed to {@link SelectionState | SelectionState.range_middle}.
219+
* This element has been renamed to
220+
* {@link SelectionState | SelectionState.range_middle}.
217221
*
218222
* @deprecated
219223
*/
220224
day_range_middle: T;
221225
/**
222-
* This element has been renamed to {@link SelectionState | SelectionState.range_start}.
226+
* This element has been renamed to
227+
* {@link SelectionState | SelectionState.range_start}.
223228
*
224229
* @deprecated
225230
*/
226231
day_range_start: T;
227232
/**
228-
* This element has been renamed to {@link SelectionState | SelectionState.selected}.
233+
* This element has been renamed to
234+
* {@link SelectionState | SelectionState.selected}.
229235
*
230236
* @deprecated
231237
*/
@@ -237,8 +243,8 @@ export type DeprecatedUI<T extends CSSProperties | string> = {
237243
*/
238244
day_today: T;
239245
/**
240-
* This element has been removed. The dropdown icon is now {@link UI | UI.Chevron}
241-
* inside a {@link UI | UI.CaptionLabel}.
246+
* This element has been removed. The dropdown icon is now
247+
* {@link UI | UI.Chevron} inside a {@link UI | UI.CaptionLabel}.
242248
*
243249
* @deprecated
244250
*/
@@ -300,8 +306,9 @@ export type DeprecatedUI<T extends CSSProperties | string> = {
300306
*/
301307
nav_button_previous: T;
302308
/**
303-
* This element has been removed. The dropdown icon is now {@link UI | UI.Chevron}
304-
* inside a {@link UI | UI.NextMonthButton} or a {@link UI | UI.PreviousMonthButton}.
309+
* This element has been removed. The dropdown icon is now
310+
* {@link UI | UI.Chevron} inside a {@link UI | UI.NextMonthButton} or a
311+
* {@link UI | UI.PreviousMonthButton}.
305312
*
306313
* @deprecated
307314
*/
@@ -325,8 +332,8 @@ export type DeprecatedUI<T extends CSSProperties | string> = {
325332
*/
326333
tbody: T;
327334
/**
328-
* This element has been removed. The {@link UI | UI.Footer} is now a single element
329-
* below the months.
335+
* This element has been removed. The {@link UI | UI.Footer} is now a single
336+
* element below the months.
330337
*
331338
* @deprecated
332339
*/

website/docs/docs/appearance.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ Adjust the calendar’s look and layout with these appearance props.
2121
| `reverseMonths` | `boolean` | When displaying multiple months, reverse the order of the months. See [Grid and Months](./grid-and-months.mdx#multiplemonths). |
2222
| `pagedNavigation` | `boolean` | Enable paginated navigation when displaying multiple months. See [Grid and Months](./grid-and-months.mdx#multiplemonths). |
2323
| `showOutsideDays` | `boolean` | Display the days falling into other months. See [Grid and Months](./grid-and-months.mdx#outside-days). |
24-
| `showWeekNumber` | `boolean` | Display the column with the [week numbers](./week-numbers-and-footer.mdx#showweeknumber). |
24+
| `showWeekNumber` | `boolean` | Display the column with the [week numbers](./week-numbers-and-footer.mdx#showweeknumber). |

website/docs/localization/setting-time-zone.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ export function TimeZone() {
5151
}
5252
```
5353

54-
<BrowserWindow bodyStyle={{ justifyContent: "start" }} sourceUrl="https://github.com/gpbl/react-day-picker/blob/main/examples/TimeZone.tsx">
54+
<BrowserWindow
55+
bodyStyle={{ justifyContent: "start" }}
56+
sourceUrl="https://github.com/gpbl/react-day-picker/blob/main/examples/TimeZone.tsx"
57+
>
5558
<Examples.TimeZone />
5659
</BrowserWindow>
5760

website/docs/selections/range-mode.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ Similarly, use the `max` prop to set the maximum number of nights.
3535
<DayPicker mode="range" min={1} max={6} />
3636
```
3737

38-
<BrowserWindow bodyStyle={{ justifyContent: "start" }} sourceUrl="https://github.com/gpbl/react-day-picker/blob/main/examples/RangeMinMax.tsx">
38+
<BrowserWindow
39+
bodyStyle={{ justifyContent: "start" }}
40+
sourceUrl="https://github.com/gpbl/react-day-picker/blob/main/examples/RangeMinMax.tsx"
41+
>
3942
<Examples.RangeMinMax />
4043
</BrowserWindow>
4144

website/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
"@mdx-js/react": "^3.1.1",
2525
"docusaurus-plugin-plausible": "^0.0.5",
2626
"prism-react-renderer": "^2.4.1",
27-
"react": "^19.2.1",
27+
"react": "^19.2.4",
2828
"react-day-picker": "workspace:^",
2929
"react-day-picker-v8": "npm:react-day-picker@8.10.1",
30-
"react-dom": "^19.2.1",
30+
"react-dom": "^19.2.4",
3131
"react-shadow": "^20.6.0",
3232
"remark-github": "^12.0.0"
3333
},
@@ -38,9 +38,9 @@
3838
"docusaurus-plugin-typedoc": "^1.4.2",
3939
"identity-obj-proxy": "^3.0.0",
4040
"raw-loader": "^4.0.2",
41-
"typedoc": "^0.28.15",
41+
"typedoc": "^0.28.16",
4242
"typedoc-plugin-frontmatter": "^1.3.1",
43-
"typedoc-plugin-markdown": "^4.9.0",
43+
"typedoc-plugin-markdown": "^4.10.0",
4444
"typescript": "^5.9.3"
4545
},
4646
"browserslist": {

0 commit comments

Comments
 (0)