Skip to content

Commit 10a22e5

Browse files
committed
Update Primer React to latest version
1 parent 6c5d1a1 commit 10a22e5

5 files changed

Lines changed: 29 additions & 20 deletions

File tree

.changeset/rotten-coins-teach.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Add React 19 support
77
This update is backwards compatible with React 18. However, it upgrades `@primer/react` to v38, which includes breaking changes such as the removal of the `Box` component and `sx` prop. Projects using this theme may need to update their code accordingly.
88

99
- Updated React peer dependency to support React 19
10-
- Updated @primer/react from v37.11.2 to 38.0.0
10+
- Updated @primer/react from v37.11.2 to v38.3.0
1111
- Updated `@primer/react-brand` from v0.54.0 to v0.60.1
1212
- Updated `framer-motion` from v12.4.0 to v12.23.24
1313
- Updated `react-focus-on` from v3.9.4 to v3.10.0

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@changesets/cli": "2.27.12",
3131
"@github/prettier-config": "^0.0.6",
3232
"@oddbird/popover-polyfill": "^0.5.2",
33-
"@primer/react": "38.0.0",
33+
"@primer/react": "38.3.0",
3434
"@primer/react-brand": "0.60.1",
3535
"@types/node": "20.19.4",
3636
"@typescript-eslint/eslint-plugin": "8.29.0",

packages/site/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
},
3131
"devDependencies": {
3232
"@github/prettier-config": "^0.0.6",
33-
"@primer/react": "38.0.0",
33+
"@primer/react": "38.3.0",
3434
"@primer/react-brand": "0.60.1",
3535
"@types/node": "20.19.4",
36-
"@types/react": "^19.0.0",
37-
"@types/react-dom": "^19.0.0"
36+
"@types/react": "^19.2.7",
37+
"@types/react-dom": "^19.2.3"
3838
}
3939
}

packages/theme/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"dependencies": {
2828
"@next/mdx": "15.5.7",
2929
"@primer/octicons-react": "19.15.1",
30-
"@primer/react": "^38.0.0",
30+
"@primer/react": "^38.3.0",
3131
"@types/lodash.debounce": "^4.0.9",
3232
"framer-motion": "12.23.24",
3333
"lodash.debounce": "^4.0.8",
@@ -42,8 +42,8 @@
4242
"@testing-library/react": "^16.1.0",
4343
"@testing-library/user-event": "^14.5.2",
4444
"@types/node": "^20.19.0",
45-
"@types/react": "^19.0.0",
46-
"@types/react-dom": "^19.0.0",
45+
"@types/react": "^19.2.7",
46+
"@types/react-dom": "^19.2.3",
4747
"@vitejs/plugin-react": "^4.3.3",
4848
"@vitest/coverage-v8": "^3.2.4",
4949
"@vitest/ui": "^3.2.4",

0 commit comments

Comments
 (0)