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

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,7 @@
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.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
7
 
8
8
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
9
9
 
@@ -11,18 +11,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
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)
14
+ # [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
15
 
16
16
 
17
17
  ### Features
18
18
 
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))
19
+ * **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
20
 
21
21
 
22
22
 
23
23
 
24
24
 
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)
25
+ ## [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
26
 
27
27
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
28
28
 
@@ -30,18 +30,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
30
30
 
31
31
 
32
32
 
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)
33
+ # [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
34
 
35
35
 
36
36
  ### Features
37
37
 
38
- * Исправить импорты в сторях. ([#998](https://github.com/alfa-laboratory/core-components/issues/998)) ([e6a654a](https://github.com/alfa-laboratory/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
38
+ * Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
39
39
 
40
40
 
41
41
 
42
42
 
43
43
 
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)
44
+ ## [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
45
 
46
46
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
47
47
 
@@ -49,18 +49,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
49
49
 
50
50
 
51
51
 
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)
52
+ # [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
53
 
54
54
 
55
55
  ### Features
56
56
 
57
- * **circular-progress-bar:** new size S ([d34db5c](https://github.com/alfa-laboratory/core-components/commit/d34db5cca682bc63f948a0dad322604c8044a6b8))
57
+ * **circular-progress-bar:** new size S ([d34db5c](https://github.com/core-ds/core-components/commit/d34db5cca682bc63f948a0dad322604c8044a6b8))
58
58
 
59
59
 
60
60
 
61
61
 
62
62
 
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)
63
+ ## [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
64
 
65
65
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
66
66
 
@@ -68,7 +68,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
68
68
 
69
69
 
70
70
 
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)
71
+ ## [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
72
 
73
73
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
74
74
 
@@ -76,7 +76,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
76
76
 
77
77
 
78
78
 
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)
79
+ ## [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
80
 
81
81
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
82
82
 
@@ -84,14 +84,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
84
84
 
85
85
 
86
86
 
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)
87
+ # [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
88
 
89
89
 
90
90
  ### Features
91
91
 
92
- * upgrade storybook ([#696](https://github.com/alfa-laboratory/core-components/issues/696))
92
+ * upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
93
93
 
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)
94
+ ## [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
95
 
96
96
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
97
97
 
@@ -99,7 +99,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
99
99
 
100
100
 
101
101
 
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)
102
+ ## [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
103
 
104
104
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
105
105
 
@@ -107,7 +107,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
107
107
 
108
108
 
109
109
 
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)
110
+ ## [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
111
 
112
112
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
113
113
 
@@ -115,7 +115,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
115
115
 
116
116
 
117
117
 
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)
118
+ ## [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
119
 
120
120
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
121
121
 
@@ -123,29 +123,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
123
123
 
124
124
 
125
125
 
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)
126
+ ## [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
127
 
128
128
 
129
129
  ### Bug Fixes
130
130
 
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))
131
+ * 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
132
 
133
133
 
134
134
 
135
135
 
136
136
 
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)
137
+ ## [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
138
 
139
139
 
140
140
  ### Bug Fixes
141
141
 
142
- * border-radius in packages ([781749e](https://github.com/alfa-laboratory/core-components/commit/781749ef38aefd5a6707ac56d2e297dce9f3e073))
142
+ * border-radius in packages ([781749e](https://github.com/core-ds/core-components/commit/781749ef38aefd5a6707ac56d2e297dce9f3e073))
143
143
 
144
144
 
145
145
 
146
146
 
147
147
 
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)
148
+ ## [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
149
 
150
150
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
151
151
 
@@ -153,7 +153,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
153
153
 
154
154
 
155
155
 
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)
156
+ ## [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
157
 
158
158
  **Note:** Version bump only for package @alfalab/core-components-circular-progress-bar
159
159
 
@@ -161,6 +161,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
161
161
 
162
162
 
163
163
 
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)
164
+ ## [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
165
 
166
166
  **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_1fya7","svg":"circular-progress-bar__svg_1fya7","title":"circular-progress-bar__title_1fya7","subtitle":"circular-progress-bar__subtitle_1fya7","l":"circular-progress-bar__l_1fya7","label":"circular-progress-bar__label_1fya7","m":"circular-progress-bar__m_1fya7","s":"circular-progress-bar__s_1fya7","backgroundCircle":"circular-progress-bar__backgroundCircle_1fya7","progressCircle":"circular-progress-bar__progressCircle_1fya7","positive":"circular-progress-bar__positive_1fya7","negative":"circular-progress-bar__negative_1fya7"};
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_1fya7","svg":"circular-progress-bar__svg_1fya7","title":"circular-progress-bar__title_1fya7","subtitle":"circular-progress-bar__subtitle_1fya7","l":"circular-progress-bar__l_1fya7","label":"circular-progress-bar__label_1fya7","m":"circular-progress-bar__m_1fya7","s":"circular-progress-bar__s_1fya7","backgroundCircle":"circular-progress-bar__backgroundCircle_1fya7","progressCircle":"circular-progress-bar__progressCircle_1fya7","positive":"circular-progress-bar__positive_1fya7","negative":"circular-progress-bar__negative_1fya7"};
6
6
  require('./index.css')
7
7
 
8
8
  var SIZES = {
@@ -1,4 +1,4 @@
1
- /* hash: 1nstk */
1
+ /* hash: gem9q */
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_1fya7 {
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_1fya7 {
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_1fya7,
32
+ .circular-progress-bar__subtitle_1fya7 {
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_1fya7 {
38
38
  max-height: 40px;
39
39
  }
40
40
 
41
- .circular-progress-bar__l_1bb5m {
41
+ .circular-progress-bar__l_1fya7 {
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_1fya7 .circular-progress-bar__label_1fya7 {
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_1fya7 .circular-progress-bar__title_1fya7 {
51
51
  max-height: 32px;
52
52
  }
53
53
 
54
- .circular-progress-bar__m_1bb5m {
54
+ .circular-progress-bar__m_1fya7 {
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_1fya7 .circular-progress-bar__label_1fya7 {
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_1fya7 .circular-progress-bar__title_1fya7 {
64
64
  max-height: 24px;
65
65
  }
66
66
 
67
- .circular-progress-bar__s_1bb5m {
67
+ .circular-progress-bar__s_1fya7 {
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_1fya7 .circular-progress-bar__label_1fya7 {
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_1fya7 .circular-progress-bar__title_1fya7 {
77
77
  max-height: 24px;
78
78
  }
79
79
 
80
- .circular-progress-bar__label_1bb5m {
80
+ .circular-progress-bar__label_1fya7 {
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_1fya7,
90
+ .circular-progress-bar__progressCircle_1fya7 {
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_1fya7 {
98
98
  stroke: var(--circular-progress-bar-positive-color);
99
99
  }
100
100
 
101
- .circular-progress-bar__negative_1bb5m {
101
+ .circular-progress-bar__negative_1fya7 {
102
102
  stroke: var(--circular-progress-bar-negative-color);
103
103
  }
104
104
 
105
- .circular-progress-bar__backgroundCircle_1bb5m {
105
+ .circular-progress-bar__backgroundCircle_1fya7 {
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: gem9q */
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_1fya7 {
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_1fya7 {
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_1fya7,
32
+ .circular-progress-bar__subtitle_1fya7 {
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_1fya7 {
38
38
  max-height: 40px;
39
39
  }
40
40
 
41
- .circular-progress-bar__l_1bb5m {
41
+ .circular-progress-bar__l_1fya7 {
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_1fya7 .circular-progress-bar__label_1fya7 {
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_1fya7 .circular-progress-bar__title_1fya7 {
51
51
  max-height: 32px;
52
52
  }
53
53
 
54
- .circular-progress-bar__m_1bb5m {
54
+ .circular-progress-bar__m_1fya7 {
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_1fya7 .circular-progress-bar__label_1fya7 {
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_1fya7 .circular-progress-bar__title_1fya7 {
64
64
  max-height: 24px;
65
65
  }
66
66
 
67
- .circular-progress-bar__s_1bb5m {
67
+ .circular-progress-bar__s_1fya7 {
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_1fya7 .circular-progress-bar__label_1fya7 {
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_1fya7 .circular-progress-bar__title_1fya7 {
77
77
  max-height: 24px;
78
78
  }
79
79
 
80
- .circular-progress-bar__label_1bb5m {
80
+ .circular-progress-bar__label_1fya7 {
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_1fya7,
90
+ .circular-progress-bar__progressCircle_1fya7 {
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_1fya7 {
98
98
  stroke: var(--circular-progress-bar-positive-color);
99
99
  }
100
100
 
101
- .circular-progress-bar__negative_1bb5m {
101
+ .circular-progress-bar__negative_1fya7 {
102
102
  stroke: var(--circular-progress-bar-negative-color);
103
103
  }
104
104
 
105
- .circular-progress-bar__backgroundCircle_1bb5m {
105
+ .circular-progress-bar__backgroundCircle_1fya7 {
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_1fya7","svg":"circular-progress-bar__svg_1fya7","title":"circular-progress-bar__title_1fya7","subtitle":"circular-progress-bar__subtitle_1fya7","l":"circular-progress-bar__l_1fya7","label":"circular-progress-bar__label_1fya7","m":"circular-progress-bar__m_1fya7","s":"circular-progress-bar__s_1fya7","backgroundCircle":"circular-progress-bar__backgroundCircle_1fya7","progressCircle":"circular-progress-bar__progressCircle_1fya7","positive":"circular-progress-bar__positive_1fya7","negative":"circular-progress-bar__negative_1fya7"};
6
6
  require('./index.css')
7
7
 
8
8
  const SIZES = {
@@ -1,4 +1,4 @@
1
- /* hash: 1nstk */
1
+ /* hash: gem9q */
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_1fya7 {
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_1fya7 {
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_1fya7,
32
+ .circular-progress-bar__subtitle_1fya7 {
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_1fya7 {
38
38
  max-height: 40px;
39
39
  }
40
40
 
41
- .circular-progress-bar__l_1bb5m {
41
+ .circular-progress-bar__l_1fya7 {
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_1fya7 .circular-progress-bar__label_1fya7 {
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_1fya7 .circular-progress-bar__title_1fya7 {
51
51
  max-height: 32px;
52
52
  }
53
53
 
54
- .circular-progress-bar__m_1bb5m {
54
+ .circular-progress-bar__m_1fya7 {
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_1fya7 .circular-progress-bar__label_1fya7 {
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_1fya7 .circular-progress-bar__title_1fya7 {
64
64
  max-height: 24px;
65
65
  }
66
66
 
67
- .circular-progress-bar__s_1bb5m {
67
+ .circular-progress-bar__s_1fya7 {
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_1fya7 .circular-progress-bar__label_1fya7 {
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_1fya7 .circular-progress-bar__title_1fya7 {
77
77
  max-height: 24px;
78
78
  }
79
79
 
80
- .circular-progress-bar__label_1bb5m {
80
+ .circular-progress-bar__label_1fya7 {
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_1fya7,
90
+ .circular-progress-bar__progressCircle_1fya7 {
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_1fya7 {
98
98
  stroke: var(--circular-progress-bar-positive-color);
99
99
  }
100
100
 
101
- .circular-progress-bar__negative_1bb5m {
101
+ .circular-progress-bar__negative_1fya7 {
102
102
  stroke: var(--circular-progress-bar-negative-color);
103
103
  }
104
104
 
105
- .circular-progress-bar__backgroundCircle_1bb5m {
105
+ .circular-progress-bar__backgroundCircle_1fya7 {
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.3.3",
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",
19
+ "@alfalab/core-components-typography": "^2.5.2",
20
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": "8d998af881e79e8b524179aa50cdb117c1380c74"
26
26
  }