Skip to content

Commit

Permalink
[material] Remove unused dev dependency on @mui/lab (#41198)
Browse files Browse the repository at this point in the history
  • Loading branch information
brijeshb42 authored Feb 23, 2024
1 parent eb40f54 commit 7ed32df
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
15 changes: 15 additions & 0 deletions packages/mui-lab/src/TimelineDot/color-palette-prop.spec.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import * as React from 'react';
import TimelineDot from '@mui/lab/TimelineDot';

function TestBaseColorPaletteProp() {
const baseColorPalette = ['primary', 'secondary', 'error', 'info', 'success', 'warning'] as const;
return (
<div>
{baseColorPalette.map((color) => (
<div key={color}>
<TimelineDot color={color} />
</div>
))}
</div>
);
}
1 change: 0 additions & 1 deletion packages/mui-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"devDependencies": {
"@mui/internal-babel-macros": "workspace:^",
"@mui-internal/test-utils": "workspace:^",
"@mui/lab": "workspace:*",
"@popperjs/core": "^2.11.8",
"@rollup/plugin-replace": "^5.0.5",
"@testing-library/dom": "^9.3.4",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react';
import TimelineDot from '@mui/lab/TimelineDot';
import {
Badge,
Button,
Expand Down Expand Up @@ -39,7 +38,6 @@ function TestBaseColorPaletteProp() {
<Input color={color} />
<InputLabel color={color} />
<LinearProgress color={color} />
<TimelineDot color={color} />
<TextField color={color} />
<Radio color={color} />
<SvgIcon color={color} />
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7ed32df

Please sign in to comment.