diff --git a/packages/components-react/package.json b/packages/components-react/package.json index 8ee31ae0..e8ed28af 100644 --- a/packages/components-react/package.json +++ b/packages/components-react/package.json @@ -59,7 +59,7 @@ "npm-run-all": "4.1.5", "postcss": "8.4.47", "react": "18.3.1", - "react-dom": "18.3.1", + "react-dom": "19.0.0", "rimraf": "6.0.1", "rollup": "4.24.2", "rollup-plugin-filesize": "10.0.0", diff --git a/packages/storybook/package.json b/packages/storybook/package.json index 1bf24dd5..d3e6168f 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -37,11 +37,11 @@ "@tilburg/web-components-react": "workspace:*", "@tilburg/web-components-stencil": "workspace:*", "@types/react": "18.3.12", - "@types/react-dom": "18.3.1", + "@types/react-dom": "19.0.2", "@utrecht/component-library-react": "4.2.0", "@utrecht/components": "6.2.0", "react": "18.3.1", - "react-dom": "18.3.1", + "react-dom": "19.0.0", "rimraf": "6.0.1", "storybook": "8.3.6", "typescript": "5.5.4", diff --git a/packages/web-components-react/package.json b/packages/web-components-react/package.json index 92681a30..a921c3ba 100644 --- a/packages/web-components-react/package.json +++ b/packages/web-components-react/package.json @@ -32,9 +32,9 @@ "@tilburg/web-components-stencil": "workspace:*", "@types/node": "20.12.14", "@types/react": "18.3.3", - "@types/react-dom": "18.3.0", + "@types/react-dom": "19.0.2", "react": "18.3.1", - "react-dom": "18.3.1", + "react-dom": "19.0.0", "rimraf": "6.0.1", "typescript": "5.4.5" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a2d2aa19..5952f7ef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -131,7 +131,7 @@ importers: version: 6.4.5(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.8.1)) '@testing-library/react': specifier: 16.0.1 - version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 16.0.1(@testing-library/dom@10.4.0)(@types/react@18.3.3)(react-dom@19.0.0(react@18.3.1))(react@18.3.1) '@testing-library/user-event': specifier: 14.5.2 version: 14.5.2(@testing-library/dom@10.4.0) @@ -158,7 +158,7 @@ importers: version: 29.7.0 next: specifier: 14.2.8 - version: 14.2.8(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.8) + version: 14.2.8(@babel/core@7.26.0)(react-dom@19.0.0(react@18.3.1))(react@18.3.1)(sass@1.77.8) npm-run-all: specifier: 4.1.5 version: 4.1.5 @@ -169,8 +169,8 @@ importers: specifier: 18.3.1 version: 18.3.1 react-dom: - specifier: 18.3.1 - version: 18.3.1(react@18.3.1) + specifier: 19.0.0 + version: 19.0.0(react@18.3.1) rimraf: specifier: 6.0.1 version: 6.0.1 @@ -221,7 +221,7 @@ importers: version: 0.11.1(@amsterdam/design-system-assets@0.2.1)(@amsterdam/design-system-tokens@0.11.0) '@amsterdam/design-system-react': specifier: 0.11.1 - version: 0.11.1(@amsterdam/design-system-css@0.11.1(@amsterdam/design-system-assets@0.2.1)(@amsterdam/design-system-tokens@0.11.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 0.11.1(@amsterdam/design-system-css@0.11.1(@amsterdam/design-system-assets@0.2.1)(@amsterdam/design-system-tokens@0.11.0))(react-dom@19.0.0(react@18.3.1))(react@18.3.1) '@amsterdam/design-system-tokens': specifier: 0.11.0 version: 0.11.0 @@ -252,10 +252,10 @@ importers: version: 8.3.6(storybook@8.3.6) '@storybook/react': specifier: 8.3.6 - version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) + version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@19.0.0(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) '@storybook/react-vite': specifier: 8.3.6 - version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.24.2)(storybook@8.3.6)(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.1)(sass@1.77.8)(terser@5.31.0)) + version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@19.0.0(react@18.3.1))(react@18.3.1)(rollup@4.24.2)(storybook@8.3.6)(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.1)(sass@1.77.8)(terser@5.31.0)) '@storybook/theming': specifier: 8.3.6 version: 8.3.6(storybook@8.3.6) @@ -281,11 +281,11 @@ importers: specifier: 18.3.12 version: 18.3.12 '@types/react-dom': - specifier: 18.3.1 - version: 18.3.1 + specifier: 19.0.2 + version: 19.0.2(@types/react@18.3.12) '@utrecht/component-library-react': specifier: 4.2.0 - version: 4.2.0(@babel/runtime@7.26.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 4.2.0(@babel/runtime@7.26.0)(react-dom@19.0.0(react@18.3.1))(react@18.3.1) '@utrecht/components': specifier: 6.2.0 version: 6.2.0 @@ -293,8 +293,8 @@ importers: specifier: 18.3.1 version: 18.3.1 react-dom: - specifier: 18.3.1 - version: 18.3.1(react@18.3.1) + specifier: 19.0.0 + version: 19.0.0(react@18.3.1) rimraf: specifier: 6.0.1 version: 6.0.1 @@ -320,14 +320,14 @@ importers: specifier: 18.3.3 version: 18.3.3 '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 + specifier: 19.0.2 + version: 19.0.2(@types/react@18.3.3) react: specifier: 18.3.1 version: 18.3.1 react-dom: - specifier: 18.3.1 - version: 18.3.1(react@18.3.1) + specifier: 19.0.0 + version: 19.0.0(react@18.3.1) rimraf: specifier: 6.0.1 version: 6.0.1 @@ -2575,11 +2575,10 @@ packages: '@types/range-parser@1.2.7': resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} - '@types/react-dom@18.3.0': - resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} - - '@types/react-dom@18.3.1': - resolution: {integrity: sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==} + '@types/react-dom@19.0.2': + resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==} + peerDependencies: + '@types/react': ^19.0.0 '@types/react@18.3.12': resolution: {integrity: sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==} @@ -6599,6 +6598,11 @@ packages: peerDependencies: react: ^18.3.1 + react-dom@19.0.0: + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} + peerDependencies: + react: ^19.0.0 + react-element-to-jsx-string@15.0.0: resolution: {integrity: sha512-UDg4lXB6BzlobN60P8fHWVPX3Kyw8ORrTeBtClmIlGdkOOE+GYQSFvmEU5iLLpwp/6v42DINwNcwOhOLfQ//FQ==} peerDependencies: @@ -6902,6 +6906,9 @@ packages: scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} + secure-compare@3.0.1: resolution: {integrity: sha512-AckIIV90rPDcBcglUwXPF3kg0P0qmPsPXAj6BBEENQE1p5yA1xfmDJzfi1Tappj37Pv2mVbKpL3Z1T+Nn7k1Qw==} @@ -8047,19 +8054,19 @@ snapshots: '@amsterdam/design-system-assets': 0.2.1 '@amsterdam/design-system-tokens': 0.11.0 - '@amsterdam/design-system-react-icons@0.1.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@amsterdam/design-system-react-icons@0.1.12(react-dom@19.0.0(react@18.3.1))(react@18.3.1)': dependencies: react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@18.3.1) - '@amsterdam/design-system-react@0.11.1(@amsterdam/design-system-css@0.11.1(@amsterdam/design-system-assets@0.2.1)(@amsterdam/design-system-tokens@0.11.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@amsterdam/design-system-react@0.11.1(@amsterdam/design-system-css@0.11.1(@amsterdam/design-system-assets@0.2.1)(@amsterdam/design-system-tokens@0.11.0))(react-dom@19.0.0(react@18.3.1))(react@18.3.1)': dependencies: '@amsterdam/design-system-css': 0.11.1(@amsterdam/design-system-assets@0.2.1)(@amsterdam/design-system-tokens@0.11.0) - '@amsterdam/design-system-react-icons': 0.1.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@amsterdam/design-system-react-icons': 0.1.12(react-dom@19.0.0(react@18.3.1))(react@18.3.1) '@babel/runtime': 7.24.8 clsx: 2.1.1 react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@18.3.1) '@amsterdam/design-system-tokens@0.11.0': {} @@ -10393,17 +10400,23 @@ snapshots: react-dom: 18.3.1(react@18.3.1) storybook: 8.3.6 - '@storybook/react-vite@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.24.2)(storybook@8.3.6)(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.1)(sass@1.77.8)(terser@5.31.0))': + '@storybook/react-dom-shim@8.3.6(react-dom@19.0.0(react@18.3.1))(react@18.3.1)(storybook@8.3.6)': + dependencies: + react: 18.3.1 + react-dom: 19.0.0(react@18.3.1) + storybook: 8.3.6 + + '@storybook/react-vite@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@19.0.0(react@18.3.1))(react@18.3.1)(rollup@4.24.2)(storybook@8.3.6)(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.1)(sass@1.77.8)(terser@5.31.0))': dependencies: '@joshwooding/vite-plugin-react-docgen-typescript': 0.3.0(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.1)(sass@1.77.8)(terser@5.31.0)) '@rollup/pluginutils': 5.1.0(rollup@4.24.2) '@storybook/builder-vite': 8.3.6(storybook@8.3.6)(typescript@5.5.4)(vite@5.4.10(@types/node@22.8.1)(sass@1.77.8)(terser@5.31.0)) - '@storybook/react': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) + '@storybook/react': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@19.0.0(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) find-up: 5.0.0 magic-string: 0.30.10 react: 18.3.1 react-docgen: 7.0.3 - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@18.3.1) resolve: 1.22.8 storybook: 8.3.6 tsconfig-paths: 4.2.0 @@ -10416,13 +10429,13 @@ snapshots: - typescript - vite-plugin-glimmerx - '@storybook/react@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': + '@storybook/react@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@19.0.0(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': dependencies: '@storybook/components': 8.3.6(storybook@8.3.6) '@storybook/global': 5.0.0 '@storybook/manager-api': 8.3.6(storybook@8.3.6) '@storybook/preview-api': 8.3.6(storybook@8.3.6) - '@storybook/react-dom-shim': 8.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6) + '@storybook/react-dom-shim': 8.3.6(react-dom@19.0.0(react@18.3.1))(react@18.3.1)(storybook@8.3.6) '@storybook/theming': 8.3.6(storybook@8.3.6) '@types/escodegen': 0.0.6 '@types/estree': 0.0.51 @@ -10434,8 +10447,8 @@ snapshots: html-tags: 3.3.1 prop-types: 15.8.1 react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-element-to-jsx-string: 15.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react-dom: 19.0.0(react@18.3.1) + react-element-to-jsx-string: 15.0.0(react-dom@19.0.0(react@18.3.1))(react@18.3.1) semver: 7.6.3 storybook: 8.3.6 ts-dedent: 2.2.0 @@ -10505,15 +10518,14 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react@18.3.3)(react-dom@19.0.0(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.26.0 '@testing-library/dom': 10.4.0 react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@18.3.1) optionalDependencies: '@types/react': 18.3.3 - '@types/react-dom': 18.3.1 '@testing-library/user-event@14.5.2(@testing-library/dom@10.4.0)': dependencies: @@ -10708,13 +10720,13 @@ snapshots: '@types/range-parser@1.2.7': {} - '@types/react-dom@18.3.0': + '@types/react-dom@19.0.2(@types/react@18.3.12)': dependencies: '@types/react': 18.3.12 - '@types/react-dom@18.3.1': + '@types/react-dom@19.0.2(@types/react@18.3.3)': dependencies: - '@types/react': 18.3.12 + '@types/react': 18.3.3 '@types/react@18.3.12': dependencies: @@ -10846,13 +10858,13 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@utrecht/component-library-react@4.2.0(@babel/runtime@7.26.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@utrecht/component-library-react@4.2.0(@babel/runtime@7.26.0)(react-dom@19.0.0(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.26.0 clsx: 2.1.1 lodash.chunk: 4.2.0 react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@18.3.1) '@utrecht/components@6.2.0': dependencies: @@ -14639,7 +14651,7 @@ snapshots: dependencies: type-fest: 2.19.0 - next@14.2.8(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.8): + next@14.2.8(@babel/core@7.26.0)(react-dom@19.0.0(react@18.3.1))(react@18.3.1)(sass@1.77.8): dependencies: '@next/env': 14.2.8 '@swc/helpers': 0.5.5 @@ -14648,7 +14660,7 @@ snapshots: graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@18.3.1) styled-jsx: 5.1.1(@babel/core@7.26.0)(react@18.3.1) optionalDependencies: '@next/swc-darwin-arm64': 14.2.8 @@ -15640,12 +15652,17 @@ snapshots: react: 18.3.1 scheduler: 0.23.2 - react-element-to-jsx-string@15.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-dom@19.0.0(react@18.3.1): + dependencies: + react: 18.3.1 + scheduler: 0.25.0 + + react-element-to-jsx-string@15.0.0(react-dom@19.0.0(react@18.3.1))(react@18.3.1): dependencies: '@base2/pretty-print-object': 1.0.1 is-plain-object: 5.0.0 react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@18.3.1) react-is: 18.1.0 react-is@16.13.1: {} @@ -16048,6 +16065,8 @@ snapshots: dependencies: loose-envify: 1.4.0 + scheduler@0.25.0: {} + secure-compare@3.0.1: {} semver@5.7.2: {}