@salutejs/sdds-serv 0.352.0-next-platform-ai.0 → 0.352.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/css/cjs/components/Combobox/Combobox.config.js +12 -6
- package/dist/css/cjs/components/Combobox/Combobox.config.js.map +1 -1
- package/dist/css/cjs/components/Combobox/{Combobox.config_3j9rvm.css → Combobox.config_1129slb.css} +8 -5
- package/dist/css/cjs/components/Combobox/Combobox.css +17 -14
- package/dist/css/cjs/components/DateTimePicker/DateTimePicker.clear.config.js +1 -1
- package/dist/css/cjs/components/DateTimePicker/DateTimePicker.clear.config.js.map +1 -1
- package/dist/css/{es/components/DateTimePicker/DateTimePicker.clear.config_1ae19qt.css → cjs/components/DateTimePicker/DateTimePicker.clear.config_1nwz496.css} +1 -1
- package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config.js +1 -1
- package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
- package/dist/css/cjs/components/DateTimePicker/{DateTimePicker.config_ef4xbp.css → DateTimePicker.config_1tmejjb.css} +1 -1
- package/dist/css/cjs/components/DateTimePicker/DateTimePicker.css +26 -26
- package/dist/css/cjs/components/LinkButton/LinkButton.config.js +10 -9
- package/dist/css/cjs/components/LinkButton/LinkButton.config.js.map +1 -1
- package/dist/css/{es/components/LinkButton/LinkButton.config_1ygbj3k.css → cjs/components/LinkButton/LinkButton.config_1csy5mj.css} +8 -7
- package/dist/css/cjs/components/LinkButton/LinkButton.css +14 -13
- package/dist/css/cjs/components/Note/Note.config.js +25 -3
- package/dist/css/cjs/components/Note/Note.config.js.map +1 -1
- package/dist/css/cjs/components/Note/Note.config_1npwity.css +15 -0
- package/dist/css/cjs/components/Note/Note.css +15 -9
- package/dist/css/cjs/components/Slider/Slider.config.js +9 -3
- package/dist/css/cjs/components/Slider/Slider.config.js.map +1 -1
- package/dist/css/cjs/components/Slider/{Slider.config_e1i4g0.css → Slider.config_1wzmcut.css} +7 -4
- package/dist/css/cjs/components/Slider/Slider.css +10 -7
- package/dist/css/cjs/components/Steps/StepItem.config.js +22 -0
- package/dist/css/cjs/components/Steps/StepItem.config.js.map +1 -0
- package/dist/css/cjs/components/Steps/StepItem.config_qzqyof.css +5 -0
- package/dist/css/cjs/components/Steps/Steps.config.js +1 -1
- package/dist/css/cjs/components/Steps/Steps.config.js.map +1 -1
- package/dist/css/cjs/components/Steps/{Steps.config_1thzvf2.css → Steps.config_wv1w99.css} +4 -4
- package/dist/css/cjs/components/Steps/Steps.css +20 -14
- package/dist/css/cjs/components/Steps/Steps.js +5 -1
- package/dist/css/cjs/components/Steps/Steps.js.map +1 -1
- package/dist/css/cjs/index.css +104 -85
- package/dist/css/cjs/index.js +27 -27
- package/dist/css/es/components/Combobox/Combobox.config.js +12 -6
- package/dist/css/es/components/Combobox/Combobox.config.js.map +1 -1
- package/dist/css/es/components/Combobox/{Combobox.config_3j9rvm.css → Combobox.config_1129slb.css} +8 -5
- package/dist/css/es/components/Combobox/Combobox.css +17 -14
- package/dist/css/es/components/DateTimePicker/DateTimePicker.clear.config.js +1 -1
- package/dist/css/es/components/DateTimePicker/DateTimePicker.clear.config.js.map +1 -1
- package/dist/css/{cjs/components/DateTimePicker/DateTimePicker.clear.config_1ae19qt.css → es/components/DateTimePicker/DateTimePicker.clear.config_1nwz496.css} +1 -1
- package/dist/css/es/components/DateTimePicker/DateTimePicker.config.js +1 -1
- package/dist/css/es/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
- package/dist/css/es/components/DateTimePicker/{DateTimePicker.config_ef4xbp.css → DateTimePicker.config_1tmejjb.css} +1 -1
- package/dist/css/es/components/DateTimePicker/DateTimePicker.css +26 -26
- package/dist/css/es/components/LinkButton/LinkButton.config.js +10 -9
- package/dist/css/es/components/LinkButton/LinkButton.config.js.map +1 -1
- package/dist/css/{cjs/components/LinkButton/LinkButton.config_1ygbj3k.css → es/components/LinkButton/LinkButton.config_1csy5mj.css} +8 -7
- package/dist/css/es/components/LinkButton/LinkButton.css +14 -13
- package/dist/css/es/components/Note/Note.config.js +25 -3
- package/dist/css/es/components/Note/Note.config.js.map +1 -1
- package/dist/css/es/components/Note/Note.config_1npwity.css +15 -0
- package/dist/css/es/components/Note/Note.css +15 -9
- package/dist/css/es/components/Segment/Segment.js +5 -5
- package/dist/css/es/components/Segment/Segment.js.map +1 -1
- package/dist/css/es/components/Slider/Slider.config.js +9 -3
- package/dist/css/es/components/Slider/Slider.config.js.map +1 -1
- package/dist/css/es/components/Slider/{Slider.config_e1i4g0.css → Slider.config_1wzmcut.css} +7 -4
- package/dist/css/es/components/Slider/Slider.css +10 -7
- package/dist/css/es/components/Steps/StepItem.config.js +18 -0
- package/dist/css/es/components/Steps/StepItem.config.js.map +1 -0
- package/dist/css/es/components/Steps/StepItem.config_qzqyof.css +5 -0
- package/dist/css/es/components/Steps/Steps.config.js +1 -1
- package/dist/css/es/components/Steps/Steps.config.js.map +1 -1
- package/dist/css/es/components/Steps/{Steps.config_1thzvf2.css → Steps.config_wv1w99.css} +4 -4
- package/dist/css/es/components/Steps/Steps.css +20 -14
- package/dist/css/es/components/Steps/Steps.js +5 -1
- package/dist/css/es/components/Steps/Steps.js.map +1 -1
- package/dist/css/es/components/Tabs/TabItem.js +9 -9
- package/dist/css/es/components/Tabs/TabItem.js.map +1 -1
- package/dist/css/es/components/Toast/Toast.js +1 -1
- package/dist/css/es/index.css +104 -85
- package/dist/css/es/index.js +4 -4
- package/dist/emotion/cjs/components/Combobox/Combobox.config.js +48 -0
- package/dist/emotion/cjs/components/DateTimePicker/DateTimePicker.clear.config.js +2 -0
- package/dist/emotion/cjs/components/DateTimePicker/DateTimePicker.config.js +2 -0
- package/dist/emotion/cjs/components/LinkButton/LinkButton.config.js +11 -0
- package/dist/emotion/cjs/components/Note/Note.config.js +54 -7
- package/dist/emotion/cjs/components/Slider/Slider.config.js +17 -13
- package/dist/emotion/cjs/components/Steps/StepItem.config.js +70 -0
- package/dist/emotion/cjs/components/Steps/Steps.config.js +0 -20
- package/dist/emotion/cjs/components/Steps/Steps.js +5 -1
- package/dist/emotion/es/components/Combobox/Combobox.config.js +48 -0
- package/dist/emotion/es/components/DateTimePicker/DateTimePicker.clear.config.js +2 -0
- package/dist/emotion/es/components/DateTimePicker/DateTimePicker.config.js +2 -0
- package/dist/emotion/es/components/LinkButton/LinkButton.config.js +11 -0
- package/dist/emotion/es/components/Note/Note.config.js +54 -7
- package/dist/emotion/es/components/Slider/Slider.config.js +17 -13
- package/dist/emotion/es/components/Steps/StepItem.config.js +60 -0
- package/dist/emotion/es/components/Steps/Steps.config.js +0 -20
- package/dist/emotion/es/components/Steps/Steps.js +5 -1
- package/dist/styled-components/cjs/components/Combobox/Combobox.config.js +48 -0
- package/dist/styled-components/cjs/components/DateTimePicker/DateTimePicker.clear.config.js +2 -0
- package/dist/styled-components/cjs/components/DateTimePicker/DateTimePicker.config.js +2 -0
- package/dist/styled-components/cjs/components/LinkButton/LinkButton.config.js +11 -0
- package/dist/styled-components/cjs/components/Note/Note.config.js +54 -7
- package/dist/styled-components/cjs/components/Slider/Slider.config.js +17 -13
- package/dist/styled-components/cjs/components/Steps/StepItem.config.js +70 -0
- package/dist/styled-components/cjs/components/Steps/Steps.config.js +0 -20
- package/dist/styled-components/cjs/components/Steps/Steps.js +5 -1
- package/dist/styled-components/es/components/Combobox/Combobox.config.js +48 -0
- package/dist/styled-components/es/components/DateTimePicker/DateTimePicker.clear.config.js +2 -0
- package/dist/styled-components/es/components/DateTimePicker/DateTimePicker.config.js +2 -0
- package/dist/styled-components/es/components/LinkButton/LinkButton.config.js +11 -0
- package/dist/styled-components/es/components/Note/Note.config.js +54 -7
- package/dist/styled-components/es/components/Slider/Slider.config.js +17 -13
- package/dist/styled-components/es/components/Steps/StepItem.config.js +60 -0
- package/dist/styled-components/es/components/Steps/Steps.config.js +0 -20
- package/dist/styled-components/es/components/Steps/Steps.js +5 -1
- package/package.json +8 -9
- package/types/components/Accordion/Accordion.d.ts +1 -1
- package/types/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/types/components/Calendar/Calendar.d.ts +2 -2
- package/types/components/Cell/Cell.d.ts +3 -3
- package/types/components/Combobox/Combobox.config.d.ts +6 -0
- package/types/components/Combobox/Combobox.d.ts +13 -0
- package/types/components/DatePicker/DatePicker.d.ts +8 -8
- package/types/components/LinkButton/LinkButton.config.d.ts +1 -0
- package/types/components/LinkButton/LinkButton.d.ts +1 -0
- package/types/components/Note/Note.config.d.ts +10 -0
- package/types/components/Note/Note.d.ts +6 -0
- package/types/components/Slider/Slider.config.d.ts +6 -0
- package/types/components/Slider/Slider.d.ts +9 -2
- package/types/components/Steps/StepItem.config.d.ts +14 -0
- package/types/components/TimePicker/TimePicker.d.ts +6 -2
- package/types/components/Tokens/Colors/Colors.styles.d.ts +2 -0
- package/types/components/Tokens/Typography/Typography.styles.d.ts +2 -0
- package/dist/css/cjs/components/Note/Note.config_2754qm.css +0 -9
- package/dist/css/es/components/Note/Note.config_2754qm.css +0 -9
package/dist/css/es/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export { Autocomplete } from './components/Autocomplete/Autocomplete.js';
|
|
|
5
5
|
export { Avatar } from './components/Avatar/Avatar.js';
|
|
6
6
|
export { AvatarGroup } from './components/AvatarGroup/AvatarGroup.js';
|
|
7
7
|
export { Badge } from './components/Badge/Badge.js';
|
|
8
|
+
export { BodyL, BodyM, BodyS, BodyXS, BodyXXS, DsplL, DsplM, DsplS, H1, H2, H3, H4, H5, H6, TextL, TextM, TextS, TextXS } from './components/Typography/Typography.js';
|
|
8
9
|
export { Breadcrumbs } from './components/Breadcrumbs/Breadcrumbs.js';
|
|
9
10
|
export { Button } from './components/Button/Button.js';
|
|
10
11
|
export { ButtonGroup } from './components/ButtonGroup/ButtonGroup.js';
|
|
@@ -31,9 +32,11 @@ export { File } from './components/File/File.js';
|
|
|
31
32
|
export { Flow } from './components/Flow/Flow.js';
|
|
32
33
|
export { Grid } from './components/Grid/Grid.js';
|
|
33
34
|
export { IconButton } from './components/IconButton/IconButton.js';
|
|
35
|
+
export { IconTabItem, TabItem } from './components/Tabs/TabItem.js';
|
|
34
36
|
export { Image } from './components/Image/Image.js';
|
|
35
37
|
export { Indicator } from './components/Indicator/Indicator.js';
|
|
36
38
|
export { InformationWrapper } from './components/InformationWrapper/InformationWrapper.js';
|
|
39
|
+
export { LineSkeleton, TextSkeleton } from './components/Skeleton/Skeleton.js';
|
|
37
40
|
export { Link } from './components/Link/Link.js';
|
|
38
41
|
export { LinkButton } from './components/LinkButton/LinkButton.js';
|
|
39
42
|
export { List } from './components/List/List.js';
|
|
@@ -56,15 +59,13 @@ export { Rating } from './components/Rating/Rating.js';
|
|
|
56
59
|
export { SegmentGroup, SegmentItem } from './components/Segment/Segment.js';
|
|
57
60
|
export { Select } from './components/Select/Select.js';
|
|
58
61
|
export { Sheet } from './components/Sheet/Sheet.js';
|
|
59
|
-
export { LineSkeleton, TextSkeleton } from './components/Skeleton/Skeleton.js';
|
|
60
62
|
export { Slider } from './components/Slider/Slider.js';
|
|
61
63
|
export { Spinner } from './components/Spinner/Spinner.js';
|
|
62
64
|
export { Steps } from './components/Steps/Steps.js';
|
|
63
65
|
export { Switch } from './components/Switch/Switch.js';
|
|
64
66
|
export { Table } from './components/Table/Table.js';
|
|
65
|
-
export { TabsController } from './components/Tabs/TabsController.js';
|
|
66
67
|
export { Tabs } from './components/Tabs/Tabs.js';
|
|
67
|
-
export {
|
|
68
|
+
export { TabsController } from './components/Tabs/TabsController.js';
|
|
68
69
|
export { TextArea } from './components/TextArea/TextArea.js';
|
|
69
70
|
export { TextField } from './components/TextField/TextField.js';
|
|
70
71
|
export { TextFieldGroup } from './components/TextFieldGroup/TextFieldGroup.js';
|
|
@@ -75,6 +76,5 @@ export { Toolbar, ToolbarDivider } from './components/Toolbar/Toolbar.js';
|
|
|
75
76
|
export { Tooltip } from './components/Tooltip/Tooltip.js';
|
|
76
77
|
export { Tour } from './components/Tour/Tour.js';
|
|
77
78
|
export { Tree } from './components/Tree/Tree.js';
|
|
78
|
-
export { BodyL, BodyM, BodyS, BodyXS, BodyXXS, DsplL, DsplM, DsplS, H1, H2, H3, H4, H5, H6, TextL, TextM, TextS, TextXS } from './components/Typography/Typography.js';
|
|
79
79
|
export { ViewContainer } from './components/ViewContainer/ViewContainer.js';
|
|
80
80
|
//# sourceMappingURL=index.js.map
|
|
@@ -14,6 +14,7 @@ const config = {
|
|
|
14
14
|
view: 'default',
|
|
15
15
|
size: 'm',
|
|
16
16
|
labelPlacement: 'outer',
|
|
17
|
+
chipView: 'secondary',
|
|
17
18
|
hintView: 'default',
|
|
18
19
|
hintSize: 'm'
|
|
19
20
|
},
|
|
@@ -735,6 +736,53 @@ const config = {
|
|
|
735
736
|
`,
|
|
736
737
|
outer: (0, _emotion.css)``
|
|
737
738
|
},
|
|
739
|
+
chipView: {
|
|
740
|
+
default: (0, _emotion.css)`
|
|
741
|
+
${_emotion.comboboxTokens.textFieldChipColor}: var(--inverse-text-primary);
|
|
742
|
+
${_emotion.comboboxTokens.textFieldChipColorHover}: var(--inverse-text-primary);
|
|
743
|
+
${_emotion.comboboxTokens.textFieldChipBackground}: var(--surface-solid-default);
|
|
744
|
+
${_emotion.comboboxTokens.textFieldChipBackgroundHover}: var(--surface-solid-default-hover);
|
|
745
|
+
${_emotion.comboboxTokens.textFieldChipCloseIconColor}: var(--inverse-text-secondary);
|
|
746
|
+
${_emotion.comboboxTokens.textFieldChipCloseIconColorReadonly}: var(--inverse-text-secondary);
|
|
747
|
+
${_emotion.comboboxTokens.textFieldChipCloseIconColorHover}: var(--inverse-text-primary);
|
|
748
|
+
|
|
749
|
+
${_emotion.comboboxTokens.textFieldChipBackgroundReadOnly}: var(--surface-solid-default);
|
|
750
|
+
${_emotion.comboboxTokens.textFieldChipColorReadOnly}: var(--inverse-text-primary);
|
|
751
|
+
${_emotion.comboboxTokens.textFieldChipBackgroundReadOnlyHover}: var(--surface-solid-default);
|
|
752
|
+
${_emotion.comboboxTokens.textFieldChipColorReadOnlyHover}: var(--inverse-text-primary);
|
|
753
|
+
${_emotion.comboboxTokens.textFieldChipOpacityReadonly}: 1;
|
|
754
|
+
`,
|
|
755
|
+
secondary: (0, _emotion.css)`
|
|
756
|
+
${_emotion.comboboxTokens.textFieldChipColor}: var(--text-primary);
|
|
757
|
+
${_emotion.comboboxTokens.textFieldChipColorHover}: var(--text-primary);
|
|
758
|
+
${_emotion.comboboxTokens.textFieldChipBackground}: var(--surface-transparent-secondary);
|
|
759
|
+
${_emotion.comboboxTokens.textFieldChipBackgroundHover}: var(--surface-transparent-secondary-hover);
|
|
760
|
+
${_emotion.comboboxTokens.textFieldChipCloseIconColor}: var(--text-secondary);
|
|
761
|
+
${_emotion.comboboxTokens.textFieldChipCloseIconColorHover}: var(--text-secondary-hover);
|
|
762
|
+
${_emotion.comboboxTokens.textFieldChipCloseIconColorReadonly}: var(--text-secondary);
|
|
763
|
+
|
|
764
|
+
${_emotion.comboboxTokens.textFieldChipBackgroundReadOnly}: var(--surface-transparent-secondary);
|
|
765
|
+
${_emotion.comboboxTokens.textFieldChipColorReadOnly}: var(--text-primary);
|
|
766
|
+
${_emotion.comboboxTokens.textFieldChipBackgroundReadOnlyHover}: var(--surface-transparent-secondary);
|
|
767
|
+
${_emotion.comboboxTokens.textFieldChipColorReadOnlyHover}: var(--text-primary);
|
|
768
|
+
${_emotion.comboboxTokens.textFieldChipOpacityReadonly}: 1;
|
|
769
|
+
`,
|
|
770
|
+
accent: (0, _emotion.css)`
|
|
771
|
+
${_emotion.comboboxTokens.textFieldChipColor}: var(--on-dark-text-primary);
|
|
772
|
+
${_emotion.comboboxTokens.textFieldChipColorHover}: var(--on-dark-text-primary);
|
|
773
|
+
${_emotion.comboboxTokens.textFieldChipBackground}: var(--surface-accent);
|
|
774
|
+
${_emotion.comboboxTokens.textFieldChipBackgroundHover}: var(--surface-accent-hover);
|
|
775
|
+
${_emotion.comboboxTokens.textFieldChipCloseIconColor}: var(--on-dark-text-secondary);
|
|
776
|
+
${_emotion.comboboxTokens.textFieldChipCloseIconColorReadonly}: var(--on-dark-text-secondary);
|
|
777
|
+
${_emotion.comboboxTokens.textFieldChipCloseIconColorHover}: var(--on-dark-text-primary);
|
|
778
|
+
|
|
779
|
+
${_emotion.comboboxTokens.textFieldChipBackgroundReadOnly}: var(--surface-accent);
|
|
780
|
+
${_emotion.comboboxTokens.textFieldChipColorReadOnly}: var(--on-dark-text-primary);
|
|
781
|
+
${_emotion.comboboxTokens.textFieldChipBackgroundReadOnlyHover}: var(--surface-accent);
|
|
782
|
+
${_emotion.comboboxTokens.textFieldChipColorReadOnlyHover}: var(--on-dark-text-primary);
|
|
783
|
+
${_emotion.comboboxTokens.textFieldChipOpacityReadonly}: 1;
|
|
784
|
+
`
|
|
785
|
+
},
|
|
738
786
|
hintView: {
|
|
739
787
|
default: (0, _emotion.css)`
|
|
740
788
|
${_emotion.comboboxTokens.textFieldTooltipBackgroundColor}: var(--surface-solid-card-brightness);
|
|
@@ -117,6 +117,8 @@ const config = {
|
|
|
117
117
|
|
|
118
118
|
${_emotion.dateTimePickerTokens.shortcutColor}: var(--text-primary);
|
|
119
119
|
${_emotion.dateTimePickerTokens.shortcutBackgroundHover}: var(--surface-transparent-secondary);
|
|
120
|
+
|
|
121
|
+
${_emotion.dateTimePickerTokens.timeGridDisabledOpacity}: 0.4;
|
|
120
122
|
`
|
|
121
123
|
},
|
|
122
124
|
size: {
|
|
@@ -104,6 +104,8 @@ const config = {
|
|
|
104
104
|
|
|
105
105
|
${_emotion.dateTimePickerTokens.shortcutColor}: var(--text-primary);
|
|
106
106
|
${_emotion.dateTimePickerTokens.shortcutBackgroundHover}: var(--surface-transparent-secondary);
|
|
107
|
+
|
|
108
|
+
${_emotion.dateTimePickerTokens.timeGridDisabledOpacity}: 0.4;
|
|
107
109
|
`
|
|
108
110
|
},
|
|
109
111
|
size: {
|
|
@@ -81,6 +81,17 @@ const config = {
|
|
|
81
81
|
${_emotion.linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);
|
|
82
82
|
${_emotion.linkButtonTokens.linkButtonTextColorHover}: var(--text-negative-hover);
|
|
83
83
|
${_emotion.linkButtonTokens.linkButtonTextColorActive}: var(--text-negative-active);
|
|
84
|
+
`,
|
|
85
|
+
info: (0, _emotion.css)`
|
|
86
|
+
${_emotion.linkButtonTokens.linkButtonColor}: var(--text-info);
|
|
87
|
+
${_emotion.linkButtonTokens.linkButtonIconColor}: var(--text-info);
|
|
88
|
+
${_emotion.linkButtonTokens.linkButtonTextColor}: var(--text-info);
|
|
89
|
+
${_emotion.linkButtonTokens.linkButtonBackgroundColor}: var(--surface-transparent-clear);
|
|
90
|
+
${_emotion.linkButtonTokens.linkButtonColorHover}: var(--text-info-hover);
|
|
91
|
+
${_emotion.linkButtonTokens.linkButtonColorActive}: var(--text-info-active);
|
|
92
|
+
${_emotion.linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);
|
|
93
|
+
${_emotion.linkButtonTokens.linkButtonTextColorHover}: var(--text-info-hover);
|
|
94
|
+
${_emotion.linkButtonTokens.linkButtonTextColorActive}: var(--text-info-active);
|
|
84
95
|
`
|
|
85
96
|
},
|
|
86
97
|
size: {
|
|
@@ -12,7 +12,8 @@ const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
|
12
12
|
const config = {
|
|
13
13
|
defaults: {
|
|
14
14
|
view: 'default',
|
|
15
|
-
size: 'l'
|
|
15
|
+
size: 'l',
|
|
16
|
+
orientation: 'vertical'
|
|
16
17
|
},
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
@@ -51,6 +52,8 @@ const config = {
|
|
|
51
52
|
${_emotion.noteTokens.gapScalable}: 1rem;
|
|
52
53
|
${_emotion.noteTokens.contentGap}: 0.25rem;
|
|
53
54
|
|
|
55
|
+
${_emotion.noteTokens.paddingBottomWithActionContent}: 0.4375rem;
|
|
56
|
+
|
|
54
57
|
${_emotion.noteTokens.closeIconTop}: 1rem;
|
|
55
58
|
${_emotion.noteTokens.closeIconRight}: 1rem;
|
|
56
59
|
${_emotion.noteTokens.closeIconColor}: var(--text-secondary);
|
|
@@ -60,7 +63,7 @@ const config = {
|
|
|
60
63
|
|
|
61
64
|
${_emotion.noteTokens.fixedContentBeforeWidth}: 1.5rem;
|
|
62
65
|
${_emotion.noteTokens.fixedContentBeforeHeight}: 2rem;
|
|
63
|
-
${_emotion.noteTokens.fixedContentBeforePadding}: 0.25rem
|
|
66
|
+
${_emotion.noteTokens.fixedContentBeforePadding}: 0.25rem 0rem;
|
|
64
67
|
|
|
65
68
|
${_emotion.noteTokens.titleFontFamily}: var(--plasma-typo-text-l-font-family);
|
|
66
69
|
${_emotion.noteTokens.titleFontSize}: var(--plasma-typo-text-l-font-size);
|
|
@@ -85,6 +88,8 @@ const config = {
|
|
|
85
88
|
${_emotion.noteTokens.gapScalable}: 0.75rem;
|
|
86
89
|
${_emotion.noteTokens.contentGap}: 0.125rem;
|
|
87
90
|
|
|
91
|
+
${_emotion.noteTokens.paddingBottomWithActionContent}: 0.5rem;
|
|
92
|
+
|
|
88
93
|
${_emotion.noteTokens.closeIconTop}: 0.75rem;
|
|
89
94
|
${_emotion.noteTokens.closeIconRight}: 0.75rem;
|
|
90
95
|
${_emotion.noteTokens.closeIconColor}: var(--text-secondary);
|
|
@@ -93,8 +98,8 @@ const config = {
|
|
|
93
98
|
${_emotion.noteTokens.closeIconButtonSize}: 1.5rem;
|
|
94
99
|
|
|
95
100
|
${_emotion.noteTokens.fixedContentBeforeWidth}: 1.5rem;
|
|
96
|
-
${_emotion.noteTokens.fixedContentBeforeHeight}: 1.
|
|
97
|
-
${_emotion.noteTokens.fixedContentBeforePadding}:
|
|
101
|
+
${_emotion.noteTokens.fixedContentBeforeHeight}: 1.625rem;
|
|
102
|
+
${_emotion.noteTokens.fixedContentBeforePadding}: 0rem;
|
|
98
103
|
|
|
99
104
|
${_emotion.noteTokens.titleFontFamily}: var(--plasma-typo-text-m-font-family);
|
|
100
105
|
${_emotion.noteTokens.titleFontSize}: var(--plasma-typo-text-m-font-size);
|
|
@@ -119,6 +124,8 @@ const config = {
|
|
|
119
124
|
${_emotion.noteTokens.gapScalable}: 0.75rem;
|
|
120
125
|
${_emotion.noteTokens.contentGap}: 0.125rem;
|
|
121
126
|
|
|
127
|
+
${_emotion.noteTokens.paddingBottomWithActionContent}: 0.3125rem;
|
|
128
|
+
|
|
122
129
|
${_emotion.noteTokens.closeIconTop}: 0.625rem;
|
|
123
130
|
${_emotion.noteTokens.closeIconRight}: 0.625rem;
|
|
124
131
|
${_emotion.noteTokens.closeIconColor}: var(--text-secondary);
|
|
@@ -128,7 +135,7 @@ const config = {
|
|
|
128
135
|
|
|
129
136
|
${_emotion.noteTokens.fixedContentBeforeWidth}: 1rem;
|
|
130
137
|
${_emotion.noteTokens.fixedContentBeforeHeight}: 1.125rem;
|
|
131
|
-
${_emotion.noteTokens.fixedContentBeforePadding}: 0.063rem
|
|
138
|
+
${_emotion.noteTokens.fixedContentBeforePadding}: 0.063rem 0rem;
|
|
132
139
|
|
|
133
140
|
${_emotion.noteTokens.titleFontFamily}: var(--plasma-typo-text-s-font-family);
|
|
134
141
|
${_emotion.noteTokens.titleFontSize}: var(--plasma-typo-text-s-font-size);
|
|
@@ -153,6 +160,8 @@ const config = {
|
|
|
153
160
|
${_emotion.noteTokens.gapScalable}: 0.5rem;
|
|
154
161
|
${_emotion.noteTokens.contentGap}: 0.125rem;
|
|
155
162
|
|
|
163
|
+
${_emotion.noteTokens.paddingBottomWithActionContent}: 0.1875rem;
|
|
164
|
+
|
|
156
165
|
${_emotion.noteTokens.closeIconTop}: 0.625rem;
|
|
157
166
|
${_emotion.noteTokens.closeIconRight}: 0.625rem;
|
|
158
167
|
${_emotion.noteTokens.closeIconColor}: var(--text-secondary);
|
|
@@ -162,7 +171,7 @@ const config = {
|
|
|
162
171
|
|
|
163
172
|
${_emotion.noteTokens.fixedContentBeforeWidth}: 1rem;
|
|
164
173
|
${_emotion.noteTokens.fixedContentBeforeHeight}: 1rem;
|
|
165
|
-
${_emotion.noteTokens.fixedContentBeforePadding}:
|
|
174
|
+
${_emotion.noteTokens.fixedContentBeforePadding}: 0rem;
|
|
166
175
|
|
|
167
176
|
${_emotion.noteTokens.titleFontFamily}: var(--plasma-typo-text-xs-font-family);
|
|
168
177
|
${_emotion.noteTokens.titleFontSize}: var(--plasma-typo-text-xs-font-size);
|
|
@@ -179,6 +188,44 @@ const config = {
|
|
|
179
188
|
${_emotion.noteTokens.textLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);
|
|
180
189
|
${_emotion.noteTokens.textLineHeight}: var(--plasma-typo-text-xs-line-height);
|
|
181
190
|
`
|
|
191
|
+
},
|
|
192
|
+
orientation: {
|
|
193
|
+
vertical: (0, _emotion.css)``,
|
|
194
|
+
horizontal: (0, _emotion.css)``
|
|
182
195
|
}
|
|
183
|
-
}
|
|
196
|
+
},
|
|
197
|
+
intersections: [
|
|
198
|
+
{
|
|
199
|
+
size: 'l',
|
|
200
|
+
orientation: 'horizontal',
|
|
201
|
+
style: (0, _emotion.css)`
|
|
202
|
+
${_emotion.noteTokens.actionContentMargin}: -0.5rem 0rem 0rem 1rem;
|
|
203
|
+
${_emotion.noteTokens.closeIconMargin}: 0.4375rem 0rem 0rem 1.25rem;
|
|
204
|
+
`
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
size: 'm',
|
|
208
|
+
orientation: 'horizontal',
|
|
209
|
+
style: (0, _emotion.css)`
|
|
210
|
+
${_emotion.noteTokens.actionContentMargin}: -0.6875rem 0rem 0rem 1rem;
|
|
211
|
+
${_emotion.noteTokens.closeIconMargin}: 0.0625rem 0rem 0rem 1.25rem;
|
|
212
|
+
`
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
size: 's',
|
|
216
|
+
orientation: 'horizontal',
|
|
217
|
+
style: (0, _emotion.css)`
|
|
218
|
+
${_emotion.noteTokens.actionContentMargin}: -0.625rem 0rem 0rem 0.75rem;
|
|
219
|
+
${_emotion.noteTokens.closeIconMargin}: -0.125rem 0rem 0rem 0.875rem;
|
|
220
|
+
`
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
size: 'xs',
|
|
224
|
+
orientation: 'horizontal',
|
|
225
|
+
style: (0, _emotion.css)`
|
|
226
|
+
${_emotion.noteTokens.actionContentMargin}: -0.5rem 0rem 0rem 0.75rem;
|
|
227
|
+
${_emotion.noteTokens.closeIconMargin}: -0.0625rem 0rem 0rem 0.875rem;
|
|
228
|
+
`
|
|
229
|
+
}
|
|
230
|
+
]
|
|
184
231
|
};
|
|
@@ -12,7 +12,8 @@ const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
|
12
12
|
const config = {
|
|
13
13
|
defaults: {
|
|
14
14
|
view: 'default',
|
|
15
|
-
size: 'm'
|
|
15
|
+
size: 'm',
|
|
16
|
+
pointerSize: 'small'
|
|
16
17
|
},
|
|
17
18
|
variations: {
|
|
18
19
|
view: {
|
|
@@ -122,10 +123,6 @@ const config = {
|
|
|
122
123
|
${_emotion.sliderTokens.valueLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
|
|
123
124
|
${_emotion.sliderTokens.valueLineHeight}: var(--plasma-typo-body-m-line-height);
|
|
124
125
|
|
|
125
|
-
${_emotion.sliderTokens.thumbSize}: 1rem;
|
|
126
|
-
${_emotion.sliderTokens.thumbSizeLarge}: 1.25rem;
|
|
127
|
-
${_emotion.sliderTokens.thumbBorder}: 0.0625rem solid;
|
|
128
|
-
|
|
129
126
|
${_emotion.sliderTokens.tickSize}: 0.5rem;
|
|
130
127
|
|
|
131
128
|
${_emotion.sliderTokens.currentValueTopOffset}: 1.625rem;
|
|
@@ -175,10 +172,6 @@ const config = {
|
|
|
175
172
|
${_emotion.sliderTokens.valueLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
|
|
176
173
|
${_emotion.sliderTokens.valueLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
177
174
|
|
|
178
|
-
${_emotion.sliderTokens.thumbSize}: 1rem;
|
|
179
|
-
${_emotion.sliderTokens.thumbSizeLarge}: 1.25rem;
|
|
180
|
-
${_emotion.sliderTokens.thumbBorder}: 0.0625rem solid;
|
|
181
|
-
|
|
182
175
|
${_emotion.sliderTokens.tickSize}: 0.5rem;
|
|
183
176
|
|
|
184
177
|
${_emotion.sliderTokens.currentValueTopOffset}: 1.75rem;
|
|
@@ -228,10 +221,6 @@ const config = {
|
|
|
228
221
|
${_emotion.sliderTokens.valueLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
|
|
229
222
|
${_emotion.sliderTokens.valueLineHeight}: var(--plasma-typo-body-xs-line-height);
|
|
230
223
|
|
|
231
|
-
${_emotion.sliderTokens.thumbSize}: 1rem;
|
|
232
|
-
${_emotion.sliderTokens.thumbSizeLarge}: 1.25rem;
|
|
233
|
-
${_emotion.sliderTokens.thumbBorder}: 0.0625rem solid;
|
|
234
|
-
|
|
235
224
|
${_emotion.sliderTokens.tickSize}: 0.5rem;
|
|
236
225
|
|
|
237
226
|
${_emotion.sliderTokens.currentValueTopOffset}: 1.25rem;
|
|
@@ -253,6 +242,21 @@ const config = {
|
|
|
253
242
|
${_emotion.sliderTokens.textFieldLineHeight}: var(--plasma-typo-body-s-line-height);
|
|
254
243
|
`
|
|
255
244
|
},
|
|
245
|
+
pointerSize: {
|
|
246
|
+
small: (0, _emotion.css)`
|
|
247
|
+
${_emotion.sliderTokens.thumbSize}: 1rem;
|
|
248
|
+
${_emotion.sliderTokens.thumbBorderStyle}: solid;
|
|
249
|
+
${_emotion.sliderTokens.thumbBorderWidth}: 0.0625rem;
|
|
250
|
+
`,
|
|
251
|
+
large: (0, _emotion.css)`
|
|
252
|
+
${_emotion.sliderTokens.thumbSize}: 1.25rem;
|
|
253
|
+
${_emotion.sliderTokens.thumbBorderStyle}: solid;
|
|
254
|
+
${_emotion.sliderTokens.thumbBorderWidth}: 0.0625rem;
|
|
255
|
+
`,
|
|
256
|
+
none: (0, _emotion.css)`
|
|
257
|
+
${_emotion.sliderTokens.thumbSize}: 0rem;
|
|
258
|
+
`
|
|
259
|
+
},
|
|
256
260
|
disabled: {
|
|
257
261
|
true: (0, _emotion.css)`
|
|
258
262
|
${_emotion.sliderTokens.disabledOpacity}: 0.4;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "config", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return config;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
12
|
+
const config = {
|
|
13
|
+
defaults: {
|
|
14
|
+
view: 'default'
|
|
15
|
+
},
|
|
16
|
+
variations: {
|
|
17
|
+
view: {
|
|
18
|
+
default: (0, _emotion.css)`
|
|
19
|
+
${_emotion.stepsTokens.completedIndicatorColor}: var(--inverse-text-primary);
|
|
20
|
+
${_emotion.stepsTokens.completedIndicatorColorHover}: var(--inverse-text-primary);
|
|
21
|
+
${_emotion.stepsTokens.completedIndicatorBackground}: var(--surface-solid-default);
|
|
22
|
+
${_emotion.stepsTokens.completedIndicatorBackgroundHover}: var(--surface-solid-default-hover);
|
|
23
|
+
${_emotion.stepsTokens.completedTitleColor}: var(--text-primary);
|
|
24
|
+
${_emotion.stepsTokens.completedTitleColorHover}: var(--text-primary-hover);
|
|
25
|
+
|
|
26
|
+
${_emotion.stepsTokens.dividerColor}: var(--surface-solid-default);
|
|
27
|
+
`,
|
|
28
|
+
accent: (0, _emotion.css)`
|
|
29
|
+
${_emotion.stepsTokens.completedIndicatorColor}: var(--on-dark-text-primary);
|
|
30
|
+
${_emotion.stepsTokens.completedIndicatorColorHover}: var(--on-dark-text-primary-hover);
|
|
31
|
+
${_emotion.stepsTokens.completedIndicatorBackground}: var(--surface-accent);
|
|
32
|
+
${_emotion.stepsTokens.completedIndicatorBackgroundHover}: var(--surface-accent-hover);
|
|
33
|
+
${_emotion.stepsTokens.completedTitleColor}: var(--text-primary);
|
|
34
|
+
${_emotion.stepsTokens.completedTitleColorHover}: var(--text-primary-hover);
|
|
35
|
+
|
|
36
|
+
${_emotion.stepsTokens.dividerColor}: var(--surface-accent);
|
|
37
|
+
`,
|
|
38
|
+
negative: (0, _emotion.css)`
|
|
39
|
+
${_emotion.stepsTokens.completedIndicatorColor}: var(--on-dark-text-primary);
|
|
40
|
+
${_emotion.stepsTokens.completedIndicatorColorHover}: var(--on-dark-text-primary-hover);
|
|
41
|
+
${_emotion.stepsTokens.completedIndicatorBackground}: var(--surface-negative);
|
|
42
|
+
${_emotion.stepsTokens.completedIndicatorBackgroundHover}: var(--surface-negative-hover);
|
|
43
|
+
${_emotion.stepsTokens.completedTitleColor}: var(--text-negative);
|
|
44
|
+
${_emotion.stepsTokens.completedTitleColorHover}: var(--text-negative-hover);
|
|
45
|
+
|
|
46
|
+
${_emotion.stepsTokens.dividerColor}: var(--surface-negative);
|
|
47
|
+
`,
|
|
48
|
+
warning: (0, _emotion.css)`
|
|
49
|
+
${_emotion.stepsTokens.completedIndicatorColor}: var(--on-dark-text-primary);
|
|
50
|
+
${_emotion.stepsTokens.completedIndicatorColorHover}: var(--on-dark-text-primary-hover);
|
|
51
|
+
${_emotion.stepsTokens.completedIndicatorBackground}: var(--surface-warning);
|
|
52
|
+
${_emotion.stepsTokens.completedIndicatorBackgroundHover}: var(--surface-warning-hover);
|
|
53
|
+
${_emotion.stepsTokens.completedTitleColor}: var(--text-warning);
|
|
54
|
+
${_emotion.stepsTokens.completedTitleColorHover}: var(--text-warning-hover);
|
|
55
|
+
|
|
56
|
+
${_emotion.stepsTokens.dividerColor}: var(--surface-warning);
|
|
57
|
+
`,
|
|
58
|
+
positive: (0, _emotion.css)`
|
|
59
|
+
${_emotion.stepsTokens.completedIndicatorColor}: var(--on-dark-text-primary);
|
|
60
|
+
${_emotion.stepsTokens.completedIndicatorColorHover}: var(--on-dark-text-primary-hover);
|
|
61
|
+
${_emotion.stepsTokens.completedIndicatorBackground}: var(--surface-positive);
|
|
62
|
+
${_emotion.stepsTokens.completedIndicatorBackgroundHover}: var(--surface-positive-hover);
|
|
63
|
+
${_emotion.stepsTokens.completedTitleColor}: var(--text-positive);
|
|
64
|
+
${_emotion.stepsTokens.completedTitleColorHover}: var(--text-positive-hover);
|
|
65
|
+
|
|
66
|
+
${_emotion.stepsTokens.dividerColor}: var(--surface-positive);
|
|
67
|
+
`
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
@@ -102,11 +102,6 @@ const config = {
|
|
|
102
102
|
${_emotion.stepsTokens.contentVerticalPadding}: 1.0625rem;
|
|
103
103
|
${_emotion.stepsTokens.verticalContentPaddingLeft}: 0.75rem;
|
|
104
104
|
|
|
105
|
-
${_emotion.stepsTokens.smallIndicatorIndentHeight}: 1rem;
|
|
106
|
-
${_emotion.stepsTokens.largeIndicatorIndentHeight}: 0.625rem;
|
|
107
|
-
${_emotion.stepsTokens.smallBulletIndentHeight}: 1.5rem;
|
|
108
|
-
${_emotion.stepsTokens.largeBulletIndentHeight}: 1.25rem;
|
|
109
|
-
|
|
110
105
|
${_emotion.stepsTokens.indicatorFontFamily}: var(--plasma-typo-body-xs-font-family);
|
|
111
106
|
${_emotion.stepsTokens.indicatorFontSize}: var(--plasma-typo-body-xs-font-size);
|
|
112
107
|
${_emotion.stepsTokens.indicatorFontStyle}: var(--plasma-typo-body-xs-font-style);
|
|
@@ -149,11 +144,6 @@ const config = {
|
|
|
149
144
|
${_emotion.stepsTokens.contentVerticalPadding}: 0.875rem;
|
|
150
145
|
${_emotion.stepsTokens.verticalContentPaddingLeft}: 0.75rem;
|
|
151
146
|
|
|
152
|
-
${_emotion.stepsTokens.smallIndicatorIndentHeight}: 0.75rem;
|
|
153
|
-
${_emotion.stepsTokens.largeIndicatorIndentHeight}: 0.4375rem;
|
|
154
|
-
${_emotion.stepsTokens.smallBulletIndentHeight}: 1.25rem;
|
|
155
|
-
${_emotion.stepsTokens.largeBulletIndentHeight}: 1.125rem;
|
|
156
|
-
|
|
157
147
|
${_emotion.stepsTokens.indicatorFontFamily}: var(--plasma-typo-body-xs-font-family);
|
|
158
148
|
${_emotion.stepsTokens.indicatorFontSize}: var(--plasma-typo-body-xs-font-size);
|
|
159
149
|
${_emotion.stepsTokens.indicatorFontStyle}: var(--plasma-typo-body-xs-font-style);
|
|
@@ -196,11 +186,6 @@ const config = {
|
|
|
196
186
|
${_emotion.stepsTokens.contentVerticalPadding}: 0.6875rem;
|
|
197
187
|
${_emotion.stepsTokens.verticalContentPaddingLeft}: 0.75rem;
|
|
198
188
|
|
|
199
|
-
${_emotion.stepsTokens.smallIndicatorIndentHeight}: 0.5rem;
|
|
200
|
-
${_emotion.stepsTokens.largeIndicatorIndentHeight}: 0.5rem;
|
|
201
|
-
${_emotion.stepsTokens.smallBulletIndentHeight}: 1rem;
|
|
202
|
-
${_emotion.stepsTokens.largeBulletIndentHeight}: 0.75rem;
|
|
203
|
-
|
|
204
189
|
${_emotion.stepsTokens.indicatorFontFamily}: var(--plasma-typo-body-xs-font-family);
|
|
205
190
|
${_emotion.stepsTokens.indicatorFontSize}: var(--plasma-typo-body-xs-font-size);
|
|
206
191
|
${_emotion.stepsTokens.indicatorFontStyle}: var(--plasma-typo-body-xs-font-style);
|
|
@@ -243,11 +228,6 @@ const config = {
|
|
|
243
228
|
${_emotion.stepsTokens.contentVerticalPadding}: 0.5625rem;
|
|
244
229
|
${_emotion.stepsTokens.verticalContentPaddingLeft}: 0.75rem;
|
|
245
230
|
|
|
246
|
-
${_emotion.stepsTokens.smallIndicatorIndentHeight}: 0.25rem;
|
|
247
|
-
${_emotion.stepsTokens.largeIndicatorIndentHeight}: 0.25rem;
|
|
248
|
-
${_emotion.stepsTokens.smallBulletIndentHeight}: 0.75rem;
|
|
249
|
-
${_emotion.stepsTokens.largeBulletIndentHeight}: 0.5rem;
|
|
250
|
-
|
|
251
231
|
${_emotion.stepsTokens.indicatorFontFamily}: var(--plasma-typo-body-xs-font-family);
|
|
252
232
|
${_emotion.stepsTokens.indicatorFontSize}: var(--plasma-typo-body-xs-font-size);
|
|
253
233
|
${_emotion.stepsTokens.indicatorFontStyle}: var(--plasma-typo-body-xs-font-style);
|
|
@@ -9,7 +9,11 @@ Object.defineProperty(exports, "Steps", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
12
|
+
const _StepItemconfig = require("./StepItem.config");
|
|
12
13
|
const _Stepsconfig = require("./Steps.config");
|
|
13
|
-
const
|
|
14
|
+
const mergedItemConfig = (0, _emotion.mergeConfig)(_emotion.stepItemConfig, _StepItemconfig.config);
|
|
15
|
+
const StepItem = (0, _emotion.component)(mergedItemConfig);
|
|
16
|
+
const stepsConfig = (0, _emotion.stepsConfig)(StepItem);
|
|
17
|
+
const mergedConfig = (0, _emotion.mergeConfig)(stepsConfig, _Stepsconfig.config);
|
|
14
18
|
const StepsComponent = (0, _emotion.component)(mergedConfig);
|
|
15
19
|
const Steps = StepsComponent;
|
|
@@ -4,6 +4,7 @@ export const config = {
|
|
|
4
4
|
view: 'default',
|
|
5
5
|
size: 'm',
|
|
6
6
|
labelPlacement: 'outer',
|
|
7
|
+
chipView: 'secondary',
|
|
7
8
|
hintView: 'default',
|
|
8
9
|
hintSize: 'm'
|
|
9
10
|
},
|
|
@@ -725,6 +726,53 @@ export const config = {
|
|
|
725
726
|
`,
|
|
726
727
|
outer: css``
|
|
727
728
|
},
|
|
729
|
+
chipView: {
|
|
730
|
+
default: css`
|
|
731
|
+
${tokens.textFieldChipColor}: var(--inverse-text-primary);
|
|
732
|
+
${tokens.textFieldChipColorHover}: var(--inverse-text-primary);
|
|
733
|
+
${tokens.textFieldChipBackground}: var(--surface-solid-default);
|
|
734
|
+
${tokens.textFieldChipBackgroundHover}: var(--surface-solid-default-hover);
|
|
735
|
+
${tokens.textFieldChipCloseIconColor}: var(--inverse-text-secondary);
|
|
736
|
+
${tokens.textFieldChipCloseIconColorReadonly}: var(--inverse-text-secondary);
|
|
737
|
+
${tokens.textFieldChipCloseIconColorHover}: var(--inverse-text-primary);
|
|
738
|
+
|
|
739
|
+
${tokens.textFieldChipBackgroundReadOnly}: var(--surface-solid-default);
|
|
740
|
+
${tokens.textFieldChipColorReadOnly}: var(--inverse-text-primary);
|
|
741
|
+
${tokens.textFieldChipBackgroundReadOnlyHover}: var(--surface-solid-default);
|
|
742
|
+
${tokens.textFieldChipColorReadOnlyHover}: var(--inverse-text-primary);
|
|
743
|
+
${tokens.textFieldChipOpacityReadonly}: 1;
|
|
744
|
+
`,
|
|
745
|
+
secondary: css`
|
|
746
|
+
${tokens.textFieldChipColor}: var(--text-primary);
|
|
747
|
+
${tokens.textFieldChipColorHover}: var(--text-primary);
|
|
748
|
+
${tokens.textFieldChipBackground}: var(--surface-transparent-secondary);
|
|
749
|
+
${tokens.textFieldChipBackgroundHover}: var(--surface-transparent-secondary-hover);
|
|
750
|
+
${tokens.textFieldChipCloseIconColor}: var(--text-secondary);
|
|
751
|
+
${tokens.textFieldChipCloseIconColorHover}: var(--text-secondary-hover);
|
|
752
|
+
${tokens.textFieldChipCloseIconColorReadonly}: var(--text-secondary);
|
|
753
|
+
|
|
754
|
+
${tokens.textFieldChipBackgroundReadOnly}: var(--surface-transparent-secondary);
|
|
755
|
+
${tokens.textFieldChipColorReadOnly}: var(--text-primary);
|
|
756
|
+
${tokens.textFieldChipBackgroundReadOnlyHover}: var(--surface-transparent-secondary);
|
|
757
|
+
${tokens.textFieldChipColorReadOnlyHover}: var(--text-primary);
|
|
758
|
+
${tokens.textFieldChipOpacityReadonly}: 1;
|
|
759
|
+
`,
|
|
760
|
+
accent: css`
|
|
761
|
+
${tokens.textFieldChipColor}: var(--on-dark-text-primary);
|
|
762
|
+
${tokens.textFieldChipColorHover}: var(--on-dark-text-primary);
|
|
763
|
+
${tokens.textFieldChipBackground}: var(--surface-accent);
|
|
764
|
+
${tokens.textFieldChipBackgroundHover}: var(--surface-accent-hover);
|
|
765
|
+
${tokens.textFieldChipCloseIconColor}: var(--on-dark-text-secondary);
|
|
766
|
+
${tokens.textFieldChipCloseIconColorReadonly}: var(--on-dark-text-secondary);
|
|
767
|
+
${tokens.textFieldChipCloseIconColorHover}: var(--on-dark-text-primary);
|
|
768
|
+
|
|
769
|
+
${tokens.textFieldChipBackgroundReadOnly}: var(--surface-accent);
|
|
770
|
+
${tokens.textFieldChipColorReadOnly}: var(--on-dark-text-primary);
|
|
771
|
+
${tokens.textFieldChipBackgroundReadOnlyHover}: var(--surface-accent);
|
|
772
|
+
${tokens.textFieldChipColorReadOnlyHover}: var(--on-dark-text-primary);
|
|
773
|
+
${tokens.textFieldChipOpacityReadonly}: 1;
|
|
774
|
+
`
|
|
775
|
+
},
|
|
728
776
|
hintView: {
|
|
729
777
|
default: css`
|
|
730
778
|
${tokens.textFieldTooltipBackgroundColor}: var(--surface-solid-card-brightness);
|
|
@@ -71,6 +71,17 @@ export const config = {
|
|
|
71
71
|
${linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);
|
|
72
72
|
${linkButtonTokens.linkButtonTextColorHover}: var(--text-negative-hover);
|
|
73
73
|
${linkButtonTokens.linkButtonTextColorActive}: var(--text-negative-active);
|
|
74
|
+
`,
|
|
75
|
+
info: css`
|
|
76
|
+
${linkButtonTokens.linkButtonColor}: var(--text-info);
|
|
77
|
+
${linkButtonTokens.linkButtonIconColor}: var(--text-info);
|
|
78
|
+
${linkButtonTokens.linkButtonTextColor}: var(--text-info);
|
|
79
|
+
${linkButtonTokens.linkButtonBackgroundColor}: var(--surface-transparent-clear);
|
|
80
|
+
${linkButtonTokens.linkButtonColorHover}: var(--text-info-hover);
|
|
81
|
+
${linkButtonTokens.linkButtonColorActive}: var(--text-info-active);
|
|
82
|
+
${linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);
|
|
83
|
+
${linkButtonTokens.linkButtonTextColorHover}: var(--text-info-hover);
|
|
84
|
+
${linkButtonTokens.linkButtonTextColorActive}: var(--text-info-active);
|
|
74
85
|
`
|
|
75
86
|
},
|
|
76
87
|
size: {
|