Skip to content

Commit 6c0c6a1

Browse files
committed
Relax Radix-UI React dependency to 1.x
This will help propagation of bug fixes or features (e.g. React 19 support). If Radix UI frequently breaks semantic versioning, it should be avoided. Pinning packages to patch versions contributes to bundle size bloat.
1 parent 481f4d2 commit 6c0c6a1

File tree

3 files changed

+209
-286
lines changed

3 files changed

+209
-286
lines changed

packages/heading/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"node": ">=18.0.0"
4444
},
4545
"dependencies": {
46-
"@radix-ui/react-slot": "1.0.2"
46+
"@radix-ui/react-slot": "^1.1.0"
4747
},
4848
"peerDependencies": {
4949
"react": "^18.2.0"

packages/react-email/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
"dependencies": {
3030
"@babel/parser": "7.24.1",
3131
"@radix-ui/colors": "1.0.1",
32-
"@radix-ui/react-collapsible": "1.0.3",
33-
"@radix-ui/react-popover": "1.0.7",
34-
"@radix-ui/react-slot": "1.0.2",
35-
"@radix-ui/react-toggle-group": "1.0.4",
36-
"@radix-ui/react-tooltip": "1.0.6",
32+
"@radix-ui/react-collapsible": "^1.1.0",
33+
"@radix-ui/react-popover": "^1.1.1",
34+
"@radix-ui/react-slot": "^1.1.0",
35+
"@radix-ui/react-toggle-group": "^1.1.0",
36+
"@radix-ui/react-tooltip": "^1.1.1",
3737
"@react-email/components": "0.0.17",
3838
"@react-email/render": "0.0.13",
3939
"@swc/core": "1.3.101",

0 commit comments

Comments
 (0)