Skip to content

Commit

Permalink
Bump @types/react to v18.2.45 (#40146)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Albert Yu <[email protected]>
  • Loading branch information
renovate[bot] and mj12albert authored Dec 28, 2023
1 parent 9ce07b2 commit e13f5d0
Show file tree
Hide file tree
Showing 26 changed files with 35 additions and 27 deletions.
2 changes: 1 addition & 1 deletion apps/zero-runtime-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@mui/zero-tag-processor": "file:../../packages/zero-tag-processor/build",
"@mui/zero-next-plugin": "file:../../packages/zero-next-plugin/build",
"@types/node": "20.5.7",
"@types/react": "18.2.42",
"@types/react": "18.2.45",
"@types/react-dom": "18.2.18",
"typescript": "5.3.3"
},
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"@types/markdown-to-jsx": "^7.0.1",
"@types/node": "^18.19.3",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/react-swipeable-views": "^0.13.5",
"@types/react-swipeable-views-utils": "^0.13.7",
Expand Down
1 change: 1 addition & 0 deletions docs/pages/base-ui/api/number-input.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"describedArgs": ["event"]
}
},
"placeholder": { "type": { "name": "string" } },
"readOnly": { "type": { "name": "bool" }, "default": "false" },
"required": { "type": { "name": "bool" } },
"shiftMultiplier": { "type": { "name": "number" } },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"description": "Callback fired when the <code>input</code> value changes after each keypress, before clamping is applied. Note that <code>event.target.value</code> may contain values that fall outside of <code>min</code> and <code>max</code> or are otherwise &quot;invalid&quot;.",
"typeDescriptions": { "event": "The event source of the callback." }
},
"placeholder": {
"description": "The short hint displayed in the <code>input</code> before the user enters a value."
},
"readOnly": {
"description": "If <code>true</code>, the <code>input</code> element becomes read-only. The stepper buttons remain active, with the addition that they are now keyboard focusable."
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.3",
"@types/prettier": "^2.7.3",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
Expand Down Expand Up @@ -188,7 +188,7 @@
"**/@definitelytyped/typescript-versions": "^0.0.182",
"**/@definitelytyped/utils": "^0.0.188",
"**/@types/node": "^18.19.3",
"**/@types/react": "^18.2.42",
"**/@types/react": "^18.2.45",
"**/cross-fetch": "^4.0.0"
},
"nyc": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@testing-library/user-event": "^14.5.1",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "18.2.42",
"@types/react": "18.2.45",
"@types/react-dom": "18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.3.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-base/src/Unstable_NumberInput/NumberInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ NumberInput.propTypes /* remove-proptypes */ = {
*/
onInputChange: PropTypes.func,
/**
* @ignore
* The short hint displayed in the `input` before the user enters a value.
*/
placeholder: PropTypes.string,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export type NumberInputOwnProps = Omit<UseNumberInputParameters, 'error'> & {
* The id of the `input` element.
*/
id?: string;
/**
* The short hint displayed in the `input` before the user enters a value.
*/
placeholder?: React.InputHTMLAttributes<HTMLInputElement>['placeholder'];
/**
* The props used for each slot inside the NumberInput.
* @default {}
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"prop-types": "^15.8.1"
},
"devDependencies": {
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"react": "^18.2.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-icons-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"devDependencies": {
"@mui/internal-waterfall": "^1.0.0",
"@types/chai": "^4.3.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"chai": "^4.3.10",
"chalk": "^5.3.0",
"cross-fetch": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@mui/material": "^5.15.2",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.3.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@mui-internal/test-utils": "^1.0.0",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.3.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@testing-library/user-event": "^14.5.1",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.3.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@testing-library/user-event": "^14.5.1",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.3.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-private-theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@mui/styles": "^5.15.2",
"@mui/types": "^7.2.11",
"@types/chai": "^4.3.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"chai": "^4.3.10",
"react": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-styled-engine-sc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@mui-internal/test-utils": "^1.0.0",
"@types/chai": "^4.3.11",
"@types/hoist-non-react-statics": "^3.3.5",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"chai": "^4.3.10",
"react": "^18.2.0",
"styled-components": "^6.1.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-styled-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@emotion/styled": "^11.11.0",
"@mui-internal/test-utils": "^1.0.0",
"@types/chai": "^4.3.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"chai": "^4.3.10",
"react": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@mui/joy": "5.0.0-beta.20",
"@mui/material": "^5.15.2",
"@types/chai": "^4.3.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.3.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@mui/material-next": "6.0.0-alpha.115",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/sinon": "^10.0.20",
"chai": "^4.3.10",
"fast-glob": "^3.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"access": "public"
},
"devDependencies": {
"@types/react": "^18.2.42"
"@types/react": "^18.2.45"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.3",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/react-is": "^18.2.4",
"@types/sinon": "^10.0.20",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/enzyme": "^3.10.18",
"@types/format-util": "^1.0.4",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/react-test-renderer": "^18.0.7",
"@types/sinon": "^10.0.20",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-to-proptypes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@types/lodash": "^4.14.202",
"@types/node": "^18.19.3",
"@types/prettier": "^2.7.3",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"@types/uuid": "^9.0.7",
"chai": "^4.3.10",
"fast-glob": "^3.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/zero-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.3",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"react": "^18.2.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@playwright/test": "1.40.1",
"@testing-library/dom": "^9.3.3",
"@types/chai": "^4.3.11",
"@types/react": "^18.2.42",
"@types/react": "^18.2.45",
"chai": "^4.3.10",
"docs": "^5.0.0",
"fast-glob": "^3.3.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4033,10 +4033,10 @@
dependencies:
"@types/react" "*"

"@types/react@*", "@types/[email protected].42", "@types/react@^16", "@types/react@^18.2.42":
version "18.2.42"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.42.tgz#6f6b11a904f6d96dda3c2920328a97011a00aba7"
integrity sha512-c1zEr96MjakLYus/wPnuWDo1/zErfdU9rNsIGmE+NV71nx88FG9Ttgo5dqorXTu/LImX2f63WBP986gJkMPNbA==
"@types/react@*", "@types/[email protected].45", "@types/react@^16", "@types/react@^18.2.45":
version "18.2.45"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.45.tgz#253f4fac288e7e751ab3dc542000fb687422c15c"
integrity sha512-TtAxCNrlrBp8GoeEp1npd5g+d/OejJHFxS3OWmrPBMFaVQMSN0OFySozJio5BHxTuTeug00AVXVAjfDSfk+lUg==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
Expand Down

0 comments on commit e13f5d0

Please sign in to comment.