From c0b4a18395d6fc408f5012603af6d39921b6c0b3 Mon Sep 17 00:00:00 2001 From: Deniz Susman Date: Fri, 31 Jan 2020 21:57:02 +0100 Subject: [PATCH] [docs] Fix typo in Autocomplete CSS API (#19503) --- docs/pages/api/autocomplete.md | 8 ++++---- packages/material-ui-lab/src/Autocomplete/Autocomplete.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/pages/api/autocomplete.md b/docs/pages/api/autocomplete.md index e158319ee8f7f7..3785943a126bed 100644 --- a/docs/pages/api/autocomplete.md +++ b/docs/pages/api/autocomplete.md @@ -98,10 +98,10 @@ Any other props supplied will be provided to the root element (native element). | input | .MuiAutocomplete-input | Styles applied to the input element. | inputFocused | .MuiAutocomplete-inputFocused | Styles applied to the input element if tag focused. | endAdornment | .MuiAutocomplete-endAdornment | Styles applied to the endAdornment element. -| clearIndicator | .MuiAutocomplete-clearIndicator | Styles applied to the clear indictator. -| clearIndicatorDirty | .MuiAutocomplete-clearIndicatorDirty | Styles applied to the clear indictator if the input is dirty. -| popupIndicator | .MuiAutocomplete-popupIndicator | Styles applied to the popup indictator. -| popupIndicatorOpen | .MuiAutocomplete-popupIndicatorOpen | Styles applied to the popup indictator if the popup is open. +| clearIndicator | .MuiAutocomplete-clearIndicator | Styles applied to the clear indicator. +| clearIndicatorDirty | .MuiAutocomplete-clearIndicatorDirty | Styles applied to the clear indicator if the input is dirty. +| popupIndicator | .MuiAutocomplete-popupIndicator | Styles applied to the popup indicator. +| popupIndicatorOpen | .MuiAutocomplete-popupIndicatorOpen | Styles applied to the popup indicator if the popup is open. | popper | .MuiAutocomplete-popper | Styles applied to the popper element. | popperDisablePortal | .MuiAutocomplete-popperDisablePortal | Styles applied to the popper element if `disablePortal={true}`. | paper | .MuiAutocomplete-paper | Styles applied to the `Paper` component. diff --git a/packages/material-ui-lab/src/Autocomplete/Autocomplete.js b/packages/material-ui-lab/src/Autocomplete/Autocomplete.js index 342c8edf031aac..7c556b77758217 100644 --- a/packages/material-ui-lab/src/Autocomplete/Autocomplete.js +++ b/packages/material-ui-lab/src/Autocomplete/Autocomplete.js @@ -130,22 +130,22 @@ export const styles = theme => ({ right: 0, top: 'calc(50% - 14px)', // Center vertically }, - /* Styles applied to the clear indictator. */ + /* Styles applied to the clear indicator. */ clearIndicator: { marginRight: -2, padding: 4, color: theme.palette.action.active, visibility: 'hidden', }, - /* Styles applied to the clear indictator if the input is dirty. */ + /* Styles applied to the clear indicator if the input is dirty. */ clearIndicatorDirty: {}, - /* Styles applied to the popup indictator. */ + /* Styles applied to the popup indicator. */ popupIndicator: { padding: 2, marginRight: -2, color: theme.palette.action.active, }, - /* Styles applied to the popup indictator if the popup is open. */ + /* Styles applied to the popup indicator if the popup is open. */ popupIndicatorOpen: { transform: 'rotate(180deg)', },