@sheinx/theme 3.2.0-rc.4 → 3.2.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.
Files changed (49) hide show
  1. package/cjs/form/form.d.ts.map +1 -1
  2. package/cjs/form/form.js +1 -0
  3. package/cjs/form/token.js +5 -0
  4. package/cjs/form/type.d.ts +6 -0
  5. package/cjs/form/type.d.ts.map +1 -1
  6. package/cjs/index.d.ts +2 -0
  7. package/cjs/index.d.ts.map +1 -1
  8. package/cjs/index.js +20 -1
  9. package/cjs/menu/menu.d.ts.map +1 -1
  10. package/cjs/menu/menu.js +40 -17
  11. package/cjs/menu/token.js +124 -50
  12. package/cjs/menu/type.d.ts +187 -49
  13. package/cjs/menu/type.d.ts.map +1 -1
  14. package/cjs/token/figma.js +6 -0
  15. package/cjs/token/token.d.ts +1 -2
  16. package/cjs/token/token.d.ts.map +1 -1
  17. package/cjs/token/token.js +2 -2
  18. package/cjs/token/type.d.ts +7 -0
  19. package/cjs/token/type.d.ts.map +1 -1
  20. package/cjs/utils/css-var.d.ts +1 -0
  21. package/cjs/utils/css-var.d.ts.map +1 -1
  22. package/cjs/utils/css-var.js +7 -2
  23. package/cjs/utils/token-setter.d.ts.map +1 -1
  24. package/cjs/utils/token-setter.js +1 -0
  25. package/esm/form/form.d.ts.map +1 -1
  26. package/esm/form/form.js +1 -0
  27. package/esm/form/token.js +5 -0
  28. package/esm/form/type.d.ts +6 -0
  29. package/esm/form/type.d.ts.map +1 -1
  30. package/esm/index.d.ts +2 -0
  31. package/esm/index.d.ts.map +1 -1
  32. package/esm/index.js +2 -0
  33. package/esm/menu/menu.d.ts.map +1 -1
  34. package/esm/menu/menu.js +40 -17
  35. package/esm/menu/token.js +124 -50
  36. package/esm/menu/type.d.ts +187 -49
  37. package/esm/menu/type.d.ts.map +1 -1
  38. package/esm/token/figma.js +6 -0
  39. package/esm/token/token.d.ts +1 -2
  40. package/esm/token/token.d.ts.map +1 -1
  41. package/esm/token/token.js +2 -2
  42. package/esm/token/type.d.ts +7 -0
  43. package/esm/token/type.d.ts.map +1 -1
  44. package/esm/utils/css-var.d.ts +1 -0
  45. package/esm/utils/css-var.d.ts.map +1 -1
  46. package/esm/utils/css-var.js +6 -1
  47. package/esm/utils/token-setter.d.ts.map +1 -1
  48. package/esm/utils/token-setter.js +1 -0
  49. package/package.json +1 -1
package/esm/menu/menu.js CHANGED
@@ -2,14 +2,12 @@
2
2
  // This file was generated automatically by a script. Please do not modify it directly.
3
3
 
4
4
  var menuTokens = {
5
+ menuCollpaseWidth: 'Spacing-40',
5
6
  menuFontSize: 'Font-14',
6
7
  menuFontColor: 'Neutral-text-5',
7
8
  menuIconColor: 'Neutral-text-4',
8
- menuCollapseWidth: 'Size-20',
9
- menuCollapseItemDisabledFontColor: 'Neutral-text-2',
10
- menuCollapseItemDisabledBackgroundColor: 'Neutral-fill-1',
11
- menuCollapseItemActiveFontColor: 'Brand-6',
12
- menuCollapseItemActiveBackgroundColor: 'Neutral-fill-1',
9
+ menuIconMarginX: 'Spacing-8',
10
+ menuPopoverPaddingY: 'Spacing-4',
13
11
  menuItemBackgroundColor: 'Neutral-fill-1',
14
12
  menuItemFontColor: 'Neutral-text-5',
15
13
  menuItemHoverBackgroundColor: 'Neutral-fill-2',
@@ -17,14 +15,20 @@ var menuTokens = {
17
15
  menuItemActiveBackgroundColor: 'Brand-1',
18
16
  menuItemActiveHoverBackgroundColor: 'Brand-2',
19
17
  menuItemActiveFontColor: 'Brand-6',
18
+ menuItemActiveDisabledFontColor: 'Brand-3',
20
19
  menuItemDisabledBackgroundColor: 'Neutral-fill-1',
21
20
  menuItemDisabledFontColor: 'Neutral-text-2',
22
- menuTitlePaddingX: '13px',
23
- menuTitlePaddingY: '9px',
24
- menuExpandWidth: '46px',
25
- menuExpandSize: '14px',
21
+ menuItemCollpaseActiveBackgroundColor: 'Brand-6',
22
+ menuItemCollpaseActiveFontColor: 'Neutral-text-1',
23
+ menuTitlePaddingX: 'Spacing-16',
24
+ menuTitlePaddingY: 'Spacing-9',
25
+ menuExpandWidth: 'Spacing-46',
26
+ menuExpandSize: 'Spacing-14',
26
27
  menuExpandHoverBackgroundColor: 'Neutral-fill-3',
27
28
  menuChildrenBoxShadow: '0 2px 8px rgba(0, 0, 0, 0.15)',
29
+ menuHeaderBorderColor: 'Neutral-border-1',
30
+ menuHeaderPaddingX: 'Spacing-12',
31
+ menuHeaderPaddingY: 'Spacing-12',
28
32
  menuDarkFontColor: 'Neutral-text-1',
29
33
  menuDarkItemBackgroundColor: 'Neutral-fill-10',
30
34
  menuDarkItemFontColor: 'Neutral-text-1',
@@ -36,13 +40,32 @@ var menuTokens = {
36
40
  menuDarkItemOpenFontColor: 'Neutral-text-1',
37
41
  menuDarkItemDisabledBackgroundColor: 'Neutral-fill-10',
38
42
  menuDarkItemDisabledFontColor: 'Neutral-text-4',
39
- menuDarkCollapseItemFontColor: 'Brand-1',
40
- menuDarkCollapseItemBackgroundColor: 'Neutral-fill-9',
41
- menuDarkCollapseItemActiveFontColor: 'Neutral-text-1',
42
- menuDarkCollapseItemActiveBackgroundColor: 'Brand-6',
43
- menuDarkCollapseItemDisabledFontColor: 'Neutral-text-4',
44
- menuDarkCollapseItemDisabledBackgroundColor: 'Neutral-fill-9',
45
- menuDarkCollapseItemHoverFontColor: 'Neutral-text-1',
46
- menuDarkCollapseItemHoverBackgroundColor: 'Brand-9'
43
+ menuDarkItemCollpaseActiveBackgroundColor: 'Brand-6',
44
+ menuDarkItemCollpaseActiveFontColor: 'Neutral-text-1',
45
+ menuDarkHeaderBorderColor: 'Neutral-fill-8',
46
+ menuSearchBorderRadius: 'Radius-full',
47
+ menuSearchBorderColor: 'Neutral-border-2',
48
+ menuSearchCollpaseSize: 'Size-16',
49
+ menuSearchIconSize: 'Size-7',
50
+ menuSearchIconColor: 'Neutral-text-4',
51
+ menuSearchIconMarginX: 'Spacing-8',
52
+ menuSearchBackgroundColor: 'Neutral-fill-2',
53
+ menuSearchClearColor: 'Neutral-text-2',
54
+ menuSearchHoverClearColor: 'Neutral-text-4',
55
+ menuSearchHoverBorderColor: 'Brand-5',
56
+ menuSearchHoverBackgroundColor: 'Neutral-fill-1',
57
+ menuSearchDisabledBackgroundColor: 'Neutral-fill-3',
58
+ menuSearchDarkFontColor: 'Neutral-text-1',
59
+ menuSearchDarkBorderColor: 'Neutral-fill-8',
60
+ menuSearchDarkBackgroundColor: 'Neutral-fill-8',
61
+ menuSearchDarkIconColor: 'Neutral-text-1',
62
+ menuSearchDarkClearColor: 'Neutral-text-3',
63
+ menuSearchDarkPlaceholderFontColor: 'Neutral-text-2',
64
+ menuSearchDarkHoverBorderColor: 'Brand-5',
65
+ menuSearchDarkHoverBackgroundColor: 'Neutral-fill-9',
66
+ menuSearchDarkHoverClearColor: 'Neutral-text-2',
67
+ menuSearchDarkFocusBorderColor: 'Brand-5',
68
+ menuSearchDarkFocusBackgroundColor: 'Neutral-fill-9',
69
+ menuSearchDarkFocusShadow: 'Brand-9'
47
70
  };
48
71
  export default menuTokens;
package/esm/menu/token.js CHANGED
@@ -14,7 +14,6 @@ var menuTokenDescription = {
14
14
  dark: '深色模式',
15
15
  expand: '展开icon的',
16
16
  open: '打开状态的',
17
- collapse: '折叠模式下的',
18
17
  box: ''
19
18
  };
20
19
 
@@ -27,32 +26,22 @@ var menuTokenDescription = {
27
26
  */
28
27
  var menuTokenValue = {};
29
28
  var menuTokenExtraValue = {
29
+ collpase: {
30
+ width: 'Spacing-40'
31
+ },
30
32
  font: {
31
33
  size: 'Font-14',
32
34
  color: 'Neutral-text-5'
33
35
  },
34
36
  icon: {
35
- color: 'Neutral-text-4'
37
+ color: 'Neutral-text-4',
38
+ margin: {
39
+ x: 'Spacing-8'
40
+ }
36
41
  },
37
- collapse: {
38
- width: 'Size-20',
39
- item: {
40
- disabled: {
41
- font: {
42
- color: 'Neutral-text-2'
43
- },
44
- background: {
45
- color: 'Neutral-fill-1'
46
- }
47
- },
48
- active: {
49
- font: {
50
- color: 'Brand-6'
51
- },
52
- background: {
53
- color: 'Neutral-fill-1'
54
- }
55
- }
42
+ popover: {
43
+ padding: {
44
+ y: 'Spacing-4'
56
45
  }
57
46
  },
58
47
  item: {
@@ -81,6 +70,11 @@ var menuTokenExtraValue = {
81
70
  },
82
71
  font: {
83
72
  color: 'Brand-6'
73
+ },
74
+ disabled: {
75
+ font: {
76
+ color: 'Brand-3'
77
+ }
84
78
  }
85
79
  },
86
80
  disabled: {
@@ -90,17 +84,27 @@ var menuTokenExtraValue = {
90
84
  font: {
91
85
  color: 'Neutral-text-2'
92
86
  }
87
+ },
88
+ collpase: {
89
+ active: {
90
+ background: {
91
+ color: 'Brand-6'
92
+ },
93
+ font: {
94
+ color: 'Neutral-text-1'
95
+ }
96
+ }
93
97
  }
94
98
  },
95
99
  title: {
96
100
  padding: {
97
- x: '13px',
98
- y: '9px'
101
+ x: 'Spacing-16',
102
+ y: 'Spacing-9'
99
103
  }
100
104
  },
101
105
  expand: {
102
- width: '46px',
103
- size: '14px',
106
+ width: 'Spacing-46',
107
+ size: 'Spacing-14',
104
108
  hover: {
105
109
  background: {
106
110
  color: 'Neutral-fill-3'
@@ -112,6 +116,15 @@ var menuTokenExtraValue = {
112
116
  shadow: '0 2px 8px rgba(0, 0, 0, 0.15)'
113
117
  }
114
118
  },
119
+ header: {
120
+ border: {
121
+ color: 'Neutral-border-1'
122
+ },
123
+ padding: {
124
+ x: 'Spacing-12',
125
+ y: 'Spacing-12'
126
+ }
127
+ },
115
128
  dark: {
116
129
  font: {
117
130
  color: 'Neutral-text-1'
@@ -154,40 +167,101 @@ var menuTokenExtraValue = {
154
167
  font: {
155
168
  color: 'Neutral-text-4'
156
169
  }
170
+ },
171
+ collpase: {
172
+ active: {
173
+ background: {
174
+ color: 'Brand-6'
175
+ },
176
+ font: {
177
+ color: 'Neutral-text-1'
178
+ }
179
+ }
180
+ }
181
+ },
182
+ header: {
183
+ border: {
184
+ color: 'Neutral-fill-8'
185
+ }
186
+ }
187
+ },
188
+ search: {
189
+ border: {
190
+ radius: 'Radius-full',
191
+ color: 'Neutral-border-2'
192
+ },
193
+ collpase: {
194
+ size: 'Size-16'
195
+ },
196
+ icon: {
197
+ size: 'Size-7',
198
+ color: 'Neutral-text-4',
199
+ margin: {
200
+ x: 'Spacing-8'
157
201
  }
158
202
  },
159
- collapse: {
160
- item: {
203
+ background: {
204
+ color: 'Neutral-fill-2'
205
+ },
206
+ clear: {
207
+ color: 'Neutral-text-2'
208
+ },
209
+ hover: {
210
+ clear: {
211
+ color: 'Neutral-text-4'
212
+ },
213
+ border: {
214
+ color: 'Brand-5'
215
+ },
216
+ background: {
217
+ color: 'Neutral-fill-1'
218
+ }
219
+ },
220
+ disabled: {
221
+ background: {
222
+ color: 'Neutral-fill-3'
223
+ }
224
+ },
225
+ dark: {
226
+ font: {
227
+ color: 'Neutral-text-1'
228
+ },
229
+ border: {
230
+ color: 'Neutral-fill-8'
231
+ },
232
+ background: {
233
+ color: 'Neutral-fill-8'
234
+ },
235
+ icon: {
236
+ color: 'Neutral-text-1'
237
+ },
238
+ clear: {
239
+ color: 'Neutral-text-3'
240
+ },
241
+ placeholder: {
161
242
  font: {
162
- color: 'Brand-1'
243
+ color: 'Neutral-text-2'
244
+ }
245
+ },
246
+ hover: {
247
+ border: {
248
+ color: 'Brand-5'
163
249
  },
164
250
  background: {
165
251
  color: 'Neutral-fill-9'
166
252
  },
167
- active: {
168
- font: {
169
- color: 'Neutral-text-1'
170
- },
171
- background: {
172
- color: 'Brand-6'
173
- }
253
+ clear: {
254
+ color: 'Neutral-text-2'
255
+ }
256
+ },
257
+ focus: {
258
+ border: {
259
+ color: 'Brand-5'
174
260
  },
175
- disabled: {
176
- font: {
177
- color: 'Neutral-text-4'
178
- },
179
- background: {
180
- color: 'Neutral-fill-9'
181
- }
261
+ background: {
262
+ color: 'Neutral-fill-9'
182
263
  },
183
- hover: {
184
- font: {
185
- color: 'Neutral-text-1'
186
- },
187
- background: {
188
- color: 'Brand-9'
189
- }
190
- }
264
+ shadow: 'Brand-9'
191
265
  }
192
266
  }
193
267
  }
@@ -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
@@ -19,34 +25,16 @@ export interface MenuTokens {
19
25
  menuIconColor: string;
20
26
  /**
21
27
  * @type {string}
22
- * @token Size-20
23
- * @description 菜单折叠模式下的宽度
24
- */
25
- menuCollapseWidth: string;
26
- /**
27
- * @type {string}
28
- * @token Neutral-text-2
29
- * @description 菜单折叠模式下的选项禁用时的字体颜色
30
- */
31
- menuCollapseItemDisabledFontColor: string;
32
- /**
33
- * @type {string}
34
- * @token Neutral-fill-1
35
- * @description 菜单折叠模式下的选项禁用时的背景颜色
36
- */
37
- menuCollapseItemDisabledBackgroundColor: string;
38
- /**
39
- * @type {string}
40
- * @token Brand-6
41
- * @description 菜单折叠模式下的选项鼠标点击时的字体颜色
28
+ * @token Spacing-8
29
+ * @description 菜单图标外边距(水平方向)
42
30
  */
43
- menuCollapseItemActiveFontColor: string;
31
+ menuIconMarginX: string;
44
32
  /**
45
33
  * @type {string}
46
- * @token Neutral-fill-1
47
- * @description 菜单折叠模式下的选项鼠标点击时的背景颜色
34
+ * @token Spacing-4
35
+ * @description 菜单undefined内边距(垂直方向)
48
36
  */
49
- menuCollapseItemActiveBackgroundColor: string;
37
+ menuPopoverPaddingY: string;
50
38
  /**
51
39
  * @type {string}
52
40
  * @token Neutral-fill-1
@@ -89,6 +77,12 @@ export interface MenuTokens {
89
77
  * @description 菜单选项鼠标点击时的字体颜色
90
78
  */
91
79
  menuItemActiveFontColor: string;
80
+ /**
81
+ * @type {string}
82
+ * @token Brand-3
83
+ * @description 菜单选项鼠标点击时的禁用时的字体颜色
84
+ */
85
+ menuItemActiveDisabledFontColor: string;
92
86
  /**
93
87
  * @type {string}
94
88
  * @token Neutral-fill-1
@@ -103,25 +97,37 @@ export interface MenuTokens {
103
97
  menuItemDisabledFontColor: string;
104
98
  /**
105
99
  * @type {string}
106
- * @token 13px
100
+ * @token Brand-6
101
+ * @description 菜单选项undefined鼠标点击时的背景颜色
102
+ */
103
+ menuItemCollpaseActiveBackgroundColor: string;
104
+ /**
105
+ * @type {string}
106
+ * @token Neutral-text-1
107
+ * @description 菜单选项undefined鼠标点击时的字体颜色
108
+ */
109
+ menuItemCollpaseActiveFontColor: string;
110
+ /**
111
+ * @type {string}
112
+ * @token Spacing-16
107
113
  * @description 菜单标题模式内边距(水平方向)
108
114
  */
109
115
  menuTitlePaddingX: string;
110
116
  /**
111
117
  * @type {string}
112
- * @token 9px
118
+ * @token Spacing-9
113
119
  * @description 菜单标题模式内边距(垂直方向)
114
120
  */
115
121
  menuTitlePaddingY: string;
116
122
  /**
117
123
  * @type {string}
118
- * @token 46px
124
+ * @token Spacing-46
119
125
  * @description 菜单展开icon的宽度
120
126
  */
121
127
  menuExpandWidth: string;
122
128
  /**
123
129
  * @type {string}
124
- * @token 14px
130
+ * @token Spacing-14
125
131
  * @description 菜单展开icon的字号
126
132
  */
127
133
  menuExpandSize: string;
@@ -137,6 +143,24 @@ export interface MenuTokens {
137
143
  * @description 菜单子菜单阴影
138
144
  */
139
145
  menuChildrenBoxShadow: string;
146
+ /**
147
+ * @type {string}
148
+ * @token Neutral-border-1
149
+ * @description 菜单undefined边框颜色
150
+ */
151
+ menuHeaderBorderColor: string;
152
+ /**
153
+ * @type {string}
154
+ * @token Spacing-12
155
+ * @description 菜单undefined内边距(水平方向)
156
+ */
157
+ menuHeaderPaddingX: string;
158
+ /**
159
+ * @type {string}
160
+ * @token Spacing-12
161
+ * @description 菜单undefined内边距(垂直方向)
162
+ */
163
+ menuHeaderPaddingY: string;
140
164
  /**
141
165
  * @type {string}
142
166
  * @token Neutral-text-1
@@ -205,51 +229,165 @@ export interface MenuTokens {
205
229
  menuDarkItemDisabledFontColor: string;
206
230
  /**
207
231
  * @type {string}
208
- * @token Brand-1
209
- * @description 菜单深色模式折叠模式下的选项字体颜色
232
+ * @token Brand-6
233
+ * @description 菜单深色模式选项undefined鼠标点击时的背景颜色
210
234
  */
211
- menuDarkCollapseItemFontColor: string;
235
+ menuDarkItemCollpaseActiveBackgroundColor: string;
212
236
  /**
213
237
  * @type {string}
214
- * @token Neutral-fill-9
215
- * @description 菜单深色模式折叠模式下的选项背景颜色
238
+ * @token Neutral-text-1
239
+ * @description 菜单深色模式选项undefined鼠标点击时的字体颜色
216
240
  */
217
- menuDarkCollapseItemBackgroundColor: string;
241
+ menuDarkItemCollpaseActiveFontColor: string;
218
242
  /**
219
243
  * @type {string}
220
- * @token Neutral-text-1
221
- * @description 菜单深色模式折叠模式下的选项鼠标点击时的字体颜色
244
+ * @token Neutral-fill-8
245
+ * @description 菜单深色模式undefined边框颜色
222
246
  */
223
- menuDarkCollapseItemActiveFontColor: string;
247
+ menuDarkHeaderBorderColor: string;
224
248
  /**
225
249
  * @type {string}
226
- * @token Brand-6
227
- * @description 菜单深色模式折叠模式下的选项鼠标点击时的背景颜色
250
+ * @token Radius-full
251
+ * @description 菜单undefined边框圆角
228
252
  */
229
- menuDarkCollapseItemActiveBackgroundColor: string;
253
+ menuSearchBorderRadius: string;
254
+ /**
255
+ * @type {string}
256
+ * @token Neutral-border-2
257
+ * @description 菜单undefined边框颜色
258
+ */
259
+ menuSearchBorderColor: string;
260
+ /**
261
+ * @type {string}
262
+ * @token Size-16
263
+ * @description 菜单undefinedundefined字号
264
+ */
265
+ menuSearchCollpaseSize: string;
266
+ /**
267
+ * @type {string}
268
+ * @token Size-7
269
+ * @description 菜单undefined图标字号
270
+ */
271
+ menuSearchIconSize: string;
230
272
  /**
231
273
  * @type {string}
232
274
  * @token Neutral-text-4
233
- * @description 菜单深色模式折叠模式下的选项禁用时的字体颜色
275
+ * @description 菜单undefined图标颜色
234
276
  */
235
- menuDarkCollapseItemDisabledFontColor: string;
277
+ menuSearchIconColor: string;
236
278
  /**
237
279
  * @type {string}
238
- * @token Neutral-fill-9
239
- * @description 菜单深色模式折叠模式下的选项禁用时的背景颜色
280
+ * @token Spacing-8
281
+ * @description 菜单undefined图标外边距(水平方向)
282
+ */
283
+ menuSearchIconMarginX: string;
284
+ /**
285
+ * @type {string}
286
+ * @token Neutral-fill-2
287
+ * @description 菜单undefined背景颜色
288
+ */
289
+ menuSearchBackgroundColor: string;
290
+ /**
291
+ * @type {string}
292
+ * @token Neutral-text-2
293
+ * @description 菜单undefined清除颜色
294
+ */
295
+ menuSearchClearColor: string;
296
+ /**
297
+ * @type {string}
298
+ * @token Neutral-text-4
299
+ * @description 菜单undefined鼠标移入时的清除颜色
300
+ */
301
+ menuSearchHoverClearColor: string;
302
+ /**
303
+ * @type {string}
304
+ * @token Brand-5
305
+ * @description 菜单undefined鼠标移入时的边框颜色
306
+ */
307
+ menuSearchHoverBorderColor: string;
308
+ /**
309
+ * @type {string}
310
+ * @token Neutral-fill-1
311
+ * @description 菜单undefined鼠标移入时的背景颜色
240
312
  */
241
- menuDarkCollapseItemDisabledBackgroundColor: string;
313
+ menuSearchHoverBackgroundColor: string;
314
+ /**
315
+ * @type {string}
316
+ * @token Neutral-fill-3
317
+ * @description 菜单undefined禁用时的背景颜色
318
+ */
319
+ menuSearchDisabledBackgroundColor: string;
242
320
  /**
243
321
  * @type {string}
244
322
  * @token Neutral-text-1
245
- * @description 菜单深色模式折叠模式下的选项鼠标移入时的字体颜色
323
+ * @description 菜单undefined深色模式字体颜色
324
+ */
325
+ menuSearchDarkFontColor: string;
326
+ /**
327
+ * @type {string}
328
+ * @token Neutral-fill-8
329
+ * @description 菜单undefined深色模式边框颜色
330
+ */
331
+ menuSearchDarkBorderColor: string;
332
+ /**
333
+ * @type {string}
334
+ * @token Neutral-fill-8
335
+ * @description 菜单undefined深色模式背景颜色
336
+ */
337
+ menuSearchDarkBackgroundColor: string;
338
+ /**
339
+ * @type {string}
340
+ * @token Neutral-text-1
341
+ * @description 菜单undefined深色模式图标颜色
342
+ */
343
+ menuSearchDarkIconColor: string;
344
+ /**
345
+ * @type {string}
346
+ * @token Neutral-text-3
347
+ * @description 菜单undefined深色模式清除颜色
348
+ */
349
+ menuSearchDarkClearColor: string;
350
+ /**
351
+ * @type {string}
352
+ * @token Neutral-text-2
353
+ * @description 菜单undefined深色模式undefined字体颜色
354
+ */
355
+ menuSearchDarkPlaceholderFontColor: string;
356
+ /**
357
+ * @type {string}
358
+ * @token Brand-5
359
+ * @description 菜单undefined深色模式鼠标移入时的边框颜色
360
+ */
361
+ menuSearchDarkHoverBorderColor: string;
362
+ /**
363
+ * @type {string}
364
+ * @token Neutral-fill-9
365
+ * @description 菜单undefined深色模式鼠标移入时的背景颜色
366
+ */
367
+ menuSearchDarkHoverBackgroundColor: string;
368
+ /**
369
+ * @type {string}
370
+ * @token Neutral-text-2
371
+ * @description 菜单undefined深色模式鼠标移入时的清除颜色
372
+ */
373
+ menuSearchDarkHoverClearColor: string;
374
+ /**
375
+ * @type {string}
376
+ * @token Brand-5
377
+ * @description 菜单undefined深色模式鼠标聚焦时的边框颜色
378
+ */
379
+ menuSearchDarkFocusBorderColor: string;
380
+ /**
381
+ * @type {string}
382
+ * @token Neutral-fill-9
383
+ * @description 菜单undefined深色模式鼠标聚焦时的背景颜色
246
384
  */
247
- menuDarkCollapseItemHoverFontColor: string;
385
+ menuSearchDarkFocusBackgroundColor: string;
248
386
  /**
249
387
  * @type {string}
250
388
  * @token Brand-9
251
- * @description 菜单深色模式折叠模式下的选项鼠标移入时的背景颜色
389
+ * @description 菜单undefined深色模式鼠标聚焦时的阴影
252
390
  */
253
- menuDarkCollapseItemHoverBackgroundColor: string;
391
+ menuSearchDarkFocusShadow: string;
254
392
  }
255
393
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,YAAY,EAAE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;;;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"}
@@ -850,6 +850,12 @@ var figma = [{
850
850
  value: '#999DA8',
851
851
  describe: '',
852
852
  locked: true
853
+ }, {
854
+ name: '填充色',
855
+ token: 'Neutral-fill-8',
856
+ value: '#333E59',
857
+ describe: '',
858
+ locked: true
853
859
  }, {
854
860
  name: 'colorFillActive',
855
861
  token: 'Neutral-fill-4',
@@ -1,7 +1,6 @@
1
1
  import { Tokens } from './type';
2
2
  declare const Token: Tokens;
3
3
  declare const CommonToken: Tokens;
4
- declare const CommonTokenMap: Tokens;
5
- export { CommonToken, CommonTokenMap };
4
+ export { CommonToken };
6
5
  export default Token;
7
6
  //# sourceMappingURL=token.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"token.d.ts","sourceRoot":"","sources":["token.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,QAAA,MAAM,KAAK,EAAE,MAuSZ,CAAC;AAGF,QAAA,MAAM,WAAW,EAAE,MAAW,CAAC;AAC/B,QAAA,MAAM,cAAc,EAAE,MAAc,CAAC;AAQrC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AAEvC,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"token.d.ts","sourceRoot":"","sources":["token.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,QAAA,MAAM,KAAK,EAAE,MAwSZ,CAAC;AAGF,QAAA,MAAM,WAAW,EAAE,MAAW,CAAC;AAQ/B,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,eAAe,KAAK,CAAC"}