diff --git a/.changeset/grumpy-ladybugs-tickle.md b/.changeset/grumpy-ladybugs-tickle.md new file mode 100644 index 0000000000000..75139a57ce9cc --- /dev/null +++ b/.changeset/grumpy-ladybugs-tickle.md @@ -0,0 +1,6 @@ +--- +"@medusajs/icons": patch +"@medusajs/ui": patch +--- + +chore(ui,icons): Add React 19/19-rc to peer dependencies diff --git a/packages/design-system/icons/package.json b/packages/design-system/icons/package.json index 68e8e73c3cd40..bd9009c384863 100644 --- a/packages/design-system/icons/package.json +++ b/packages/design-system/icons/package.json @@ -55,7 +55,7 @@ "vitest": "^0.32.2" }, "peerDependencies": { - "react": "^16.x || ^17.x || ^18.x" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "packageManager": "yarn@3.2.1", "publishConfig": { diff --git a/packages/design-system/ui/package.json b/packages/design-system/ui/package.json index 274a8649166fa..4a7d49c561d08 100644 --- a/packages/design-system/ui/package.json +++ b/packages/design-system/ui/package.json @@ -67,8 +67,8 @@ "jsdom": "^22.1.0", "postcss": "^8.4.38", "prop-types": "^15.8.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", "resize-observer-polyfill": "^1.5.1", "rimraf": "^5.0.1", "storybook": "^8.3.5", @@ -108,8 +108,8 @@ "tailwind-merge": "^2.2.1" }, "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" + "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "browserslist": [ "last 3 chrome versions", diff --git a/yarn.lock b/yarn.lock index 7e4c97845ad45..876e0ace3602c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5867,7 +5867,7 @@ __metadata: vite: ^4.3.9 vitest: ^0.32.2 peerDependencies: - react: ^16.x || ^17.x || ^18.x + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc languageName: unknown linkType: soft @@ -6700,10 +6700,10 @@ __metadata: prism-react-renderer: ^2.0.6 prismjs: ^1.29.0 prop-types: ^15.8.1 - react: ^18.2.0 + react: ^18.3.1 react-aria: ^3.33.1 react-currency-input-field: ^3.6.11 - react-dom: ^18.2.0 + react-dom: ^18.3.1 react-stately: ^3.31.1 resize-observer-polyfill: ^1.5.1 rimraf: ^5.0.1 @@ -6717,8 +6717,8 @@ __metadata: vite-plugin-turbosnap: ^1.0.2 vitest: ^0.32.2 peerDependencies: - react: ^18.0.0 - react-dom: ^18.0.0 + react: ^18.0.0 || ^19.0.0 || ^19.0.0-rc + react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-rc languageName: unknown linkType: soft @@ -28086,7 +28086,7 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react-dom@npm:^18.2.0": +"react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react-dom@npm:^18.2.0, react-dom@npm:^18.3.1": version: 18.3.1 resolution: "react-dom@npm:18.3.1" dependencies: @@ -28392,7 +28392,7 @@ __metadata: languageName: node linkType: hard -"react@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react@npm:^18.2.0": +"react@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react@npm:^18.2.0, react@npm:^18.3.1": version: 18.3.1 resolution: "react@npm:18.3.1" dependencies: