UNPKG

1.45 kBTypeScriptView Raw
1export interface InputLabelClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** State class applied to the root element if `focused={true}`. */
5 focused: string;
6 /** State class applied to the root element if `disabled={true}`. */
7 disabled: string;
8 /** State class applied to the root element if `error={true}`. */
9 error: string;
10 /** State class applied to the root element if `required={true}`. */
11 required: string;
12 /** State class applied to the asterisk element. */
13 asterisk: string;
14 /** Styles applied to the root element if the component is a descendant of `FormControl`. */
15 formControl: string;
16 /** Styles applied to the root element if `size="small"`. */
17 sizeSmall: string;
18 /** Styles applied to the input element if `shrink={true}`. */
19 shrink: string;
20 /** Styles applied to the input element unless `disableAnimation={true}`. */
21 animated: string;
22 /** Styles applied to the root element if `variant="filled"`. */
23 filled: string;
24 /** Styles applied to the root element if `variant="outlined"`. */
25 outlined: string;
26 /** Styles applied to the root element if `variant="standard"`. */
27 standard: string;
28}
29export type InputLabelClassKey = keyof InputLabelClasses;
30export declare function getInputLabelUtilityClasses(slot: string): string;
31declare const inputLabelClasses: InputLabelClasses;
32export default inputLabelClasses;