@salutejs/plasma-asdk 0.208.0-canary.1588.11972699441.0 → 0.208.1-canary.1569.11973386056.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-asdk.api.md +0 -19
- package/components/Switch/Switch.config.js +2 -2
- package/components/Typography/Old/index.d.ts +0 -3
- package/components/Typography/Typography.d.ts +0 -17
- package/es/components/Switch/Switch.config.js +2 -2
- package/package.json +3 -3
- package/temp/plasma-asdk.api.md +0 -19
package/api/plasma-asdk.api.md
CHANGED
@@ -40,7 +40,6 @@ size: {
|
|
40
40
|
body1: PolymorphicClassName;
|
41
41
|
};
|
42
42
|
}> & {
|
43
|
-
noWrap?: boolean | undefined;
|
44
43
|
breakWord?: boolean | undefined;
|
45
44
|
color?: string | undefined;
|
46
45
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -51,7 +50,6 @@ size: {
|
|
51
50
|
body2: PolymorphicClassName;
|
52
51
|
};
|
53
52
|
}> & {
|
54
|
-
noWrap?: boolean | undefined;
|
55
53
|
breakWord?: boolean | undefined;
|
56
54
|
color?: string | undefined;
|
57
55
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -62,7 +60,6 @@ size: {
|
|
62
60
|
l: PolymorphicClassName;
|
63
61
|
};
|
64
62
|
}> & {
|
65
|
-
noWrap?: boolean | undefined;
|
66
63
|
breakWord?: boolean | undefined;
|
67
64
|
color?: string | undefined;
|
68
65
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -73,7 +70,6 @@ size: {
|
|
73
70
|
m: PolymorphicClassName;
|
74
71
|
};
|
75
72
|
}> & {
|
76
|
-
noWrap?: boolean | undefined;
|
77
73
|
breakWord?: boolean | undefined;
|
78
74
|
color?: string | undefined;
|
79
75
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -84,7 +80,6 @@ size: {
|
|
84
80
|
s: PolymorphicClassName;
|
85
81
|
};
|
86
82
|
}> & {
|
87
|
-
noWrap?: boolean | undefined;
|
88
83
|
breakWord?: boolean | undefined;
|
89
84
|
color?: string | undefined;
|
90
85
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -95,7 +90,6 @@ size: {
|
|
95
90
|
xs: PolymorphicClassName;
|
96
91
|
};
|
97
92
|
}> & {
|
98
|
-
noWrap?: boolean | undefined;
|
99
93
|
breakWord?: boolean | undefined;
|
100
94
|
color?: string | undefined;
|
101
95
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -106,7 +100,6 @@ size: {
|
|
106
100
|
xxs: PolymorphicClassName;
|
107
101
|
};
|
108
102
|
}> & {
|
109
|
-
noWrap?: boolean | undefined;
|
110
103
|
breakWord?: boolean | undefined;
|
111
104
|
color?: string | undefined;
|
112
105
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -246,7 +239,6 @@ size: {
|
|
246
239
|
l: PolymorphicClassName;
|
247
240
|
};
|
248
241
|
}> & {
|
249
|
-
noWrap?: boolean | undefined;
|
250
242
|
breakWord?: boolean | undefined;
|
251
243
|
color?: string | undefined;
|
252
244
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -257,7 +249,6 @@ size: {
|
|
257
249
|
m: PolymorphicClassName;
|
258
250
|
};
|
259
251
|
}> & {
|
260
|
-
noWrap?: boolean | undefined;
|
261
252
|
breakWord?: boolean | undefined;
|
262
253
|
color?: string | undefined;
|
263
254
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -268,7 +259,6 @@ size: {
|
|
268
259
|
s: PolymorphicClassName;
|
269
260
|
};
|
270
261
|
}> & {
|
271
|
-
noWrap?: boolean | undefined;
|
272
262
|
breakWord?: boolean | undefined;
|
273
263
|
color?: string | undefined;
|
274
264
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -293,7 +283,6 @@ size: {
|
|
293
283
|
h1: PolymorphicClassName;
|
294
284
|
};
|
295
285
|
}> & {
|
296
|
-
noWrap?: boolean | undefined;
|
297
286
|
breakWord?: boolean | undefined;
|
298
287
|
color?: string | undefined;
|
299
288
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -304,7 +293,6 @@ size: {
|
|
304
293
|
h2: PolymorphicClassName;
|
305
294
|
};
|
306
295
|
}> & {
|
307
|
-
noWrap?: boolean | undefined;
|
308
296
|
breakWord?: boolean | undefined;
|
309
297
|
color?: string | undefined;
|
310
298
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -315,7 +303,6 @@ size: {
|
|
315
303
|
h3: PolymorphicClassName;
|
316
304
|
};
|
317
305
|
}> & {
|
318
|
-
noWrap?: boolean | undefined;
|
319
306
|
breakWord?: boolean | undefined;
|
320
307
|
color?: string | undefined;
|
321
308
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -326,7 +313,6 @@ size: {
|
|
326
313
|
h4: PolymorphicClassName;
|
327
314
|
};
|
328
315
|
}> & {
|
329
|
-
noWrap?: boolean | undefined;
|
330
316
|
breakWord?: boolean | undefined;
|
331
317
|
color?: string | undefined;
|
332
318
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -337,7 +323,6 @@ size: {
|
|
337
323
|
h5: PolymorphicClassName;
|
338
324
|
};
|
339
325
|
}> & {
|
340
|
-
noWrap?: boolean | undefined;
|
341
326
|
breakWord?: boolean | undefined;
|
342
327
|
color?: string | undefined;
|
343
328
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -544,7 +529,6 @@ size: {
|
|
544
529
|
l: PolymorphicClassName;
|
545
530
|
};
|
546
531
|
}> & {
|
547
|
-
noWrap?: boolean | undefined;
|
548
532
|
breakWord?: boolean | undefined;
|
549
533
|
color?: string | undefined;
|
550
534
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -555,7 +539,6 @@ size: {
|
|
555
539
|
m: PolymorphicClassName;
|
556
540
|
};
|
557
541
|
}> & {
|
558
|
-
noWrap?: boolean | undefined;
|
559
542
|
breakWord?: boolean | undefined;
|
560
543
|
color?: string | undefined;
|
561
544
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -566,7 +549,6 @@ size: {
|
|
566
549
|
s: PolymorphicClassName;
|
567
550
|
};
|
568
551
|
}> & {
|
569
|
-
noWrap?: boolean | undefined;
|
570
552
|
breakWord?: boolean | undefined;
|
571
553
|
color?: string | undefined;
|
572
554
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -577,7 +559,6 @@ size: {
|
|
577
559
|
xs: PolymorphicClassName;
|
578
560
|
};
|
579
561
|
}> & {
|
580
|
-
noWrap?: boolean | undefined;
|
581
562
|
breakWord?: boolean | undefined;
|
582
563
|
color?: string | undefined;
|
583
564
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -20,10 +20,10 @@ var config = exports.config = {
|
|
20
20
|
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-line-height);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": 0.25rem;\n ", ": 0.75rem;\n "])), _styledComponents.switchTokens.fontFamily, _styledComponents.switchTokens.fontStyle, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.lineHeight, _styledComponents.switchTokens.fontSize, _styledComponents.switchTokens.letterSpacing, _styledComponents.switchTokens.descriptionFontFamily, _styledComponents.switchTokens.descriptionFontStyle, _styledComponents.switchTokens.descriptionFontWeight, _styledComponents.switchTokens.descriptionLineHeight, _styledComponents.switchTokens.descriptionFontSize, _styledComponents.switchTokens.descriptionLetterSpacing, _styledComponents.switchTokens.verticalGap, _styledComponents.switchTokens.labelOffset)
|
21
21
|
},
|
22
22
|
toggleSize: {
|
23
|
-
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n "])), _styledComponents.switchTokens.trackWidth, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.trackBorderRadius, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbBorderRadius, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.
|
23
|
+
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 0.125rem;\n ", ": 1.25;\n "])), _styledComponents.switchTokens.trackWidth, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.trackBorderRadius, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbBorderRadius, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbOffsetOn, _styledComponents.switchTokens.thumbOffsetOff, _styledComponents.switchTokens.thumbPressScale)
|
24
24
|
},
|
25
25
|
view: {
|
26
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-accent-main);\n ", ": var(--surface-accent-main-hover);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ":
|
26
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-accent-main);\n ", ": var(--surface-accent-main-hover);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": 0;\n ", ": 0;\n ", ": var(--on-dark-surface-solid-default);\n ", ": var(--on-dark-surface-solid-default);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), _styledComponents.switchTokens.labelColor, _styledComponents.switchTokens.descriptionColor, _styledComponents.switchTokens.trackBackgroundColorOn, _styledComponents.switchTokens.trackBackgroundColorOnHover, _styledComponents.switchTokens.trackBackgroundColorOff, _styledComponents.switchTokens.trackBackgroundColorOffHover, _styledComponents.switchTokens.trackBorderWidthOn, _styledComponents.switchTokens.trackBorderWidthOff, _styledComponents.switchTokens.thumbBackgroundColorOn, _styledComponents.switchTokens.thumbBackgroundColorOff, _styledComponents.switchTokens.thumbBoxShadow)
|
27
27
|
},
|
28
28
|
disabled: {
|
29
29
|
"true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.switchTokens.disabledOpacity)
|
@@ -4,7 +4,6 @@ export declare const Body1: import("react").FunctionComponent<import("@salutejs/
|
|
4
4
|
body1: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
5
|
};
|
6
6
|
}> & {
|
7
|
-
noWrap?: boolean | undefined;
|
8
7
|
breakWord?: boolean | undefined;
|
9
8
|
color?: string | undefined;
|
10
9
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -13,7 +12,6 @@ export declare const Body2: import("react").FunctionComponent<import("@salutejs/
|
|
13
12
|
body2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
13
|
};
|
15
14
|
}> & {
|
16
|
-
noWrap?: boolean | undefined;
|
17
15
|
breakWord?: boolean | undefined;
|
18
16
|
color?: string | undefined;
|
19
17
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -22,7 +20,6 @@ export declare const Body3: import("react").FunctionComponent<import("@salutejs/
|
|
22
20
|
body3: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
21
|
};
|
24
22
|
}> & {
|
25
|
-
noWrap?: boolean | undefined;
|
26
23
|
breakWord?: boolean | undefined;
|
27
24
|
color?: string | undefined;
|
28
25
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -4,7 +4,6 @@ export declare const BodyM: import("react").FunctionComponent<import("@salutejs/
|
|
4
4
|
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
5
|
};
|
6
6
|
}> & {
|
7
|
-
noWrap?: boolean | undefined;
|
8
7
|
breakWord?: boolean | undefined;
|
9
8
|
color?: string | undefined;
|
10
9
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -13,7 +12,6 @@ export declare const BodyL: import("react").FunctionComponent<import("@salutejs/
|
|
13
12
|
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
13
|
};
|
15
14
|
}> & {
|
16
|
-
noWrap?: boolean | undefined;
|
17
15
|
breakWord?: boolean | undefined;
|
18
16
|
color?: string | undefined;
|
19
17
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -22,7 +20,6 @@ export declare const BodyS: import("react").FunctionComponent<import("@salutejs/
|
|
22
20
|
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
21
|
};
|
24
22
|
}> & {
|
25
|
-
noWrap?: boolean | undefined;
|
26
23
|
breakWord?: boolean | undefined;
|
27
24
|
color?: string | undefined;
|
28
25
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -31,7 +28,6 @@ export declare const BodyXS: import("react").FunctionComponent<import("@salutejs
|
|
31
28
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
32
29
|
};
|
33
30
|
}> & {
|
34
|
-
noWrap?: boolean | undefined;
|
35
31
|
breakWord?: boolean | undefined;
|
36
32
|
color?: string | undefined;
|
37
33
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -40,7 +36,6 @@ export declare const BodyXXS: import("react").FunctionComponent<import("@salutej
|
|
40
36
|
xxs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
41
37
|
};
|
42
38
|
}> & {
|
43
|
-
noWrap?: boolean | undefined;
|
44
39
|
breakWord?: boolean | undefined;
|
45
40
|
color?: string | undefined;
|
46
41
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -49,7 +44,6 @@ export declare const DsplM: import("react").FunctionComponent<import("@salutejs/
|
|
49
44
|
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
50
45
|
};
|
51
46
|
}> & {
|
52
|
-
noWrap?: boolean | undefined;
|
53
47
|
breakWord?: boolean | undefined;
|
54
48
|
color?: string | undefined;
|
55
49
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -58,7 +52,6 @@ export declare const DsplL: import("react").FunctionComponent<import("@salutejs/
|
|
58
52
|
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
59
53
|
};
|
60
54
|
}> & {
|
61
|
-
noWrap?: boolean | undefined;
|
62
55
|
breakWord?: boolean | undefined;
|
63
56
|
color?: string | undefined;
|
64
57
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -67,7 +60,6 @@ export declare const DsplS: import("react").FunctionComponent<import("@salutejs/
|
|
67
60
|
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
68
61
|
};
|
69
62
|
}> & {
|
70
|
-
noWrap?: boolean | undefined;
|
71
63
|
breakWord?: boolean | undefined;
|
72
64
|
color?: string | undefined;
|
73
65
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -76,7 +68,6 @@ export declare const H1: import("react").FunctionComponent<import("@salutejs/pla
|
|
76
68
|
h1: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
77
69
|
};
|
78
70
|
}> & {
|
79
|
-
noWrap?: boolean | undefined;
|
80
71
|
breakWord?: boolean | undefined;
|
81
72
|
color?: string | undefined;
|
82
73
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -85,7 +76,6 @@ export declare const H2: import("react").FunctionComponent<import("@salutejs/pla
|
|
85
76
|
h2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
86
77
|
};
|
87
78
|
}> & {
|
88
|
-
noWrap?: boolean | undefined;
|
89
79
|
breakWord?: boolean | undefined;
|
90
80
|
color?: string | undefined;
|
91
81
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -94,7 +84,6 @@ export declare const H3: import("react").FunctionComponent<import("@salutejs/pla
|
|
94
84
|
h3: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
95
85
|
};
|
96
86
|
}> & {
|
97
|
-
noWrap?: boolean | undefined;
|
98
87
|
breakWord?: boolean | undefined;
|
99
88
|
color?: string | undefined;
|
100
89
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -103,7 +92,6 @@ export declare const H4: import("react").FunctionComponent<import("@salutejs/pla
|
|
103
92
|
h4: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
104
93
|
};
|
105
94
|
}> & {
|
106
|
-
noWrap?: boolean | undefined;
|
107
95
|
breakWord?: boolean | undefined;
|
108
96
|
color?: string | undefined;
|
109
97
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -112,7 +100,6 @@ export declare const H5: import("react").FunctionComponent<import("@salutejs/pla
|
|
112
100
|
h5: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
113
101
|
};
|
114
102
|
}> & {
|
115
|
-
noWrap?: boolean | undefined;
|
116
103
|
breakWord?: boolean | undefined;
|
117
104
|
color?: string | undefined;
|
118
105
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -121,7 +108,6 @@ export declare const TextM: import("react").FunctionComponent<import("@salutejs/
|
|
121
108
|
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
122
109
|
};
|
123
110
|
}> & {
|
124
|
-
noWrap?: boolean | undefined;
|
125
111
|
breakWord?: boolean | undefined;
|
126
112
|
color?: string | undefined;
|
127
113
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -130,7 +116,6 @@ export declare const TextL: import("react").FunctionComponent<import("@salutejs/
|
|
130
116
|
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
131
117
|
};
|
132
118
|
}> & {
|
133
|
-
noWrap?: boolean | undefined;
|
134
119
|
breakWord?: boolean | undefined;
|
135
120
|
color?: string | undefined;
|
136
121
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -139,7 +124,6 @@ export declare const TextS: import("react").FunctionComponent<import("@salutejs/
|
|
139
124
|
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
140
125
|
};
|
141
126
|
}> & {
|
142
|
-
noWrap?: boolean | undefined;
|
143
127
|
breakWord?: boolean | undefined;
|
144
128
|
color?: string | undefined;
|
145
129
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -148,7 +132,6 @@ export declare const TextXS: import("react").FunctionComponent<import("@salutejs
|
|
148
132
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
149
133
|
};
|
150
134
|
}> & {
|
151
|
-
noWrap?: boolean | undefined;
|
152
135
|
breakWord?: boolean | undefined;
|
153
136
|
color?: string | undefined;
|
154
137
|
} & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -14,10 +14,10 @@ export var config = {
|
|
14
14
|
m: /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-line-height);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": 0.25rem;\n ", ": 0.75rem;\n "])), switchTokens.fontFamily, switchTokens.fontStyle, switchTokens.fontWeight, switchTokens.lineHeight, switchTokens.fontSize, switchTokens.letterSpacing, switchTokens.descriptionFontFamily, switchTokens.descriptionFontStyle, switchTokens.descriptionFontWeight, switchTokens.descriptionLineHeight, switchTokens.descriptionFontSize, switchTokens.descriptionLetterSpacing, switchTokens.verticalGap, switchTokens.labelOffset)
|
15
15
|
},
|
16
16
|
toggleSize: {
|
17
|
-
l: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n "])), switchTokens.trackWidth, switchTokens.trackHeight, switchTokens.trackBorderRadius, switchTokens.trackHeight, switchTokens.thumbSize, switchTokens.thumbBorderRadius, switchTokens.thumbSize, switchTokens.
|
17
|
+
l: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 0.125rem;\n ", ": 1.25;\n "])), switchTokens.trackWidth, switchTokens.trackHeight, switchTokens.trackBorderRadius, switchTokens.trackHeight, switchTokens.thumbSize, switchTokens.thumbBorderRadius, switchTokens.thumbSize, switchTokens.thumbOffsetOn, switchTokens.thumbOffsetOff, switchTokens.thumbPressScale)
|
18
18
|
},
|
19
19
|
view: {
|
20
|
-
"default": /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-accent-main);\n ", ": var(--surface-accent-main-hover);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ":
|
20
|
+
"default": /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-accent-main);\n ", ": var(--surface-accent-main-hover);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": 0;\n ", ": 0;\n ", ": var(--on-dark-surface-solid-default);\n ", ": var(--on-dark-surface-solid-default);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), switchTokens.labelColor, switchTokens.descriptionColor, switchTokens.trackBackgroundColorOn, switchTokens.trackBackgroundColorOnHover, switchTokens.trackBackgroundColorOff, switchTokens.trackBackgroundColorOffHover, switchTokens.trackBorderWidthOn, switchTokens.trackBorderWidthOff, switchTokens.thumbBackgroundColorOn, switchTokens.thumbBackgroundColorOff, switchTokens.thumbBoxShadow)
|
21
21
|
},
|
22
22
|
disabled: {
|
23
23
|
"true": /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), switchTokens.disabledOpacity)
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-asdk",
|
3
|
-
"version": "0.208.
|
3
|
+
"version": "0.208.1-canary.1569.11973386056.0",
|
4
4
|
"description": "Salute Design System / React UI kit for Assistant web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"directory": "packages/plasma-asdk"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "0.197.
|
22
|
+
"@salutejs/plasma-new-hope": "0.197.1-canary.1569.11973386056.0",
|
23
23
|
"@salutejs/plasma-tokens": "1.105.0",
|
24
24
|
"@salutejs/plasma-tokens-b2b": "1.43.0",
|
25
25
|
"@salutejs/plasma-typo": "0.40.0"
|
@@ -98,5 +98,5 @@
|
|
98
98
|
"Fanil Zubairov"
|
99
99
|
],
|
100
100
|
"sideEffects": false,
|
101
|
-
"gitHead": "
|
101
|
+
"gitHead": "b343371b714512c0504fbc242ae1742cf06eee50"
|
102
102
|
}
|
package/temp/plasma-asdk.api.md
CHANGED
@@ -40,7 +40,6 @@ size: {
|
|
40
40
|
body1: PolymorphicClassName;
|
41
41
|
};
|
42
42
|
}> & {
|
43
|
-
noWrap?: boolean | undefined;
|
44
43
|
breakWord?: boolean | undefined;
|
45
44
|
color?: string | undefined;
|
46
45
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -51,7 +50,6 @@ size: {
|
|
51
50
|
body2: PolymorphicClassName;
|
52
51
|
};
|
53
52
|
}> & {
|
54
|
-
noWrap?: boolean | undefined;
|
55
53
|
breakWord?: boolean | undefined;
|
56
54
|
color?: string | undefined;
|
57
55
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -62,7 +60,6 @@ size: {
|
|
62
60
|
l: PolymorphicClassName;
|
63
61
|
};
|
64
62
|
}> & {
|
65
|
-
noWrap?: boolean | undefined;
|
66
63
|
breakWord?: boolean | undefined;
|
67
64
|
color?: string | undefined;
|
68
65
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -73,7 +70,6 @@ size: {
|
|
73
70
|
m: PolymorphicClassName;
|
74
71
|
};
|
75
72
|
}> & {
|
76
|
-
noWrap?: boolean | undefined;
|
77
73
|
breakWord?: boolean | undefined;
|
78
74
|
color?: string | undefined;
|
79
75
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -84,7 +80,6 @@ size: {
|
|
84
80
|
s: PolymorphicClassName;
|
85
81
|
};
|
86
82
|
}> & {
|
87
|
-
noWrap?: boolean | undefined;
|
88
83
|
breakWord?: boolean | undefined;
|
89
84
|
color?: string | undefined;
|
90
85
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -95,7 +90,6 @@ size: {
|
|
95
90
|
xs: PolymorphicClassName;
|
96
91
|
};
|
97
92
|
}> & {
|
98
|
-
noWrap?: boolean | undefined;
|
99
93
|
breakWord?: boolean | undefined;
|
100
94
|
color?: string | undefined;
|
101
95
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -106,7 +100,6 @@ size: {
|
|
106
100
|
xxs: PolymorphicClassName;
|
107
101
|
};
|
108
102
|
}> & {
|
109
|
-
noWrap?: boolean | undefined;
|
110
103
|
breakWord?: boolean | undefined;
|
111
104
|
color?: string | undefined;
|
112
105
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -246,7 +239,6 @@ size: {
|
|
246
239
|
l: PolymorphicClassName;
|
247
240
|
};
|
248
241
|
}> & {
|
249
|
-
noWrap?: boolean | undefined;
|
250
242
|
breakWord?: boolean | undefined;
|
251
243
|
color?: string | undefined;
|
252
244
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -257,7 +249,6 @@ size: {
|
|
257
249
|
m: PolymorphicClassName;
|
258
250
|
};
|
259
251
|
}> & {
|
260
|
-
noWrap?: boolean | undefined;
|
261
252
|
breakWord?: boolean | undefined;
|
262
253
|
color?: string | undefined;
|
263
254
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -268,7 +259,6 @@ size: {
|
|
268
259
|
s: PolymorphicClassName;
|
269
260
|
};
|
270
261
|
}> & {
|
271
|
-
noWrap?: boolean | undefined;
|
272
262
|
breakWord?: boolean | undefined;
|
273
263
|
color?: string | undefined;
|
274
264
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -293,7 +283,6 @@ size: {
|
|
293
283
|
h1: PolymorphicClassName;
|
294
284
|
};
|
295
285
|
}> & {
|
296
|
-
noWrap?: boolean | undefined;
|
297
286
|
breakWord?: boolean | undefined;
|
298
287
|
color?: string | undefined;
|
299
288
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -304,7 +293,6 @@ size: {
|
|
304
293
|
h2: PolymorphicClassName;
|
305
294
|
};
|
306
295
|
}> & {
|
307
|
-
noWrap?: boolean | undefined;
|
308
296
|
breakWord?: boolean | undefined;
|
309
297
|
color?: string | undefined;
|
310
298
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -315,7 +303,6 @@ size: {
|
|
315
303
|
h3: PolymorphicClassName;
|
316
304
|
};
|
317
305
|
}> & {
|
318
|
-
noWrap?: boolean | undefined;
|
319
306
|
breakWord?: boolean | undefined;
|
320
307
|
color?: string | undefined;
|
321
308
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -326,7 +313,6 @@ size: {
|
|
326
313
|
h4: PolymorphicClassName;
|
327
314
|
};
|
328
315
|
}> & {
|
329
|
-
noWrap?: boolean | undefined;
|
330
316
|
breakWord?: boolean | undefined;
|
331
317
|
color?: string | undefined;
|
332
318
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -337,7 +323,6 @@ size: {
|
|
337
323
|
h5: PolymorphicClassName;
|
338
324
|
};
|
339
325
|
}> & {
|
340
|
-
noWrap?: boolean | undefined;
|
341
326
|
breakWord?: boolean | undefined;
|
342
327
|
color?: string | undefined;
|
343
328
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -544,7 +529,6 @@ size: {
|
|
544
529
|
l: PolymorphicClassName;
|
545
530
|
};
|
546
531
|
}> & {
|
547
|
-
noWrap?: boolean | undefined;
|
548
532
|
breakWord?: boolean | undefined;
|
549
533
|
color?: string | undefined;
|
550
534
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -555,7 +539,6 @@ size: {
|
|
555
539
|
m: PolymorphicClassName;
|
556
540
|
};
|
557
541
|
}> & {
|
558
|
-
noWrap?: boolean | undefined;
|
559
542
|
breakWord?: boolean | undefined;
|
560
543
|
color?: string | undefined;
|
561
544
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -566,7 +549,6 @@ size: {
|
|
566
549
|
s: PolymorphicClassName;
|
567
550
|
};
|
568
551
|
}> & {
|
569
|
-
noWrap?: boolean | undefined;
|
570
552
|
breakWord?: boolean | undefined;
|
571
553
|
color?: string | undefined;
|
572
554
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
@@ -577,7 +559,6 @@ size: {
|
|
577
559
|
xs: PolymorphicClassName;
|
578
560
|
};
|
579
561
|
}> & {
|
580
|
-
noWrap?: boolean | undefined;
|
581
562
|
breakWord?: boolean | undefined;
|
582
563
|
color?: string | undefined;
|
583
564
|
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|