UNPKG

1.58 kBTypeScriptView Raw
1export interface SelectClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the select component `select` class. */
5 select: string;
6 /** Styles applied to the select component if `multiple={true}`. */
7 multiple: string;
8 /** Styles applied to the select component if `variant="filled"`. */
9 filled: string;
10 /** Styles applied to the select component if it is focused. */
11 focused: string;
12 /** Styles applied to the select component if `variant="outlined"`. */
13 outlined: string;
14 /** Styles applied to the select component if `variant="standard"`. */
15 standard: string;
16 /** State class applied to the select component `disabled` class. */
17 disabled: string;
18 /** Styles applied to the icon component. */
19 icon: string;
20 /** Styles applied to the icon component if the popup is open. */
21 iconOpen: string;
22 /** Styles applied to the icon component if `variant="filled"`. */
23 iconFilled: string;
24 /** Styles applied to the icon component if `variant="outlined"`. */
25 iconOutlined: string;
26 /** Styles applied to the icon component if `variant="standard"`. */
27 iconStandard: string;
28 /** Styles applied to the underlying native input component. */
29 nativeInput: string;
30 /** State class applied to the root element if `error={true}`. */
31 error: string;
32}
33export type SelectClassKey = keyof SelectClasses;
34export declare function getSelectUtilityClasses(slot: string): string;
35declare const selectClasses: SelectClasses;
36export default selectClasses;