@alfalab/core-components-circular-progress-bar 5.0.6 → 5.0.7-alfasans
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Component.d.ts +4 -3
- package/Component.js.map +1 -1
- package/consts.d.ts +5 -0
- package/consts.js +5 -0
- package/consts.js.map +1 -1
- package/cssm/Component.d.ts +4 -3
- package/cssm/Component.js.map +1 -1
- package/cssm/consts.d.ts +5 -0
- package/cssm/consts.js +5 -0
- package/cssm/consts.js.map +1 -1
- package/cssm/index.module.css +7 -0
- package/cssm/types/component-size.d.ts +1 -1
- package/esm/Component.d.ts +4 -3
- package/esm/Component.js.map +1 -1
- package/esm/consts.d.ts +5 -0
- package/esm/consts.js +5 -0
- package/esm/consts.js.map +1 -1
- package/esm/index.css +58 -51
- package/esm/index.module.css.js +1 -1
- package/esm/index.module.css.js.map +1 -1
- package/esm/types/component-size.d.ts +1 -1
- package/index.css +58 -51
- package/index.module.css.js +1 -1
- package/index.module.css.js.map +1 -1
- package/modern/Component.d.ts +4 -3
- package/modern/Component.js.map +1 -1
- package/modern/consts.d.ts +5 -0
- package/modern/consts.js +5 -0
- package/modern/consts.js.map +1 -1
- package/modern/index.css +58 -51
- package/modern/index.module.css.js +1 -1
- package/modern/index.module.css.js.map +1 -1
- package/modern/types/component-size.d.ts +1 -1
- package/moderncssm/Component.d.ts +4 -3
- package/moderncssm/Component.js.map +1 -1
- package/moderncssm/consts.d.ts +5 -0
- package/moderncssm/consts.js +5 -0
- package/moderncssm/consts.js.map +1 -1
- package/moderncssm/index.module.css +9 -0
- package/moderncssm/types/component-size.d.ts +1 -1
- package/package.json +5 -5
- package/src/Component.tsx +4 -3
- package/src/consts.ts +5 -0
- package/src/index.module.css +9 -0
- package/src/types/component-size.ts +1 -1
- package/types/component-size.d.ts +1 -1
package/esm/consts.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const SIZES: {
|
|
|
5
5
|
l: number;
|
|
6
6
|
xl: number;
|
|
7
7
|
xxl: number;
|
|
8
|
+
16: number;
|
|
8
9
|
24: number;
|
|
9
10
|
48: number;
|
|
10
11
|
64: number;
|
|
@@ -20,6 +21,7 @@ export declare const STROKE: {
|
|
|
20
21
|
l: number;
|
|
21
22
|
xl: number;
|
|
22
23
|
xxl: number;
|
|
24
|
+
16: number;
|
|
23
25
|
24: number;
|
|
24
26
|
48: number;
|
|
25
27
|
64: number;
|
|
@@ -35,6 +37,7 @@ export declare const VIEW_TITLE: {
|
|
|
35
37
|
readonly l: "xsmall";
|
|
36
38
|
readonly xl: "medium";
|
|
37
39
|
readonly xxl: "medium";
|
|
40
|
+
readonly 16: "small";
|
|
38
41
|
readonly 24: "small";
|
|
39
42
|
readonly 48: "small";
|
|
40
43
|
readonly 64: "small";
|
|
@@ -50,6 +53,7 @@ export declare const VIEW_TEXT: {
|
|
|
50
53
|
readonly l: "secondary-large";
|
|
51
54
|
readonly xl: "secondary-large";
|
|
52
55
|
readonly xxl: "secondary-large";
|
|
56
|
+
readonly 16: "secondary-small";
|
|
53
57
|
readonly 24: "secondary-small";
|
|
54
58
|
readonly 48: "secondary-small";
|
|
55
59
|
readonly 64: "secondary-large";
|
|
@@ -66,6 +70,7 @@ export declare const SIZE_TO_CLASSNAME_MAP: {
|
|
|
66
70
|
l: string;
|
|
67
71
|
xl: string;
|
|
68
72
|
xxl: string;
|
|
73
|
+
16: string;
|
|
69
74
|
24: string;
|
|
70
75
|
48: string;
|
|
71
76
|
64: string;
|
package/esm/consts.js
CHANGED
|
@@ -5,6 +5,7 @@ var SIZES = {
|
|
|
5
5
|
l: 80,
|
|
6
6
|
xl: 128,
|
|
7
7
|
xxl: 144,
|
|
8
|
+
16: 16,
|
|
8
9
|
24: 24,
|
|
9
10
|
48: 48,
|
|
10
11
|
64: 64,
|
|
@@ -20,6 +21,7 @@ var STROKE = {
|
|
|
20
21
|
l: 8,
|
|
21
22
|
xl: 10,
|
|
22
23
|
xxl: 12,
|
|
24
|
+
16: 2,
|
|
23
25
|
24: 4,
|
|
24
26
|
48: 4,
|
|
25
27
|
64: 6,
|
|
@@ -35,6 +37,7 @@ var VIEW_TITLE = {
|
|
|
35
37
|
l: 'xsmall',
|
|
36
38
|
xl: 'medium',
|
|
37
39
|
xxl: 'medium',
|
|
40
|
+
16: 'small',
|
|
38
41
|
24: 'small',
|
|
39
42
|
48: 'small',
|
|
40
43
|
64: 'small',
|
|
@@ -50,6 +53,7 @@ var VIEW_TEXT = {
|
|
|
50
53
|
l: 'secondary-large',
|
|
51
54
|
xl: 'secondary-large',
|
|
52
55
|
xxl: 'secondary-large',
|
|
56
|
+
16: 'secondary-small',
|
|
53
57
|
24: 'secondary-small',
|
|
54
58
|
48: 'secondary-small',
|
|
55
59
|
64: 'secondary-large',
|
|
@@ -66,6 +70,7 @@ var SIZE_TO_CLASSNAME_MAP = {
|
|
|
66
70
|
l: 'size-80',
|
|
67
71
|
xl: 'size-128',
|
|
68
72
|
xxl: 'size-144',
|
|
73
|
+
16: 'size-16',
|
|
69
74
|
24: 'size-24',
|
|
70
75
|
48: 'size-48',
|
|
71
76
|
64: 'size-64',
|
package/esm/consts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sources":["../src/consts.ts"],"sourcesContent":["export const SIZES = {\n xs: 24,\n s: 48,\n m: 64,\n l: 80,\n xl: 128,\n xxl: 144,\n 24: 24,\n 48: 48,\n 64: 64,\n 80: 80,\n 96: 96,\n 128: 128,\n 144: 144,\n};\n\nexport const STROKE = {\n xs: 4,\n s: 4,\n m: 6,\n l: 8,\n xl: 10,\n xxl: 12,\n 24: 4,\n 48: 4,\n 64: 6,\n 80: 8,\n 96: 8,\n 128: 10,\n 144: 12,\n};\n\nexport const VIEW_TITLE = {\n xs: 'small',\n s: 'small',\n m: 'small',\n l: 'xsmall',\n xl: 'medium',\n xxl: 'medium',\n 24: 'small',\n 48: 'small',\n 64: 'small',\n 80: 'xsmall',\n 96: 'xsmall',\n 128: 'medium',\n 144: 'medium',\n} as const;\n\nexport const VIEW_TEXT = {\n xs: 'secondary-small',\n s: 'secondary-small',\n m: 'secondary-large',\n l: 'secondary-large',\n xl: 'secondary-large',\n xxl: 'secondary-large',\n 24: 'secondary-small',\n 48: 'secondary-small',\n 64: 'secondary-large',\n 80: 'secondary-large',\n 96: 'secondary-large',\n 128: 'secondary-large',\n 144: 'secondary-large',\n} as const;\n\nexport const TYPOGRAPHY_COLOR = ['primary', 'secondary', 'tertiary', 'positive', 'negative'];\n\nexport const SIZE_TO_CLASSNAME_MAP = {\n xs: 'size-24',\n s: 'size-48',\n m: 'size-64',\n l: 'size-80',\n xl: 'size-128',\n xxl: 'size-144',\n 24: 'size-24',\n 48: 'size-48',\n 64: 'size-64',\n 80: 'size-80',\n 96: 'size-96',\n 128: 'size-128',\n 144: 'size-144',\n};\n\nexport const MAX_PROGRESS_VALUE = 100;\n\nexport const MIN_TIMER_VALUE = 0;\nexport const MAX_TIMER_VALUE = 3599;\n"],"names":[],"mappings":"AAAa,IAAA,KAAK,GAAG;AACjB,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,CAAC,EAAE,EAAE;AACL,IAAA,CAAC,EAAE,EAAE;AACL,IAAA,CAAC,EAAE,EAAE;AACL,IAAA,EAAE,EAAE,GAAG;AACP,IAAA,GAAG,EAAE,GAAG;AACR,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,GAAG,EAAE,GAAG;AACR,IAAA,GAAG,EAAE,GAAG;;AAGC,IAAA,MAAM,GAAG;AAClB,IAAA,EAAE,EAAE,CAAC;AACL,IAAA,CAAC,EAAE,CAAC;AACJ,IAAA,CAAC,EAAE,CAAC;AACJ,IAAA,CAAC,EAAE,CAAC;AACJ,IAAA,EAAE,EAAE,EAAE;AACN,IAAA,GAAG,EAAE,EAAE;AACP,IAAA,EAAE,EAAE,CAAC;AACL,IAAA,EAAE,EAAE,CAAC;AACL,IAAA,EAAE,EAAE,CAAC;AACL,IAAA,EAAE,EAAE,CAAC;AACL,IAAA,EAAE,EAAE,CAAC;AACL,IAAA,GAAG,EAAE,EAAE;AACP,IAAA,GAAG,EAAE,EAAE;;AAGE,IAAA,UAAU,GAAG;AACtB,IAAA,EAAE,EAAE,OAAO;AACX,IAAA,CAAC,EAAE,OAAO;AACV,IAAA,CAAC,EAAE,OAAO;AACV,IAAA,CAAC,EAAE,QAAQ;AACX,IAAA,EAAE,EAAE,QAAQ;AACZ,IAAA,GAAG,EAAE,QAAQ;AACb,IAAA,EAAE,EAAE,OAAO;AACX,IAAA,EAAE,EAAE,OAAO;AACX,IAAA,EAAE,EAAE,OAAO;AACX,IAAA,EAAE,EAAE,QAAQ;AACZ,IAAA,EAAE,EAAE,QAAQ;AACZ,IAAA,GAAG,EAAE,QAAQ;AACb,IAAA,GAAG,EAAE,QAAQ;;AAGJ,IAAA,SAAS,GAAG;AACrB,IAAA,EAAE,EAAE,iBAAiB;AACrB,IAAA,CAAC,EAAE,iBAAiB;AACpB,IAAA,CAAC,EAAE,iBAAiB;AACpB,IAAA,CAAC,EAAE,iBAAiB;AACpB,IAAA,EAAE,EAAE,iBAAiB;AACrB,IAAA,GAAG,EAAE,iBAAiB;AACtB,IAAA,EAAE,EAAE,iBAAiB;AACrB,IAAA,EAAE,EAAE,iBAAiB;AACrB,IAAA,EAAE,EAAE,iBAAiB;AACrB,IAAA,EAAE,EAAE,iBAAiB;AACrB,IAAA,EAAE,EAAE,iBAAiB;AACrB,IAAA,GAAG,EAAE,iBAAiB;AACtB,IAAA,GAAG,EAAE,iBAAiB;;AAGnB,IAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;AAE9E,IAAA,qBAAqB,GAAG;AACjC,IAAA,EAAE,EAAE,SAAS;AACb,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,EAAE,EAAE,UAAU;AACd,IAAA,GAAG,EAAE,UAAU;AACf,IAAA,EAAE,EAAE,SAAS;AACb,IAAA,EAAE,EAAE,SAAS;AACb,IAAA,EAAE,EAAE,SAAS;AACb,IAAA,EAAE,EAAE,SAAS;AACb,IAAA,EAAE,EAAE,SAAS;AACb,IAAA,GAAG,EAAE,UAAU;AACf,IAAA,GAAG,EAAE,UAAU;;AAGZ,IAAM,kBAAkB,GAAG;AAE3B,IAAM,eAAe,GAAG;AACxB,IAAM,eAAe,GAAG;;;;"}
|
|
1
|
+
{"version":3,"file":"consts.js","sources":["../src/consts.ts"],"sourcesContent":["export const SIZES = {\n xs: 24,\n s: 48,\n m: 64,\n l: 80,\n xl: 128,\n xxl: 144,\n 16: 16,\n 24: 24,\n 48: 48,\n 64: 64,\n 80: 80,\n 96: 96,\n 128: 128,\n 144: 144,\n};\n\nexport const STROKE = {\n xs: 4,\n s: 4,\n m: 6,\n l: 8,\n xl: 10,\n xxl: 12,\n 16: 2,\n 24: 4,\n 48: 4,\n 64: 6,\n 80: 8,\n 96: 8,\n 128: 10,\n 144: 12,\n};\n\nexport const VIEW_TITLE = {\n xs: 'small',\n s: 'small',\n m: 'small',\n l: 'xsmall',\n xl: 'medium',\n xxl: 'medium',\n 16: 'small',\n 24: 'small',\n 48: 'small',\n 64: 'small',\n 80: 'xsmall',\n 96: 'xsmall',\n 128: 'medium',\n 144: 'medium',\n} as const;\n\nexport const VIEW_TEXT = {\n xs: 'secondary-small',\n s: 'secondary-small',\n m: 'secondary-large',\n l: 'secondary-large',\n xl: 'secondary-large',\n xxl: 'secondary-large',\n 16: 'secondary-small',\n 24: 'secondary-small',\n 48: 'secondary-small',\n 64: 'secondary-large',\n 80: 'secondary-large',\n 96: 'secondary-large',\n 128: 'secondary-large',\n 144: 'secondary-large',\n} as const;\n\nexport const TYPOGRAPHY_COLOR = ['primary', 'secondary', 'tertiary', 'positive', 'negative'];\n\nexport const SIZE_TO_CLASSNAME_MAP = {\n xs: 'size-24',\n s: 'size-48',\n m: 'size-64',\n l: 'size-80',\n xl: 'size-128',\n xxl: 'size-144',\n 16: 'size-16',\n 24: 'size-24',\n 48: 'size-48',\n 64: 'size-64',\n 80: 'size-80',\n 96: 'size-96',\n 128: 'size-128',\n 144: 'size-144',\n};\n\nexport const MAX_PROGRESS_VALUE = 100;\n\nexport const MIN_TIMER_VALUE = 0;\nexport const MAX_TIMER_VALUE = 3599;\n"],"names":[],"mappings":"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"}
|
package/esm/index.css
CHANGED
|
@@ -19,35 +19,35 @@
|
|
|
19
19
|
--circular-progress-bar-positive-color: var(--color-light-status-positive);
|
|
20
20
|
--circular-progress-bar-negative-color: var(--color-light-status-negative);
|
|
21
21
|
}
|
|
22
|
-
.circular-progress-
|
|
22
|
+
.circular-progress-bar__component_1l6t3 {
|
|
23
23
|
position: relative;
|
|
24
24
|
display: flex;
|
|
25
25
|
justify-content: center;
|
|
26
26
|
align-items: center;
|
|
27
27
|
border-radius: var(--border-radius-pill);
|
|
28
28
|
}
|
|
29
|
-
.circular-progress-
|
|
29
|
+
.circular-progress-bar__component_1l6t3.circular-progress-bar__bg-positive_1l6t3 {
|
|
30
30
|
background: var(--circular-progress-bar-positive-color);
|
|
31
31
|
}
|
|
32
|
-
.circular-progress-
|
|
32
|
+
.circular-progress-bar__component_1l6t3.circular-progress-bar__bg-negative_1l6t3 {
|
|
33
33
|
background: var(--circular-progress-bar-negative-color);
|
|
34
34
|
}
|
|
35
|
-
.circular-progress-
|
|
35
|
+
.circular-progress-bar__svg_1l6t3 {
|
|
36
36
|
display: block;
|
|
37
37
|
width: 100%;
|
|
38
38
|
}
|
|
39
|
-
.circular-progress-
|
|
40
|
-
.circular-progress-
|
|
39
|
+
.circular-progress-bar__title_1l6t3,
|
|
40
|
+
.circular-progress-bar__subtitle_1l6t3 {
|
|
41
41
|
overflow: hidden;
|
|
42
42
|
word-break: break-word;
|
|
43
43
|
white-space: nowrap;
|
|
44
44
|
text-overflow: ellipsis;
|
|
45
45
|
margin: var(--gap-0) var(--gap-6);
|
|
46
46
|
}
|
|
47
|
-
.circular-progress-
|
|
47
|
+
.circular-progress-bar__subtitle_1l6t3 {
|
|
48
48
|
max-height: 40px;
|
|
49
49
|
}
|
|
50
|
-
.circular-progress-
|
|
50
|
+
.circular-progress-bar__labelWrapper_1l6t3 {
|
|
51
51
|
text-align: center;
|
|
52
52
|
position: absolute;
|
|
53
53
|
top: 50%;
|
|
@@ -55,153 +55,160 @@
|
|
|
55
55
|
width: 100%;
|
|
56
56
|
transform: translate(-50%, -50%);
|
|
57
57
|
}
|
|
58
|
-
.circular-progress-
|
|
58
|
+
.circular-progress-bar__labelWrapper_1l6t3.circular-progress-bar__label_1l6t3 {
|
|
59
59
|
display: flex;
|
|
60
60
|
align-items: center;
|
|
61
61
|
justify-content: center;
|
|
62
62
|
}
|
|
63
|
-
.circular-progress-bar__size-
|
|
63
|
+
.circular-progress-bar__size-144_1l6t3 {
|
|
64
64
|
width: 144px;
|
|
65
65
|
height: 144px;
|
|
66
66
|
}
|
|
67
|
-
.circular-progress-bar__size-
|
|
67
|
+
.circular-progress-bar__size-144_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
68
68
|
max-width: 128px;
|
|
69
69
|
}
|
|
70
|
-
.circular-progress-bar__size-
|
|
70
|
+
.circular-progress-bar__size-144_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
71
71
|
max-height: 32px;
|
|
72
72
|
}
|
|
73
|
-
.circular-progress-bar__size-
|
|
73
|
+
.circular-progress-bar__size-128_1l6t3 {
|
|
74
74
|
width: 128px;
|
|
75
75
|
height: 128px;
|
|
76
76
|
}
|
|
77
|
-
.circular-progress-bar__size-
|
|
77
|
+
.circular-progress-bar__size-128_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
78
78
|
max-width: 108px;
|
|
79
79
|
}
|
|
80
|
-
.circular-progress-bar__size-
|
|
80
|
+
.circular-progress-bar__size-128_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
81
81
|
max-height: 32px;
|
|
82
82
|
}
|
|
83
|
-
.circular-progress-bar__size-
|
|
83
|
+
.circular-progress-bar__size-96_1l6t3 {
|
|
84
84
|
width: 96px;
|
|
85
85
|
height: 96px;
|
|
86
86
|
}
|
|
87
|
-
.circular-progress-bar__size-
|
|
87
|
+
.circular-progress-bar__size-96_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
88
88
|
max-width: 64px;
|
|
89
89
|
}
|
|
90
|
-
.circular-progress-bar__size-
|
|
90
|
+
.circular-progress-bar__size-96_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
91
91
|
max-height: 20px;
|
|
92
92
|
}
|
|
93
|
-
.circular-progress-bar__size-
|
|
93
|
+
.circular-progress-bar__size-80_1l6t3 {
|
|
94
94
|
width: 80px;
|
|
95
95
|
height: 80px;
|
|
96
96
|
}
|
|
97
|
-
.circular-progress-bar__size-
|
|
97
|
+
.circular-progress-bar__size-80_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
98
98
|
max-width: 64px;
|
|
99
99
|
}
|
|
100
|
-
.circular-progress-bar__size-
|
|
100
|
+
.circular-progress-bar__size-80_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
101
101
|
max-height: 24px;
|
|
102
102
|
}
|
|
103
|
-
.circular-progress-bar__size-
|
|
103
|
+
.circular-progress-bar__size-64_1l6t3 {
|
|
104
104
|
width: 64px;
|
|
105
105
|
height: 64px;
|
|
106
106
|
}
|
|
107
|
-
.circular-progress-bar__size-
|
|
107
|
+
.circular-progress-bar__size-64_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
108
108
|
max-width: 48px;
|
|
109
109
|
}
|
|
110
|
-
.circular-progress-bar__size-
|
|
110
|
+
.circular-progress-bar__size-64_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
111
111
|
max-height: 16px;
|
|
112
112
|
margin: var(--gap-0);
|
|
113
113
|
}
|
|
114
|
-
.circular-progress-bar__size-
|
|
114
|
+
.circular-progress-bar__size-48_1l6t3 {
|
|
115
115
|
width: 48px;
|
|
116
116
|
height: 48px;
|
|
117
117
|
}
|
|
118
|
-
.circular-progress-bar__size-
|
|
118
|
+
.circular-progress-bar__size-48_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
119
119
|
max-width: 40px;
|
|
120
120
|
}
|
|
121
|
-
.circular-progress-bar__size-
|
|
121
|
+
.circular-progress-bar__size-48_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
122
122
|
max-height: 16px;
|
|
123
123
|
margin: var(--gap-0);
|
|
124
124
|
}
|
|
125
|
-
.circular-progress-bar__size-
|
|
125
|
+
.circular-progress-bar__size-24_1l6t3 {
|
|
126
126
|
width: 24px;
|
|
127
127
|
height: 24px;
|
|
128
128
|
}
|
|
129
|
-
.circular-progress-bar__size-
|
|
129
|
+
.circular-progress-bar__size-24_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
130
130
|
max-width: 24px;
|
|
131
131
|
}
|
|
132
|
-
.circular-progress-
|
|
133
|
-
|
|
132
|
+
.circular-progress-bar__size-16_1l6t3 {
|
|
133
|
+
width: 16px;
|
|
134
|
+
height: 16px;
|
|
135
|
+
}
|
|
136
|
+
.circular-progress-bar__size-16_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
137
|
+
max-width: 16px;
|
|
138
|
+
}
|
|
139
|
+
.circular-progress-bar__backgroundCircle_1l6t3,
|
|
140
|
+
.circular-progress-bar__progressCircle_1l6t3 {
|
|
134
141
|
width: 100%;
|
|
135
142
|
height: 100%;
|
|
136
143
|
fill: transparent;
|
|
137
144
|
}
|
|
138
|
-
.circular-progress-
|
|
145
|
+
.circular-progress-bar__positive_1l6t3 {
|
|
139
146
|
stroke: var(--circular-progress-bar-positive-color);
|
|
140
147
|
}
|
|
141
|
-
.circular-progress-
|
|
148
|
+
.circular-progress-bar__negative_1l6t3 {
|
|
142
149
|
stroke: var(--circular-progress-bar-negative-color);
|
|
143
150
|
}
|
|
144
|
-
.circular-progress-
|
|
151
|
+
.circular-progress-bar__backgroundCircle_1l6t3 {
|
|
145
152
|
stroke: var(--circular-progress-bar-stroke-color);
|
|
146
153
|
}
|
|
147
|
-
.circular-progress-
|
|
154
|
+
.circular-progress-bar__backgroundCircle_1l6t3.circular-progress-bar__stroke_1l6t3 {
|
|
148
155
|
stroke: transparent;
|
|
149
156
|
}
|
|
150
|
-
.circular-progress-
|
|
157
|
+
.circular-progress-bar__progressCircle_1l6t3 {
|
|
151
158
|
stroke-linecap: round;
|
|
152
159
|
}
|
|
153
|
-
.circular-progress-
|
|
160
|
+
.circular-progress-bar__iconWrapper_1l6t3 {
|
|
154
161
|
display: flex;
|
|
155
162
|
align-items: center;
|
|
156
163
|
justify-content: center;
|
|
157
164
|
}
|
|
158
|
-
.circular-progress-
|
|
165
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-144_1l6t3 {
|
|
159
166
|
max-width: 64px;
|
|
160
167
|
max-height: 64px;
|
|
161
168
|
}
|
|
162
|
-
.circular-progress-
|
|
169
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-128_1l6t3 {
|
|
163
170
|
max-width: 64px;
|
|
164
171
|
max-height: 64px;
|
|
165
172
|
}
|
|
166
|
-
.circular-progress-
|
|
173
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-96_1l6t3 {
|
|
167
174
|
max-width: 48px;
|
|
168
175
|
max-height: 48px;
|
|
169
176
|
}
|
|
170
|
-
.circular-progress-
|
|
177
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-80_1l6t3 {
|
|
171
178
|
max-width: 48px;
|
|
172
179
|
max-height: 48px;
|
|
173
180
|
}
|
|
174
|
-
.circular-progress-
|
|
181
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-64_1l6t3 {
|
|
175
182
|
max-width: 36px;
|
|
176
183
|
max-height: 36px;
|
|
177
184
|
}
|
|
178
|
-
.circular-progress-
|
|
185
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-48_1l6t3 {
|
|
179
186
|
max-width: 24px;
|
|
180
187
|
max-height: 24px;
|
|
181
188
|
}
|
|
182
|
-
.circular-progress-
|
|
189
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-24_1l6t3 {
|
|
183
190
|
max-width: 16px;
|
|
184
191
|
max-height: 16px;
|
|
185
192
|
}
|
|
186
|
-
.circular-progress-
|
|
193
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-tertiary_1l6t3 {
|
|
187
194
|
color: var(--color-light-neutral-500);
|
|
188
195
|
}
|
|
189
|
-
.circular-progress-
|
|
196
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-positive_1l6t3 {
|
|
190
197
|
color: var(--color-light-status-positive);
|
|
191
198
|
}
|
|
192
|
-
.circular-progress-
|
|
199
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-negative_1l6t3 {
|
|
193
200
|
color: var(--color-light-status-negative);
|
|
194
201
|
}
|
|
195
|
-
.circular-progress-
|
|
202
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-primary-inverted_1l6t3 {
|
|
196
203
|
color: var(--color-light-neutral-translucent-1300-inverted);
|
|
197
204
|
}
|
|
198
|
-
.circular-progress-
|
|
205
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-primary_1l6t3 {
|
|
199
206
|
color: var(--color-light-neutral-translucent-1300);
|
|
200
207
|
}
|
|
201
|
-
.circular-progress-
|
|
208
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-secondary_1l6t3 {
|
|
202
209
|
color: var(--color-light-neutral-700);
|
|
203
210
|
}
|
|
204
|
-
.circular-progress-
|
|
211
|
+
.circular-progress-bar__icon_1l6t3 {
|
|
205
212
|
width: 100%;
|
|
206
213
|
height: 100%;
|
|
207
214
|
}
|
package/esm/index.module.css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"circular-progress-
|
|
3
|
+
var styles = {"component":"circular-progress-bar__component_1l6t3","bg-positive":"circular-progress-bar__bg-positive_1l6t3","bg-negative":"circular-progress-bar__bg-negative_1l6t3","svg":"circular-progress-bar__svg_1l6t3","title":"circular-progress-bar__title_1l6t3","subtitle":"circular-progress-bar__subtitle_1l6t3","labelWrapper":"circular-progress-bar__labelWrapper_1l6t3","label":"circular-progress-bar__label_1l6t3","size-144":"circular-progress-bar__size-144_1l6t3","size-128":"circular-progress-bar__size-128_1l6t3","size-96":"circular-progress-bar__size-96_1l6t3","size-80":"circular-progress-bar__size-80_1l6t3","size-64":"circular-progress-bar__size-64_1l6t3","size-48":"circular-progress-bar__size-48_1l6t3","size-24":"circular-progress-bar__size-24_1l6t3","size-16":"circular-progress-bar__size-16_1l6t3","backgroundCircle":"circular-progress-bar__backgroundCircle_1l6t3","progressCircle":"circular-progress-bar__progressCircle_1l6t3","positive":"circular-progress-bar__positive_1l6t3","negative":"circular-progress-bar__negative_1l6t3","stroke":"circular-progress-bar__stroke_1l6t3","iconWrapper":"circular-progress-bar__iconWrapper_1l6t3","icon-tertiary":"circular-progress-bar__icon-tertiary_1l6t3","icon-positive":"circular-progress-bar__icon-positive_1l6t3","icon-negative":"circular-progress-bar__icon-negative_1l6t3","icon-primary-inverted":"circular-progress-bar__icon-primary-inverted_1l6t3","icon-primary":"circular-progress-bar__icon-primary_1l6t3","icon-secondary":"circular-progress-bar__icon-secondary_1l6t3","icon":"circular-progress-bar__icon_1l6t3"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n /* stroke */\n --circular-progress-bar-stroke-color: var(--color-light-neutral-translucent-300);\n\n /* positive */\n --circular-progress-bar-positive-color: var(--color-light-status-positive);\n\n /* negative */\n --circular-progress-bar-negative-color: var(--color-light-status-negative);\n}\n\n.component {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: var(--border-radius-pill);\n\n &.bg-positive {\n background: var(--circular-progress-bar-positive-color);\n }\n\n &.bg-negative {\n background: var(--circular-progress-bar-negative-color);\n }\n}\n\n.svg {\n display: block;\n width: 100%;\n}\n\n.title,\n.subtitle {\n overflow: hidden;\n word-break: break-word;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin: var(--gap-0) var(--gap-6);\n}\n\n.subtitle {\n max-height: 40px;\n}\n\n.labelWrapper {\n text-align: center;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n transform: translate(-50%, -50%);\n\n &.label {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n}\n\n.size-144 {\n width: 144px;\n height: 144px;\n\n & .labelWrapper {\n max-width: 128px;\n }\n\n & .title {\n max-height: 32px;\n }\n}\n\n.size-128 {\n width: 128px;\n height: 128px;\n\n & .labelWrapper {\n max-width: 108px;\n }\n\n & .title {\n max-height: 32px;\n }\n}\n\n.size-96 {\n width: 96px;\n height: 96px;\n\n & .labelWrapper {\n max-width: 64px;\n }\n\n & .title {\n max-height: 20px;\n }\n}\n\n.size-80 {\n width: 80px;\n height: 80px;\n\n & .labelWrapper {\n max-width: 64px;\n }\n\n & .title {\n max-height: 24px;\n }\n}\n\n.size-64 {\n width: 64px;\n height: 64px;\n\n & .labelWrapper {\n max-width: 48px;\n }\n\n & .title {\n max-height: 16px;\n margin: var(--gap-0);\n }\n}\n\n.size-48 {\n width: 48px;\n height: 48px;\n\n & .labelWrapper {\n max-width: 40px;\n }\n\n & .title {\n max-height: 16px;\n margin: var(--gap-0);\n }\n}\n\n.size-24 {\n width: 24px;\n height: 24px;\n\n & .labelWrapper {\n max-width: 24px;\n }\n}\n\n.backgroundCircle,\n.progressCircle {\n width: 100%;\n height: 100%;\n fill: transparent;\n}\n\n.positive {\n stroke: var(--circular-progress-bar-positive-color);\n}\n\n.negative {\n stroke: var(--circular-progress-bar-negative-color);\n}\n\n.backgroundCircle {\n stroke: var(--circular-progress-bar-stroke-color);\n\n &.stroke {\n stroke: transparent;\n }\n}\n\n.progressCircle {\n stroke-linecap: round;\n}\n\n.iconWrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n\n &.size-144 {\n max-width: 64px;\n max-height: 64px;\n }\n\n &.size-128 {\n max-width: 64px;\n max-height: 64px;\n }\n\n &.size-96 {\n max-width: 48px;\n max-height: 48px;\n }\n\n &.size-80 {\n max-width: 48px;\n max-height: 48px;\n }\n\n &.size-64 {\n max-width: 36px;\n max-height: 36px;\n }\n\n &.size-48 {\n max-width: 24px;\n max-height: 24px;\n }\n\n &.size-24 {\n max-width: 16px;\n max-height: 16px;\n }\n\n &.icon-tertiary {\n color: var(--color-light-neutral-500);\n }\n\n &.icon-positive {\n color: var(--color-light-status-positive);\n }\n\n &.icon-negative {\n color: var(--color-light-status-negative);\n }\n\n &.icon-primary-inverted {\n color: var(--color-light-neutral-translucent-1300-inverted);\n }\n\n &.icon-primary {\n color: var(--color-light-neutral-translucent-1300);\n }\n\n &.icon-secondary {\n color: var(--color-light-neutral-700);\n }\n}\n\n.icon {\n width: 100%;\n height: 100%;\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,wCAAwC,CAAC,aAAa,CAAC,0CAA0C,CAAC,aAAa,CAAC,0CAA0C,CAAC,KAAK,CAAC,kCAAkC,CAAC,OAAO,CAAC,oCAAoC,CAAC,UAAU,CAAC,uCAAuC,CAAC,cAAc,CAAC,2CAA2C,CAAC,OAAO,CAAC,oCAAoC,CAAC,UAAU,CAAC,uCAAuC,CAAC,UAAU,CAAC,uCAAuC,CAAC,SAAS,CAAC,sCAAsC,CAAC,SAAS,CAAC,sCAAsC,CAAC,SAAS,CAAC,sCAAsC,CAAC,SAAS,CAAC,sCAAsC,CAAC,SAAS,CAAC,sCAAsC,CAAC,kBAAkB,CAAC,+CAA+C,CAAC,gBAAgB,CAAC,6CAA6C,CAAC,UAAU,CAAC,uCAAuC,CAAC,UAAU,CAAC,uCAAuC,CAAC,QAAQ,CAAC,qCAAqC,CAAC,aAAa,CAAC,0CAA0C,CAAC,eAAe,CAAC,4CAA4C,CAAC,eAAe,CAAC,4CAA4C,CAAC,eAAe,CAAC,4CAA4C,CAAC,uBAAuB,CAAC,oDAAoD,CAAC,cAAc,CAAC,2CAA2C,CAAC,gBAAgB,CAAC,6CAA6C,CAAC,MAAM,CAAC,mCAAmC,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n /* stroke */\n --circular-progress-bar-stroke-color: var(--color-light-neutral-translucent-300);\n\n /* positive */\n --circular-progress-bar-positive-color: var(--color-light-status-positive);\n\n /* negative */\n --circular-progress-bar-negative-color: var(--color-light-status-negative);\n}\n\n.component {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: var(--border-radius-pill);\n\n &.bg-positive {\n background: var(--circular-progress-bar-positive-color);\n }\n\n &.bg-negative {\n background: var(--circular-progress-bar-negative-color);\n }\n}\n\n.svg {\n display: block;\n width: 100%;\n}\n\n.title,\n.subtitle {\n overflow: hidden;\n word-break: break-word;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin: var(--gap-0) var(--gap-6);\n}\n\n.subtitle {\n max-height: 40px;\n}\n\n.labelWrapper {\n text-align: center;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n transform: translate(-50%, -50%);\n\n &.label {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n}\n\n.size-144 {\n width: 144px;\n height: 144px;\n\n & .labelWrapper {\n max-width: 128px;\n }\n\n & .title {\n max-height: 32px;\n }\n}\n\n.size-128 {\n width: 128px;\n height: 128px;\n\n & .labelWrapper {\n max-width: 108px;\n }\n\n & .title {\n max-height: 32px;\n }\n}\n\n.size-96 {\n width: 96px;\n height: 96px;\n\n & .labelWrapper {\n max-width: 64px;\n }\n\n & .title {\n max-height: 20px;\n }\n}\n\n.size-80 {\n width: 80px;\n height: 80px;\n\n & .labelWrapper {\n max-width: 64px;\n }\n\n & .title {\n max-height: 24px;\n }\n}\n\n.size-64 {\n width: 64px;\n height: 64px;\n\n & .labelWrapper {\n max-width: 48px;\n }\n\n & .title {\n max-height: 16px;\n margin: var(--gap-0);\n }\n}\n\n.size-48 {\n width: 48px;\n height: 48px;\n\n & .labelWrapper {\n max-width: 40px;\n }\n\n & .title {\n max-height: 16px;\n margin: var(--gap-0);\n }\n}\n\n.size-24 {\n width: 24px;\n height: 24px;\n\n & .labelWrapper {\n max-width: 24px;\n }\n}\n\n.size-16 {\n width: 16px;\n height: 16px;\n\n & .labelWrapper {\n max-width: 16px;\n }\n}\n\n.backgroundCircle,\n.progressCircle {\n width: 100%;\n height: 100%;\n fill: transparent;\n}\n\n.positive {\n stroke: var(--circular-progress-bar-positive-color);\n}\n\n.negative {\n stroke: var(--circular-progress-bar-negative-color);\n}\n\n.backgroundCircle {\n stroke: var(--circular-progress-bar-stroke-color);\n\n &.stroke {\n stroke: transparent;\n }\n}\n\n.progressCircle {\n stroke-linecap: round;\n}\n\n.iconWrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n\n &.size-144 {\n max-width: 64px;\n max-height: 64px;\n }\n\n &.size-128 {\n max-width: 64px;\n max-height: 64px;\n }\n\n &.size-96 {\n max-width: 48px;\n max-height: 48px;\n }\n\n &.size-80 {\n max-width: 48px;\n max-height: 48px;\n }\n\n &.size-64 {\n max-width: 36px;\n max-height: 36px;\n }\n\n &.size-48 {\n max-width: 24px;\n max-height: 24px;\n }\n\n &.size-24 {\n max-width: 16px;\n max-height: 16px;\n }\n\n &.icon-tertiary {\n color: var(--color-light-neutral-500);\n }\n\n &.icon-positive {\n color: var(--color-light-status-positive);\n }\n\n &.icon-negative {\n color: var(--color-light-status-negative);\n }\n\n &.icon-primary-inverted {\n color: var(--color-light-neutral-translucent-1300-inverted);\n }\n\n &.icon-primary {\n color: var(--color-light-neutral-translucent-1300);\n }\n\n &.icon-secondary {\n color: var(--color-light-neutral-700);\n }\n}\n\n.icon {\n width: 100%;\n height: 100%;\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,wCAAwC,CAAC,aAAa,CAAC,0CAA0C,CAAC,aAAa,CAAC,0CAA0C,CAAC,KAAK,CAAC,kCAAkC,CAAC,OAAO,CAAC,oCAAoC,CAAC,UAAU,CAAC,uCAAuC,CAAC,cAAc,CAAC,2CAA2C,CAAC,OAAO,CAAC,oCAAoC,CAAC,UAAU,CAAC,uCAAuC,CAAC,UAAU,CAAC,uCAAuC,CAAC,SAAS,CAAC,sCAAsC,CAAC,SAAS,CAAC,sCAAsC,CAAC,SAAS,CAAC,sCAAsC,CAAC,SAAS,CAAC,sCAAsC,CAAC,SAAS,CAAC,sCAAsC,CAAC,SAAS,CAAC,sCAAsC,CAAC,kBAAkB,CAAC,+CAA+C,CAAC,gBAAgB,CAAC,6CAA6C,CAAC,UAAU,CAAC,uCAAuC,CAAC,UAAU,CAAC,uCAAuC,CAAC,QAAQ,CAAC,qCAAqC,CAAC,aAAa,CAAC,0CAA0C,CAAC,eAAe,CAAC,4CAA4C,CAAC,eAAe,CAAC,4CAA4C,CAAC,eAAe,CAAC,4CAA4C,CAAC,uBAAuB,CAAC,oDAAoD,CAAC,cAAc,CAAC,2CAA2C,CAAC,gBAAgB,CAAC,6CAA6C,CAAC,MAAM,CAAC,mCAAmC,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ComponentSize = 24 | 48 | 64 | 80 | 128 | 144;
|
|
1
|
+
export type ComponentSize = 16 | 24 | 48 | 64 | 80 | 128 | 144;
|
package/index.css
CHANGED
|
@@ -19,35 +19,35 @@
|
|
|
19
19
|
--circular-progress-bar-positive-color: var(--color-light-status-positive);
|
|
20
20
|
--circular-progress-bar-negative-color: var(--color-light-status-negative);
|
|
21
21
|
}
|
|
22
|
-
.circular-progress-
|
|
22
|
+
.circular-progress-bar__component_1l6t3 {
|
|
23
23
|
position: relative;
|
|
24
24
|
display: flex;
|
|
25
25
|
justify-content: center;
|
|
26
26
|
align-items: center;
|
|
27
27
|
border-radius: var(--border-radius-pill);
|
|
28
28
|
}
|
|
29
|
-
.circular-progress-
|
|
29
|
+
.circular-progress-bar__component_1l6t3.circular-progress-bar__bg-positive_1l6t3 {
|
|
30
30
|
background: var(--circular-progress-bar-positive-color);
|
|
31
31
|
}
|
|
32
|
-
.circular-progress-
|
|
32
|
+
.circular-progress-bar__component_1l6t3.circular-progress-bar__bg-negative_1l6t3 {
|
|
33
33
|
background: var(--circular-progress-bar-negative-color);
|
|
34
34
|
}
|
|
35
|
-
.circular-progress-
|
|
35
|
+
.circular-progress-bar__svg_1l6t3 {
|
|
36
36
|
display: block;
|
|
37
37
|
width: 100%;
|
|
38
38
|
}
|
|
39
|
-
.circular-progress-
|
|
40
|
-
.circular-progress-
|
|
39
|
+
.circular-progress-bar__title_1l6t3,
|
|
40
|
+
.circular-progress-bar__subtitle_1l6t3 {
|
|
41
41
|
overflow: hidden;
|
|
42
42
|
word-break: break-word;
|
|
43
43
|
white-space: nowrap;
|
|
44
44
|
text-overflow: ellipsis;
|
|
45
45
|
margin: var(--gap-0) var(--gap-6);
|
|
46
46
|
}
|
|
47
|
-
.circular-progress-
|
|
47
|
+
.circular-progress-bar__subtitle_1l6t3 {
|
|
48
48
|
max-height: 40px;
|
|
49
49
|
}
|
|
50
|
-
.circular-progress-
|
|
50
|
+
.circular-progress-bar__labelWrapper_1l6t3 {
|
|
51
51
|
text-align: center;
|
|
52
52
|
position: absolute;
|
|
53
53
|
top: 50%;
|
|
@@ -55,153 +55,160 @@
|
|
|
55
55
|
width: 100%;
|
|
56
56
|
transform: translate(-50%, -50%);
|
|
57
57
|
}
|
|
58
|
-
.circular-progress-
|
|
58
|
+
.circular-progress-bar__labelWrapper_1l6t3.circular-progress-bar__label_1l6t3 {
|
|
59
59
|
display: flex;
|
|
60
60
|
align-items: center;
|
|
61
61
|
justify-content: center;
|
|
62
62
|
}
|
|
63
|
-
.circular-progress-bar__size-
|
|
63
|
+
.circular-progress-bar__size-144_1l6t3 {
|
|
64
64
|
width: 144px;
|
|
65
65
|
height: 144px;
|
|
66
66
|
}
|
|
67
|
-
.circular-progress-bar__size-
|
|
67
|
+
.circular-progress-bar__size-144_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
68
68
|
max-width: 128px;
|
|
69
69
|
}
|
|
70
|
-
.circular-progress-bar__size-
|
|
70
|
+
.circular-progress-bar__size-144_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
71
71
|
max-height: 32px;
|
|
72
72
|
}
|
|
73
|
-
.circular-progress-bar__size-
|
|
73
|
+
.circular-progress-bar__size-128_1l6t3 {
|
|
74
74
|
width: 128px;
|
|
75
75
|
height: 128px;
|
|
76
76
|
}
|
|
77
|
-
.circular-progress-bar__size-
|
|
77
|
+
.circular-progress-bar__size-128_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
78
78
|
max-width: 108px;
|
|
79
79
|
}
|
|
80
|
-
.circular-progress-bar__size-
|
|
80
|
+
.circular-progress-bar__size-128_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
81
81
|
max-height: 32px;
|
|
82
82
|
}
|
|
83
|
-
.circular-progress-bar__size-
|
|
83
|
+
.circular-progress-bar__size-96_1l6t3 {
|
|
84
84
|
width: 96px;
|
|
85
85
|
height: 96px;
|
|
86
86
|
}
|
|
87
|
-
.circular-progress-bar__size-
|
|
87
|
+
.circular-progress-bar__size-96_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
88
88
|
max-width: 64px;
|
|
89
89
|
}
|
|
90
|
-
.circular-progress-bar__size-
|
|
90
|
+
.circular-progress-bar__size-96_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
91
91
|
max-height: 20px;
|
|
92
92
|
}
|
|
93
|
-
.circular-progress-bar__size-
|
|
93
|
+
.circular-progress-bar__size-80_1l6t3 {
|
|
94
94
|
width: 80px;
|
|
95
95
|
height: 80px;
|
|
96
96
|
}
|
|
97
|
-
.circular-progress-bar__size-
|
|
97
|
+
.circular-progress-bar__size-80_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
98
98
|
max-width: 64px;
|
|
99
99
|
}
|
|
100
|
-
.circular-progress-bar__size-
|
|
100
|
+
.circular-progress-bar__size-80_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
101
101
|
max-height: 24px;
|
|
102
102
|
}
|
|
103
|
-
.circular-progress-bar__size-
|
|
103
|
+
.circular-progress-bar__size-64_1l6t3 {
|
|
104
104
|
width: 64px;
|
|
105
105
|
height: 64px;
|
|
106
106
|
}
|
|
107
|
-
.circular-progress-bar__size-
|
|
107
|
+
.circular-progress-bar__size-64_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
108
108
|
max-width: 48px;
|
|
109
109
|
}
|
|
110
|
-
.circular-progress-bar__size-
|
|
110
|
+
.circular-progress-bar__size-64_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
111
111
|
max-height: 16px;
|
|
112
112
|
margin: var(--gap-0);
|
|
113
113
|
}
|
|
114
|
-
.circular-progress-bar__size-
|
|
114
|
+
.circular-progress-bar__size-48_1l6t3 {
|
|
115
115
|
width: 48px;
|
|
116
116
|
height: 48px;
|
|
117
117
|
}
|
|
118
|
-
.circular-progress-bar__size-
|
|
118
|
+
.circular-progress-bar__size-48_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
119
119
|
max-width: 40px;
|
|
120
120
|
}
|
|
121
|
-
.circular-progress-bar__size-
|
|
121
|
+
.circular-progress-bar__size-48_1l6t3 .circular-progress-bar__title_1l6t3 {
|
|
122
122
|
max-height: 16px;
|
|
123
123
|
margin: var(--gap-0);
|
|
124
124
|
}
|
|
125
|
-
.circular-progress-bar__size-
|
|
125
|
+
.circular-progress-bar__size-24_1l6t3 {
|
|
126
126
|
width: 24px;
|
|
127
127
|
height: 24px;
|
|
128
128
|
}
|
|
129
|
-
.circular-progress-bar__size-
|
|
129
|
+
.circular-progress-bar__size-24_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
130
130
|
max-width: 24px;
|
|
131
131
|
}
|
|
132
|
-
.circular-progress-
|
|
133
|
-
|
|
132
|
+
.circular-progress-bar__size-16_1l6t3 {
|
|
133
|
+
width: 16px;
|
|
134
|
+
height: 16px;
|
|
135
|
+
}
|
|
136
|
+
.circular-progress-bar__size-16_1l6t3 .circular-progress-bar__labelWrapper_1l6t3 {
|
|
137
|
+
max-width: 16px;
|
|
138
|
+
}
|
|
139
|
+
.circular-progress-bar__backgroundCircle_1l6t3,
|
|
140
|
+
.circular-progress-bar__progressCircle_1l6t3 {
|
|
134
141
|
width: 100%;
|
|
135
142
|
height: 100%;
|
|
136
143
|
fill: transparent;
|
|
137
144
|
}
|
|
138
|
-
.circular-progress-
|
|
145
|
+
.circular-progress-bar__positive_1l6t3 {
|
|
139
146
|
stroke: var(--circular-progress-bar-positive-color);
|
|
140
147
|
}
|
|
141
|
-
.circular-progress-
|
|
148
|
+
.circular-progress-bar__negative_1l6t3 {
|
|
142
149
|
stroke: var(--circular-progress-bar-negative-color);
|
|
143
150
|
}
|
|
144
|
-
.circular-progress-
|
|
151
|
+
.circular-progress-bar__backgroundCircle_1l6t3 {
|
|
145
152
|
stroke: var(--circular-progress-bar-stroke-color);
|
|
146
153
|
}
|
|
147
|
-
.circular-progress-
|
|
154
|
+
.circular-progress-bar__backgroundCircle_1l6t3.circular-progress-bar__stroke_1l6t3 {
|
|
148
155
|
stroke: transparent;
|
|
149
156
|
}
|
|
150
|
-
.circular-progress-
|
|
157
|
+
.circular-progress-bar__progressCircle_1l6t3 {
|
|
151
158
|
stroke-linecap: round;
|
|
152
159
|
}
|
|
153
|
-
.circular-progress-
|
|
160
|
+
.circular-progress-bar__iconWrapper_1l6t3 {
|
|
154
161
|
display: flex;
|
|
155
162
|
align-items: center;
|
|
156
163
|
justify-content: center;
|
|
157
164
|
}
|
|
158
|
-
.circular-progress-
|
|
165
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-144_1l6t3 {
|
|
159
166
|
max-width: 64px;
|
|
160
167
|
max-height: 64px;
|
|
161
168
|
}
|
|
162
|
-
.circular-progress-
|
|
169
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-128_1l6t3 {
|
|
163
170
|
max-width: 64px;
|
|
164
171
|
max-height: 64px;
|
|
165
172
|
}
|
|
166
|
-
.circular-progress-
|
|
173
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-96_1l6t3 {
|
|
167
174
|
max-width: 48px;
|
|
168
175
|
max-height: 48px;
|
|
169
176
|
}
|
|
170
|
-
.circular-progress-
|
|
177
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-80_1l6t3 {
|
|
171
178
|
max-width: 48px;
|
|
172
179
|
max-height: 48px;
|
|
173
180
|
}
|
|
174
|
-
.circular-progress-
|
|
181
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-64_1l6t3 {
|
|
175
182
|
max-width: 36px;
|
|
176
183
|
max-height: 36px;
|
|
177
184
|
}
|
|
178
|
-
.circular-progress-
|
|
185
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-48_1l6t3 {
|
|
179
186
|
max-width: 24px;
|
|
180
187
|
max-height: 24px;
|
|
181
188
|
}
|
|
182
|
-
.circular-progress-
|
|
189
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__size-24_1l6t3 {
|
|
183
190
|
max-width: 16px;
|
|
184
191
|
max-height: 16px;
|
|
185
192
|
}
|
|
186
|
-
.circular-progress-
|
|
193
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-tertiary_1l6t3 {
|
|
187
194
|
color: var(--color-light-neutral-500);
|
|
188
195
|
}
|
|
189
|
-
.circular-progress-
|
|
196
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-positive_1l6t3 {
|
|
190
197
|
color: var(--color-light-status-positive);
|
|
191
198
|
}
|
|
192
|
-
.circular-progress-
|
|
199
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-negative_1l6t3 {
|
|
193
200
|
color: var(--color-light-status-negative);
|
|
194
201
|
}
|
|
195
|
-
.circular-progress-
|
|
202
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-primary-inverted_1l6t3 {
|
|
196
203
|
color: var(--color-light-neutral-translucent-1300-inverted);
|
|
197
204
|
}
|
|
198
|
-
.circular-progress-
|
|
205
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-primary_1l6t3 {
|
|
199
206
|
color: var(--color-light-neutral-translucent-1300);
|
|
200
207
|
}
|
|
201
|
-
.circular-progress-
|
|
208
|
+
.circular-progress-bar__iconWrapper_1l6t3.circular-progress-bar__icon-secondary_1l6t3 {
|
|
202
209
|
color: var(--color-light-neutral-700);
|
|
203
210
|
}
|
|
204
|
-
.circular-progress-
|
|
211
|
+
.circular-progress-bar__icon_1l6t3 {
|
|
205
212
|
width: 100%;
|
|
206
213
|
height: 100%;
|
|
207
214
|
}
|