20 lines
870 B
TypeScript
20 lines
870 B
TypeScript
|
export interface SelectClasses {
|
||
|
/** Class name applied to the root element. */
|
||
|
root: string;
|
||
|
/** Class name applied to the listbox element. */
|
||
|
listbox: string;
|
||
|
/** Class name applied to the popper element. */
|
||
|
popup: string;
|
||
|
/** State class applied to the root `button` element if `active={true}`. */
|
||
|
active: string;
|
||
|
/** State class applied to the root `button` element if `expanded={true}`. */
|
||
|
expanded: string;
|
||
|
/** State class applied to the root `button` element and the listbox 'ul' element if `disabled={true}`. */
|
||
|
disabled: string;
|
||
|
/** State class applied to the root `button` element if `focusVisible={true}`. */
|
||
|
focusVisible: string;
|
||
|
}
|
||
|
export type SelectClassKey = keyof SelectClasses;
|
||
|
export declare function getSelectUtilityClass(slot: string): string;
|
||
|
export declare const selectClasses: SelectClasses;
|