diff --git a/package.json b/package.json
index a7785a697..f4182b0ac 100644
--- a/package.json
+++ b/package.json
@@ -115,9 +115,9 @@
"@storybook/react-webpack5": "8.4.7",
"@storybook/theming": "8.4.7",
"@swc/core": "1.10.4",
- "@testing-library/dom": "9.3.4",
+ "@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
- "@testing-library/react": "14.3.1",
+ "@testing-library/react": "16.2.0",
"@types/express": "4.17.21",
"@types/fs-extra": "11.0.4",
"@types/jest": "29.5.14",
@@ -174,8 +174,8 @@
"postcss-styled-syntax": "0.7.0",
"prettier": "3.4.2",
"raf-stub": "3.0.0",
- "react": "18.3.1",
- "react-dom": "18.3.1",
+ "react": "19.0.0",
+ "react-dom": "19.0.0",
"react-window": "1.8.11",
"release-it": "17.11.0",
"require-from-string": "2.0.2",
@@ -194,8 +194,8 @@
"webpack": "5.97.1"
},
"peerDependencies": {
- "react": "^18.0.0",
- "react-dom": "^18.0.0"
+ "react": "^18.0.0 || ^19.0.0",
+ "react-dom": "^18.0.0 || ^19.0.0"
},
"license": "Apache-2.0",
"jest-junit": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2ff76825d..ec9a133ca 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -19,17 +19,17 @@ importers:
version: 4.0.3
react-redux:
specifier: ^9.2.0
- version: 9.2.0(@types/react@18.3.18)(react@18.3.1)(redux@5.0.1)
+ version: 9.2.0(@types/react@18.3.18)(react@19.0.0)(redux@5.0.1)
redux:
specifier: ^5.0.1
version: 5.0.1
devDependencies:
'@atlaskit/css-reset':
specifier: 6.11.2
- version: 6.11.2(@types/react@18.3.18)(react@18.3.1)
+ version: 6.11.2(@types/react@18.3.18)(react@19.0.0)
'@atlaskit/theme':
specifier: 13.1.0
- version: 13.1.0(@types/react@18.3.18)(react@18.3.1)
+ version: 13.1.0(@types/react@18.3.18)(react@19.0.0)
'@babel/core':
specifier: 7.26.0
version: 7.26.0
@@ -77,10 +77,10 @@ importers:
version: 11.12.0(eslint@8.57.1)(typescript@5.7.2)
'@emotion/react':
specifier: 11.14.0
- version: 11.14.0(@types/react@18.3.18)(react@18.3.1)
+ version: 11.14.0(@types/react@18.3.18)(react@19.0.0)
'@emotion/styled':
specifier: 11.14.0
- version: 11.14.0(@emotion/react@11.14.0(@types/react@18.3.18)(react@18.3.1))(@types/react@18.3.18)(react@18.3.1)
+ version: 11.14.0(@emotion/react@11.14.0(@types/react@18.3.18)(react@19.0.0))(@types/react@18.3.18)(react@19.0.0)
'@jest/environment':
specifier: 29.7.0
version: 29.7.0
@@ -125,10 +125,10 @@ importers:
version: 8.4.7(storybook@8.4.7(prettier@3.4.2))
'@storybook/react':
specifier: 8.4.7
- version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
+ version: 8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
'@storybook/react-webpack5':
specifier: 8.4.7
- version: 8.4.7(@swc/core@1.10.4)(esbuild@0.18.20)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
+ version: 8.4.7(@swc/core@1.10.4)(esbuild@0.18.20)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
'@storybook/theming':
specifier: 8.4.7
version: 8.4.7(storybook@8.4.7(prettier@3.4.2))
@@ -136,14 +136,14 @@ importers:
specifier: 1.10.4
version: 1.10.4
'@testing-library/dom':
- specifier: 9.3.4
- version: 9.3.4
+ specifier: 10.4.0
+ version: 10.4.0
'@testing-library/jest-dom':
specifier: 6.6.3
version: 6.6.3
'@testing-library/react':
- specifier: 14.3.1
- version: 14.3.1(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ specifier: 16.2.0
+ version: 16.2.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.5(@types/react@18.3.18))(@types/react@18.3.18)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
'@types/express':
specifier: 4.17.21
version: 4.17.21
@@ -313,14 +313,14 @@ importers:
specifier: 3.0.0
version: 3.0.0
react:
- specifier: 18.3.1
- version: 18.3.1
+ specifier: 19.0.0
+ version: 19.0.0
react-dom:
- specifier: 18.3.1
- version: 18.3.1(react@18.3.1)
+ specifier: 19.0.0
+ version: 19.0.0(react@19.0.0)
react-window:
specifier: 1.8.11
- version: 1.8.11(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ version: 1.8.11(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
release-it:
specifier: 17.11.0
version: 17.11.0(typescript@5.7.2)
@@ -344,7 +344,7 @@ importers:
version: 8.4.7(prettier@3.4.2)
styled-components:
specifier: 6.1.13
- version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
stylelint:
specifier: 16.12.0
version: 16.12.0(typescript@5.7.2)
@@ -411,10 +411,6 @@ packages:
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
- '@babel/code-frame@7.23.5':
- resolution: {integrity: sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==}
- engines: {node: '>=6.9.0'}
-
'@babel/code-frame@7.24.7':
resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==}
engines: {node: '>=6.9.0'}
@@ -567,10 +563,6 @@ packages:
resolution: {integrity: sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==}
engines: {node: '>=6.9.0'}
- '@babel/highlight@7.23.4':
- resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==}
- engines: {node: '>=6.9.0'}
-
'@babel/highlight@7.24.7':
resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==}
engines: {node: '>=6.9.0'}
@@ -2217,20 +2209,28 @@ packages:
'@swc/types@0.1.17':
resolution: {integrity: sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==}
- '@testing-library/dom@9.3.4':
- resolution: {integrity: sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==}
- engines: {node: '>=14'}
+ '@testing-library/dom@10.4.0':
+ resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==}
+ engines: {node: '>=18'}
'@testing-library/jest-dom@6.6.3':
resolution: {integrity: sha512-IteBhl4XqYNkM54f4ejhLRJiZNqcSCoXUOG2CPK7qbD322KjQozM4kHQOfkG2oln9b9HTYqs+Sae8vBATubxxA==}
engines: {node: '>=14', npm: '>=6', yarn: '>=1'}
- '@testing-library/react@14.3.1':
- resolution: {integrity: sha512-H99XjUhWQw0lTgyMN05W3xQG1Nh4lq574D8keFf1dDoNTJgp66VbJozRaczoF+wsiaPJNt/TcnfpLGufGxSrZQ==}
- engines: {node: '>=14'}
+ '@testing-library/react@16.2.0':
+ resolution: {integrity: sha512-2cSskAvA1QNtKc8Y9VJQRv0tm3hLVgxRGDB+KYhIaPQJ1I+RHbhIXcM+zClKXzMes/wshsMVzf4B9vS4IZpqDQ==}
+ engines: {node: '>=18'}
peerDependencies:
- react: ^18.0.0
- react-dom: ^18.0.0
+ '@testing-library/dom': ^10.0.0
+ '@types/react': ^18.0.0 || ^19.0.0
+ '@types/react-dom': ^18.0.0 || ^19.0.0
+ react: ^18.0.0 || ^19.0.0
+ react-dom: ^18.0.0 || ^19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
'@tootallnate/once@2.0.0':
resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==}
@@ -2740,9 +2740,6 @@ packages:
argparse@2.0.1:
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
- aria-query@5.1.3:
- resolution: {integrity: sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==}
-
aria-query@5.3.0:
resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==}
@@ -3614,10 +3611,6 @@ packages:
babel-plugin-macros:
optional: true
- deep-equal@2.2.3:
- resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==}
- engines: {node: '>= 0.4'}
-
deep-extend@0.6.0:
resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==}
engines: {node: '>=4.0.0'}
@@ -3848,9 +3841,6 @@ packages:
resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
engines: {node: '>= 0.4'}
- es-get-iterator@1.1.3:
- resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==}
-
es-iterator-helpers@1.2.1:
resolution: {integrity: sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w==}
engines: {node: '>= 0.4'}
@@ -5867,10 +5857,6 @@ packages:
resolution: {integrity: sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==}
engines: {node: '>= 0.4'}
- object-is@1.1.6:
- resolution: {integrity: sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==}
- engines: {node: '>= 0.4'}
-
object-keys@1.1.1:
resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
engines: {node: '>= 0.4'}
@@ -6353,6 +6339,11 @@ packages:
peerDependencies:
react: ^18.3.1
+ react-dom@19.0.0:
+ resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==}
+ peerDependencies:
+ react: ^19.0.0
+
react-is@16.13.1:
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
@@ -6395,6 +6386,10 @@ packages:
resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
engines: {node: '>=0.10.0'}
+ react@19.0.0:
+ resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==}
+ engines: {node: '>=0.10.0'}
+
read-pkg-up@10.1.0:
resolution: {integrity: sha512-aNtBq4jR8NawpKJQldrQcSW9y/d+KWH4v24HWkHljOZ7H0av+YTGANBzRh9A5pw7v/bLVsLVPpOhJ7gHNVy8lA==}
engines: {node: '>=16'}
@@ -6647,6 +6642,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==}
+
schema-utils@3.3.0:
resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==}
engines: {node: '>= 10.13.0'}
@@ -6838,10 +6836,6 @@ packages:
resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==}
engines: {node: '>=18'}
- stop-iteration-iterator@1.0.0:
- resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==}
- engines: {node: '>= 0.4'}
-
storybook@8.4.7:
resolution: {integrity: sha512-RP/nMJxiWyFc8EVMH5gp20ID032Wvk+Yr3lmKidoegto5Iy+2dVQnUoElZb2zpbVXNHWakGuAkfI0dY1Hfp/vw==}
hasBin: true
@@ -7506,10 +7500,6 @@ packages:
resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}
engines: {node: '>= 0.4'}
- which-typed-array@1.1.14:
- resolution: {integrity: sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==}
- engines: {node: '>= 0.4'}
-
which-typed-array@1.1.15:
resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==}
engines: {node: '>= 0.4'}
@@ -7677,23 +7667,23 @@ snapshots:
dependencies:
'@babel/runtime': 7.25.6
- '@atlaskit/css-reset@6.11.2(@types/react@18.3.18)(react@18.3.1)':
+ '@atlaskit/css-reset@6.11.2(@types/react@18.3.18)(react@19.0.0)':
dependencies:
- '@atlaskit/theme': 14.0.3(@types/react@18.3.18)(react@18.3.1)
- '@atlaskit/tokens': 2.5.0(@types/react@18.3.18)(react@18.3.1)
+ '@atlaskit/theme': 14.0.3(@types/react@18.3.18)(react@19.0.0)
+ '@atlaskit/tokens': 2.5.0(@types/react@18.3.18)(react@19.0.0)
'@babel/runtime': 7.25.6
- react: 18.3.1
+ react: 19.0.0
transitivePeerDependencies:
- '@types/react'
- supports-color
- '@atlaskit/ds-lib@3.3.0(@types/react@18.3.18)(react@18.3.1)':
+ '@atlaskit/ds-lib@3.3.0(@types/react@18.3.18)(react@19.0.0)':
dependencies:
'@atlaskit/platform-feature-flags': 0.3.0
'@babel/runtime': 7.25.6
bind-event-listener: 3.0.0
- react: 18.3.1
- react-uid: 2.3.3(@types/react@18.3.18)(react@18.3.1)
+ react: 19.0.0
+ react-uid: 2.3.3(@types/react@18.3.18)(react@19.0.0)
transitivePeerDependencies:
- '@types/react'
@@ -7701,50 +7691,46 @@ snapshots:
dependencies:
'@babel/runtime': 7.25.6
- '@atlaskit/theme@13.1.0(@types/react@18.3.18)(react@18.3.1)':
+ '@atlaskit/theme@13.1.0(@types/react@18.3.18)(react@19.0.0)':
dependencies:
'@atlaskit/codemod-utils': 4.2.3
- '@atlaskit/ds-lib': 3.3.0(@types/react@18.3.18)(react@18.3.1)
- '@atlaskit/tokens': 2.5.0(@types/react@18.3.18)(react@18.3.1)
+ '@atlaskit/ds-lib': 3.3.0(@types/react@18.3.18)(react@19.0.0)
+ '@atlaskit/tokens': 2.5.0(@types/react@18.3.18)(react@19.0.0)
'@babel/runtime': 7.25.6
- react: 18.3.1
+ react: 19.0.0
transitivePeerDependencies:
- '@types/react'
- supports-color
- '@atlaskit/theme@14.0.3(@types/react@18.3.18)(react@18.3.1)':
+ '@atlaskit/theme@14.0.3(@types/react@18.3.18)(react@19.0.0)':
dependencies:
'@atlaskit/codemod-utils': 4.2.3
- '@atlaskit/ds-lib': 3.3.0(@types/react@18.3.18)(react@18.3.1)
- '@atlaskit/tokens': 2.5.0(@types/react@18.3.18)(react@18.3.1)
+ '@atlaskit/ds-lib': 3.3.0(@types/react@18.3.18)(react@19.0.0)
+ '@atlaskit/tokens': 2.5.0(@types/react@18.3.18)(react@19.0.0)
'@babel/runtime': 7.25.6
- react: 18.3.1
+ react: 19.0.0
transitivePeerDependencies:
- '@types/react'
- supports-color
- '@atlaskit/tokens@2.5.0(@types/react@18.3.18)(react@18.3.1)':
+ '@atlaskit/tokens@2.5.0(@types/react@18.3.18)(react@19.0.0)':
dependencies:
- '@atlaskit/ds-lib': 3.3.0(@types/react@18.3.18)(react@18.3.1)
+ '@atlaskit/ds-lib': 3.3.0(@types/react@18.3.18)(react@19.0.0)
'@atlaskit/platform-feature-flags': 0.3.0
'@babel/runtime': 7.25.6
'@babel/traverse': 7.25.6
'@babel/types': 7.25.6
bind-event-listener: 3.0.0
- react: 18.3.1
+ react: 19.0.0
transitivePeerDependencies:
- '@types/react'
- supports-color
- '@babel/code-frame@7.23.5':
- dependencies:
- '@babel/highlight': 7.23.4
- chalk: 2.4.2
-
'@babel/code-frame@7.24.7':
dependencies:
'@babel/highlight': 7.24.7
picocolors: 1.1.0
+ optional: true
'@babel/code-frame@7.26.2':
dependencies:
@@ -7949,18 +7935,13 @@ snapshots:
'@babel/template': 7.25.9
'@babel/types': 7.26.3
- '@babel/highlight@7.23.4':
- dependencies:
- '@babel/helper-validator-identifier': 7.24.7
- chalk: 2.4.2
- js-tokens: 4.0.0
-
'@babel/highlight@7.24.7':
dependencies:
'@babel/helper-validator-identifier': 7.24.7
chalk: 2.4.2
js-tokens: 4.0.0
picocolors: 1.1.0
+ optional: true
'@babel/parser@7.25.6':
dependencies:
@@ -8594,7 +8575,7 @@ snapshots:
'@babel/template@7.25.0':
dependencies:
- '@babel/code-frame': 7.24.7
+ '@babel/code-frame': 7.26.2
'@babel/parser': 7.25.6
'@babel/types': 7.25.6
@@ -8606,7 +8587,7 @@ snapshots:
'@babel/traverse@7.25.6':
dependencies:
- '@babel/code-frame': 7.24.7
+ '@babel/code-frame': 7.26.2
'@babel/generator': 7.25.6
'@babel/parser': 7.25.6
'@babel/template': 7.25.0
@@ -8715,7 +8696,7 @@ snapshots:
'@commitlint/execute-rule': 19.5.0
'@commitlint/resolve-extends': 19.5.0
'@commitlint/types': 19.5.0
- chalk: 5.3.0
+ chalk: 5.4.1
cosmiconfig: 9.0.0(typescript@5.7.2)
cosmiconfig-typescript-loader: 5.0.0(@types/node@22.10.5)(cosmiconfig@9.0.0(typescript@5.7.2))(typescript@5.7.2)
lodash.isplainobject: 4.0.6
@@ -8885,17 +8866,17 @@ snapshots:
'@emotion/memoize@0.9.0': {}
- '@emotion/react@11.14.0(@types/react@18.3.18)(react@18.3.1)':
+ '@emotion/react@11.14.0(@types/react@18.3.18)(react@19.0.0)':
dependencies:
'@babel/runtime': 7.25.6
'@emotion/babel-plugin': 11.13.5
'@emotion/cache': 11.14.0
'@emotion/serialize': 1.3.3
- '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@18.3.1)
+ '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@19.0.0)
'@emotion/utils': 1.4.2
'@emotion/weak-memoize': 0.4.0
hoist-non-react-statics: 3.3.2
- react: 18.3.1
+ react: 19.0.0
optionalDependencies:
'@types/react': 18.3.18
transitivePeerDependencies:
@@ -8911,16 +8892,16 @@ snapshots:
'@emotion/sheet@1.4.0': {}
- '@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@18.3.18)(react@18.3.1))(@types/react@18.3.18)(react@18.3.1)':
+ '@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@18.3.18)(react@19.0.0))(@types/react@18.3.18)(react@19.0.0)':
dependencies:
'@babel/runtime': 7.25.6
'@emotion/babel-plugin': 11.13.5
'@emotion/is-prop-valid': 1.3.0
- '@emotion/react': 11.14.0(@types/react@18.3.18)(react@18.3.1)
+ '@emotion/react': 11.14.0(@types/react@18.3.18)(react@19.0.0)
'@emotion/serialize': 1.3.3
- '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@18.3.1)
+ '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@19.0.0)
'@emotion/utils': 1.4.2
- react: 18.3.1
+ react: 19.0.0
optionalDependencies:
'@types/react': 18.3.18
transitivePeerDependencies:
@@ -8930,9 +8911,9 @@ snapshots:
'@emotion/unitless@0.8.1': {}
- '@emotion/use-insertion-effect-with-fallbacks@1.2.0(react@18.3.1)':
+ '@emotion/use-insertion-effect-with-fallbacks@1.2.0(react@19.0.0)':
dependencies:
- react: 18.3.1
+ react: 19.0.0
'@emotion/utils@1.4.2': {}
@@ -9790,18 +9771,18 @@ snapshots:
dependencies:
storybook: 8.4.7(prettier@3.4.2)
- '@storybook/preset-react-webpack@8.4.7(@swc/core@1.10.4)(esbuild@0.18.20)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)':
+ '@storybook/preset-react-webpack@8.4.7(@swc/core@1.10.4)(esbuild@0.18.20)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)':
dependencies:
'@storybook/core-webpack': 8.4.7(storybook@8.4.7(prettier@3.4.2))
- '@storybook/react': 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
+ '@storybook/react': 8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
'@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.7.2)(webpack@5.97.1(@swc/core@1.10.4)(esbuild@0.18.20))
'@types/node': 22.10.5
'@types/semver': 7.5.8
find-up: 5.0.0
magic-string: 0.30.11
- react: 18.3.1
+ react: 19.0.0
react-docgen: 7.0.3
- react-dom: 18.3.1(react@18.3.1)
+ react-dom: 19.0.0(react@19.0.0)
resolve: 1.22.8
semver: 7.6.3
storybook: 8.4.7(prettier@3.4.2)
@@ -9841,14 +9822,20 @@ snapshots:
react-dom: 18.3.1(react@18.3.1)
storybook: 8.4.7(prettier@3.4.2)
- '@storybook/react-webpack5@8.4.7(@swc/core@1.10.4)(esbuild@0.18.20)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)':
+ '@storybook/react-dom-shim@8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))':
+ dependencies:
+ react: 19.0.0
+ react-dom: 19.0.0(react@19.0.0)
+ storybook: 8.4.7(prettier@3.4.2)
+
+ '@storybook/react-webpack5@8.4.7(@swc/core@1.10.4)(esbuild@0.18.20)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)':
dependencies:
'@storybook/builder-webpack5': 8.4.7(@swc/core@1.10.4)(esbuild@0.18.20)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
- '@storybook/preset-react-webpack': 8.4.7(@swc/core@1.10.4)(esbuild@0.18.20)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
- '@storybook/react': 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
+ '@storybook/preset-react-webpack': 8.4.7(@swc/core@1.10.4)(esbuild@0.18.20)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
+ '@storybook/react': 8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)
'@types/node': 22.10.5
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
+ react: 19.0.0
+ react-dom: 19.0.0(react@19.0.0)
storybook: 8.4.7(prettier@3.4.2)
optionalDependencies:
typescript: 5.7.2
@@ -9861,16 +9848,16 @@ snapshots:
- uglify-js
- webpack-cli
- '@storybook/react@8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)':
+ '@storybook/react@8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@5.7.2)':
dependencies:
'@storybook/components': 8.4.7(storybook@8.4.7(prettier@3.4.2))
'@storybook/global': 5.0.0
'@storybook/manager-api': 8.4.7(storybook@8.4.7(prettier@3.4.2))
'@storybook/preview-api': 8.4.7(storybook@8.4.7(prettier@3.4.2))
- '@storybook/react-dom-shim': 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))
+ '@storybook/react-dom-shim': 8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))
'@storybook/theming': 8.4.7(storybook@8.4.7(prettier@3.4.2))
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
+ react: 19.0.0
+ react-dom: 19.0.0(react@19.0.0)
storybook: 8.4.7(prettier@3.4.2)
optionalDependencies:
typescript: 5.7.2
@@ -9939,12 +9926,12 @@ snapshots:
dependencies:
'@swc/counter': 0.1.3
- '@testing-library/dom@9.3.4':
+ '@testing-library/dom@10.4.0':
dependencies:
- '@babel/code-frame': 7.23.5
+ '@babel/code-frame': 7.26.2
'@babel/runtime': 7.25.6
'@types/aria-query': 5.0.4
- aria-query: 5.1.3
+ aria-query: 5.3.0
chalk: 4.1.2
dom-accessibility-api: 0.5.16
lz-string: 1.5.0
@@ -9960,15 +9947,15 @@ snapshots:
lodash: 4.17.21
redent: 3.0.0
- '@testing-library/react@14.3.1(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
+ '@testing-library/react@16.2.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.5(@types/react@18.3.18))(@types/react@18.3.18)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)':
dependencies:
'@babel/runtime': 7.25.6
- '@testing-library/dom': 9.3.4
+ '@testing-library/dom': 10.4.0
+ react: 19.0.0
+ react-dom: 19.0.0(react@19.0.0)
+ optionalDependencies:
+ '@types/react': 18.3.18
'@types/react-dom': 18.3.5(@types/react@18.3.18)
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
- transitivePeerDependencies:
- - '@types/react'
'@tootallnate/once@2.0.0': {}
@@ -10556,10 +10543,6 @@ snapshots:
argparse@2.0.1: {}
- aria-query@5.1.3:
- dependencies:
- deep-equal: 2.2.3
-
aria-query@5.3.0:
dependencies:
dequal: 2.0.3
@@ -11570,27 +11553,6 @@ snapshots:
optionalDependencies:
babel-plugin-macros: 3.1.0
- deep-equal@2.2.3:
- dependencies:
- array-buffer-byte-length: 1.0.1
- call-bind: 1.0.7
- es-get-iterator: 1.1.3
- get-intrinsic: 1.2.4
- is-arguments: 1.1.1
- is-array-buffer: 3.0.4
- is-date-object: 1.0.5
- is-regex: 1.1.4
- is-shared-array-buffer: 1.0.3
- isarray: 2.0.5
- object-is: 1.1.6
- object-keys: 1.1.1
- object.assign: 4.1.5
- regexp.prototype.flags: 1.5.2
- side-channel: 1.0.6
- which-boxed-primitive: 1.0.2
- which-collection: 1.0.2
- which-typed-array: 1.1.14
-
deep-extend@0.6.0: {}
deep-is@0.1.4: {}
@@ -11885,18 +11847,6 @@ snapshots:
es-errors@1.3.0: {}
- es-get-iterator@1.1.3:
- dependencies:
- call-bind: 1.0.7
- get-intrinsic: 1.2.4
- has-symbols: 1.0.3
- is-arguments: 1.1.1
- is-map: 2.0.3
- is-set: 2.0.3
- is-string: 1.0.7
- isarray: 2.0.5
- stop-iteration-iterator: 1.0.0
-
es-iterator-helpers@1.2.1:
dependencies:
call-bind: 1.0.8
@@ -12551,7 +12501,7 @@ snapshots:
fork-ts-checker-webpack-plugin@8.0.0(typescript@5.7.2)(webpack@5.97.1(@swc/core@1.10.4)(esbuild@0.18.20)):
dependencies:
- '@babel/code-frame': 7.24.7
+ '@babel/code-frame': 7.26.2
chalk: 4.1.2
chokidar: 3.6.0
cosmiconfig: 7.1.0
@@ -13607,7 +13557,7 @@ snapshots:
jest-message-util@29.7.0:
dependencies:
- '@babel/code-frame': 7.24.7
+ '@babel/code-frame': 7.26.2
'@jest/types': 29.6.3
'@types/stack-utils': 2.0.3
chalk: 4.1.2
@@ -14336,11 +14286,6 @@ snapshots:
object-inspect@1.13.3: {}
- object-is@1.1.6:
- dependencies:
- call-bind: 1.0.7
- define-properties: 1.2.1
-
object-keys@1.1.1: {}
object.assign@4.1.5:
@@ -14548,14 +14493,14 @@ snapshots:
parse-json@5.2.0:
dependencies:
- '@babel/code-frame': 7.24.7
+ '@babel/code-frame': 7.26.2
error-ex: 1.3.2
json-parse-even-better-errors: 2.3.1
lines-and-columns: 1.2.4
parse-json@7.1.1:
dependencies:
- '@babel/code-frame': 7.24.7
+ '@babel/code-frame': 7.26.2
error-ex: 1.3.2
json-parse-even-better-errors: 3.0.1
lines-and-columns: 2.0.4
@@ -14875,39 +14820,46 @@ snapshots:
react: 18.3.1
scheduler: 0.23.2
+ react-dom@19.0.0(react@19.0.0):
+ dependencies:
+ react: 19.0.0
+ scheduler: 0.25.0
+
react-is@16.13.1: {}
react-is@17.0.2: {}
react-is@18.2.0: {}
- react-redux@9.2.0(@types/react@18.3.18)(react@18.3.1)(redux@5.0.1):
+ react-redux@9.2.0(@types/react@18.3.18)(react@19.0.0)(redux@5.0.1):
dependencies:
'@types/use-sync-external-store': 0.0.6
- react: 18.3.1
- use-sync-external-store: 1.4.0(react@18.3.1)
+ react: 19.0.0
+ use-sync-external-store: 1.4.0(react@19.0.0)
optionalDependencies:
'@types/react': 18.3.18
redux: 5.0.1
- react-uid@2.3.3(@types/react@18.3.18)(react@18.3.1):
+ react-uid@2.3.3(@types/react@18.3.18)(react@19.0.0):
dependencies:
- react: 18.3.1
+ react: 19.0.0
tslib: 2.6.2
optionalDependencies:
'@types/react': 18.3.18
- react-window@1.8.11(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
+ react-window@1.8.11(react-dom@19.0.0(react@19.0.0))(react@19.0.0):
dependencies:
'@babel/runtime': 7.25.6
memoize-one: 5.2.1
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
+ react: 19.0.0
+ react-dom: 19.0.0(react@19.0.0)
react@18.3.1:
dependencies:
loose-envify: 1.4.0
+ react@19.0.0: {}
+
read-pkg-up@10.1.0:
dependencies:
find-up: 6.3.0
@@ -15239,6 +15191,8 @@ snapshots:
dependencies:
loose-envify: 1.4.0
+ scheduler@0.25.0: {}
+
schema-utils@3.3.0:
dependencies:
'@types/json-schema': 7.0.15
@@ -15467,10 +15421,6 @@ snapshots:
stdin-discarder@0.2.2: {}
- stop-iteration-iterator@1.0.0:
- dependencies:
- internal-slot: 1.0.7
-
storybook@8.4.7(prettier@3.4.2):
dependencies:
'@storybook/core': 8.4.7(prettier@3.4.2)
@@ -15621,7 +15571,7 @@ snapshots:
dependencies:
webpack: 5.97.1(@swc/core@1.10.4)(esbuild@0.18.20)
- styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
+ styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0):
dependencies:
'@emotion/is-prop-valid': 1.2.2
'@emotion/unitless': 0.8.1
@@ -15629,8 +15579,8 @@ snapshots:
css-to-react-native: 3.2.0
csstype: 3.1.3
postcss: 8.4.38
- react: 18.3.1
- react-dom: 18.3.1(react@18.3.1)
+ react: 19.0.0
+ react-dom: 19.0.0(react@19.0.0)
shallowequal: 1.1.0
stylis: 4.3.2
tslib: 2.6.2
@@ -16085,9 +16035,9 @@ snapshots:
punycode: 1.4.1
qs: 6.13.0
- use-sync-external-store@1.4.0(react@18.3.1):
+ use-sync-external-store@1.4.0(react@19.0.0):
dependencies:
- react: 18.3.1
+ react: 19.0.0
util-deprecate@1.0.2: {}
@@ -16274,14 +16224,6 @@ snapshots:
is-weakmap: 2.0.2
is-weakset: 2.0.3
- which-typed-array@1.1.14:
- dependencies:
- available-typed-arrays: 1.0.7
- call-bind: 1.0.7
- for-each: 0.3.3
- gopd: 1.0.1
- has-tostringtag: 1.0.2
-
which-typed-array@1.1.15:
dependencies:
available-typed-arrays: 1.0.7
diff --git a/test/setup/environment.ts b/test/setup/environment.ts
index 741b79b15..ab11a6322 100644
--- a/test/setup/environment.ts
+++ b/test/setup/environment.ts
@@ -4,6 +4,7 @@ import type {
} from '@jest/environment';
import JSDOMEnvironment from 'jest-environment-jsdom';
import { TextDecoder, TextEncoder } from 'util';
+import { MessageChannel } from 'worker_threads';
import attachRafStub from './attach-raf-stub';
import transitionEventPolyfill from './transition-event-polyfill';
@@ -19,5 +20,9 @@ export default class MyJSDOMEnvironment extends JSDOMEnvironment {
// error, because TextDecoder and TextEncoder are needed.
this.global.TextDecoder = TextDecoder as typeof this.global.TextDecoder;
this.global.TextEncoder = TextEncoder;
+
+ // FIXME: There's some types issues here
+ this.global.MessageChannel =
+ MessageChannel as unknown as (typeof this.global)['MessageChannel'];
}
}
diff --git a/test/setup/test-setup.ts b/test/setup/test-setup.ts
index f21c23f8f..86f801388 100644
--- a/test/setup/test-setup.ts
+++ b/test/setup/test-setup.ts
@@ -6,10 +6,13 @@ beforeEach(() => {
expect.hasAssertions();
});
-if (typeof document !== 'undefined') {
+export default async () => {
+ if (typeof document === 'undefined') {
+ return;
+ }
+
// Simply importing this package will throw an error if document is not defined
- // eslint-disable-next-line @typescript-eslint/no-var-requires, global-require
- const { cleanup, fireEvent } = require('@testing-library/react');
+ const { cleanup, fireEvent } = await import('@testing-library/react');
// unmount any components mounted with react-testing-library
beforeAll(cleanup);
@@ -19,6 +22,4 @@ if (typeof document !== 'undefined') {
// this cleans it up before every test
fireEvent.click(window);
});
-}
-
-export default {};
+};
diff --git a/test/unit/integration/server-side-rendering/client-hydration.spec.tsx b/test/unit/integration/server-side-rendering/client-hydration.spec.tsx
index 9e18d9471..1c0cb04f2 100644
--- a/test/unit/integration/server-side-rendering/client-hydration.spec.tsx
+++ b/test/unit/integration/server-side-rendering/client-hydration.spec.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import ReactDOMServer from 'react-dom/server';
+import { renderToString } from 'react-dom/server';
import { hydrateRoot } from 'react-dom/client';
import { invariant } from '../../../../src/invariant';
import App from '../util/app';
@@ -19,7 +19,7 @@ it('should support hydrating a server side rendered application', () => {
// on the server
const error = jest.spyOn(console, 'error').mockImplementation(noop);
- const serverHTML: string = ReactDOMServer.renderToString();
+ const serverHTML: string = renderToString();
error.mock.calls.forEach((call) => {
expect(