@salutejs/sdds-cs 0.319.1-canary.2049.15927116331.0 → 0.319.1-canary.2054.15968685472.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/Attach/Attach.d.ts +8 -8
- package/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/components/Button/Button.d.ts +4 -4
- package/components/Combobox/Combobox.config.js +10 -16
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/DatePicker/DatePicker.d.ts +3 -3
- package/components/Dropdown/Dropdown.d.ts +2 -2
- package/components/IconButton/IconButton.d.ts +2 -2
- package/components/Mask/Mask.d.ts +8 -11
- package/components/NumberInput/NumberInput.d.ts +2 -2
- package/components/Radiobox/Radiobox.d.ts +28 -2
- package/components/Select/Select.config.js +14 -19
- package/components/Select/Select.d.ts +6 -6
- package/components/TextField/TextField.d.ts +8 -8
- package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/emotion/cjs/components/Combobox/Combobox.config.js +10 -16
- package/emotion/cjs/components/Select/Select.config.js +14 -19
- package/emotion/cjs/index.js +0 -2
- package/emotion/es/components/Combobox/Combobox.config.js +10 -16
- package/emotion/es/components/Mask/Mask.js +1 -3
- package/emotion/es/components/Select/Select.config.js +14 -19
- package/emotion/es/index.js +0 -2
- package/es/components/Combobox/Combobox.config.js +10 -16
- package/es/components/Mask/Mask.js +1 -3
- package/es/components/Select/Select.config.js +14 -19
- package/es/index.js +0 -2
- package/index.d.ts +0 -2
- package/index.js +0 -2
- package/package.json +6 -6
- package/components/Tour/Tour.config.d.ts +0 -14
- package/components/Tour/Tour.config.js +0 -56
- package/components/Tour/Tour.d.ts +0 -8
- package/components/Tour/Tour.js +0 -14
- package/components/Tour/index.d.ts +0 -2
- package/components/Tour/index.js +0 -11
- package/emotion/cjs/components/Tour/Tour.config.js +0 -56
- package/emotion/cjs/components/Tour/Tour.js +0 -14
- package/emotion/cjs/components/Tour/index.js +0 -11
- package/emotion/es/components/Tour/Tour.config.js +0 -46
- package/emotion/es/components/Tour/Tour.js +0 -4
- package/emotion/es/components/Tour/index.js +0 -1
- package/es/components/Tour/Tour.config.js +0 -46
- package/es/components/Tour/Tour.js +0 -4
- package/es/components/Tour/index.js +0 -1
@@ -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
|
};
|
package/emotion/cjs/index.js
CHANGED
@@ -67,8 +67,6 @@ _export_star(require("./components/NumberFormat"), exports);
|
|
67
67
|
_export_star(require("./components/Table"), exports);
|
68
68
|
_export_star(require("./components/ToastNew"), exports);
|
69
69
|
_export_star(require("./components/Carousel"), exports);
|
70
|
-
_export_star(require("./components/Tour"), exports);
|
71
|
-
_export_star(require("./components/Rating"), exports);
|
72
70
|
_export_star(require("./mixins"), exports);
|
73
71
|
_export_star(require("./tokens"), exports);
|
74
72
|
function _export_star(from, to) {
|
@@ -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),
|
@@ -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
|
};
|
package/emotion/es/index.js
CHANGED
@@ -63,7 +63,5 @@ export * from './components/NumberFormat';
|
|
63
63
|
export * from './components/Table';
|
64
64
|
export * from './components/ToastNew';
|
65
65
|
export * from './components/Carousel';
|
66
|
-
export * from './components/Tour';
|
67
|
-
export * from './components/Rating';
|
68
66
|
export * from './mixins';
|
69
67
|
export * from './tokens';
|
@@ -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),
|
@@ -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/styled-components';
|
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
|
};
|
package/es/index.js
CHANGED
@@ -63,7 +63,5 @@ export * from './components/NumberFormat';
|
|
63
63
|
export * from './components/Table';
|
64
64
|
export * from './components/ToastNew';
|
65
65
|
export * from './components/Carousel';
|
66
|
-
export * from './components/Tour';
|
67
|
-
export * from './components/Rating';
|
68
66
|
export * from './mixins';
|
69
67
|
export * from './tokens';
|
package/index.d.ts
CHANGED
@@ -63,7 +63,5 @@ export * from './components/NumberFormat';
|
|
63
63
|
export * from './components/Table';
|
64
64
|
export * from './components/ToastNew';
|
65
65
|
export * from './components/Carousel';
|
66
|
-
export * from './components/Tour';
|
67
|
-
export * from './components/Rating';
|
68
66
|
export * from './mixins';
|
69
67
|
export * from './tokens';
|
package/index.js
CHANGED
@@ -67,8 +67,6 @@ _export_star(require("./components/NumberFormat"), exports);
|
|
67
67
|
_export_star(require("./components/Table"), exports);
|
68
68
|
_export_star(require("./components/ToastNew"), exports);
|
69
69
|
_export_star(require("./components/Carousel"), exports);
|
70
|
-
_export_star(require("./components/Tour"), exports);
|
71
|
-
_export_star(require("./components/Rating"), exports);
|
72
70
|
_export_star(require("./mixins"), exports);
|
73
71
|
_export_star(require("./tokens"), exports);
|
74
72
|
function _export_star(from, to) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-cs",
|
3
|
-
"version": "0.319.1-canary.
|
3
|
+
"version": "0.319.1-canary.2054.15968685472.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
|
"license": "MIT",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"directory": "packages/sdds-cs"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@salutejs/plasma-new-hope": "0.327.1-canary.
|
33
|
+
"@salutejs/plasma-new-hope": "0.327.1-canary.2054.15968685472.0",
|
34
34
|
"@salutejs/sdds-themes": "0.39.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
@@ -54,10 +54,10 @@
|
|
54
54
|
"@microsoft/api-extractor": "7.38.3",
|
55
55
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
56
56
|
"@salutejs/plasma-colors": "0.15.0",
|
57
|
-
"@salutejs/plasma-core": "1.199.
|
58
|
-
"@salutejs/plasma-cy-utils": "0.130.
|
57
|
+
"@salutejs/plasma-core": "1.199.0",
|
58
|
+
"@salutejs/plasma-cy-utils": "0.130.0",
|
59
59
|
"@salutejs/plasma-icons": "1.219.0",
|
60
|
-
"@salutejs/plasma-sb-utils": "0.200.
|
60
|
+
"@salutejs/plasma-sb-utils": "0.200.0",
|
61
61
|
"@storybook/addon-docs": "7.6.17",
|
62
62
|
"@storybook/addon-essentials": "7.6.17",
|
63
63
|
"@storybook/addons": "7.6.17",
|
@@ -123,5 +123,5 @@
|
|
123
123
|
"Anton Vinogradov"
|
124
124
|
],
|
125
125
|
"sideEffects": false,
|
126
|
-
"gitHead": "
|
126
|
+
"gitHead": "8ac0bb02d144b7413ed92d2240710af6879e7696"
|
127
127
|
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export declare const config: {
|
2
|
-
defaults: {
|
3
|
-
view: string;
|
4
|
-
size: string;
|
5
|
-
};
|
6
|
-
variations: {
|
7
|
-
view: {
|
8
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
-
};
|
10
|
-
size: {
|
11
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
-
};
|
13
|
-
};
|
14
|
-
};
|