@salutejs/sdds-finai 0.322.0-canary.2360.19755678168.0 → 0.322.0-canary.2362.19765218937.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/components/Calendar/Calendar.d.ts +2 -0
- package/components/Calendar/CalendarBase.config.d.ts +1 -0
- package/components/Calendar/CalendarBase.config.js +114 -51
- package/components/Calendar/CalendarDouble.config.d.ts +1 -0
- package/components/Calendar/CalendarDouble.config.js +116 -54
- package/es/components/Calendar/CalendarBase.config.js +114 -51
- package/es/components/Calendar/CalendarDouble.config.js +116 -54
- package/package.json +4 -4
- package/components/InformationWrapper/InformationWrapper.config.d.ts +0 -28
- package/components/InformationWrapper/InformationWrapper.config.js +0 -288
- package/components/InformationWrapper/InformationWrapper.d.ts +0 -74
- package/components/InformationWrapper/InformationWrapper.js +0 -14
- package/components/InformationWrapper/index.d.ts +0 -2
- package/components/InformationWrapper/index.js +0 -23
- package/es/components/InformationWrapper/InformationWrapper.config.js +0 -278
- package/es/components/InformationWrapper/InformationWrapper.js +0 -4
- package/es/components/InformationWrapper/index.js +0 -2
|
@@ -1,278 +0,0 @@
|
|
|
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(--text-primary);\n ",
|
|
15
|
-
": var(--text-secondary);\n ",
|
|
16
|
-
": var(--text-secondary);\n ",
|
|
17
|
-
": var(--text-secondary);\n ",
|
|
18
|
-
": var(--text-secondary);\n ",
|
|
19
|
-
": var(--surface-negative);\n ",
|
|
20
|
-
": var(--text-tertiary);\n "
|
|
21
|
-
]);
|
|
22
|
-
_templateObject = function _templateObject() {
|
|
23
|
-
return data;
|
|
24
|
-
};
|
|
25
|
-
return data;
|
|
26
|
-
}
|
|
27
|
-
function _templateObject1() {
|
|
28
|
-
var data = _tagged_template_literal([
|
|
29
|
-
"\n ",
|
|
30
|
-
": var(--text-primary);\n ",
|
|
31
|
-
": var(--text-positive);\n ",
|
|
32
|
-
": var(--text-secondary);\n ",
|
|
33
|
-
": var(--text-secondary);\n ",
|
|
34
|
-
": var(--text-secondary);\n ",
|
|
35
|
-
": var(--surface-negative);\n ",
|
|
36
|
-
": var(--text-tertiary);\n "
|
|
37
|
-
]);
|
|
38
|
-
_templateObject1 = function _templateObject() {
|
|
39
|
-
return data;
|
|
40
|
-
};
|
|
41
|
-
return data;
|
|
42
|
-
}
|
|
43
|
-
function _templateObject2() {
|
|
44
|
-
var data = _tagged_template_literal([
|
|
45
|
-
"\n ",
|
|
46
|
-
": var(--text-primary);\n ",
|
|
47
|
-
": var(--text-warning);\n ",
|
|
48
|
-
": var(--text-secondary);\n ",
|
|
49
|
-
": var(--text-secondary);\n ",
|
|
50
|
-
": var(--text-secondary);\n ",
|
|
51
|
-
": var(--surface-negative);\n ",
|
|
52
|
-
": var(--text-tertiary);\n "
|
|
53
|
-
]);
|
|
54
|
-
_templateObject2 = function _templateObject() {
|
|
55
|
-
return data;
|
|
56
|
-
};
|
|
57
|
-
return data;
|
|
58
|
-
}
|
|
59
|
-
function _templateObject3() {
|
|
60
|
-
var data = _tagged_template_literal([
|
|
61
|
-
"\n ",
|
|
62
|
-
": var(--text-primary);\n ",
|
|
63
|
-
": var(--text-negative);\n ",
|
|
64
|
-
": var(--text-secondary);\n ",
|
|
65
|
-
": var(--text-secondary);\n ",
|
|
66
|
-
": var(--text-secondary);\n ",
|
|
67
|
-
": var(--surface-negative);\n ",
|
|
68
|
-
": var(--text-tertiary);\n "
|
|
69
|
-
]);
|
|
70
|
-
_templateObject3 = function _templateObject() {
|
|
71
|
-
return data;
|
|
72
|
-
};
|
|
73
|
-
return data;
|
|
74
|
-
}
|
|
75
|
-
function _templateObject4() {
|
|
76
|
-
var data = _tagged_template_literal([
|
|
77
|
-
"\n ",
|
|
78
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
79
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
80
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
81
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
82
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
83
|
-
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
84
|
-
": 0.25rem;\n ",
|
|
85
|
-
": 0.5rem;\n ",
|
|
86
|
-
": 0.25rem;\n ",
|
|
87
|
-
": 0.75rem;\n\n ",
|
|
88
|
-
": -0.688rem;\n ",
|
|
89
|
-
": 2.375rem;\n ",
|
|
90
|
-
": 0.438rem -2.688rem auto auto;\n\n ",
|
|
91
|
-
": 0.188rem;\n ",
|
|
92
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
93
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
94
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
95
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
96
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
97
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
98
|
-
": 0.25rem 0 0 0;\n ",
|
|
99
|
-
": 0.25rem;\n\n ",
|
|
100
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
101
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
102
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
103
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
104
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
105
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
106
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
107
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
108
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
109
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
110
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
111
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
112
|
-
": 0.5rem;\n ",
|
|
113
|
-
": 0.375rem;\n ",
|
|
114
|
-
": 0.25rem;\n ",
|
|
115
|
-
": -0.75rem;\n ",
|
|
116
|
-
": auto 0 -0.5rem auto;\n ",
|
|
117
|
-
": auto auto -0.5rem 0;\n "
|
|
118
|
-
]);
|
|
119
|
-
_templateObject4 = function _templateObject() {
|
|
120
|
-
return data;
|
|
121
|
-
};
|
|
122
|
-
return data;
|
|
123
|
-
}
|
|
124
|
-
function _templateObject5() {
|
|
125
|
-
var data = _tagged_template_literal([
|
|
126
|
-
"\n ",
|
|
127
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
128
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
129
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
130
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
131
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
132
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
133
|
-
": 0.25rem;\n ",
|
|
134
|
-
": 0.5rem;\n ",
|
|
135
|
-
": 0.25rem;\n ",
|
|
136
|
-
": 0.5rem;\n\n ",
|
|
137
|
-
": -0.688rem;\n ",
|
|
138
|
-
": 2.375rem;\n ",
|
|
139
|
-
": 0.188rem -2.063rem auto auto;\n\n ",
|
|
140
|
-
": 0;\n ",
|
|
141
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
142
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
143
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
144
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
145
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
146
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
147
|
-
": 0.25rem 0 0 0;\n ",
|
|
148
|
-
": 0.25rem;\n\n ",
|
|
149
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
150
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
151
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
152
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
153
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
154
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
155
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
156
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
157
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
158
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
159
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
160
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
161
|
-
": 0.375rem;\n ",
|
|
162
|
-
": 0.375rem;\n ",
|
|
163
|
-
": 0.125rem;\n ",
|
|
164
|
-
": -0.75rem;\n ",
|
|
165
|
-
": auto 0 -0.375rem auto;\n ",
|
|
166
|
-
": auto auto -0.375rem 0;\n "
|
|
167
|
-
]);
|
|
168
|
-
_templateObject5 = function _templateObject() {
|
|
169
|
-
return data;
|
|
170
|
-
};
|
|
171
|
-
return data;
|
|
172
|
-
}
|
|
173
|
-
function _templateObject6() {
|
|
174
|
-
var data = _tagged_template_literal([
|
|
175
|
-
"\n ",
|
|
176
|
-
": var(--surface-solid-card-brightness);\n ",
|
|
177
|
-
": var(--shadow-down-hard-m, 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08));\n ",
|
|
178
|
-
": var(--text-primary);\n ",
|
|
179
|
-
": var(--surface-solid-card-brightness);\n "
|
|
180
|
-
]);
|
|
181
|
-
_templateObject6 = function _templateObject() {
|
|
182
|
-
return data;
|
|
183
|
-
};
|
|
184
|
-
return data;
|
|
185
|
-
}
|
|
186
|
-
function _templateObject7() {
|
|
187
|
-
var data = _tagged_template_literal([
|
|
188
|
-
"\n ",
|
|
189
|
-
": 0.6875rem;\n ",
|
|
190
|
-
": 0.875rem;\n ",
|
|
191
|
-
": 0.6875rem;\n ",
|
|
192
|
-
": 0.875rem;\n\n ",
|
|
193
|
-
": 2.5rem;\n ",
|
|
194
|
-
": 0.625rem;\n\n ",
|
|
195
|
-
": var(--plasma-typo-body-s-font-family);\n ",
|
|
196
|
-
": var(--plasma-typo-body-s-font-size);\n ",
|
|
197
|
-
": var(--plasma-typo-body-s-font-style);\n ",
|
|
198
|
-
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
199
|
-
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
200
|
-
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
201
|
-
": 0.375rem;\n\n ",
|
|
202
|
-
": 1.25rem;\n ",
|
|
203
|
-
": 1.25rem;\n ",
|
|
204
|
-
': url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");\n ',
|
|
205
|
-
": 0.5rem;\n ",
|
|
206
|
-
": 0.625rem;\n "
|
|
207
|
-
]);
|
|
208
|
-
_templateObject7 = function _templateObject() {
|
|
209
|
-
return data;
|
|
210
|
-
};
|
|
211
|
-
return data;
|
|
212
|
-
}
|
|
213
|
-
function _templateObject8() {
|
|
214
|
-
var data = _tagged_template_literal([
|
|
215
|
-
"\n ",
|
|
216
|
-
": 0.5rem;\n ",
|
|
217
|
-
": 0.75rem;\n ",
|
|
218
|
-
": 0.5rem;\n ",
|
|
219
|
-
": 0.75rem;\n\n ",
|
|
220
|
-
": 2rem;\n ",
|
|
221
|
-
": 0.5rem;\n\n ",
|
|
222
|
-
": var(--plasma-typo-body-xs-font-family);\n ",
|
|
223
|
-
": var(--plasma-typo-body-xs-font-size);\n ",
|
|
224
|
-
": var(--plasma-typo-body-xs-font-style);\n ",
|
|
225
|
-
": var(--plasma-typo-body-xs-font-weight);\n ",
|
|
226
|
-
": var(--plasma-typo-body-xs-letter-spacing);\n ",
|
|
227
|
-
": var(--plasma-typo-body-xs-line-height);\n\n ",
|
|
228
|
-
": 0.25rem;\n\n ",
|
|
229
|
-
": 1rem;\n ",
|
|
230
|
-
": 1rem;\n ",
|
|
231
|
-
': url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");\n ',
|
|
232
|
-
": 0.375rem;\n ",
|
|
233
|
-
": 0.5625rem;\n "
|
|
234
|
-
]);
|
|
235
|
-
_templateObject8 = function _templateObject() {
|
|
236
|
-
return data;
|
|
237
|
-
};
|
|
238
|
-
return data;
|
|
239
|
-
}
|
|
240
|
-
function _templateObject9() {
|
|
241
|
-
var data = _tagged_template_literal([
|
|
242
|
-
"\n ",
|
|
243
|
-
": 0.4;\n "
|
|
244
|
-
]);
|
|
245
|
-
_templateObject9 = function _templateObject() {
|
|
246
|
-
return data;
|
|
247
|
-
};
|
|
248
|
-
return data;
|
|
249
|
-
}
|
|
250
|
-
import { css, informationWrapperTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
|
|
251
|
-
export var config = {
|
|
252
|
-
defaults: {
|
|
253
|
-
view: 'default',
|
|
254
|
-
size: 's'
|
|
255
|
-
},
|
|
256
|
-
variations: {
|
|
257
|
-
view: {
|
|
258
|
-
default: css(_templateObject(), tokens.labelColor, tokens.leftHelperColor, tokens.rightHelperColor, tokens.titleCaptionColor, tokens.hintIconColor, tokens.indicatorColor, tokens.optionalColor),
|
|
259
|
-
positive: css(_templateObject1(), tokens.labelColor, tokens.leftHelperColor, tokens.rightHelperColor, tokens.titleCaptionColor, tokens.hintIconColor, tokens.indicatorColor, tokens.optionalColor),
|
|
260
|
-
warning: css(_templateObject2(), tokens.labelColor, tokens.leftHelperColor, tokens.rightHelperColor, tokens.titleCaptionColor, tokens.hintIconColor, tokens.indicatorColor, tokens.optionalColor),
|
|
261
|
-
negative: css(_templateObject3(), tokens.labelColor, tokens.leftHelperColor, tokens.rightHelperColor, tokens.titleCaptionColor, tokens.hintIconColor, tokens.indicatorColor, tokens.optionalColor)
|
|
262
|
-
},
|
|
263
|
-
size: {
|
|
264
|
-
s: css(_templateObject4(), tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.indicatorWrapperGap, tokens.labelWrapperOffset, tokens.labelWrapperTitleCaptionOffset, tokens.contentGap, tokens.hintMargin, tokens.hintTargetSize, tokens.hintWithoutLabelPlacementOffset, tokens.titleCaptionOffset, tokens.titleCaptionFontFamily, tokens.titleCaptionFontSize, tokens.titleCaptionFontStyle, tokens.titleCaptionFontWeight, tokens.titleCaptionLetterSpacing, tokens.titleCaptionLineHeight, tokens.helpersPadding, tokens.helpersGap, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.rightHelperFontFamily, tokens.rightHelperFontSize, tokens.rightHelperFontStyle, tokens.rightHelperFontWeight, tokens.rightHelperLetterSpacing, tokens.rightHelperLineHeight, tokens.indicatorSizeInner, tokens.indicatorSizeOuter, tokens.indicatorMarginTop, tokens.indicatorOuterLeft, tokens.indicatorWithoutLabelInner, tokens.indicatorWithoutLabelInnerLeft),
|
|
265
|
-
xs: css(_templateObject5(), tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.indicatorWrapperGap, tokens.labelWrapperOffset, tokens.labelWrapperTitleCaptionOffset, tokens.contentGap, tokens.hintMargin, tokens.hintTargetSize, tokens.hintWithoutLabelPlacementOffset, tokens.titleCaptionOffset, tokens.titleCaptionFontFamily, tokens.titleCaptionFontSize, tokens.titleCaptionFontStyle, tokens.titleCaptionFontWeight, tokens.titleCaptionLetterSpacing, tokens.titleCaptionLineHeight, tokens.helpersPadding, tokens.helpersGap, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.rightHelperFontFamily, tokens.rightHelperFontSize, tokens.rightHelperFontStyle, tokens.rightHelperFontWeight, tokens.rightHelperLetterSpacing, tokens.rightHelperLineHeight, tokens.indicatorSizeInner, tokens.indicatorSizeOuter, tokens.indicatorMarginTop, tokens.indicatorOuterLeft, tokens.indicatorWithoutLabelInner, tokens.indicatorWithoutLabelInnerLeft)
|
|
266
|
-
},
|
|
267
|
-
hintView: {
|
|
268
|
-
default: css(_templateObject6(), tokens.tooltipBackgroundColor, tokens.tooltipBoxShadow, tokens.tooltipColor, tokens.tooltipArrowBackground)
|
|
269
|
-
},
|
|
270
|
-
hintSize: {
|
|
271
|
-
m: css(_templateObject7(), tokens.tooltipPaddingTop, tokens.tooltipPaddingRight, tokens.tooltipPaddingBottom, tokens.tooltipPaddingLeft, tokens.tooltipMinHeight, tokens.tooltipBorderRadius, tokens.tooltipTextFontFamily, tokens.tooltipTextFontSize, tokens.tooltipTextFontStyle, tokens.tooltipTextFontWeight, tokens.tooltipTextFontLetterSpacing, tokens.tooltipTextFontLineHeight, tokens.tooltipContentLeftMargin, tokens.tooltipArrowMaskWidth, tokens.tooltipArrowMaskHeight, tokens.tooltipArrowMaskImage, tokens.tooltipArrowHeight, tokens.tooltipArrowEdgeMargin),
|
|
272
|
-
s: css(_templateObject8(), tokens.tooltipPaddingTop, tokens.tooltipPaddingRight, tokens.tooltipPaddingBottom, tokens.tooltipPaddingLeft, tokens.tooltipMinHeight, tokens.tooltipBorderRadius, tokens.tooltipTextFontFamily, tokens.tooltipTextFontSize, tokens.tooltipTextFontStyle, tokens.tooltipTextFontWeight, tokens.tooltipTextFontLetterSpacing, tokens.tooltipTextFontLineHeight, tokens.tooltipContentLeftMargin, tokens.tooltipArrowMaskWidth, tokens.tooltipArrowMaskHeight, tokens.tooltipArrowMaskImage, tokens.tooltipArrowHeight, tokens.tooltipArrowEdgeMargin)
|
|
273
|
-
},
|
|
274
|
-
disabled: {
|
|
275
|
-
true: css(_templateObject9(), tokens.disabledOpacity)
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { informationWrapperConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
|
|
2
|
-
import { config } from './InformationWrapper.config';
|
|
3
|
-
var mergedConfig = mergeConfig(informationWrapperConfig, config);
|
|
4
|
-
export var InformationWrapper = component(mergedConfig);
|