@sheinx/theme 3.2.0-beta.1 → 3.2.0-beta.3

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 (163) hide show
  1. package/cjs/breadcrumb/breadcrumb.js +1 -1
  2. package/cjs/breadcrumb/token.js +1 -1
  3. package/cjs/breadcrumb/type.d.ts +1 -1
  4. package/cjs/card/card.js +1 -1
  5. package/cjs/card/token.js +1 -1
  6. package/cjs/card/type.d.ts +1 -1
  7. package/cjs/carousel/carousel.js +1 -1
  8. package/cjs/carousel/token.js +1 -1
  9. package/cjs/carousel/type.d.ts +1 -1
  10. package/cjs/cascader/cascader.js +4 -4
  11. package/cjs/cascader/token.js +4 -4
  12. package/cjs/cascader/type.d.ts +4 -4
  13. package/cjs/collapse/collapse.js +4 -4
  14. package/cjs/collapse/token.js +4 -4
  15. package/cjs/collapse/type.d.ts +4 -4
  16. package/cjs/date-picker/date-picker.js +4 -4
  17. package/cjs/date-picker/token.js +4 -4
  18. package/cjs/date-picker/type.d.ts +4 -4
  19. package/cjs/form/form.d.ts.map +1 -1
  20. package/cjs/form/form.js +9 -2
  21. package/cjs/form/token.js +19 -2
  22. package/cjs/form/type.d.ts +44 -2
  23. package/cjs/form/type.d.ts.map +1 -1
  24. package/cjs/image/image.d.ts.map +1 -1
  25. package/cjs/image/image.js +5 -3
  26. package/cjs/image/rule.js +1 -1
  27. package/cjs/image/token.js +7 -3
  28. package/cjs/image/type.d.ts +15 -3
  29. package/cjs/image/type.d.ts.map +1 -1
  30. package/cjs/index.d.ts +2 -0
  31. package/cjs/index.d.ts.map +1 -1
  32. package/cjs/index.js +20 -1
  33. package/cjs/menu/menu.d.ts.map +1 -1
  34. package/cjs/menu/menu.js +33 -17
  35. package/cjs/menu/token.js +95 -50
  36. package/cjs/menu/type.d.ts +145 -49
  37. package/cjs/menu/type.d.ts.map +1 -1
  38. package/cjs/modal/modal.js +1 -1
  39. package/cjs/modal/token.js +1 -1
  40. package/cjs/modal/type.d.ts +1 -1
  41. package/cjs/progress/progress.d.ts.map +1 -1
  42. package/cjs/progress/progress.js +15 -1
  43. package/cjs/progress/token.js +81 -1
  44. package/cjs/progress/type.d.ts +87 -3
  45. package/cjs/progress/type.d.ts.map +1 -1
  46. package/cjs/slider/slider.js +1 -1
  47. package/cjs/slider/token.js +1 -1
  48. package/cjs/slider/type.d.ts +1 -1
  49. package/cjs/tabs/tabs.js +1 -1
  50. package/cjs/tabs/token.js +1 -1
  51. package/cjs/tabs/type.d.ts +1 -1
  52. package/cjs/tag/rule.js +1 -1
  53. package/cjs/tag/tag.d.ts.map +1 -1
  54. package/cjs/tag/tag.js +7 -4
  55. package/cjs/tag/token.js +10 -34
  56. package/cjs/tag/type.d.ts +22 -4
  57. package/cjs/tag/type.d.ts.map +1 -1
  58. package/cjs/textarea/textarea.js +1 -1
  59. package/cjs/textarea/token.js +1 -1
  60. package/cjs/textarea/type.d.ts +1 -1
  61. package/cjs/token/figma.js +6 -0
  62. package/cjs/token/token.d.ts +1 -2
  63. package/cjs/token/token.d.ts.map +1 -1
  64. package/cjs/token/token.js +2 -2
  65. package/cjs/token/type.d.ts +7 -0
  66. package/cjs/token/type.d.ts.map +1 -1
  67. package/cjs/tooltip/token.js +1 -1
  68. package/cjs/tooltip/tooltip.js +1 -1
  69. package/cjs/tooltip/type.d.ts +1 -1
  70. package/cjs/tree/token.js +1 -1
  71. package/cjs/tree/tree.js +1 -1
  72. package/cjs/tree/type.d.ts +1 -1
  73. package/cjs/tree-select/token.js +4 -4
  74. package/cjs/tree-select/tree-select.js +4 -4
  75. package/cjs/tree-select/type.d.ts +4 -4
  76. package/cjs/upload/token.js +2 -2
  77. package/cjs/upload/type.d.ts +2 -2
  78. package/cjs/upload/upload.js +2 -2
  79. package/cjs/utils/css-var.d.ts +1 -0
  80. package/cjs/utils/css-var.d.ts.map +1 -1
  81. package/cjs/utils/css-var.js +6 -1
  82. package/esm/breadcrumb/breadcrumb.js +1 -1
  83. package/esm/breadcrumb/token.js +1 -1
  84. package/esm/breadcrumb/type.d.ts +1 -1
  85. package/esm/card/card.js +1 -1
  86. package/esm/card/token.js +1 -1
  87. package/esm/card/type.d.ts +1 -1
  88. package/esm/carousel/carousel.js +1 -1
  89. package/esm/carousel/token.js +1 -1
  90. package/esm/carousel/type.d.ts +1 -1
  91. package/esm/cascader/cascader.js +4 -4
  92. package/esm/cascader/token.js +4 -4
  93. package/esm/cascader/type.d.ts +4 -4
  94. package/esm/collapse/collapse.js +4 -4
  95. package/esm/collapse/token.js +4 -4
  96. package/esm/collapse/type.d.ts +4 -4
  97. package/esm/date-picker/date-picker.js +4 -4
  98. package/esm/date-picker/token.js +4 -4
  99. package/esm/date-picker/type.d.ts +4 -4
  100. package/esm/form/form.d.ts.map +1 -1
  101. package/esm/form/form.js +9 -2
  102. package/esm/form/token.js +19 -2
  103. package/esm/form/type.d.ts +44 -2
  104. package/esm/form/type.d.ts.map +1 -1
  105. package/esm/image/image.d.ts.map +1 -1
  106. package/esm/image/image.js +5 -3
  107. package/esm/image/rule.js +1 -1
  108. package/esm/image/token.js +7 -3
  109. package/esm/image/type.d.ts +15 -3
  110. package/esm/image/type.d.ts.map +1 -1
  111. package/esm/index.d.ts +2 -0
  112. package/esm/index.d.ts.map +1 -1
  113. package/esm/index.js +2 -0
  114. package/esm/menu/menu.d.ts.map +1 -1
  115. package/esm/menu/menu.js +33 -17
  116. package/esm/menu/token.js +95 -50
  117. package/esm/menu/type.d.ts +145 -49
  118. package/esm/menu/type.d.ts.map +1 -1
  119. package/esm/modal/modal.js +1 -1
  120. package/esm/modal/token.js +1 -1
  121. package/esm/modal/type.d.ts +1 -1
  122. package/esm/progress/progress.d.ts.map +1 -1
  123. package/esm/progress/progress.js +15 -1
  124. package/esm/progress/token.js +81 -1
  125. package/esm/progress/type.d.ts +87 -3
  126. package/esm/progress/type.d.ts.map +1 -1
  127. package/esm/slider/slider.js +1 -1
  128. package/esm/slider/token.js +1 -1
  129. package/esm/slider/type.d.ts +1 -1
  130. package/esm/tabs/tabs.js +1 -1
  131. package/esm/tabs/token.js +1 -1
  132. package/esm/tabs/type.d.ts +1 -1
  133. package/esm/tag/rule.js +1 -1
  134. package/esm/tag/tag.d.ts.map +1 -1
  135. package/esm/tag/tag.js +7 -4
  136. package/esm/tag/token.js +10 -34
  137. package/esm/tag/type.d.ts +22 -4
  138. package/esm/tag/type.d.ts.map +1 -1
  139. package/esm/textarea/textarea.js +1 -1
  140. package/esm/textarea/token.js +1 -1
  141. package/esm/textarea/type.d.ts +1 -1
  142. package/esm/token/figma.js +6 -0
  143. package/esm/token/token.d.ts +1 -2
  144. package/esm/token/token.d.ts.map +1 -1
  145. package/esm/token/token.js +2 -2
  146. package/esm/token/type.d.ts +7 -0
  147. package/esm/token/type.d.ts.map +1 -1
  148. package/esm/tooltip/token.js +1 -1
  149. package/esm/tooltip/tooltip.js +1 -1
  150. package/esm/tooltip/type.d.ts +1 -1
  151. package/esm/tree/token.js +1 -1
  152. package/esm/tree/tree.js +1 -1
  153. package/esm/tree/type.d.ts +1 -1
  154. package/esm/tree-select/token.js +4 -4
  155. package/esm/tree-select/tree-select.js +4 -4
  156. package/esm/tree-select/type.d.ts +4 -4
  157. package/esm/upload/token.js +2 -2
  158. package/esm/upload/type.d.ts +2 -2
  159. package/esm/upload/upload.js +2 -2
  160. package/esm/utils/css-var.d.ts +1 -0
  161. package/esm/utils/css-var.d.ts.map +1 -1
  162. package/esm/utils/css-var.js +5 -0
  163. package/package.json +1 -1
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: {
@@ -94,13 +83,13 @@ var menuTokenExtraValue = {
94
83
  },
95
84
  title: {
96
85
  padding: {
97
- x: '13px',
98
- y: '9px'
86
+ x: 'Spacing-16',
87
+ y: 'Spacing-9'
99
88
  }
100
89
  },
101
90
  expand: {
102
- width: '46px',
103
- size: '14px',
91
+ width: 'Spacing-46',
92
+ size: 'Spacing-14',
104
93
  hover: {
105
94
  background: {
106
95
  color: 'Neutral-fill-3'
@@ -112,6 +101,11 @@ var menuTokenExtraValue = {
112
101
  shadow: '0 2px 8px rgba(0, 0, 0, 0.15)'
113
102
  }
114
103
  },
104
+ header: {
105
+ border: {
106
+ color: 'Neutral-border-1'
107
+ }
108
+ },
115
109
  dark: {
116
110
  font: {
117
111
  color: 'Neutral-text-1'
@@ -156,38 +150,89 @@ var menuTokenExtraValue = {
156
150
  }
157
151
  }
158
152
  },
159
- collapse: {
160
- item: {
153
+ header: {
154
+ border: {
155
+ color: 'Neutral-fill-8'
156
+ }
157
+ }
158
+ },
159
+ search: {
160
+ border: {
161
+ radius: 'Radius-Full',
162
+ color: 'Neutral-border-2'
163
+ },
164
+ padding: {
165
+ x: 'Spacing-8'
166
+ },
167
+ icon: {
168
+ size: 'Size-7',
169
+ color: 'Neutral-text-4',
170
+ margin: {
171
+ x: 'Spacing-8'
172
+ }
173
+ },
174
+ background: {
175
+ color: 'Neutral-fill-2'
176
+ },
177
+ clear: {
178
+ color: 'Neutral-text-2'
179
+ },
180
+ hover: {
181
+ clear: {
182
+ color: 'Neutral-text-4'
183
+ },
184
+ border: {
185
+ color: 'Brand-5'
186
+ },
187
+ background: {
188
+ color: 'Neutral-fill-1'
189
+ }
190
+ },
191
+ disabled: {
192
+ background: {
193
+ color: 'Neutral-fill-3'
194
+ }
195
+ },
196
+ dark: {
197
+ font: {
198
+ color: 'Neutral-text-1'
199
+ },
200
+ border: {
201
+ color: 'Neutral-fill-8'
202
+ },
203
+ background: {
204
+ color: 'Neutral-fill-8'
205
+ },
206
+ icon: {
207
+ color: 'Neutral-text-1'
208
+ },
209
+ clear: {
210
+ color: 'Neutral-text-3'
211
+ },
212
+ placeholder: {
161
213
  font: {
162
- color: 'Brand-1'
214
+ color: 'Neutral-text-2'
215
+ }
216
+ },
217
+ hover: {
218
+ border: {
219
+ color: 'Brand-5'
163
220
  },
164
221
  background: {
165
222
  color: 'Neutral-fill-9'
166
223
  },
167
- active: {
168
- font: {
169
- color: 'Neutral-text-1'
170
- },
171
- background: {
172
- color: 'Brand-6'
173
- }
224
+ clear: {
225
+ color: 'Neutral-text-2'
226
+ }
227
+ },
228
+ focus: {
229
+ border: {
230
+ color: 'Brand-5'
174
231
  },
175
- disabled: {
176
- font: {
177
- color: 'Neutral-text-4'
178
- },
179
- background: {
180
- color: 'Neutral-fill-9'
181
- }
232
+ background: {
233
+ color: 'Neutral-fill-9'
182
234
  },
183
- hover: {
184
- font: {
185
- color: 'Neutral-text-1'
186
- },
187
- background: {
188
- color: 'Brand-9'
189
- }
190
- }
235
+ shadow: 'Brand-9'
191
236
  }
192
237
  }
193
238
  }
@@ -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
@@ -103,25 +91,25 @@ export interface MenuTokens {
103
91
  menuItemDisabledFontColor: string;
104
92
  /**
105
93
  * @type {string}
106
- * @token 13px
94
+ * @token Spacing-16
107
95
  * @description 菜单标题模式内边距(水平方向)
108
96
  */
109
97
  menuTitlePaddingX: string;
110
98
  /**
111
99
  * @type {string}
112
- * @token 9px
100
+ * @token Spacing-9
113
101
  * @description 菜单标题模式内边距(垂直方向)
114
102
  */
115
103
  menuTitlePaddingY: string;
116
104
  /**
117
105
  * @type {string}
118
- * @token 46px
106
+ * @token Spacing-46
119
107
  * @description 菜单展开icon的宽度
120
108
  */
121
109
  menuExpandWidth: string;
122
110
  /**
123
111
  * @type {string}
124
- * @token 14px
112
+ * @token Spacing-14
125
113
  * @description 菜单展开icon的字号
126
114
  */
127
115
  menuExpandSize: string;
@@ -137,6 +125,12 @@ export interface MenuTokens {
137
125
  * @description 菜单子菜单阴影
138
126
  */
139
127
  menuChildrenBoxShadow: string;
128
+ /**
129
+ * @type {string}
130
+ * @token Neutral-border-1
131
+ * @description 菜单undefined边框颜色
132
+ */
133
+ menuHeaderBorderColor: string;
140
134
  /**
141
135
  * @type {string}
142
136
  * @token Neutral-text-1
@@ -205,51 +199,153 @@ export interface MenuTokens {
205
199
  menuDarkItemDisabledFontColor: string;
206
200
  /**
207
201
  * @type {string}
208
- * @token Brand-1
209
- * @description 菜单深色模式折叠模式下的选项字体颜色
202
+ * @token Neutral-fill-8
203
+ * @description 菜单深色模式undefined边框颜色
210
204
  */
211
- menuDarkCollapseItemFontColor: string;
205
+ menuDarkHeaderBorderColor: string;
212
206
  /**
213
207
  * @type {string}
214
- * @token Neutral-fill-9
215
- * @description 菜单深色模式折叠模式下的选项背景颜色
208
+ * @token Radius-Full
209
+ * @description 菜单undefined边框圆角
216
210
  */
217
- menuDarkCollapseItemBackgroundColor: string;
211
+ menuSearchBorderRadius: string;
218
212
  /**
219
213
  * @type {string}
220
- * @token Neutral-text-1
221
- * @description 菜单深色模式折叠模式下的选项鼠标点击时的字体颜色
214
+ * @token Neutral-border-2
215
+ * @description 菜单undefined边框颜色
222
216
  */
223
- menuDarkCollapseItemActiveFontColor: string;
217
+ menuSearchBorderColor: string;
224
218
  /**
225
219
  * @type {string}
226
- * @token Brand-6
227
- * @description 菜单深色模式折叠模式下的选项鼠标点击时的背景颜色
220
+ * @token Spacing-8
221
+ * @description 菜单undefined内边距(水平方向)
222
+ */
223
+ menuSearchPaddingX: string;
224
+ /**
225
+ * @type {string}
226
+ * @token Size-7
227
+ * @description 菜单undefined图标字号
228
228
  */
229
- menuDarkCollapseItemActiveBackgroundColor: string;
229
+ menuSearchIconSize: string;
230
230
  /**
231
231
  * @type {string}
232
232
  * @token Neutral-text-4
233
- * @description 菜单深色模式折叠模式下的选项禁用时的字体颜色
233
+ * @description 菜单undefined图标颜色
234
234
  */
235
- menuDarkCollapseItemDisabledFontColor: string;
235
+ menuSearchIconColor: string;
236
236
  /**
237
237
  * @type {string}
238
- * @token Neutral-fill-9
239
- * @description 菜单深色模式折叠模式下的选项禁用时的背景颜色
238
+ * @token Spacing-8
239
+ * @description 菜单undefined图标外边距(水平方向)
240
240
  */
241
- menuDarkCollapseItemDisabledBackgroundColor: string;
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;
242
278
  /**
243
279
  * @type {string}
244
280
  * @token Neutral-text-1
245
- * @description 菜单深色模式折叠模式下的选项鼠标移入时的字体颜色
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深色模式鼠标聚焦时的背景颜色
246
342
  */
247
- menuDarkCollapseItemHoverFontColor: string;
343
+ menuSearchDarkFocusBackgroundColor: string;
248
344
  /**
249
345
  * @type {string}
250
346
  * @token Brand-9
251
- * @description 菜单深色模式折叠模式下的选项鼠标移入时的背景颜色
347
+ * @description 菜单undefined深色模式鼠标聚焦时的阴影
252
348
  */
253
- menuDarkCollapseItemHoverBackgroundColor: string;
349
+ menuSearchDarkFocusShadow: string;
254
350
  }
255
351
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceR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3',
11
11
  modalPanelBorder: 'Neutral-border-1',
12
12
  modalPanelGap: 'Spacing-16',
13
- modalPanelRadius: 'Radius-4',
13
+ modalPanelRadius: 'Radius-default',
14
14
  modalPanelFontSize: 'Font-14',
15
15
  modalHeaderIconMarginEnd: 'Spacing-8',
16
16
  modalHeaderIconMarginTop: 'Size-2',
@@ -52,7 +52,7 @@ var modalTokenExtraValue = {
52
52
  shadow: 'Shadow-3',
53
53
  border: 'Neutral-border-1',
54
54
  gap: 'Spacing-16',
55
- radius: 'Radius-4',
55
+ radius: 'Radius-default',
56
56
  font: {
57
57
  size: 'Font-14'
58
58
  }
@@ -49,7 +49,7 @@ export interface ModalTokens {
49
49
  modalPanelGap: string;
50
50
  /**
51
51
  * @type {string}
52
- * @token Radius-4
52
+ * @token Radius-default
53
53
  * @description 对话框面板圆角
54
54
  */
55
55
  modalPanelRadius: string;
@@ -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,cAmBrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
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"}
@@ -6,9 +6,18 @@ var progressTokens = {
6
6
  progressFontColor: 'Neutral-text-4',
7
7
  progressBackground: 'Neutral-fill-3',
8
8
  progressInfoFrontBackgroundColor: 'Brand-6',
9
+ progressInfoInnerFontColor: 'Neutral-text-1',
9
10
  progressWarningFrontBackgroundColor: 'Warning-6',
11
+ progressWarningInnerFontColor: 'Neutral-text-1',
10
12
  progressSuccessFrontBackgroundColor: 'Success-6',
13
+ progressSuccessInnerFontColor: 'Neutral-text-1',
11
14
  progressDangerFrontBackgroundColor: 'Danger-6',
15
+ progressDangerInnerFontColor: 'Neutral-text-1',
16
+ progressCircleInfoFontColor: 'Neutral-text-4',
17
+ progressCircleWarningFontColor: 'Warning-6',
18
+ progressCircleSuccessFontColor: 'success-6',
19
+ progressCircleDangerFontColor: 'danger-6',
20
+ progressCircleFontWeight: 'Weight-regular',
12
21
  progressLineHeight: 'Size-3',
13
22
  progressLineGap: 'Spacing-8',
14
23
  progressLineInnerHeight: 'Size-10',
@@ -17,8 +26,13 @@ var progressTokens = {
17
26
  progressLineInnerFontColor: 'Neutral-text-1',
18
27
  progressLineInnerFontSize: 'Font-12',
19
28
  progressLineInnerRightFontColor: 'Neutral-text-5',
29
+ progressLineInnerInfoFrontBackgroundColor: 'Brand-6',
30
+ progressLineInnerWarningFrontBackgroundColor: 'Warning-6',
31
+ progressLineInnerSuccessFrontBackgroundColor: 'Success-6',
32
+ progressLineInnerDangerFrontBackgroundColor: 'Danger-6',
33
+ progressLinePopFontColor: 'Neutral-text-1',
20
34
  progressLineIconSize: 'Size-7',
21
35
  progressLineBackgroundColor: 'Neutral-fill-9',
22
- progressLineColor: 'Neutral-text-1'
36
+ progressLineFontWeight: 'Weight-regular'
23
37
  };
24
38
  export default progressTokens;
@@ -34,6 +34,11 @@ var progressTokenExtraValue = {
34
34
  background: {
35
35
  color: 'Brand-6'
36
36
  }
37
+ },
38
+ inner: {
39
+ font: {
40
+ color: 'Neutral-text-1'
41
+ }
37
42
  }
38
43
  },
39
44
  warning: {
@@ -41,6 +46,11 @@ var progressTokenExtraValue = {
41
46
  background: {
42
47
  color: 'Warning-6'
43
48
  }
49
+ },
50
+ inner: {
51
+ font: {
52
+ color: 'Neutral-text-1'
53
+ }
44
54
  }
45
55
  },
46
56
  success: {
@@ -48,6 +58,11 @@ var progressTokenExtraValue = {
48
58
  background: {
49
59
  color: 'Success-6'
50
60
  }
61
+ },
62
+ inner: {
63
+ font: {
64
+ color: 'Neutral-text-1'
65
+ }
51
66
  }
52
67
  },
53
68
  danger: {
@@ -55,6 +70,36 @@ var progressTokenExtraValue = {
55
70
  background: {
56
71
  color: 'Danger-6'
57
72
  }
73
+ },
74
+ inner: {
75
+ font: {
76
+ color: 'Neutral-text-1'
77
+ }
78
+ }
79
+ },
80
+ circle: {
81
+ info: {
82
+ font: {
83
+ color: 'Neutral-text-4'
84
+ }
85
+ },
86
+ warning: {
87
+ font: {
88
+ color: 'Warning-6'
89
+ }
90
+ },
91
+ success: {
92
+ font: {
93
+ color: 'success-6'
94
+ }
95
+ },
96
+ danger: {
97
+ font: {
98
+ color: 'danger-6'
99
+ }
100
+ },
101
+ font: {
102
+ weight: 'Weight-regular'
58
103
  }
59
104
  },
60
105
  line: {
@@ -74,6 +119,39 @@ var progressTokenExtraValue = {
74
119
  font: {
75
120
  color: 'Neutral-text-5'
76
121
  }
122
+ },
123
+ info: {
124
+ front: {
125
+ background: {
126
+ color: 'Brand-6'
127
+ }
128
+ }
129
+ },
130
+ warning: {
131
+ front: {
132
+ background: {
133
+ color: 'Warning-6'
134
+ }
135
+ }
136
+ },
137
+ success: {
138
+ front: {
139
+ background: {
140
+ color: 'Success-6'
141
+ }
142
+ }
143
+ },
144
+ danger: {
145
+ front: {
146
+ background: {
147
+ color: 'Danger-6'
148
+ }
149
+ }
150
+ }
151
+ },
152
+ pop: {
153
+ font: {
154
+ color: 'Neutral-text-1'
77
155
  }
78
156
  },
79
157
  icon: {
@@ -82,7 +160,9 @@ var progressTokenExtraValue = {
82
160
  background: {
83
161
  color: 'Neutral-fill-9'
84
162
  },
85
- color: 'Neutral-text-1'
163
+ font: {
164
+ weight: 'Weight-regular'
165
+ }
86
166
  }
87
167
  };
88
168
  module.exports = {