UNPKG

1.76 kBTypeScriptView Raw
1export interface OutlinedInputClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if the color is secondary. */
5 colorSecondary: string;
6 /** Styles applied to the root element if the component is focused. */
7 focused: string;
8 /** Styles applied to the root element if `disabled={true}`. */
9 disabled: string;
10 /** Styles applied to the root element if `startAdornment` is provided. */
11 adornedStart: string;
12 /** Styles applied to the root element if `endAdornment` is provided. */
13 adornedEnd: string;
14 /** State class applied to the root element if `error={true}`. */
15 error: string;
16 /** Styles applied to the input element if `size="small"`. */
17 sizeSmall: string;
18 /** Styles applied to the root element if `multiline={true}`. */
19 multiline: string;
20 /** Styles applied to the NotchedOutline element. */
21 notchedOutline: string;
22 /** Styles applied to the input element. */
23 input: string;
24 /** Styles applied to the input element if `size="small"`. */
25 inputSizeSmall: string;
26 /** Styles applied to the input element if `multiline={true}`. */
27 inputMultiline: string;
28 /** Styles applied to the input element if `startAdornment` is provided. */
29 inputAdornedStart: string;
30 /** Styles applied to the input element if `endAdornment` is provided. */
31 inputAdornedEnd: string;
32 /** Styles applied to the input element if `type="search"`. */
33 inputTypeSearch: string;
34}
35export type OutlinedInputClassKey = keyof OutlinedInputClasses;
36export declare function getOutlinedInputUtilityClass(slot: string): string;
37declare const outlinedInputClasses: OutlinedInputClasses;
38export default outlinedInputClasses;