@salutejs/sdds-serv 0.325.0-canary.2280.18389973911.0 → 0.325.0-canary.2280.18412321271.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.
@@ -0,0 +1,25 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ view: {
8
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
9
+ secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
10
+ accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
+ positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
+ warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
+ negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
+ };
15
+ size: {
16
+ xxl: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
17
+ xl: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
+ l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
19
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
20
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
21
+ xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
22
+ xxs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
23
+ };
24
+ };
25
+ };
@@ -0,0 +1,19 @@
1
+ export declare const ProgressBarCircular: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
2
+ view: {
3
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
4
+ secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
5
+ accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
6
+ positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
7
+ warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
8
+ negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
9
+ };
10
+ size: {
11
+ xxl: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
+ xl: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
+ l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
15
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
16
+ xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
17
+ xxs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
+ };
19
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("@salutejs/plasma-new-hope/types/components/ProgressBarCircular/ProgressBarCircular.types").CustomProgressBarCircularProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export { ProgressBarCircular } from './ProgressBarCircular';
2
+ export type { ProgressProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -0,0 +1,251 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "config", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return config;
9
+ }
10
+ });
11
+ var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ function _tagged_template_literal(strings, raw) {
13
+ if (!raw) {
14
+ raw = strings.slice(0);
15
+ }
16
+ return Object.freeze(Object.defineProperties(strings, {
17
+ raw: {
18
+ value: Object.freeze(raw)
19
+ }
20
+ }));
21
+ }
22
+ function _templateObject() {
23
+ var data = _tagged_template_literal([
24
+ "\n ",
25
+ ": var(--surface-transparent-tertiary);\n ",
26
+ ": var(--surface-solid-default);\n ",
27
+ ": var(--text-primary);\n "
28
+ ]);
29
+ _templateObject = function _templateObject() {
30
+ return data;
31
+ };
32
+ return data;
33
+ }
34
+ function _templateObject1() {
35
+ var data = _tagged_template_literal([
36
+ "\n ",
37
+ ": var(--surface-transparent-tertiary);\n ",
38
+ ": var(--surface-transparent-secondary);\n ",
39
+ ": var(--text-primary);\n "
40
+ ]);
41
+ _templateObject1 = function _templateObject() {
42
+ return data;
43
+ };
44
+ return data;
45
+ }
46
+ function _templateObject2() {
47
+ var data = _tagged_template_literal([
48
+ "\n ",
49
+ ": var(--surface-transparent-tertiary);\n ",
50
+ ": var(--surface-accent);\n ",
51
+ ": var(--text-primary);\n "
52
+ ]);
53
+ _templateObject2 = function _templateObject() {
54
+ return data;
55
+ };
56
+ return data;
57
+ }
58
+ function _templateObject3() {
59
+ var data = _tagged_template_literal([
60
+ "\n ",
61
+ ": var(--surface-transparent-tertiary);\n ",
62
+ ": var(--surface-positive);\n ",
63
+ ": var(--text-primary);\n "
64
+ ]);
65
+ _templateObject3 = function _templateObject() {
66
+ return data;
67
+ };
68
+ return data;
69
+ }
70
+ function _templateObject4() {
71
+ var data = _tagged_template_literal([
72
+ "\n ",
73
+ ": var(--surface-transparent-tertiary);\n ",
74
+ ": var(--surface-warning);\n ",
75
+ ": var(--text-primary);\n "
76
+ ]);
77
+ _templateObject4 = function _templateObject() {
78
+ return data;
79
+ };
80
+ return data;
81
+ }
82
+ function _templateObject5() {
83
+ var data = _tagged_template_literal([
84
+ "\n ",
85
+ ": var(--surface-transparent-tertiary);\n ",
86
+ ": var(--surface-negative);\n ",
87
+ ": var(--text-primary);\n "
88
+ ]);
89
+ _templateObject5 = function _templateObject() {
90
+ return data;
91
+ };
92
+ return data;
93
+ }
94
+ function _templateObject6() {
95
+ var data = _tagged_template_literal([
96
+ "\n ",
97
+ ": 8rem;\n ",
98
+ ": 8rem;\n ",
99
+ ": 0.25rem;\n ",
100
+ ": 0.25rem;\n ",
101
+ ": var(--plasma-typo-h2-font-family);\n ",
102
+ ": var(--plasma-typo-h2-font-size);\n ",
103
+ ": var(--plasma-typo-h2-font-style);\n ",
104
+ ": var(--plasma-typo-h2-bold-font-weight);\n ",
105
+ ": var(--plasma-typo-h2-letter-spacing);\n ",
106
+ ": var(--plasma-typo-h2-line-height);\n "
107
+ ]);
108
+ _templateObject6 = function _templateObject() {
109
+ return data;
110
+ };
111
+ return data;
112
+ }
113
+ function _templateObject7() {
114
+ var data = _tagged_template_literal([
115
+ "\n ",
116
+ ": 5.5rem;\n ",
117
+ ": 5.5rem;\n ",
118
+ ": 0.25rem;\n ",
119
+ ": 0.25rem;\n ",
120
+ ": var(--plasma-typo-h5-font-family);\n ",
121
+ ": var(--plasma-typo-h5-font-size);\n ",
122
+ ": var(--plasma-typo-h5-font-style);\n ",
123
+ ": var(--plasma-typo-h5-bold-font-weight);\n ",
124
+ ": var(--plasma-typo-h5-letter-spacing);\n ",
125
+ ": var(--plasma-typo-h5-line-height);\n "
126
+ ]);
127
+ _templateObject7 = function _templateObject() {
128
+ return data;
129
+ };
130
+ return data;
131
+ }
132
+ function _templateObject8() {
133
+ var data = _tagged_template_literal([
134
+ "\n ",
135
+ ": 3.5rem;\n ",
136
+ ": 3.5rem;\n ",
137
+ ": 0.125rem;\n ",
138
+ ": 0.125rem;\n ",
139
+ ": var(--plasma-typo-body-l-font-family);\n ",
140
+ ": var(--plasma-typo-body-l-font-size);\n ",
141
+ ": var(--plasma-typo-body-l-font-style);\n ",
142
+ ": var(--plasma-typo-body-l-body-font-weight);\n ",
143
+ ": var(--plasma-typo-body-l-letter-spacing);\n ",
144
+ ": var(--plasma-typo-body-l-line-height);\n "
145
+ ]);
146
+ _templateObject8 = function _templateObject() {
147
+ return data;
148
+ };
149
+ return data;
150
+ }
151
+ function _templateObject9() {
152
+ var data = _tagged_template_literal([
153
+ "\n ",
154
+ ": 3rem;\n ",
155
+ ": 3rem;\n ",
156
+ ": 0.125rem;\n ",
157
+ ": 0.125rem;\n ",
158
+ ": var(--plasma-typo-body-m-font-family);\n ",
159
+ ": var(--plasma-typo-body-m-font-size);\n ",
160
+ ": var(--plasma-typo-body-m-font-style);\n ",
161
+ ": var(--plasma-typo-body-m-body-font-weight);\n ",
162
+ ": var(--plasma-typo-body-m-letter-spacing);\n ",
163
+ ": var(--plasma-typo-body-m-line-height);\n "
164
+ ]);
165
+ _templateObject9 = function _templateObject() {
166
+ return data;
167
+ };
168
+ return data;
169
+ }
170
+ function _templateObject10() {
171
+ var data = _tagged_template_literal([
172
+ "\n ",
173
+ ": 2.25rem;\n ",
174
+ ": 2.25rem;\n ",
175
+ ": 0.125rem;\n ",
176
+ ": 0.125rem;\n ",
177
+ ": var(--plasma-typo-body-s-font-family);\n ",
178
+ ": var(--plasma-typo-body-s-font-size);\n ",
179
+ ": var(--plasma-typo-body-s-font-style);\n ",
180
+ ": var(--plasma-typo-body-s-body-font-weight);\n ",
181
+ ": var(--plasma-typo-body-s-letter-spacing);\n ",
182
+ ": var(--plasma-typo-body-s-line-height);\n "
183
+ ]);
184
+ _templateObject10 = function _templateObject() {
185
+ return data;
186
+ };
187
+ return data;
188
+ }
189
+ function _templateObject11() {
190
+ var data = _tagged_template_literal([
191
+ "\n ",
192
+ ": 1.5rem;\n ",
193
+ ": 1.5rem;\n ",
194
+ ": 0.125rem;\n ",
195
+ ": 0.125rem;\n ",
196
+ ": var(--plasma-typo-body-xs-font-family);\n ",
197
+ ": var(--plasma-typo-body-xs-font-size);\n ",
198
+ ": var(--plasma-typo-body-xs-font-style);\n ",
199
+ ": var(--plasma-typo-body-xs-body-font-weight);\n ",
200
+ ": var(--plasma-typo-body-xs-letter-spacing);\n ",
201
+ ": var(--plasma-typo-body-xs-line-height);\n "
202
+ ]);
203
+ _templateObject11 = function _templateObject() {
204
+ return data;
205
+ };
206
+ return data;
207
+ }
208
+ function _templateObject12() {
209
+ var data = _tagged_template_literal([
210
+ "\n ",
211
+ ": 1rem;\n ",
212
+ ": 1rem;\n ",
213
+ ": 0.125rem;\n ",
214
+ ": 0.125rem;\n ",
215
+ ": var(--plasma-typo-body-xxs-font-family);\n ",
216
+ ": var(--plasma-typo-body-xxs-font-size);\n ",
217
+ ": var(--plasma-typo-body-xxs-font-style);\n ",
218
+ ": var(--plasma-typo-body-xxs-body-font-weight);\n ",
219
+ ": var(--plasma-typo-body-xxs-letter-spacing);\n ",
220
+ ": var(--plasma-typo-body-xxs-line-height);\n "
221
+ ]);
222
+ _templateObject12 = function _templateObject() {
223
+ return data;
224
+ };
225
+ return data;
226
+ }
227
+ var config = {
228
+ defaults: {
229
+ view: 'default',
230
+ size: 'm'
231
+ },
232
+ variations: {
233
+ view: {
234
+ default: (0, _emotion.css)(_templateObject(), _emotion.progressBarCircularTokens.backgroundStroke, _emotion.progressBarCircularTokens.progressStroke, _emotion.progressBarCircularTokens.contentColor),
235
+ secondary: (0, _emotion.css)(_templateObject1(), _emotion.progressBarCircularTokens.backgroundStroke, _emotion.progressBarCircularTokens.progressStroke, _emotion.progressBarCircularTokens.contentColor),
236
+ accent: (0, _emotion.css)(_templateObject2(), _emotion.progressBarCircularTokens.backgroundStroke, _emotion.progressBarCircularTokens.progressStroke, _emotion.progressBarCircularTokens.contentColor),
237
+ positive: (0, _emotion.css)(_templateObject3(), _emotion.progressBarCircularTokens.backgroundStroke, _emotion.progressBarCircularTokens.progressStroke, _emotion.progressBarCircularTokens.contentColor),
238
+ warning: (0, _emotion.css)(_templateObject4(), _emotion.progressBarCircularTokens.backgroundStroke, _emotion.progressBarCircularTokens.progressStroke, _emotion.progressBarCircularTokens.contentColor),
239
+ negative: (0, _emotion.css)(_templateObject5(), _emotion.progressBarCircularTokens.backgroundStroke, _emotion.progressBarCircularTokens.progressStroke, _emotion.progressBarCircularTokens.contentColor)
240
+ },
241
+ size: {
242
+ xxl: (0, _emotion.css)(_templateObject6(), _emotion.progressBarCircularTokens.width, _emotion.progressBarCircularTokens.height, _emotion.progressBarCircularTokens.backgroundStrokeWidth, _emotion.progressBarCircularTokens.progressStrokeWidth, _emotion.progressBarCircularTokens.contentFontFamily, _emotion.progressBarCircularTokens.contentFontSize, _emotion.progressBarCircularTokens.contentFontStyle, _emotion.progressBarCircularTokens.contentFontWeight, _emotion.progressBarCircularTokens.contentLetterSpacing, _emotion.progressBarCircularTokens.contentLineHeight),
243
+ xl: (0, _emotion.css)(_templateObject7(), _emotion.progressBarCircularTokens.width, _emotion.progressBarCircularTokens.height, _emotion.progressBarCircularTokens.backgroundStrokeWidth, _emotion.progressBarCircularTokens.progressStrokeWidth, _emotion.progressBarCircularTokens.contentFontFamily, _emotion.progressBarCircularTokens.contentFontSize, _emotion.progressBarCircularTokens.contentFontStyle, _emotion.progressBarCircularTokens.contentFontWeight, _emotion.progressBarCircularTokens.contentLetterSpacing, _emotion.progressBarCircularTokens.contentLineHeight),
244
+ l: (0, _emotion.css)(_templateObject8(), _emotion.progressBarCircularTokens.width, _emotion.progressBarCircularTokens.height, _emotion.progressBarCircularTokens.backgroundStrokeWidth, _emotion.progressBarCircularTokens.progressStrokeWidth, _emotion.progressBarCircularTokens.contentFontFamily, _emotion.progressBarCircularTokens.contentFontSize, _emotion.progressBarCircularTokens.contentFontStyle, _emotion.progressBarCircularTokens.contentFontWeight, _emotion.progressBarCircularTokens.contentLetterSpacing, _emotion.progressBarCircularTokens.contentLineHeight),
245
+ m: (0, _emotion.css)(_templateObject9(), _emotion.progressBarCircularTokens.width, _emotion.progressBarCircularTokens.height, _emotion.progressBarCircularTokens.backgroundStrokeWidth, _emotion.progressBarCircularTokens.progressStrokeWidth, _emotion.progressBarCircularTokens.contentFontFamily, _emotion.progressBarCircularTokens.contentFontSize, _emotion.progressBarCircularTokens.contentFontStyle, _emotion.progressBarCircularTokens.contentFontWeight, _emotion.progressBarCircularTokens.contentLetterSpacing, _emotion.progressBarCircularTokens.contentLineHeight),
246
+ s: (0, _emotion.css)(_templateObject10(), _emotion.progressBarCircularTokens.width, _emotion.progressBarCircularTokens.height, _emotion.progressBarCircularTokens.backgroundStrokeWidth, _emotion.progressBarCircularTokens.progressStrokeWidth, _emotion.progressBarCircularTokens.contentFontFamily, _emotion.progressBarCircularTokens.contentFontSize, _emotion.progressBarCircularTokens.contentFontStyle, _emotion.progressBarCircularTokens.contentFontWeight, _emotion.progressBarCircularTokens.contentLetterSpacing, _emotion.progressBarCircularTokens.contentLineHeight),
247
+ xs: (0, _emotion.css)(_templateObject11(), _emotion.progressBarCircularTokens.width, _emotion.progressBarCircularTokens.height, _emotion.progressBarCircularTokens.backgroundStrokeWidth, _emotion.progressBarCircularTokens.progressStrokeWidth, _emotion.progressBarCircularTokens.contentFontFamily, _emotion.progressBarCircularTokens.contentFontSize, _emotion.progressBarCircularTokens.contentFontStyle, _emotion.progressBarCircularTokens.contentFontWeight, _emotion.progressBarCircularTokens.contentLetterSpacing, _emotion.progressBarCircularTokens.contentLineHeight),
248
+ xxs: (0, _emotion.css)(_templateObject12(), _emotion.progressBarCircularTokens.width, _emotion.progressBarCircularTokens.height, _emotion.progressBarCircularTokens.backgroundStrokeWidth, _emotion.progressBarCircularTokens.progressStrokeWidth, _emotion.progressBarCircularTokens.contentFontFamily, _emotion.progressBarCircularTokens.contentFontSize, _emotion.progressBarCircularTokens.contentFontStyle, _emotion.progressBarCircularTokens.contentFontWeight, _emotion.progressBarCircularTokens.contentLetterSpacing, _emotion.progressBarCircularTokens.contentLineHeight)
249
+ }
250
+ }
251
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "ProgressBarCircular", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return ProgressBarCircular;
9
+ }
10
+ });
11
+ var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ var _ProgressBarCircularconfig = require("./ProgressBarCircular.config");
13
+ var mergedConfig = (0, _emotion.mergeConfig)(_emotion.progressBarCircularConfig, _ProgressBarCircularconfig.config);
14
+ var ProgressBarCircular = (0, _emotion.component)(mergedConfig);
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "ProgressBarCircular", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return _ProgressBarCircular.ProgressBarCircular;
9
+ }
10
+ });
11
+ var _ProgressBarCircular = require("./ProgressBarCircular");
@@ -0,0 +1,241 @@
1
+ function _tagged_template_literal(strings, raw) {
2
+ if (!raw) {
3
+ raw = strings.slice(0);
4
+ }
5
+ return Object.freeze(Object.defineProperties(strings, {
6
+ raw: {
7
+ value: Object.freeze(raw)
8
+ }
9
+ }));
10
+ }
11
+ function _templateObject() {
12
+ var data = _tagged_template_literal([
13
+ "\n ",
14
+ ": var(--surface-transparent-tertiary);\n ",
15
+ ": var(--surface-solid-default);\n ",
16
+ ": var(--text-primary);\n "
17
+ ]);
18
+ _templateObject = function _templateObject() {
19
+ return data;
20
+ };
21
+ return data;
22
+ }
23
+ function _templateObject1() {
24
+ var data = _tagged_template_literal([
25
+ "\n ",
26
+ ": var(--surface-transparent-tertiary);\n ",
27
+ ": var(--surface-transparent-secondary);\n ",
28
+ ": var(--text-primary);\n "
29
+ ]);
30
+ _templateObject1 = function _templateObject() {
31
+ return data;
32
+ };
33
+ return data;
34
+ }
35
+ function _templateObject2() {
36
+ var data = _tagged_template_literal([
37
+ "\n ",
38
+ ": var(--surface-transparent-tertiary);\n ",
39
+ ": var(--surface-accent);\n ",
40
+ ": var(--text-primary);\n "
41
+ ]);
42
+ _templateObject2 = function _templateObject() {
43
+ return data;
44
+ };
45
+ return data;
46
+ }
47
+ function _templateObject3() {
48
+ var data = _tagged_template_literal([
49
+ "\n ",
50
+ ": var(--surface-transparent-tertiary);\n ",
51
+ ": var(--surface-positive);\n ",
52
+ ": var(--text-primary);\n "
53
+ ]);
54
+ _templateObject3 = function _templateObject() {
55
+ return data;
56
+ };
57
+ return data;
58
+ }
59
+ function _templateObject4() {
60
+ var data = _tagged_template_literal([
61
+ "\n ",
62
+ ": var(--surface-transparent-tertiary);\n ",
63
+ ": var(--surface-warning);\n ",
64
+ ": var(--text-primary);\n "
65
+ ]);
66
+ _templateObject4 = function _templateObject() {
67
+ return data;
68
+ };
69
+ return data;
70
+ }
71
+ function _templateObject5() {
72
+ var data = _tagged_template_literal([
73
+ "\n ",
74
+ ": var(--surface-transparent-tertiary);\n ",
75
+ ": var(--surface-negative);\n ",
76
+ ": var(--text-primary);\n "
77
+ ]);
78
+ _templateObject5 = function _templateObject() {
79
+ return data;
80
+ };
81
+ return data;
82
+ }
83
+ function _templateObject6() {
84
+ var data = _tagged_template_literal([
85
+ "\n ",
86
+ ": 8rem;\n ",
87
+ ": 8rem;\n ",
88
+ ": 0.25rem;\n ",
89
+ ": 0.25rem;\n ",
90
+ ": var(--plasma-typo-h2-font-family);\n ",
91
+ ": var(--plasma-typo-h2-font-size);\n ",
92
+ ": var(--plasma-typo-h2-font-style);\n ",
93
+ ": var(--plasma-typo-h2-bold-font-weight);\n ",
94
+ ": var(--plasma-typo-h2-letter-spacing);\n ",
95
+ ": var(--plasma-typo-h2-line-height);\n "
96
+ ]);
97
+ _templateObject6 = function _templateObject() {
98
+ return data;
99
+ };
100
+ return data;
101
+ }
102
+ function _templateObject7() {
103
+ var data = _tagged_template_literal([
104
+ "\n ",
105
+ ": 5.5rem;\n ",
106
+ ": 5.5rem;\n ",
107
+ ": 0.25rem;\n ",
108
+ ": 0.25rem;\n ",
109
+ ": var(--plasma-typo-h5-font-family);\n ",
110
+ ": var(--plasma-typo-h5-font-size);\n ",
111
+ ": var(--plasma-typo-h5-font-style);\n ",
112
+ ": var(--plasma-typo-h5-bold-font-weight);\n ",
113
+ ": var(--plasma-typo-h5-letter-spacing);\n ",
114
+ ": var(--plasma-typo-h5-line-height);\n "
115
+ ]);
116
+ _templateObject7 = function _templateObject() {
117
+ return data;
118
+ };
119
+ return data;
120
+ }
121
+ function _templateObject8() {
122
+ var data = _tagged_template_literal([
123
+ "\n ",
124
+ ": 3.5rem;\n ",
125
+ ": 3.5rem;\n ",
126
+ ": 0.125rem;\n ",
127
+ ": 0.125rem;\n ",
128
+ ": var(--plasma-typo-body-l-font-family);\n ",
129
+ ": var(--plasma-typo-body-l-font-size);\n ",
130
+ ": var(--plasma-typo-body-l-font-style);\n ",
131
+ ": var(--plasma-typo-body-l-body-font-weight);\n ",
132
+ ": var(--plasma-typo-body-l-letter-spacing);\n ",
133
+ ": var(--plasma-typo-body-l-line-height);\n "
134
+ ]);
135
+ _templateObject8 = function _templateObject() {
136
+ return data;
137
+ };
138
+ return data;
139
+ }
140
+ function _templateObject9() {
141
+ var data = _tagged_template_literal([
142
+ "\n ",
143
+ ": 3rem;\n ",
144
+ ": 3rem;\n ",
145
+ ": 0.125rem;\n ",
146
+ ": 0.125rem;\n ",
147
+ ": var(--plasma-typo-body-m-font-family);\n ",
148
+ ": var(--plasma-typo-body-m-font-size);\n ",
149
+ ": var(--plasma-typo-body-m-font-style);\n ",
150
+ ": var(--plasma-typo-body-m-body-font-weight);\n ",
151
+ ": var(--plasma-typo-body-m-letter-spacing);\n ",
152
+ ": var(--plasma-typo-body-m-line-height);\n "
153
+ ]);
154
+ _templateObject9 = function _templateObject() {
155
+ return data;
156
+ };
157
+ return data;
158
+ }
159
+ function _templateObject10() {
160
+ var data = _tagged_template_literal([
161
+ "\n ",
162
+ ": 2.25rem;\n ",
163
+ ": 2.25rem;\n ",
164
+ ": 0.125rem;\n ",
165
+ ": 0.125rem;\n ",
166
+ ": var(--plasma-typo-body-s-font-family);\n ",
167
+ ": var(--plasma-typo-body-s-font-size);\n ",
168
+ ": var(--plasma-typo-body-s-font-style);\n ",
169
+ ": var(--plasma-typo-body-s-body-font-weight);\n ",
170
+ ": var(--plasma-typo-body-s-letter-spacing);\n ",
171
+ ": var(--plasma-typo-body-s-line-height);\n "
172
+ ]);
173
+ _templateObject10 = function _templateObject() {
174
+ return data;
175
+ };
176
+ return data;
177
+ }
178
+ function _templateObject11() {
179
+ var data = _tagged_template_literal([
180
+ "\n ",
181
+ ": 1.5rem;\n ",
182
+ ": 1.5rem;\n ",
183
+ ": 0.125rem;\n ",
184
+ ": 0.125rem;\n ",
185
+ ": var(--plasma-typo-body-xs-font-family);\n ",
186
+ ": var(--plasma-typo-body-xs-font-size);\n ",
187
+ ": var(--plasma-typo-body-xs-font-style);\n ",
188
+ ": var(--plasma-typo-body-xs-body-font-weight);\n ",
189
+ ": var(--plasma-typo-body-xs-letter-spacing);\n ",
190
+ ": var(--plasma-typo-body-xs-line-height);\n "
191
+ ]);
192
+ _templateObject11 = function _templateObject() {
193
+ return data;
194
+ };
195
+ return data;
196
+ }
197
+ function _templateObject12() {
198
+ var data = _tagged_template_literal([
199
+ "\n ",
200
+ ": 1rem;\n ",
201
+ ": 1rem;\n ",
202
+ ": 0.125rem;\n ",
203
+ ": 0.125rem;\n ",
204
+ ": var(--plasma-typo-body-xxs-font-family);\n ",
205
+ ": var(--plasma-typo-body-xxs-font-size);\n ",
206
+ ": var(--plasma-typo-body-xxs-font-style);\n ",
207
+ ": var(--plasma-typo-body-xxs-body-font-weight);\n ",
208
+ ": var(--plasma-typo-body-xxs-letter-spacing);\n ",
209
+ ": var(--plasma-typo-body-xxs-line-height);\n "
210
+ ]);
211
+ _templateObject12 = function _templateObject() {
212
+ return data;
213
+ };
214
+ return data;
215
+ }
216
+ import { css, progressBarCircularTokens } from '@salutejs/plasma-new-hope/emotion';
217
+ export var config = {
218
+ defaults: {
219
+ view: 'default',
220
+ size: 'm'
221
+ },
222
+ variations: {
223
+ view: {
224
+ default: css(_templateObject(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor),
225
+ secondary: css(_templateObject1(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor),
226
+ accent: css(_templateObject2(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor),
227
+ positive: css(_templateObject3(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor),
228
+ warning: css(_templateObject4(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor),
229
+ negative: css(_templateObject5(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor)
230
+ },
231
+ size: {
232
+ xxl: css(_templateObject6(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
233
+ xl: css(_templateObject7(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
234
+ l: css(_templateObject8(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
235
+ m: css(_templateObject9(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
236
+ s: css(_templateObject10(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
237
+ xs: css(_templateObject11(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
238
+ xxs: css(_templateObject12(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight)
239
+ }
240
+ }
241
+ };
@@ -0,0 +1,4 @@
1
+ import { progressBarCircularConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
2
+ import { config } from './ProgressBarCircular.config';
3
+ var mergedConfig = mergeConfig(progressBarCircularConfig, config);
4
+ export var ProgressBarCircular = component(mergedConfig);
@@ -0,0 +1 @@
1
+ export { ProgressBarCircular } from './ProgressBarCircular';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-serv",
3
- "version": "0.325.0-canary.2280.18389973911.0",
3
+ "version": "0.325.0-canary.2280.18412321271.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS SERV web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  "directory": "packages/sdds-serv"
33
33
  },
34
34
  "dependencies": {
35
- "@salutejs/plasma-new-hope": "0.338.0-canary.2280.18389973911.0",
35
+ "@salutejs/plasma-new-hope": "0.338.0-canary.2280.18412321271.0",
36
36
  "@salutejs/sdds-themes": "0.47.0"
37
37
  },
38
38
  "peerDependencies": {
@@ -137,5 +137,5 @@
137
137
  "sideEffects": [
138
138
  "*.css"
139
139
  ],
140
- "gitHead": "f7f01a56f17242dd60754c7da9c46e8c1b431e60"
140
+ "gitHead": "869e9ab7e4a97e1e36bf2daa9d25fd724c5cfc54"
141
141
  }
@@ -0,0 +1,251 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "config", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return config;
9
+ }
10
+ });
11
+ var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
12
+ function _tagged_template_literal(strings, raw) {
13
+ if (!raw) {
14
+ raw = strings.slice(0);
15
+ }
16
+ return Object.freeze(Object.defineProperties(strings, {
17
+ raw: {
18
+ value: Object.freeze(raw)
19
+ }
20
+ }));
21
+ }
22
+ function _templateObject() {
23
+ var data = _tagged_template_literal([
24
+ "\n ",
25
+ ": var(--surface-transparent-tertiary);\n ",
26
+ ": var(--surface-solid-default);\n ",
27
+ ": var(--text-primary);\n "
28
+ ]);
29
+ _templateObject = function _templateObject() {
30
+ return data;
31
+ };
32
+ return data;
33
+ }
34
+ function _templateObject1() {
35
+ var data = _tagged_template_literal([
36
+ "\n ",
37
+ ": var(--surface-transparent-tertiary);\n ",
38
+ ": var(--surface-transparent-secondary);\n ",
39
+ ": var(--text-primary);\n "
40
+ ]);
41
+ _templateObject1 = function _templateObject() {
42
+ return data;
43
+ };
44
+ return data;
45
+ }
46
+ function _templateObject2() {
47
+ var data = _tagged_template_literal([
48
+ "\n ",
49
+ ": var(--surface-transparent-tertiary);\n ",
50
+ ": var(--surface-accent);\n ",
51
+ ": var(--text-primary);\n "
52
+ ]);
53
+ _templateObject2 = function _templateObject() {
54
+ return data;
55
+ };
56
+ return data;
57
+ }
58
+ function _templateObject3() {
59
+ var data = _tagged_template_literal([
60
+ "\n ",
61
+ ": var(--surface-transparent-tertiary);\n ",
62
+ ": var(--surface-positive);\n ",
63
+ ": var(--text-primary);\n "
64
+ ]);
65
+ _templateObject3 = function _templateObject() {
66
+ return data;
67
+ };
68
+ return data;
69
+ }
70
+ function _templateObject4() {
71
+ var data = _tagged_template_literal([
72
+ "\n ",
73
+ ": var(--surface-transparent-tertiary);\n ",
74
+ ": var(--surface-warning);\n ",
75
+ ": var(--text-primary);\n "
76
+ ]);
77
+ _templateObject4 = function _templateObject() {
78
+ return data;
79
+ };
80
+ return data;
81
+ }
82
+ function _templateObject5() {
83
+ var data = _tagged_template_literal([
84
+ "\n ",
85
+ ": var(--surface-transparent-tertiary);\n ",
86
+ ": var(--surface-negative);\n ",
87
+ ": var(--text-primary);\n "
88
+ ]);
89
+ _templateObject5 = function _templateObject() {
90
+ return data;
91
+ };
92
+ return data;
93
+ }
94
+ function _templateObject6() {
95
+ var data = _tagged_template_literal([
96
+ "\n ",
97
+ ": 8rem;\n ",
98
+ ": 8rem;\n ",
99
+ ": 0.25rem;\n ",
100
+ ": 0.25rem;\n ",
101
+ ": var(--plasma-typo-h2-font-family);\n ",
102
+ ": var(--plasma-typo-h2-font-size);\n ",
103
+ ": var(--plasma-typo-h2-font-style);\n ",
104
+ ": var(--plasma-typo-h2-bold-font-weight);\n ",
105
+ ": var(--plasma-typo-h2-letter-spacing);\n ",
106
+ ": var(--plasma-typo-h2-line-height);\n "
107
+ ]);
108
+ _templateObject6 = function _templateObject() {
109
+ return data;
110
+ };
111
+ return data;
112
+ }
113
+ function _templateObject7() {
114
+ var data = _tagged_template_literal([
115
+ "\n ",
116
+ ": 5.5rem;\n ",
117
+ ": 5.5rem;\n ",
118
+ ": 0.25rem;\n ",
119
+ ": 0.25rem;\n ",
120
+ ": var(--plasma-typo-h5-font-family);\n ",
121
+ ": var(--plasma-typo-h5-font-size);\n ",
122
+ ": var(--plasma-typo-h5-font-style);\n ",
123
+ ": var(--plasma-typo-h5-bold-font-weight);\n ",
124
+ ": var(--plasma-typo-h5-letter-spacing);\n ",
125
+ ": var(--plasma-typo-h5-line-height);\n "
126
+ ]);
127
+ _templateObject7 = function _templateObject() {
128
+ return data;
129
+ };
130
+ return data;
131
+ }
132
+ function _templateObject8() {
133
+ var data = _tagged_template_literal([
134
+ "\n ",
135
+ ": 3.5rem;\n ",
136
+ ": 3.5rem;\n ",
137
+ ": 0.125rem;\n ",
138
+ ": 0.125rem;\n ",
139
+ ": var(--plasma-typo-body-l-font-family);\n ",
140
+ ": var(--plasma-typo-body-l-font-size);\n ",
141
+ ": var(--plasma-typo-body-l-font-style);\n ",
142
+ ": var(--plasma-typo-body-l-body-font-weight);\n ",
143
+ ": var(--plasma-typo-body-l-letter-spacing);\n ",
144
+ ": var(--plasma-typo-body-l-line-height);\n "
145
+ ]);
146
+ _templateObject8 = function _templateObject() {
147
+ return data;
148
+ };
149
+ return data;
150
+ }
151
+ function _templateObject9() {
152
+ var data = _tagged_template_literal([
153
+ "\n ",
154
+ ": 3rem;\n ",
155
+ ": 3rem;\n ",
156
+ ": 0.125rem;\n ",
157
+ ": 0.125rem;\n ",
158
+ ": var(--plasma-typo-body-m-font-family);\n ",
159
+ ": var(--plasma-typo-body-m-font-size);\n ",
160
+ ": var(--plasma-typo-body-m-font-style);\n ",
161
+ ": var(--plasma-typo-body-m-body-font-weight);\n ",
162
+ ": var(--plasma-typo-body-m-letter-spacing);\n ",
163
+ ": var(--plasma-typo-body-m-line-height);\n "
164
+ ]);
165
+ _templateObject9 = function _templateObject() {
166
+ return data;
167
+ };
168
+ return data;
169
+ }
170
+ function _templateObject10() {
171
+ var data = _tagged_template_literal([
172
+ "\n ",
173
+ ": 2.25rem;\n ",
174
+ ": 2.25rem;\n ",
175
+ ": 0.125rem;\n ",
176
+ ": 0.125rem;\n ",
177
+ ": var(--plasma-typo-body-s-font-family);\n ",
178
+ ": var(--plasma-typo-body-s-font-size);\n ",
179
+ ": var(--plasma-typo-body-s-font-style);\n ",
180
+ ": var(--plasma-typo-body-s-body-font-weight);\n ",
181
+ ": var(--plasma-typo-body-s-letter-spacing);\n ",
182
+ ": var(--plasma-typo-body-s-line-height);\n "
183
+ ]);
184
+ _templateObject10 = function _templateObject() {
185
+ return data;
186
+ };
187
+ return data;
188
+ }
189
+ function _templateObject11() {
190
+ var data = _tagged_template_literal([
191
+ "\n ",
192
+ ": 1.5rem;\n ",
193
+ ": 1.5rem;\n ",
194
+ ": 0.125rem;\n ",
195
+ ": 0.125rem;\n ",
196
+ ": var(--plasma-typo-body-xs-font-family);\n ",
197
+ ": var(--plasma-typo-body-xs-font-size);\n ",
198
+ ": var(--plasma-typo-body-xs-font-style);\n ",
199
+ ": var(--plasma-typo-body-xs-body-font-weight);\n ",
200
+ ": var(--plasma-typo-body-xs-letter-spacing);\n ",
201
+ ": var(--plasma-typo-body-xs-line-height);\n "
202
+ ]);
203
+ _templateObject11 = function _templateObject() {
204
+ return data;
205
+ };
206
+ return data;
207
+ }
208
+ function _templateObject12() {
209
+ var data = _tagged_template_literal([
210
+ "\n ",
211
+ ": 1rem;\n ",
212
+ ": 1rem;\n ",
213
+ ": 0.125rem;\n ",
214
+ ": 0.125rem;\n ",
215
+ ": var(--plasma-typo-body-xxs-font-family);\n ",
216
+ ": var(--plasma-typo-body-xxs-font-size);\n ",
217
+ ": var(--plasma-typo-body-xxs-font-style);\n ",
218
+ ": var(--plasma-typo-body-xxs-body-font-weight);\n ",
219
+ ": var(--plasma-typo-body-xxs-letter-spacing);\n ",
220
+ ": var(--plasma-typo-body-xxs-line-height);\n "
221
+ ]);
222
+ _templateObject12 = function _templateObject() {
223
+ return data;
224
+ };
225
+ return data;
226
+ }
227
+ var config = {
228
+ defaults: {
229
+ view: 'default',
230
+ size: 'm'
231
+ },
232
+ variations: {
233
+ view: {
234
+ default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.progressBarCircularTokens.backgroundStroke, _styledcomponents.progressBarCircularTokens.progressStroke, _styledcomponents.progressBarCircularTokens.contentColor),
235
+ secondary: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.progressBarCircularTokens.backgroundStroke, _styledcomponents.progressBarCircularTokens.progressStroke, _styledcomponents.progressBarCircularTokens.contentColor),
236
+ accent: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.progressBarCircularTokens.backgroundStroke, _styledcomponents.progressBarCircularTokens.progressStroke, _styledcomponents.progressBarCircularTokens.contentColor),
237
+ positive: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.progressBarCircularTokens.backgroundStroke, _styledcomponents.progressBarCircularTokens.progressStroke, _styledcomponents.progressBarCircularTokens.contentColor),
238
+ warning: (0, _styledcomponents.css)(_templateObject4(), _styledcomponents.progressBarCircularTokens.backgroundStroke, _styledcomponents.progressBarCircularTokens.progressStroke, _styledcomponents.progressBarCircularTokens.contentColor),
239
+ negative: (0, _styledcomponents.css)(_templateObject5(), _styledcomponents.progressBarCircularTokens.backgroundStroke, _styledcomponents.progressBarCircularTokens.progressStroke, _styledcomponents.progressBarCircularTokens.contentColor)
240
+ },
241
+ size: {
242
+ xxl: (0, _styledcomponents.css)(_templateObject6(), _styledcomponents.progressBarCircularTokens.width, _styledcomponents.progressBarCircularTokens.height, _styledcomponents.progressBarCircularTokens.backgroundStrokeWidth, _styledcomponents.progressBarCircularTokens.progressStrokeWidth, _styledcomponents.progressBarCircularTokens.contentFontFamily, _styledcomponents.progressBarCircularTokens.contentFontSize, _styledcomponents.progressBarCircularTokens.contentFontStyle, _styledcomponents.progressBarCircularTokens.contentFontWeight, _styledcomponents.progressBarCircularTokens.contentLetterSpacing, _styledcomponents.progressBarCircularTokens.contentLineHeight),
243
+ xl: (0, _styledcomponents.css)(_templateObject7(), _styledcomponents.progressBarCircularTokens.width, _styledcomponents.progressBarCircularTokens.height, _styledcomponents.progressBarCircularTokens.backgroundStrokeWidth, _styledcomponents.progressBarCircularTokens.progressStrokeWidth, _styledcomponents.progressBarCircularTokens.contentFontFamily, _styledcomponents.progressBarCircularTokens.contentFontSize, _styledcomponents.progressBarCircularTokens.contentFontStyle, _styledcomponents.progressBarCircularTokens.contentFontWeight, _styledcomponents.progressBarCircularTokens.contentLetterSpacing, _styledcomponents.progressBarCircularTokens.contentLineHeight),
244
+ l: (0, _styledcomponents.css)(_templateObject8(), _styledcomponents.progressBarCircularTokens.width, _styledcomponents.progressBarCircularTokens.height, _styledcomponents.progressBarCircularTokens.backgroundStrokeWidth, _styledcomponents.progressBarCircularTokens.progressStrokeWidth, _styledcomponents.progressBarCircularTokens.contentFontFamily, _styledcomponents.progressBarCircularTokens.contentFontSize, _styledcomponents.progressBarCircularTokens.contentFontStyle, _styledcomponents.progressBarCircularTokens.contentFontWeight, _styledcomponents.progressBarCircularTokens.contentLetterSpacing, _styledcomponents.progressBarCircularTokens.contentLineHeight),
245
+ m: (0, _styledcomponents.css)(_templateObject9(), _styledcomponents.progressBarCircularTokens.width, _styledcomponents.progressBarCircularTokens.height, _styledcomponents.progressBarCircularTokens.backgroundStrokeWidth, _styledcomponents.progressBarCircularTokens.progressStrokeWidth, _styledcomponents.progressBarCircularTokens.contentFontFamily, _styledcomponents.progressBarCircularTokens.contentFontSize, _styledcomponents.progressBarCircularTokens.contentFontStyle, _styledcomponents.progressBarCircularTokens.contentFontWeight, _styledcomponents.progressBarCircularTokens.contentLetterSpacing, _styledcomponents.progressBarCircularTokens.contentLineHeight),
246
+ s: (0, _styledcomponents.css)(_templateObject10(), _styledcomponents.progressBarCircularTokens.width, _styledcomponents.progressBarCircularTokens.height, _styledcomponents.progressBarCircularTokens.backgroundStrokeWidth, _styledcomponents.progressBarCircularTokens.progressStrokeWidth, _styledcomponents.progressBarCircularTokens.contentFontFamily, _styledcomponents.progressBarCircularTokens.contentFontSize, _styledcomponents.progressBarCircularTokens.contentFontStyle, _styledcomponents.progressBarCircularTokens.contentFontWeight, _styledcomponents.progressBarCircularTokens.contentLetterSpacing, _styledcomponents.progressBarCircularTokens.contentLineHeight),
247
+ xs: (0, _styledcomponents.css)(_templateObject11(), _styledcomponents.progressBarCircularTokens.width, _styledcomponents.progressBarCircularTokens.height, _styledcomponents.progressBarCircularTokens.backgroundStrokeWidth, _styledcomponents.progressBarCircularTokens.progressStrokeWidth, _styledcomponents.progressBarCircularTokens.contentFontFamily, _styledcomponents.progressBarCircularTokens.contentFontSize, _styledcomponents.progressBarCircularTokens.contentFontStyle, _styledcomponents.progressBarCircularTokens.contentFontWeight, _styledcomponents.progressBarCircularTokens.contentLetterSpacing, _styledcomponents.progressBarCircularTokens.contentLineHeight),
248
+ xxs: (0, _styledcomponents.css)(_templateObject12(), _styledcomponents.progressBarCircularTokens.width, _styledcomponents.progressBarCircularTokens.height, _styledcomponents.progressBarCircularTokens.backgroundStrokeWidth, _styledcomponents.progressBarCircularTokens.progressStrokeWidth, _styledcomponents.progressBarCircularTokens.contentFontFamily, _styledcomponents.progressBarCircularTokens.contentFontSize, _styledcomponents.progressBarCircularTokens.contentFontStyle, _styledcomponents.progressBarCircularTokens.contentFontWeight, _styledcomponents.progressBarCircularTokens.contentLetterSpacing, _styledcomponents.progressBarCircularTokens.contentLineHeight)
249
+ }
250
+ }
251
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "ProgressBarCircular", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return ProgressBarCircular;
9
+ }
10
+ });
11
+ var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
12
+ var _ProgressBarCircularconfig = require("./ProgressBarCircular.config");
13
+ var mergedConfig = (0, _styledcomponents.mergeConfig)(_styledcomponents.progressBarCircularConfig, _ProgressBarCircularconfig.config);
14
+ var ProgressBarCircular = (0, _styledcomponents.component)(mergedConfig);
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "ProgressBarCircular", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return _ProgressBarCircular.ProgressBarCircular;
9
+ }
10
+ });
11
+ var _ProgressBarCircular = require("./ProgressBarCircular");
@@ -0,0 +1,241 @@
1
+ function _tagged_template_literal(strings, raw) {
2
+ if (!raw) {
3
+ raw = strings.slice(0);
4
+ }
5
+ return Object.freeze(Object.defineProperties(strings, {
6
+ raw: {
7
+ value: Object.freeze(raw)
8
+ }
9
+ }));
10
+ }
11
+ function _templateObject() {
12
+ var data = _tagged_template_literal([
13
+ "\n ",
14
+ ": var(--surface-transparent-tertiary);\n ",
15
+ ": var(--surface-solid-default);\n ",
16
+ ": var(--text-primary);\n "
17
+ ]);
18
+ _templateObject = function _templateObject() {
19
+ return data;
20
+ };
21
+ return data;
22
+ }
23
+ function _templateObject1() {
24
+ var data = _tagged_template_literal([
25
+ "\n ",
26
+ ": var(--surface-transparent-tertiary);\n ",
27
+ ": var(--surface-transparent-secondary);\n ",
28
+ ": var(--text-primary);\n "
29
+ ]);
30
+ _templateObject1 = function _templateObject() {
31
+ return data;
32
+ };
33
+ return data;
34
+ }
35
+ function _templateObject2() {
36
+ var data = _tagged_template_literal([
37
+ "\n ",
38
+ ": var(--surface-transparent-tertiary);\n ",
39
+ ": var(--surface-accent);\n ",
40
+ ": var(--text-primary);\n "
41
+ ]);
42
+ _templateObject2 = function _templateObject() {
43
+ return data;
44
+ };
45
+ return data;
46
+ }
47
+ function _templateObject3() {
48
+ var data = _tagged_template_literal([
49
+ "\n ",
50
+ ": var(--surface-transparent-tertiary);\n ",
51
+ ": var(--surface-positive);\n ",
52
+ ": var(--text-primary);\n "
53
+ ]);
54
+ _templateObject3 = function _templateObject() {
55
+ return data;
56
+ };
57
+ return data;
58
+ }
59
+ function _templateObject4() {
60
+ var data = _tagged_template_literal([
61
+ "\n ",
62
+ ": var(--surface-transparent-tertiary);\n ",
63
+ ": var(--surface-warning);\n ",
64
+ ": var(--text-primary);\n "
65
+ ]);
66
+ _templateObject4 = function _templateObject() {
67
+ return data;
68
+ };
69
+ return data;
70
+ }
71
+ function _templateObject5() {
72
+ var data = _tagged_template_literal([
73
+ "\n ",
74
+ ": var(--surface-transparent-tertiary);\n ",
75
+ ": var(--surface-negative);\n ",
76
+ ": var(--text-primary);\n "
77
+ ]);
78
+ _templateObject5 = function _templateObject() {
79
+ return data;
80
+ };
81
+ return data;
82
+ }
83
+ function _templateObject6() {
84
+ var data = _tagged_template_literal([
85
+ "\n ",
86
+ ": 8rem;\n ",
87
+ ": 8rem;\n ",
88
+ ": 0.25rem;\n ",
89
+ ": 0.25rem;\n ",
90
+ ": var(--plasma-typo-h2-font-family);\n ",
91
+ ": var(--plasma-typo-h2-font-size);\n ",
92
+ ": var(--plasma-typo-h2-font-style);\n ",
93
+ ": var(--plasma-typo-h2-bold-font-weight);\n ",
94
+ ": var(--plasma-typo-h2-letter-spacing);\n ",
95
+ ": var(--plasma-typo-h2-line-height);\n "
96
+ ]);
97
+ _templateObject6 = function _templateObject() {
98
+ return data;
99
+ };
100
+ return data;
101
+ }
102
+ function _templateObject7() {
103
+ var data = _tagged_template_literal([
104
+ "\n ",
105
+ ": 5.5rem;\n ",
106
+ ": 5.5rem;\n ",
107
+ ": 0.25rem;\n ",
108
+ ": 0.25rem;\n ",
109
+ ": var(--plasma-typo-h5-font-family);\n ",
110
+ ": var(--plasma-typo-h5-font-size);\n ",
111
+ ": var(--plasma-typo-h5-font-style);\n ",
112
+ ": var(--plasma-typo-h5-bold-font-weight);\n ",
113
+ ": var(--plasma-typo-h5-letter-spacing);\n ",
114
+ ": var(--plasma-typo-h5-line-height);\n "
115
+ ]);
116
+ _templateObject7 = function _templateObject() {
117
+ return data;
118
+ };
119
+ return data;
120
+ }
121
+ function _templateObject8() {
122
+ var data = _tagged_template_literal([
123
+ "\n ",
124
+ ": 3.5rem;\n ",
125
+ ": 3.5rem;\n ",
126
+ ": 0.125rem;\n ",
127
+ ": 0.125rem;\n ",
128
+ ": var(--plasma-typo-body-l-font-family);\n ",
129
+ ": var(--plasma-typo-body-l-font-size);\n ",
130
+ ": var(--plasma-typo-body-l-font-style);\n ",
131
+ ": var(--plasma-typo-body-l-body-font-weight);\n ",
132
+ ": var(--plasma-typo-body-l-letter-spacing);\n ",
133
+ ": var(--plasma-typo-body-l-line-height);\n "
134
+ ]);
135
+ _templateObject8 = function _templateObject() {
136
+ return data;
137
+ };
138
+ return data;
139
+ }
140
+ function _templateObject9() {
141
+ var data = _tagged_template_literal([
142
+ "\n ",
143
+ ": 3rem;\n ",
144
+ ": 3rem;\n ",
145
+ ": 0.125rem;\n ",
146
+ ": 0.125rem;\n ",
147
+ ": var(--plasma-typo-body-m-font-family);\n ",
148
+ ": var(--plasma-typo-body-m-font-size);\n ",
149
+ ": var(--plasma-typo-body-m-font-style);\n ",
150
+ ": var(--plasma-typo-body-m-body-font-weight);\n ",
151
+ ": var(--plasma-typo-body-m-letter-spacing);\n ",
152
+ ": var(--plasma-typo-body-m-line-height);\n "
153
+ ]);
154
+ _templateObject9 = function _templateObject() {
155
+ return data;
156
+ };
157
+ return data;
158
+ }
159
+ function _templateObject10() {
160
+ var data = _tagged_template_literal([
161
+ "\n ",
162
+ ": 2.25rem;\n ",
163
+ ": 2.25rem;\n ",
164
+ ": 0.125rem;\n ",
165
+ ": 0.125rem;\n ",
166
+ ": var(--plasma-typo-body-s-font-family);\n ",
167
+ ": var(--plasma-typo-body-s-font-size);\n ",
168
+ ": var(--plasma-typo-body-s-font-style);\n ",
169
+ ": var(--plasma-typo-body-s-body-font-weight);\n ",
170
+ ": var(--plasma-typo-body-s-letter-spacing);\n ",
171
+ ": var(--plasma-typo-body-s-line-height);\n "
172
+ ]);
173
+ _templateObject10 = function _templateObject() {
174
+ return data;
175
+ };
176
+ return data;
177
+ }
178
+ function _templateObject11() {
179
+ var data = _tagged_template_literal([
180
+ "\n ",
181
+ ": 1.5rem;\n ",
182
+ ": 1.5rem;\n ",
183
+ ": 0.125rem;\n ",
184
+ ": 0.125rem;\n ",
185
+ ": var(--plasma-typo-body-xs-font-family);\n ",
186
+ ": var(--plasma-typo-body-xs-font-size);\n ",
187
+ ": var(--plasma-typo-body-xs-font-style);\n ",
188
+ ": var(--plasma-typo-body-xs-body-font-weight);\n ",
189
+ ": var(--plasma-typo-body-xs-letter-spacing);\n ",
190
+ ": var(--plasma-typo-body-xs-line-height);\n "
191
+ ]);
192
+ _templateObject11 = function _templateObject() {
193
+ return data;
194
+ };
195
+ return data;
196
+ }
197
+ function _templateObject12() {
198
+ var data = _tagged_template_literal([
199
+ "\n ",
200
+ ": 1rem;\n ",
201
+ ": 1rem;\n ",
202
+ ": 0.125rem;\n ",
203
+ ": 0.125rem;\n ",
204
+ ": var(--plasma-typo-body-xxs-font-family);\n ",
205
+ ": var(--plasma-typo-body-xxs-font-size);\n ",
206
+ ": var(--plasma-typo-body-xxs-font-style);\n ",
207
+ ": var(--plasma-typo-body-xxs-body-font-weight);\n ",
208
+ ": var(--plasma-typo-body-xxs-letter-spacing);\n ",
209
+ ": var(--plasma-typo-body-xxs-line-height);\n "
210
+ ]);
211
+ _templateObject12 = function _templateObject() {
212
+ return data;
213
+ };
214
+ return data;
215
+ }
216
+ import { css, progressBarCircularTokens } from '@salutejs/plasma-new-hope/styled-components';
217
+ export var config = {
218
+ defaults: {
219
+ view: 'default',
220
+ size: 'm'
221
+ },
222
+ variations: {
223
+ view: {
224
+ default: css(_templateObject(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor),
225
+ secondary: css(_templateObject1(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor),
226
+ accent: css(_templateObject2(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor),
227
+ positive: css(_templateObject3(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor),
228
+ warning: css(_templateObject4(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor),
229
+ negative: css(_templateObject5(), progressBarCircularTokens.backgroundStroke, progressBarCircularTokens.progressStroke, progressBarCircularTokens.contentColor)
230
+ },
231
+ size: {
232
+ xxl: css(_templateObject6(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
233
+ xl: css(_templateObject7(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
234
+ l: css(_templateObject8(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
235
+ m: css(_templateObject9(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
236
+ s: css(_templateObject10(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
237
+ xs: css(_templateObject11(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight),
238
+ xxs: css(_templateObject12(), progressBarCircularTokens.width, progressBarCircularTokens.height, progressBarCircularTokens.backgroundStrokeWidth, progressBarCircularTokens.progressStrokeWidth, progressBarCircularTokens.contentFontFamily, progressBarCircularTokens.contentFontSize, progressBarCircularTokens.contentFontStyle, progressBarCircularTokens.contentFontWeight, progressBarCircularTokens.contentLetterSpacing, progressBarCircularTokens.contentLineHeight)
239
+ }
240
+ }
241
+ };
@@ -0,0 +1,4 @@
1
+ import { progressBarCircularConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
2
+ import { config } from './ProgressBarCircular.config';
3
+ var mergedConfig = mergeConfig(progressBarCircularConfig, config);
4
+ export var ProgressBarCircular = component(mergedConfig);
@@ -0,0 +1 @@
1
+ export { ProgressBarCircular } from './ProgressBarCircular';