-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathcircularProgressClasses.ts
48 lines (43 loc) · 1.54 KB
/
circularProgressClasses.ts
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
import { generateUtilityClass, generateUtilityClasses } from "@suid/base";
export interface CircularProgressClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if `variant="determinate"`. */
determinate: string;
/** Styles applied to the root element if `variant="indeterminate"`. */
indeterminate: 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 svg element. */
svg: string;
/** Styles applied to the `circle` svg path. */
circle: string;
/** Styles applied to the `circle` svg path if `variant="determinate"`. */
circleDeterminate: string;
/** Styles applied to the `circle` svg path if `variant="indeterminate"`. */
circleIndeterminate: string;
/** Styles applied to the `circle` svg path if `disableShrink={true}`. */
circleDisableShrink: string;
}
export type CircularProgressClassKey = keyof CircularProgressClasses;
export function getCircularProgressUtilityClass(slot: string): string {
return generateUtilityClass("MuiCircularProgress", slot);
}
const circularProgressClasses: CircularProgressClasses = generateUtilityClasses(
"MuiCircularProgress",
[
"root",
"determinate",
"indeterminate",
"colorPrimary",
"colorSecondary",
"svg",
"circle",
"circleDeterminate",
"circleIndeterminate",
"circleDisableShrink",
]
);
export default circularProgressClasses;