@salutejs/sdds-cs 0.361.0-next-sbcom.0 → 0.362.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/beta/cjs/Popover/Popover.closeInner.config.js +11 -10
- package/dist/beta/cjs/Popover/Popover.closeNone.config.js +5 -4
- package/dist/beta/cjs/Tooltip/Tooltip.config.js +16 -15
- package/dist/beta/es/Popover/Popover.closeInner.config.js +11 -10
- package/dist/beta/es/Popover/Popover.closeNone.config.js +5 -4
- package/dist/beta/es/Tooltip/Tooltip.config.js +16 -15
- package/dist/emotion/cjs/components/Accordion/Accordion.config.js +26 -25
- package/dist/emotion/cjs/components/Attach/Attach.config.js +121 -120
- package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +123 -122
- package/dist/emotion/cjs/components/Avatar/Avatar.config.js +32 -31
- package/dist/emotion/cjs/components/Badge/Badge.clear.config.js +5 -4
- package/dist/emotion/cjs/components/Badge/Badge.config.js +17 -16
- package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
- package/dist/emotion/cjs/components/Button/Button.config.js +44 -43
- package/dist/emotion/cjs/components/Button/Button.js +3 -3
- package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +39 -38
- package/dist/emotion/cjs/components/Calendar/Calendar.config.js +60 -59
- package/dist/emotion/cjs/components/Calendar/CalendarDouble.config.js +60 -59
- package/dist/emotion/cjs/components/Card/Card.config.js +2 -1
- package/dist/emotion/cjs/components/Carousel/Carousel.config.js +9 -8
- package/dist/emotion/cjs/components/Cell/Cell.config.js +41 -40
- package/dist/emotion/cjs/components/Checkbox/Checkbox.config.js +22 -21
- package/dist/emotion/cjs/components/Chip/Chip.config.js +53 -52
- package/dist/emotion/cjs/components/ChipGroup/ChipGroup.config.js +28 -27
- package/dist/emotion/cjs/components/Combobox/Combobox.config.js +160 -159
- package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +169 -168
- package/dist/emotion/cjs/components/Divider/Divider.config.js +5 -4
- package/dist/emotion/cjs/components/Drawer/Drawer.config.js +3 -2
- package/dist/emotion/cjs/components/Dropdown/Dropdown.config.js +21 -20
- package/dist/emotion/cjs/components/EmptyState/EmptyState.config.js +25 -24
- package/dist/emotion/cjs/components/IconButton/IconButton.config.js +29 -28
- package/dist/emotion/cjs/components/IconButton/IconButton.js +70 -1
- package/dist/emotion/cjs/components/Indicator/Indicator.config.js +8 -7
- package/dist/emotion/cjs/components/Link/Link.config.js +53 -52
- package/dist/emotion/cjs/components/Modal/Modal.config.js +6 -5
- package/dist/emotion/cjs/components/Notification/Notification.config.js +22 -21
- package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +30 -29
- package/dist/emotion/cjs/components/Pagination/Pagination.config.js +32 -31
- package/dist/emotion/cjs/components/Popover/Popover.config.js +3 -2
- package/dist/emotion/cjs/components/Progress/Progress.config.js +101 -100
- package/dist/emotion/cjs/components/Radiobox/Radiobox.config.js +19 -18
- package/dist/emotion/cjs/components/Range/Range.config.js +70 -69
- package/dist/emotion/cjs/components/Rating/Rating.config.js +33 -32
- package/dist/emotion/cjs/components/Segment/SegmentGroup.config.js +6 -5
- package/dist/emotion/cjs/components/Segment/SegmentItem.config.js +29 -28
- package/dist/emotion/cjs/components/Select/Select.config.js +126 -125
- package/dist/emotion/cjs/components/Sheet/Sheet.config.js +3 -2
- package/dist/emotion/cjs/components/Skeleton/LineSkeleton.config.js +35 -34
- package/dist/emotion/cjs/components/Slider/Slider.config.js +58 -57
- package/dist/emotion/cjs/components/Spinner/Spinner.config.js +8 -7
- package/dist/emotion/cjs/components/Steps/StepItem.config.js +8 -7
- package/dist/emotion/cjs/components/Steps/Steps.config.js +55 -54
- package/dist/emotion/cjs/components/Switch/Switch.config.js +26 -25
- package/dist/emotion/cjs/components/Table/Table.config.js +82 -81
- package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
- package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
- package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
- package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +14 -13
- package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +131 -130
- package/dist/emotion/cjs/components/TextArea/TextArea.config.js +160 -159
- package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +119 -118
- package/dist/emotion/cjs/components/TextField/TextField.config.js +167 -166
- package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +79 -78
- package/dist/emotion/cjs/components/Toast/Toast.config.js +19 -18
- package/dist/emotion/cjs/components/ToastNew/ToastNew.config.js +11 -10
- package/dist/emotion/cjs/components/Tooltip/Tooltip.config.js +13 -12
- package/dist/emotion/cjs/components/Tour/Tour.config.js +2 -1
- package/dist/emotion/cjs/components/Tree/Tree.config.js +22 -21
- package/dist/emotion/cjs/components/Typography/Body.config.js +41 -40
- package/dist/emotion/cjs/components/Typography/Dspl.config.js +25 -24
- package/dist/emotion/cjs/components/Typography/Heading.config.js +41 -40
- package/dist/emotion/cjs/components/Typography/Text.config.js +33 -32
- package/dist/emotion/es/components/Accordion/Accordion.config.js +26 -25
- package/dist/emotion/es/components/Attach/Attach.config.js +121 -120
- package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +123 -122
- package/dist/emotion/es/components/Avatar/Avatar.config.js +32 -31
- package/dist/emotion/es/components/Badge/Badge.clear.config.js +5 -4
- package/dist/emotion/es/components/Badge/Badge.config.js +17 -16
- package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
- package/dist/emotion/es/components/Button/Button.config.js +44 -43
- package/dist/emotion/es/components/Button/Button.js +3 -3
- package/dist/emotion/es/components/ButtonGroup/ButtonGroup.config.js +39 -38
- package/dist/emotion/es/components/Calendar/Calendar.config.js +60 -59
- package/dist/emotion/es/components/Calendar/CalendarDouble.config.js +60 -59
- package/dist/emotion/es/components/Card/Card.config.js +2 -1
- package/dist/emotion/es/components/Carousel/Carousel.config.js +9 -8
- package/dist/emotion/es/components/Cell/Cell.config.js +41 -40
- package/dist/emotion/es/components/Checkbox/Checkbox.config.js +22 -21
- package/dist/emotion/es/components/Chip/Chip.config.js +53 -52
- package/dist/emotion/es/components/ChipGroup/ChipGroup.config.js +28 -27
- package/dist/emotion/es/components/Combobox/Combobox.config.js +160 -159
- package/dist/emotion/es/components/DatePicker/DatePicker.config.js +169 -168
- package/dist/emotion/es/components/Divider/Divider.config.js +5 -4
- package/dist/emotion/es/components/Drawer/Drawer.config.js +3 -2
- package/dist/emotion/es/components/Dropdown/Dropdown.config.js +21 -20
- package/dist/emotion/es/components/EmptyState/EmptyState.config.js +25 -24
- package/dist/emotion/es/components/IconButton/IconButton.config.js +29 -28
- package/dist/emotion/es/components/IconButton/IconButton.js +25 -2
- package/dist/emotion/es/components/Indicator/Indicator.config.js +8 -7
- package/dist/emotion/es/components/Link/Link.config.js +53 -52
- package/dist/emotion/es/components/Modal/Modal.config.js +6 -5
- package/dist/emotion/es/components/Notification/Notification.config.js +22 -21
- package/dist/emotion/es/components/NumberInput/NumberInput.config.js +30 -29
- package/dist/emotion/es/components/Pagination/Pagination.config.js +32 -31
- package/dist/emotion/es/components/Popover/Popover.config.js +3 -2
- package/dist/emotion/es/components/Progress/Progress.config.js +101 -100
- package/dist/emotion/es/components/Radiobox/Radiobox.config.js +19 -18
- package/dist/emotion/es/components/Range/Range.config.js +70 -69
- package/dist/emotion/es/components/Rating/Rating.config.js +33 -32
- package/dist/emotion/es/components/Segment/SegmentGroup.config.js +6 -5
- package/dist/emotion/es/components/Segment/SegmentItem.config.js +29 -28
- package/dist/emotion/es/components/Select/Select.config.js +126 -125
- package/dist/emotion/es/components/Sheet/Sheet.config.js +3 -2
- package/dist/emotion/es/components/Skeleton/LineSkeleton.config.js +35 -34
- package/dist/emotion/es/components/Slider/Slider.config.js +58 -57
- package/dist/emotion/es/components/Spinner/Spinner.config.js +8 -7
- package/dist/emotion/es/components/Steps/StepItem.config.js +8 -7
- package/dist/emotion/es/components/Steps/Steps.config.js +55 -54
- package/dist/emotion/es/components/Switch/Switch.config.js +26 -25
- package/dist/emotion/es/components/Table/Table.config.js +82 -81
- package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
- package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
- package/dist/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
- package/dist/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +14 -13
- package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +131 -130
- package/dist/emotion/es/components/TextArea/TextArea.config.js +160 -159
- package/dist/emotion/es/components/TextField/TextField.clear.config.js +119 -118
- package/dist/emotion/es/components/TextField/TextField.config.js +167 -166
- package/dist/emotion/es/components/TimePicker/TimePicker.config.js +79 -78
- package/dist/emotion/es/components/Toast/Toast.config.js +19 -18
- package/dist/emotion/es/components/ToastNew/ToastNew.config.js +11 -10
- package/dist/emotion/es/components/Tooltip/Tooltip.config.js +13 -12
- package/dist/emotion/es/components/Tour/Tour.config.js +2 -1
- package/dist/emotion/es/components/Tree/Tree.config.js +22 -21
- package/dist/emotion/es/components/Typography/Body.config.js +41 -40
- package/dist/emotion/es/components/Typography/Dspl.config.js +25 -24
- package/dist/emotion/es/components/Typography/Heading.config.js +41 -40
- package/dist/emotion/es/components/Typography/Text.config.js +33 -32
- package/package.json +8 -8
- package/types/components/Autocomplete/Autocomplete.d.ts +8 -0
- package/types/components/Avatar/Avatar.d.ts +4 -4
- package/types/components/Combobox/Combobox.d.ts +8 -0
- package/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/types/components/IconButton/IconButton.d.ts +28 -11
- package/types/components/Mask/Mask.d.ts +16 -0
- package/types/components/Rating/Rating.d.ts +1 -0
- package/types/components/Select/Select.d.ts +16 -0
- package/types/components/TextField/TextField.d.ts +32 -0
- package/types/components/TimePicker/TimePicker.d.ts +2 -0
|
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
|
|
|
8
8
|
return config;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
+
const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
|
|
11
12
|
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
12
13
|
const config = {
|
|
13
14
|
defaults: {
|
|
@@ -18,71 +19,71 @@ const config = {
|
|
|
18
19
|
variations: {
|
|
19
20
|
view: {
|
|
20
21
|
default: (0, _emotion.css)`
|
|
21
|
-
${_emotion.textFieldTokens.color}:
|
|
22
|
+
${_emotion.textFieldTokens.color}: ${_sdds_cs.textPrimary};
|
|
22
23
|
|
|
23
|
-
${_emotion.textFieldTokens.placeholderColor}:
|
|
24
|
-
${_emotion.textFieldTokens.placeholderColorFocus}:
|
|
24
|
+
${_emotion.textFieldTokens.placeholderColor}: ${_sdds_cs.textSecondary};
|
|
25
|
+
${_emotion.textFieldTokens.placeholderColorFocus}: ${_sdds_cs.textTertiary};
|
|
25
26
|
|
|
26
27
|
${_emotion.textFieldTokens.backgroundColor}: transparent;
|
|
27
28
|
${_emotion.textFieldTokens.backgroundColorHover}: transparent;
|
|
28
29
|
${_emotion.textFieldTokens.backgroundColorFocus}: transparent;
|
|
29
|
-
${_emotion.textFieldTokens.caretColor}:
|
|
30
|
-
${_emotion.textFieldTokens.textBeforeColor}:
|
|
31
|
-
${_emotion.textFieldTokens.textAfterColor}:
|
|
32
|
-
${_emotion.textFieldTokens.labelColor}:
|
|
33
|
-
${_emotion.textFieldTokens.leftHelperColor}:
|
|
34
|
-
${_emotion.textFieldTokens.rightHelperColor}:
|
|
35
|
-
${_emotion.textFieldTokens.titleCaptionColor}:
|
|
36
|
-
${_emotion.textFieldTokens.hintIconColor}:
|
|
37
|
-
|
|
38
|
-
${_emotion.textFieldTokens.contentSlotColor}:
|
|
39
|
-
${_emotion.textFieldTokens.contentSlotColorHover}:
|
|
40
|
-
${_emotion.textFieldTokens.contentSlotColorActive}:
|
|
41
|
-
${_emotion.textFieldTokens.contentSlotRightColor}:
|
|
42
|
-
${_emotion.textFieldTokens.contentSlotRightColorHover}:
|
|
43
|
-
${_emotion.textFieldTokens.contentSlotRightColorActive}:
|
|
44
|
-
|
|
45
|
-
${_emotion.textFieldTokens.dividerColor}:
|
|
46
|
-
${_emotion.textFieldTokens.dividerColorHover}:
|
|
47
|
-
${_emotion.textFieldTokens.dividerColorFocus}:
|
|
48
|
-
|
|
49
|
-
${_emotion.textFieldTokens.focusColor}:
|
|
50
|
-
${_emotion.textFieldTokens.indicatorColor}:
|
|
51
|
-
${_emotion.textFieldTokens.optionalColor}:
|
|
30
|
+
${_emotion.textFieldTokens.caretColor}: ${_sdds_cs.textAccent};
|
|
31
|
+
${_emotion.textFieldTokens.textBeforeColor}: ${_sdds_cs.textTertiary};
|
|
32
|
+
${_emotion.textFieldTokens.textAfterColor}: ${_sdds_cs.textTertiary};
|
|
33
|
+
${_emotion.textFieldTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
34
|
+
${_emotion.textFieldTokens.leftHelperColor}: ${_sdds_cs.textSecondary};
|
|
35
|
+
${_emotion.textFieldTokens.rightHelperColor}: ${_sdds_cs.textSecondary};
|
|
36
|
+
${_emotion.textFieldTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
|
|
37
|
+
${_emotion.textFieldTokens.hintIconColor}: ${_sdds_cs.textSecondary};
|
|
38
|
+
|
|
39
|
+
${_emotion.textFieldTokens.contentSlotColor}: ${_sdds_cs.textSecondary};
|
|
40
|
+
${_emotion.textFieldTokens.contentSlotColorHover}: ${_sdds_cs.textSecondaryHover};
|
|
41
|
+
${_emotion.textFieldTokens.contentSlotColorActive}: ${_sdds_cs.textSecondaryActive};
|
|
42
|
+
${_emotion.textFieldTokens.contentSlotRightColor}: ${_sdds_cs.textAccent};
|
|
43
|
+
${_emotion.textFieldTokens.contentSlotRightColorHover}: ${_sdds_cs.textAccentMinor};
|
|
44
|
+
${_emotion.textFieldTokens.contentSlotRightColorActive}: ${_sdds_cs.textAccentActive};
|
|
45
|
+
|
|
46
|
+
${_emotion.textFieldTokens.dividerColor}: ${_sdds_cs.outlineSolidPrimary};
|
|
47
|
+
${_emotion.textFieldTokens.dividerColorHover}: ${_sdds_cs.textSecondary};
|
|
48
|
+
${_emotion.textFieldTokens.dividerColorFocus}: ${_sdds_cs.surfaceAccent};
|
|
49
|
+
|
|
50
|
+
${_emotion.textFieldTokens.focusColor}: ${_sdds_cs.textAccent};
|
|
51
|
+
${_emotion.textFieldTokens.indicatorColor}: ${_sdds_cs.surfaceNegative};
|
|
52
|
+
${_emotion.textFieldTokens.optionalColor}: ${_sdds_cs.textTertiary};
|
|
52
53
|
`,
|
|
53
54
|
negative: (0, _emotion.css)`
|
|
54
|
-
${_emotion.textFieldTokens.color}:
|
|
55
|
+
${_emotion.textFieldTokens.color}: ${_sdds_cs.textNegative};
|
|
55
56
|
|
|
56
|
-
${_emotion.textFieldTokens.placeholderColor}:
|
|
57
|
-
${_emotion.textFieldTokens.placeholderColorFocus}:
|
|
57
|
+
${_emotion.textFieldTokens.placeholderColor}: ${_sdds_cs.textNegative};
|
|
58
|
+
${_emotion.textFieldTokens.placeholderColorFocus}: ${_sdds_cs.textNegative};
|
|
58
59
|
|
|
59
60
|
${_emotion.textFieldTokens.backgroundColor}: transparent;
|
|
60
61
|
${_emotion.textFieldTokens.backgroundColorHover}: transparent;
|
|
61
62
|
${_emotion.textFieldTokens.backgroundColorFocus}: transparent;
|
|
62
|
-
${_emotion.textFieldTokens.caretColor}:
|
|
63
|
-
${_emotion.textFieldTokens.textBeforeColor}:
|
|
64
|
-
${_emotion.textFieldTokens.textAfterColor}:
|
|
65
|
-
${_emotion.textFieldTokens.labelColor}:
|
|
66
|
-
${_emotion.textFieldTokens.leftHelperColor}:
|
|
67
|
-
${_emotion.textFieldTokens.rightHelperColor}:
|
|
68
|
-
${_emotion.textFieldTokens.titleCaptionColor}:
|
|
69
|
-
${_emotion.textFieldTokens.hintIconColor}:
|
|
70
|
-
|
|
71
|
-
${_emotion.textFieldTokens.contentSlotColor}:
|
|
72
|
-
${_emotion.textFieldTokens.contentSlotColorHover}:
|
|
73
|
-
${_emotion.textFieldTokens.contentSlotColorActive}:
|
|
74
|
-
|
|
75
|
-
${_emotion.textFieldTokens.contentSlotRightColor}:
|
|
76
|
-
${_emotion.textFieldTokens.contentSlotRightColorHover}:
|
|
77
|
-
${_emotion.textFieldTokens.contentSlotRightColorActive}:
|
|
78
|
-
|
|
79
|
-
${_emotion.textFieldTokens.dividerColor}:
|
|
80
|
-
${_emotion.textFieldTokens.dividerColorHover}:
|
|
81
|
-
${_emotion.textFieldTokens.dividerColorFocus}:
|
|
82
|
-
|
|
83
|
-
${_emotion.textFieldTokens.focusColor}:
|
|
84
|
-
${_emotion.textFieldTokens.indicatorColor}:
|
|
85
|
-
${_emotion.textFieldTokens.optionalColor}:
|
|
63
|
+
${_emotion.textFieldTokens.caretColor}: ${_sdds_cs.textAccent};
|
|
64
|
+
${_emotion.textFieldTokens.textBeforeColor}: ${_sdds_cs.textSecondary};
|
|
65
|
+
${_emotion.textFieldTokens.textAfterColor}: ${_sdds_cs.textSecondary};
|
|
66
|
+
${_emotion.textFieldTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
67
|
+
${_emotion.textFieldTokens.leftHelperColor}: ${_sdds_cs.textNegative};
|
|
68
|
+
${_emotion.textFieldTokens.rightHelperColor}: ${_sdds_cs.textNegative};
|
|
69
|
+
${_emotion.textFieldTokens.titleCaptionColor}: ${_sdds_cs.textSecondary};
|
|
70
|
+
${_emotion.textFieldTokens.hintIconColor}: ${_sdds_cs.textSecondary};
|
|
71
|
+
|
|
72
|
+
${_emotion.textFieldTokens.contentSlotColor}: ${_sdds_cs.textNegative};
|
|
73
|
+
${_emotion.textFieldTokens.contentSlotColorHover}: ${_sdds_cs.textNegativeHover};
|
|
74
|
+
${_emotion.textFieldTokens.contentSlotColorActive}: ${_sdds_cs.textNegativeActive};
|
|
75
|
+
|
|
76
|
+
${_emotion.textFieldTokens.contentSlotRightColor}: ${_sdds_cs.textSecondary};
|
|
77
|
+
${_emotion.textFieldTokens.contentSlotRightColorHover}: ${_sdds_cs.textSecondaryHover};
|
|
78
|
+
${_emotion.textFieldTokens.contentSlotRightColorActive}: ${_sdds_cs.textSecondaryActive};
|
|
79
|
+
|
|
80
|
+
${_emotion.textFieldTokens.dividerColor}: ${_sdds_cs.surfaceNegative};
|
|
81
|
+
${_emotion.textFieldTokens.dividerColorHover}: ${_sdds_cs.surfaceNegative};
|
|
82
|
+
${_emotion.textFieldTokens.dividerColorFocus}: ${_sdds_cs.surfaceAccent};
|
|
83
|
+
|
|
84
|
+
${_emotion.textFieldTokens.focusColor}: ${_sdds_cs.textNegative};
|
|
85
|
+
${_emotion.textFieldTokens.indicatorColor}: ${_sdds_cs.surfaceNegative};
|
|
86
|
+
${_emotion.textFieldTokens.optionalColor}: ${_sdds_cs.textTertiary};
|
|
86
87
|
`
|
|
87
88
|
},
|
|
88
89
|
size: {
|
|
@@ -95,48 +96,48 @@ const config = {
|
|
|
95
96
|
${_emotion.textFieldTokens.leftContentMargin}: -0.1875rem 0.25rem -0.1875rem 0;
|
|
96
97
|
${_emotion.textFieldTokens.rightContentMargin}: -0.1875rem 0 -0.1875rem 0.75rem;
|
|
97
98
|
|
|
98
|
-
${_emotion.textFieldTokens.fontFamily}:
|
|
99
|
-
${_emotion.textFieldTokens.fontSize}:
|
|
100
|
-
${_emotion.textFieldTokens.fontStyle}:
|
|
101
|
-
${_emotion.textFieldTokens.fontWeight}:
|
|
102
|
-
${_emotion.textFieldTokens.letterSpacing}:
|
|
103
|
-
${_emotion.textFieldTokens.lineHeight}:
|
|
99
|
+
${_emotion.textFieldTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
|
|
100
|
+
${_emotion.textFieldTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
|
|
101
|
+
${_emotion.textFieldTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
|
|
102
|
+
${_emotion.textFieldTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
103
|
+
${_emotion.textFieldTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
104
|
+
${_emotion.textFieldTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
104
105
|
|
|
105
106
|
${_emotion.textFieldTokens.labelOffset}: 0.5rem;
|
|
106
|
-
${_emotion.textFieldTokens.labelFontFamily}:
|
|
107
|
-
${_emotion.textFieldTokens.labelFontSize}:
|
|
108
|
-
${_emotion.textFieldTokens.labelFontStyle}:
|
|
109
|
-
${_emotion.textFieldTokens.labelFontWeight}:
|
|
110
|
-
${_emotion.textFieldTokens.labelLetterSpacing}:
|
|
111
|
-
${_emotion.textFieldTokens.labelLineHeight}:
|
|
107
|
+
${_emotion.textFieldTokens.labelFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
108
|
+
${_emotion.textFieldTokens.labelFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
109
|
+
${_emotion.textFieldTokens.labelFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
110
|
+
${_emotion.textFieldTokens.labelFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
111
|
+
${_emotion.textFieldTokens.labelLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
112
|
+
${_emotion.textFieldTokens.labelLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
112
113
|
|
|
113
114
|
${_emotion.textFieldTokens.hintMargin}: -0.688rem -0.5rem;
|
|
114
115
|
${_emotion.textFieldTokens.hintTargetSize}: 2.375rem;
|
|
115
116
|
${_emotion.textFieldTokens.hintInnerLabelPlacementOffset}: 0.062rem -2.1063rem auto auto;
|
|
116
117
|
|
|
117
118
|
${_emotion.textFieldTokens.titleCaptionInnerLabelOffset}: 0.25rem;
|
|
118
|
-
${_emotion.textFieldTokens.titleCaptionFontFamily}:
|
|
119
|
-
${_emotion.textFieldTokens.titleCaptionFontSize}:
|
|
120
|
-
${_emotion.textFieldTokens.titleCaptionFontStyle}:
|
|
121
|
-
${_emotion.textFieldTokens.titleCaptionFontWeight}:
|
|
122
|
-
${_emotion.textFieldTokens.titleCaptionLetterSpacing}:
|
|
123
|
-
${_emotion.textFieldTokens.titleCaptionLineHeight}:
|
|
124
|
-
|
|
125
|
-
${_emotion.textFieldTokens.
|
|
126
|
-
${_emotion.textFieldTokens.leftHelperFontFamily}:
|
|
127
|
-
${_emotion.textFieldTokens.leftHelperFontSize}:
|
|
128
|
-
${_emotion.textFieldTokens.leftHelperFontStyle}:
|
|
129
|
-
${_emotion.textFieldTokens.leftHelperFontWeight}:
|
|
130
|
-
${_emotion.textFieldTokens.leftHelperLetterSpacing}:
|
|
131
|
-
${_emotion.textFieldTokens.leftHelperLineHeight}:
|
|
119
|
+
${_emotion.textFieldTokens.titleCaptionFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
120
|
+
${_emotion.textFieldTokens.titleCaptionFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
121
|
+
${_emotion.textFieldTokens.titleCaptionFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
122
|
+
${_emotion.textFieldTokens.titleCaptionFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
123
|
+
${_emotion.textFieldTokens.titleCaptionLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
124
|
+
${_emotion.textFieldTokens.titleCaptionLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
125
|
+
|
|
126
|
+
${_emotion.textFieldTokens.leftHelperOffset}: 0.25rem 0 0 0;
|
|
127
|
+
${_emotion.textFieldTokens.leftHelperFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
128
|
+
${_emotion.textFieldTokens.leftHelperFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
129
|
+
${_emotion.textFieldTokens.leftHelperFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
130
|
+
${_emotion.textFieldTokens.leftHelperFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
131
|
+
${_emotion.textFieldTokens.leftHelperLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
132
|
+
${_emotion.textFieldTokens.leftHelperLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
132
133
|
|
|
133
134
|
${_emotion.textFieldTokens.rightHelperOffset}: 0.25rem 0 0 0.25rem;
|
|
134
|
-
${_emotion.textFieldTokens.rightHelperFontFamily}:
|
|
135
|
-
${_emotion.textFieldTokens.rightHelperFontSize}:
|
|
136
|
-
${_emotion.textFieldTokens.rightHelperFontStyle}:
|
|
137
|
-
${_emotion.textFieldTokens.rightHelperFontWeight}:
|
|
138
|
-
${_emotion.textFieldTokens.rightHelperLetterSpacing}:
|
|
139
|
-
${_emotion.textFieldTokens.rightHelperLineHeight}:
|
|
135
|
+
${_emotion.textFieldTokens.rightHelperFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
136
|
+
${_emotion.textFieldTokens.rightHelperFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
137
|
+
${_emotion.textFieldTokens.rightHelperFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
138
|
+
${_emotion.textFieldTokens.rightHelperFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
139
|
+
${_emotion.textFieldTokens.rightHelperLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
140
|
+
${_emotion.textFieldTokens.rightHelperLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
140
141
|
|
|
141
142
|
${_emotion.textFieldTokens.labelInnerPadding}: 0.3125rem 0 0 0;
|
|
142
143
|
${_emotion.textFieldTokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;
|
|
@@ -151,12 +152,12 @@ const config = {
|
|
|
151
152
|
${_emotion.textFieldTokens.chipClearContentMarginLeft}: 0.375rem;
|
|
152
153
|
${_emotion.textFieldTokens.chipClearContentMarginRight}: 0rem;
|
|
153
154
|
${_emotion.textFieldTokens.chipCloseIconSize}: 1rem;
|
|
154
|
-
${_emotion.textFieldTokens.chipFontFamily}:
|
|
155
|
-
${_emotion.textFieldTokens.chipFontSize}:
|
|
156
|
-
${_emotion.textFieldTokens.chipFontStyle}:
|
|
157
|
-
${_emotion.textFieldTokens.chipFontWeight}:
|
|
158
|
-
${_emotion.textFieldTokens.chipLetterSpacing}:
|
|
159
|
-
${_emotion.textFieldTokens.chipLineHeight}:
|
|
155
|
+
${_emotion.textFieldTokens.chipFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
156
|
+
${_emotion.textFieldTokens.chipFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
157
|
+
${_emotion.textFieldTokens.chipFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
158
|
+
${_emotion.textFieldTokens.chipFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
159
|
+
${_emotion.textFieldTokens.chipLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
160
|
+
${_emotion.textFieldTokens.chipLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
160
161
|
|
|
161
162
|
${_emotion.textFieldTokens.indicatorSizeInner}: 0.375rem;
|
|
162
163
|
${_emotion.textFieldTokens.indicatorSizeOuter}: 0.375rem;
|
|
@@ -171,10 +172,10 @@ const config = {
|
|
|
171
172
|
},
|
|
172
173
|
hintView: {
|
|
173
174
|
default: (0, _emotion.css)`
|
|
174
|
-
${_emotion.textFieldTokens.tooltipBackgroundColor}:
|
|
175
|
+
${_emotion.textFieldTokens.tooltipBackgroundColor}: ${_sdds_cs.surfaceSolidCardBrightness};
|
|
175
176
|
${_emotion.textFieldTokens.tooltipBoxShadow}: var(--shadow-down-hard-m, 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08));
|
|
176
|
-
${_emotion.textFieldTokens.tooltipColor}:
|
|
177
|
-
${_emotion.textFieldTokens.tooltipArrowBackground}:
|
|
177
|
+
${_emotion.textFieldTokens.tooltipColor}: ${_sdds_cs.textPrimary};
|
|
178
|
+
${_emotion.textFieldTokens.tooltipArrowBackground}: ${_sdds_cs.surfaceSolidCardBrightness};
|
|
178
179
|
`
|
|
179
180
|
},
|
|
180
181
|
hintSize: {
|
|
@@ -187,12 +188,12 @@ const config = {
|
|
|
187
188
|
${_emotion.textFieldTokens.tooltipMinHeight}: 2.5rem;
|
|
188
189
|
${_emotion.textFieldTokens.tooltipBorderRadius}: 0.625rem;
|
|
189
190
|
|
|
190
|
-
${_emotion.textFieldTokens.tooltipTextFontFamily}:
|
|
191
|
-
${_emotion.textFieldTokens.tooltipTextFontSize}:
|
|
192
|
-
${_emotion.textFieldTokens.tooltipTextFontStyle}:
|
|
193
|
-
${_emotion.textFieldTokens.tooltipTextFontWeight}:
|
|
194
|
-
${_emotion.textFieldTokens.tooltipTextFontLetterSpacing}:
|
|
195
|
-
${_emotion.textFieldTokens.tooltipTextFontLineHeight}:
|
|
191
|
+
${_emotion.textFieldTokens.tooltipTextFontFamily}: ${_sdds_cs.bodyS.fontFamily};
|
|
192
|
+
${_emotion.textFieldTokens.tooltipTextFontSize}: ${_sdds_cs.bodyS.fontSize};
|
|
193
|
+
${_emotion.textFieldTokens.tooltipTextFontStyle}: ${_sdds_cs.bodyS.fontStyle};
|
|
194
|
+
${_emotion.textFieldTokens.tooltipTextFontWeight}: ${_sdds_cs.bodyS.fontWeight};
|
|
195
|
+
${_emotion.textFieldTokens.tooltipTextFontLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
|
|
196
|
+
${_emotion.textFieldTokens.tooltipTextFontLineHeight}: ${_sdds_cs.bodyS.lineHeight};
|
|
196
197
|
|
|
197
198
|
${_emotion.textFieldTokens.tooltipContentLeftMargin}: 0.375rem;
|
|
198
199
|
|
|
@@ -211,12 +212,12 @@ const config = {
|
|
|
211
212
|
${_emotion.textFieldTokens.tooltipMinHeight}: 2rem;
|
|
212
213
|
${_emotion.textFieldTokens.tooltipBorderRadius}: 0.5rem;
|
|
213
214
|
|
|
214
|
-
${_emotion.textFieldTokens.tooltipTextFontFamily}:
|
|
215
|
-
${_emotion.textFieldTokens.tooltipTextFontSize}:
|
|
216
|
-
${_emotion.textFieldTokens.tooltipTextFontStyle}:
|
|
217
|
-
${_emotion.textFieldTokens.tooltipTextFontWeight}:
|
|
218
|
-
${_emotion.textFieldTokens.tooltipTextFontLetterSpacing}:
|
|
219
|
-
${_emotion.textFieldTokens.tooltipTextFontLineHeight}:
|
|
215
|
+
${_emotion.textFieldTokens.tooltipTextFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
|
|
216
|
+
${_emotion.textFieldTokens.tooltipTextFontSize}: ${_sdds_cs.bodyXS.fontSize};
|
|
217
|
+
${_emotion.textFieldTokens.tooltipTextFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
|
|
218
|
+
${_emotion.textFieldTokens.tooltipTextFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
|
|
219
|
+
${_emotion.textFieldTokens.tooltipTextFontLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
220
|
+
${_emotion.textFieldTokens.tooltipTextFontLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
220
221
|
|
|
221
222
|
${_emotion.textFieldTokens.tooltipContentLeftMargin}: 0.25rem;
|
|
222
223
|
|
|
@@ -230,23 +231,23 @@ const config = {
|
|
|
230
231
|
disabled: {
|
|
231
232
|
true: (0, _emotion.css)`
|
|
232
233
|
${_emotion.textFieldTokens.disabledOpacity}: 1;
|
|
233
|
-
${_emotion.textFieldTokens.dividerColor}:
|
|
234
|
-
${_emotion.textFieldTokens.dividerColorHover}:
|
|
235
|
-
${_emotion.textFieldTokens.dividerColorFocus}:
|
|
236
|
-
${_emotion.textFieldTokens.color}:
|
|
234
|
+
${_emotion.textFieldTokens.dividerColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
235
|
+
${_emotion.textFieldTokens.dividerColorHover}: ${_sdds_cs.surfaceSolidPrimary};
|
|
236
|
+
${_emotion.textFieldTokens.dividerColorFocus}: ${_sdds_cs.surfaceSolidPrimary};
|
|
237
|
+
${_emotion.textFieldTokens.color}: ${_sdds_cs.textSecondary};
|
|
237
238
|
`
|
|
238
239
|
},
|
|
239
240
|
readOnly: {
|
|
240
241
|
true: (0, _emotion.css)`
|
|
241
242
|
${_emotion.textFieldTokens.readOnlyOpacity}: 1;
|
|
242
|
-
${_emotion.textFieldTokens.colorReadOnly}:
|
|
243
|
-
${_emotion.textFieldTokens.backgroundColorReadOnly}:
|
|
244
|
-
${_emotion.textFieldTokens.placeholderColorReadOnly}:
|
|
245
|
-
${_emotion.textFieldTokens.leftHelperColorReadOnly}:
|
|
246
|
-
${_emotion.textFieldTokens.rightHelperColorReadOnly}:
|
|
247
|
-
${_emotion.textFieldTokens.titleCaptionColorReadOnly}:
|
|
248
|
-
${_emotion.textFieldTokens.labelColorReadOnly}:
|
|
249
|
-
${_emotion.textFieldTokens.dividerColorReadOnly}:
|
|
243
|
+
${_emotion.textFieldTokens.colorReadOnly}: ${_sdds_cs.textPrimary};
|
|
244
|
+
${_emotion.textFieldTokens.backgroundColorReadOnly}: ${_sdds_cs.surfaceClear};
|
|
245
|
+
${_emotion.textFieldTokens.placeholderColorReadOnly}: ${_sdds_cs.textSecondary};
|
|
246
|
+
${_emotion.textFieldTokens.leftHelperColorReadOnly}: ${_sdds_cs.textSecondary};
|
|
247
|
+
${_emotion.textFieldTokens.rightHelperColorReadOnly}: ${_sdds_cs.textSecondary};
|
|
248
|
+
${_emotion.textFieldTokens.titleCaptionColorReadOnly}: ${_sdds_cs.textSecondary};
|
|
249
|
+
${_emotion.textFieldTokens.labelColorReadOnly}: ${_sdds_cs.textPrimary};
|
|
250
|
+
${_emotion.textFieldTokens.dividerColorReadOnly}: ${_sdds_cs.outlineSolidSecondary};
|
|
250
251
|
${_emotion.textFieldTokens.contentSlotRightOpacityReadOnly}: 0.4;
|
|
251
252
|
`
|
|
252
253
|
}
|