UNPKG

2.16 kBTypeScriptView Raw
1export interface SliderUnstyledClasses {
2 /** Class name applied to the root element. */
3 root: string;
4 /** Class name applied to the root element if `marks` is provided with at least one label. */
5 marked: string;
6 /** Class name applied to the root element if `orientation="vertical"`. */
7 vertical: string;
8 /** State class applied to the root and thumb element if `disabled={true}`. */
9 disabled: string;
10 /** State class applied to the root if a thumb is being dragged. */
11 dragging: string;
12 /** Class name applied to the rail element. */
13 rail: string;
14 /** Class name applied to the track element. */
15 track: string;
16 /** Class name applied to the root element if `track={false}`. */
17 trackFalse: string;
18 /** Class name applied to the root element if `track="inverted"`. */
19 trackInverted: string;
20 /** Class name applied to the thumb element. */
21 thumb: string;
22 /** State class applied to the thumb element if it's active. */
23 active: string;
24 /** State class applied to the thumb element if keyboard focused. */
25 focusVisible: string;
26 /** Class name applied to the thumb label element. */
27 valueLabel: string;
28 /** Class name applied to the thumb label element if it's open. */
29 valueLabelOpen: string;
30 /** Class name applied to the thumb label's circle element. */
31 valueLabelCircle: string;
32 /** Class name applied to the thumb label's label element. */
33 valueLabelLabel: string;
34 /** Class name applied to the mark element. */
35 mark: string;
36 /** Class name applied to the mark element if active (depending on the value). */
37 markActive: string;
38 /** Class name applied to the mark label element. */
39 markLabel: string;
40 /** Class name applied to the mark label element if active (depending on the value). */
41 markLabelActive: string;
42}
43export declare type SliderUnstyledClassKey = keyof SliderUnstyledClasses;
44export declare function getSliderUtilityClass(slot: string): string;
45declare const sliderUnstyledClasses: SliderUnstyledClasses;
46export default sliderUnstyledClasses;