UNPKG

1.36 kBTypeScriptView Raw
1export interface FilledInputClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if color secondary. */
5 colorSecondary: string;
6 /** Styles applied to the root element unless `disableUnderline={true}`. */
7 underline: string;
8 /** State class applied to the root element if the component is focused. */
9 focused: string;
10 /** State class applied to the root element if `disabled={true}`. */
11 disabled: string;
12 /** Styles applied to the root element if `startAdornment` is provided. */
13 adornedStart: string;
14 /** Styles applied to the root element if `endAdornment` is provided. */
15 adornedEnd: string;
16 /** State class applied to the root element if `error={true}`. */
17 error: string;
18 /** Styles applied to the root element if `size="small"`. */
19 sizeSmall: string;
20 /** Styles applied to the root element if `multiline={true}`. */
21 multiline: string;
22 /** Styles applied to the root element if `hiddenLabel={true}`. */
23 hiddenLabel: string;
24 /** Styles applied to the input element. */
25 input: string;
26}
27export type FilledInputClassKey = keyof FilledInputClasses;
28export declare function getFilledInputUtilityClass(slot: string): string;
29declare const filledInputClasses: FilledInputClasses;
30export default filledInputClasses;