Skip to content

Commit

Permalink
[pickers] Add @mui/base to peerDependencies (#8590)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy authored Apr 13, 2023
1 parent c597369 commit 10162e2
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/x-date-pickers-pro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ This component has the following peer dependencies that you will need to install

```json
"peerDependencies": {
"@mui/base": "^5.0.0-alpha.87",
"@mui/material": "^5.8.6",
"@mui/system": "^5.8.0",
"react": "^17.0.2 || ^18.0.0",
Expand Down
21 changes: 21 additions & 0 deletions packages/x-date-pickers-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,34 @@
"react-transition-group": "^4.4.5"
},
"peerDependencies": {
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@mui/base": "^5.0.0-alpha.87",
"@mui/material": "^5.8.6",
"@mui/system": "^5.8.0",
"date-fns": "^2.25.0",
"date-fns-jalali": "^2.13.0-0",
"dayjs": "^1.10.7",
"luxon": "^3.0.2",
"moment": "^2.29.4",
"moment-hijri": "^2.1.2",
"moment-jalaali": "^0.7.4 || ^0.8.0 || ^0.9.0",
"react": "^17.0.2 || ^18.0.0",
"react-dom": "^17.0.2 || ^18.0.0"
},
"peerDependenciesMeta": {
"@emotion/react": {
"optional": true
},
"@emotion/styled": {
"optional": true
},
"date-fns": {
"optional": true
},
"date-fns-jalali": {
"optional": true
},
"dayjs": {
"optional": true
},
Expand All @@ -74,6 +89,12 @@
},
"moment": {
"optional": true
},
"moment-hijri": {
"optional": true
},
"moment-jalaali": {
"optional": true
}
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/x-date-pickers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ This component has the following peer dependencies that you will need to install

```json
"peerDependencies": {
"@mui/base": "^5.0.0-alpha.87",
"@mui/material": "^5.8.6",
"@mui/system": "^5.8.0",
"react": "^17.0.2 || ^18.0.0",
Expand Down
15 changes: 8 additions & 7 deletions packages/x-date-pickers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"peerDependencies": {
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@mui/base": "^5.0.0-alpha.87",
"@mui/material": "^5.8.6",
"@mui/system": "^5.8.0",
"date-fns": "^2.25.0",
Expand All @@ -74,16 +75,19 @@
"react-dom": "^17.0.2 || ^18.0.0"
},
"peerDependenciesMeta": {
"date-fns": {
"@emotion/react": {
"optional": true
},
"dayjs": {
"@emotion/styled": {
"optional": true
},
"@emotion/react": {
"date-fns": {
"optional": true
},
"@emotion/styled": {
"date-fns-jalali": {
"optional": true
},
"dayjs": {
"optional": true
},
"luxon": {
Expand All @@ -97,9 +101,6 @@
},
"moment-jalaali": {
"optional": true
},
"date-fns-jalali": {
"optional": true
}
},
"devDependencies": {
Expand Down

0 comments on commit 10162e2

Please sign in to comment.