UNPKG

894 BTypeScriptView Raw
1export interface SelectClasses {
2 /** Class name applied to the root element. */
3 root: string;
4 /** Class name applied to the listbox element. */
5 listbox: string;
6 /** Class name applied to the popper element. */
7 popper: string;
8 /** State class applied to the root `button` element if `active={true}`. */
9 active: string;
10 /** State class applied to the root `button` element if `expanded={true}`. */
11 expanded: string;
12 /** State class applied to the root `button` element and the listbox 'ul' element if `disabled={true}`. */
13 disabled: string;
14 /** State class applied to the root `button` element if `focusVisible={true}`. */
15 focusVisible: string;
16}
17export type SelectClassKey = keyof SelectClasses;
18export declare function getSelectUtilityClass(slot: string): string;
19declare const selectClasses: SelectClasses;
20export default selectClasses;