Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8db82d2

Browse files
authored
chore: upgrade to react 19 (#19829)
1 parent422bba4 commit8db82d2

File tree

44 files changed

+775
-754
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+775
-754
lines changed

‎site/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@
9494
"lucide-react":"0.474.0",
9595
"monaco-editor":"0.52.2",
9696
"pretty-bytes":"6.1.1",
97-
"react":"18.3.1",
97+
"react":"19.1.1",
9898
"react-color":"2.19.3",
9999
"react-confetti":"6.2.2",
100100
"react-date-range":"1.4.0",
101-
"react-dom":"18.3.1",
101+
"react-dom":"19.1.1",
102102
"react-helmet-async":"2.0.5",
103103
"react-markdown":"9.0.3",
104104
"react-query":"npm:@tanstack/react-query@5.77.0",
@@ -146,10 +146,10 @@
146146
"@types/jest":"29.5.14",
147147
"@types/lodash":"4.17.15",
148148
"@types/node":"20.17.16",
149-
"@types/react":"18.3.12",
149+
"@types/react":"19.1.13",
150150
"@types/react-color":"3.0.13",
151151
"@types/react-date-range":"1.4.4",
152-
"@types/react-dom":"18.3.1",
152+
"@types/react-dom":"19.1.9",
153153
"@types/react-syntax-highlighter":"15.5.13",
154154
"@types/react-virtualized-auto-sizer":"1.0.4",
155155
"@types/react-window":"1.8.8",

‎site/pnpm-lock.yaml‎

Lines changed: 705 additions & 707 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎site/src/components/Conditionals/ChooseOne.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import{
22
Children,
33
typeFC,
4+
typeJSX,
45
typePropsWithChildren,
56
typeReactNode,
67
}from"react";

‎site/src/components/Dialogs/DeleteDialog/DeleteDialog.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import{renderComponent}from"testHelpers/renderHelpers";
22
import{screen}from"@testing-library/react";
33
importuserEventfrom"@testing-library/user-event";
4-
import{act}from"react-dom/test-utils";
4+
import{act}from"react";
55
import{DeleteDialog}from"./DeleteDialog";
66

77
constinputTestId="delete-dialog-name-confirmation";

‎site/src/components/Icons/DockerIcon.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
importSvgIcon,{typeSvgIconProps}from"@mui/material/SvgIcon";
22

3+
importtype{JSX}from"react";
4+
35
exportconstDockerIcon=(props:SvgIconProps):JSX.Element=>(
46
<SvgIcon{...props}viewBox="0 0 32 32">
57
<path

‎site/src/components/Icons/EditSquare.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
importSvgIcon,{typeSvgIconProps}from"@mui/material/SvgIcon";
22

3+
importtype{JSX}from"react";
4+
35
exportconstEditSquare=(props:SvgIconProps):JSX.Element=>(
46
<SvgIcon{...props}viewBox="0 0 48 48">
57
<pathd="M9 47.4q-1.2 0-2.1-.9-.9-.9-.9-2.1v-30q0-1.2.9-2.1.9-.9 2.1-.9h20.25l-3 3H9v30h30V27l3-3v20.4q0 1.2-.9 2.1-.9.9-2.1.9Zm15-18Zm9.1-17.6 2.15 2.1L21 28.1v4.3h4.25l14.3-14.3 2.1 2.1L26.5 35.4H18v-8.5Zm8.55 8.4-8.55-8.4 5-5q.85-.85 2.125-.85t2.125.9l4.2 4.25q.85.9.85 2.125t-.9 2.075Z"/>

‎site/src/components/Icons/ErrorIcon.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
importSvgIcon,{typeSvgIconProps}from"@mui/material/SvgIcon";
22

3+
importtype{JSX}from"react";
4+
35
exportconstErrorIcon=(props:SvgIconProps):JSX.Element=>(
46
<SvgIcon{...props}viewBox="0 0 24 24">
57
<path

‎site/src/components/Icons/GitIcon.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
importSvgIcon,{typeSvgIconProps}from"@mui/material/SvgIcon";
22

3+
importtype{JSX}from"react";
4+
35
exportconstGitIcon=(props:SvgIconProps):JSX.Element=>(
46
<SvgIcon{...props}viewBox="0 0 96 96">
57
<pathd="M92.71 44.408 52.591 4.291c-2.31-2.311-6.057-2.311-8.369 0l-8.33 8.332L46.459 23.19c2.456-.83 5.272-.273 7.229 1.685 1.969 1.97 2.521 4.81 1.67 7.275l10.186 10.185c2.465-.85 5.307-.3 7.275 1.671 2.75 2.75 2.75 7.206 0 9.958-2.752 2.751-7.208 2.751-9.961 0-2.068-2.07-2.58-5.11-1.531-7.658l-9.5-9.499v24.997c.67.332 1.303.774 1.861 1.332 2.75 2.75 2.75 7.206 0 9.959-2.75 2.749-7.209 2.749-9.957 0-2.75-2.754-2.75-7.21 0-9.959.68-.679 1.467-1.193 2.307-1.537v-25.23c-.84-.344-1.625-.853-2.307-1.537-2.083-2.082-2.584-5.14-1.516-7.698L31.798 16.715 4.288 44.222c-2.311 2.313-2.311 6.06 0 8.371l40.121 40.118c2.31 2.311 6.056 2.311 8.369 0L92.71 52.779c2.311-2.311 2.311-6.06 0-8.371z"/>

‎site/src/components/Icons/JetBrainsIcon.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
importSvgIcon,{typeSvgIconProps}from"@mui/material/SvgIcon";
22

3+
importtype{JSX}from"react";
4+
35
exportconstJetBrainsIcon=(props:SvgIconProps):JSX.Element=>(
46
<SvgIcon{...props}viewBox="0 0 100 100">
57
<svgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 180 180"width="180">

‎site/src/components/Icons/RocketIcon.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
importSvgIcon,{typeSvgIconProps}from"@mui/material/SvgIcon";
22

3+
importtype{JSX}from"react";
4+
35
exportconstRocketIcon=(props:SvgIconProps):JSX.Element=>(
46
<SvgIcon{...props}viewBox="0 0 24 24">
57
<pathd="M12 2.5s4.5 2.04 4.5 10.5c0 2.49-1.04 5.57-1.6 7H9.1c-.56-1.43-1.6-4.51-1.6-7C7.5 4.54 12 2.5 12 2.5zm2 8.5c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-6.31 9.52c-.48-1.23-1.52-4.17-1.67-6.87l-1.13.75c-.56.38-.89 1-.89 1.67V22l3.69-1.48zM20 22v-5.93c0-.67-.33-1.29-.89-1.66l-1.13-.75c-.15 2.69-1.2 5.64-1.67 6.87L20 22z"/>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp