@sheinx/theme 3.2.2-beta.1 → 3.3.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.
Files changed (217) hide show
  1. package/cjs/alert/alert.d.ts.map +1 -1
  2. package/cjs/alert/alert.js +3 -0
  3. package/cjs/alert/rule.js +1 -7
  4. package/cjs/alert/token.js +9 -2
  5. package/cjs/alert/type.d.ts +18 -0
  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 +4 -1
  9. package/cjs/breadcrumb/token.js +16 -2
  10. package/cjs/breadcrumb/type.d.ts +19 -1
  11. package/cjs/breadcrumb/type.d.ts.map +1 -1
  12. package/cjs/button/button.js +3 -3
  13. package/cjs/button/token.js +3 -3
  14. package/cjs/button/type.d.ts +3 -3
  15. package/cjs/card/card.d.ts.map +1 -1
  16. package/cjs/card/card.js +16 -2
  17. package/cjs/card/token.js +32 -3
  18. package/cjs/card/type.d.ts +85 -1
  19. package/cjs/card/type.d.ts.map +1 -1
  20. package/cjs/carousel/carousel.js +1 -1
  21. package/cjs/carousel/token.js +1 -1
  22. package/cjs/carousel/type.d.ts +1 -1
  23. package/cjs/cascader/cascader.js +4 -4
  24. package/cjs/cascader/token.js +4 -4
  25. package/cjs/cascader/type.d.ts +4 -4
  26. package/cjs/collapse/collapse.js +4 -4
  27. package/cjs/collapse/token.js +4 -4
  28. package/cjs/collapse/type.d.ts +4 -4
  29. package/cjs/date-picker/date-picker.d.ts.map +1 -1
  30. package/cjs/date-picker/date-picker.js +7 -4
  31. package/cjs/date-picker/token.js +10 -5
  32. package/cjs/date-picker/type.d.ts +22 -4
  33. package/cjs/date-picker/type.d.ts.map +1 -1
  34. package/cjs/divider/divider.d.ts.map +1 -1
  35. package/cjs/divider/divider.js +2 -1
  36. package/cjs/divider/token.js +3 -2
  37. package/cjs/divider/type.d.ts +7 -1
  38. package/cjs/divider/type.d.ts.map +1 -1
  39. package/cjs/empty/empty.d.ts.map +1 -1
  40. package/cjs/empty/empty.js +2 -1
  41. package/cjs/empty/rule.js +1 -1
  42. package/cjs/empty/token.js +5 -2
  43. package/cjs/empty/type.d.ts +6 -0
  44. package/cjs/empty/type.d.ts.map +1 -1
  45. package/cjs/form/form.d.ts.map +1 -1
  46. package/cjs/form/form.js +8 -2
  47. package/cjs/form/token.js +14 -2
  48. package/cjs/form/type.d.ts +38 -2
  49. package/cjs/form/type.d.ts.map +1 -1
  50. package/cjs/image/image.d.ts.map +1 -1
  51. package/cjs/image/image.js +5 -3
  52. package/cjs/image/rule.js +1 -1
  53. package/cjs/image/token.js +7 -3
  54. package/cjs/image/type.d.ts +15 -3
  55. package/cjs/image/type.d.ts.map +1 -1
  56. package/cjs/modal/modal.js +1 -1
  57. package/cjs/modal/token.js +1 -1
  58. package/cjs/modal/type.d.ts +1 -1
  59. package/cjs/progress/progress.d.ts.map +1 -1
  60. package/cjs/progress/progress.js +15 -1
  61. package/cjs/progress/token.js +81 -1
  62. package/cjs/progress/type.d.ts +87 -3
  63. package/cjs/progress/type.d.ts.map +1 -1
  64. package/cjs/rate/rate.d.ts.map +1 -1
  65. package/cjs/rate/rate.js +3 -1
  66. package/cjs/rate/token.js +6 -2
  67. package/cjs/rate/type.d.ts +13 -1
  68. package/cjs/rate/type.d.ts.map +1 -1
  69. package/cjs/slider/slider.js +1 -1
  70. package/cjs/slider/token.js +1 -1
  71. package/cjs/slider/type.d.ts +1 -1
  72. package/cjs/tabs/rule.js +17 -6
  73. package/cjs/tabs/tabs.d.ts.map +1 -1
  74. package/cjs/tabs/tabs.js +52 -5
  75. package/cjs/tabs/token.js +202 -14
  76. package/cjs/tabs/type.d.ts +305 -23
  77. package/cjs/tabs/type.d.ts.map +1 -1
  78. package/cjs/tag/rule.js +1 -1
  79. package/cjs/tag/tag.d.ts.map +1 -1
  80. package/cjs/tag/tag.js +7 -4
  81. package/cjs/tag/token.js +10 -34
  82. package/cjs/tag/type.d.ts +22 -4
  83. package/cjs/tag/type.d.ts.map +1 -1
  84. package/cjs/textarea/textarea.js +1 -1
  85. package/cjs/textarea/token.js +1 -1
  86. package/cjs/textarea/type.d.ts +1 -1
  87. package/cjs/tooltip/token.js +1 -1
  88. package/cjs/tooltip/tooltip.js +1 -1
  89. package/cjs/tooltip/type.d.ts +1 -1
  90. package/cjs/transfer/rule.js +1 -8
  91. package/cjs/transfer/token.js +21 -4
  92. package/cjs/transfer/transfer.d.ts.map +1 -1
  93. package/cjs/transfer/transfer.js +11 -5
  94. package/cjs/transfer/type.d.ts +54 -18
  95. package/cjs/transfer/type.d.ts.map +1 -1
  96. package/cjs/tree/token.js +4 -4
  97. package/cjs/tree/tree.d.ts.map +1 -1
  98. package/cjs/tree/tree.js +4 -2
  99. package/cjs/tree/type.d.ts +14 -2
  100. package/cjs/tree/type.d.ts.map +1 -1
  101. package/cjs/tree-select/token.js +33 -4
  102. package/cjs/tree-select/tree-select.d.ts.map +1 -1
  103. package/cjs/tree-select/tree-select.js +11 -4
  104. package/cjs/tree-select/type.d.ts +46 -4
  105. package/cjs/tree-select/type.d.ts.map +1 -1
  106. package/cjs/upload/token.js +2 -2
  107. package/cjs/upload/type.d.ts +2 -2
  108. package/cjs/upload/upload.js +2 -2
  109. package/esm/alert/alert.d.ts.map +1 -1
  110. package/esm/alert/alert.js +3 -0
  111. package/esm/alert/rule.js +1 -7
  112. package/esm/alert/token.js +9 -2
  113. package/esm/alert/type.d.ts +18 -0
  114. package/esm/alert/type.d.ts.map +1 -1
  115. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  116. package/esm/breadcrumb/breadcrumb.js +4 -1
  117. package/esm/breadcrumb/token.js +16 -2
  118. package/esm/breadcrumb/type.d.ts +19 -1
  119. package/esm/breadcrumb/type.d.ts.map +1 -1
  120. package/esm/button/button.js +3 -3
  121. package/esm/button/token.js +3 -3
  122. package/esm/button/type.d.ts +3 -3
  123. package/esm/card/card.d.ts.map +1 -1
  124. package/esm/card/card.js +16 -2
  125. package/esm/card/token.js +32 -3
  126. package/esm/card/type.d.ts +85 -1
  127. package/esm/card/type.d.ts.map +1 -1
  128. package/esm/carousel/carousel.js +1 -1
  129. package/esm/carousel/token.js +1 -1
  130. package/esm/carousel/type.d.ts +1 -1
  131. package/esm/cascader/cascader.js +4 -4
  132. package/esm/cascader/token.js +4 -4
  133. package/esm/cascader/type.d.ts +4 -4
  134. package/esm/collapse/collapse.js +4 -4
  135. package/esm/collapse/token.js +4 -4
  136. package/esm/collapse/type.d.ts +4 -4
  137. package/esm/date-picker/date-picker.d.ts.map +1 -1
  138. package/esm/date-picker/date-picker.js +7 -4
  139. package/esm/date-picker/token.js +10 -5
  140. package/esm/date-picker/type.d.ts +22 -4
  141. package/esm/date-picker/type.d.ts.map +1 -1
  142. package/esm/divider/divider.d.ts.map +1 -1
  143. package/esm/divider/divider.js +2 -1
  144. package/esm/divider/token.js +3 -2
  145. package/esm/divider/type.d.ts +7 -1
  146. package/esm/divider/type.d.ts.map +1 -1
  147. package/esm/empty/empty.d.ts.map +1 -1
  148. package/esm/empty/empty.js +2 -1
  149. package/esm/empty/rule.js +1 -1
  150. package/esm/empty/token.js +5 -2
  151. package/esm/empty/type.d.ts +6 -0
  152. package/esm/empty/type.d.ts.map +1 -1
  153. package/esm/form/form.d.ts.map +1 -1
  154. package/esm/form/form.js +8 -2
  155. package/esm/form/token.js +14 -2
  156. package/esm/form/type.d.ts +38 -2
  157. package/esm/form/type.d.ts.map +1 -1
  158. package/esm/image/image.d.ts.map +1 -1
  159. package/esm/image/image.js +5 -3
  160. package/esm/image/rule.js +1 -1
  161. package/esm/image/token.js +7 -3
  162. package/esm/image/type.d.ts +15 -3
  163. package/esm/image/type.d.ts.map +1 -1
  164. package/esm/modal/modal.js +1 -1
  165. package/esm/modal/token.js +1 -1
  166. package/esm/modal/type.d.ts +1 -1
  167. package/esm/progress/progress.d.ts.map +1 -1
  168. package/esm/progress/progress.js +15 -1
  169. package/esm/progress/token.js +81 -1
  170. package/esm/progress/type.d.ts +87 -3
  171. package/esm/progress/type.d.ts.map +1 -1
  172. package/esm/rate/rate.d.ts.map +1 -1
  173. package/esm/rate/rate.js +3 -1
  174. package/esm/rate/token.js +6 -2
  175. package/esm/rate/type.d.ts +13 -1
  176. package/esm/rate/type.d.ts.map +1 -1
  177. package/esm/slider/slider.js +1 -1
  178. package/esm/slider/token.js +1 -1
  179. package/esm/slider/type.d.ts +1 -1
  180. package/esm/tabs/rule.js +17 -6
  181. package/esm/tabs/tabs.d.ts.map +1 -1
  182. package/esm/tabs/tabs.js +52 -5
  183. package/esm/tabs/token.js +202 -14
  184. package/esm/tabs/type.d.ts +305 -23
  185. package/esm/tabs/type.d.ts.map +1 -1
  186. package/esm/tag/rule.js +1 -1
  187. package/esm/tag/tag.d.ts.map +1 -1
  188. package/esm/tag/tag.js +7 -4
  189. package/esm/tag/token.js +10 -34
  190. package/esm/tag/type.d.ts +22 -4
  191. package/esm/tag/type.d.ts.map +1 -1
  192. package/esm/textarea/textarea.js +1 -1
  193. package/esm/textarea/token.js +1 -1
  194. package/esm/textarea/type.d.ts +1 -1
  195. package/esm/tooltip/token.js +1 -1
  196. package/esm/tooltip/tooltip.js +1 -1
  197. package/esm/tooltip/type.d.ts +1 -1
  198. package/esm/transfer/rule.js +1 -8
  199. package/esm/transfer/token.js +21 -4
  200. package/esm/transfer/transfer.d.ts.map +1 -1
  201. package/esm/transfer/transfer.js +11 -5
  202. package/esm/transfer/type.d.ts +54 -18
  203. package/esm/transfer/type.d.ts.map +1 -1
  204. package/esm/tree/token.js +4 -4
  205. package/esm/tree/tree.d.ts.map +1 -1
  206. package/esm/tree/tree.js +4 -2
  207. package/esm/tree/type.d.ts +14 -2
  208. package/esm/tree/type.d.ts.map +1 -1
  209. package/esm/tree-select/token.js +33 -4
  210. package/esm/tree-select/tree-select.d.ts.map +1 -1
  211. package/esm/tree-select/tree-select.js +11 -4
  212. package/esm/tree-select/type.d.ts +46 -4
  213. package/esm/tree-select/type.d.ts.map +1 -1
  214. package/esm/upload/token.js +2 -2
  215. package/esm/upload/type.d.ts +2 -2
  216. package/esm/upload/upload.js +2 -2
  217. package/package.json +1 -1
package/cjs/tabs/token.js CHANGED
@@ -14,7 +14,7 @@ var tabsTokenDescription = {
14
14
  nearly: '相邻之间的',
15
15
  click: '鼠标按下时的',
16
16
  inner: '内部容器的',
17
- line: '下划模式',
17
+ line: '长线条模式',
18
18
  fill: '填充模式',
19
19
  split: '分割线',
20
20
  action: '操作按钮',
@@ -22,7 +22,8 @@ var tabsTokenDescription = {
22
22
  card: '卡片模式',
23
23
  arrow: '箭头icon',
24
24
  vertical: '垂直模式',
25
- horizontal: '水平模式'
25
+ horizontal: '水平模式',
26
+ checked: '选中状态'
26
27
  };
27
28
 
28
29
  /**
@@ -32,7 +33,8 @@ var tabsTokenDescription = {
32
33
  * 该映射表将根据规则自动生成,并与公共 token 进行合并。若有相同 token,将覆盖公共 token。默认不包含公共 token,除非在映射表中添加覆盖。
33
34
  * 注意,该映射表的内容不与 tabsRules 强关联,非 tabsRules 规则内的 token 需手动增加或删减。
34
35
  */
35
- var tabsTokenValue = {
36
+ var tabsTokenValue = {};
37
+ var tabsTokenExtraValue = {
36
38
  font: {
37
39
  color: 'Neutral-text-5'
38
40
  },
@@ -95,7 +97,7 @@ var tabsTokenValue = {
95
97
  size: 'Font-14'
96
98
  },
97
99
  border: {
98
- radius: 'Radius-4'
100
+ radius: 'Radius-default'
99
101
  }
100
102
  },
101
103
  nearly: {
@@ -106,11 +108,67 @@ var tabsTokenValue = {
106
108
  x: 'Spacing-8',
107
109
  y: 'Spacing-6'
108
110
  },
111
+ hr: {
112
+ background: {
113
+ color: 'Neutral-border-1'
114
+ }
115
+ },
116
+ after: {
117
+ background: {
118
+ color: 'Brand-6'
119
+ }
120
+ },
109
121
  inner: {
110
122
  padding: {
111
123
  x: 'Spacing-8',
112
124
  y: 'Spacing-4'
113
125
  }
126
+ },
127
+ font: {
128
+ color: 'Neutral-text-5',
129
+ weight: 'Weight-regular',
130
+ size: 'Font-14'
131
+ },
132
+ background: {
133
+ color: 'Neutral-fill-1'
134
+ },
135
+ active: {
136
+ font: {
137
+ color: '',
138
+ weight: ''
139
+ },
140
+ background: {
141
+ color: 'Neutral-fill-3'
142
+ }
143
+ },
144
+ checked: {
145
+ font: {
146
+ color: 'Brand-6',
147
+ size: 'Font-14',
148
+ weight: 'Weight-medium'
149
+ },
150
+ background: {
151
+ color: 'Neutral-fill-1'
152
+ }
153
+ },
154
+ hover: {
155
+ font: {
156
+ color: '',
157
+ weight: '',
158
+ size: 'Font-14'
159
+ },
160
+ background: {
161
+ color: 'Neutral-fill-2'
162
+ }
163
+ },
164
+ disabled: {
165
+ font: {
166
+ color: 'Neutral-text-2',
167
+ weight: ''
168
+ },
169
+ background: {
170
+ color: ''
171
+ }
114
172
  }
115
173
  },
116
174
  fill: {
@@ -123,6 +181,145 @@ var tabsTokenValue = {
123
181
  x: 'Spacing-16',
124
182
  y: 'Spacing-5'
125
183
  }
184
+ },
185
+ font: {
186
+ color: 'Neutral-text-5',
187
+ weight: 'Weight-regular',
188
+ size: 'Font-14'
189
+ },
190
+ background: {
191
+ color: 'Neutral-fill-2'
192
+ },
193
+ active: {
194
+ font: {
195
+ color: '',
196
+ weight: 'Weight-medium',
197
+ size: 'Font-14'
198
+ },
199
+ background: {
200
+ color: 'Neutral-fill-4'
201
+ }
202
+ },
203
+ checked: {
204
+ font: {
205
+ color: 'Brand-6',
206
+ size: 'Font-14',
207
+ weight: 'Weight-medium'
208
+ },
209
+ background: {
210
+ color: 'Neutral-fill-1'
211
+ }
212
+ },
213
+ hover: {
214
+ font: {
215
+ color: '',
216
+ weight: ''
217
+ },
218
+ background: {
219
+ color: 'Neutral-fill-3'
220
+ }
221
+ },
222
+ disabled: {
223
+ font: {
224
+ color: 'Neutral-text-2',
225
+ weight: ''
226
+ },
227
+ background: {
228
+ color: ''
229
+ }
230
+ }
231
+ },
232
+ dash: {
233
+ font: {
234
+ color: '',
235
+ weight: 'Weight-regular',
236
+ size: 'Font-14'
237
+ },
238
+ background: {
239
+ color: ''
240
+ },
241
+ active: {
242
+ font: {
243
+ color: '',
244
+ weight: 'Weight-medium',
245
+ size: 'Font-14'
246
+ },
247
+ background: {
248
+ color: ''
249
+ }
250
+ },
251
+ hover: {
252
+ font: {
253
+ color: '',
254
+ weight: ''
255
+ },
256
+ background: {
257
+ color: ''
258
+ }
259
+ },
260
+ disabled: {
261
+ font: {
262
+ color: '',
263
+ weight: ''
264
+ },
265
+ background: {
266
+ color: ''
267
+ }
268
+ }
269
+ },
270
+ card: {
271
+ padding: {
272
+ x: 'Spacing-15',
273
+ y: 'Spacing-9'
274
+ },
275
+ font: {
276
+ color: 'Neutral-text-5',
277
+ weight: 'Weight-regular',
278
+ size: 'Font-14'
279
+ },
280
+ background: {
281
+ color: 'Neutral-fill-2'
282
+ },
283
+ active: {
284
+ font: {
285
+ color: '',
286
+ weight: 'Weight-medium',
287
+ size: 'Font-14'
288
+ },
289
+ background: {
290
+ color: 'Neutral-fill-4'
291
+ }
292
+ },
293
+ border: {
294
+ color: 'Neutral-border-1'
295
+ },
296
+ checked: {
297
+ font: {
298
+ color: 'Brand-6',
299
+ size: 'Font-14',
300
+ weight: 'Weight-medium'
301
+ },
302
+ background: {
303
+ color: 'Neutral-fill-1'
304
+ }
305
+ },
306
+ hover: {
307
+ font: {
308
+ color: '',
309
+ weight: ''
310
+ },
311
+ background: {
312
+ color: 'Neutral-fill-3'
313
+ }
314
+ },
315
+ disabled: {
316
+ font: {
317
+ color: 'Neutral-text-2',
318
+ weight: ''
319
+ },
320
+ background: {
321
+ color: 'Neutral-fill-2'
322
+ }
126
323
  }
127
324
  },
128
325
  split: {
@@ -143,9 +340,7 @@ var tabsTokenValue = {
143
340
  y: 'Spacing-8'
144
341
  }
145
342
  }
146
- }
147
- };
148
- var tabsTokenExtraValue = {
343
+ },
149
344
  extra: {
150
345
  fill: {
151
346
  hover: {
@@ -155,13 +350,6 @@ var tabsTokenExtraValue = {
155
350
  }
156
351
  }
157
352
  },
158
- card: {
159
- disabled: {
160
- background: {
161
- color: 'Neutral-fill-2'
162
- }
163
- }
164
- },
165
353
  arrow: {
166
354
  font: {
167
355
  color: 'Neutral-text-4'
@@ -1,22 +1,4 @@
1
1
  export interface TabsTokens {
2
- /**
3
- * @type {string}
4
- * @token Neutral-fill-3
5
- * @description 标签页附加内容填充模式鼠标移入时的背景颜色
6
- */
7
- tabsExtraFillHoverBackgroundColor: string;
8
- /**
9
- * @type {string}
10
- * @token Neutral-fill-2
11
- * @description 标签页卡片模式禁用时的背景颜色
12
- */
13
- tabsCardDisabledBackgroundColor: string;
14
- /**
15
- * @type {string}
16
- * @token Neutral-text-4
17
- * @description 标签页箭头icon字体颜色
18
- */
19
- tabsArrowFontColor: string;
20
2
  /**
21
3
  * @type {string}
22
4
  * @token Neutral-text-5
@@ -91,7 +73,7 @@ export interface TabsTokens {
91
73
  tabsTabFontSize: string;
92
74
  /**
93
75
  * @type {string}
94
- * @token Radius-4
76
+ * @token Radius-default
95
77
  * @description 标签页页签边框圆角
96
78
  */
97
79
  tabsTabBorderRadius: string;
@@ -104,27 +86,111 @@ export interface TabsTokens {
104
86
  /**
105
87
  * @type {string}
106
88
  * @token Spacing-8
107
- * @description 标签页下划模式内边距(水平方向)
89
+ * @description 标签页长线条模式内边距(水平方向)
108
90
  */
109
91
  tabsLinePaddingX: string;
110
92
  /**
111
93
  * @type {string}
112
94
  * @token Spacing-6
113
- * @description 标签页下划模式内边距(垂直方向)
95
+ * @description 标签页长线条模式内边距(垂直方向)
114
96
  */
115
97
  tabsLinePaddingY: string;
98
+ /**
99
+ * @type {string}
100
+ * @token Neutral-border-1
101
+ * @description 标签页长线条模式undefined背景颜色
102
+ */
103
+ tabsLineHrBackgroundColor: string;
104
+ /**
105
+ * @type {string}
106
+ * @token Brand-6
107
+ * @description 标签页长线条模式undefined背景颜色
108
+ */
109
+ tabsLineAfterBackgroundColor: string;
116
110
  /**
117
111
  * @type {string}
118
112
  * @token Spacing-8
119
- * @description 标签页下划模式内部容器的内边距(水平方向)
113
+ * @description 标签页长线条模式内部容器的内边距(水平方向)
120
114
  */
121
115
  tabsLineInnerPaddingX: string;
122
116
  /**
123
117
  * @type {string}
124
118
  * @token Spacing-4
125
- * @description 标签页下划模式内部容器的内边距(垂直方向)
119
+ * @description 标签页长线条模式内部容器的内边距(垂直方向)
126
120
  */
127
121
  tabsLineInnerPaddingY: string;
122
+ /**
123
+ * @type {string}
124
+ * @token Neutral-text-5
125
+ * @description 标签页长线条模式字体颜色
126
+ */
127
+ tabsLineFontColor: string;
128
+ /**
129
+ * @type {string}
130
+ * @token Weight-regular
131
+ * @description 标签页长线条模式字体字重
132
+ */
133
+ tabsLineFontWeight: string;
134
+ /**
135
+ * @type {string}
136
+ * @token Font-14
137
+ * @description 标签页长线条模式字体字号
138
+ */
139
+ tabsLineFontSize: string;
140
+ /**
141
+ * @type {string}
142
+ * @token Neutral-fill-1
143
+ * @description 标签页长线条模式背景颜色
144
+ */
145
+ tabsLineBackgroundColor: string;
146
+ /**
147
+ * @type {string}
148
+ * @token Neutral-fill-3
149
+ * @description 标签页长线条模式鼠标点击时的背景颜色
150
+ */
151
+ tabsLineActiveBackgroundColor: string;
152
+ /**
153
+ * @type {string}
154
+ * @token Brand-6
155
+ * @description 标签页长线条模式选中状态字体颜色
156
+ */
157
+ tabsLineCheckedFontColor: string;
158
+ /**
159
+ * @type {string}
160
+ * @token Font-14
161
+ * @description 标签页长线条模式选中状态字体字号
162
+ */
163
+ tabsLineCheckedFontSize: string;
164
+ /**
165
+ * @type {string}
166
+ * @token Weight-medium
167
+ * @description 标签页长线条模式选中状态字体字重
168
+ */
169
+ tabsLineCheckedFontWeight: string;
170
+ /**
171
+ * @type {string}
172
+ * @token Neutral-fill-1
173
+ * @description 标签页长线条模式选中状态背景颜色
174
+ */
175
+ tabsLineCheckedBackgroundColor: string;
176
+ /**
177
+ * @type {string}
178
+ * @token Font-14
179
+ * @description 标签页长线条模式鼠标移入时的字体字号
180
+ */
181
+ tabsLineHoverFontSize: string;
182
+ /**
183
+ * @type {string}
184
+ * @token Neutral-fill-2
185
+ * @description 标签页长线条模式鼠标移入时的背景颜色
186
+ */
187
+ tabsLineHoverBackgroundColor: string;
188
+ /**
189
+ * @type {string}
190
+ * @token Neutral-text-2
191
+ * @description 标签页长线条模式禁用时的字体颜色
192
+ */
193
+ tabsLineDisabledFontColor: string;
128
194
  /**
129
195
  * @type {string}
130
196
  * @token Spacing-4
@@ -149,6 +215,210 @@ export interface TabsTokens {
149
215
  * @description 标签页填充模式内部容器的内边距(垂直方向)
150
216
  */
151
217
  tabsFillInnerPaddingY: string;
218
+ /**
219
+ * @type {string}
220
+ * @token Neutral-text-5
221
+ * @description 标签页填充模式字体颜色
222
+ */
223
+ tabsFillFontColor: string;
224
+ /**
225
+ * @type {string}
226
+ * @token Weight-regular
227
+ * @description 标签页填充模式字体字重
228
+ */
229
+ tabsFillFontWeight: string;
230
+ /**
231
+ * @type {string}
232
+ * @token Font-14
233
+ * @description 标签页填充模式字体字号
234
+ */
235
+ tabsFillFontSize: string;
236
+ /**
237
+ * @type {string}
238
+ * @token Neutral-fill-2
239
+ * @description 标签页填充模式背景颜色
240
+ */
241
+ tabsFillBackgroundColor: string;
242
+ /**
243
+ * @type {string}
244
+ * @token Weight-medium
245
+ * @description 标签页填充模式鼠标点击时的字体字重
246
+ */
247
+ tabsFillActiveFontWeight: string;
248
+ /**
249
+ * @type {string}
250
+ * @token Font-14
251
+ * @description 标签页填充模式鼠标点击时的字体字号
252
+ */
253
+ tabsFillActiveFontSize: string;
254
+ /**
255
+ * @type {string}
256
+ * @token Neutral-fill-4
257
+ * @description 标签页填充模式鼠标点击时的背景颜色
258
+ */
259
+ tabsFillActiveBackgroundColor: string;
260
+ /**
261
+ * @type {string}
262
+ * @token Brand-6
263
+ * @description 标签页填充模式选中状态字体颜色
264
+ */
265
+ tabsFillCheckedFontColor: string;
266
+ /**
267
+ * @type {string}
268
+ * @token Font-14
269
+ * @description 标签页填充模式选中状态字体字号
270
+ */
271
+ tabsFillCheckedFontSize: string;
272
+ /**
273
+ * @type {string}
274
+ * @token Weight-medium
275
+ * @description 标签页填充模式选中状态字体字重
276
+ */
277
+ tabsFillCheckedFontWeight: string;
278
+ /**
279
+ * @type {string}
280
+ * @token Neutral-fill-1
281
+ * @description 标签页填充模式选中状态背景颜色
282
+ */
283
+ tabsFillCheckedBackgroundColor: string;
284
+ /**
285
+ * @type {string}
286
+ * @token Neutral-fill-3
287
+ * @description 标签页填充模式鼠标移入时的背景颜色
288
+ */
289
+ tabsFillHoverBackgroundColor: string;
290
+ /**
291
+ * @type {string}
292
+ * @token Neutral-text-2
293
+ * @description 标签页填充模式禁用时的字体颜色
294
+ */
295
+ tabsFillDisabledFontColor: string;
296
+ /**
297
+ * @type {string}
298
+ * @token Weight-regular
299
+ * @description 标签页undefined字体字重
300
+ */
301
+ tabsDashFontWeight: string;
302
+ /**
303
+ * @type {string}
304
+ * @token Font-14
305
+ * @description 标签页undefined字体字号
306
+ */
307
+ tabsDashFontSize: string;
308
+ /**
309
+ * @type {string}
310
+ * @token Weight-medium
311
+ * @description 标签页undefined鼠标点击时的字体字重
312
+ */
313
+ tabsDashActiveFontWeight: string;
314
+ /**
315
+ * @type {string}
316
+ * @token Font-14
317
+ * @description 标签页undefined鼠标点击时的字体字号
318
+ */
319
+ tabsDashActiveFontSize: string;
320
+ /**
321
+ * @type {string}
322
+ * @token Spacing-15
323
+ * @description 标签页卡片模式内边距(水平方向)
324
+ */
325
+ tabsCardPaddingX: string;
326
+ /**
327
+ * @type {string}
328
+ * @token Spacing-9
329
+ * @description 标签页卡片模式内边距(垂直方向)
330
+ */
331
+ tabsCardPaddingY: string;
332
+ /**
333
+ * @type {string}
334
+ * @token Neutral-text-5
335
+ * @description 标签页卡片模式字体颜色
336
+ */
337
+ tabsCardFontColor: string;
338
+ /**
339
+ * @type {string}
340
+ * @token Weight-regular
341
+ * @description 标签页卡片模式字体字重
342
+ */
343
+ tabsCardFontWeight: string;
344
+ /**
345
+ * @type {string}
346
+ * @token Font-14
347
+ * @description 标签页卡片模式字体字号
348
+ */
349
+ tabsCardFontSize: string;
350
+ /**
351
+ * @type {string}
352
+ * @token Neutral-fill-2
353
+ * @description 标签页卡片模式背景颜色
354
+ */
355
+ tabsCardBackgroundColor: string;
356
+ /**
357
+ * @type {string}
358
+ * @token Weight-medium
359
+ * @description 标签页卡片模式鼠标点击时的字体字重
360
+ */
361
+ tabsCardActiveFontWeight: string;
362
+ /**
363
+ * @type {string}
364
+ * @token Font-14
365
+ * @description 标签页卡片模式鼠标点击时的字体字号
366
+ */
367
+ tabsCardActiveFontSize: string;
368
+ /**
369
+ * @type {string}
370
+ * @token Neutral-fill-4
371
+ * @description 标签页卡片模式鼠标点击时的背景颜色
372
+ */
373
+ tabsCardActiveBackgroundColor: string;
374
+ /**
375
+ * @type {string}
376
+ * @token Neutral-border-1
377
+ * @description 标签页卡片模式边框颜色
378
+ */
379
+ tabsCardBorderColor: string;
380
+ /**
381
+ * @type {string}
382
+ * @token Brand-6
383
+ * @description 标签页卡片模式选中状态字体颜色
384
+ */
385
+ tabsCardCheckedFontColor: string;
386
+ /**
387
+ * @type {string}
388
+ * @token Font-14
389
+ * @description 标签页卡片模式选中状态字体字号
390
+ */
391
+ tabsCardCheckedFontSize: string;
392
+ /**
393
+ * @type {string}
394
+ * @token Weight-medium
395
+ * @description 标签页卡片模式选中状态字体字重
396
+ */
397
+ tabsCardCheckedFontWeight: string;
398
+ /**
399
+ * @type {string}
400
+ * @token Neutral-fill-1
401
+ * @description 标签页卡片模式选中状态背景颜色
402
+ */
403
+ tabsCardCheckedBackgroundColor: string;
404
+ /**
405
+ * @type {string}
406
+ * @token Neutral-fill-3
407
+ * @description 标签页卡片模式鼠标移入时的背景颜色
408
+ */
409
+ tabsCardHoverBackgroundColor: string;
410
+ /**
411
+ * @type {string}
412
+ * @token Neutral-text-2
413
+ * @description 标签页卡片模式禁用时的字体颜色
414
+ */
415
+ tabsCardDisabledFontColor: string;
416
+ /**
417
+ * @type {string}
418
+ * @token Neutral-fill-2
419
+ * @description 标签页卡片模式禁用时的背景颜色
420
+ */
421
+ tabsCardDisabledBackgroundColor: string;
152
422
  /**
153
423
  * @type {string}
154
424
  * @token Neutral-border-2
@@ -179,5 +449,17 @@ export interface TabsTokens {
179
449
  * @description 标签页操作按钮水平模式内边距(垂直方向)
180
450
  */
181
451
  tabsActionHorizontalPaddingY: string;
452
+ /**
453
+ * @type {string}
454
+ * @token Neutral-fill-3
455
+ * @description 标签页附加内容填充模式鼠标移入时的背景颜色
456
+ */
457
+ tabsExtraFillHoverBackgroundColor: string;
458
+ /**
459
+ * @type {string}
460
+ * @token Neutral-text-4
461
+ * @description 标签页箭头icon字体颜色
462
+ */
463
+ tabsArrowFontColor: string;
182
464
  }
183
465
  //# 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,iCAAiC,EAAE,MAAM,CAAC;IAC1C;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,wBAAwB,EAA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IG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,iCAAiC,EAAE,MAAM,CAAC;IAC1C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B"}
package/cjs/tag/rule.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var tagRules = {
4
4
  color: [['info', 'default', 'success', 'warning', 'danger', 'magenta', 'brown', 'purple', 'indigo', 'cyan', 'neon', 'lemon', 'tangerine'], ['', 'outline', 'fill'], ['', 'disabled'], ['font-color', 'background-color', 'border-color']],
5
- size: [['', 'small', 'large'], ['font-size', 'border-radius', 'padding-x', 'padding-y', 'height']],
5
+ size: [['', 'small', 'large'], ['font-size', 'border-radius', 'padding-x', 'padding-y', 'height', 'font-weight']],
6
6
  input: [['', 'small', 'large'], ['input'], ['padding-x', 'padding-y', 'font-size']],
7
7
  icon: [['info', 'default', 'success', 'warning', 'danger', 'magenta', 'brown', 'purple', 'indigo', 'cyan', 'neon', 'lemon', 'tangerine'], ['', 'outline', 'fill'], ['icon'], ['', 'disabled', 'hover'], ['background-color', 'font-color']]
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,QAAA,MAAM,SAAS,EAAE,SA4ShB,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,QAAA,MAAM,SAAS,EAAE,SA+ShB,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/cjs/tag/tag.js CHANGED
@@ -32,7 +32,7 @@ var tagTokens = {
32
32
  tagDefaultDisabledFontColor: 'Neutral-text-2',
33
33
  tagDefaultDisabledBackgroundColor: 'Neutral-fill-2',
34
34
  tagDefaultDisabledBorderColor: 'Neutral-fill-2',
35
- tagDefaultOutlineFontColor: 'Neutral-text-4',
35
+ tagDefaultOutlineFontColor: 'Neutral-text-5',
36
36
  tagDefaultOutlineBackgroundColor: 'Neutral-fill-1',
37
37
  tagDefaultOutlineBorderColor: 'Neutral-border-2',
38
38
  tagDefaultOutlineDisabledFontColor: 'Neutral-text-2',
@@ -243,19 +243,22 @@ var tagTokens = {
243
243
  tagTangerineFillDisabledBackgroundColor: 'Tangerine-3',
244
244
  tagTangerineFillDisabledBorderColor: 'Tangerine-3',
245
245
  tagFontSize: 'Font-12',
246
- tagBorderRadius: 'Radius-3',
246
+ tagBorderRadius: 'Radius-small',
247
247
  tagPaddingX: 'Spacing-6',
248
248
  tagPaddingY: 'Spacing-2',
249
249
  tagHeight: 'Size-11',
250
+ tagFontWeight: 'Weight-regular',
250
251
  tagSmallFontSize: 'Font-12',
251
- tagSmallBorderRadius: 'Radius-2',
252
+ tagSmallBorderRadius: 'Radius-lesser',
252
253
  tagSmallPaddingX: 'Spacing-4',
253
254
  tagSmallHeight: 'Size-10',
255
+ tagSmallFontWeight: 'Weight-regular',
254
256
  tagLargeFontSize: 'Font-14',
255
- tagLargeBorderRadius: 'Radius-4',
257
+ tagLargeBorderRadius: 'Radius-default',
256
258
  tagLargePaddingX: 'Spacing-12',
257
259
  tagLargePaddingY: 'Spacing-2',
258
260
  tagLargeHeight: 'Size-14',
261
+ tagLargeFontWeight: 'Weight-regular',
259
262
  tagInputPaddingX: 'Spacing-4',
260
263
  tagInputFontSize: 'Font-12',
261
264
  tagSmallInputPaddingX: 'Spacing-4',