UNPKG

1.28 kBTypeScriptView Raw
1export interface NumberInputClasses {
2 /** Class name applied to the root element. */
3 root: string;
4 /** Class name applied to the root element if the component is a descendant of `FormControl`. */
5 formControl: string;
6 /** Class name applied to the root element if `startAdornment` is provided. */
7 adornedStart: string;
8 /** Class name applied to the root element if `endAdornment` is provided. */
9 adornedEnd: string;
10 /** Class name applied to the root element if the component is focused. */
11 focused: string;
12 /** Class name applied to the root element if `disabled={true}`. */
13 disabled: string;
14 /** State class applied to the root element if `readOnly={true}`. */
15 readOnly: string;
16 /** State class applied to the root element if `error={true}`. */
17 error: string;
18 /** Class name applied to the input element. */
19 input: string;
20 /** Class name applied to the increment button element. */
21 incrementButton: string;
22 /** Class name applied to the decrement button element. */
23 decrementButton: string;
24}
25export type NumberInputClassKey = keyof NumberInputClasses;
26export declare function getNumberInputUtilityClass(slot: string): string;
27export declare const numberInputClasses: NumberInputClasses;