Skip to content

Commit

Permalink
sort and add missing prop
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jun 26, 2021
1 parent b14fc4b commit 3bfb274
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,13 @@ You can rely on the following [global class names](/styles/advanced/#with-materi
| :------------ | :------------------ |
| active | `.Mui-active` |
| checked | `.Mui-checked` |
| completed | `.Mui-completed` |
| disabled | `.Mui-disabled` |
| error | `.Mui-error` |
| focused | `.Mui-focused` |
| expanded | `.Mui-expanded` |
| focus visible | `.Mui-focusVisible` |
| focused | `.Mui-focused` |
| required | `.Mui-required` |
| expanded | `.Mui-expanded` |
| selected | `.Mui-selected` |

> ⚠️ Never style these pseudo-class class names directly:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ const globalPseudoClassesMapping: Record<string, string> = {
completed: 'Mui-completed',
disabled: 'Mui-disabled',
error: 'Mui-error',
expanded: 'Mui-expanded',
focused: 'Mui-focused',
focusVisible: 'Mui-focusVisible',
required: 'Mui-required',
expanded: 'Mui-expanded',
selected: 'Mui-selected',
};

Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/styles/createTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ function createTheme(options = {}, ...args) {
'completed',
'disabled',
'error',
'expanded',
'focused',
'focusVisible',
'required',
'expanded',
'selected',
];

Expand Down

0 comments on commit 3bfb274

Please sign in to comment.