Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
joserodolfofreitas committed Sep 2, 2024
1 parent 93f2c17 commit 56fe671
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,27 +251,28 @@ const theme = createTheme({
styleOverrides: {
root: {
'&.MuiSwitch-sizeMedium:has(.MuiSwitch-colorPrimary)': {
'&:has(.Mui-checked):not(:has(.Mui-disabled)):not(:has(.Mui-focusVisible))': {
width: '40px',
height: '21px',
padding: '0',
'& .MuiSwitch-switchBase': {
transform: 'translateX(19px) translateY(2px)',
'&:has(.Mui-checked):not(:has(.Mui-disabled)):not(:has(.Mui-focusVisible))':
{
width: '40px',
height: '21px',
padding: '0',
'& .MuiSwitch-thumb': {
width: '17px',
height: '17px',
background: '#FAFAFA',
},
'& + .MuiSwitch-track': {
width: '38px',
height: '21px',
background: 'var(--mui-palette-success-light)',
borderRadius: 'var(--mui-shape-borderRadiusRound)',
opacity: '1',
'& .MuiSwitch-switchBase': {
transform: 'translateX(19px) translateY(2px)',
padding: '0',
'& .MuiSwitch-thumb': {
width: '17px',
height: '17px',
background: '#FAFAFA',
},
'& + .MuiSwitch-track': {
width: '38px',
height: '21px',
background: 'var(--mui-palette-success-light)',
borderRadius: 'var(--mui-shape-borderRadiusRound)',
opacity: '1',
},
},
},
},
},
},
},
Expand Down
15 changes: 12 additions & 3 deletions docs/src/components/pricing/PricingTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -605,16 +605,25 @@ const rowHeaders: Record<string, React.ReactNode> = {
),

// Treeview - advanced features
'tree-view/selection': <ColumnHead label="Item Selection" href="/x/react-tree-view/simple-tree-view/selection/#single-selection"/>,
'tree-view/multi-selection': <ColumnHead label="Multi Selection" href="/x/react-tree-view/simple-tree-view/selection/#multi-selection" />,
'tree-view/selection': (
<ColumnHead
label="Item Selection"
href="/x/react-tree-view/simple-tree-view/selection/#single-selection"
/>
),
'tree-view/multi-selection': (
<ColumnHead
label="Multi Selection"
href="/x/react-tree-view/simple-tree-view/selection/#multi-selection"
/>
),
'tree-view/inline-editing': (
<ColumnHead label="Inline label editing" href="/x/react-tree-view/rich-tree-view/editing/" />
),
'tree-view/drag-to-reorder': (
<ColumnHead label="Drag to reorder" href="/x/react-tree-view/rich-tree-view/ordering/" />
),
'tree-view/virtualization': <ColumnHead label="Virtualization" />,


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

0 comments on commit 56fe671

Please sign in to comment.