Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/esm/Rating/ratingClasses.d.ts 1.62 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
  export interface RatingClasses {
    /** Styles applied to the root element. */
    root: string;
    /** Styles applied to the root element if `size="small"`. */
    sizeSmall: string;
    /** Styles applied to the root element if `size="medium"`. */
    sizeMedium: string;
    /** Styles applied to the root element if `size="large"`. */
    sizeLarge: string;
    /** Styles applied to the root element if `readOnly={true}`. */
    readOnly: string;
    /** State class applied to the root element if `disabled={true}`. */
    disabled: string;
    /** State class applied to the root element if keyboard focused. */
    focusVisible: string;
    /** Visually hide an element. */
    visuallyHidden: string;
    /** Styles applied to the label elements. */
    label: string;
    /** Styles applied to the label of the "no value" input when it is active. */
    labelEmptyValueActive: string;
    /** Styles applied to the icon wrapping elements. */
    icon: string;
    /** Styles applied to the icon wrapping elements when empty. */
    iconEmpty: string;
    /** Styles applied to the icon wrapping elements when filled. */
    iconFilled: string;
    /** Styles applied to the icon wrapping elements when hover. */
    iconHover: string;
    /** Styles applied to the icon wrapping elements when focus. */
    iconFocus: string;
    /** Styles applied to the icon wrapping elements when active. */
    iconActive: string;
    /** Styles applied to the icon wrapping elements when decimals are necessary. */
    decimal: string;
  }
  export type RatingClassKey = keyof RatingClasses;
  export declare function getRatingUtilityClass(slot: string): string;
  declare const ratingClasses: RatingClasses;
  export default ratingClasses;