@salutejs/sdds-cs 0.322.0-canary.2071.16161234000.0 → 0.322.0-canary.2072.16140940131.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 +24 -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
@@ -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
|
};
|
@@ -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/styled-components';
|
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
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-cs",
|
3
|
-
"version": "0.322.0-canary.
|
3
|
+
"version": "0.322.0-canary.2072.16140940131.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.330.0-canary.
|
33
|
+
"@salutejs/plasma-new-hope": "0.330.0-canary.2072.16140940131.0",
|
34
34
|
"@salutejs/sdds-themes": "0.41.0-dev.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
@@ -56,7 +56,7 @@
|
|
56
56
|
"@salutejs/plasma-colors": "0.15.0",
|
57
57
|
"@salutejs/plasma-core": "1.201.0-dev.0",
|
58
58
|
"@salutejs/plasma-cy-utils": "0.132.0-dev.0",
|
59
|
-
"@salutejs/plasma-icons": "1.220.0-canary.
|
59
|
+
"@salutejs/plasma-icons": "1.220.0-canary.2072.16140940131.0",
|
60
60
|
"@salutejs/plasma-sb-utils": "0.202.0-dev.0",
|
61
61
|
"@storybook/addon-docs": "7.6.17",
|
62
62
|
"@storybook/addon-essentials": "7.6.17",
|
@@ -123,5 +123,5 @@
|
|
123
123
|
"Anton Vinogradov"
|
124
124
|
],
|
125
125
|
"sideEffects": false,
|
126
|
-
"gitHead": "
|
126
|
+
"gitHead": "5303efc040be8768ab20767d8a34ad785a9e2550"
|
127
127
|
}
|