@salutejs/sdds-cs 0.337.0-canary.2423.21063972668.0 → 0.337.0-canary.2424.21064436356.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/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +26 -11
- package/dist/emotion/cjs/components/TextArea/TextArea.config.js +131 -96
- package/dist/emotion/cjs/components/TextArea/TextArea.js +5 -27
- package/dist/emotion/es/components/DatePicker/DatePicker.config.js +26 -11
- package/dist/emotion/es/components/TextArea/TextArea.config.js +131 -96
- package/dist/emotion/es/components/TextArea/TextArea.js +5 -14
- package/dist/styled-components/cjs/components/DatePicker/DatePicker.config.js +26 -11
- package/dist/styled-components/cjs/components/TextArea/TextArea.config.js +131 -96
- package/dist/styled-components/cjs/components/TextArea/TextArea.js +5 -27
- package/dist/styled-components/es/components/DatePicker/DatePicker.config.js +26 -11
- package/dist/styled-components/es/components/TextArea/TextArea.config.js +131 -96
- package/dist/styled-components/es/components/TextArea/TextArea.js +5 -14
- package/package.json +7 -7
- package/types/components/DatePicker/DatePicker.d.ts +2 -1
- package/types/components/TextArea/TextArea.config.d.ts +6 -3
- package/types/components/TextArea/TextArea.d.ts +10 -996
- package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +0 -350
- package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +0 -340
- package/dist/styled-components/cjs/components/TextArea/TextArea.clear.config.js +0 -350
- package/dist/styled-components/es/components/TextArea/TextArea.clear.config.js +0 -340
- package/types/components/TextArea/TextArea.clear.config.d.ts +0 -34
|
@@ -11,6 +11,7 @@ function _tagged_template_literal(strings, raw) {
|
|
|
11
11
|
function _templateObject() {
|
|
12
12
|
var data = _tagged_template_literal([
|
|
13
13
|
"\n ",
|
|
14
|
+
": var(--surface-accent);\n\n ",
|
|
14
15
|
": var(--surface-solid-card);\n ",
|
|
15
16
|
": var(--outline-solid-primary);\n ",
|
|
16
17
|
": var(--outline-solid-primary-hover);\n ",
|
|
@@ -47,7 +48,7 @@ function _templateObject() {
|
|
|
47
48
|
": var(--text-accent);\n\n ",
|
|
48
49
|
": var(--shadow-down-soft-s);\n ",
|
|
49
50
|
": var(--surface-transparent-secondary);\n ",
|
|
50
|
-
": var(--surface-solid-card);\n ",
|
|
51
|
+
": var(--surface-solid-card);\n\n ",
|
|
51
52
|
": var(--surface-accent);\n ",
|
|
52
53
|
": var(--inverse-text-primary);\n ",
|
|
53
54
|
": var(--surface-transparent-accent);\n ",
|
|
@@ -77,7 +78,9 @@ function _templateObject() {
|
|
|
77
78
|
": var(--surface-clear);\n ",
|
|
78
79
|
": var(--surface-accent);\n\n ",
|
|
79
80
|
": var(--text-accent);\n ",
|
|
80
|
-
": var(--text-accent-minor);\n
|
|
81
|
+
": var(--text-accent-minor);\n\n ",
|
|
82
|
+
": var(--text-primary);\n ",
|
|
83
|
+
": var(--surface-transparent-secondary);\n "
|
|
81
84
|
]);
|
|
82
85
|
_templateObject = function _templateObject() {
|
|
83
86
|
return data;
|
|
@@ -141,11 +144,14 @@ function _templateObject1() {
|
|
|
141
144
|
": -0.1875rem -0.125rem -0.1875rem 0.75rem;\n ",
|
|
142
145
|
": 0 0.25rem 0 0;\n ",
|
|
143
146
|
": 0 0 0 0.25rem;\n\n ",
|
|
147
|
+
": 0.625rem;\n ",
|
|
148
|
+
": 0.75rem;\n ",
|
|
149
|
+
": 0.75rem 1rem 0.875rem 1rem;\n ",
|
|
150
|
+
": 1.625rem;\n\n ",
|
|
144
151
|
": 0.125rem;\n ",
|
|
145
152
|
": 19.5rem;\n ",
|
|
146
|
-
": 18.625rem;\n ",
|
|
147
|
-
": 0.
|
|
148
|
-
": 0.5rem 1rem 0.875rem 1rem;\n ",
|
|
153
|
+
": 18.625rem;\n\n ",
|
|
154
|
+
": 0.5rem 0 0 0;\n ",
|
|
149
155
|
": 0.5rem;\n\n ",
|
|
150
156
|
": var(--plasma-typo-body-s-font-family);\n ",
|
|
151
157
|
": var(--plasma-typo-body-s-font-size);\n ",
|
|
@@ -154,7 +160,7 @@ function _templateObject1() {
|
|
|
154
160
|
": var(--plasma-typo-body-s-line-height);\n ",
|
|
155
161
|
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
156
162
|
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
|
157
|
-
": 0.5rem 0
|
|
163
|
+
": 0.5rem 0 0 0;\n ",
|
|
158
164
|
": 0.5rem;\n\n ",
|
|
159
165
|
": var(--plasma-typo-body-s-font-family);\n ",
|
|
160
166
|
": var(--plasma-typo-body-s-font-size);\n ",
|
|
@@ -163,7 +169,7 @@ function _templateObject1() {
|
|
|
163
169
|
": var(--plasma-typo-body-s-line-height);\n ",
|
|
164
170
|
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
165
171
|
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
|
166
|
-
": 0.5rem
|
|
172
|
+
": 0.5rem 0 0 0;\n ",
|
|
167
173
|
": 0.5rem;\n\n ",
|
|
168
174
|
": var(--plasma-typo-body-s-font-family);\n ",
|
|
169
175
|
": var(--plasma-typo-body-s-font-size);\n ",
|
|
@@ -172,7 +178,7 @@ function _templateObject1() {
|
|
|
172
178
|
": var(--plasma-typo-body-s-line-height);\n ",
|
|
173
179
|
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
174
180
|
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
|
175
|
-
": 0.5rem
|
|
181
|
+
": 0.5rem 0 0 0;\n ",
|
|
176
182
|
": 0.5rem;\n\n ",
|
|
177
183
|
": var(--plasma-typo-body-s-font-family);\n ",
|
|
178
184
|
": var(--plasma-typo-body-s-font-size);\n ",
|
|
@@ -182,7 +188,7 @@ function _templateObject1() {
|
|
|
182
188
|
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
183
189
|
": var(--plasma-typo-body-s-bold-font-weight);\n\n ",
|
|
184
190
|
": 0.125rem;\n\n ",
|
|
185
|
-
": 0
|
|
191
|
+
": 0;\n ",
|
|
186
192
|
": 0.5rem;\n ",
|
|
187
193
|
": 1.5rem;\n\n ",
|
|
188
194
|
": 0 0 0 0.5rem;\n ",
|
|
@@ -197,6 +203,15 @@ function _templateObject1() {
|
|
|
197
203
|
": 2rem;\n ",
|
|
198
204
|
": 2rem;\n ",
|
|
199
205
|
": 0.75rem;\n ",
|
|
206
|
+
": 0.5rem;\n\n ",
|
|
207
|
+
": var(--plasma-typo-body-s-font-family);\n ",
|
|
208
|
+
": var(--plasma-typo-body-s-font-style);\n ",
|
|
209
|
+
": var(--plasma-typo-body-s-font-size);\n ",
|
|
210
|
+
": var(--plasma-typo-body-s-font-weight);\n ",
|
|
211
|
+
": var(--plasma-typo-body-s-letter-spacing);\n ",
|
|
212
|
+
": var(--plasma-typo-body-s-line-height);\n\n ",
|
|
213
|
+
": 0.688rem 0.5rem;\n ",
|
|
214
|
+
": 0.375rem;\n ",
|
|
200
215
|
": 0.5rem;\n "
|
|
201
216
|
]);
|
|
202
217
|
_templateObject1 = function _templateObject() {
|
|
@@ -254,10 +269,10 @@ export var config = {
|
|
|
254
269
|
},
|
|
255
270
|
variations: {
|
|
256
271
|
view: {
|
|
257
|
-
default: css(_templateObject(), tokens.background, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.borderColorError, tokens.borderColorSuccess, tokens.dividerColor, tokens.labelColor, tokens.leftHelperColor, tokens.leftHelperColorError, tokens.leftHelperColorSuccess, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldCaretColor, tokens.labelInnerFontFamily, tokens.labelInnerFontSize, tokens.labelInnerFontStyle, tokens.labelInnerFontWeight, tokens.labelInnerLetterSpacing, tokens.labelInnerLineHeight, tokens.indicatorColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldBorderColorError, tokens.textFieldBorderColorErrorFocus, tokens.textFieldBorderColorSuccess, tokens.textFieldBorderColorSuccessFocus, tokens.textFieldBackgroundColor, tokens.textFieldContentSlotColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.focusColor, tokens.
|
|
272
|
+
default: css(_templateObject(), tokens.outlineFocusColor, tokens.background, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.borderColorError, tokens.borderColorSuccess, tokens.dividerColor, tokens.labelColor, tokens.leftHelperColor, tokens.leftHelperColorError, tokens.leftHelperColorSuccess, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldCaretColor, tokens.labelInnerFontFamily, tokens.labelInnerFontSize, tokens.labelInnerFontStyle, tokens.labelInnerFontWeight, tokens.labelInnerLetterSpacing, tokens.labelInnerLineHeight, tokens.indicatorColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldBorderColorError, tokens.textFieldBorderColorErrorFocus, tokens.textFieldBorderColorSuccess, tokens.textFieldBorderColorSuccessFocus, tokens.textFieldBackgroundColor, tokens.textFieldContentSlotColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.focusColor, tokens.popoverShadow, tokens.popoverSeparatorBackground, tokens.popoverBackgroundColor, tokens.calendarSelectedItemBackground, tokens.calendarSelectedItemColor, tokens.calendarSelectableItemBackgroundHover, tokens.calendarCurrentItemBorderColor, tokens.calendarCurrentItemBackgroundHover, tokens.calendarCurrentItemColorHover, tokens.calendarCurrentItemChildBackgroundHover, tokens.calendarActiveItemBackground, tokens.calendarActiveItemColor, tokens.calendarHoveredItemBackground, tokens.calendarHoveredItemColor, tokens.calendarRangeBackground, tokens.calendarOutlineFocusColor, tokens.calendarContentPrimaryColor, tokens.calendarContentSecondaryColor, tokens.calendarContentPrimaryDisabledColor, tokens.calendarContentSecondaryDisabledColor, tokens.calendarHeaderArrowColor, tokens.calendarBorderColor, tokens.calendarDayOfWeekColor, tokens.calendarDisabledOpacity, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonBackgroundColorActive, tokens.iconButtonFocusColor, tokens.textFieldContentRightSlotColor, tokens.textFieldContentRightSlotColorHover, tokens.shortcutColor, tokens.shortcutBackgroundHover)
|
|
258
273
|
},
|
|
259
274
|
size: {
|
|
260
|
-
s: css(_templateObject1(), tokens.width, tokens.borderRadius, tokens.borderWidth, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.labelWrapperOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.indicatorWrapperGap, tokens.indicatorSizeInner, tokens.indicatorSizeOuter, tokens.indicatorPlacement, tokens.indicatorOuterPlacement, tokens.indicatorPlacementRight, tokens.indicatorOuterPlacementRight, tokens.indicatorMarginTop, tokens.indicatorOuterLeft, tokens.indicatorWithoutLabelInner, tokens.indicatorWithoutLabelInnerLeft, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.
|
|
275
|
+
s: css(_templateObject1(), tokens.width, tokens.borderRadius, tokens.borderWidth, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.labelWrapperOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.indicatorWrapperGap, tokens.indicatorSizeInner, tokens.indicatorSizeOuter, tokens.indicatorPlacement, tokens.indicatorOuterPlacement, tokens.indicatorPlacementRight, tokens.indicatorOuterPlacementRight, tokens.indicatorMarginTop, tokens.indicatorOuterLeft, tokens.indicatorWithoutLabelInner, tokens.indicatorWithoutLabelInnerLeft, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.popoverBorderRadius, tokens.popoverGap, tokens.popoverPadding, tokens.popoverVerticalPadding, tokens.calendarBorderWidth, tokens.calendarWidth, tokens.calendarHeight, tokens.calendarYearsPadding, tokens.calendarYearItemBorderRadius, tokens.calendarYearFontFamily, tokens.calendarYearFontSize, tokens.calendarYearFontStyle, tokens.calendarYearFontLetterSpacing, tokens.calendarYearFontLineHeight, tokens.calendarYearFontWeight, tokens.calendarYearSelectedFontWeight, tokens.calendarQuartersPadding, tokens.calendarQuarterItemBorderRadius, tokens.calendarQuarterFontFamily, tokens.calendarQuarterFontSize, tokens.calendarQuarterFontStyle, tokens.calendarQuarterFontLetterSpacing, tokens.calendarQuarterFontLineHeight, tokens.calendarQuarterFontWeight, tokens.calendarQuarterSelectedFontWeight, tokens.calendarMonthsPadding, tokens.calendarMonthItemBorderRadius, tokens.calendarMonthFontFamily, tokens.calendarMonthFontSize, tokens.calendarMonthFontStyle, tokens.calendarMonthFontLetterSpacing, tokens.calendarMonthFontLineHeight, tokens.calendarMonthFontWeight, tokens.calendarMonthSelectedFontWeight, tokens.calendarDaysPadding, tokens.calendarDayItemBorderRadius, tokens.calendarDayFontFamily, tokens.calendarDayFontSize, tokens.calendarDayFontStyle, tokens.calendarDayFontLetterSpacing, tokens.calendarDayFontLineHeight, tokens.calendarDayFontWeight, tokens.calendarDaySelectedFontWeight, tokens.calendarCurrentItemBorderWidth, tokens.calendarHeaderWrapperPadding, tokens.calendarHeaderArrowGap, tokens.calendarHeaderArrowCustomSize, tokens.calendarHeaderPadding, tokens.calendarHeaderDateGap, tokens.calendarHeaderFontFamily, tokens.calendarHeaderFontSize, tokens.calendarHeaderFontStyle, tokens.calendarHeaderFontLetterSpacing, tokens.calendarHeaderFontLineHeight, tokens.calendarHeaderFontWeight, tokens.calendarHeaderFontWeightBold, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonRadius, tokens.shortcutFontFamily, tokens.shortcutFontStyle, tokens.shortcutFontSize, tokens.shortcutFontWeight, tokens.shortcutLetterSpacing, tokens.shortcutLineHeight, tokens.shortcutPadding, tokens.shortcutGap, tokens.shortcutBorderRadius)
|
|
261
276
|
},
|
|
262
277
|
disabled: {
|
|
263
278
|
true: css(_templateObject2(), tokens.background, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.borderColorSuccess, tokens.textFieldBorderColorFocus, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldCaretColor, tokens.textFieldBackgroundColor, tokens.labelColor)
|
|
@@ -9,6 +9,82 @@ 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() {
|
|
12
88
|
var data = _tagged_template_literal([
|
|
13
89
|
"\n ",
|
|
14
90
|
": var(--outline-solid-primary);\n ",
|
|
@@ -17,17 +93,20 @@ function _templateObject() {
|
|
|
17
93
|
": var(--surface-solid-card);\n ",
|
|
18
94
|
": var(--surface-solid-card-hover);\n ",
|
|
19
95
|
": var(--surface-solid-card-active);\n ",
|
|
20
|
-
": var(--surface-solid-card);\n
|
|
96
|
+
": var(--surface-solid-card);\n ",
|
|
21
97
|
": var(--text-primary);\n ",
|
|
22
98
|
": var(--text-primary);\n ",
|
|
23
|
-
": var(--text-
|
|
99
|
+
": 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 ",
|
|
24
105
|
": var(--text-secondary);\n ",
|
|
25
|
-
": var(--text-secondary);\n\n ",
|
|
26
106
|
": var(--text-secondary);\n ",
|
|
27
|
-
": var(--text-secondary);\n\n ",
|
|
28
|
-
": var(--text-accent);\n\n ",
|
|
29
107
|
": var(--text-negative);\n ",
|
|
30
|
-
": var(--text-secondary);\n
|
|
108
|
+
": var(--text-secondary);\n ",
|
|
109
|
+
": var(--text-accent);\n\n ",
|
|
31
110
|
": var(--surface-solid-default);\n ",
|
|
32
111
|
": var(--surface-solid-default-hover);\n ",
|
|
33
112
|
": var(--surface-solid-default-active);\n ",
|
|
@@ -40,12 +119,12 @@ function _templateObject() {
|
|
|
40
119
|
": var(--text-secondary);\n ",
|
|
41
120
|
": var(--text-secondary);\n "
|
|
42
121
|
]);
|
|
43
|
-
|
|
122
|
+
_templateObject1 = function _templateObject() {
|
|
44
123
|
return data;
|
|
45
124
|
};
|
|
46
125
|
return data;
|
|
47
126
|
}
|
|
48
|
-
function
|
|
127
|
+
function _templateObject2() {
|
|
49
128
|
var data = _tagged_template_literal([
|
|
50
129
|
"\n ",
|
|
51
130
|
": var(--outline-solid-primary);\n ",
|
|
@@ -57,9 +136,12 @@ function _templateObject1() {
|
|
|
57
136
|
": var(--surface-solid-card);\n ",
|
|
58
137
|
": var(--text-primary);\n ",
|
|
59
138
|
": var(--text-primary);\n ",
|
|
139
|
+
": var(--text-primary);\n ",
|
|
60
140
|
": var(--text-accent);\n ",
|
|
61
141
|
": var(--text-secondary);\n ",
|
|
62
|
-
": var(--text-secondary);\n
|
|
142
|
+
": var(--text-secondary);\n ",
|
|
143
|
+
": var(--text-secondary);\n ",
|
|
144
|
+
": var(--text-tertiary);\n ",
|
|
63
145
|
": var(--text-secondary);\n ",
|
|
64
146
|
": var(--text-secondary);\n ",
|
|
65
147
|
": var(--text-negative);\n ",
|
|
@@ -77,12 +159,12 @@ function _templateObject1() {
|
|
|
77
159
|
": var(--text-secondary);\n ",
|
|
78
160
|
": var(--text-secondary);\n "
|
|
79
161
|
]);
|
|
80
|
-
|
|
162
|
+
_templateObject2 = function _templateObject() {
|
|
81
163
|
return data;
|
|
82
164
|
};
|
|
83
165
|
return data;
|
|
84
166
|
}
|
|
85
|
-
function
|
|
167
|
+
function _templateObject3() {
|
|
86
168
|
var data = _tagged_template_literal([
|
|
87
169
|
"\n ",
|
|
88
170
|
": var(--text-negative);\n ",
|
|
@@ -91,17 +173,20 @@ function _templateObject2() {
|
|
|
91
173
|
": var(--surface-solid-card);\n ",
|
|
92
174
|
": var(--surface-solid-card-hover);\n ",
|
|
93
175
|
": var(--surface-solid-card-active);\n ",
|
|
94
|
-
": var(--surface-solid-card);\n
|
|
176
|
+
": var(--surface-solid-card);\n ",
|
|
95
177
|
": var(--text-primary);\n ",
|
|
178
|
+
": var(--text-negative);\n ",
|
|
96
179
|
": var(--text-primary);\n ",
|
|
97
|
-
": var(--text-negative);\n
|
|
180
|
+
": var(--text-negative);\n ",
|
|
181
|
+
": var(--text-secondary);\n ",
|
|
98
182
|
": var(--text-secondary);\n ",
|
|
99
|
-
": var
|
|
183
|
+
": var--text-negative);\n ",
|
|
100
184
|
": var(--text-negative);\n ",
|
|
101
|
-
": var(--text-secondary);\n\n ",
|
|
102
|
-
": var(--text-accent);\n\n ",
|
|
103
185
|
": var(--text-negative);\n ",
|
|
104
|
-
": var(--text-secondary);\n
|
|
186
|
+
": var(--text-secondary);\n ",
|
|
187
|
+
": var(--text-negative);\n ",
|
|
188
|
+
": var(--text-secondary);\n ",
|
|
189
|
+
": var(--text-accent);\n\n ",
|
|
105
190
|
": var(--surface-solid-default);\n ",
|
|
106
191
|
": var(--surface-solid-default-hover);\n ",
|
|
107
192
|
": var(--surface-solid-default-active);\n ",
|
|
@@ -114,74 +199,6 @@ function _templateObject2() {
|
|
|
114
199
|
": var(--text-secondary);\n ",
|
|
115
200
|
": var(--text-secondary);\n "
|
|
116
201
|
]);
|
|
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
|
-
]);
|
|
185
202
|
_templateObject3 = function _templateObject() {
|
|
186
203
|
return data;
|
|
187
204
|
};
|
|
@@ -255,6 +272,21 @@ function _templateObject6() {
|
|
|
255
272
|
return data;
|
|
256
273
|
}
|
|
257
274
|
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() {
|
|
258
290
|
var data = _tagged_template_literal([
|
|
259
291
|
"\n ",
|
|
260
292
|
": 1;\n ",
|
|
@@ -268,12 +300,12 @@ function _templateObject7() {
|
|
|
268
300
|
": var(--text-primary);\n ",
|
|
269
301
|
": var(--text-secondary);\n "
|
|
270
302
|
]);
|
|
271
|
-
|
|
303
|
+
_templateObject8 = function _templateObject() {
|
|
272
304
|
return data;
|
|
273
305
|
};
|
|
274
306
|
return data;
|
|
275
307
|
}
|
|
276
|
-
function
|
|
308
|
+
function _templateObject9() {
|
|
277
309
|
var data = _tagged_template_literal([
|
|
278
310
|
"\n ",
|
|
279
311
|
": 0.1;\n ",
|
|
@@ -290,7 +322,7 @@ function _templateObject8() {
|
|
|
290
322
|
": var(--text-secondary);\n ",
|
|
291
323
|
": var(--text-secondary);\n "
|
|
292
324
|
]);
|
|
293
|
-
|
|
325
|
+
_templateObject9 = function _templateObject() {
|
|
294
326
|
return data;
|
|
295
327
|
};
|
|
296
328
|
return data;
|
|
@@ -303,16 +335,16 @@ export var config = {
|
|
|
303
335
|
size: 's'
|
|
304
336
|
},
|
|
305
337
|
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
|
+
},
|
|
306
341
|
view: {
|
|
307
|
-
default: css(
|
|
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),
|
|
308
343
|
/**
|
|
309
344
|
* @deprecated
|
|
310
345
|
* использовать `default`
|
|
311
|
-
*/ primary: css(
|
|
312
|
-
negative: css(
|
|
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)
|
|
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)
|
|
316
348
|
},
|
|
317
349
|
hintView: {
|
|
318
350
|
// TODO: заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
|
|
@@ -322,11 +354,14 @@ export var config = {
|
|
|
322
354
|
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),
|
|
323
355
|
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)
|
|
324
356
|
},
|
|
357
|
+
clear: {
|
|
358
|
+
true: css(_templateObject7(), textAreaTokens.backgroundColor, textAreaTokens.backgroundColorFocus, textAreaTokens.backgroundColorHover, textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus)
|
|
359
|
+
},
|
|
325
360
|
disabled: {
|
|
326
|
-
true: css(
|
|
361
|
+
true: css(_templateObject8(), textAreaTokens.disabledOpacity, textAreaTokens.backgroundColor, textAreaTokens.borderColor, textAreaTokens.borderColorHover, textAreaTokens.borderColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.placeholderColorFocus, textAreaTokens.labelOuterColor, textAreaTokens.inputColorDisabled)
|
|
327
362
|
},
|
|
328
363
|
readOnly: {
|
|
329
|
-
true: css(
|
|
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)
|
|
330
365
|
}
|
|
331
366
|
}
|
|
332
367
|
};
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import { textAreaConfig, component, mergeConfig
|
|
1
|
+
import { textAreaConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
|
|
2
2
|
import { config } from './TextArea.config';
|
|
3
|
-
import { config as clearConfig } from './TextArea.clear.config';
|
|
4
3
|
var mergedConfig = mergeConfig(textAreaConfig, config);
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export var TextArea =
|
|
9
|
-
{
|
|
10
|
-
conditions: {
|
|
11
|
-
prop: 'appearance',
|
|
12
|
-
value: 'clear'
|
|
13
|
-
},
|
|
14
|
-
component: TextAreaClear
|
|
15
|
-
}
|
|
16
|
-
]);
|
|
4
|
+
var TextAreaComponent = component(mergedConfig);
|
|
5
|
+
/**
|
|
6
|
+
* Поле ввода многострочного текста.
|
|
7
|
+
*/ export var TextArea = TextAreaComponent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/sdds-cs",
|
|
3
|
-
"version": "0.337.0-canary.
|
|
3
|
+
"version": "0.337.0-canary.2424.21064436356.0",
|
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS CS web applications",
|
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
|
6
6
|
"exports": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"directory": "packages/sdds-cs"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@salutejs/plasma-new-hope": "0.345.0-canary.
|
|
36
|
-
"@salutejs/sdds-themes": "0.52.0-canary.
|
|
35
|
+
"@salutejs/plasma-new-hope": "0.345.0-canary.2424.21064436356.0",
|
|
36
|
+
"@salutejs/sdds-themes": "0.52.0-canary.2424.21064436356.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@emotion/react": ">=11",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"@microsoft/api-extractor": "7.38.3",
|
|
57
57
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
|
58
58
|
"@salutejs/plasma-colors": "0.16.0",
|
|
59
|
-
"@salutejs/plasma-core": "1.213.0-canary.
|
|
60
|
-
"@salutejs/plasma-cy-utils": "0.143.0-canary.
|
|
59
|
+
"@salutejs/plasma-core": "1.213.0-canary.2424.21064436356.0",
|
|
60
|
+
"@salutejs/plasma-cy-utils": "0.143.0-canary.2424.21064436356.0",
|
|
61
61
|
"@salutejs/plasma-icons": "1.228.0",
|
|
62
|
-
"@salutejs/plasma-sb-utils": "0.213.0-canary.
|
|
62
|
+
"@salutejs/plasma-sb-utils": "0.213.0-canary.2424.21064436356.0",
|
|
63
63
|
"@types/node": "16.7.13",
|
|
64
64
|
"@types/react": "18.0.28",
|
|
65
65
|
"@types/react-dom": "18.0.11",
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"Anton Vinogradov"
|
|
113
113
|
],
|
|
114
114
|
"sideEffects": false,
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "1c5b6a786d3a1a4c4771163a5d027675dfc6d9bb"
|
|
116
116
|
}
|
|
@@ -171,9 +171,10 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
|
171
171
|
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
172
172
|
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
173
173
|
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
174
|
-
} & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps, "placement"> & {
|
|
174
|
+
} & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps, "placement" | "dateShortcuts"> & {
|
|
175
175
|
placement?: import("@salutejs/plasma-new-hope/styled-components").DatePickerRangePlacement | Array<import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types.js").DatePickerRangePlacementBasic>;
|
|
176
176
|
isDoubleCalendar?: boolean;
|
|
177
|
+
dateShortcuts?: import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types.js").DateShortcutItem[];
|
|
177
178
|
} & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
178
179
|
appearance?: "default" | "clear";
|
|
179
180
|
hasClearDivider?: boolean;
|
|
@@ -5,6 +5,9 @@ export declare const config: {
|
|
|
5
5
|
size: string;
|
|
6
6
|
};
|
|
7
7
|
variations: {
|
|
8
|
+
size: {
|
|
9
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
10
|
+
};
|
|
8
11
|
view: {
|
|
9
12
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
10
13
|
/**
|
|
@@ -14,9 +17,6 @@ export declare const config: {
|
|
|
14
17
|
primary: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
15
18
|
negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
16
19
|
};
|
|
17
|
-
size: {
|
|
18
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
19
|
-
};
|
|
20
20
|
hintView: {
|
|
21
21
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
22
22
|
};
|
|
@@ -24,6 +24,9 @@ export declare const config: {
|
|
|
24
24
|
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
25
25
|
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
26
26
|
};
|
|
27
|
+
clear: {
|
|
28
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
29
|
+
};
|
|
27
30
|
disabled: {
|
|
28
31
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
29
32
|
};
|