@salutejs/sdds-cs 0.322.0-canary.2071.16161234000.0 → 0.322.0-canary.2072.16118137593.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Combobox/Combobox.config.js +10 -16
- package/components/Divider/Divider.config.js +4 -4
- package/components/Select/Select.config.js +14 -19
- package/components/TextArea/TextArea.d.ts +8 -0
- package/components/Tooltip/Tooltip.config.d.ts +0 -1
- package/components/Tooltip/Tooltip.config.js +6 -20
- package/emotion/cjs/components/Combobox/Combobox.config.js +10 -16
- package/emotion/cjs/components/Divider/Divider.config.js +4 -4
- package/emotion/cjs/components/Select/Select.config.js +14 -19
- package/emotion/cjs/components/Tooltip/Tooltip.config.js +6 -20
- package/emotion/es/components/Combobox/Combobox.config.js +10 -16
- package/emotion/es/components/Divider/Divider.config.js +4 -4
- package/emotion/es/components/Select/Select.config.js +14 -19
- package/emotion/es/components/Tooltip/Tooltip.config.js +6 -20
- package/es/components/Combobox/Combobox.config.js +10 -16
- package/es/components/Divider/Divider.config.js +4 -4
- package/es/components/Select/Select.config.js +14 -19
- package/es/components/Tooltip/Tooltip.config.js +6 -20
- package/package.json +4 -4
@@ -9,6 +9,7 @@ Object.defineProperty(exports, "config", {
|
|
9
9
|
}
|
10
10
|
});
|
11
11
|
var _emotion = require("@salutejs/plasma-new-hope/emotion");
|
12
|
+
var _plasmanewhope = require("@salutejs/plasma-new-hope");
|
12
13
|
function _tagged_template_literal(strings, raw) {
|
13
14
|
if (!raw) {
|
14
15
|
raw = strings.slice(0);
|
@@ -50,12 +51,7 @@ function _templateObject() {
|
|
50
51
|
": var(--text-secondary);\n\n ",
|
51
52
|
": var(--outline-solid-primary);\n ",
|
52
53
|
": var(--text-primary);\n\n ",
|
53
|
-
": var(--surface-solid-primary);\n
|
54
|
-
": var(--text-accent);\n\n ",
|
55
|
-
": var(--text-accent);\n ",
|
56
|
-
": var(--on-dark-text-primary);\n ",
|
57
|
-
": none;\n ",
|
58
|
-
": var(--outline-accent);\n "
|
54
|
+
": var(--surface-solid-primary);\n "
|
59
55
|
]);
|
60
56
|
_templateObject = function _templateObject() {
|
61
57
|
return data;
|
@@ -93,12 +89,7 @@ function _templateObject1() {
|
|
93
89
|
": var(--text-secondary);\n\n ",
|
94
90
|
": var(--outline-solid-primary);\n ",
|
95
91
|
": var(--text-accent);\n\n ",
|
96
|
-
": var(--surface-solid-primary);\n
|
97
|
-
": var(--text-accent);\n\n ",
|
98
|
-
": var(--text-accent);\n ",
|
99
|
-
": var(--on-dark-text-primary);\n ",
|
100
|
-
": none;\n ",
|
101
|
-
": var(--outline-accent);\n "
|
92
|
+
": var(--surface-solid-primary);\n "
|
102
93
|
]);
|
103
94
|
_templateObject1 = function _templateObject() {
|
104
95
|
return data;
|
@@ -197,6 +188,10 @@ function _templateObject2() {
|
|
197
188
|
": 0.875rem;\n ",
|
198
189
|
": 0.375rem;\n ",
|
199
190
|
": 0.25rem;\n ",
|
191
|
+
": var(--text-primary);\n ",
|
192
|
+
": var(--on-dark-text-primary);\n ",
|
193
|
+
": var(--outline-accent);\n ",
|
194
|
+
": transparent;\n ",
|
200
195
|
": 0.125rem;\n\n ",
|
201
196
|
": 0.375rem;\n\n ",
|
202
197
|
": 0.375rem;\n ",
|
@@ -292,24 +287,24 @@ var config = {
|
|
292
287
|
},
|
293
288
|
variations: {
|
294
289
|
view: {
|
295
|
-
default: (0, _emotion.css)(_templateObject(), _emotion.selectTokens.textFieldColor, _emotion.selectTokens.textFieldPlaceholderColor, _emotion.selectTokens.textFieldBackgroundColor, _emotion.selectTokens.textFieldBackgroundColorFocus, _emotion.selectTokens.textFieldLabelColor, _emotion.selectTokens.textFieldLeftHelperColor, _emotion.selectTokens.textFieldContentSlotColor, _emotion.selectTokens.textFieldBorderColor, _emotion.selectTokens.textFieldBorderColorHover, _emotion.selectTokens.textFieldBorderColorFocus,
|
296
|
-
negative: (0, _emotion.css)(_templateObject1(), _emotion.selectTokens.textFieldColor, _emotion.selectTokens.textFieldPlaceholderColor, _emotion.selectTokens.textFieldBackgroundColor, _emotion.selectTokens.textFieldBackgroundColorFocus, _emotion.selectTokens.textFieldLabelColor, _emotion.selectTokens.textFieldLeftHelperColor, _emotion.selectTokens.textFieldContentSlotColor, _emotion.selectTokens.textFieldBorderColor, _emotion.selectTokens.textFieldBorderColorHover, _emotion.selectTokens.textFieldBorderColorFocus,
|
290
|
+
default: (0, _emotion.css)(_templateObject(), _emotion.selectTokens.textFieldColor, _emotion.selectTokens.textFieldPlaceholderColor, _emotion.selectTokens.textFieldBackgroundColor, _emotion.selectTokens.textFieldBackgroundColorFocus, _emotion.selectTokens.textFieldLabelColor, _emotion.selectTokens.textFieldLeftHelperColor, _emotion.selectTokens.textFieldContentSlotColor, _emotion.selectTokens.textFieldBorderColor, _emotion.selectTokens.textFieldBorderColorHover, _emotion.selectTokens.textFieldBorderColorFocus, _plasmanewhope.selectTokens.textFieldIndicatorColor, _plasmanewhope.selectTokens.textFieldOptionalColor, _emotion.selectTokens.buttonColor, _emotion.selectTokens.buttonColorHover, _emotion.selectTokens.buttonColorActive, _emotion.selectTokens.buttonArrowColor, _emotion.selectTokens.buttonArrowColorHover, _emotion.selectTokens.buttonArrowColorActive, _emotion.selectTokens.buttonBackgroundColor, _emotion.selectTokens.buttonBackgroundColorHover, _emotion.selectTokens.buttonBackgroundColorActive, _emotion.selectTokens.disclosureIconColor, _emotion.selectTokens.disclosureIconColorHover, _emotion.selectTokens.itemBackgroundHover, _emotion.selectTokens.itemDisabledOpacity, _emotion.selectTokens.itemDisabledColor, _emotion.selectTokens.dropdownBorderColor, _emotion.selectTokens.checkboxIconColor, _plasmanewhope.selectTokens.dividerColor),
|
291
|
+
negative: (0, _emotion.css)(_templateObject1(), _emotion.selectTokens.textFieldColor, _emotion.selectTokens.textFieldPlaceholderColor, _emotion.selectTokens.textFieldBackgroundColor, _emotion.selectTokens.textFieldBackgroundColorFocus, _emotion.selectTokens.textFieldLabelColor, _emotion.selectTokens.textFieldLeftHelperColor, _emotion.selectTokens.textFieldContentSlotColor, _emotion.selectTokens.textFieldBorderColor, _emotion.selectTokens.textFieldBorderColorHover, _emotion.selectTokens.textFieldBorderColorFocus, _plasmanewhope.selectTokens.textFieldIndicatorColor, _plasmanewhope.selectTokens.textFieldOptionalColor, _emotion.selectTokens.buttonColor, _emotion.selectTokens.buttonColorHover, _emotion.selectTokens.buttonColorActive, _emotion.selectTokens.buttonArrowColor, _emotion.selectTokens.buttonArrowColorHover, _emotion.selectTokens.buttonArrowColorActive, _emotion.selectTokens.buttonBackgroundColor, _emotion.selectTokens.buttonBackgroundColorHover, _emotion.selectTokens.buttonBackgroundColorActive, _emotion.selectTokens.disclosureIconColor, _emotion.selectTokens.disclosureIconColorHover, _emotion.selectTokens.itemBackgroundHover, _emotion.selectTokens.itemDisabledOpacity, _emotion.selectTokens.itemDisabledColor, _emotion.selectTokens.dropdownBorderColor, _emotion.selectTokens.checkboxIconColor, _plasmanewhope.selectTokens.dividerColor)
|
297
292
|
},
|
298
293
|
size: {
|
299
|
-
s: (0, _emotion.css)(_templateObject2(),
|
294
|
+
s: (0, _emotion.css)(_templateObject2(), _plasmanewhope.selectTokens.textFieldHeight, _plasmanewhope.selectTokens.textFieldPadding, _plasmanewhope.selectTokens.textFieldPaddingWithChips, _plasmanewhope.selectTokens.textFieldBorderRadius, _plasmanewhope.selectTokens.textFieldBorderWidth, _plasmanewhope.selectTokens.textFieldLeftContentMargin, _plasmanewhope.selectTokens.textFieldRightContentMargin, _plasmanewhope.selectTokens.textFieldTextBeforeMargin, _plasmanewhope.selectTokens.textFieldTextAfterMargin, _plasmanewhope.selectTokens.textFieldFontFamily, _plasmanewhope.selectTokens.textFieldFontSize, _plasmanewhope.selectTokens.textFieldFontStyle, _plasmanewhope.selectTokens.textFieldFontWeight, _plasmanewhope.selectTokens.textFieldLetterSpacing, _plasmanewhope.selectTokens.textFieldLineHeight, _plasmanewhope.selectTokens.textFieldLabelOffset, _plasmanewhope.selectTokens.textFieldLabelFontFamily, _plasmanewhope.selectTokens.textFieldLabelFontSize, _plasmanewhope.selectTokens.textFieldLabelFontStyle, _plasmanewhope.selectTokens.textFieldLabelFontWeight, _plasmanewhope.selectTokens.textFieldLabelLetterSpacing, _plasmanewhope.selectTokens.textFieldLabelLineHeight, _plasmanewhope.selectTokens.textFieldLeftHelperOffset, _plasmanewhope.selectTokens.textFieldLeftHelperFontFamily, _plasmanewhope.selectTokens.textFieldLeftHelperFontSize, _plasmanewhope.selectTokens.textFieldLeftHelperFontStyle, _plasmanewhope.selectTokens.textFieldLeftHelperFontWeight, _plasmanewhope.selectTokens.textFieldLeftHelperLetterSpacing, _plasmanewhope.selectTokens.textFieldLeftHelperLineHeight, _plasmanewhope.selectTokens.textFieldLabelInnerPadding, _plasmanewhope.selectTokens.textFieldContentLabelInnerPadding, _plasmanewhope.selectTokens.textFieldIndicatorSizeInner, _plasmanewhope.selectTokens.textFieldIndicatorSizeOuter, _plasmanewhope.selectTokens.textFieldIndicatorLabelPlacementInner, _plasmanewhope.selectTokens.textFieldIndicatorLabelPlacementOuter, _plasmanewhope.selectTokens.textFieldIndicatorLabelPlacementInnerRight, _plasmanewhope.selectTokens.textFieldIndicatorLabelPlacementOuterRight, _plasmanewhope.selectTokens.textFieldClearIndicatorLabelPlacementInner, _plasmanewhope.selectTokens.textFieldClearIndicatorLabelPlacementInnerRight, _plasmanewhope.selectTokens.textFieldClearIndicatorHintInnerRight, _plasmanewhope.selectTokens.textFieldChipGap, _plasmanewhope.selectTokens.textFieldChipBorderRadius, _plasmanewhope.selectTokens.textFieldChipWidth, _plasmanewhope.selectTokens.textFieldChipHeight, _plasmanewhope.selectTokens.textFieldChipPadding, _plasmanewhope.selectTokens.textFieldChipClearContentMarginLeft, _plasmanewhope.selectTokens.textFieldChipClearContentMarginRight, _plasmanewhope.selectTokens.textFieldChipCloseIconSize, _plasmanewhope.selectTokens.textFieldChipFontFamily, _plasmanewhope.selectTokens.textFieldChipFontSize, _plasmanewhope.selectTokens.textFieldChipFontStyle, _plasmanewhope.selectTokens.textFieldChipFontWeight, _plasmanewhope.selectTokens.textFieldChipLetterSpacing, _plasmanewhope.selectTokens.textFieldChipLineHeight, _plasmanewhope.selectTokens.buttonArrowMargin, _plasmanewhope.selectTokens.targetHeight, _plasmanewhope.selectTokens.buttonPadding, _plasmanewhope.selectTokens.padding, _plasmanewhope.selectTokens.borderRadius, _plasmanewhope.selectTokens.dropdownBorderWidth, _plasmanewhope.selectTokens.itemHeight, _plasmanewhope.selectTokens.itemPadding, _plasmanewhope.selectTokens.itemPaddingTight, _plasmanewhope.selectTokens.itemBorderRadius, _plasmanewhope.selectTokens.itemIconSize, _plasmanewhope.selectTokens.itemIconSizeTight, _plasmanewhope.selectTokens.itemIconMargin, _plasmanewhope.selectTokens.cellPadding, _plasmanewhope.selectTokens.cellPaddingLeftContent, _plasmanewhope.selectTokens.cellPaddingContent, _plasmanewhope.selectTokens.cellPaddingRightContent, _plasmanewhope.selectTokens.cellTextboxGap, _plasmanewhope.selectTokens.cellGap, _plasmanewhope.selectTokens.cellTitleFontFamily, _plasmanewhope.selectTokens.cellTitleFontSize, _plasmanewhope.selectTokens.cellTitleFontStyle, _plasmanewhope.selectTokens.cellTitleFontWeight, _plasmanewhope.selectTokens.cellTitleLetterSpacing, _plasmanewhope.selectTokens.cellTitleLineHeight, _plasmanewhope.selectTokens.fontFamily, _plasmanewhope.selectTokens.fontSize, _plasmanewhope.selectTokens.fontStyle, _plasmanewhope.selectTokens.fontWeight, _plasmanewhope.selectTokens.fontLetterSpacing, _plasmanewhope.selectTokens.fontLineHeight, _plasmanewhope.selectTokens.checkboxTriggerSize, _plasmanewhope.selectTokens.checkboxTriggerSizeTight, _plasmanewhope.selectTokens.checkboxTriggerBorderRadius, _plasmanewhope.selectTokens.checkboxTriggerBorderRadiusTight, _plasmanewhope.selectTokens.checkboxFillColor, _plasmanewhope.selectTokens.checkboxIconColor, _plasmanewhope.selectTokens.checkboxTriggerBorderColor, _plasmanewhope.selectTokens.checkboxTriggerBorderCheckedColor, _plasmanewhope.selectTokens.checkboxTriggerBorderWidth, _plasmanewhope.selectTokens.indicatorSize, _plasmanewhope.selectTokens.dividerMarginTop, _plasmanewhope.selectTokens.dividerMarginRight, _plasmanewhope.selectTokens.dividerMarginBottom, _plasmanewhope.selectTokens.dividerMarginLeft, _plasmanewhope.selectTokens.dividerMarginTopTight, _plasmanewhope.selectTokens.dividerMarginBottomTight)
|
300
295
|
},
|
301
296
|
labelPlacement: {
|
302
|
-
inner: (0, _emotion.css)(_templateObject3(),
|
297
|
+
inner: (0, _emotion.css)(_templateObject3(), _plasmanewhope.selectTokens.textFieldPlaceholderColor, _plasmanewhope.selectTokens.textFieldLabelInnerFontFamily, _plasmanewhope.selectTokens.textFieldLabelInnerFontSize, _plasmanewhope.selectTokens.textFieldLabelInnerFontStyle, _plasmanewhope.selectTokens.textFieldLabelInnerFontWeight, _plasmanewhope.selectTokens.textFieldLabelInnerLetterSpacing, _plasmanewhope.selectTokens.textFieldLabelInnerLineHeight),
|
303
298
|
outer: (0, _emotion.css)(_templateObject4())
|
304
299
|
},
|
305
300
|
chipView: {
|
306
|
-
default: (0, _emotion.css)(_templateObject5(),
|
301
|
+
default: (0, _emotion.css)(_templateObject5(), _plasmanewhope.selectTokens.textFieldChipColor, _plasmanewhope.selectTokens.textFieldChipBackground, _plasmanewhope.selectTokens.textFieldChipBackgroundHover, _plasmanewhope.selectTokens.textFieldChipCloseIconColor, _plasmanewhope.selectTokens.textFieldChipOpacityReadonly)
|
307
302
|
},
|
308
303
|
disabled: {
|
309
|
-
true: (0, _emotion.css)(_templateObject6(),
|
304
|
+
true: (0, _emotion.css)(_templateObject6(), _plasmanewhope.selectTokens.textFieldDisabledOpacity, _plasmanewhope.selectTokens.textFieldBackgroundColor, _plasmanewhope.selectTokens.textFieldBackgroundColorFocus, _plasmanewhope.selectTokens.textFieldBorderColor, _plasmanewhope.selectTokens.textFieldBorderColorHover, _plasmanewhope.selectTokens.textFieldBorderColorFocus, _plasmanewhope.selectTokens.textFieldColor)
|
310
305
|
},
|
311
306
|
readOnly: {
|
312
|
-
true: (0, _emotion.css)(_templateObject7(),
|
307
|
+
true: (0, _emotion.css)(_templateObject7(), _plasmanewhope.selectTokens.disclosureIconOpacityReadOnly, _plasmanewhope.selectTokens.textFieldColorReadOnly, _plasmanewhope.selectTokens.textFieldBackgroundColorReadOnly, _plasmanewhope.selectTokens.textFieldPlaceholderColorReadOnly, _plasmanewhope.selectTokens.textFieldLeftHelperColorReadOnly, _plasmanewhope.selectTokens.textFieldTitleCaptionColorReadOnly, _plasmanewhope.selectTokens.textFieldLabelColorReadOnly, _plasmanewhope.selectTokens.textFieldDividerColorReadOnly)
|
313
308
|
}
|
314
309
|
}
|
315
310
|
};
|
@@ -39,7 +39,8 @@ function _templateObject() {
|
|
39
39
|
": 1rem;\n ",
|
40
40
|
': url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");\n ',
|
41
41
|
": 0.375rem;\n ",
|
42
|
-
": 0.5625rem;\n
|
42
|
+
": 0.5625rem;\n ",
|
43
|
+
": var(--surface-solid-card-brightness);\n "
|
43
44
|
]);
|
44
45
|
_templateObject = function _templateObject() {
|
45
46
|
return data;
|
@@ -49,29 +50,15 @@ function _templateObject() {
|
|
49
50
|
function _templateObject1() {
|
50
51
|
var data = _tagged_template_literal([
|
51
52
|
"\n ",
|
52
|
-
": var(--
|
53
|
-
": var(--inverse-surface-solid-card);\n ",
|
53
|
+
": var(--surface-solid-card-brightness);\n ",
|
54
54
|
": 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);\n ",
|
55
|
-
": var(--
|
55
|
+
": var(--text-primary);\n "
|
56
56
|
]);
|
57
57
|
_templateObject1 = function _templateObject() {
|
58
58
|
return data;
|
59
59
|
};
|
60
60
|
return data;
|
61
61
|
}
|
62
|
-
function _templateObject2() {
|
63
|
-
var data = _tagged_template_literal([
|
64
|
-
"\n ",
|
65
|
-
": var(--on-dark-surface-solid-secondary);\n ",
|
66
|
-
": var(--on-dark-surface-solid-secondary);\n ",
|
67
|
-
": 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);\n ",
|
68
|
-
": var(--inverse-text-primary);\n "
|
69
|
-
]);
|
70
|
-
_templateObject2 = function _templateObject() {
|
71
|
-
return data;
|
72
|
-
};
|
73
|
-
return data;
|
74
|
-
}
|
75
62
|
var config = {
|
76
63
|
defaults: {
|
77
64
|
view: 'default',
|
@@ -79,12 +66,11 @@ var config = {
|
|
79
66
|
},
|
80
67
|
variations: {
|
81
68
|
size: {
|
82
|
-
s: (0, _emotion.css)(_templateObject(), _emotion.tooltipTokens.paddingTop, _emotion.tooltipTokens.paddingRight, _emotion.tooltipTokens.paddingBottom, _emotion.tooltipTokens.paddingLeft, _emotion.tooltipTokens.minHeight, _emotion.tooltipTokens.borderRadius, _emotion.tooltipTokens.textFontFamily, _emotion.tooltipTokens.textFontSize, _emotion.tooltipTokens.textFontStyle, _emotion.tooltipTokens.textFontWeight, _emotion.tooltipTokens.textFontLetterSpacing, _emotion.tooltipTokens.textFontLineHeight, _emotion.tooltipTokens.contentLeftMargin, _emotion.tooltipTokens.arrowMaskWidth, _emotion.tooltipTokens.arrowMaskHeight, _emotion.tooltipTokens.arrowMaskImage, _emotion.tooltipTokens.arrowHeight, _emotion.tooltipTokens.arrowEdgeMargin)
|
69
|
+
s: (0, _emotion.css)(_templateObject(), _emotion.tooltipTokens.paddingTop, _emotion.tooltipTokens.paddingRight, _emotion.tooltipTokens.paddingBottom, _emotion.tooltipTokens.paddingLeft, _emotion.tooltipTokens.minHeight, _emotion.tooltipTokens.borderRadius, _emotion.tooltipTokens.textFontFamily, _emotion.tooltipTokens.textFontSize, _emotion.tooltipTokens.textFontStyle, _emotion.tooltipTokens.textFontWeight, _emotion.tooltipTokens.textFontLetterSpacing, _emotion.tooltipTokens.textFontLineHeight, _emotion.tooltipTokens.contentLeftMargin, _emotion.tooltipTokens.arrowMaskWidth, _emotion.tooltipTokens.arrowMaskHeight, _emotion.tooltipTokens.arrowMaskImage, _emotion.tooltipTokens.arrowHeight, _emotion.tooltipTokens.arrowEdgeMargin, _emotion.tooltipTokens.arrowBackground)
|
83
70
|
},
|
84
71
|
view: {
|
85
72
|
// TODO заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
|
86
|
-
default: (0, _emotion.css)(_templateObject1(), _emotion.tooltipTokens.backgroundColor, _emotion.tooltipTokens.
|
87
|
-
secondary: (0, _emotion.css)(_templateObject2(), _emotion.tooltipTokens.backgroundColor, _emotion.tooltipTokens.arrowBackground, _emotion.tooltipTokens.boxShadow, _emotion.tooltipTokens.color)
|
73
|
+
default: (0, _emotion.css)(_templateObject1(), _emotion.tooltipTokens.backgroundColor, _emotion.tooltipTokens.boxShadow, _emotion.tooltipTokens.color)
|
88
74
|
}
|
89
75
|
}
|
90
76
|
};
|
@@ -52,12 +52,7 @@ function _templateObject() {
|
|
52
52
|
": var(--text-accent);\n ",
|
53
53
|
": #1A9E32;\n ",
|
54
54
|
": var(--surface-transparent-accent);\n\n ",
|
55
|
-
": var(--surface-solid-primary);\n
|
56
|
-
": var(--text-accent);\n\n ",
|
57
|
-
": var(--text-accent);\n ",
|
58
|
-
": var(--on-dark-text-primary);\n ",
|
59
|
-
": none;\n ",
|
60
|
-
": var(--outline-accent);\n "
|
55
|
+
": var(--surface-solid-primary);\n "
|
61
56
|
]);
|
62
57
|
_templateObject = function _templateObject() {
|
63
58
|
return data;
|
@@ -108,12 +103,7 @@ function _templateObject1() {
|
|
108
103
|
": var(--text-accent);\n ",
|
109
104
|
": #1A9E32;\n ",
|
110
105
|
": var(--surface-transparent-accent);\n\n ",
|
111
|
-
": var(--surface-solid-primary);\n
|
112
|
-
": var(--text-accent);\n\n ",
|
113
|
-
": var(--text-accent);\n ",
|
114
|
-
": var(--on-dark-text-primary);\n ",
|
115
|
-
": none;\n ",
|
116
|
-
": var(--outline-accent);\n "
|
106
|
+
": var(--surface-solid-primary);\n "
|
117
107
|
]);
|
118
108
|
_templateObject1 = function _templateObject() {
|
119
109
|
return data;
|
@@ -209,7 +199,11 @@ function _templateObject2() {
|
|
209
199
|
": 0.875rem;\n ",
|
210
200
|
": 0.375rem;\n ",
|
211
201
|
": 0.25rem;\n ",
|
212
|
-
":
|
202
|
+
": var(--text-accent);\n ",
|
203
|
+
": var(--on-dark-text-primary);\n ",
|
204
|
+
": none;\n ",
|
205
|
+
": 0.125rem;\n ",
|
206
|
+
": var(--outline-accent);\n\n ",
|
213
207
|
": 0.375rem;\n ",
|
214
208
|
": 0.0625rem;\n\n ",
|
215
209
|
": 0.375rem;\n ",
|
@@ -294,11 +288,11 @@ export var config = {
|
|
294
288
|
},
|
295
289
|
variations: {
|
296
290
|
view: {
|
297
|
-
default: css(_templateObject(), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor
|
298
|
-
negative: css(_templateObject1(), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor
|
291
|
+
default: css(_templateObject(), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor),
|
292
|
+
negative: css(_templateObject1(), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor)
|
299
293
|
},
|
300
294
|
size: {
|
301
|
-
s: css(_templateObject2(), tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPadding, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.itemIconMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxTriggerBorderWidth, tokens.indicatorSize, tokens.dropdownBorderWidth, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight)
|
295
|
+
s: css(_templateObject2(), tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPadding, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.itemIconMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderWidth, tokens.checkboxTriggerBorderColor, tokens.indicatorSize, tokens.dropdownBorderWidth, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight)
|
302
296
|
},
|
303
297
|
labelPlacement: {
|
304
298
|
inner: css(_templateObject3(), tokens.textFieldPlaceholderColor, tokens.textFieldLabelInnerFontFamily, tokens.textFieldLabelInnerFontSize, tokens.textFieldLabelInnerFontStyle, tokens.textFieldLabelInnerFontWeight, tokens.textFieldLabelInnerLetterSpacing, tokens.textFieldLabelInnerLineHeight),
|
@@ -11,7 +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-solid-
|
14
|
+
": var(--surface-solid-primary);\n "
|
15
15
|
]);
|
16
16
|
_templateObject = function _templateObject() {
|
17
17
|
return data;
|
@@ -21,7 +21,7 @@ function _templateObject() {
|
|
21
21
|
function _templateObject1() {
|
22
22
|
var data = _tagged_template_literal([
|
23
23
|
"\n ",
|
24
|
-
": var(--on-dark-surface-solid-
|
24
|
+
": var(--on-dark-surface-solid-primary);\n "
|
25
25
|
]);
|
26
26
|
_templateObject1 = function _templateObject() {
|
27
27
|
return data;
|
@@ -31,7 +31,7 @@ function _templateObject1() {
|
|
31
31
|
function _templateObject2() {
|
32
32
|
var data = _tagged_template_literal([
|
33
33
|
"\n ",
|
34
|
-
": var(--on-light-surface-solid-
|
34
|
+
": var(--on-light-surface-solid-primary);\n "
|
35
35
|
]);
|
36
36
|
_templateObject2 = function _templateObject() {
|
37
37
|
return data;
|
@@ -41,7 +41,7 @@ function _templateObject2() {
|
|
41
41
|
function _templateObject3() {
|
42
42
|
var data = _tagged_template_literal([
|
43
43
|
"\n ",
|
44
|
-
": var(--inverse-surface-solid-
|
44
|
+
": var(--inverse-surface-solid-primary);\n "
|
45
45
|
]);
|
46
46
|
_templateObject3 = function _templateObject() {
|
47
47
|
return data;
|
@@ -39,12 +39,7 @@ function _templateObject() {
|
|
39
39
|
": var(--text-secondary);\n\n ",
|
40
40
|
": var(--outline-solid-primary);\n ",
|
41
41
|
": var(--text-primary);\n\n ",
|
42
|
-
": var(--surface-solid-primary);\n
|
43
|
-
": var(--text-accent);\n\n ",
|
44
|
-
": var(--text-accent);\n ",
|
45
|
-
": var(--on-dark-text-primary);\n ",
|
46
|
-
": none;\n ",
|
47
|
-
": var(--outline-accent);\n "
|
42
|
+
": var(--surface-solid-primary);\n "
|
48
43
|
]);
|
49
44
|
_templateObject = function _templateObject() {
|
50
45
|
return data;
|
@@ -82,12 +77,7 @@ function _templateObject1() {
|
|
82
77
|
": var(--text-secondary);\n\n ",
|
83
78
|
": var(--outline-solid-primary);\n ",
|
84
79
|
": var(--text-accent);\n\n ",
|
85
|
-
": var(--surface-solid-primary);\n
|
86
|
-
": var(--text-accent);\n\n ",
|
87
|
-
": var(--text-accent);\n ",
|
88
|
-
": var(--on-dark-text-primary);\n ",
|
89
|
-
": none;\n ",
|
90
|
-
": var(--outline-accent);\n "
|
80
|
+
": var(--surface-solid-primary);\n "
|
91
81
|
]);
|
92
82
|
_templateObject1 = function _templateObject() {
|
93
83
|
return data;
|
@@ -186,6 +176,10 @@ function _templateObject2() {
|
|
186
176
|
": 0.875rem;\n ",
|
187
177
|
": 0.375rem;\n ",
|
188
178
|
": 0.25rem;\n ",
|
179
|
+
": var(--text-primary);\n ",
|
180
|
+
": var(--on-dark-text-primary);\n ",
|
181
|
+
": var(--outline-accent);\n ",
|
182
|
+
": transparent;\n ",
|
189
183
|
": 0.125rem;\n\n ",
|
190
184
|
": 0.375rem;\n\n ",
|
191
185
|
": 0.375rem;\n ",
|
@@ -273,6 +267,7 @@ function _templateObject7() {
|
|
273
267
|
return data;
|
274
268
|
}
|
275
269
|
import { css, selectTokens } from '@salutejs/plasma-new-hope/emotion';
|
270
|
+
import { selectTokens as tokens } from '@salutejs/plasma-new-hope';
|
276
271
|
export var config = {
|
277
272
|
defaults: {
|
278
273
|
view: 'default',
|
@@ -282,24 +277,24 @@ export var config = {
|
|
282
277
|
},
|
283
278
|
variations: {
|
284
279
|
view: {
|
285
|
-
default: css(_templateObject(), selectTokens.textFieldColor, selectTokens.textFieldPlaceholderColor, selectTokens.textFieldBackgroundColor, selectTokens.textFieldBackgroundColorFocus, selectTokens.textFieldLabelColor, selectTokens.textFieldLeftHelperColor, selectTokens.textFieldContentSlotColor, selectTokens.textFieldBorderColor, selectTokens.textFieldBorderColorHover, selectTokens.textFieldBorderColorFocus,
|
286
|
-
negative: css(_templateObject1(), selectTokens.textFieldColor, selectTokens.textFieldPlaceholderColor, selectTokens.textFieldBackgroundColor, selectTokens.textFieldBackgroundColorFocus, selectTokens.textFieldLabelColor, selectTokens.textFieldLeftHelperColor, selectTokens.textFieldContentSlotColor, selectTokens.textFieldBorderColor, selectTokens.textFieldBorderColorHover, selectTokens.textFieldBorderColorFocus,
|
280
|
+
default: css(_templateObject(), selectTokens.textFieldColor, selectTokens.textFieldPlaceholderColor, selectTokens.textFieldBackgroundColor, selectTokens.textFieldBackgroundColorFocus, selectTokens.textFieldLabelColor, selectTokens.textFieldLeftHelperColor, selectTokens.textFieldContentSlotColor, selectTokens.textFieldBorderColor, selectTokens.textFieldBorderColorHover, selectTokens.textFieldBorderColorFocus, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, selectTokens.buttonColor, selectTokens.buttonColorHover, selectTokens.buttonColorActive, selectTokens.buttonArrowColor, selectTokens.buttonArrowColorHover, selectTokens.buttonArrowColorActive, selectTokens.buttonBackgroundColor, selectTokens.buttonBackgroundColorHover, selectTokens.buttonBackgroundColorActive, selectTokens.disclosureIconColor, selectTokens.disclosureIconColorHover, selectTokens.itemBackgroundHover, selectTokens.itemDisabledOpacity, selectTokens.itemDisabledColor, selectTokens.dropdownBorderColor, selectTokens.checkboxIconColor, tokens.dividerColor),
|
281
|
+
negative: css(_templateObject1(), selectTokens.textFieldColor, selectTokens.textFieldPlaceholderColor, selectTokens.textFieldBackgroundColor, selectTokens.textFieldBackgroundColorFocus, selectTokens.textFieldLabelColor, selectTokens.textFieldLeftHelperColor, selectTokens.textFieldContentSlotColor, selectTokens.textFieldBorderColor, selectTokens.textFieldBorderColorHover, selectTokens.textFieldBorderColorFocus, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, selectTokens.buttonColor, selectTokens.buttonColorHover, selectTokens.buttonColorActive, selectTokens.buttonArrowColor, selectTokens.buttonArrowColorHover, selectTokens.buttonArrowColorActive, selectTokens.buttonBackgroundColor, selectTokens.buttonBackgroundColorHover, selectTokens.buttonBackgroundColorActive, selectTokens.disclosureIconColor, selectTokens.disclosureIconColorHover, selectTokens.itemBackgroundHover, selectTokens.itemDisabledOpacity, selectTokens.itemDisabledColor, selectTokens.dropdownBorderColor, selectTokens.checkboxIconColor, tokens.dividerColor)
|
287
282
|
},
|
288
283
|
size: {
|
289
|
-
s: css(_templateObject2(),
|
284
|
+
s: css(_templateObject2(), tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPadding, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.buttonArrowMargin, tokens.targetHeight, tokens.buttonPadding, tokens.padding, tokens.borderRadius, tokens.dropdownBorderWidth, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.itemIconMargin, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderWidth, tokens.indicatorSize, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight)
|
290
285
|
},
|
291
286
|
labelPlacement: {
|
292
|
-
inner: css(_templateObject3(),
|
287
|
+
inner: css(_templateObject3(), tokens.textFieldPlaceholderColor, tokens.textFieldLabelInnerFontFamily, tokens.textFieldLabelInnerFontSize, tokens.textFieldLabelInnerFontStyle, tokens.textFieldLabelInnerFontWeight, tokens.textFieldLabelInnerLetterSpacing, tokens.textFieldLabelInnerLineHeight),
|
293
288
|
outer: css(_templateObject4())
|
294
289
|
},
|
295
290
|
chipView: {
|
296
|
-
default: css(_templateObject5(),
|
291
|
+
default: css(_templateObject5(), tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipOpacityReadonly)
|
297
292
|
},
|
298
293
|
disabled: {
|
299
|
-
true: css(_templateObject6(),
|
294
|
+
true: css(_templateObject6(), tokens.textFieldDisabledOpacity, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldColor)
|
300
295
|
},
|
301
296
|
readOnly: {
|
302
|
-
true: css(_templateObject7(),
|
297
|
+
true: css(_templateObject7(), tokens.disclosureIconOpacityReadOnly, tokens.textFieldColorReadOnly, tokens.textFieldBackgroundColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, tokens.textFieldLeftHelperColorReadOnly, tokens.textFieldTitleCaptionColorReadOnly, tokens.textFieldLabelColorReadOnly, tokens.textFieldDividerColorReadOnly)
|
303
298
|
}
|
304
299
|
}
|
305
300
|
};
|
@@ -28,7 +28,8 @@ function _templateObject() {
|
|
28
28
|
": 1rem;\n ",
|
29
29
|
': url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");\n ',
|
30
30
|
": 0.375rem;\n ",
|
31
|
-
": 0.5625rem;\n
|
31
|
+
": 0.5625rem;\n ",
|
32
|
+
": var(--surface-solid-card-brightness);\n "
|
32
33
|
]);
|
33
34
|
_templateObject = function _templateObject() {
|
34
35
|
return data;
|
@@ -38,29 +39,15 @@ function _templateObject() {
|
|
38
39
|
function _templateObject1() {
|
39
40
|
var data = _tagged_template_literal([
|
40
41
|
"\n ",
|
41
|
-
": var(--
|
42
|
-
": var(--inverse-surface-solid-card);\n ",
|
42
|
+
": var(--surface-solid-card-brightness);\n ",
|
43
43
|
": 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);\n ",
|
44
|
-
": var(--
|
44
|
+
": var(--text-primary);\n "
|
45
45
|
]);
|
46
46
|
_templateObject1 = function _templateObject() {
|
47
47
|
return data;
|
48
48
|
};
|
49
49
|
return data;
|
50
50
|
}
|
51
|
-
function _templateObject2() {
|
52
|
-
var data = _tagged_template_literal([
|
53
|
-
"\n ",
|
54
|
-
": var(--on-dark-surface-solid-secondary);\n ",
|
55
|
-
": var(--on-dark-surface-solid-secondary);\n ",
|
56
|
-
": 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);\n ",
|
57
|
-
": var(--inverse-text-primary);\n "
|
58
|
-
]);
|
59
|
-
_templateObject2 = function _templateObject() {
|
60
|
-
return data;
|
61
|
-
};
|
62
|
-
return data;
|
63
|
-
}
|
64
51
|
import { css, tooltipTokens } from '@salutejs/plasma-new-hope/emotion';
|
65
52
|
export var config = {
|
66
53
|
defaults: {
|
@@ -69,12 +56,11 @@ export var config = {
|
|
69
56
|
},
|
70
57
|
variations: {
|
71
58
|
size: {
|
72
|
-
s: css(_templateObject(), tooltipTokens.paddingTop, tooltipTokens.paddingRight, tooltipTokens.paddingBottom, tooltipTokens.paddingLeft, tooltipTokens.minHeight, tooltipTokens.borderRadius, tooltipTokens.textFontFamily, tooltipTokens.textFontSize, tooltipTokens.textFontStyle, tooltipTokens.textFontWeight, tooltipTokens.textFontLetterSpacing, tooltipTokens.textFontLineHeight, tooltipTokens.contentLeftMargin, tooltipTokens.arrowMaskWidth, tooltipTokens.arrowMaskHeight, tooltipTokens.arrowMaskImage, tooltipTokens.arrowHeight, tooltipTokens.arrowEdgeMargin)
|
59
|
+
s: css(_templateObject(), tooltipTokens.paddingTop, tooltipTokens.paddingRight, tooltipTokens.paddingBottom, tooltipTokens.paddingLeft, tooltipTokens.minHeight, tooltipTokens.borderRadius, tooltipTokens.textFontFamily, tooltipTokens.textFontSize, tooltipTokens.textFontStyle, tooltipTokens.textFontWeight, tooltipTokens.textFontLetterSpacing, tooltipTokens.textFontLineHeight, tooltipTokens.contentLeftMargin, tooltipTokens.arrowMaskWidth, tooltipTokens.arrowMaskHeight, tooltipTokens.arrowMaskImage, tooltipTokens.arrowHeight, tooltipTokens.arrowEdgeMargin, tooltipTokens.arrowBackground)
|
73
60
|
},
|
74
61
|
view: {
|
75
62
|
// TODO заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
|
76
|
-
default: css(_templateObject1(), tooltipTokens.backgroundColor, tooltipTokens.
|
77
|
-
secondary: css(_templateObject2(), tooltipTokens.backgroundColor, tooltipTokens.arrowBackground, tooltipTokens.boxShadow, tooltipTokens.color)
|
63
|
+
default: css(_templateObject1(), tooltipTokens.backgroundColor, tooltipTokens.boxShadow, tooltipTokens.color)
|
78
64
|
}
|
79
65
|
}
|
80
66
|
};
|
@@ -52,12 +52,7 @@ function _templateObject() {
|
|
52
52
|
": var(--text-accent);\n ",
|
53
53
|
": #1A9E32;\n ",
|
54
54
|
": var(--surface-transparent-accent);\n\n ",
|
55
|
-
": var(--surface-solid-primary);\n
|
56
|
-
": var(--text-accent);\n\n ",
|
57
|
-
": var(--text-accent);\n ",
|
58
|
-
": var(--on-dark-text-primary);\n ",
|
59
|
-
": none;\n ",
|
60
|
-
": var(--outline-accent);\n "
|
55
|
+
": var(--surface-solid-primary);\n "
|
61
56
|
]);
|
62
57
|
_templateObject = function _templateObject() {
|
63
58
|
return data;
|
@@ -108,12 +103,7 @@ function _templateObject1() {
|
|
108
103
|
": var(--text-accent);\n ",
|
109
104
|
": #1A9E32;\n ",
|
110
105
|
": var(--surface-transparent-accent);\n\n ",
|
111
|
-
": var(--surface-solid-primary);\n
|
112
|
-
": var(--text-accent);\n\n ",
|
113
|
-
": var(--text-accent);\n ",
|
114
|
-
": var(--on-dark-text-primary);\n ",
|
115
|
-
": none;\n ",
|
116
|
-
": var(--outline-accent);\n "
|
106
|
+
": var(--surface-solid-primary);\n "
|
117
107
|
]);
|
118
108
|
_templateObject1 = function _templateObject() {
|
119
109
|
return data;
|
@@ -209,7 +199,11 @@ function _templateObject2() {
|
|
209
199
|
": 0.875rem;\n ",
|
210
200
|
": 0.375rem;\n ",
|
211
201
|
": 0.25rem;\n ",
|
212
|
-
":
|
202
|
+
": var(--text-accent);\n ",
|
203
|
+
": var(--on-dark-text-primary);\n ",
|
204
|
+
": none;\n ",
|
205
|
+
": 0.125rem;\n ",
|
206
|
+
": var(--outline-accent);\n\n ",
|
213
207
|
": 0.375rem;\n ",
|
214
208
|
": 0.0625rem;\n\n ",
|
215
209
|
": 0.375rem;\n ",
|
@@ -294,11 +288,11 @@ export var config = {
|
|
294
288
|
},
|
295
289
|
variations: {
|
296
290
|
view: {
|
297
|
-
default: css(_templateObject(), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor
|
298
|
-
negative: css(_templateObject1(), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor
|
291
|
+
default: css(_templateObject(), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor),
|
292
|
+
negative: css(_templateObject1(), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor)
|
299
293
|
},
|
300
294
|
size: {
|
301
|
-
s: css(_templateObject2(), tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPadding, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.itemIconMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxTriggerBorderWidth, tokens.indicatorSize, tokens.dropdownBorderWidth, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight)
|
295
|
+
s: css(_templateObject2(), tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPadding, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.itemIconMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderWidth, tokens.checkboxTriggerBorderColor, tokens.indicatorSize, tokens.dropdownBorderWidth, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight)
|
302
296
|
},
|
303
297
|
labelPlacement: {
|
304
298
|
inner: css(_templateObject3(), tokens.textFieldPlaceholderColor, tokens.textFieldLabelInnerFontFamily, tokens.textFieldLabelInnerFontSize, tokens.textFieldLabelInnerFontStyle, tokens.textFieldLabelInnerFontWeight, tokens.textFieldLabelInnerLetterSpacing, tokens.textFieldLabelInnerLineHeight),
|
@@ -11,7 +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-solid-
|
14
|
+
": var(--surface-solid-primary);\n "
|
15
15
|
]);
|
16
16
|
_templateObject = function _templateObject() {
|
17
17
|
return data;
|
@@ -21,7 +21,7 @@ function _templateObject() {
|
|
21
21
|
function _templateObject1() {
|
22
22
|
var data = _tagged_template_literal([
|
23
23
|
"\n ",
|
24
|
-
": var(--on-dark-surface-solid-
|
24
|
+
": var(--on-dark-surface-solid-primary);\n "
|
25
25
|
]);
|
26
26
|
_templateObject1 = function _templateObject() {
|
27
27
|
return data;
|
@@ -31,7 +31,7 @@ function _templateObject1() {
|
|
31
31
|
function _templateObject2() {
|
32
32
|
var data = _tagged_template_literal([
|
33
33
|
"\n ",
|
34
|
-
": var(--on-light-surface-solid-
|
34
|
+
": var(--on-light-surface-solid-primary);\n "
|
35
35
|
]);
|
36
36
|
_templateObject2 = function _templateObject() {
|
37
37
|
return data;
|
@@ -41,7 +41,7 @@ function _templateObject2() {
|
|
41
41
|
function _templateObject3() {
|
42
42
|
var data = _tagged_template_literal([
|
43
43
|
"\n ",
|
44
|
-
": var(--inverse-surface-solid-
|
44
|
+
": var(--inverse-surface-solid-primary);\n "
|
45
45
|
]);
|
46
46
|
_templateObject3 = function _templateObject() {
|
47
47
|
return data;
|