UNPKG

2.23 kBTypeScriptView Raw
1export interface LinearProgressClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root and bar2 element if `color="primary"`; bar2 if `variant="buffer"`. */
5 colorPrimary: string;
6 /** Styles applied to the root and bar2 elements if `color="secondary"`; bar2 if `variant="buffer"`. */
7 colorSecondary: string;
8 /** Styles applied to the root element if `variant="determinate"`. */
9 determinate: string;
10 /** Styles applied to the root element if `variant="indeterminate"`. */
11 indeterminate: string;
12 /** Styles applied to the root element if `variant="buffer"`. */
13 buffer: string;
14 /** Styles applied to the root element if `variant="query"`. */
15 query: string;
16 /** Styles applied to the additional bar element if `variant="buffer"`. */
17 dashed: string;
18 /** Styles applied to the additional bar element if `variant="buffer"` and `color="primary"`. */
19 dashedColorPrimary: string;
20 /** Styles applied to the additional bar element if `variant="buffer"` and `color="secondary"`. */
21 dashedColorSecondary: string;
22 /** Styles applied to the layered bar1 and bar2 elements. */
23 bar: string;
24 /** Styles applied to the bar elements if `color="primary"`; bar2 if `variant` not "buffer". */
25 barColorPrimary: string;
26 /** Styles applied to the bar elements if `color="secondary"`; bar2 if `variant` not "buffer". */
27 barColorSecondary: string;
28 /** Styles applied to the bar1 element if `variant="indeterminate or query"`. */
29 bar1Indeterminate: string;
30 /** Styles applied to the bar1 element if `variant="determinate"`. */
31 bar1Determinate: string;
32 /** Styles applied to the bar1 element if `variant="buffer"`. */
33 bar1Buffer: string;
34 /** Styles applied to the bar2 element if `variant="indeterminate or query"`. */
35 bar2Indeterminate: string;
36 /** Styles applied to the bar2 element if `variant="buffer"`. */
37 bar2Buffer: string;
38}
39export type LinearProgressClassKey = keyof LinearProgressClasses;
40export declare function getLinearProgressUtilityClass(slot: string): string;
41declare const linearProgressClasses: LinearProgressClasses;
42export default linearProgressClasses;