Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/Slider/sliderClasses.d.ts 5.36 KB
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
  export interface SliderClasses {
    /** Styles applied to the root element. */
    root: string;
    /** Styles applied to the root element if `color="primary"`. */
    colorPrimary: string;
    /** Styles applied to the root element if `color="secondary"`. */
    colorSecondary: string;
    /** Styles applied to the root element if `color="error"`. */
    colorError: string;
    /** Styles applied to the root element if `color="info"`. */
    colorInfo: string;
    /** Styles applied to the root element if `color="success"`. */
    colorSuccess: string;
    /** Styles applied to the root element if `color="warning"`. */
    colorWarning: string;
    /** Styles applied to the root element if `marks` is provided with at least one label. */
    marked: string;
    /** Styles applied to the root element if `orientation="vertical"`. */
    vertical: string;
    /** State class applied to the root and thumb element if `disabled={true}`. */
    disabled: string;
    /** State class applied to the root if a thumb is being dragged. */
    dragging: string;
    /** Styles applied to the rail element. */
    rail: string;
    /** Styles applied to the track element. */
    track: string;
    /** Styles applied to the root element if `track={false}`. */
    trackFalse: string;
    /** Styles applied to the root element if `track="inverted"`. */
    trackInverted: string;
    /** Styles applied to the thumb element. */
    thumb: string;
    /** State class applied to the thumb element if it's active. */
    active: string;
    /** State class applied to the thumb element if keyboard focused. */
    focusVisible: string;
    /** Styles applied to the mark element. */
    mark: string;
    /** Styles applied to the mark element if active (depending on the value). */
    markActive: string;
    /** Styles applied to the mark label element. */
    markLabel: string;
    /** Styles applied to the mark label element if active (depending on the value). */
    markLabelActive: string;
    /** Styles applied to the root element if `size="small"`. */
    sizeSmall: string;
    /** Styles applied to the thumb element if `color="primary"`.
     * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#slider-classes-MuiSlider-thumb) and [.MuiSlider-colorPrimary](/material-ui/api/slider/#slider-classes-MuiSlider-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
     */
    thumbColorPrimary: string;
    /** Styles applied to the thumb element if `color="secondary"`.
     * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#slider-classes-MuiSlider-thumb) and [.MuiSlider-colorSecondary](/material-ui/api/slider/#slider-classes-MuiSlider-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
     */
    thumbColorSecondary: string;
    /** Styles applied to the thumb element if `color="error"`.
     * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#slider-classes-MuiSlider-thumb) and [.MuiSlider-colorError](/material-ui/api/slider/#slider-classes-MuiSlider-colorError) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
     */
    thumbColorError: string;
    /** Styles applied to the thumb element if `color="info"`.
     * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#slider-classes-MuiSlider-thumb) and [.MuiSlider-colorInfo](/material-ui/api/slider/#slider-classes-MuiSlider-colorInfo) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
     */
    thumbColorInfo: string;
    /** Styles applied to the thumb element if `color="success"`.
     * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#slider-classes-MuiSlider-thumb) and [.MuiSlider-colorSuccess](/material-ui/api/slider/#slider-classes-MuiSlider-colorSuccess) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
     */
    thumbColorSuccess: string;
    /** Styles applied to the thumb element if `color="warning"`.
     * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#slider-classes-MuiSlider-thumb) and [.MuiSlider-colorWarning](/material-ui/api/slider/#slider-classes-MuiSlider-colorWarning) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
     */
    thumbColorWarning: string;
    /** Styles applied to the thumb element if `size="small"`.
     * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#slider-classes-MuiSlider-thumb) and [.MuiSlider-sizeSmall](/material-ui/api/slider/#slider-classes-MuiSlider-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
     */
    thumbSizeSmall: string;
    /** Styles applied to the thumb label element. */
    valueLabel: string;
    /** Styles applied to the thumb label element if it's open. */
    valueLabelOpen: string;
    /** Styles applied to the thumb label's circle element. */
    valueLabelCircle: string;
    /** Styles applied to the thumb label's label element. */
    valueLabelLabel: string;
  }
  export type SliderClassKey = keyof SliderClasses;
  export declare function getSliderUtilityClass(slot: string): string;
  declare const sliderClasses: SliderClasses;
  export default sliderClasses;