diff --git a/docs/data/base/components/autocomplete/AutocompleteIntroduction/css/index.js b/docs/data/base/components/autocomplete/AutocompleteIntroduction/css/index.js index 5baf2c8e1d29f0..588d75658c9695 100644 --- a/docs/data/base/components/autocomplete/AutocompleteIntroduction/css/index.js +++ b/docs/data/base/components/autocomplete/AutocompleteIntroduction/css/index.js @@ -309,18 +309,18 @@ function Styles() { color: ${isDarkMode ? cyan[100] : cyan[900]}; } - &.base--focused, - &.base--focusVisible { + &.Mui-focused, + &.Mui-focusVisible { background-color: ${isDarkMode ? grey[800] : grey[100]}; color: ${isDarkMode ? grey[300] : grey[900]}; } - &.base--focusVisible { + &.Mui-focusVisible { box-shadow: 0 0 0 3px ${isDarkMode ? cyan[500] : cyan[200]}; } - &[aria-selected=true].base--focused, - &[aria-selected=true].base--focusVisible { + &[aria-selected=true].Mui-focused, + &[aria-selected=true].Mui-focusVisible { background-color: ${isDarkMode ? cyan[900] : cyan[100]}; color: ${isDarkMode ? cyan[100] : cyan[900]}; } diff --git a/docs/data/base/components/autocomplete/AutocompleteIntroduction/css/index.tsx b/docs/data/base/components/autocomplete/AutocompleteIntroduction/css/index.tsx index 76f41d578983b9..35183255be945e 100644 --- a/docs/data/base/components/autocomplete/AutocompleteIntroduction/css/index.tsx +++ b/docs/data/base/components/autocomplete/AutocompleteIntroduction/css/index.tsx @@ -283,18 +283,18 @@ function Styles() { color: ${isDarkMode ? cyan[100] : cyan[900]}; } - &.base--focused, - &.base--focusVisible { + &.Mui-focused, + &.Mui-focusVisible { background-color: ${isDarkMode ? grey[800] : grey[100]}; color: ${isDarkMode ? grey[300] : grey[900]}; } - &.base--focusVisible { + &.Mui-focusVisible { box-shadow: 0 0 0 3px ${isDarkMode ? cyan[500] : cyan[200]}; } - &[aria-selected=true].base--focused, - &[aria-selected=true].base--focusVisible { + &[aria-selected=true].Mui-focused, + &[aria-selected=true].Mui-focusVisible { background-color: ${isDarkMode ? cyan[900] : cyan[100]}; color: ${isDarkMode ? cyan[100] : cyan[900]}; } diff --git a/docs/data/base/components/autocomplete/AutocompleteIntroduction/system/index.js b/docs/data/base/components/autocomplete/AutocompleteIntroduction/system/index.js index c38910d1fdaa7d..851e5555d194c3 100644 --- a/docs/data/base/components/autocomplete/AutocompleteIntroduction/system/index.js +++ b/docs/data/base/components/autocomplete/AutocompleteIntroduction/system/index.js @@ -237,18 +237,18 @@ const StyledOption = styled('li')( color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } - &.base--focused, - &.base--focusVisible { + &.Mui-focused, + &.Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? grey[800] : grey[100]}; color: ${theme.palette.mode === 'dark' ? grey[300] : grey[900]}; } - &.base--focusVisible { + &.Mui-focusVisible { box-shadow: 0 0 0 3px ${theme.palette.mode === 'dark' ? blue[500] : blue[200]}; } - &[aria-selected=true].base--focused, - &[aria-selected=true].base--focusVisible { + &[aria-selected=true].Mui-focused, + &[aria-selected=true].Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? blue[900] : blue[100]}; color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } diff --git a/docs/data/base/components/autocomplete/AutocompleteIntroduction/system/index.tsx b/docs/data/base/components/autocomplete/AutocompleteIntroduction/system/index.tsx index dcf69e4e056e30..31414d16949692 100644 --- a/docs/data/base/components/autocomplete/AutocompleteIntroduction/system/index.tsx +++ b/docs/data/base/components/autocomplete/AutocompleteIntroduction/system/index.tsx @@ -220,18 +220,18 @@ const StyledOption = styled('li')( color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } - &.base--focused, - &.base--focusVisible { + &.Mui-focused, + &.Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? grey[800] : grey[100]}; color: ${theme.palette.mode === 'dark' ? grey[300] : grey[900]}; } - &.base--focusVisible { + &.Mui-focusVisible { box-shadow: 0 0 0 3px ${theme.palette.mode === 'dark' ? blue[500] : blue[200]}; } - &[aria-selected=true].base--focused, - &[aria-selected=true].base--focusVisible { + &[aria-selected=true].Mui-focused, + &[aria-selected=true].Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? blue[900] : blue[100]}; color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } diff --git a/docs/data/base/components/autocomplete/ControlledStates.js b/docs/data/base/components/autocomplete/ControlledStates.js index 4df012ced60112..feaaf24ecc9d2c 100644 --- a/docs/data/base/components/autocomplete/ControlledStates.js +++ b/docs/data/base/components/autocomplete/ControlledStates.js @@ -171,18 +171,18 @@ const Option = styled('li')( color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } - &.base--focused, - &.base--focusVisible { + &.Mui-focused, + &.Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? grey[800] : grey[100]}; color: ${theme.palette.mode === 'dark' ? grey[300] : grey[900]}; } - &.base--focusVisible { + &.Mui-focusVisible { box-shadow: 0 0 0 3px ${theme.palette.mode === 'dark' ? blue[500] : blue[200]}; } - &[aria-selected=true].base--focused, - &[aria-selected=true].base--focusVisible { + &[aria-selected=true].Mui-focused, + &[aria-selected=true].Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? blue[900] : blue[100]}; color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } diff --git a/docs/data/base/components/autocomplete/ControlledStates.tsx b/docs/data/base/components/autocomplete/ControlledStates.tsx index 7ff8f47074e93a..2e241a1142f73a 100644 --- a/docs/data/base/components/autocomplete/ControlledStates.tsx +++ b/docs/data/base/components/autocomplete/ControlledStates.tsx @@ -171,18 +171,18 @@ const Option = styled('li')( color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } - &.base--focused, - &.base--focusVisible { + &.Mui-focused, + &.Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? grey[800] : grey[100]}; color: ${theme.palette.mode === 'dark' ? grey[300] : grey[900]}; } - &.base--focusVisible { + &.Mui-focusVisible { box-shadow: 0 0 0 3px ${theme.palette.mode === 'dark' ? blue[500] : blue[200]}; } - &[aria-selected=true].base--focused, - &[aria-selected=true].base--focusVisible { + &[aria-selected=true].Mui-focused, + &[aria-selected=true].Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? blue[900] : blue[100]}; color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } diff --git a/docs/data/base/components/autocomplete/UseAutocomplete.js b/docs/data/base/components/autocomplete/UseAutocomplete.js index a65f993e7ff87f..710c7ac50c3271 100644 --- a/docs/data/base/components/autocomplete/UseAutocomplete.js +++ b/docs/data/base/components/autocomplete/UseAutocomplete.js @@ -160,18 +160,18 @@ const Option = styled('li')( color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } - &.base--focused, - &.base--focusVisible { + &.Mui-focused, + &.Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? grey[800] : grey[100]}; color: ${theme.palette.mode === 'dark' ? grey[300] : grey[900]}; } - &.base--focusVisible { + &.Mui-focusVisible { box-shadow: 0 0 0 3px ${theme.palette.mode === 'dark' ? blue[500] : blue[200]}; } - &[aria-selected=true].base--focused, - &[aria-selected=true].base--focusVisible { + &[aria-selected=true].Mui-focused, + &[aria-selected=true].Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? blue[900] : blue[100]}; color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } diff --git a/docs/data/base/components/autocomplete/UseAutocomplete.tsx b/docs/data/base/components/autocomplete/UseAutocomplete.tsx index 3c66fda3c3028c..6f038a7051c7b3 100644 --- a/docs/data/base/components/autocomplete/UseAutocomplete.tsx +++ b/docs/data/base/components/autocomplete/UseAutocomplete.tsx @@ -162,18 +162,18 @@ const Option = styled('li')( color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } - &.base--focused, - &.base--focusVisible { + &.Mui-focused, + &.Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? grey[800] : grey[100]}; color: ${theme.palette.mode === 'dark' ? grey[300] : grey[900]}; } - &.base--focusVisible { + &.Mui-focusVisible { box-shadow: 0 0 0 3px ${theme.palette.mode === 'dark' ? blue[500] : blue[200]}; } - &[aria-selected=true].base--focused, - &[aria-selected=true].base--focusVisible { + &[aria-selected=true].Mui-focused, + &[aria-selected=true].Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? blue[900] : blue[100]}; color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } diff --git a/docs/data/base/components/autocomplete/UseAutocompletePopper.js b/docs/data/base/components/autocomplete/UseAutocompletePopper.js index 9c7375bd47c9a8..12ebf73cc66855 100644 --- a/docs/data/base/components/autocomplete/UseAutocompletePopper.js +++ b/docs/data/base/components/autocomplete/UseAutocompletePopper.js @@ -184,18 +184,18 @@ const Option = styled('li')( color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } - &.base--focused, - &.base--focusVisible { + &.Mui-focused, + &.Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? grey[800] : grey[100]}; color: ${theme.palette.mode === 'dark' ? grey[300] : grey[900]}; } - &.base--focusVisible { + &.Mui-focusVisible { box-shadow: 0 0 0 3px ${theme.palette.mode === 'dark' ? blue[500] : blue[200]}; } - &[aria-selected=true].base--focused, - &[aria-selected=true].base--focusVisible { + &[aria-selected=true].Mui-focused, + &[aria-selected=true].Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? blue[900] : blue[100]}; color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } diff --git a/docs/data/base/components/autocomplete/UseAutocompletePopper.tsx b/docs/data/base/components/autocomplete/UseAutocompletePopper.tsx index db8d4dfbe52884..74c6e775557fea 100644 --- a/docs/data/base/components/autocomplete/UseAutocompletePopper.tsx +++ b/docs/data/base/components/autocomplete/UseAutocompletePopper.tsx @@ -192,18 +192,18 @@ const Option = styled('li')( color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; } - &.base--focused, - &.base--focusVisible { + &.Mui-focused, + &.Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? grey[800] : grey[100]}; color: ${theme.palette.mode === 'dark' ? grey[300] : grey[900]}; } - &.base--focusVisible { + &.Mui-focusVisible { box-shadow: 0 0 0 3px ${theme.palette.mode === 'dark' ? blue[500] : blue[200]}; } - &[aria-selected=true].base--focused, - &[aria-selected=true].base--focusVisible { + &[aria-selected=true].Mui-focused, + &[aria-selected=true].Mui-focusVisible { background-color: ${theme.palette.mode === 'dark' ? blue[900] : blue[100]}; color: ${theme.palette.mode === 'dark' ? blue[100] : blue[900]}; }