@alfalab/core-components-circular-progress-bar 2.3.2 → 2.4.0

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/CHANGELOG.md CHANGED
@@ -3,7 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [2.3.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@2.3.0...@alfalab/core-components-circular-progress-bar@2.3.1) (2022-03-30)
6
+ # [2.4.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@2.3.4...@alfalab/core-components-circular-progress-bar@2.4.0) (2022-06-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * circumflexus retrieval ([#57](https://github.com/core-ds/core-components/issues/57)) ([3820da8](https://github.com/core-ds/core-components/commit/3820da818bcdcbee6904c648b3e29c3c828fe202))
12
+
13
+
14
+
15
+
16
+
17
+ ## [2.3.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@2.3.0...@alfalab/core-components-circular-progress-bar@2.3.1) (2022-03-30)
7
18
 
8
19
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
9
20
 
@@ -11,18 +22,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
22
 
12
23
 
13
24
 
14
- # [2.3.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@2.2.1...@alfalab/core-components-circular-progress-bar@2.3.0) (2022-03-05)
25
+ # [2.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@2.2.1...@alfalab/core-components-circular-progress-bar@2.3.0) (2022-03-05)
15
26
 
16
27
 
17
28
  ### Features
18
29
 
19
- * **circular-progress-bar:** ReactNode as title or subtitle ([#1023](https://github.com/alfa-laboratory/core-components/issues/1023)) ([7ae6df9](https://github.com/alfa-laboratory/core-components/commit/7ae6df9d2e4253f9a94532d155e81032cd96c810))
30
+ * **circular-progress-bar:** ReactNode as title or subtitle ([#1023](https://github.com/core-ds/core-components/issues/1023)) ([7ae6df9](https://github.com/core-ds/core-components/commit/7ae6df9d2e4253f9a94532d155e81032cd96c810))
20
31
 
21
32
 
22
33
 
23
34
 
24
35
 
25
- ## [2.2.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@2.2.0...@alfalab/core-components-circular-progress-bar@2.2.1) (2022-03-03)
36
+ ## [2.2.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@2.2.0...@alfalab/core-components-circular-progress-bar@2.2.1) (2022-03-03)
26
37
 
27
38
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
28
39
 
@@ -30,18 +41,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
30
41
 
31
42
 
32
43
 
33
- # [2.2.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@2.1.1...@alfalab/core-components-circular-progress-bar@2.2.0) (2022-03-01)
44
+ # [2.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@2.1.1...@alfalab/core-components-circular-progress-bar@2.2.0) (2022-03-01)
34
45
 
35
46
 
36
47
  ### Features
37
48
 
38
- * Исправить импорты в сторях. ([#998](https://github.com/alfa-laboratory/core-components/issues/998)) ([e6a654a](https://github.com/alfa-laboratory/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
49
+ * Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
39
50
 
40
51
 
41
52
 
42
53
 
43
54
 
44
- ## [2.1.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@2.1.0...@alfalab/core-components-circular-progress-bar@2.1.1) (2022-01-17)
55
+ ## [2.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@2.1.0...@alfalab/core-components-circular-progress-bar@2.1.1) (2022-01-17)
45
56
 
46
57
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
47
58
 
@@ -49,18 +60,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
49
60
 
50
61
 
51
62
 
52
- # [2.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@2.0.3...@alfalab/core-components-circular-progress-bar@2.1.0) (2021-11-30)
63
+ # [2.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@2.0.3...@alfalab/core-components-circular-progress-bar@2.1.0) (2021-11-30)
53
64
 
54
65
 
55
66
  ### Features
56
67
 
57
- * **circular-progress-bar:** new size S ([d34db5c](https://github.com/alfa-laboratory/core-components/commit/d34db5cca682bc63f948a0dad322604c8044a6b8))
68
+ * **circular-progress-bar:** new size S ([d34db5c](https://github.com/core-ds/core-components/commit/d34db5cca682bc63f948a0dad322604c8044a6b8))
58
69
 
59
70
 
60
71
 
61
72
 
62
73
 
63
- ## [2.0.3](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@2.0.2...@alfalab/core-components-circular-progress-bar@2.0.3) (2021-09-14)
74
+ ## [2.0.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@2.0.2...@alfalab/core-components-circular-progress-bar@2.0.3) (2021-09-14)
64
75
 
65
76
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
66
77
 
@@ -68,7 +79,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
68
79
 
69
80
 
70
81
 
71
- ## [2.0.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@2.0.1...@alfalab/core-components-circular-progress-bar@2.0.2) (2021-07-19)
82
+ ## [2.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@2.0.1...@alfalab/core-components-circular-progress-bar@2.0.2) (2021-07-19)
72
83
 
73
84
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
74
85
 
@@ -76,7 +87,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
76
87
 
77
88
 
78
89
 
79
- ## [2.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@2.0.0...@alfalab/core-components-circular-progress-bar@2.0.1) (2021-07-09)
90
+ ## [2.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@2.0.0...@alfalab/core-components-circular-progress-bar@2.0.1) (2021-07-09)
80
91
 
81
92
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
82
93
 
@@ -84,14 +95,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
84
95
 
85
96
 
86
97
 
87
- # [2.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.11...@alfalab/core-components-circular-progress-bar@2.0.0) (2021-07-08)
98
+ # [2.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.11...@alfalab/core-components-circular-progress-bar@2.0.0) (2021-07-08)
88
99
 
89
100
 
90
101
  ### Features
91
102
 
92
- * upgrade storybook ([#696](https://github.com/alfa-laboratory/core-components/issues/696))
103
+ * upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
93
104
 
94
- ## [1.2.11](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.10...@alfalab/core-components-circular-progress-bar@1.2.11) (2021-06-28)
105
+ ## [1.2.11](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.10...@alfalab/core-components-circular-progress-bar@1.2.11) (2021-06-28)
95
106
 
96
107
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
97
108
 
@@ -99,7 +110,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
99
110
 
100
111
 
101
112
 
102
- ## [1.2.10](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.9...@alfalab/core-components-circular-progress-bar@1.2.10) (2021-06-04)
113
+ ## [1.2.10](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.9...@alfalab/core-components-circular-progress-bar@1.2.10) (2021-06-04)
103
114
 
104
115
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
105
116
 
@@ -107,7 +118,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
107
118
 
108
119
 
109
120
 
110
- ## [1.2.9](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.8...@alfalab/core-components-circular-progress-bar@1.2.9) (2021-04-26)
121
+ ## [1.2.9](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.8...@alfalab/core-components-circular-progress-bar@1.2.9) (2021-04-26)
111
122
 
112
123
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
113
124
 
@@ -115,7 +126,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
115
126
 
116
127
 
117
128
 
118
- ## [1.2.8](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.7...@alfalab/core-components-circular-progress-bar@1.2.8) (2021-04-01)
129
+ ## [1.2.8](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.7...@alfalab/core-components-circular-progress-bar@1.2.8) (2021-04-01)
119
130
 
120
131
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
121
132
 
@@ -123,29 +134,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
123
134
 
124
135
 
125
136
 
126
- ## [1.2.7](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.5...@alfalab/core-components-circular-progress-bar@1.2.7) (2021-03-18)
137
+ ## [1.2.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.5...@alfalab/core-components-circular-progress-bar@1.2.7) (2021-03-18)
127
138
 
128
139
 
129
140
  ### Bug Fixes
130
141
 
131
- * one more sborka bug ([#579](https://github.com/alfa-laboratory/core-components/issues/579)) ([9fbe0be](https://github.com/alfa-laboratory/core-components/commit/9fbe0beca56ec5971de78b3f6cda25305b260efc))
142
+ * one more sborka bug ([#579](https://github.com/core-ds/core-components/issues/579)) ([9fbe0be](https://github.com/core-ds/core-components/commit/9fbe0beca56ec5971de78b3f6cda25305b260efc))
132
143
 
133
144
 
134
145
 
135
146
 
136
147
 
137
- ## [1.2.5](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.3...@alfalab/core-components-circular-progress-bar@1.2.5) (2021-03-16)
148
+ ## [1.2.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.3...@alfalab/core-components-circular-progress-bar@1.2.5) (2021-03-16)
138
149
 
139
150
 
140
151
  ### Bug Fixes
141
152
 
142
- * border-radius in packages ([781749e](https://github.com/alfa-laboratory/core-components/commit/781749ef38aefd5a6707ac56d2e297dce9f3e073))
153
+ * border-radius in packages ([781749e](https://github.com/core-ds/core-components/commit/781749ef38aefd5a6707ac56d2e297dce9f3e073))
143
154
 
144
155
 
145
156
 
146
157
 
147
158
 
148
- ## [1.2.3](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.2...@alfalab/core-components-circular-progress-bar@1.2.3) (2021-03-14)
159
+ ## [1.2.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.2...@alfalab/core-components-circular-progress-bar@1.2.3) (2021-03-14)
149
160
 
150
161
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
151
162
 
@@ -153,7 +164,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
153
164
 
154
165
 
155
166
 
156
- ## [1.2.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.1...@alfalab/core-components-circular-progress-bar@1.2.2) (2021-03-04)
167
+ ## [1.2.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.1...@alfalab/core-components-circular-progress-bar@1.2.2) (2021-03-04)
157
168
 
158
169
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
159
170
 
@@ -161,6 +172,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
161
172
 
162
173
 
163
174
 
164
- ## [1.2.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.0...@alfalab/core-components-circular-progress-bar@1.2.1) (2021-03-03)
175
+ ## [1.2.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-circular-progress-bar@1.2.0...@alfalab/core-components-circular-progress-bar@1.2.1) (2021-03-03)
165
176
 
166
177
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
package/dist/Component.js CHANGED
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
11
11
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
12
12
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
13
 
14
- var styles = {"component":"circular-progress-bar__component_1bb5m","svg":"circular-progress-bar__svg_1bb5m","title":"circular-progress-bar__title_1bb5m","subtitle":"circular-progress-bar__subtitle_1bb5m","l":"circular-progress-bar__l_1bb5m","label":"circular-progress-bar__label_1bb5m","m":"circular-progress-bar__m_1bb5m","s":"circular-progress-bar__s_1bb5m","backgroundCircle":"circular-progress-bar__backgroundCircle_1bb5m","progressCircle":"circular-progress-bar__progressCircle_1bb5m","positive":"circular-progress-bar__positive_1bb5m","negative":"circular-progress-bar__negative_1bb5m"};
14
+ var styles = {"component":"circular-progress-bar__component_lhelu","svg":"circular-progress-bar__svg_lhelu","title":"circular-progress-bar__title_lhelu","subtitle":"circular-progress-bar__subtitle_lhelu","l":"circular-progress-bar__l_lhelu","label":"circular-progress-bar__label_lhelu","m":"circular-progress-bar__m_lhelu","s":"circular-progress-bar__s_lhelu","backgroundCircle":"circular-progress-bar__backgroundCircle_lhelu","progressCircle":"circular-progress-bar__progressCircle_lhelu","positive":"circular-progress-bar__positive_lhelu","negative":"circular-progress-bar__negative_lhelu"};
15
15
  require('./index.css')
16
16
 
17
17
  var SIZES = {
@@ -2,7 +2,7 @@ import cn from 'classnames';
2
2
  import React, { useMemo } from 'react';
3
3
  import { Typography } from '@alfalab/core-components-typography/dist/esm';
4
4
 
5
- var styles = {"component":"circular-progress-bar__component_1bb5m","svg":"circular-progress-bar__svg_1bb5m","title":"circular-progress-bar__title_1bb5m","subtitle":"circular-progress-bar__subtitle_1bb5m","l":"circular-progress-bar__l_1bb5m","label":"circular-progress-bar__label_1bb5m","m":"circular-progress-bar__m_1bb5m","s":"circular-progress-bar__s_1bb5m","backgroundCircle":"circular-progress-bar__backgroundCircle_1bb5m","progressCircle":"circular-progress-bar__progressCircle_1bb5m","positive":"circular-progress-bar__positive_1bb5m","negative":"circular-progress-bar__negative_1bb5m"};
5
+ var styles = {"component":"circular-progress-bar__component_lhelu","svg":"circular-progress-bar__svg_lhelu","title":"circular-progress-bar__title_lhelu","subtitle":"circular-progress-bar__subtitle_lhelu","l":"circular-progress-bar__l_lhelu","label":"circular-progress-bar__label_lhelu","m":"circular-progress-bar__m_lhelu","s":"circular-progress-bar__s_lhelu","backgroundCircle":"circular-progress-bar__backgroundCircle_lhelu","progressCircle":"circular-progress-bar__progressCircle_lhelu","positive":"circular-progress-bar__positive_lhelu","negative":"circular-progress-bar__negative_lhelu"};
6
6
  require('./index.css')
7
7
 
8
8
  var SIZES = {
@@ -1,4 +1,4 @@
1
- /* hash: 1nstk */
1
+ /* hash: 1jvf0 */
2
2
  :root {
3
3
  --color-light-bg-tertiary: #e7e9eb;
4
4
  --color-light-graphic-negative: #f15045;
@@ -16,68 +16,68 @@
16
16
  --circular-progress-bar-negative-color: var(--color-light-graphic-negative);
17
17
  }
18
18
 
19
- .circular-progress-bar__component_1bb5m {
19
+ .circular-progress-bar__component_lhelu {
20
20
  position: relative;
21
21
  display: flex;
22
22
  justify-content: center;
23
23
  align-items: center;
24
24
  }
25
25
 
26
- .circular-progress-bar__svg_1bb5m {
26
+ .circular-progress-bar__svg_lhelu {
27
27
  display: block;
28
28
  width: 100%;
29
29
  }
30
30
 
31
- .circular-progress-bar__title_1bb5m,
32
- .circular-progress-bar__subtitle_1bb5m {
31
+ .circular-progress-bar__title_lhelu,
32
+ .circular-progress-bar__subtitle_lhelu {
33
33
  overflow: hidden;
34
34
  word-break: break-word;
35
35
  }
36
36
 
37
- .circular-progress-bar__subtitle_1bb5m {
37
+ .circular-progress-bar__subtitle_lhelu {
38
38
  max-height: 40px;
39
39
  }
40
40
 
41
- .circular-progress-bar__l_1bb5m {
41
+ .circular-progress-bar__l_lhelu {
42
42
  width: 144px;
43
43
  height: 144px
44
44
  }
45
45
 
46
- .circular-progress-bar__l_1bb5m .circular-progress-bar__label_1bb5m {
46
+ .circular-progress-bar__l_lhelu .circular-progress-bar__label_lhelu {
47
47
  max-width: 120px;
48
48
  }
49
49
 
50
- .circular-progress-bar__l_1bb5m .circular-progress-bar__title_1bb5m {
50
+ .circular-progress-bar__l_lhelu .circular-progress-bar__title_lhelu {
51
51
  max-height: 32px;
52
52
  }
53
53
 
54
- .circular-progress-bar__m_1bb5m {
54
+ .circular-progress-bar__m_lhelu {
55
55
  width: 120px;
56
56
  height: 120px
57
57
  }
58
58
 
59
- .circular-progress-bar__m_1bb5m .circular-progress-bar__label_1bb5m {
59
+ .circular-progress-bar__m_lhelu .circular-progress-bar__label_lhelu {
60
60
  max-width: 96px;
61
61
  }
62
62
 
63
- .circular-progress-bar__m_1bb5m .circular-progress-bar__title_1bb5m {
63
+ .circular-progress-bar__m_lhelu .circular-progress-bar__title_lhelu {
64
64
  max-height: 24px;
65
65
  }
66
66
 
67
- .circular-progress-bar__s_1bb5m {
67
+ .circular-progress-bar__s_lhelu {
68
68
  width: 96px;
69
69
  height: 96px
70
70
  }
71
71
 
72
- .circular-progress-bar__s_1bb5m .circular-progress-bar__label_1bb5m {
72
+ .circular-progress-bar__s_lhelu .circular-progress-bar__label_lhelu {
73
73
  max-width: 72px;
74
74
  }
75
75
 
76
- .circular-progress-bar__s_1bb5m .circular-progress-bar__title_1bb5m {
76
+ .circular-progress-bar__s_lhelu .circular-progress-bar__title_lhelu {
77
77
  max-height: 24px;
78
78
  }
79
79
 
80
- .circular-progress-bar__label_1bb5m {
80
+ .circular-progress-bar__label_lhelu {
81
81
  text-align: center;
82
82
  position: absolute;
83
83
  top: 50%;
@@ -86,22 +86,22 @@
86
86
  transform: translate(-50%, -50%);
87
87
  }
88
88
 
89
- .circular-progress-bar__backgroundCircle_1bb5m,
90
- .circular-progress-bar__progressCircle_1bb5m {
89
+ .circular-progress-bar__backgroundCircle_lhelu,
90
+ .circular-progress-bar__progressCircle_lhelu {
91
91
  width: 100%;
92
92
  height: 100%;
93
93
  fill: transparent;
94
94
  stroke-width: 8;
95
95
  }
96
96
 
97
- .circular-progress-bar__positive_1bb5m {
97
+ .circular-progress-bar__positive_lhelu {
98
98
  stroke: var(--circular-progress-bar-positive-color);
99
99
  }
100
100
 
101
- .circular-progress-bar__negative_1bb5m {
101
+ .circular-progress-bar__negative_lhelu {
102
102
  stroke: var(--circular-progress-bar-negative-color);
103
103
  }
104
104
 
105
- .circular-progress-bar__backgroundCircle_1bb5m {
105
+ .circular-progress-bar__backgroundCircle_lhelu {
106
106
  stroke: var(--circular-progress-bar-bg-color);
107
107
  }
package/dist/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1nstk */
1
+ /* hash: 1jvf0 */
2
2
  :root {
3
3
  --color-light-bg-tertiary: #e7e9eb;
4
4
  --color-light-graphic-negative: #f15045;
@@ -16,68 +16,68 @@
16
16
  --circular-progress-bar-negative-color: var(--color-light-graphic-negative);
17
17
  }
18
18
 
19
- .circular-progress-bar__component_1bb5m {
19
+ .circular-progress-bar__component_lhelu {
20
20
  position: relative;
21
21
  display: flex;
22
22
  justify-content: center;
23
23
  align-items: center;
24
24
  }
25
25
 
26
- .circular-progress-bar__svg_1bb5m {
26
+ .circular-progress-bar__svg_lhelu {
27
27
  display: block;
28
28
  width: 100%;
29
29
  }
30
30
 
31
- .circular-progress-bar__title_1bb5m,
32
- .circular-progress-bar__subtitle_1bb5m {
31
+ .circular-progress-bar__title_lhelu,
32
+ .circular-progress-bar__subtitle_lhelu {
33
33
  overflow: hidden;
34
34
  word-break: break-word;
35
35
  }
36
36
 
37
- .circular-progress-bar__subtitle_1bb5m {
37
+ .circular-progress-bar__subtitle_lhelu {
38
38
  max-height: 40px;
39
39
  }
40
40
 
41
- .circular-progress-bar__l_1bb5m {
41
+ .circular-progress-bar__l_lhelu {
42
42
  width: 144px;
43
43
  height: 144px
44
44
  }
45
45
 
46
- .circular-progress-bar__l_1bb5m .circular-progress-bar__label_1bb5m {
46
+ .circular-progress-bar__l_lhelu .circular-progress-bar__label_lhelu {
47
47
  max-width: 120px;
48
48
  }
49
49
 
50
- .circular-progress-bar__l_1bb5m .circular-progress-bar__title_1bb5m {
50
+ .circular-progress-bar__l_lhelu .circular-progress-bar__title_lhelu {
51
51
  max-height: 32px;
52
52
  }
53
53
 
54
- .circular-progress-bar__m_1bb5m {
54
+ .circular-progress-bar__m_lhelu {
55
55
  width: 120px;
56
56
  height: 120px
57
57
  }
58
58
 
59
- .circular-progress-bar__m_1bb5m .circular-progress-bar__label_1bb5m {
59
+ .circular-progress-bar__m_lhelu .circular-progress-bar__label_lhelu {
60
60
  max-width: 96px;
61
61
  }
62
62
 
63
- .circular-progress-bar__m_1bb5m .circular-progress-bar__title_1bb5m {
63
+ .circular-progress-bar__m_lhelu .circular-progress-bar__title_lhelu {
64
64
  max-height: 24px;
65
65
  }
66
66
 
67
- .circular-progress-bar__s_1bb5m {
67
+ .circular-progress-bar__s_lhelu {
68
68
  width: 96px;
69
69
  height: 96px
70
70
  }
71
71
 
72
- .circular-progress-bar__s_1bb5m .circular-progress-bar__label_1bb5m {
72
+ .circular-progress-bar__s_lhelu .circular-progress-bar__label_lhelu {
73
73
  max-width: 72px;
74
74
  }
75
75
 
76
- .circular-progress-bar__s_1bb5m .circular-progress-bar__title_1bb5m {
76
+ .circular-progress-bar__s_lhelu .circular-progress-bar__title_lhelu {
77
77
  max-height: 24px;
78
78
  }
79
79
 
80
- .circular-progress-bar__label_1bb5m {
80
+ .circular-progress-bar__label_lhelu {
81
81
  text-align: center;
82
82
  position: absolute;
83
83
  top: 50%;
@@ -86,22 +86,22 @@
86
86
  transform: translate(-50%, -50%);
87
87
  }
88
88
 
89
- .circular-progress-bar__backgroundCircle_1bb5m,
90
- .circular-progress-bar__progressCircle_1bb5m {
89
+ .circular-progress-bar__backgroundCircle_lhelu,
90
+ .circular-progress-bar__progressCircle_lhelu {
91
91
  width: 100%;
92
92
  height: 100%;
93
93
  fill: transparent;
94
94
  stroke-width: 8;
95
95
  }
96
96
 
97
- .circular-progress-bar__positive_1bb5m {
97
+ .circular-progress-bar__positive_lhelu {
98
98
  stroke: var(--circular-progress-bar-positive-color);
99
99
  }
100
100
 
101
- .circular-progress-bar__negative_1bb5m {
101
+ .circular-progress-bar__negative_lhelu {
102
102
  stroke: var(--circular-progress-bar-negative-color);
103
103
  }
104
104
 
105
- .circular-progress-bar__backgroundCircle_1bb5m {
105
+ .circular-progress-bar__backgroundCircle_lhelu {
106
106
  stroke: var(--circular-progress-bar-bg-color);
107
107
  }
@@ -2,7 +2,7 @@ import cn from 'classnames';
2
2
  import React, { useMemo } from 'react';
3
3
  import { Typography } from '@alfalab/core-components-typography/dist/modern';
4
4
 
5
- var styles = {"component":"circular-progress-bar__component_1bb5m","svg":"circular-progress-bar__svg_1bb5m","title":"circular-progress-bar__title_1bb5m","subtitle":"circular-progress-bar__subtitle_1bb5m","l":"circular-progress-bar__l_1bb5m","label":"circular-progress-bar__label_1bb5m","m":"circular-progress-bar__m_1bb5m","s":"circular-progress-bar__s_1bb5m","backgroundCircle":"circular-progress-bar__backgroundCircle_1bb5m","progressCircle":"circular-progress-bar__progressCircle_1bb5m","positive":"circular-progress-bar__positive_1bb5m","negative":"circular-progress-bar__negative_1bb5m"};
5
+ var styles = {"component":"circular-progress-bar__component_lhelu","svg":"circular-progress-bar__svg_lhelu","title":"circular-progress-bar__title_lhelu","subtitle":"circular-progress-bar__subtitle_lhelu","l":"circular-progress-bar__l_lhelu","label":"circular-progress-bar__label_lhelu","m":"circular-progress-bar__m_lhelu","s":"circular-progress-bar__s_lhelu","backgroundCircle":"circular-progress-bar__backgroundCircle_lhelu","progressCircle":"circular-progress-bar__progressCircle_lhelu","positive":"circular-progress-bar__positive_lhelu","negative":"circular-progress-bar__negative_lhelu"};
6
6
  require('./index.css')
7
7
 
8
8
  const SIZES = {
@@ -1,4 +1,4 @@
1
- /* hash: 1nstk */
1
+ /* hash: 1jvf0 */
2
2
  :root {
3
3
  --color-light-bg-tertiary: #e7e9eb;
4
4
  --color-light-graphic-negative: #f15045;
@@ -16,68 +16,68 @@
16
16
  --circular-progress-bar-negative-color: var(--color-light-graphic-negative);
17
17
  }
18
18
 
19
- .circular-progress-bar__component_1bb5m {
19
+ .circular-progress-bar__component_lhelu {
20
20
  position: relative;
21
21
  display: flex;
22
22
  justify-content: center;
23
23
  align-items: center;
24
24
  }
25
25
 
26
- .circular-progress-bar__svg_1bb5m {
26
+ .circular-progress-bar__svg_lhelu {
27
27
  display: block;
28
28
  width: 100%;
29
29
  }
30
30
 
31
- .circular-progress-bar__title_1bb5m,
32
- .circular-progress-bar__subtitle_1bb5m {
31
+ .circular-progress-bar__title_lhelu,
32
+ .circular-progress-bar__subtitle_lhelu {
33
33
  overflow: hidden;
34
34
  word-break: break-word;
35
35
  }
36
36
 
37
- .circular-progress-bar__subtitle_1bb5m {
37
+ .circular-progress-bar__subtitle_lhelu {
38
38
  max-height: 40px;
39
39
  }
40
40
 
41
- .circular-progress-bar__l_1bb5m {
41
+ .circular-progress-bar__l_lhelu {
42
42
  width: 144px;
43
43
  height: 144px
44
44
  }
45
45
 
46
- .circular-progress-bar__l_1bb5m .circular-progress-bar__label_1bb5m {
46
+ .circular-progress-bar__l_lhelu .circular-progress-bar__label_lhelu {
47
47
  max-width: 120px;
48
48
  }
49
49
 
50
- .circular-progress-bar__l_1bb5m .circular-progress-bar__title_1bb5m {
50
+ .circular-progress-bar__l_lhelu .circular-progress-bar__title_lhelu {
51
51
  max-height: 32px;
52
52
  }
53
53
 
54
- .circular-progress-bar__m_1bb5m {
54
+ .circular-progress-bar__m_lhelu {
55
55
  width: 120px;
56
56
  height: 120px
57
57
  }
58
58
 
59
- .circular-progress-bar__m_1bb5m .circular-progress-bar__label_1bb5m {
59
+ .circular-progress-bar__m_lhelu .circular-progress-bar__label_lhelu {
60
60
  max-width: 96px;
61
61
  }
62
62
 
63
- .circular-progress-bar__m_1bb5m .circular-progress-bar__title_1bb5m {
63
+ .circular-progress-bar__m_lhelu .circular-progress-bar__title_lhelu {
64
64
  max-height: 24px;
65
65
  }
66
66
 
67
- .circular-progress-bar__s_1bb5m {
67
+ .circular-progress-bar__s_lhelu {
68
68
  width: 96px;
69
69
  height: 96px
70
70
  }
71
71
 
72
- .circular-progress-bar__s_1bb5m .circular-progress-bar__label_1bb5m {
72
+ .circular-progress-bar__s_lhelu .circular-progress-bar__label_lhelu {
73
73
  max-width: 72px;
74
74
  }
75
75
 
76
- .circular-progress-bar__s_1bb5m .circular-progress-bar__title_1bb5m {
76
+ .circular-progress-bar__s_lhelu .circular-progress-bar__title_lhelu {
77
77
  max-height: 24px;
78
78
  }
79
79
 
80
- .circular-progress-bar__label_1bb5m {
80
+ .circular-progress-bar__label_lhelu {
81
81
  text-align: center;
82
82
  position: absolute;
83
83
  top: 50%;
@@ -86,22 +86,22 @@
86
86
  transform: translate(-50%, -50%);
87
87
  }
88
88
 
89
- .circular-progress-bar__backgroundCircle_1bb5m,
90
- .circular-progress-bar__progressCircle_1bb5m {
89
+ .circular-progress-bar__backgroundCircle_lhelu,
90
+ .circular-progress-bar__progressCircle_lhelu {
91
91
  width: 100%;
92
92
  height: 100%;
93
93
  fill: transparent;
94
94
  stroke-width: 8;
95
95
  }
96
96
 
97
- .circular-progress-bar__positive_1bb5m {
97
+ .circular-progress-bar__positive_lhelu {
98
98
  stroke: var(--circular-progress-bar-positive-color);
99
99
  }
100
100
 
101
- .circular-progress-bar__negative_1bb5m {
101
+ .circular-progress-bar__negative_lhelu {
102
102
  stroke: var(--circular-progress-bar-negative-color);
103
103
  }
104
104
 
105
- .circular-progress-bar__backgroundCircle_1bb5m {
105
+ .circular-progress-bar__backgroundCircle_lhelu {
106
106
  stroke: var(--circular-progress-bar-bg-color);
107
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-circular-progress-bar",
3
- "version": "2.3.2",
3
+ "version": "2.4.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -16,11 +16,11 @@
16
16
  "access": "public"
17
17
  },
18
18
  "dependencies": {
19
- "@alfalab/core-components-typography": "^2.5.1",
20
- "classnames": "2.2.6"
19
+ "@alfalab/core-components-typography": "^2.6.0",
20
+ "classnames": "^2.2.6"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": "^16.9.0 || ^17.0.1"
24
24
  },
25
- "gitHead": "0363f194b7d8e6d2949795b8f0570262d7028aff"
25
+ "gitHead": "dcd5c0c8e25b7c374ff9311505ccf738a82e22c0"
26
26
  }