Skip to content

Commit

Permalink
[core] Move @mui/base from peer dependency to dependency (#10215)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Sep 4, 2023
1 parent b5f3cd6 commit 98ebae7
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 10 deletions.
1 change: 1 addition & 0 deletions packages/x-charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
},
"dependencies": {
"@babel/runtime": "^7.22.11",
"@mui/base": "^5.0.0-alpha.87",
"clsx": "^2.0.0",
"d3-color": "^3.1.0",
"d3-scale": "^4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-charts/src/BarChart/BarElement.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import composeClasses from '@mui/utils/composeClasses';
import { SlotComponentProps } from '@mui/base';
import type { SlotComponentProps } from '@mui/base';
import { useSlotProps } from '@mui/base/utils';
import generateUtilityClass from '@mui/utils/generateUtilityClass';
import { styled } from '@mui/material/styles';
Expand Down
2 changes: 1 addition & 1 deletion packages/x-charts/src/LineChart/AreaElement.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import PropTypes from 'prop-types';
import composeClasses from '@mui/utils/composeClasses';
import { SlotComponentProps } from '@mui/base';
import type { SlotComponentProps } from '@mui/base';
import { useSlotProps } from '@mui/base/utils';
import generateUtilityClass from '@mui/utils/generateUtilityClass';
import { styled } from '@mui/material/styles';
Expand Down
2 changes: 1 addition & 1 deletion packages/x-charts/src/LineChart/LineElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import PropTypes from 'prop-types';
import { color as d3Color } from 'd3-color';
import composeClasses from '@mui/utils/composeClasses';
import { SlotComponentProps } from '@mui/base';
import type { SlotComponentProps } from '@mui/base';
import { useSlotProps } from '@mui/base/utils';
import generateUtilityClass from '@mui/utils/generateUtilityClass';
import { styled } from '@mui/material/styles';
Expand Down
1 change: 0 additions & 1 deletion packages/x-date-pickers-pro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ 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.0 || ^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-date-pickers-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
},
"dependencies": {
"@babel/runtime": "^7.22.11",
"@mui/base": "^5.0.0-alpha.87",
"@mui/utils": "^5.14.7",
"@mui/x-date-pickers": "6.12.1",
"@mui/x-license-pro": "6.10.2",
Expand All @@ -52,7 +53,6 @@
"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 Down
1 change: 0 additions & 1 deletion packages/x-date-pickers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ 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.0 || ^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-date-pickers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
},
"dependencies": {
"@babel/runtime": "^7.22.11",
"@mui/base": "^5.0.0-alpha.87",
"@mui/utils": "^5.14.7",
"@types/react-transition-group": "^4.4.6",
"clsx": "^2.0.0",
Expand All @@ -54,7 +55,6 @@
"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 Down
1 change: 0 additions & 1 deletion packages/x-tree-view/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ 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.0 || ^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-tree-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
},
"dependencies": {
"@babel/runtime": "^7.22.11",
"@mui/base": "^5.0.0-alpha.87",
"@mui/utils": "^5.14.7",
"@types/react-transition-group": "^4.4.6",
"clsx": "^2.0.0",
Expand All @@ -52,7 +53,6 @@
"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",
"react": "^17.0.0 || ^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@
react-test-renderer "^18.0.0"
semver "^5.7.0"

"@mui/[email protected]", "@mui/base@^5.0.0-beta.13":
"@mui/[email protected]", "@mui/base@^5.0.0-alpha.87", "@mui/base@^5.0.0-beta.13":
version "5.0.0-beta.13"
resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.13.tgz#3bae94c39752546d84a67d4ca73486b7c4923a89"
integrity sha512-uC0l97pBspfDAp+iz2cJq8YZ8Sd9i73V77+WzUiOAckIVEyCm5dyVDZCCO2/phmzckVEeZCGcytybkjMQuhPQw==
Expand Down

0 comments on commit 98ebae7

Please sign in to comment.