Skip to content

Commit

Permalink
Upgrades React (#4107)
Browse files Browse the repository at this point in the history
* Upgrades react packages

* Updates semantic-ui-react
  • Loading branch information
orenf committed Apr 19, 2024
1 parent 9b9f0e6 commit 0b7290c
Show file tree
Hide file tree
Showing 54 changed files with 1,826 additions and 1,548 deletions.
653 changes: 412 additions & 241 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions package.json
Expand Up @@ -32,12 +32,14 @@
"devDependencies": {
"@babel/eslint-parser": "^7.23.10",
"@nrwl/nx-cloud": "^15.3.5",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/estree": "^1.0.5",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.14",
"@types/node": "^20.11.20",
"@types/prettier": "^2.7.3",
"@types/react": "^17.0.75",
"@types/react-dom": "^17.0.25",
"@types/react": "^18.2.58",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"cross-env": "^7.0.3",
Expand Down
14 changes: 7 additions & 7 deletions packages/antd/package.json
Expand Up @@ -44,7 +44,7 @@
"classnames": "^2.5.1",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"rc-picker": "^2.7.6"
"rc-picker": "2.7.6"
},
"devDependencies": {
"@ant-design/icons": "^4.8.1",
Expand All @@ -63,9 +63,9 @@
"@rollup/plugin-replace": "^5.0.5",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"@types/react": "^17.0.75",
"@types/react-dom": "^17.0.25",
"@types/react-test-renderer": "^17.0.9",
"@types/react": "^18.2.58",
"@types/react-dom": "^18.2.19",
"@types/react-test-renderer": "^18.0.7",
"antd": "^5.0.0",
"atob": "^2.1.2",
"babel-jest": "^29.7.0",
Expand All @@ -74,9 +74,9 @@
"eslint": "^8.56.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"typescript": "^4.9.5"
Expand Down
11 changes: 0 additions & 11 deletions packages/antd/test/__snapshots__/Array.test.tsx.snap
Expand Up @@ -44,7 +44,6 @@ exports[`array fields array 1`] = `
}
}
>
<div
className="ant-col ant-col-24 row array-item-list css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -188,7 +187,6 @@ exports[`array fields array icons 1`] = `
}
}
>
<div
className="ant-col ant-col-24 row array-item-list css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -896,7 +894,6 @@ exports[`array fields checkboxes 1`] = `
aria-hidden={true}
className="ant-select-selection-search-mirror"
>
 
</span>
</div>
Expand Down Expand Up @@ -1002,7 +999,6 @@ exports[`array fields empty errors array 1`] = `
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -1150,7 +1146,6 @@ exports[`array fields fixed array 1`] = `
}
}
>
<div
className="ant-col ant-col-24 row array-item-list css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -1541,7 +1536,6 @@ exports[`array fields has errors 1`] = `
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -1713,7 +1707,6 @@ exports[`array fields no errors 1`] = `
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -2851,7 +2844,6 @@ exports[`with title and description checkboxes 1`] = `
aria-hidden={true}
className="ant-select-selection-search-mirror"
>
 
</span>
</div>
Expand Down Expand Up @@ -4360,7 +4352,6 @@ exports[`with title and description from both checkboxes 1`] = `
aria-hidden={true}
className="ant-select-selection-search-mirror"
>
 
</span>
</div>
Expand Down Expand Up @@ -5869,7 +5860,6 @@ exports[`with title and description from uiSchema checkboxes 1`] = `
aria-hidden={true}
className="ant-select-selection-search-mirror"
>
 
</span>
</div>
Expand Down Expand Up @@ -7324,7 +7314,6 @@ exports[`with title and description with global label off checkboxes 1`] = `
aria-hidden={true}
className="ant-select-selection-search-mirror"
>
 
</span>
</div>
Expand Down
23 changes: 4 additions & 19 deletions packages/antd/test/__snapshots__/Form.test.tsx.snap
Expand Up @@ -43,7 +43,6 @@ exports[`antd specific tests descriptionLocation tooltip in formContext 1`] = `
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -230,9 +229,7 @@ exports[`single fields checkbox field 1`] = `
className="ant-checkbox-inner"
/>
</span>
<span>
</span>
<span />
</label>
</div>
</div>
Expand Down Expand Up @@ -562,7 +559,6 @@ exports[`single fields field with description 1`] = `
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -718,7 +714,6 @@ exports[`single fields field with description in uiSchema 1`] = `
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -1418,9 +1413,7 @@ exports[`single fields hidden field 1`] = `
"rowGap": undefined,
}
}
>
</div>
/>
</fieldset>
</div>
</div>
Expand Down Expand Up @@ -2284,9 +2277,7 @@ exports[`single fields select field 1`] = `
</span>
<span
className="ant-select-selection-placeholder"
>
</span>
/>
</div>
<span
aria-hidden={true}
Expand Down Expand Up @@ -2450,7 +2441,6 @@ exports[`single fields select field multiple choice 1`] = `
aria-hidden={true}
className="ant-select-selection-search-mirror"
>
 
</span>
</div>
Expand Down Expand Up @@ -2622,7 +2612,6 @@ exports[`single fields select field multiple choice enumDisabled 1`] = `
aria-hidden={true}
className="ant-select-selection-search-mirror"
>
 
</span>
</div>
Expand Down Expand Up @@ -2910,7 +2899,6 @@ exports[`single fields select field multiple choice formData 1`] = `
aria-hidden={true}
className="ant-select-selection-search-mirror"
>
 
</span>
</div>
Expand Down Expand Up @@ -3079,7 +3067,6 @@ exports[`single fields select field multiple choice with labels 1`] = `
aria-hidden={true}
className="ant-select-selection-search-mirror"
>
 
</span>
</div>
Expand Down Expand Up @@ -3227,9 +3214,7 @@ exports[`single fields select field single choice enumDisabled 1`] = `
</span>
<span
className="ant-select-selection-placeholder"
>
</span>
/>
</div>
<span
aria-hidden={true}
Expand Down
6 changes: 0 additions & 6 deletions packages/antd/test/__snapshots__/Object.test.tsx.snap
Expand Up @@ -43,7 +43,6 @@ exports[`object fields additionalProperties 1`] = `
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -399,7 +398,6 @@ exports[`object fields object 1`] = `
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -707,7 +705,6 @@ exports[`object fields show add button and fields if additionalProperties is tru
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -4157,7 +4154,6 @@ exports[`object fields with title and description with global label off addition
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -4510,7 +4506,6 @@ exports[`object fields with title and description with global label off object 1
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down Expand Up @@ -4821,7 +4816,6 @@ exports[`object fields with title and description with global label off show add
}
}
>
<div
className="ant-col ant-col-24 css-dev-only-do-not-override-1b0bdye"
style={
Expand Down
12 changes: 6 additions & 6 deletions packages/bootstrap-4/package.json
Expand Up @@ -54,18 +54,18 @@
"@rjsf/utils": "^5.18.2",
"@rjsf/validator-ajv8": "^5.18.2",
"@types/jest": "^29.5.12",
"@types/react": "^17.0.75",
"@types/react-dom": "^17.0.25",
"@types/react-test-renderer": "^17.0.9",
"@types/react": "^18.2.58",
"@types/react-dom": "^18.2.19",
"@types/react-test-renderer": "^18.0.7",
"babel-jest": "^29.7.0",
"esbuild": "^0.18.20",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^17.0.2",
"react": "^18.2.0",
"react-bootstrap": "^1.6.8",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"typescript": "^4.9.5"
Expand Down

0 comments on commit 0b7290c

Please sign in to comment.