Commit a52804a
feat(deps)!: update React dependencies to v19
- bump react, react-dom, @types/react and @types/react-dom in the
workspace root and the integration demo app to React 19
- restrict the react/react-dom peer ranges of all packages (and the
package generator template) to ^18 || ^19
- omit the div onChange from NumberInputProps so the interface
compiles against the stricter @types/react@19 event types
- reference the scoped React.JSX namespace in the MenuToggleInForm
example (the global JSX namespace was removed in @types/react@19)
- update Select template tests that relied on React 18 deferring
unmounts past the awaited user event, and refresh snapshots for the
React 19 useId format
BREAKING CHANGE: all @patternfly packages now require react and
react-dom ^18 || ^19; React 17 is no longer supported.
Closes #11371
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 94fe4bb commit a52804a
102 files changed
Lines changed: 1100 additions & 1112 deletions
File tree
- packages
- react-charts
- react-code-editor
- src/components/CodeEditor/__test__/__snapshots__
- react-core
- src
- components
- AboutModal/__tests__/__snapshots__
- Alert/__tests__/Generated/__snapshots__
- Breadcrumb/__tests__/__snapshots__
- Button/__tests__/__snapshots__
- Card/__tests__/__snapshots__
- ClipboardCopy/__tests__/__snapshots__
- Compass/__tests__/__snapshots__
- DataList/__tests__
- Generated/__snapshots__
- __snapshots__
- DatePicker/__tests__/__snapshots__
- Drawer/__tests__
- Generated/__snapshots__
- __snapshots__
- DualListSelector/__tests__/__snapshots__
- EmptyState/__tests__/__snapshots__
- ExpandableSection/__tests__/__snapshots__
- FileUpload/__tests__/__snapshots__
- FormSelect/__tests__/__snapshots__
- Form/__tests__/__snapshots__
- JumpLinks/__tests__/__snapshots__
- Label/__tests__/__snapshots__
- LoginPage/__tests__/__snapshots__
- MenuToggle
- __tests__/__snapshots__
- examples
- Menu/__tests__/__snapshots__
- Modal/__tests__/__snapshots__
- MultipleFileUpload/__tests__/__snapshots__
- NotificationBadge/__tests__/__snapshots__
- NumberInput
- __tests__/__snapshots__
- OverflowMenu/__tests__/Generated/__snapshots__
- Page/__tests__/__snapshots__
- Pagination/__tests__
- Generated/__snapshots__
- __snapshots__
- Popover/__tests__/Generated/__snapshots__
- Radio/__tests__/__snapshots__
- SearchInput/__tests__/__snapshots__
- SkipToContent/__tests__/__snapshots__
- Slider/__tests__/__snapshots__
- Switch/__tests__/__snapshots__
- Tabs/__tests__/__snapshots__
- TextInput/__tests__/__snapshots__
- Toolbar/__tests__/__snapshots__
- deprecated/components
- Chip/__tests__/__snapshots__
- DualListSelector/__tests__/__snapshots__
- Modal/__tests__/__snapshots__
- Wizard/__tests__
- Generated/__snapshots__
- __snapshots__
- helpers/GenerateId/__tests__/__snapshots__
- react-drag-drop
- src/components/DragDrop/__tests__/__snapshots__
- react-icons
- react-integration/demo-app-ts
- react-table
- src
- components/Table
- __tests__/__snapshots__
- utils/__snapshots__
- deprecated/components/Table/__tests__/__snapshots__
- react-templates
- src/components
- Dropdown/__tests__/__snapshots__
- Select/__tests__
- __snapshots__
- scripts/generators/package
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments