@salutejs/sdds-cs 0.337.0-canary.2426.21165090093.0 → 0.338.0-canary.2428.21177208524.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.
@@ -9,82 +9,6 @@ function _tagged_template_literal(strings, raw) {
9
9
  }));
10
10
  }
11
11
  function _templateObject() {
12
- var data = _tagged_template_literal([
13
- "\n ",
14
- ": 100%;\n ",
15
- ": 7.187rem;\n ",
16
- ": 0.625rem;\n ",
17
- ": 0.75rem;\n ",
18
- ": 0.125rem;\n ",
19
- ": 0.625rem 0.625rem 0 0;\n ",
20
- ": 0.688rem;\n ",
21
- ": 0.875rem;\n ",
22
- ": 3.125rem;\n ",
23
- ": 2rem;\n ",
24
- ": 0.75rem;\n ",
25
- ": 0.875rem;\n ",
26
- ": 0.75rem;\n ",
27
- ": 0.25rem;\n ",
28
- ": 0.875rem;\n ",
29
- ": 0.75rem;\n ",
30
- ": 0.875rem;\n ",
31
- ": 0rem;\n ",
32
- ": 0.688rem;\n ",
33
- ": 0.75rem;\n ",
34
- ": 1.25rem;\n ",
35
- ": 0.25rem;\n ",
36
- ": 0.5rem;\n ",
37
- ": 0.25rem;\n ",
38
- ": var(--plasma-typo-body-s-font-size);\n ",
39
- ": var(--plasma-typo-body-s-font-family);\n ",
40
- ": var(--plasma-typo-body-s-font-size);\n ",
41
- ": var(--plasma-typo-body-s-font-style);\n ",
42
- ": var(--plasma-typo-body-s-font-weight);\n ",
43
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
44
- ": var(--plasma-typo-body-s-line-height);\n ",
45
- ": 0.375rem;\n ",
46
- ": 0.125rem;\n ",
47
- ": var(--plasma-typo-body-m-font-family);\n ",
48
- ": var(--plasma-typo-body-m-font-size);\n ",
49
- ": var(--plasma-typo-body-m-font-style);\n ",
50
- ": var(--plasma-typo-body-m-font-weight);\n ",
51
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
52
- ": var(--plasma-typo-body-m-line-height);\n ",
53
- ": var(--plasma-typo-body-s-font-family);\n ",
54
- ": var(--plasma-typo-body-s-font-size);\n ",
55
- ": var(--plasma-typo-body-s-font-style);\n ",
56
- ": var(--plasma-typo-body-s-font-weight);\n ",
57
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
58
- ": var(--plasma-typo-body-s-line-height);\n\n ",
59
- ": 0.375rem;\n ",
60
- ": 0.375rem;\n ",
61
- ": 0 0 0 0;\n /* stylelint-disable-next-line number-max-precision */\n ",
62
- ": 0.3125rem auto auto -0.6875rem;\n ",
63
- ": 0 0 auto auto;\n ",
64
- ": 0.25rem -0.625rem auto auto;\n ",
65
- ": 1.063rem auto auto -0.75rem;\n ",
66
- ": 1.063rem -0.75rem auto auto;\n ",
67
- ": 1.063rem -2.125rem auto auto;\n\n ",
68
- ": 0.375rem;\n ",
69
- ": 0.125rem;\n\n ",
70
- ": -0.688rem -0.5rem;\n ",
71
- ": 2.375rem;\n ",
72
- ": -0.751rem -2rem auto auto;\n ",
73
- ": 0.062rem -2.063rem auto auto;\n\n ",
74
- ": 0.25rem;\n ",
75
- ": var(--plasma-typo-body-xs-font-family);\n ",
76
- ": var(--plasma-typo-body-xs-font-size);\n ",
77
- ": var(--plasma-typo-body-xs-font-style);\n ",
78
- ": var(--plasma-typo-body-xs-font-weight);\n ",
79
- ": var(--plasma-typo-body-xs-letter-spacing);\n ",
80
- ": var(--plasma-typo-body-xs-line-height);\n "
81
- ]);
82
- _templateObject = function _templateObject() {
83
- return data;
84
- };
85
- return data;
86
- }
87
- function _templateObject1() {
88
12
  var data = _tagged_template_literal([
89
13
  "\n ",
90
14
  ": var(--outline-solid-primary);\n ",
@@ -93,20 +17,17 @@ function _templateObject1() {
93
17
  ": var(--surface-solid-card);\n ",
94
18
  ": var(--surface-solid-card-hover);\n ",
95
19
  ": var(--surface-solid-card-active);\n ",
96
- ": var(--surface-solid-card);\n ",
97
- ": var(--text-primary);\n ",
20
+ ": var(--surface-solid-card);\n\n ",
98
21
  ": var(--text-primary);\n ",
99
22
  ": var(--text-primary);\n ",
100
- ": var(--text-accent);\n ",
101
- ": var(--text-secondary);\n ",
102
- ": var(--text-secondary);\n ",
103
- ": var(--text-secondary);\n ",
104
- ": var(--text-tertiary);\n ",
105
- ": var(--text-secondary);\n ",
23
+ ": var(--text-accent);\n\n ",
106
24
  ": var(--text-secondary);\n ",
107
- ": var(--text-negative);\n ",
25
+ ": var(--text-secondary);\n\n ",
108
26
  ": var(--text-secondary);\n ",
27
+ ": var(--text-secondary);\n\n ",
109
28
  ": var(--text-accent);\n\n ",
29
+ ": var(--text-negative);\n ",
30
+ ": var(--text-secondary);\n\n ",
110
31
  ": var(--surface-solid-default);\n ",
111
32
  ": var(--surface-solid-default-hover);\n ",
112
33
  ": var(--surface-solid-default-active);\n ",
@@ -119,12 +40,12 @@ function _templateObject1() {
119
40
  ": var(--text-secondary);\n ",
120
41
  ": var(--text-secondary);\n "
121
42
  ]);
122
- _templateObject1 = function _templateObject() {
43
+ _templateObject = function _templateObject() {
123
44
  return data;
124
45
  };
125
46
  return data;
126
47
  }
127
- function _templateObject2() {
48
+ function _templateObject1() {
128
49
  var data = _tagged_template_literal([
129
50
  "\n ",
130
51
  ": var(--outline-solid-primary);\n ",
@@ -136,12 +57,9 @@ function _templateObject2() {
136
57
  ": var(--surface-solid-card);\n ",
137
58
  ": var(--text-primary);\n ",
138
59
  ": var(--text-primary);\n ",
139
- ": var(--text-primary);\n ",
140
60
  ": var(--text-accent);\n ",
141
61
  ": var(--text-secondary);\n ",
142
- ": var(--text-secondary);\n ",
143
- ": var(--text-secondary);\n ",
144
- ": var(--text-tertiary);\n ",
62
+ ": var(--text-secondary);\n\n ",
145
63
  ": var(--text-secondary);\n ",
146
64
  ": var(--text-secondary);\n ",
147
65
  ": var(--text-negative);\n ",
@@ -159,12 +77,12 @@ function _templateObject2() {
159
77
  ": var(--text-secondary);\n ",
160
78
  ": var(--text-secondary);\n "
161
79
  ]);
162
- _templateObject2 = function _templateObject() {
80
+ _templateObject1 = function _templateObject() {
163
81
  return data;
164
82
  };
165
83
  return data;
166
84
  }
167
- function _templateObject3() {
85
+ function _templateObject2() {
168
86
  var data = _tagged_template_literal([
169
87
  "\n ",
170
88
  ": var(--text-negative);\n ",
@@ -173,20 +91,17 @@ function _templateObject3() {
173
91
  ": var(--surface-solid-card);\n ",
174
92
  ": var(--surface-solid-card-hover);\n ",
175
93
  ": var(--surface-solid-card-active);\n ",
176
- ": var(--surface-solid-card);\n ",
94
+ ": var(--surface-solid-card);\n\n ",
177
95
  ": var(--text-primary);\n ",
178
- ": var(--text-negative);\n ",
179
96
  ": var(--text-primary);\n ",
180
- ": var(--text-negative);\n ",
181
- ": var(--text-secondary);\n ",
182
- ": var(--text-secondary);\n ",
183
- ": var--text-negative);\n ",
184
- ": var(--text-negative);\n ",
185
- ": var(--text-negative);\n ",
97
+ ": var(--text-negative);\n\n ",
186
98
  ": var(--text-secondary);\n ",
99
+ ": var(--text-secondary);\n\n ",
187
100
  ": var(--text-negative);\n ",
188
- ": var(--text-secondary);\n ",
101
+ ": var(--text-secondary);\n\n ",
189
102
  ": var(--text-accent);\n\n ",
103
+ ": var(--text-negative);\n ",
104
+ ": var(--text-secondary);\n\n ",
190
105
  ": var(--surface-solid-default);\n ",
191
106
  ": var(--surface-solid-default-hover);\n ",
192
107
  ": var(--surface-solid-default-active);\n ",
@@ -199,6 +114,74 @@ function _templateObject3() {
199
114
  ": var(--text-secondary);\n ",
200
115
  ": var(--text-secondary);\n "
201
116
  ]);
117
+ _templateObject2 = function _templateObject() {
118
+ return data;
119
+ };
120
+ return data;
121
+ }
122
+ function _templateObject3() {
123
+ var data = _tagged_template_literal([
124
+ "\n ",
125
+ ": 100%;\n ",
126
+ ": 7.187rem;\n ",
127
+ ": 0.625rem;\n ",
128
+ ": 0.75rem;\n ",
129
+ ": 0.125rem;\n ",
130
+ ": 0.625rem 0.625rem 0 0;\n ",
131
+ ": 0.688rem;\n ",
132
+ ": 0.875rem;\n ",
133
+ ": 3.125rem;\n\n ",
134
+ ": 0.75rem;\n ",
135
+ ": 0.875rem;\n ",
136
+ ": 0.75rem;\n\n ",
137
+ ": 0.875rem;\n ",
138
+ ": 0.75rem;\n ",
139
+ ": 0.875rem;\n ",
140
+ ": 0rem;\n ",
141
+ ": 0.688rem;\n ",
142
+ ": 0.75rem;\n ",
143
+ ": 1.25rem;\n\n ",
144
+ ": 0.5rem;\n\n ",
145
+ ": var(--plasma-typo-body-s-font-size);\n ",
146
+ ": var(--plasma-typo-body-s-font-family);\n ",
147
+ ": var(--plasma-typo-body-s-font-size);\n ",
148
+ ": var(--plasma-typo-body-s-font-style);\n ",
149
+ ": var(--plasma-typo-body-s-font-weight);\n ",
150
+ ": var(--plasma-typo-body-s-letter-spacing);\n ",
151
+ ": var(--plasma-typo-body-s-line-height);\n ",
152
+ ": 0.375rem;\n ",
153
+ ": 0.125rem;\n ",
154
+ ": var(--plasma-typo-body-m-font-family);\n ",
155
+ ": var(--plasma-typo-body-m-font-size);\n ",
156
+ ": var(--plasma-typo-body-m-font-style);\n ",
157
+ ": var(--plasma-typo-body-m-font-weight);\n ",
158
+ ": var(--plasma-typo-body-m-letter-spacing);\n ",
159
+ ": var(--plasma-typo-body-m-line-height);\n ",
160
+ ": var(--plasma-typo-body-s-font-family);\n ",
161
+ ": var(--plasma-typo-body-s-font-size);\n ",
162
+ ": var(--plasma-typo-body-s-font-style);\n ",
163
+ ": var(--plasma-typo-body-s-font-weight);\n ",
164
+ ": var(--plasma-typo-body-s-letter-spacing);\n ",
165
+ ": var(--plasma-typo-body-s-line-height);\n\n ",
166
+ ": 0.375rem;\n ",
167
+ ": 0.375rem;\n ",
168
+ ": 0 0 0 0;\n /* stylelint-disable-next-line number-max-precision */\n ",
169
+ ": 0.3125rem auto auto -0.6875rem;\n ",
170
+ ": 0 0 auto auto;\n ",
171
+ ": 0.25rem -0.625rem auto auto;\n\n ",
172
+ ": 0.375rem;\n ",
173
+ ": 0.125rem;\n\n ",
174
+ ": -0.688rem -0.5rem;\n ",
175
+ ": 2.375rem;\n ",
176
+ ": -0.751rem -2rem auto auto;\n\n ",
177
+ ": 0.25rem;\n ",
178
+ ": var(--plasma-typo-body-xs-font-family);\n ",
179
+ ": var(--plasma-typo-body-xs-font-size);\n ",
180
+ ": var(--plasma-typo-body-xs-font-style);\n ",
181
+ ": var(--plasma-typo-body-xs-font-weight);\n ",
182
+ ": var(--plasma-typo-body-xs-letter-spacing);\n ",
183
+ ": var(--plasma-typo-body-xs-line-height);\n "
184
+ ]);
202
185
  _templateObject3 = function _templateObject() {
203
186
  return data;
204
187
  };
@@ -272,21 +255,6 @@ function _templateObject6() {
272
255
  return data;
273
256
  }
274
257
  function _templateObject7() {
275
- var data = _tagged_template_literal([
276
- "\n ",
277
- ": transparent;\n ",
278
- ": transparent;\n ",
279
- ": transparent;\n ",
280
- ": transparent;\n ",
281
- ": transparent;\n ",
282
- ": transparent;\n "
283
- ]);
284
- _templateObject7 = function _templateObject() {
285
- return data;
286
- };
287
- return data;
288
- }
289
- function _templateObject8() {
290
258
  var data = _tagged_template_literal([
291
259
  "\n ",
292
260
  ": 1;\n ",
@@ -300,12 +268,12 @@ function _templateObject8() {
300
268
  ": var(--text-primary);\n ",
301
269
  ": var(--text-secondary);\n "
302
270
  ]);
303
- _templateObject8 = function _templateObject() {
271
+ _templateObject7 = function _templateObject() {
304
272
  return data;
305
273
  };
306
274
  return data;
307
275
  }
308
- function _templateObject9() {
276
+ function _templateObject8() {
309
277
  var data = _tagged_template_literal([
310
278
  "\n ",
311
279
  ": 0.1;\n ",
@@ -322,7 +290,7 @@ function _templateObject9() {
322
290
  ": var(--text-secondary);\n ",
323
291
  ": var(--text-secondary);\n "
324
292
  ]);
325
- _templateObject9 = function _templateObject() {
293
+ _templateObject8 = function _templateObject() {
326
294
  return data;
327
295
  };
328
296
  return data;
@@ -335,16 +303,16 @@ export var config = {
335
303
  size: 's'
336
304
  },
337
305
  variations: {
338
- size: {
339
- s: css(_templateObject(), textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderRadius, textAreaTokens.borderSize, textAreaTokens.borderRadiusWithHelpers, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingRightWithRightContent, textAreaTokens.clearInputPaddingRightWithRightContent, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.helpersPaddingTop, textAreaTokens.clearHelpersPaddingTop, textAreaTokens.helpersPaddingRight, textAreaTokens.helpersPaddingBottom, textAreaTokens.helpersPaddingLeft, textAreaTokens.helpersOffset, textAreaTokens.rightContentTop, textAreaTokens.rightContentRight, textAreaTokens.rightContentHeight, textAreaTokens.clearLabelMarginBottom, textAreaTokens.labelMarginBottom, textAreaTokens.clearLabelMarginBottom, textAreaTokens.labelOuterFontSize, textAreaTokens.labelInnerFontFamily, textAreaTokens.labelInnerFontSize, textAreaTokens.labelInnerFontStyle, textAreaTokens.labelInnerFontWeight, textAreaTokens.labelInnerLetterSpacing, textAreaTokens.labelInnerLineHeight, textAreaTokens.labelInnerTop, textAreaTokens.labelInnerMarginBottom, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight, textAreaTokens.helpersFontFamily, textAreaTokens.helpersFontSize, textAreaTokens.helpersFontStyle, textAreaTokens.helpersFontWeight, textAreaTokens.helpersLetterSpacing, textAreaTokens.helpersLineHeight, textAreaTokens.indicatorSizeInner, textAreaTokens.indicatorSizeOuter, textAreaTokens.indicatorLabelPlacementInner, textAreaTokens.indicatorLabelPlacementOuter, textAreaTokens.indicatorLabelPlacementInnerRight, textAreaTokens.indicatorLabelPlacementOuterRight, textAreaTokens.clearIndicatorLabelPlacementInner, textAreaTokens.clearIndicatorLabelPlacementInnerRight, textAreaTokens.clearIndicatorHintInnerRight, textAreaTokens.scrollbarWidth, textAreaTokens.scrollbarBorderWidth, textAreaTokens.hintMargin, textAreaTokens.hintTargetSize, textAreaTokens.hintInnerLabelPlacementOffset, textAreaTokens.clearHintInnerLabelPlacementOffset, textAreaTokens.titleCaptionInnerLabelOffset, textAreaTokens.titleCaptionFontFamily, textAreaTokens.titleCaptionFontSize, textAreaTokens.titleCaptionFontStyle, textAreaTokens.titleCaptionFontWeight, textAreaTokens.titleCaptionLetterSpacing, textAreaTokens.titleCaptionLineHeight)
340
- },
341
306
  view: {
342
- default: css(_templateObject1(), textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.backgroundColor, textAreaTokens.backgroundColorHover, textAreaTokens.backgroundColorActive, textAreaTokens.backgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.clearInputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.clearPlaceholderColor, textAreaTokens.clearPlaceholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.rightContentColor, textAreaTokens.scrollbarThumbBackgroundColor, textAreaTokens.scrollbarThumbBackgroundColorHover, textAreaTokens.scrollbarThumbBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColor, textAreaTokens.scrollbarTrackBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColorHover, textAreaTokens.dividerColor, textAreaTokens.dividerColorHover, textAreaTokens.dividerColorFocus, textAreaTokens.titleCaptionColor, textAreaTokens.hintIconColor),
307
+ default: css(_templateObject(), textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.backgroundColor, textAreaTokens.backgroundColorHover, textAreaTokens.backgroundColorActive, textAreaTokens.backgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.rightContentColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.scrollbarThumbBackgroundColor, textAreaTokens.scrollbarThumbBackgroundColorHover, textAreaTokens.scrollbarThumbBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColor, textAreaTokens.scrollbarTrackBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColorHover, textAreaTokens.dividerColor, textAreaTokens.dividerColorHover, textAreaTokens.dividerColorFocus, textAreaTokens.titleCaptionColor, textAreaTokens.hintIconColor),
343
308
  /**
344
309
  * @deprecated
345
310
  * использовать `default`
346
- */ primary: css(_templateObject2(), textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.backgroundColor, textAreaTokens.backgroundColorHover, textAreaTokens.backgroundColorActive, textAreaTokens.backgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.clearInputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.clearPlaceholderColor, textAreaTokens.clearPlaceholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.rightContentColor, textAreaTokens.scrollbarThumbBackgroundColor, textAreaTokens.scrollbarThumbBackgroundColorHover, textAreaTokens.scrollbarThumbBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColor, textAreaTokens.scrollbarTrackBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColorHover, textAreaTokens.dividerColor, textAreaTokens.dividerColorHover, textAreaTokens.dividerColorFocus, textAreaTokens.titleCaptionColor, textAreaTokens.hintIconColor),
347
- negative: css(_templateObject3(), textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.backgroundColor, textAreaTokens.backgroundColorHover, textAreaTokens.backgroundColorActive, textAreaTokens.backgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.clearInputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.clearPlaceholderColor, textAreaTokens.clearPlaceholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.rightContentColor, textAreaTokens.scrollbarThumbBackgroundColor, textAreaTokens.scrollbarThumbBackgroundColorHover, textAreaTokens.scrollbarThumbBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColor, textAreaTokens.scrollbarTrackBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColorHover, textAreaTokens.dividerColor, textAreaTokens.dividerColorHover, textAreaTokens.dividerColorFocus, textAreaTokens.titleCaptionColor, textAreaTokens.hintIconColor)
311
+ */ primary: css(_templateObject1(), textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.backgroundColor, textAreaTokens.backgroundColorHover, textAreaTokens.backgroundColorActive, textAreaTokens.backgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.rightContentColor, textAreaTokens.scrollbarThumbBackgroundColor, textAreaTokens.scrollbarThumbBackgroundColorHover, textAreaTokens.scrollbarThumbBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColor, textAreaTokens.scrollbarTrackBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColorHover, textAreaTokens.dividerColor, textAreaTokens.dividerColorHover, textAreaTokens.dividerColorFocus, textAreaTokens.titleCaptionColor, textAreaTokens.hintIconColor),
312
+ negative: css(_templateObject2(), textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.backgroundColor, textAreaTokens.backgroundColorHover, textAreaTokens.backgroundColorActive, textAreaTokens.backgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.rightContentColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.scrollbarThumbBackgroundColor, textAreaTokens.scrollbarThumbBackgroundColorHover, textAreaTokens.scrollbarThumbBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColor, textAreaTokens.scrollbarTrackBackgroundColorActive, textAreaTokens.scrollbarTrackBackgroundColorHover, textAreaTokens.dividerColor, textAreaTokens.dividerColorHover, textAreaTokens.dividerColorFocus, textAreaTokens.titleCaptionColor, textAreaTokens.hintIconColor)
313
+ },
314
+ size: {
315
+ s: css(_templateObject3(), textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderRadius, textAreaTokens.borderSize, textAreaTokens.borderRadiusWithHelpers, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingRightWithRightContent, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.helpersPaddingTop, textAreaTokens.helpersPaddingRight, textAreaTokens.helpersPaddingBottom, textAreaTokens.helpersPaddingLeft, textAreaTokens.helpersOffset, textAreaTokens.rightContentTop, textAreaTokens.rightContentRight, textAreaTokens.rightContentHeight, textAreaTokens.labelMarginBottom, textAreaTokens.labelOuterFontSize, textAreaTokens.labelInnerFontFamily, textAreaTokens.labelInnerFontSize, textAreaTokens.labelInnerFontStyle, textAreaTokens.labelInnerFontWeight, textAreaTokens.labelInnerLetterSpacing, textAreaTokens.labelInnerLineHeight, textAreaTokens.labelInnerTop, textAreaTokens.labelInnerMarginBottom, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight, textAreaTokens.helpersFontFamily, textAreaTokens.helpersFontSize, textAreaTokens.helpersFontStyle, textAreaTokens.helpersFontWeight, textAreaTokens.helpersLetterSpacing, textAreaTokens.helpersLineHeight, textAreaTokens.indicatorSizeInner, textAreaTokens.indicatorSizeOuter, textAreaTokens.indicatorLabelPlacementInner, textAreaTokens.indicatorLabelPlacementOuter, textAreaTokens.indicatorLabelPlacementInnerRight, textAreaTokens.indicatorLabelPlacementOuterRight, textAreaTokens.scrollbarWidth, textAreaTokens.scrollbarBorderWidth, textAreaTokens.hintMargin, textAreaTokens.hintTargetSize, textAreaTokens.hintInnerLabelPlacementOffset, textAreaTokens.titleCaptionInnerLabelOffset, textAreaTokens.titleCaptionFontFamily, textAreaTokens.titleCaptionFontSize, textAreaTokens.titleCaptionFontStyle, textAreaTokens.titleCaptionFontWeight, textAreaTokens.titleCaptionLetterSpacing, textAreaTokens.titleCaptionLineHeight)
348
316
  },
349
317
  hintView: {
350
318
  // TODO: заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
@@ -354,14 +322,11 @@ export var config = {
354
322
  m: css(_templateObject5(), textAreaTokens.tooltipPaddingTop, textAreaTokens.tooltipPaddingRight, textAreaTokens.tooltipPaddingBottom, textAreaTokens.tooltipPaddingLeft, textAreaTokens.tooltipMinHeight, textAreaTokens.tooltipBorderRadius, textAreaTokens.tooltipTextFontFamily, textAreaTokens.tooltipTextFontSize, textAreaTokens.tooltipTextFontStyle, textAreaTokens.tooltipTextFontWeight, textAreaTokens.tooltipTextFontLetterSpacing, textAreaTokens.tooltipTextFontLineHeight, textAreaTokens.tooltipContentLeftMargin, textAreaTokens.tooltipArrowMaskWidth, textAreaTokens.tooltipArrowMaskHeight, textAreaTokens.tooltipArrowMaskImage, textAreaTokens.tooltipArrowHeight, textAreaTokens.tooltipArrowEdgeMargin),
355
323
  s: css(_templateObject6(), textAreaTokens.tooltipPaddingTop, textAreaTokens.tooltipPaddingRight, textAreaTokens.tooltipPaddingBottom, textAreaTokens.tooltipPaddingLeft, textAreaTokens.tooltipMinHeight, textAreaTokens.tooltipBorderRadius, textAreaTokens.tooltipTextFontFamily, textAreaTokens.tooltipTextFontSize, textAreaTokens.tooltipTextFontStyle, textAreaTokens.tooltipTextFontWeight, textAreaTokens.tooltipTextFontLetterSpacing, textAreaTokens.tooltipTextFontLineHeight, textAreaTokens.tooltipContentLeftMargin, textAreaTokens.tooltipArrowMaskWidth, textAreaTokens.tooltipArrowMaskHeight, textAreaTokens.tooltipArrowMaskImage, textAreaTokens.tooltipArrowHeight, textAreaTokens.tooltipArrowEdgeMargin)
356
324
  },
357
- clear: {
358
- true: css(_templateObject7(), textAreaTokens.backgroundColor, textAreaTokens.backgroundColorFocus, textAreaTokens.backgroundColorHover, textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus)
359
- },
360
325
  disabled: {
361
- true: css(_templateObject8(), textAreaTokens.disabledOpacity, textAreaTokens.backgroundColor, textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.placeholderColorFocus, textAreaTokens.labelOuterColor, textAreaTokens.inputColorDisabled)
326
+ true: css(_templateObject7(), textAreaTokens.disabledOpacity, textAreaTokens.backgroundColor, textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.placeholderColorFocus, textAreaTokens.labelOuterColor, textAreaTokens.inputColorDisabled)
362
327
  },
363
328
  readOnly: {
364
- true: css(_templateObject9(), textAreaTokens.readOnlyOpacity, textAreaTokens.labelOuterColor, textAreaTokens.inputColorReadOnly, textAreaTokens.dividerColorReadOnly, textAreaTokens.contentSlotRightOpacityReadOnly, textAreaTokens.backgroundColor, textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.placeholderColorFocus, textAreaTokens.labelOuterColor)
329
+ true: css(_templateObject8(), textAreaTokens.readOnlyOpacity, textAreaTokens.labelOuterColor, textAreaTokens.inputColorReadOnly, textAreaTokens.dividerColorReadOnly, textAreaTokens.contentSlotRightOpacityReadOnly, textAreaTokens.backgroundColor, textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.placeholderColorFocus, textAreaTokens.labelOuterColor)
365
330
  }
366
331
  }
367
332
  };
@@ -1,7 +1,16 @@
1
- import { textAreaConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
1
+ import { textAreaConfig, component, mergeConfig, createConditionalComponent } from '@salutejs/plasma-new-hope/emotion';
2
2
  import { config } from './TextArea.config';
3
+ import { config as clearConfig } from './TextArea.clear.config';
3
4
  var mergedConfig = mergeConfig(textAreaConfig, config);
4
- var TextAreaComponent = component(mergedConfig);
5
- /**
6
- * Поле ввода многострочного текста.
7
- */ export var TextArea = TextAreaComponent;
5
+ export var TextAreaDefault = component(mergedConfig);
6
+ var mergedConfigClear = mergeConfig(textAreaConfig, clearConfig);
7
+ export var TextAreaClear = component(mergedConfigClear);
8
+ export var TextArea = createConditionalComponent(TextAreaDefault, [
9
+ {
10
+ conditions: {
11
+ prop: 'appearance',
12
+ value: 'clear'
13
+ },
14
+ component: TextAreaClear
15
+ }
16
+ ]);