@alfalab/core-components-circular-progress-bar 3.5.0 → 3.5.1
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.js +1 -1
- package/cssm/index.module.css +2 -2
- package/esm/Component.js +1 -1
- package/esm/index.css +51 -51
- package/index.css +51 -51
- package/modern/Component.js +1 -1
- package/modern/index.css +51 -51
- package/package.json +2 -2
package/Component.js
CHANGED
|
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"component":"circular-progress-
|
|
16
|
+
var styles = {"component":"circular-progress-bar__component_ath2v","bg-positive":"circular-progress-bar__bg-positive_ath2v","bg-negative":"circular-progress-bar__bg-negative_ath2v","svg":"circular-progress-bar__svg_ath2v","title":"circular-progress-bar__title_ath2v","subtitle":"circular-progress-bar__subtitle_ath2v","labelWrapper":"circular-progress-bar__labelWrapper_ath2v","label":"circular-progress-bar__label_ath2v","typography":"circular-progress-bar__typography_ath2v","size-144":"circular-progress-bar__size-144_ath2v","size-128":"circular-progress-bar__size-128_ath2v","size-80":"circular-progress-bar__size-80_ath2v","size-64":"circular-progress-bar__size-64_ath2v","size-48":"circular-progress-bar__size-48_ath2v","size-24":"circular-progress-bar__size-24_ath2v","backgroundCircle":"circular-progress-bar__backgroundCircle_ath2v","progressCircle":"circular-progress-bar__progressCircle_ath2v","positive":"circular-progress-bar__positive_ath2v","negative":"circular-progress-bar__negative_ath2v","stroke":"circular-progress-bar__stroke_ath2v","iconWrapper":"circular-progress-bar__iconWrapper_ath2v","icon-tertiary":"circular-progress-bar__icon-tertiary_ath2v","icon-positive":"circular-progress-bar__icon-positive_ath2v","icon-negative":"circular-progress-bar__icon-negative_ath2v","icon-primary-inverted":"circular-progress-bar__icon-primary-inverted_ath2v","icon-primary":"circular-progress-bar__icon-primary_ath2v","icon-secondary":"circular-progress-bar__icon-secondary_ath2v","icon":"circular-progress-bar__icon_ath2v"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
/**
|
package/cssm/index.module.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
2
2
|
} /* deprecated */ :root {
|
|
3
|
-
--color-light-neutral-1500: #
|
|
3
|
+
--color-light-neutral-1500: #121213;
|
|
4
4
|
--color-light-neutral-1500-inverted: #fff;
|
|
5
5
|
--color-light-neutral-500: #babbc2;
|
|
6
6
|
--color-light-neutral-700: #898991;
|
|
7
7
|
--color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
|
|
8
|
-
--color-light-status-negative: #
|
|
8
|
+
--color-light-status-negative: #ff4837;
|
|
9
9
|
--color-light-status-positive: #0cc44d; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
10
10
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
11
11
|
} :root {
|
package/esm/Component.js
CHANGED
|
@@ -4,7 +4,7 @@ import cn from 'classnames';
|
|
|
4
4
|
import { Typography } from '@alfalab/core-components-typography/esm';
|
|
5
5
|
import { STROKE, SIZES, TYPOGRAPHY_COLOR, SIZE_TO_CLASSNAME_MAP, VIEW_TITLE, VIEW_TEXT } from './consts.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"component":"circular-progress-
|
|
7
|
+
var styles = {"component":"circular-progress-bar__component_ath2v","bg-positive":"circular-progress-bar__bg-positive_ath2v","bg-negative":"circular-progress-bar__bg-negative_ath2v","svg":"circular-progress-bar__svg_ath2v","title":"circular-progress-bar__title_ath2v","subtitle":"circular-progress-bar__subtitle_ath2v","labelWrapper":"circular-progress-bar__labelWrapper_ath2v","label":"circular-progress-bar__label_ath2v","typography":"circular-progress-bar__typography_ath2v","size-144":"circular-progress-bar__size-144_ath2v","size-128":"circular-progress-bar__size-128_ath2v","size-80":"circular-progress-bar__size-80_ath2v","size-64":"circular-progress-bar__size-64_ath2v","size-48":"circular-progress-bar__size-48_ath2v","size-24":"circular-progress-bar__size-24_ath2v","backgroundCircle":"circular-progress-bar__backgroundCircle_ath2v","progressCircle":"circular-progress-bar__progressCircle_ath2v","positive":"circular-progress-bar__positive_ath2v","negative":"circular-progress-bar__negative_ath2v","stroke":"circular-progress-bar__stroke_ath2v","iconWrapper":"circular-progress-bar__iconWrapper_ath2v","icon-tertiary":"circular-progress-bar__icon-tertiary_ath2v","icon-positive":"circular-progress-bar__icon-positive_ath2v","icon-negative":"circular-progress-bar__icon-negative_ath2v","icon-primary-inverted":"circular-progress-bar__icon-primary-inverted_ath2v","icon-primary":"circular-progress-bar__icon-primary_ath2v","icon-secondary":"circular-progress-bar__icon-secondary_ath2v","icon":"circular-progress-bar__icon_ath2v"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
/**
|
package/esm/index.css
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dkhi */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
--color-light-neutral-1500: #
|
|
4
|
+
--color-light-neutral-1500: #121213;
|
|
5
5
|
--color-light-neutral-1500-inverted: #fff;
|
|
6
6
|
--color-light-neutral-500: #babbc2;
|
|
7
7
|
--color-light-neutral-700: #898991;
|
|
8
8
|
--color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
|
|
9
|
-
--color-light-status-negative: #
|
|
9
|
+
--color-light-status-negative: #ff4837;
|
|
10
10
|
--color-light-status-positive: #0cc44d; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
11
11
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
12
12
|
} :root {
|
|
@@ -37,135 +37,135 @@
|
|
|
37
37
|
/* theme */
|
|
38
38
|
--circular-progress-bar-font-family: var(--font-family-system);
|
|
39
39
|
--circular-progress-bar-font-weight: 600;
|
|
40
|
-
} .circular-progress-
|
|
40
|
+
} .circular-progress-bar__component_ath2v {
|
|
41
41
|
position: relative;
|
|
42
42
|
display: flex;
|
|
43
43
|
justify-content: center;
|
|
44
44
|
align-items: center;
|
|
45
45
|
border-radius: var(--border-radius-pill)
|
|
46
|
-
} .circular-progress-
|
|
46
|
+
} .circular-progress-bar__component_ath2v.circular-progress-bar__bg-positive_ath2v {
|
|
47
47
|
background: var(--circular-progress-bar-positive-color);
|
|
48
|
-
} .circular-progress-
|
|
48
|
+
} .circular-progress-bar__component_ath2v.circular-progress-bar__bg-negative_ath2v {
|
|
49
49
|
background: var(--circular-progress-bar-negative-color);
|
|
50
|
-
} .circular-progress-
|
|
50
|
+
} .circular-progress-bar__svg_ath2v {
|
|
51
51
|
display: block;
|
|
52
52
|
width: 100%;
|
|
53
|
-
} .circular-progress-
|
|
54
|
-
.circular-progress-
|
|
53
|
+
} .circular-progress-bar__title_ath2v,
|
|
54
|
+
.circular-progress-bar__subtitle_ath2v {
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
word-break: break-word;
|
|
57
57
|
white-space: nowrap;
|
|
58
58
|
text-overflow: ellipsis;
|
|
59
59
|
margin: 0 6px;
|
|
60
|
-
} .circular-progress-
|
|
60
|
+
} .circular-progress-bar__subtitle_ath2v {
|
|
61
61
|
max-height: 40px;
|
|
62
|
-
} .circular-progress-
|
|
62
|
+
} .circular-progress-bar__labelWrapper_ath2v {
|
|
63
63
|
text-align: center;
|
|
64
64
|
position: absolute;
|
|
65
65
|
top: 50%;
|
|
66
66
|
left: 50%;
|
|
67
67
|
width: 100%;
|
|
68
68
|
transform: translate(-50%, -50%)
|
|
69
|
-
} .circular-progress-
|
|
69
|
+
} .circular-progress-bar__labelWrapper_ath2v.circular-progress-bar__label_ath2v {
|
|
70
70
|
display: flex;
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: center;
|
|
73
|
-
} .circular-progress-
|
|
73
|
+
} .circular-progress-bar__typography_ath2v {
|
|
74
74
|
font-feature-settings: 'ss01';
|
|
75
75
|
font-weight: var(--circular-progress-bar-font-weight);
|
|
76
76
|
font-family: var(--circular-progress-bar-font-family);
|
|
77
|
-
} .circular-progress-bar__size-
|
|
77
|
+
} .circular-progress-bar__size-144_ath2v {
|
|
78
78
|
width: 144px;
|
|
79
79
|
height: 144px
|
|
80
|
-
} .circular-progress-bar__size-
|
|
80
|
+
} .circular-progress-bar__size-144_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
81
81
|
max-width: 128px;
|
|
82
|
-
} .circular-progress-bar__size-
|
|
82
|
+
} .circular-progress-bar__size-144_ath2v .circular-progress-bar__title_ath2v {
|
|
83
83
|
max-height: 32px;
|
|
84
|
-
} .circular-progress-bar__size-
|
|
84
|
+
} .circular-progress-bar__size-128_ath2v {
|
|
85
85
|
width: 128px;
|
|
86
86
|
height: 128px
|
|
87
|
-
} .circular-progress-bar__size-
|
|
87
|
+
} .circular-progress-bar__size-128_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
88
88
|
max-width: 108px;
|
|
89
|
-
} .circular-progress-bar__size-
|
|
89
|
+
} .circular-progress-bar__size-128_ath2v .circular-progress-bar__title_ath2v {
|
|
90
90
|
max-height: 32px;
|
|
91
|
-
} .circular-progress-bar__size-
|
|
91
|
+
} .circular-progress-bar__size-80_ath2v {
|
|
92
92
|
width: 80px;
|
|
93
93
|
height: 80px
|
|
94
|
-
} .circular-progress-bar__size-
|
|
94
|
+
} .circular-progress-bar__size-80_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
95
95
|
max-width: 64px;
|
|
96
|
-
} .circular-progress-bar__size-
|
|
96
|
+
} .circular-progress-bar__size-80_ath2v .circular-progress-bar__title_ath2v {
|
|
97
97
|
max-height: 24px;
|
|
98
|
-
} .circular-progress-bar__size-
|
|
98
|
+
} .circular-progress-bar__size-64_ath2v {
|
|
99
99
|
width: 64px;
|
|
100
100
|
height: 64px
|
|
101
|
-
} .circular-progress-bar__size-
|
|
101
|
+
} .circular-progress-bar__size-64_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
102
102
|
max-width: 48px;
|
|
103
|
-
} .circular-progress-bar__size-
|
|
103
|
+
} .circular-progress-bar__size-64_ath2v .circular-progress-bar__title_ath2v {
|
|
104
104
|
max-height: 16px;
|
|
105
105
|
margin: 0;
|
|
106
|
-
} .circular-progress-bar__size-
|
|
106
|
+
} .circular-progress-bar__size-48_ath2v {
|
|
107
107
|
width: 48px;
|
|
108
108
|
height: 48px
|
|
109
|
-
} .circular-progress-bar__size-
|
|
109
|
+
} .circular-progress-bar__size-48_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
110
110
|
max-width: 40px;
|
|
111
|
-
} .circular-progress-bar__size-
|
|
111
|
+
} .circular-progress-bar__size-48_ath2v .circular-progress-bar__title_ath2v {
|
|
112
112
|
max-height: 16px;
|
|
113
113
|
margin: 0;
|
|
114
|
-
} .circular-progress-bar__size-
|
|
114
|
+
} .circular-progress-bar__size-24_ath2v {
|
|
115
115
|
width: 24px;
|
|
116
116
|
height: 24px
|
|
117
|
-
} .circular-progress-bar__size-
|
|
117
|
+
} .circular-progress-bar__size-24_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
118
118
|
max-width: 24px;
|
|
119
|
-
} .circular-progress-
|
|
120
|
-
.circular-progress-
|
|
119
|
+
} .circular-progress-bar__backgroundCircle_ath2v,
|
|
120
|
+
.circular-progress-bar__progressCircle_ath2v {
|
|
121
121
|
width: 100%;
|
|
122
122
|
height: 100%;
|
|
123
123
|
fill: transparent;
|
|
124
|
-
} .circular-progress-
|
|
124
|
+
} .circular-progress-bar__positive_ath2v {
|
|
125
125
|
stroke: var(--circular-progress-bar-positive-color);
|
|
126
|
-
} .circular-progress-
|
|
126
|
+
} .circular-progress-bar__negative_ath2v {
|
|
127
127
|
stroke: var(--circular-progress-bar-negative-color);
|
|
128
|
-
} .circular-progress-
|
|
128
|
+
} .circular-progress-bar__backgroundCircle_ath2v {
|
|
129
129
|
stroke: var(--circular-progress-bar-stroke-color)
|
|
130
|
-
} .circular-progress-
|
|
130
|
+
} .circular-progress-bar__backgroundCircle_ath2v.circular-progress-bar__stroke_ath2v {
|
|
131
131
|
stroke: transparent;
|
|
132
|
-
} .circular-progress-
|
|
132
|
+
} .circular-progress-bar__progressCircle_ath2v {
|
|
133
133
|
stroke-linecap: round;
|
|
134
|
-
} .circular-progress-
|
|
134
|
+
} .circular-progress-bar__iconWrapper_ath2v {
|
|
135
135
|
display: flex;
|
|
136
136
|
align-items: center;
|
|
137
137
|
justify-content: center
|
|
138
|
-
} .circular-progress-
|
|
138
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-144_ath2v {
|
|
139
139
|
max-width: 64px;
|
|
140
140
|
max-height: 64px;
|
|
141
|
-
} .circular-progress-
|
|
141
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-128_ath2v {
|
|
142
142
|
max-width: 64px;
|
|
143
143
|
max-height: 64px;
|
|
144
|
-
} .circular-progress-
|
|
144
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-80_ath2v {
|
|
145
145
|
max-width: 48px;
|
|
146
146
|
max-height: 48px;
|
|
147
|
-
} .circular-progress-
|
|
147
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-64_ath2v {
|
|
148
148
|
max-width: 36px;
|
|
149
149
|
max-height: 36px;
|
|
150
|
-
} .circular-progress-
|
|
150
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-48_ath2v {
|
|
151
151
|
max-width: 24px;
|
|
152
152
|
max-height: 24px;
|
|
153
|
-
} .circular-progress-
|
|
153
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-24_ath2v {
|
|
154
154
|
max-width: 16px;
|
|
155
155
|
max-height: 16px;
|
|
156
|
-
} .circular-progress-
|
|
156
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-tertiary_ath2v {
|
|
157
157
|
color: var(--color-light-neutral-500);
|
|
158
|
-
} .circular-progress-
|
|
158
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-positive_ath2v {
|
|
159
159
|
color: var(--color-light-status-positive);
|
|
160
|
-
} .circular-progress-
|
|
160
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-negative_ath2v {
|
|
161
161
|
color: var(--color-light-status-negative);
|
|
162
|
-
} .circular-progress-
|
|
162
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-primary-inverted_ath2v {
|
|
163
163
|
color: var(--color-light-neutral-1500-inverted);
|
|
164
|
-
} .circular-progress-
|
|
164
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-primary_ath2v {
|
|
165
165
|
color: var(--color-light-neutral-1500);
|
|
166
|
-
} .circular-progress-
|
|
166
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-secondary_ath2v {
|
|
167
167
|
color: var(--color-light-neutral-700);
|
|
168
|
-
} .circular-progress-
|
|
168
|
+
} .circular-progress-bar__icon_ath2v {
|
|
169
169
|
width: 100%;
|
|
170
170
|
height: 100%;
|
|
171
171
|
}
|
package/index.css
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dkhi */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
--color-light-neutral-1500: #
|
|
4
|
+
--color-light-neutral-1500: #121213;
|
|
5
5
|
--color-light-neutral-1500-inverted: #fff;
|
|
6
6
|
--color-light-neutral-500: #babbc2;
|
|
7
7
|
--color-light-neutral-700: #898991;
|
|
8
8
|
--color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
|
|
9
|
-
--color-light-status-negative: #
|
|
9
|
+
--color-light-status-negative: #ff4837;
|
|
10
10
|
--color-light-status-positive: #0cc44d; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
11
11
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
12
12
|
} :root {
|
|
@@ -37,135 +37,135 @@
|
|
|
37
37
|
/* theme */
|
|
38
38
|
--circular-progress-bar-font-family: var(--font-family-system);
|
|
39
39
|
--circular-progress-bar-font-weight: 600;
|
|
40
|
-
} .circular-progress-
|
|
40
|
+
} .circular-progress-bar__component_ath2v {
|
|
41
41
|
position: relative;
|
|
42
42
|
display: flex;
|
|
43
43
|
justify-content: center;
|
|
44
44
|
align-items: center;
|
|
45
45
|
border-radius: var(--border-radius-pill)
|
|
46
|
-
} .circular-progress-
|
|
46
|
+
} .circular-progress-bar__component_ath2v.circular-progress-bar__bg-positive_ath2v {
|
|
47
47
|
background: var(--circular-progress-bar-positive-color);
|
|
48
|
-
} .circular-progress-
|
|
48
|
+
} .circular-progress-bar__component_ath2v.circular-progress-bar__bg-negative_ath2v {
|
|
49
49
|
background: var(--circular-progress-bar-negative-color);
|
|
50
|
-
} .circular-progress-
|
|
50
|
+
} .circular-progress-bar__svg_ath2v {
|
|
51
51
|
display: block;
|
|
52
52
|
width: 100%;
|
|
53
|
-
} .circular-progress-
|
|
54
|
-
.circular-progress-
|
|
53
|
+
} .circular-progress-bar__title_ath2v,
|
|
54
|
+
.circular-progress-bar__subtitle_ath2v {
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
word-break: break-word;
|
|
57
57
|
white-space: nowrap;
|
|
58
58
|
text-overflow: ellipsis;
|
|
59
59
|
margin: 0 6px;
|
|
60
|
-
} .circular-progress-
|
|
60
|
+
} .circular-progress-bar__subtitle_ath2v {
|
|
61
61
|
max-height: 40px;
|
|
62
|
-
} .circular-progress-
|
|
62
|
+
} .circular-progress-bar__labelWrapper_ath2v {
|
|
63
63
|
text-align: center;
|
|
64
64
|
position: absolute;
|
|
65
65
|
top: 50%;
|
|
66
66
|
left: 50%;
|
|
67
67
|
width: 100%;
|
|
68
68
|
transform: translate(-50%, -50%)
|
|
69
|
-
} .circular-progress-
|
|
69
|
+
} .circular-progress-bar__labelWrapper_ath2v.circular-progress-bar__label_ath2v {
|
|
70
70
|
display: flex;
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: center;
|
|
73
|
-
} .circular-progress-
|
|
73
|
+
} .circular-progress-bar__typography_ath2v {
|
|
74
74
|
font-feature-settings: 'ss01';
|
|
75
75
|
font-weight: var(--circular-progress-bar-font-weight);
|
|
76
76
|
font-family: var(--circular-progress-bar-font-family);
|
|
77
|
-
} .circular-progress-bar__size-
|
|
77
|
+
} .circular-progress-bar__size-144_ath2v {
|
|
78
78
|
width: 144px;
|
|
79
79
|
height: 144px
|
|
80
|
-
} .circular-progress-bar__size-
|
|
80
|
+
} .circular-progress-bar__size-144_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
81
81
|
max-width: 128px;
|
|
82
|
-
} .circular-progress-bar__size-
|
|
82
|
+
} .circular-progress-bar__size-144_ath2v .circular-progress-bar__title_ath2v {
|
|
83
83
|
max-height: 32px;
|
|
84
|
-
} .circular-progress-bar__size-
|
|
84
|
+
} .circular-progress-bar__size-128_ath2v {
|
|
85
85
|
width: 128px;
|
|
86
86
|
height: 128px
|
|
87
|
-
} .circular-progress-bar__size-
|
|
87
|
+
} .circular-progress-bar__size-128_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
88
88
|
max-width: 108px;
|
|
89
|
-
} .circular-progress-bar__size-
|
|
89
|
+
} .circular-progress-bar__size-128_ath2v .circular-progress-bar__title_ath2v {
|
|
90
90
|
max-height: 32px;
|
|
91
|
-
} .circular-progress-bar__size-
|
|
91
|
+
} .circular-progress-bar__size-80_ath2v {
|
|
92
92
|
width: 80px;
|
|
93
93
|
height: 80px
|
|
94
|
-
} .circular-progress-bar__size-
|
|
94
|
+
} .circular-progress-bar__size-80_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
95
95
|
max-width: 64px;
|
|
96
|
-
} .circular-progress-bar__size-
|
|
96
|
+
} .circular-progress-bar__size-80_ath2v .circular-progress-bar__title_ath2v {
|
|
97
97
|
max-height: 24px;
|
|
98
|
-
} .circular-progress-bar__size-
|
|
98
|
+
} .circular-progress-bar__size-64_ath2v {
|
|
99
99
|
width: 64px;
|
|
100
100
|
height: 64px
|
|
101
|
-
} .circular-progress-bar__size-
|
|
101
|
+
} .circular-progress-bar__size-64_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
102
102
|
max-width: 48px;
|
|
103
|
-
} .circular-progress-bar__size-
|
|
103
|
+
} .circular-progress-bar__size-64_ath2v .circular-progress-bar__title_ath2v {
|
|
104
104
|
max-height: 16px;
|
|
105
105
|
margin: 0;
|
|
106
|
-
} .circular-progress-bar__size-
|
|
106
|
+
} .circular-progress-bar__size-48_ath2v {
|
|
107
107
|
width: 48px;
|
|
108
108
|
height: 48px
|
|
109
|
-
} .circular-progress-bar__size-
|
|
109
|
+
} .circular-progress-bar__size-48_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
110
110
|
max-width: 40px;
|
|
111
|
-
} .circular-progress-bar__size-
|
|
111
|
+
} .circular-progress-bar__size-48_ath2v .circular-progress-bar__title_ath2v {
|
|
112
112
|
max-height: 16px;
|
|
113
113
|
margin: 0;
|
|
114
|
-
} .circular-progress-bar__size-
|
|
114
|
+
} .circular-progress-bar__size-24_ath2v {
|
|
115
115
|
width: 24px;
|
|
116
116
|
height: 24px
|
|
117
|
-
} .circular-progress-bar__size-
|
|
117
|
+
} .circular-progress-bar__size-24_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
118
118
|
max-width: 24px;
|
|
119
|
-
} .circular-progress-
|
|
120
|
-
.circular-progress-
|
|
119
|
+
} .circular-progress-bar__backgroundCircle_ath2v,
|
|
120
|
+
.circular-progress-bar__progressCircle_ath2v {
|
|
121
121
|
width: 100%;
|
|
122
122
|
height: 100%;
|
|
123
123
|
fill: transparent;
|
|
124
|
-
} .circular-progress-
|
|
124
|
+
} .circular-progress-bar__positive_ath2v {
|
|
125
125
|
stroke: var(--circular-progress-bar-positive-color);
|
|
126
|
-
} .circular-progress-
|
|
126
|
+
} .circular-progress-bar__negative_ath2v {
|
|
127
127
|
stroke: var(--circular-progress-bar-negative-color);
|
|
128
|
-
} .circular-progress-
|
|
128
|
+
} .circular-progress-bar__backgroundCircle_ath2v {
|
|
129
129
|
stroke: var(--circular-progress-bar-stroke-color)
|
|
130
|
-
} .circular-progress-
|
|
130
|
+
} .circular-progress-bar__backgroundCircle_ath2v.circular-progress-bar__stroke_ath2v {
|
|
131
131
|
stroke: transparent;
|
|
132
|
-
} .circular-progress-
|
|
132
|
+
} .circular-progress-bar__progressCircle_ath2v {
|
|
133
133
|
stroke-linecap: round;
|
|
134
|
-
} .circular-progress-
|
|
134
|
+
} .circular-progress-bar__iconWrapper_ath2v {
|
|
135
135
|
display: flex;
|
|
136
136
|
align-items: center;
|
|
137
137
|
justify-content: center
|
|
138
|
-
} .circular-progress-
|
|
138
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-144_ath2v {
|
|
139
139
|
max-width: 64px;
|
|
140
140
|
max-height: 64px;
|
|
141
|
-
} .circular-progress-
|
|
141
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-128_ath2v {
|
|
142
142
|
max-width: 64px;
|
|
143
143
|
max-height: 64px;
|
|
144
|
-
} .circular-progress-
|
|
144
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-80_ath2v {
|
|
145
145
|
max-width: 48px;
|
|
146
146
|
max-height: 48px;
|
|
147
|
-
} .circular-progress-
|
|
147
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-64_ath2v {
|
|
148
148
|
max-width: 36px;
|
|
149
149
|
max-height: 36px;
|
|
150
|
-
} .circular-progress-
|
|
150
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-48_ath2v {
|
|
151
151
|
max-width: 24px;
|
|
152
152
|
max-height: 24px;
|
|
153
|
-
} .circular-progress-
|
|
153
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-24_ath2v {
|
|
154
154
|
max-width: 16px;
|
|
155
155
|
max-height: 16px;
|
|
156
|
-
} .circular-progress-
|
|
156
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-tertiary_ath2v {
|
|
157
157
|
color: var(--color-light-neutral-500);
|
|
158
|
-
} .circular-progress-
|
|
158
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-positive_ath2v {
|
|
159
159
|
color: var(--color-light-status-positive);
|
|
160
|
-
} .circular-progress-
|
|
160
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-negative_ath2v {
|
|
161
161
|
color: var(--color-light-status-negative);
|
|
162
|
-
} .circular-progress-
|
|
162
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-primary-inverted_ath2v {
|
|
163
163
|
color: var(--color-light-neutral-1500-inverted);
|
|
164
|
-
} .circular-progress-
|
|
164
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-primary_ath2v {
|
|
165
165
|
color: var(--color-light-neutral-1500);
|
|
166
|
-
} .circular-progress-
|
|
166
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-secondary_ath2v {
|
|
167
167
|
color: var(--color-light-neutral-700);
|
|
168
|
-
} .circular-progress-
|
|
168
|
+
} .circular-progress-bar__icon_ath2v {
|
|
169
169
|
width: 100%;
|
|
170
170
|
height: 100%;
|
|
171
171
|
}
|
package/modern/Component.js
CHANGED
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
4
4
|
import { STROKE, SIZES, TYPOGRAPHY_COLOR, SIZE_TO_CLASSNAME_MAP, VIEW_TITLE, VIEW_TEXT } from './consts.js';
|
|
5
5
|
|
|
6
|
-
const styles = {"component":"circular-progress-
|
|
6
|
+
const styles = {"component":"circular-progress-bar__component_ath2v","bg-positive":"circular-progress-bar__bg-positive_ath2v","bg-negative":"circular-progress-bar__bg-negative_ath2v","svg":"circular-progress-bar__svg_ath2v","title":"circular-progress-bar__title_ath2v","subtitle":"circular-progress-bar__subtitle_ath2v","labelWrapper":"circular-progress-bar__labelWrapper_ath2v","label":"circular-progress-bar__label_ath2v","typography":"circular-progress-bar__typography_ath2v","size-144":"circular-progress-bar__size-144_ath2v","size-128":"circular-progress-bar__size-128_ath2v","size-80":"circular-progress-bar__size-80_ath2v","size-64":"circular-progress-bar__size-64_ath2v","size-48":"circular-progress-bar__size-48_ath2v","size-24":"circular-progress-bar__size-24_ath2v","backgroundCircle":"circular-progress-bar__backgroundCircle_ath2v","progressCircle":"circular-progress-bar__progressCircle_ath2v","positive":"circular-progress-bar__positive_ath2v","negative":"circular-progress-bar__negative_ath2v","stroke":"circular-progress-bar__stroke_ath2v","iconWrapper":"circular-progress-bar__iconWrapper_ath2v","icon-tertiary":"circular-progress-bar__icon-tertiary_ath2v","icon-positive":"circular-progress-bar__icon-positive_ath2v","icon-negative":"circular-progress-bar__icon-negative_ath2v","icon-primary-inverted":"circular-progress-bar__icon-primary-inverted_ath2v","icon-primary":"circular-progress-bar__icon-primary_ath2v","icon-secondary":"circular-progress-bar__icon-secondary_ath2v","icon":"circular-progress-bar__icon_ath2v"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
/**
|
package/modern/index.css
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dkhi */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
--color-light-neutral-1500: #
|
|
4
|
+
--color-light-neutral-1500: #121213;
|
|
5
5
|
--color-light-neutral-1500-inverted: #fff;
|
|
6
6
|
--color-light-neutral-500: #babbc2;
|
|
7
7
|
--color-light-neutral-700: #898991;
|
|
8
8
|
--color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
|
|
9
|
-
--color-light-status-negative: #
|
|
9
|
+
--color-light-status-negative: #ff4837;
|
|
10
10
|
--color-light-status-positive: #0cc44d; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
11
11
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
12
12
|
} :root {
|
|
@@ -37,135 +37,135 @@
|
|
|
37
37
|
/* theme */
|
|
38
38
|
--circular-progress-bar-font-family: var(--font-family-system);
|
|
39
39
|
--circular-progress-bar-font-weight: 600;
|
|
40
|
-
} .circular-progress-
|
|
40
|
+
} .circular-progress-bar__component_ath2v {
|
|
41
41
|
position: relative;
|
|
42
42
|
display: flex;
|
|
43
43
|
justify-content: center;
|
|
44
44
|
align-items: center;
|
|
45
45
|
border-radius: var(--border-radius-pill)
|
|
46
|
-
} .circular-progress-
|
|
46
|
+
} .circular-progress-bar__component_ath2v.circular-progress-bar__bg-positive_ath2v {
|
|
47
47
|
background: var(--circular-progress-bar-positive-color);
|
|
48
|
-
} .circular-progress-
|
|
48
|
+
} .circular-progress-bar__component_ath2v.circular-progress-bar__bg-negative_ath2v {
|
|
49
49
|
background: var(--circular-progress-bar-negative-color);
|
|
50
|
-
} .circular-progress-
|
|
50
|
+
} .circular-progress-bar__svg_ath2v {
|
|
51
51
|
display: block;
|
|
52
52
|
width: 100%;
|
|
53
|
-
} .circular-progress-
|
|
54
|
-
.circular-progress-
|
|
53
|
+
} .circular-progress-bar__title_ath2v,
|
|
54
|
+
.circular-progress-bar__subtitle_ath2v {
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
word-break: break-word;
|
|
57
57
|
white-space: nowrap;
|
|
58
58
|
text-overflow: ellipsis;
|
|
59
59
|
margin: 0 6px;
|
|
60
|
-
} .circular-progress-
|
|
60
|
+
} .circular-progress-bar__subtitle_ath2v {
|
|
61
61
|
max-height: 40px;
|
|
62
|
-
} .circular-progress-
|
|
62
|
+
} .circular-progress-bar__labelWrapper_ath2v {
|
|
63
63
|
text-align: center;
|
|
64
64
|
position: absolute;
|
|
65
65
|
top: 50%;
|
|
66
66
|
left: 50%;
|
|
67
67
|
width: 100%;
|
|
68
68
|
transform: translate(-50%, -50%)
|
|
69
|
-
} .circular-progress-
|
|
69
|
+
} .circular-progress-bar__labelWrapper_ath2v.circular-progress-bar__label_ath2v {
|
|
70
70
|
display: flex;
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: center;
|
|
73
|
-
} .circular-progress-
|
|
73
|
+
} .circular-progress-bar__typography_ath2v {
|
|
74
74
|
font-feature-settings: 'ss01';
|
|
75
75
|
font-weight: var(--circular-progress-bar-font-weight);
|
|
76
76
|
font-family: var(--circular-progress-bar-font-family);
|
|
77
|
-
} .circular-progress-bar__size-
|
|
77
|
+
} .circular-progress-bar__size-144_ath2v {
|
|
78
78
|
width: 144px;
|
|
79
79
|
height: 144px
|
|
80
|
-
} .circular-progress-bar__size-
|
|
80
|
+
} .circular-progress-bar__size-144_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
81
81
|
max-width: 128px;
|
|
82
|
-
} .circular-progress-bar__size-
|
|
82
|
+
} .circular-progress-bar__size-144_ath2v .circular-progress-bar__title_ath2v {
|
|
83
83
|
max-height: 32px;
|
|
84
|
-
} .circular-progress-bar__size-
|
|
84
|
+
} .circular-progress-bar__size-128_ath2v {
|
|
85
85
|
width: 128px;
|
|
86
86
|
height: 128px
|
|
87
|
-
} .circular-progress-bar__size-
|
|
87
|
+
} .circular-progress-bar__size-128_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
88
88
|
max-width: 108px;
|
|
89
|
-
} .circular-progress-bar__size-
|
|
89
|
+
} .circular-progress-bar__size-128_ath2v .circular-progress-bar__title_ath2v {
|
|
90
90
|
max-height: 32px;
|
|
91
|
-
} .circular-progress-bar__size-
|
|
91
|
+
} .circular-progress-bar__size-80_ath2v {
|
|
92
92
|
width: 80px;
|
|
93
93
|
height: 80px
|
|
94
|
-
} .circular-progress-bar__size-
|
|
94
|
+
} .circular-progress-bar__size-80_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
95
95
|
max-width: 64px;
|
|
96
|
-
} .circular-progress-bar__size-
|
|
96
|
+
} .circular-progress-bar__size-80_ath2v .circular-progress-bar__title_ath2v {
|
|
97
97
|
max-height: 24px;
|
|
98
|
-
} .circular-progress-bar__size-
|
|
98
|
+
} .circular-progress-bar__size-64_ath2v {
|
|
99
99
|
width: 64px;
|
|
100
100
|
height: 64px
|
|
101
|
-
} .circular-progress-bar__size-
|
|
101
|
+
} .circular-progress-bar__size-64_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
102
102
|
max-width: 48px;
|
|
103
|
-
} .circular-progress-bar__size-
|
|
103
|
+
} .circular-progress-bar__size-64_ath2v .circular-progress-bar__title_ath2v {
|
|
104
104
|
max-height: 16px;
|
|
105
105
|
margin: 0;
|
|
106
|
-
} .circular-progress-bar__size-
|
|
106
|
+
} .circular-progress-bar__size-48_ath2v {
|
|
107
107
|
width: 48px;
|
|
108
108
|
height: 48px
|
|
109
|
-
} .circular-progress-bar__size-
|
|
109
|
+
} .circular-progress-bar__size-48_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
110
110
|
max-width: 40px;
|
|
111
|
-
} .circular-progress-bar__size-
|
|
111
|
+
} .circular-progress-bar__size-48_ath2v .circular-progress-bar__title_ath2v {
|
|
112
112
|
max-height: 16px;
|
|
113
113
|
margin: 0;
|
|
114
|
-
} .circular-progress-bar__size-
|
|
114
|
+
} .circular-progress-bar__size-24_ath2v {
|
|
115
115
|
width: 24px;
|
|
116
116
|
height: 24px
|
|
117
|
-
} .circular-progress-bar__size-
|
|
117
|
+
} .circular-progress-bar__size-24_ath2v .circular-progress-bar__labelWrapper_ath2v {
|
|
118
118
|
max-width: 24px;
|
|
119
|
-
} .circular-progress-
|
|
120
|
-
.circular-progress-
|
|
119
|
+
} .circular-progress-bar__backgroundCircle_ath2v,
|
|
120
|
+
.circular-progress-bar__progressCircle_ath2v {
|
|
121
121
|
width: 100%;
|
|
122
122
|
height: 100%;
|
|
123
123
|
fill: transparent;
|
|
124
|
-
} .circular-progress-
|
|
124
|
+
} .circular-progress-bar__positive_ath2v {
|
|
125
125
|
stroke: var(--circular-progress-bar-positive-color);
|
|
126
|
-
} .circular-progress-
|
|
126
|
+
} .circular-progress-bar__negative_ath2v {
|
|
127
127
|
stroke: var(--circular-progress-bar-negative-color);
|
|
128
|
-
} .circular-progress-
|
|
128
|
+
} .circular-progress-bar__backgroundCircle_ath2v {
|
|
129
129
|
stroke: var(--circular-progress-bar-stroke-color)
|
|
130
|
-
} .circular-progress-
|
|
130
|
+
} .circular-progress-bar__backgroundCircle_ath2v.circular-progress-bar__stroke_ath2v {
|
|
131
131
|
stroke: transparent;
|
|
132
|
-
} .circular-progress-
|
|
132
|
+
} .circular-progress-bar__progressCircle_ath2v {
|
|
133
133
|
stroke-linecap: round;
|
|
134
|
-
} .circular-progress-
|
|
134
|
+
} .circular-progress-bar__iconWrapper_ath2v {
|
|
135
135
|
display: flex;
|
|
136
136
|
align-items: center;
|
|
137
137
|
justify-content: center
|
|
138
|
-
} .circular-progress-
|
|
138
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-144_ath2v {
|
|
139
139
|
max-width: 64px;
|
|
140
140
|
max-height: 64px;
|
|
141
|
-
} .circular-progress-
|
|
141
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-128_ath2v {
|
|
142
142
|
max-width: 64px;
|
|
143
143
|
max-height: 64px;
|
|
144
|
-
} .circular-progress-
|
|
144
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-80_ath2v {
|
|
145
145
|
max-width: 48px;
|
|
146
146
|
max-height: 48px;
|
|
147
|
-
} .circular-progress-
|
|
147
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-64_ath2v {
|
|
148
148
|
max-width: 36px;
|
|
149
149
|
max-height: 36px;
|
|
150
|
-
} .circular-progress-
|
|
150
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-48_ath2v {
|
|
151
151
|
max-width: 24px;
|
|
152
152
|
max-height: 24px;
|
|
153
|
-
} .circular-progress-
|
|
153
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__size-24_ath2v {
|
|
154
154
|
max-width: 16px;
|
|
155
155
|
max-height: 16px;
|
|
156
|
-
} .circular-progress-
|
|
156
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-tertiary_ath2v {
|
|
157
157
|
color: var(--color-light-neutral-500);
|
|
158
|
-
} .circular-progress-
|
|
158
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-positive_ath2v {
|
|
159
159
|
color: var(--color-light-status-positive);
|
|
160
|
-
} .circular-progress-
|
|
160
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-negative_ath2v {
|
|
161
161
|
color: var(--color-light-status-negative);
|
|
162
|
-
} .circular-progress-
|
|
162
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-primary-inverted_ath2v {
|
|
163
163
|
color: var(--color-light-neutral-1500-inverted);
|
|
164
|
-
} .circular-progress-
|
|
164
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-primary_ath2v {
|
|
165
165
|
color: var(--color-light-neutral-1500);
|
|
166
|
-
} .circular-progress-
|
|
166
|
+
} .circular-progress-bar__iconWrapper_ath2v.circular-progress-bar__icon-secondary_ath2v {
|
|
167
167
|
color: var(--color-light-neutral-700);
|
|
168
|
-
} .circular-progress-
|
|
168
|
+
} .circular-progress-bar__icon_ath2v {
|
|
169
169
|
width: 100%;
|
|
170
170
|
height: 100%;
|
|
171
171
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-circular-progress-bar",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"directory": "dist"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@alfalab/core-components-typography": "^4.5.
|
|
14
|
+
"@alfalab/core-components-typography": "^4.5.1",
|
|
15
15
|
"classnames": "^2.3.1",
|
|
16
16
|
"tslib": "^2.4.0"
|
|
17
17
|
},
|