Skip to content

Commit 56fe671

Browse files
prettier
1 parent 93f2c17 commit 56fe671

File tree

2 files changed

+31
-21
lines changed

2 files changed

+31
-21
lines changed

docs/data/material/design-resources/material-ui-sync/material-ui-sync.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -251,27 +251,28 @@ const theme = createTheme({
251251
styleOverrides: {
252252
root: {
253253
'&.MuiSwitch-sizeMedium:has(.MuiSwitch-colorPrimary)': {
254-
'&:has(.Mui-checked):not(:has(.Mui-disabled)):not(:has(.Mui-focusVisible))': {
255-
width: '40px',
256-
height: '21px',
257-
padding: '0',
258-
'& .MuiSwitch-switchBase': {
259-
transform: 'translateX(19px) translateY(2px)',
254+
'&:has(.Mui-checked):not(:has(.Mui-disabled)):not(:has(.Mui-focusVisible))':
255+
{
256+
width: '40px',
257+
height: '21px',
260258
padding: '0',
261-
'& .MuiSwitch-thumb': {
262-
width: '17px',
263-
height: '17px',
264-
background: '#FAFAFA',
265-
},
266-
'& + .MuiSwitch-track': {
267-
width: '38px',
268-
height: '21px',
269-
background: 'var(--mui-palette-success-light)',
270-
borderRadius: 'var(--mui-shape-borderRadiusRound)',
271-
opacity: '1',
259+
'& .MuiSwitch-switchBase': {
260+
transform: 'translateX(19px) translateY(2px)',
261+
padding: '0',
262+
'& .MuiSwitch-thumb': {
263+
width: '17px',
264+
height: '17px',
265+
background: '#FAFAFA',
266+
},
267+
'& + .MuiSwitch-track': {
268+
width: '38px',
269+
height: '21px',
270+
background: 'var(--mui-palette-success-light)',
271+
borderRadius: 'var(--mui-shape-borderRadiusRound)',
272+
opacity: '1',
273+
},
272274
},
273275
},
274-
},
275276
},
276277
},
277278
},

docs/src/components/pricing/PricingTable.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,16 +605,25 @@ const rowHeaders: Record<string, React.ReactNode> = {
605605
),
606606

607607
// Treeview - advanced features
608-
'tree-view/selection': <ColumnHead label="Item Selection" href="/x/react-tree-view/simple-tree-view/selection/#single-selection"/>,
609-
'tree-view/multi-selection': <ColumnHead label="Multi Selection" href="/x/react-tree-view/simple-tree-view/selection/#multi-selection" />,
608+
'tree-view/selection': (
609+
<ColumnHead
610+
label="Item Selection"
611+
href="/x/react-tree-view/simple-tree-view/selection/#single-selection"
612+
/>
613+
),
614+
'tree-view/multi-selection': (
615+
<ColumnHead
616+
label="Multi Selection"
617+
href="/x/react-tree-view/simple-tree-view/selection/#multi-selection"
618+
/>
619+
),
610620
'tree-view/inline-editing': (
611621
<ColumnHead label="Inline label editing" href="/x/react-tree-view/rich-tree-view/editing/" />
612622
),
613623
'tree-view/drag-to-reorder': (
614624
<ColumnHead label="Drag to reorder" href="/x/react-tree-view/rich-tree-view/ordering/" />
615625
),
616626
'tree-view/virtualization': <ColumnHead label="Virtualization" />,
617-
618627

619628
'mui-x-production': <ColumnHead label="Perpetual use in production" />,
620629
'mui-x-development': <ColumnHead label="Development license" tooltip="For active development" />,

0 commit comments

Comments
 (0)