@sheinx/theme 3.1.24 → 3.2.0-beta.1

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 (205) hide show
  1. package/cjs/alert/alert.d.ts.map +1 -1
  2. package/cjs/alert/alert.js +4 -1
  3. package/cjs/alert/rule.js +2 -2
  4. package/cjs/alert/token.js +7 -2
  5. package/cjs/alert/type.d.ts +19 -1
  6. package/cjs/alert/type.d.ts.map +1 -1
  7. package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
  8. package/cjs/breadcrumb/breadcrumb.js +1 -3
  9. package/cjs/breadcrumb/token.js +2 -8
  10. package/cjs/breadcrumb/type.d.ts +6 -18
  11. package/cjs/breadcrumb/type.d.ts.map +1 -1
  12. package/cjs/button/button.js +7 -7
  13. package/cjs/button/token.js +8 -8
  14. package/cjs/button/type.d.ts +2 -2
  15. package/cjs/card/card.d.ts.map +1 -1
  16. package/cjs/card/card.js +15 -1
  17. package/cjs/card/token.js +31 -2
  18. package/cjs/card/type.d.ts +84 -0
  19. package/cjs/card/type.d.ts.map +1 -1
  20. package/cjs/cascader/cascader.d.ts.map +1 -1
  21. package/cjs/cascader/cascader.js +3 -0
  22. package/cjs/cascader/token.js +9 -0
  23. package/cjs/cascader/type.d.ts +18 -0
  24. package/cjs/cascader/type.d.ts.map +1 -1
  25. package/cjs/descriptions/descriptions.d.ts.map +1 -1
  26. package/cjs/descriptions/descriptions.js +6 -4
  27. package/cjs/descriptions/rule.js +3 -2
  28. package/cjs/descriptions/token.js +11 -3
  29. package/cjs/descriptions/type.d.ts +15 -3
  30. package/cjs/descriptions/type.d.ts.map +1 -1
  31. package/cjs/divider/divider.d.ts.map +1 -1
  32. package/cjs/divider/divider.js +1 -0
  33. package/cjs/divider/token.js +2 -1
  34. package/cjs/divider/type.d.ts +6 -0
  35. package/cjs/divider/type.d.ts.map +1 -1
  36. package/cjs/dropdown/dropdown.d.ts.map +1 -1
  37. package/cjs/dropdown/dropdown.js +6 -4
  38. package/cjs/dropdown/rule.js +2 -0
  39. package/cjs/dropdown/token.js +9 -5
  40. package/cjs/dropdown/type.d.ts +16 -4
  41. package/cjs/dropdown/type.d.ts.map +1 -1
  42. package/cjs/empty/empty.d.ts.map +1 -1
  43. package/cjs/empty/empty.js +2 -1
  44. package/cjs/empty/rule.js +1 -1
  45. package/cjs/empty/token.js +5 -2
  46. package/cjs/empty/type.d.ts +6 -0
  47. package/cjs/empty/type.d.ts.map +1 -1
  48. package/cjs/index.d.ts +2 -2
  49. package/cjs/index.d.ts.map +1 -1
  50. package/cjs/index.js +7 -0
  51. package/cjs/input/input.d.ts.map +1 -1
  52. package/cjs/input/input.js +21 -5
  53. package/cjs/input/rule.js +1 -7
  54. package/cjs/input/token.js +44 -15
  55. package/cjs/input/type.d.ts +115 -19
  56. package/cjs/input/type.d.ts.map +1 -1
  57. package/cjs/list/list.d.ts.map +1 -1
  58. package/cjs/list/list.js +5 -1
  59. package/cjs/list/token.js +11 -1
  60. package/cjs/list/type.d.ts +25 -1
  61. package/cjs/list/type.d.ts.map +1 -1
  62. package/cjs/menu/menu.d.ts.map +1 -1
  63. package/cjs/menu/menu.js +15 -2
  64. package/cjs/menu/token.js +57 -1
  65. package/cjs/menu/type.d.ts +79 -1
  66. package/cjs/menu/type.d.ts.map +1 -1
  67. package/cjs/popover/popover.d.ts.map +1 -1
  68. package/cjs/popover/popover.js +9 -7
  69. package/cjs/popover/rule.js +2 -2
  70. package/cjs/popover/token.js +11 -7
  71. package/cjs/popover/type.d.ts +19 -7
  72. package/cjs/popover/type.d.ts.map +1 -1
  73. package/cjs/rate/rate.d.ts.map +1 -1
  74. package/cjs/rate/rate.js +3 -1
  75. package/cjs/rate/token.js +6 -2
  76. package/cjs/rate/type.d.ts +13 -1
  77. package/cjs/rate/type.d.ts.map +1 -1
  78. package/cjs/select/select.d.ts.map +1 -1
  79. package/cjs/select/select.js +23 -7
  80. package/cjs/select/token.js +62 -12
  81. package/cjs/select/type.d.ts +103 -7
  82. package/cjs/select/type.d.ts.map +1 -1
  83. package/cjs/table/table.d.ts.map +1 -1
  84. package/cjs/table/table.js +13 -0
  85. package/cjs/table/token.js +28 -1
  86. package/cjs/table/type.d.ts +78 -0
  87. package/cjs/table/type.d.ts.map +1 -1
  88. package/cjs/token/token.d.ts +2 -1
  89. package/cjs/token/token.d.ts.map +1 -1
  90. package/cjs/token/token.js +2 -1
  91. package/cjs/transfer/rule.js +1 -8
  92. package/cjs/transfer/token.js +21 -4
  93. package/cjs/transfer/transfer.d.ts.map +1 -1
  94. package/cjs/transfer/transfer.js +11 -5
  95. package/cjs/transfer/type.d.ts +54 -18
  96. package/cjs/transfer/type.d.ts.map +1 -1
  97. package/cjs/tree/rule.js +2 -0
  98. package/cjs/tree/token.js +7 -2
  99. package/cjs/tree/tree.d.ts.map +1 -1
  100. package/cjs/tree/tree.js +2 -0
  101. package/cjs/tree/type.d.ts +15 -3
  102. package/cjs/tree/type.d.ts.map +1 -1
  103. package/esm/alert/alert.d.ts.map +1 -1
  104. package/esm/alert/alert.js +4 -1
  105. package/esm/alert/rule.js +2 -2
  106. package/esm/alert/token.js +7 -2
  107. package/esm/alert/type.d.ts +19 -1
  108. package/esm/alert/type.d.ts.map +1 -1
  109. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  110. package/esm/breadcrumb/breadcrumb.js +1 -3
  111. package/esm/breadcrumb/token.js +2 -8
  112. package/esm/breadcrumb/type.d.ts +6 -18
  113. package/esm/breadcrumb/type.d.ts.map +1 -1
  114. package/esm/button/button.js +7 -7
  115. package/esm/button/token.js +8 -8
  116. package/esm/button/type.d.ts +2 -2
  117. package/esm/card/card.d.ts.map +1 -1
  118. package/esm/card/card.js +15 -1
  119. package/esm/card/token.js +31 -2
  120. package/esm/card/type.d.ts +84 -0
  121. package/esm/card/type.d.ts.map +1 -1
  122. package/esm/cascader/cascader.d.ts.map +1 -1
  123. package/esm/cascader/cascader.js +3 -0
  124. package/esm/cascader/token.js +9 -0
  125. package/esm/cascader/type.d.ts +18 -0
  126. package/esm/cascader/type.d.ts.map +1 -1
  127. package/esm/descriptions/descriptions.d.ts.map +1 -1
  128. package/esm/descriptions/descriptions.js +6 -4
  129. package/esm/descriptions/rule.js +3 -2
  130. package/esm/descriptions/token.js +11 -3
  131. package/esm/descriptions/type.d.ts +15 -3
  132. package/esm/descriptions/type.d.ts.map +1 -1
  133. package/esm/divider/divider.d.ts.map +1 -1
  134. package/esm/divider/divider.js +1 -0
  135. package/esm/divider/token.js +2 -1
  136. package/esm/divider/type.d.ts +6 -0
  137. package/esm/divider/type.d.ts.map +1 -1
  138. package/esm/dropdown/dropdown.d.ts.map +1 -1
  139. package/esm/dropdown/dropdown.js +6 -4
  140. package/esm/dropdown/rule.js +2 -0
  141. package/esm/dropdown/token.js +9 -5
  142. package/esm/dropdown/type.d.ts +16 -4
  143. package/esm/dropdown/type.d.ts.map +1 -1
  144. package/esm/empty/empty.d.ts.map +1 -1
  145. package/esm/empty/empty.js +2 -1
  146. package/esm/empty/rule.js +1 -1
  147. package/esm/empty/token.js +5 -2
  148. package/esm/empty/type.d.ts +6 -0
  149. package/esm/empty/type.d.ts.map +1 -1
  150. package/esm/index.d.ts +2 -2
  151. package/esm/index.d.ts.map +1 -1
  152. package/esm/index.js +1 -1
  153. package/esm/input/input.d.ts.map +1 -1
  154. package/esm/input/input.js +21 -5
  155. package/esm/input/rule.js +1 -7
  156. package/esm/input/token.js +44 -15
  157. package/esm/input/type.d.ts +115 -19
  158. package/esm/input/type.d.ts.map +1 -1
  159. package/esm/list/list.d.ts.map +1 -1
  160. package/esm/list/list.js +5 -1
  161. package/esm/list/token.js +11 -1
  162. package/esm/list/type.d.ts +25 -1
  163. package/esm/list/type.d.ts.map +1 -1
  164. package/esm/menu/menu.d.ts.map +1 -1
  165. package/esm/menu/menu.js +15 -2
  166. package/esm/menu/token.js +57 -1
  167. package/esm/menu/type.d.ts +79 -1
  168. package/esm/menu/type.d.ts.map +1 -1
  169. package/esm/popover/popover.d.ts.map +1 -1
  170. package/esm/popover/popover.js +9 -7
  171. package/esm/popover/rule.js +2 -2
  172. package/esm/popover/token.js +11 -7
  173. package/esm/popover/type.d.ts +19 -7
  174. package/esm/popover/type.d.ts.map +1 -1
  175. package/esm/rate/rate.d.ts.map +1 -1
  176. package/esm/rate/rate.js +3 -1
  177. package/esm/rate/token.js +6 -2
  178. package/esm/rate/type.d.ts +13 -1
  179. package/esm/rate/type.d.ts.map +1 -1
  180. package/esm/select/select.d.ts.map +1 -1
  181. package/esm/select/select.js +23 -7
  182. package/esm/select/token.js +62 -12
  183. package/esm/select/type.d.ts +103 -7
  184. package/esm/select/type.d.ts.map +1 -1
  185. package/esm/table/table.d.ts.map +1 -1
  186. package/esm/table/table.js +13 -0
  187. package/esm/table/token.js +28 -1
  188. package/esm/table/type.d.ts +78 -0
  189. package/esm/table/type.d.ts.map +1 -1
  190. package/esm/token/token.d.ts +2 -1
  191. package/esm/token/token.d.ts.map +1 -1
  192. package/esm/token/token.js +2 -1
  193. package/esm/transfer/rule.js +1 -8
  194. package/esm/transfer/token.js +21 -4
  195. package/esm/transfer/transfer.d.ts.map +1 -1
  196. package/esm/transfer/transfer.js +11 -5
  197. package/esm/transfer/type.d.ts +54 -18
  198. package/esm/transfer/type.d.ts.map +1 -1
  199. package/esm/tree/rule.js +2 -0
  200. package/esm/tree/token.js +7 -2
  201. package/esm/tree/tree.d.ts.map +1 -1
  202. package/esm/tree/tree.js +2 -0
  203. package/esm/tree/type.d.ts +15 -3
  204. package/esm/tree/type.d.ts.map +1 -1
  205. package/package.json +1 -1
@@ -15,7 +15,8 @@ var inputTokenDescription = {
15
15
  placeholder: '占位符',
16
16
  toggle: '反转',
17
17
  shadow: '阴影',
18
- info: '基础'
18
+ info: '基础',
19
+ group: '组合模式'
19
20
  };
20
21
 
21
22
  /**
@@ -25,14 +26,17 @@ var inputTokenDescription = {
25
26
  * 该映射表将根据规则自动生成,并与公共 token 进行合并。若有相同 token,将覆盖公共 token。默认不包含公共 token,除非在映射表中添加覆盖。
26
27
  * 注意,该映射表的内容不与 inputRules 强关联,非 inputRules 规则内的 token 需手动增加或删减。
27
28
  */
28
- var inputTokenValue = {
29
+ var inputTokenValue = {};
30
+ var inputTokenExtraValue = {
29
31
  font: {
30
32
  size: 'Font-14',
31
- color: 'Neutral-text-5'
33
+ color: 'Neutral-text-5',
34
+ weight: 'Weight-regular'
32
35
  },
33
36
  border: {
34
- radius: 'Radius-4',
35
- color: 'Neutral-border-2'
37
+ radius: 'Radius-default',
38
+ color: 'Neutral-border-2',
39
+ width: 'Border-1'
36
40
  },
37
41
  padding: {
38
42
  x: 'Spacing-8',
@@ -73,7 +77,10 @@ var inputTokenValue = {
73
77
  }
74
78
  },
75
79
  placeholder: {
76
- color: 'Neutral-text-2'
80
+ color: 'Neutral-text-2',
81
+ font: {
82
+ weight: 'Weight-regular'
83
+ }
77
84
  },
78
85
  background: {
79
86
  color: 'Neutral-fill-1'
@@ -96,7 +103,7 @@ var inputTokenValue = {
96
103
  color: 'Brand-6'
97
104
  },
98
105
  background: {
99
- color: ''
106
+ color: 'Neutral-fill-1'
100
107
  },
101
108
  shadow: '',
102
109
  clear: {
@@ -106,7 +113,7 @@ var inputTokenValue = {
106
113
  color: 'Neutral-text-5'
107
114
  },
108
115
  icon: {
109
- color: ''
116
+ color: 'Brand-6'
110
117
  }
111
118
  },
112
119
  focus: {
@@ -120,7 +127,7 @@ var inputTokenValue = {
120
127
  color: 'Brand-7'
121
128
  },
122
129
  background: {
123
- color: ''
130
+ color: 'Neutral-fill-1'
124
131
  },
125
132
  shadow: 'Brand-2',
126
133
  clear: {
@@ -216,7 +223,7 @@ var inputTokenValue = {
216
223
  color: 'Danger-6'
217
224
  },
218
225
  background: {
219
- color: ''
226
+ color: 'Neutral-fill-1'
220
227
  },
221
228
  shadow: '',
222
229
  clear: {
@@ -236,10 +243,10 @@ var inputTokenValue = {
236
243
  color: ''
237
244
  },
238
245
  border: {
239
- color: ''
246
+ color: 'Danger-6'
240
247
  },
241
248
  background: {
242
- color: ''
249
+ color: 'Neutral-fill-1'
243
250
  },
244
251
  shadow: '',
245
252
  clear: {
@@ -260,10 +267,10 @@ var inputTokenValue = {
260
267
  color: ''
261
268
  },
262
269
  border: {
263
- color: ''
270
+ color: 'Danger-6'
264
271
  },
265
272
  background: {
266
- color: ''
273
+ color: 'Neutral-fill-1'
267
274
  },
268
275
  shadow: 'Danger-1',
269
276
  clear: {
@@ -277,6 +284,14 @@ var inputTokenValue = {
277
284
  }
278
285
  }
279
286
  },
287
+ group: {
288
+ font: {
289
+ color: 'Neutral-text-5',
290
+ background: {
291
+ color: 'Neutral-fill-2'
292
+ }
293
+ }
294
+ },
280
295
  info: {
281
296
  font: {
282
297
  color: 'Brand-6'
@@ -325,10 +340,24 @@ var inputTokenValue = {
325
340
  font: {
326
341
  size: 'Font-14'
327
342
  }
343
+ },
344
+ top: {
345
+ font: {
346
+ size: 'Font-12'
347
+ },
348
+ small: {
349
+ font: {
350
+ size: 'Font-12'
351
+ }
352
+ },
353
+ large: {
354
+ font: {
355
+ size: 'Font-12'
356
+ }
357
+ }
328
358
  }
329
359
  }
330
360
  };
331
- var inputTokenExtraValue = {};
332
361
  module.exports = {
333
362
  inputTokenValue: inputTokenValue,
334
363
  inputTokenExtraValue: inputTokenExtraValue,
@@ -7,10 +7,34 @@ export interface InputTokens {
7
7
  inputFontSize: string;
8
8
  /**
9
9
  * @type {string}
10
- * @token Radius-4
10
+ * @token Neutral-text-5
11
+ * @description 输入框字体颜色
12
+ */
13
+ inputFontColor: string;
14
+ /**
15
+ * @type {string}
16
+ * @token Weight-regular
17
+ * @description 输入框字体字重
18
+ */
19
+ inputFontWeight: string;
20
+ /**
21
+ * @type {string}
22
+ * @token Radius-default
11
23
  * @description 输入框边框圆角
12
24
  */
13
25
  inputBorderRadius: string;
26
+ /**
27
+ * @type {string}
28
+ * @token Neutral-border-2
29
+ * @description 输入框边框颜色
30
+ */
31
+ inputBorderColor: string;
32
+ /**
33
+ * @type {string}
34
+ * @token Border-1
35
+ * @description 输入框边框宽度
36
+ */
37
+ inputBorderWidth: string;
14
38
  /**
15
39
  * @type {string}
16
40
  * @token Spacing-8
@@ -29,6 +53,12 @@ export interface InputTokens {
29
53
  * @description 输入框图标字号
30
54
  */
31
55
  inputIconSize: string;
56
+ /**
57
+ * @type {string}
58
+ * @token Neutral-text-4
59
+ * @description 输入框图标颜色
60
+ */
61
+ inputIconColor: string;
32
62
  /**
33
63
  * @type {string}
34
64
  * @token Font-12
@@ -65,12 +95,6 @@ export interface InputTokens {
65
95
  * @description 输入框大尺寸内边距(垂直方向)
66
96
  */
67
97
  inputLargePaddingY: string;
68
- /**
69
- * @type {string}
70
- * @token Neutral-text-5
71
- * @description 输入框字体颜色
72
- */
73
- inputFontColor: string;
74
98
  /**
75
99
  * @type {string}
76
100
  * @token Neutral-text-2
@@ -79,10 +103,10 @@ export interface InputTokens {
79
103
  inputPlaceholderColor: string;
80
104
  /**
81
105
  * @type {string}
82
- * @token Neutral-border-2
83
- * @description 输入框边框颜色
106
+ * @token Weight-regular
107
+ * @description 输入框占位符字体字重
84
108
  */
85
- inputBorderColor: string;
109
+ inputPlaceholderFontWeight: string;
86
110
  /**
87
111
  * @type {string}
88
112
  * @token Neutral-fill-1
@@ -101,18 +125,18 @@ export interface InputTokens {
101
125
  * @description 输入框反转颜色
102
126
  */
103
127
  inputToggleColor: string;
104
- /**
105
- * @type {string}
106
- * @token Neutral-text-4
107
- * @description 输入框图标颜色
108
- */
109
- inputIconColor: string;
110
128
  /**
111
129
  * @type {string}
112
130
  * @token Brand-6
113
131
  * @description 输入框鼠标移入时的边框颜色
114
132
  */
115
133
  inputHoverBorderColor: string;
134
+ /**
135
+ * @type {string}
136
+ * @token Neutral-fill-1
137
+ * @description 输入框鼠标移入时的背景颜色
138
+ */
139
+ inputHoverBackgroundColor: string;
116
140
  /**
117
141
  * @type {string}
118
142
  * @token Neutral-text-4
@@ -125,12 +149,24 @@ export interface InputTokens {
125
149
  * @description 输入框鼠标移入时的反转颜色
126
150
  */
127
151
  inputHoverToggleColor: string;
152
+ /**
153
+ * @type {string}
154
+ * @token Brand-6
155
+ * @description 输入框鼠标移入时的图标颜色
156
+ */
157
+ inputHoverIconColor: string;
128
158
  /**
129
159
  * @type {string}
130
160
  * @token Brand-7
131
161
  * @description 输入框鼠标聚焦时的边框颜色
132
162
  */
133
163
  inputFocusBorderColor: string;
164
+ /**
165
+ * @type {string}
166
+ * @token Neutral-fill-1
167
+ * @description 输入框鼠标聚焦时的背景颜色
168
+ */
169
+ inputFocusBackgroundColor: string;
134
170
  /**
135
171
  * @type {string}
136
172
  * @token Brand-2
@@ -167,12 +203,54 @@ export interface InputTokens {
167
203
  * @description 输入框错误状态的边框颜色
168
204
  */
169
205
  inputErrorBorderColor: string;
206
+ /**
207
+ * @type {string}
208
+ * @token Neutral-fill-1
209
+ * @description 输入框错误状态的背景颜色
210
+ */
211
+ inputErrorBackgroundColor: string;
212
+ /**
213
+ * @type {string}
214
+ * @token Danger-6
215
+ * @description 输入框错误状态的鼠标移入时的边框颜色
216
+ */
217
+ inputErrorHoverBorderColor: string;
218
+ /**
219
+ * @type {string}
220
+ * @token Neutral-fill-1
221
+ * @description 输入框错误状态的鼠标移入时的背景颜色
222
+ */
223
+ inputErrorHoverBackgroundColor: string;
224
+ /**
225
+ * @type {string}
226
+ * @token Danger-6
227
+ * @description 输入框错误状态的鼠标聚焦时的边框颜色
228
+ */
229
+ inputErrorFocusBorderColor: string;
230
+ /**
231
+ * @type {string}
232
+ * @token Neutral-fill-1
233
+ * @description 输入框错误状态的鼠标聚焦时的背景颜色
234
+ */
235
+ inputErrorFocusBackgroundColor: string;
170
236
  /**
171
237
  * @type {string}
172
238
  * @token Danger-1
173
239
  * @description 输入框错误状态的鼠标聚焦时的阴影
174
240
  */
175
241
  inputErrorFocusShadow: string;
242
+ /**
243
+ * @type {string}
244
+ * @token Neutral-text-5
245
+ * @description 输入框组合模式字体颜色
246
+ */
247
+ inputGroupFontColor: string;
248
+ /**
249
+ * @type {string}
250
+ * @token Neutral-fill-2
251
+ * @description 输入框组合模式字体背景颜色
252
+ */
253
+ inputGroupFontBackgroundColor: string;
176
254
  /**
177
255
  * @type {string}
178
256
  * @token Brand-6
@@ -227,6 +305,12 @@ export interface InputTokens {
227
305
  * @description 输入框内嵌字体字号
228
306
  */
229
307
  inputInnerFontSize: string;
308
+ /**
309
+ * @type {string}
310
+ * @token Neutral-text-4
311
+ * @description 输入框内嵌字体颜色
312
+ */
313
+ inputInnerFontColor: string;
230
314
  /**
231
315
  * @type {string}
232
316
  * @token Spacing-8
@@ -265,9 +349,21 @@ export interface InputTokens {
265
349
  inputInnerLargeFontSize: string;
266
350
  /**
267
351
  * @type {string}
268
- * @token Neutral-text-4
269
- * @description 输入框内嵌字体颜色
352
+ * @token Font-12
353
+ * @description 输入框内嵌undefined字体字号
270
354
  */
271
- inputInnerFontColor: string;
355
+ inputInnerTopFontSize: string;
356
+ /**
357
+ * @type {string}
358
+ * @token Font-12
359
+ * @description 输入框内嵌undefined小尺寸字体字号
360
+ */
361
+ inputInnerTopSmallFontSize: string;
362
+ /**
363
+ * @type {string}
364
+ * @token Font-12
365
+ * @description 输入框内嵌undefined大尺寸字体字号
366
+ */
367
+ inputInnerTopLargeFontSize: string;
272
368
  }
273
369
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;O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,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UAajB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UAiBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/cjs/list/list.js CHANGED
@@ -11,13 +11,17 @@ var listTokens = {
11
11
  listFontSize: 'Font-14',
12
12
  listFontColor: 'Neutral-text-5',
13
13
  listBorderColor: 'Neutral-border-1',
14
- listBorderRadius: 'Radius-2',
14
+ listBorderRadius: 'Radius-lesser',
15
+ listBorderWidth: 'Border-1',
15
16
  listItemPaddingY: 'Spacing-12',
16
17
  listItemPaddingX: 'Spacing-16',
18
+ listItemBackgroundColor: 'Transparent',
17
19
  listSmallItemPaddingY: 'Spacing-8',
18
20
  listSmallItemPaddingX: 'Spacing-12',
21
+ listSmallFontSize: 'Font-14',
19
22
  listLargeItemPaddingY: 'Spacing-16',
20
23
  listLargeItemPaddingX: 'Spacing-20',
24
+ listLargeFontSize: 'Font-14',
21
25
  listPaginationMarginY: 'Spacing-12',
22
26
  listStripedBackgroundColor: 'Neutral-fill-2'
23
27
  };
package/cjs/list/token.js CHANGED
@@ -30,12 +30,16 @@ var listTokenExtraValue = {
30
30
  },
31
31
  border: {
32
32
  color: 'Neutral-border-1',
33
- radius: 'Radius-2'
33
+ radius: 'Radius-lesser',
34
+ width: 'Border-1'
34
35
  },
35
36
  item: {
36
37
  padding: {
37
38
  y: 'Spacing-12',
38
39
  x: 'Spacing-16'
40
+ },
41
+ background: {
42
+ color: 'Transparent'
39
43
  }
40
44
  },
41
45
  small: {
@@ -44,6 +48,9 @@ var listTokenExtraValue = {
44
48
  y: 'Spacing-8',
45
49
  x: 'Spacing-12'
46
50
  }
51
+ },
52
+ font: {
53
+ size: 'Font-14'
47
54
  }
48
55
  },
49
56
  large: {
@@ -52,6 +59,9 @@ var listTokenExtraValue = {
52
59
  y: 'Spacing-16',
53
60
  x: 'Spacing-20'
54
61
  }
62
+ },
63
+ font: {
64
+ size: 'Font-14'
55
65
  }
56
66
  },
57
67
  pagination: {
@@ -19,10 +19,16 @@ export interface ListTokens {
19
19
  listBorderColor: string;
20
20
  /**
21
21
  * @type {string}
22
- * @token Radius-2
22
+ * @token Radius-lesser
23
23
  * @description 列表边框圆角
24
24
  */
25
25
  listBorderRadius: string;
26
+ /**
27
+ * @type {string}
28
+ * @token Border-1
29
+ * @description 列表边框宽度
30
+ */
31
+ listBorderWidth: string;
26
32
  /**
27
33
  * @type {string}
28
34
  * @token Spacing-12
@@ -35,6 +41,12 @@ export interface ListTokens {
35
41
  * @description 列表选项内边距(水平方向)
36
42
  */
37
43
  listItemPaddingX: string;
44
+ /**
45
+ * @type {string}
46
+ * @token Transparent
47
+ * @description 列表选项背景颜色
48
+ */
49
+ listItemBackgroundColor: string;
38
50
  /**
39
51
  * @type {string}
40
52
  * @token Spacing-8
@@ -47,6 +59,12 @@ export interface ListTokens {
47
59
  * @description 列表小尺寸选项内边距(水平方向)
48
60
  */
49
61
  listSmallItemPaddingX: string;
62
+ /**
63
+ * @type {string}
64
+ * @token Font-14
65
+ * @description 列表小尺寸字体字号
66
+ */
67
+ listSmallFontSize: string;
50
68
  /**
51
69
  * @type {string}
52
70
  * @token Spacing-16
@@ -59,6 +77,12 @@ export interface ListTokens {
59
77
  * @description 列表大尺寸选项内边距(水平方向)
60
78
  */
61
79
  listLargeItemPaddingX: string;
80
+ /**
81
+ * @type {string}
82
+ * @token Font-14
83
+ * @description 列表大尺寸字体字号
84
+ */
85
+ listLargeFontSize: string;
62
86
  /**
63
87
  * @type {string}
64
88
  * @token Spacing-12
@@ -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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9B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["menu.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UA8BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["menu.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UA2CjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/cjs/menu/menu.js CHANGED
@@ -11,6 +11,11 @@ var menuTokens = {
11
11
  menuFontSize: 'Font-14',
12
12
  menuFontColor: 'Neutral-text-5',
13
13
  menuIconColor: 'Neutral-text-4',
14
+ menuCollapseWidth: 'Size-20',
15
+ menuCollapseItemDisabledFontColor: 'Neutral-text-2',
16
+ menuCollapseItemDisabledBackgroundColor: 'Neutral-fill-1',
17
+ menuCollapseItemActiveFontColor: 'Brand-6',
18
+ menuCollapseItemActiveBackgroundColor: 'Neutral-fill-1',
14
19
  menuItemBackgroundColor: 'Neutral-fill-1',
15
20
  menuItemFontColor: 'Neutral-text-5',
16
21
  menuItemHoverBackgroundColor: 'Neutral-fill-2',
@@ -20,7 +25,7 @@ var menuTokens = {
20
25
  menuItemActiveFontColor: 'Brand-6',
21
26
  menuItemDisabledBackgroundColor: 'Neutral-fill-1',
22
27
  menuItemDisabledFontColor: 'Neutral-text-2',
23
- menuTitlePaddingX: '16px',
28
+ menuTitlePaddingX: '13px',
24
29
  menuTitlePaddingY: '9px',
25
30
  menuExpandWidth: '46px',
26
31
  menuExpandSize: '14px',
@@ -36,6 +41,14 @@ var menuTokens = {
36
41
  menuDarkItemOpenBackgroundColor: 'Neutral-fill-9',
37
42
  menuDarkItemOpenFontColor: 'Neutral-text-1',
38
43
  menuDarkItemDisabledBackgroundColor: 'Neutral-fill-10',
39
- menuDarkItemDisabledFontColor: 'Neutral-text-4'
44
+ menuDarkItemDisabledFontColor: 'Neutral-text-4',
45
+ menuDarkCollapseItemFontColor: 'Brand-1',
46
+ menuDarkCollapseItemBackgroundColor: 'Neutral-fill-9',
47
+ menuDarkCollapseItemActiveFontColor: 'Neutral-text-1',
48
+ menuDarkCollapseItemActiveBackgroundColor: 'Brand-6',
49
+ menuDarkCollapseItemDisabledFontColor: 'Neutral-text-4',
50
+ menuDarkCollapseItemDisabledBackgroundColor: 'Neutral-fill-9',
51
+ menuDarkCollapseItemHoverFontColor: 'Neutral-text-1',
52
+ menuDarkCollapseItemHoverBackgroundColor: 'Brand-9'
40
53
  };
41
54
  var _default = exports.default = menuTokens;
package/cjs/menu/token.js CHANGED
@@ -16,6 +16,7 @@ var menuTokenDescription = {
16
16
  dark: '深色模式',
17
17
  expand: '展开icon的',
18
18
  open: '打开状态的',
19
+ collapse: '折叠模式下的',
19
20
  box: ''
20
21
  };
21
22
 
@@ -35,6 +36,27 @@ var menuTokenExtraValue = {
35
36
  icon: {
36
37
  color: 'Neutral-text-4'
37
38
  },
39
+ collapse: {
40
+ width: 'Size-20',
41
+ item: {
42
+ disabled: {
43
+ font: {
44
+ color: 'Neutral-text-2'
45
+ },
46
+ background: {
47
+ color: 'Neutral-fill-1'
48
+ }
49
+ },
50
+ active: {
51
+ font: {
52
+ color: 'Brand-6'
53
+ },
54
+ background: {
55
+ color: 'Neutral-fill-1'
56
+ }
57
+ }
58
+ }
59
+ },
38
60
  item: {
39
61
  background: {
40
62
  color: 'Neutral-fill-1'
@@ -74,7 +96,7 @@ var menuTokenExtraValue = {
74
96
  },
75
97
  title: {
76
98
  padding: {
77
- x: '16px',
99
+ x: '13px',
78
100
  y: '9px'
79
101
  }
80
102
  },
@@ -135,6 +157,40 @@ var menuTokenExtraValue = {
135
157
  color: 'Neutral-text-4'
136
158
  }
137
159
  }
160
+ },
161
+ collapse: {
162
+ item: {
163
+ font: {
164
+ color: 'Brand-1'
165
+ },
166
+ background: {
167
+ color: 'Neutral-fill-9'
168
+ },
169
+ active: {
170
+ font: {
171
+ color: 'Neutral-text-1'
172
+ },
173
+ background: {
174
+ color: 'Brand-6'
175
+ }
176
+ },
177
+ disabled: {
178
+ font: {
179
+ color: 'Neutral-text-4'
180
+ },
181
+ background: {
182
+ color: 'Neutral-fill-9'
183
+ }
184
+ },
185
+ hover: {
186
+ font: {
187
+ color: 'Neutral-text-1'
188
+ },
189
+ background: {
190
+ color: 'Brand-9'
191
+ }
192
+ }
193
+ }
138
194
  }
139
195
  }
140
196
  };