@sheinx/theme 3.1.27 → 3.2.0-beta.2
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/cjs/alert/alert.d.ts.map +1 -1
- package/cjs/alert/alert.js +4 -1
- package/cjs/alert/rule.js +2 -2
- package/cjs/alert/token.js +7 -2
- package/cjs/alert/type.d.ts +19 -1
- package/cjs/alert/type.d.ts.map +1 -1
- package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/cjs/breadcrumb/breadcrumb.js +2 -4
- package/cjs/breadcrumb/token.js +3 -9
- package/cjs/breadcrumb/type.d.ts +7 -19
- package/cjs/breadcrumb/type.d.ts.map +1 -1
- package/cjs/button/button.js +7 -7
- package/cjs/button/token.js +8 -8
- package/cjs/button/type.d.ts +2 -2
- package/cjs/card/card.d.ts.map +1 -1
- package/cjs/card/card.js +16 -2
- package/cjs/card/token.js +32 -3
- package/cjs/card/type.d.ts +85 -1
- package/cjs/card/type.d.ts.map +1 -1
- package/cjs/carousel/carousel.js +1 -1
- package/cjs/carousel/token.js +1 -1
- package/cjs/carousel/type.d.ts +1 -1
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +7 -4
- package/cjs/cascader/token.js +13 -4
- package/cjs/cascader/type.d.ts +22 -4
- package/cjs/cascader/type.d.ts.map +1 -1
- package/cjs/collapse/collapse.js +4 -4
- package/cjs/collapse/token.js +4 -4
- package/cjs/collapse/type.d.ts +4 -4
- package/cjs/date-picker/date-picker.js +4 -4
- package/cjs/date-picker/token.js +4 -4
- package/cjs/date-picker/type.d.ts +4 -4
- package/cjs/descriptions/descriptions.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +6 -4
- package/cjs/descriptions/rule.js +3 -2
- package/cjs/descriptions/token.js +11 -3
- package/cjs/descriptions/type.d.ts +15 -3
- package/cjs/descriptions/type.d.ts.map +1 -1
- package/cjs/divider/divider.d.ts.map +1 -1
- package/cjs/divider/divider.js +1 -0
- package/cjs/divider/token.js +2 -1
- package/cjs/divider/type.d.ts +6 -0
- package/cjs/divider/type.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.js +6 -4
- package/cjs/dropdown/rule.js +2 -0
- package/cjs/dropdown/token.js +9 -5
- package/cjs/dropdown/type.d.ts +16 -4
- package/cjs/dropdown/type.d.ts.map +1 -1
- package/cjs/empty/empty.d.ts.map +1 -1
- package/cjs/empty/empty.js +2 -1
- package/cjs/empty/rule.js +1 -1
- package/cjs/empty/token.js +5 -2
- package/cjs/empty/type.d.ts +6 -0
- package/cjs/empty/type.d.ts.map +1 -1
- package/cjs/form/form.d.ts.map +1 -1
- package/cjs/form/form.js +9 -2
- package/cjs/form/token.js +19 -2
- package/cjs/form/type.d.ts +44 -2
- package/cjs/form/type.d.ts.map +1 -1
- package/cjs/image/image.d.ts.map +1 -1
- package/cjs/image/image.js +5 -3
- package/cjs/image/rule.js +1 -1
- package/cjs/image/token.js +7 -3
- package/cjs/image/type.d.ts +15 -3
- package/cjs/image/type.d.ts.map +1 -1
- package/cjs/index.d.ts +4 -2
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +27 -1
- package/cjs/input/input.d.ts.map +1 -1
- package/cjs/input/input.js +21 -5
- package/cjs/input/rule.js +1 -7
- package/cjs/input/token.js +44 -15
- package/cjs/input/type.d.ts +115 -19
- package/cjs/input/type.d.ts.map +1 -1
- package/cjs/list/list.d.ts.map +1 -1
- package/cjs/list/list.js +5 -1
- package/cjs/list/token.js +11 -1
- package/cjs/list/type.d.ts +25 -1
- package/cjs/list/type.d.ts.map +1 -1
- package/cjs/menu/menu.d.ts.map +1 -1
- package/cjs/menu/menu.js +34 -5
- package/cjs/menu/token.js +106 -5
- package/cjs/menu/type.d.ts +178 -4
- package/cjs/menu/type.d.ts.map +1 -1
- package/cjs/modal/modal.js +1 -1
- package/cjs/modal/token.js +1 -1
- package/cjs/modal/type.d.ts +1 -1
- package/cjs/popover/popover.d.ts.map +1 -1
- package/cjs/popover/popover.js +9 -7
- package/cjs/popover/rule.js +2 -2
- package/cjs/popover/token.js +11 -7
- package/cjs/popover/type.d.ts +19 -7
- package/cjs/popover/type.d.ts.map +1 -1
- package/cjs/progress/progress.d.ts.map +1 -1
- package/cjs/progress/progress.js +15 -1
- package/cjs/progress/token.js +81 -1
- package/cjs/progress/type.d.ts +87 -3
- package/cjs/progress/type.d.ts.map +1 -1
- package/cjs/rate/rate.d.ts.map +1 -1
- package/cjs/rate/rate.js +3 -1
- package/cjs/rate/token.js +6 -2
- package/cjs/rate/type.d.ts +13 -1
- package/cjs/rate/type.d.ts.map +1 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +23 -7
- package/cjs/select/token.js +62 -12
- package/cjs/select/type.d.ts +103 -7
- package/cjs/select/type.d.ts.map +1 -1
- package/cjs/slider/slider.js +1 -1
- package/cjs/slider/token.js +1 -1
- package/cjs/slider/type.d.ts +1 -1
- package/cjs/table/table.d.ts.map +1 -1
- package/cjs/table/table.js +13 -0
- package/cjs/table/token.js +28 -1
- package/cjs/table/type.d.ts +78 -0
- package/cjs/table/type.d.ts.map +1 -1
- package/cjs/tabs/tabs.js +1 -1
- package/cjs/tabs/token.js +1 -1
- package/cjs/tabs/type.d.ts +1 -1
- package/cjs/tag/rule.js +1 -1
- package/cjs/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +7 -4
- package/cjs/tag/token.js +10 -34
- package/cjs/tag/type.d.ts +22 -4
- package/cjs/tag/type.d.ts.map +1 -1
- package/cjs/textarea/textarea.js +1 -1
- package/cjs/textarea/token.js +1 -1
- package/cjs/textarea/type.d.ts +1 -1
- package/cjs/token/figma.js +6 -0
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +1 -0
- package/cjs/token/type.d.ts +7 -0
- package/cjs/token/type.d.ts.map +1 -1
- package/cjs/tooltip/token.js +1 -1
- package/cjs/tooltip/tooltip.js +1 -1
- package/cjs/tooltip/type.d.ts +1 -1
- package/cjs/transfer/rule.js +1 -8
- package/cjs/transfer/token.js +21 -4
- package/cjs/transfer/transfer.d.ts.map +1 -1
- package/cjs/transfer/transfer.js +11 -5
- package/cjs/transfer/type.d.ts +54 -18
- package/cjs/transfer/type.d.ts.map +1 -1
- package/cjs/tree/rule.js +2 -0
- package/cjs/tree/token.js +8 -3
- package/cjs/tree/tree.d.ts.map +1 -1
- package/cjs/tree/tree.js +3 -1
- package/cjs/tree/type.d.ts +16 -4
- package/cjs/tree/type.d.ts.map +1 -1
- package/cjs/tree-select/token.js +4 -4
- package/cjs/tree-select/tree-select.js +4 -4
- package/cjs/tree-select/type.d.ts +4 -4
- package/cjs/upload/token.js +2 -2
- package/cjs/upload/type.d.ts +2 -2
- package/cjs/upload/upload.js +2 -2
- package/cjs/utils/css-var.d.ts +1 -0
- package/cjs/utils/css-var.d.ts.map +1 -1
- package/cjs/utils/css-var.js +6 -1
- package/esm/alert/alert.d.ts.map +1 -1
- package/esm/alert/alert.js +4 -1
- package/esm/alert/rule.js +2 -2
- package/esm/alert/token.js +7 -2
- package/esm/alert/type.d.ts +19 -1
- package/esm/alert/type.d.ts.map +1 -1
- package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/esm/breadcrumb/breadcrumb.js +2 -4
- package/esm/breadcrumb/token.js +3 -9
- package/esm/breadcrumb/type.d.ts +7 -19
- package/esm/breadcrumb/type.d.ts.map +1 -1
- package/esm/button/button.js +7 -7
- package/esm/button/token.js +8 -8
- package/esm/button/type.d.ts +2 -2
- package/esm/card/card.d.ts.map +1 -1
- package/esm/card/card.js +16 -2
- package/esm/card/token.js +32 -3
- package/esm/card/type.d.ts +85 -1
- package/esm/card/type.d.ts.map +1 -1
- package/esm/carousel/carousel.js +1 -1
- package/esm/carousel/token.js +1 -1
- package/esm/carousel/type.d.ts +1 -1
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +7 -4
- package/esm/cascader/token.js +13 -4
- package/esm/cascader/type.d.ts +22 -4
- package/esm/cascader/type.d.ts.map +1 -1
- package/esm/collapse/collapse.js +4 -4
- package/esm/collapse/token.js +4 -4
- package/esm/collapse/type.d.ts +4 -4
- package/esm/date-picker/date-picker.js +4 -4
- package/esm/date-picker/token.js +4 -4
- package/esm/date-picker/type.d.ts +4 -4
- package/esm/descriptions/descriptions.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +6 -4
- package/esm/descriptions/rule.js +3 -2
- package/esm/descriptions/token.js +11 -3
- package/esm/descriptions/type.d.ts +15 -3
- package/esm/descriptions/type.d.ts.map +1 -1
- package/esm/divider/divider.d.ts.map +1 -1
- package/esm/divider/divider.js +1 -0
- package/esm/divider/token.js +2 -1
- package/esm/divider/type.d.ts +6 -0
- package/esm/divider/type.d.ts.map +1 -1
- package/esm/dropdown/dropdown.d.ts.map +1 -1
- package/esm/dropdown/dropdown.js +6 -4
- package/esm/dropdown/rule.js +2 -0
- package/esm/dropdown/token.js +9 -5
- package/esm/dropdown/type.d.ts +16 -4
- package/esm/dropdown/type.d.ts.map +1 -1
- package/esm/empty/empty.d.ts.map +1 -1
- package/esm/empty/empty.js +2 -1
- package/esm/empty/rule.js +1 -1
- package/esm/empty/token.js +5 -2
- package/esm/empty/type.d.ts +6 -0
- package/esm/empty/type.d.ts.map +1 -1
- package/esm/form/form.d.ts.map +1 -1
- package/esm/form/form.js +9 -2
- package/esm/form/token.js +19 -2
- package/esm/form/type.d.ts +44 -2
- package/esm/form/type.d.ts.map +1 -1
- package/esm/image/image.d.ts.map +1 -1
- package/esm/image/image.js +5 -3
- package/esm/image/rule.js +1 -1
- package/esm/image/token.js +7 -3
- package/esm/image/type.d.ts +15 -3
- package/esm/image/type.d.ts.map +1 -1
- package/esm/index.d.ts +4 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -1
- package/esm/input/input.d.ts.map +1 -1
- package/esm/input/input.js +21 -5
- package/esm/input/rule.js +1 -7
- package/esm/input/token.js +44 -15
- package/esm/input/type.d.ts +115 -19
- package/esm/input/type.d.ts.map +1 -1
- package/esm/list/list.d.ts.map +1 -1
- package/esm/list/list.js +5 -1
- package/esm/list/token.js +11 -1
- package/esm/list/type.d.ts +25 -1
- package/esm/list/type.d.ts.map +1 -1
- package/esm/menu/menu.d.ts.map +1 -1
- package/esm/menu/menu.js +34 -5
- package/esm/menu/token.js +106 -5
- package/esm/menu/type.d.ts +178 -4
- package/esm/menu/type.d.ts.map +1 -1
- package/esm/modal/modal.js +1 -1
- package/esm/modal/token.js +1 -1
- package/esm/modal/type.d.ts +1 -1
- package/esm/popover/popover.d.ts.map +1 -1
- package/esm/popover/popover.js +9 -7
- package/esm/popover/rule.js +2 -2
- package/esm/popover/token.js +11 -7
- package/esm/popover/type.d.ts +19 -7
- package/esm/popover/type.d.ts.map +1 -1
- package/esm/progress/progress.d.ts.map +1 -1
- package/esm/progress/progress.js +15 -1
- package/esm/progress/token.js +81 -1
- package/esm/progress/type.d.ts +87 -3
- package/esm/progress/type.d.ts.map +1 -1
- package/esm/rate/rate.d.ts.map +1 -1
- package/esm/rate/rate.js +3 -1
- package/esm/rate/token.js +6 -2
- package/esm/rate/type.d.ts +13 -1
- package/esm/rate/type.d.ts.map +1 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +23 -7
- package/esm/select/token.js +62 -12
- package/esm/select/type.d.ts +103 -7
- package/esm/select/type.d.ts.map +1 -1
- package/esm/slider/slider.js +1 -1
- package/esm/slider/token.js +1 -1
- package/esm/slider/type.d.ts +1 -1
- package/esm/table/table.d.ts.map +1 -1
- package/esm/table/table.js +13 -0
- package/esm/table/token.js +28 -1
- package/esm/table/type.d.ts +78 -0
- package/esm/table/type.d.ts.map +1 -1
- package/esm/tabs/tabs.js +1 -1
- package/esm/tabs/token.js +1 -1
- package/esm/tabs/type.d.ts +1 -1
- package/esm/tag/rule.js +1 -1
- package/esm/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +7 -4
- package/esm/tag/token.js +10 -34
- package/esm/tag/type.d.ts +22 -4
- package/esm/tag/type.d.ts.map +1 -1
- package/esm/textarea/textarea.js +1 -1
- package/esm/textarea/token.js +1 -1
- package/esm/textarea/type.d.ts +1 -1
- package/esm/token/figma.js +6 -0
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +1 -0
- package/esm/token/type.d.ts +7 -0
- package/esm/token/type.d.ts.map +1 -1
- package/esm/tooltip/token.js +1 -1
- package/esm/tooltip/tooltip.js +1 -1
- package/esm/tooltip/type.d.ts +1 -1
- package/esm/transfer/rule.js +1 -8
- package/esm/transfer/token.js +21 -4
- package/esm/transfer/transfer.d.ts.map +1 -1
- package/esm/transfer/transfer.js +11 -5
- package/esm/transfer/type.d.ts +54 -18
- package/esm/transfer/type.d.ts.map +1 -1
- package/esm/tree/rule.js +2 -0
- package/esm/tree/token.js +8 -3
- package/esm/tree/tree.d.ts.map +1 -1
- package/esm/tree/tree.js +3 -1
- package/esm/tree/type.d.ts +16 -4
- package/esm/tree/type.d.ts.map +1 -1
- package/esm/tree-select/token.js +4 -4
- package/esm/tree-select/tree-select.js +4 -4
- package/esm/tree-select/type.d.ts +4 -4
- package/esm/upload/token.js +2 -2
- package/esm/upload/type.d.ts +2 -2
- package/esm/upload/upload.js +2 -2
- package/esm/utils/css-var.d.ts +1 -0
- package/esm/utils/css-var.d.ts.map +1 -1
- package/esm/utils/css-var.js +5 -0
- package/package.json +1 -1
package/cjs/menu/token.js
CHANGED
|
@@ -28,12 +28,23 @@ var menuTokenDescription = {
|
|
|
28
28
|
*/
|
|
29
29
|
var menuTokenValue = {};
|
|
30
30
|
var menuTokenExtraValue = {
|
|
31
|
+
collpase: {
|
|
32
|
+
width: 'Spacing-40'
|
|
33
|
+
},
|
|
31
34
|
font: {
|
|
32
35
|
size: 'Font-14',
|
|
33
36
|
color: 'Neutral-text-5'
|
|
34
37
|
},
|
|
35
38
|
icon: {
|
|
36
|
-
color: 'Neutral-text-4'
|
|
39
|
+
color: 'Neutral-text-4',
|
|
40
|
+
margin: {
|
|
41
|
+
x: 'Spacing-8'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
popover: {
|
|
45
|
+
padding: {
|
|
46
|
+
y: 'Spacing-4'
|
|
47
|
+
}
|
|
37
48
|
},
|
|
38
49
|
item: {
|
|
39
50
|
background: {
|
|
@@ -74,13 +85,13 @@ var menuTokenExtraValue = {
|
|
|
74
85
|
},
|
|
75
86
|
title: {
|
|
76
87
|
padding: {
|
|
77
|
-
x: '
|
|
78
|
-
y: '
|
|
88
|
+
x: 'Spacing-16',
|
|
89
|
+
y: 'Spacing-9'
|
|
79
90
|
}
|
|
80
91
|
},
|
|
81
92
|
expand: {
|
|
82
|
-
width: '
|
|
83
|
-
size: '
|
|
93
|
+
width: 'Spacing-46',
|
|
94
|
+
size: 'Spacing-14',
|
|
84
95
|
hover: {
|
|
85
96
|
background: {
|
|
86
97
|
color: 'Neutral-fill-3'
|
|
@@ -92,6 +103,11 @@ var menuTokenExtraValue = {
|
|
|
92
103
|
shadow: '0 2px 8px rgba(0, 0, 0, 0.15)'
|
|
93
104
|
}
|
|
94
105
|
},
|
|
106
|
+
header: {
|
|
107
|
+
border: {
|
|
108
|
+
color: 'Neutral-border-1'
|
|
109
|
+
}
|
|
110
|
+
},
|
|
95
111
|
dark: {
|
|
96
112
|
font: {
|
|
97
113
|
color: 'Neutral-text-1'
|
|
@@ -135,6 +151,91 @@ var menuTokenExtraValue = {
|
|
|
135
151
|
color: 'Neutral-text-4'
|
|
136
152
|
}
|
|
137
153
|
}
|
|
154
|
+
},
|
|
155
|
+
header: {
|
|
156
|
+
border: {
|
|
157
|
+
color: 'Neutral-fill-8'
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
search: {
|
|
162
|
+
border: {
|
|
163
|
+
radius: 'Radius-Full',
|
|
164
|
+
color: 'Neutral-border-2'
|
|
165
|
+
},
|
|
166
|
+
padding: {
|
|
167
|
+
x: 'Spacing-8'
|
|
168
|
+
},
|
|
169
|
+
icon: {
|
|
170
|
+
size: 'Size-7',
|
|
171
|
+
color: 'Neutral-text-4',
|
|
172
|
+
margin: {
|
|
173
|
+
x: 'Spacing-8'
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
background: {
|
|
177
|
+
color: 'Neutral-fill-2'
|
|
178
|
+
},
|
|
179
|
+
clear: {
|
|
180
|
+
color: 'Neutral-text-2'
|
|
181
|
+
},
|
|
182
|
+
hover: {
|
|
183
|
+
clear: {
|
|
184
|
+
color: 'Neutral-text-4'
|
|
185
|
+
},
|
|
186
|
+
border: {
|
|
187
|
+
color: 'Brand-5'
|
|
188
|
+
},
|
|
189
|
+
background: {
|
|
190
|
+
color: 'Neutral-fill-1'
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
disabled: {
|
|
194
|
+
background: {
|
|
195
|
+
color: 'Neutral-fill-3'
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
dark: {
|
|
199
|
+
font: {
|
|
200
|
+
color: 'Neutral-text-1'
|
|
201
|
+
},
|
|
202
|
+
border: {
|
|
203
|
+
color: 'Neutral-fill-8'
|
|
204
|
+
},
|
|
205
|
+
background: {
|
|
206
|
+
color: 'Neutral-fill-8'
|
|
207
|
+
},
|
|
208
|
+
icon: {
|
|
209
|
+
color: 'Neutral-text-1'
|
|
210
|
+
},
|
|
211
|
+
clear: {
|
|
212
|
+
color: 'Neutral-text-3'
|
|
213
|
+
},
|
|
214
|
+
placeholder: {
|
|
215
|
+
font: {
|
|
216
|
+
color: 'Neutral-text-2'
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
hover: {
|
|
220
|
+
border: {
|
|
221
|
+
color: 'Brand-5'
|
|
222
|
+
},
|
|
223
|
+
background: {
|
|
224
|
+
color: 'Neutral-fill-9'
|
|
225
|
+
},
|
|
226
|
+
clear: {
|
|
227
|
+
color: 'Neutral-text-2'
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
focus: {
|
|
231
|
+
border: {
|
|
232
|
+
color: 'Brand-5'
|
|
233
|
+
},
|
|
234
|
+
background: {
|
|
235
|
+
color: 'Neutral-fill-9'
|
|
236
|
+
},
|
|
237
|
+
shadow: 'Brand-9'
|
|
238
|
+
}
|
|
138
239
|
}
|
|
139
240
|
}
|
|
140
241
|
};
|
package/cjs/menu/type.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
export interface MenuTokens {
|
|
2
|
+
/**
|
|
3
|
+
* @type {string}
|
|
4
|
+
* @token Spacing-40
|
|
5
|
+
* @description 菜单undefined宽度
|
|
6
|
+
*/
|
|
7
|
+
menuCollpaseWidth: string;
|
|
2
8
|
/**
|
|
3
9
|
* @type {string}
|
|
4
10
|
* @token Font-14
|
|
@@ -17,6 +23,18 @@ export interface MenuTokens {
|
|
|
17
23
|
* @description 菜单图标颜色
|
|
18
24
|
*/
|
|
19
25
|
menuIconColor: string;
|
|
26
|
+
/**
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @token Spacing-8
|
|
29
|
+
* @description 菜单图标外边距(水平方向)
|
|
30
|
+
*/
|
|
31
|
+
menuIconMarginX: string;
|
|
32
|
+
/**
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @token Spacing-4
|
|
35
|
+
* @description 菜单undefined内边距(垂直方向)
|
|
36
|
+
*/
|
|
37
|
+
menuPopoverPaddingY: string;
|
|
20
38
|
/**
|
|
21
39
|
* @type {string}
|
|
22
40
|
* @token Neutral-fill-1
|
|
@@ -73,25 +91,25 @@ export interface MenuTokens {
|
|
|
73
91
|
menuItemDisabledFontColor: string;
|
|
74
92
|
/**
|
|
75
93
|
* @type {string}
|
|
76
|
-
* @token
|
|
94
|
+
* @token Spacing-16
|
|
77
95
|
* @description 菜单标题模式内边距(水平方向)
|
|
78
96
|
*/
|
|
79
97
|
menuTitlePaddingX: string;
|
|
80
98
|
/**
|
|
81
99
|
* @type {string}
|
|
82
|
-
* @token
|
|
100
|
+
* @token Spacing-9
|
|
83
101
|
* @description 菜单标题模式内边距(垂直方向)
|
|
84
102
|
*/
|
|
85
103
|
menuTitlePaddingY: string;
|
|
86
104
|
/**
|
|
87
105
|
* @type {string}
|
|
88
|
-
* @token
|
|
106
|
+
* @token Spacing-46
|
|
89
107
|
* @description 菜单展开icon的宽度
|
|
90
108
|
*/
|
|
91
109
|
menuExpandWidth: string;
|
|
92
110
|
/**
|
|
93
111
|
* @type {string}
|
|
94
|
-
* @token
|
|
112
|
+
* @token Spacing-14
|
|
95
113
|
* @description 菜单展开icon的字号
|
|
96
114
|
*/
|
|
97
115
|
menuExpandSize: string;
|
|
@@ -107,6 +125,12 @@ export interface MenuTokens {
|
|
|
107
125
|
* @description 菜单子菜单阴影
|
|
108
126
|
*/
|
|
109
127
|
menuChildrenBoxShadow: string;
|
|
128
|
+
/**
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @token Neutral-border-1
|
|
131
|
+
* @description 菜单undefined边框颜色
|
|
132
|
+
*/
|
|
133
|
+
menuHeaderBorderColor: string;
|
|
110
134
|
/**
|
|
111
135
|
* @type {string}
|
|
112
136
|
* @token Neutral-text-1
|
|
@@ -173,5 +197,155 @@ export interface MenuTokens {
|
|
|
173
197
|
* @description 菜单深色模式选项禁用时的字体颜色
|
|
174
198
|
*/
|
|
175
199
|
menuDarkItemDisabledFontColor: string;
|
|
200
|
+
/**
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @token Neutral-fill-8
|
|
203
|
+
* @description 菜单深色模式undefined边框颜色
|
|
204
|
+
*/
|
|
205
|
+
menuDarkHeaderBorderColor: string;
|
|
206
|
+
/**
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @token Radius-Full
|
|
209
|
+
* @description 菜单undefined边框圆角
|
|
210
|
+
*/
|
|
211
|
+
menuSearchBorderRadius: string;
|
|
212
|
+
/**
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @token Neutral-border-2
|
|
215
|
+
* @description 菜单undefined边框颜色
|
|
216
|
+
*/
|
|
217
|
+
menuSearchBorderColor: string;
|
|
218
|
+
/**
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @token Spacing-8
|
|
221
|
+
* @description 菜单undefined内边距(水平方向)
|
|
222
|
+
*/
|
|
223
|
+
menuSearchPaddingX: string;
|
|
224
|
+
/**
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @token Size-7
|
|
227
|
+
* @description 菜单undefined图标字号
|
|
228
|
+
*/
|
|
229
|
+
menuSearchIconSize: string;
|
|
230
|
+
/**
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @token Neutral-text-4
|
|
233
|
+
* @description 菜单undefined图标颜色
|
|
234
|
+
*/
|
|
235
|
+
menuSearchIconColor: string;
|
|
236
|
+
/**
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @token Spacing-8
|
|
239
|
+
* @description 菜单undefined图标外边距(水平方向)
|
|
240
|
+
*/
|
|
241
|
+
menuSearchIconMarginX: string;
|
|
242
|
+
/**
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @token Neutral-fill-2
|
|
245
|
+
* @description 菜单undefined背景颜色
|
|
246
|
+
*/
|
|
247
|
+
menuSearchBackgroundColor: string;
|
|
248
|
+
/**
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @token Neutral-text-2
|
|
251
|
+
* @description 菜单undefined清除颜色
|
|
252
|
+
*/
|
|
253
|
+
menuSearchClearColor: string;
|
|
254
|
+
/**
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @token Neutral-text-4
|
|
257
|
+
* @description 菜单undefined鼠标移入时的清除颜色
|
|
258
|
+
*/
|
|
259
|
+
menuSearchHoverClearColor: string;
|
|
260
|
+
/**
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @token Brand-5
|
|
263
|
+
* @description 菜单undefined鼠标移入时的边框颜色
|
|
264
|
+
*/
|
|
265
|
+
menuSearchHoverBorderColor: string;
|
|
266
|
+
/**
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @token Neutral-fill-1
|
|
269
|
+
* @description 菜单undefined鼠标移入时的背景颜色
|
|
270
|
+
*/
|
|
271
|
+
menuSearchHoverBackgroundColor: string;
|
|
272
|
+
/**
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @token Neutral-fill-3
|
|
275
|
+
* @description 菜单undefined禁用时的背景颜色
|
|
276
|
+
*/
|
|
277
|
+
menuSearchDisabledBackgroundColor: string;
|
|
278
|
+
/**
|
|
279
|
+
* @type {string}
|
|
280
|
+
* @token Neutral-text-1
|
|
281
|
+
* @description 菜单undefined深色模式字体颜色
|
|
282
|
+
*/
|
|
283
|
+
menuSearchDarkFontColor: string;
|
|
284
|
+
/**
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @token Neutral-fill-8
|
|
287
|
+
* @description 菜单undefined深色模式边框颜色
|
|
288
|
+
*/
|
|
289
|
+
menuSearchDarkBorderColor: string;
|
|
290
|
+
/**
|
|
291
|
+
* @type {string}
|
|
292
|
+
* @token Neutral-fill-8
|
|
293
|
+
* @description 菜单undefined深色模式背景颜色
|
|
294
|
+
*/
|
|
295
|
+
menuSearchDarkBackgroundColor: string;
|
|
296
|
+
/**
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @token Neutral-text-1
|
|
299
|
+
* @description 菜单undefined深色模式图标颜色
|
|
300
|
+
*/
|
|
301
|
+
menuSearchDarkIconColor: string;
|
|
302
|
+
/**
|
|
303
|
+
* @type {string}
|
|
304
|
+
* @token Neutral-text-3
|
|
305
|
+
* @description 菜单undefined深色模式清除颜色
|
|
306
|
+
*/
|
|
307
|
+
menuSearchDarkClearColor: string;
|
|
308
|
+
/**
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @token Neutral-text-2
|
|
311
|
+
* @description 菜单undefined深色模式undefined字体颜色
|
|
312
|
+
*/
|
|
313
|
+
menuSearchDarkPlaceholderFontColor: string;
|
|
314
|
+
/**
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @token Brand-5
|
|
317
|
+
* @description 菜单undefined深色模式鼠标移入时的边框颜色
|
|
318
|
+
*/
|
|
319
|
+
menuSearchDarkHoverBorderColor: string;
|
|
320
|
+
/**
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @token Neutral-fill-9
|
|
323
|
+
* @description 菜单undefined深色模式鼠标移入时的背景颜色
|
|
324
|
+
*/
|
|
325
|
+
menuSearchDarkHoverBackgroundColor: string;
|
|
326
|
+
/**
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @token Neutral-text-2
|
|
329
|
+
* @description 菜单undefined深色模式鼠标移入时的清除颜色
|
|
330
|
+
*/
|
|
331
|
+
menuSearchDarkHoverClearColor: string;
|
|
332
|
+
/**
|
|
333
|
+
* @type {string}
|
|
334
|
+
* @token Brand-5
|
|
335
|
+
* @description 菜单undefined深色模式鼠标聚焦时的边框颜色
|
|
336
|
+
*/
|
|
337
|
+
menuSearchDarkFocusBorderColor: string;
|
|
338
|
+
/**
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @token Neutral-fill-9
|
|
341
|
+
* @description 菜单undefined深色模式鼠标聚焦时的背景颜色
|
|
342
|
+
*/
|
|
343
|
+
menuSearchDarkFocusBackgroundColor: string;
|
|
344
|
+
/**
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @token Brand-9
|
|
347
|
+
* @description 菜单undefined深色模式鼠标聚焦时的阴影
|
|
348
|
+
*/
|
|
349
|
+
menuSearchDarkFocusShadow: string;
|
|
176
350
|
}
|
|
177
351
|
//# sourceMappingURL=type.d.ts.map
|
package/cjs/menu/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,uBAAuB,EAAE,MA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;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;CACnC"}
|
package/cjs/modal/modal.js
CHANGED
|
@@ -16,7 +16,7 @@ var modalTokens = {
|
|
|
16
16
|
modalPanelShadow: 'Shadow-3',
|
|
17
17
|
modalPanelBorder: 'Neutral-border-1',
|
|
18
18
|
modalPanelGap: 'Spacing-16',
|
|
19
|
-
modalPanelRadius: 'Radius-
|
|
19
|
+
modalPanelRadius: 'Radius-default',
|
|
20
20
|
modalPanelFontSize: 'Font-14',
|
|
21
21
|
modalHeaderIconMarginEnd: 'Spacing-8',
|
|
22
22
|
modalHeaderIconMarginTop: 'Size-2',
|
package/cjs/modal/token.js
CHANGED
package/cjs/modal/type.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,aA0BpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/cjs/popover/popover.js
CHANGED
|
@@ -9,9 +9,10 @@ exports.default = void 0;
|
|
|
9
9
|
|
|
10
10
|
var popoverTokens = {
|
|
11
11
|
popoverFontSize: 'Font-14',
|
|
12
|
+
popoverFontWeight: 'Weight-regular',
|
|
12
13
|
popoverPaddingX: 'Spacing-8',
|
|
13
14
|
popoverPaddingY: 'Spacing-8',
|
|
14
|
-
popoverRadius: 'Radius-
|
|
15
|
+
popoverRadius: 'Radius-default',
|
|
15
16
|
popoverBorderWidth: 'Border-1',
|
|
16
17
|
popoverFontColor: 'Neutral-text-5',
|
|
17
18
|
popoverBackgroundColor: 'Neutral-fill-1',
|
|
@@ -19,17 +20,18 @@ var popoverTokens = {
|
|
|
19
20
|
popoverBorderColor: 'Neutral-border-1',
|
|
20
21
|
popoverSuccessBackgroundColor: '#edf9e8',
|
|
21
22
|
popoverSuccessBorderColor: 'rgba(82, 196, 26, 0.1)',
|
|
22
|
-
popoverWarningBackgroundColor: '
|
|
23
|
-
popoverWarningBorderColor: '
|
|
24
|
-
popoverInfoBackgroundColor: '
|
|
25
|
-
popoverInfoBorderColor: '
|
|
26
|
-
popoverDangerBackgroundColor: '
|
|
27
|
-
popoverDangerBorderColor: '
|
|
23
|
+
popoverWarningBackgroundColor: 'Warning-1',
|
|
24
|
+
popoverWarningBorderColor: 'Warning-2',
|
|
25
|
+
popoverInfoBackgroundColor: 'Brand-1',
|
|
26
|
+
popoverInfoBorderColor: 'Brand-2',
|
|
27
|
+
popoverDangerBackgroundColor: 'Danger-1',
|
|
28
|
+
popoverDangerBorderColor: 'Danger-2',
|
|
28
29
|
popoverErrorFontColor: 'Danger-7',
|
|
29
30
|
popoverErrorBackgroundColor: 'Danger-1',
|
|
30
31
|
popoverErrorBorderColor: 'Danger-1',
|
|
31
32
|
popoverConfirmPaddingX: 'Spacing-16',
|
|
32
33
|
popoverConfirmPaddingY: 'Spacing-16',
|
|
34
|
+
popoverConfirmMarginY: 'Spacing-16',
|
|
33
35
|
popoverConfirmBackgroundColor: 'transparent'
|
|
34
36
|
};
|
|
35
37
|
var _default = exports.default = popoverTokens;
|
package/cjs/popover/rule.js
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* 规则变量名称为 组件名称 + Rules。请勿修改变量命名,否则将导致 token 无法生成。
|
|
10
10
|
*/
|
|
11
11
|
var popoverRules = {
|
|
12
|
-
size: [[''], ['font-size', 'padding-x', 'padding-y', 'radius', 'border-width']],
|
|
12
|
+
size: [[''], ['font-size', 'font-weight', 'padding-x', 'padding-y', 'radius', 'border-width']],
|
|
13
13
|
color: [['', 'success', 'warning', 'info', 'danger', 'error'], ['font-color', 'background-color', 'shadow', 'border-color']],
|
|
14
|
-
confirmSize: [['confirm'], ['font-size', 'padding-x', 'padding-y']],
|
|
14
|
+
confirmSize: [['confirm'], ['font-size', 'padding-x', 'padding-y', 'margin-y']],
|
|
15
15
|
confirmColor: [['confirm'], ['background-color']]
|
|
16
16
|
};
|
|
17
17
|
module.exports = {
|
package/cjs/popover/token.js
CHANGED
|
@@ -27,13 +27,14 @@ var popoverTokenDescription = {
|
|
|
27
27
|
var popoverTokenValue = {
|
|
28
28
|
font: {
|
|
29
29
|
size: 'Font-14',
|
|
30
|
+
weight: 'Weight-regular',
|
|
30
31
|
color: 'Neutral-text-5'
|
|
31
32
|
},
|
|
32
33
|
padding: {
|
|
33
34
|
x: 'Spacing-8',
|
|
34
35
|
y: 'Spacing-8'
|
|
35
36
|
},
|
|
36
|
-
radius: 'Radius-
|
|
37
|
+
radius: 'Radius-default',
|
|
37
38
|
border: {
|
|
38
39
|
width: 'Border-1',
|
|
39
40
|
color: 'Neutral-border-1'
|
|
@@ -59,11 +60,11 @@ var popoverTokenValue = {
|
|
|
59
60
|
color: ''
|
|
60
61
|
},
|
|
61
62
|
background: {
|
|
62
|
-
color: '
|
|
63
|
+
color: 'Warning-1'
|
|
63
64
|
},
|
|
64
65
|
shadow: '',
|
|
65
66
|
border: {
|
|
66
|
-
color: '
|
|
67
|
+
color: 'Warning-2'
|
|
67
68
|
}
|
|
68
69
|
},
|
|
69
70
|
info: {
|
|
@@ -71,11 +72,11 @@ var popoverTokenValue = {
|
|
|
71
72
|
color: ''
|
|
72
73
|
},
|
|
73
74
|
background: {
|
|
74
|
-
color: '
|
|
75
|
+
color: 'Brand-1'
|
|
75
76
|
},
|
|
76
77
|
shadow: '',
|
|
77
78
|
border: {
|
|
78
|
-
color: '
|
|
79
|
+
color: 'Brand-2'
|
|
79
80
|
}
|
|
80
81
|
},
|
|
81
82
|
danger: {
|
|
@@ -83,11 +84,11 @@ var popoverTokenValue = {
|
|
|
83
84
|
color: ''
|
|
84
85
|
},
|
|
85
86
|
background: {
|
|
86
|
-
color: '
|
|
87
|
+
color: 'Danger-1'
|
|
87
88
|
},
|
|
88
89
|
shadow: '',
|
|
89
90
|
border: {
|
|
90
|
-
color: '
|
|
91
|
+
color: 'Danger-2'
|
|
91
92
|
}
|
|
92
93
|
},
|
|
93
94
|
error: {
|
|
@@ -110,6 +111,9 @@ var popoverTokenValue = {
|
|
|
110
111
|
x: 'Spacing-16',
|
|
111
112
|
y: 'Spacing-16'
|
|
112
113
|
},
|
|
114
|
+
margin: {
|
|
115
|
+
y: 'Spacing-16'
|
|
116
|
+
},
|
|
113
117
|
background: {
|
|
114
118
|
color: 'transparent'
|
|
115
119
|
}
|
package/cjs/popover/type.d.ts
CHANGED
|
@@ -5,6 +5,12 @@ export interface PopoverTokens {
|
|
|
5
5
|
* @description 气泡字体字号
|
|
6
6
|
*/
|
|
7
7
|
popoverFontSize: string;
|
|
8
|
+
/**
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @token Weight-regular
|
|
11
|
+
* @description 气泡字体字重
|
|
12
|
+
*/
|
|
13
|
+
popoverFontWeight: string;
|
|
8
14
|
/**
|
|
9
15
|
* @type {string}
|
|
10
16
|
* @token Spacing-8
|
|
@@ -19,7 +25,7 @@ export interface PopoverTokens {
|
|
|
19
25
|
popoverPaddingY: string;
|
|
20
26
|
/**
|
|
21
27
|
* @type {string}
|
|
22
|
-
* @token Radius-
|
|
28
|
+
* @token Radius-default
|
|
23
29
|
* @description 气泡圆角
|
|
24
30
|
*/
|
|
25
31
|
popoverRadius: string;
|
|
@@ -67,37 +73,37 @@ export interface PopoverTokens {
|
|
|
67
73
|
popoverSuccessBorderColor: string;
|
|
68
74
|
/**
|
|
69
75
|
* @type {string}
|
|
70
|
-
* @token
|
|
76
|
+
* @token Warning-1
|
|
71
77
|
* @description 气泡警告背景颜色
|
|
72
78
|
*/
|
|
73
79
|
popoverWarningBackgroundColor: string;
|
|
74
80
|
/**
|
|
75
81
|
* @type {string}
|
|
76
|
-
* @token
|
|
82
|
+
* @token Warning-2
|
|
77
83
|
* @description 气泡警告边框颜色
|
|
78
84
|
*/
|
|
79
85
|
popoverWarningBorderColor: string;
|
|
80
86
|
/**
|
|
81
87
|
* @type {string}
|
|
82
|
-
* @token
|
|
88
|
+
* @token Brand-1
|
|
83
89
|
* @description 气泡提示背景颜色
|
|
84
90
|
*/
|
|
85
91
|
popoverInfoBackgroundColor: string;
|
|
86
92
|
/**
|
|
87
93
|
* @type {string}
|
|
88
|
-
* @token
|
|
94
|
+
* @token Brand-2
|
|
89
95
|
* @description 气泡提示边框颜色
|
|
90
96
|
*/
|
|
91
97
|
popoverInfoBorderColor: string;
|
|
92
98
|
/**
|
|
93
99
|
* @type {string}
|
|
94
|
-
* @token
|
|
100
|
+
* @token Danger-1
|
|
95
101
|
* @description 气泡危险色背景颜色
|
|
96
102
|
*/
|
|
97
103
|
popoverDangerBackgroundColor: string;
|
|
98
104
|
/**
|
|
99
105
|
* @type {string}
|
|
100
|
-
* @token
|
|
106
|
+
* @token Danger-2
|
|
101
107
|
* @description 气泡危险色边框颜色
|
|
102
108
|
*/
|
|
103
109
|
popoverDangerBorderColor: string;
|
|
@@ -131,6 +137,12 @@ export interface PopoverTokens {
|
|
|
131
137
|
* @description 气泡确认内边距(垂直方向)
|
|
132
138
|
*/
|
|
133
139
|
popoverConfirmPaddingY: string;
|
|
140
|
+
/**
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @token Spacing-16
|
|
143
|
+
* @description 气泡确认外边距(垂直方向)
|
|
144
|
+
*/
|
|
145
|
+
popoverConfirmMarginY: string;
|
|
134
146
|
/**
|
|
135
147
|
* @type {string}
|
|
136
148
|
* @token transparent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;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IG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;CACvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAiCrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
package/cjs/progress/progress.js
CHANGED
|
@@ -12,9 +12,18 @@ var progressTokens = {
|
|
|
12
12
|
progressFontColor: 'Neutral-text-4',
|
|
13
13
|
progressBackground: 'Neutral-fill-3',
|
|
14
14
|
progressInfoFrontBackgroundColor: 'Brand-6',
|
|
15
|
+
progressInfoInnerFontColor: 'Neutral-text-1',
|
|
15
16
|
progressWarningFrontBackgroundColor: 'Warning-6',
|
|
17
|
+
progressWarningInnerFontColor: 'Neutral-text-1',
|
|
16
18
|
progressSuccessFrontBackgroundColor: 'Success-6',
|
|
19
|
+
progressSuccessInnerFontColor: 'Neutral-text-1',
|
|
17
20
|
progressDangerFrontBackgroundColor: 'Danger-6',
|
|
21
|
+
progressDangerInnerFontColor: 'Neutral-text-1',
|
|
22
|
+
progressCircleInfoFontColor: 'Neutral-text-4',
|
|
23
|
+
progressCircleWarningFontColor: 'Warning-6',
|
|
24
|
+
progressCircleSuccessFontColor: 'success-6',
|
|
25
|
+
progressCircleDangerFontColor: 'danger-6',
|
|
26
|
+
progressCircleFontWeight: 'Weight-regular',
|
|
18
27
|
progressLineHeight: 'Size-3',
|
|
19
28
|
progressLineGap: 'Spacing-8',
|
|
20
29
|
progressLineInnerHeight: 'Size-10',
|
|
@@ -23,8 +32,13 @@ var progressTokens = {
|
|
|
23
32
|
progressLineInnerFontColor: 'Neutral-text-1',
|
|
24
33
|
progressLineInnerFontSize: 'Font-12',
|
|
25
34
|
progressLineInnerRightFontColor: 'Neutral-text-5',
|
|
35
|
+
progressLineInnerInfoFrontBackgroundColor: 'Brand-6',
|
|
36
|
+
progressLineInnerWarningFrontBackgroundColor: 'Warning-6',
|
|
37
|
+
progressLineInnerSuccessFrontBackgroundColor: 'Success-6',
|
|
38
|
+
progressLineInnerDangerFrontBackgroundColor: 'Danger-6',
|
|
39
|
+
progressLinePopFontColor: 'Neutral-text-1',
|
|
26
40
|
progressLineIconSize: 'Size-7',
|
|
27
41
|
progressLineBackgroundColor: 'Neutral-fill-9',
|
|
28
|
-
|
|
42
|
+
progressLineFontWeight: 'Weight-regular'
|
|
29
43
|
};
|
|
30
44
|
var _default = exports.default = progressTokens;
|