UNPKG

1.33 kBTypeScriptView Raw
1export interface InputUnstyledClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if the component is a descendant of `FormControl`. */
5 formControl: string;
6 /** Styles applied to the root element if `startAdornment` is provided. */
7 adornedStart: string;
8 /** Styles applied to the root element if `endAdornment` is provided. */
9 adornedEnd: string;
10 /** Styles applied to the root element if the component is focused. */
11 focused: string;
12 /** Styles applied to the root element if `disabled={true}`. */
13 disabled: string;
14 /** State class applied to the root element if `error={true}`. */
15 error: string;
16 /** Styles applied to the root element if `multiline={true}`. */
17 multiline: string;
18 /** Styles applied to the input element. */
19 input: string;
20 /** Styles applied to the input element if `multiline={true}`. */
21 inputMultiline: string;
22 /** Styles applied to the input element if `type="search"`. */
23 inputTypeSearch: string;
24}
25export declare type InputUnstyledClassKey = keyof InputUnstyledClasses;
26export declare function getInputUnstyledUtilityClass(slot: string): string;
27declare const inputBaseClasses: InputUnstyledClasses;
28export default inputBaseClasses;