@sheinx/theme 3.1.27 → 3.2.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) 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 +2 -4
  9. package/cjs/breadcrumb/token.js +3 -9
  10. package/cjs/breadcrumb/type.d.ts +7 -19
  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 +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.d.ts.map +1 -1
  24. package/cjs/cascader/cascader.js +7 -4
  25. package/cjs/cascader/token.js +13 -4
  26. package/cjs/cascader/type.d.ts +22 -4
  27. package/cjs/cascader/type.d.ts.map +1 -1
  28. package/cjs/collapse/collapse.js +4 -4
  29. package/cjs/collapse/token.js +4 -4
  30. package/cjs/collapse/type.d.ts +4 -4
  31. package/cjs/date-picker/date-picker.js +4 -4
  32. package/cjs/date-picker/token.js +4 -4
  33. package/cjs/date-picker/type.d.ts +4 -4
  34. package/cjs/descriptions/descriptions.d.ts.map +1 -1
  35. package/cjs/descriptions/descriptions.js +6 -4
  36. package/cjs/descriptions/rule.js +3 -2
  37. package/cjs/descriptions/token.js +11 -3
  38. package/cjs/descriptions/type.d.ts +15 -3
  39. package/cjs/descriptions/type.d.ts.map +1 -1
  40. package/cjs/divider/divider.d.ts.map +1 -1
  41. package/cjs/divider/divider.js +1 -0
  42. package/cjs/divider/token.js +2 -1
  43. package/cjs/divider/type.d.ts +6 -0
  44. package/cjs/divider/type.d.ts.map +1 -1
  45. package/cjs/dropdown/dropdown.d.ts.map +1 -1
  46. package/cjs/dropdown/dropdown.js +6 -4
  47. package/cjs/dropdown/rule.js +2 -0
  48. package/cjs/dropdown/token.js +9 -5
  49. package/cjs/dropdown/type.d.ts +16 -4
  50. package/cjs/dropdown/type.d.ts.map +1 -1
  51. package/cjs/empty/empty.d.ts.map +1 -1
  52. package/cjs/empty/empty.js +2 -1
  53. package/cjs/empty/rule.js +1 -1
  54. package/cjs/empty/token.js +5 -2
  55. package/cjs/empty/type.d.ts +6 -0
  56. package/cjs/empty/type.d.ts.map +1 -1
  57. package/cjs/form/form.d.ts.map +1 -1
  58. package/cjs/form/form.js +9 -2
  59. package/cjs/form/token.js +19 -2
  60. package/cjs/form/type.d.ts +44 -2
  61. package/cjs/form/type.d.ts.map +1 -1
  62. package/cjs/image/image.d.ts.map +1 -1
  63. package/cjs/image/image.js +5 -3
  64. package/cjs/image/rule.js +1 -1
  65. package/cjs/image/token.js +7 -3
  66. package/cjs/image/type.d.ts +15 -3
  67. package/cjs/image/type.d.ts.map +1 -1
  68. package/cjs/index.d.ts +4 -2
  69. package/cjs/index.d.ts.map +1 -1
  70. package/cjs/index.js +27 -1
  71. package/cjs/input/input.d.ts.map +1 -1
  72. package/cjs/input/input.js +21 -5
  73. package/cjs/input/rule.js +1 -7
  74. package/cjs/input/token.js +44 -15
  75. package/cjs/input/type.d.ts +115 -19
  76. package/cjs/input/type.d.ts.map +1 -1
  77. package/cjs/list/list.d.ts.map +1 -1
  78. package/cjs/list/list.js +5 -1
  79. package/cjs/list/token.js +11 -1
  80. package/cjs/list/type.d.ts +25 -1
  81. package/cjs/list/type.d.ts.map +1 -1
  82. package/cjs/menu/menu.d.ts.map +1 -1
  83. package/cjs/menu/menu.js +34 -5
  84. package/cjs/menu/token.js +106 -5
  85. package/cjs/menu/type.d.ts +178 -4
  86. package/cjs/menu/type.d.ts.map +1 -1
  87. package/cjs/modal/modal.js +1 -1
  88. package/cjs/modal/token.js +1 -1
  89. package/cjs/modal/type.d.ts +1 -1
  90. package/cjs/popover/popover.d.ts.map +1 -1
  91. package/cjs/popover/popover.js +9 -7
  92. package/cjs/popover/rule.js +2 -2
  93. package/cjs/popover/token.js +11 -7
  94. package/cjs/popover/type.d.ts +19 -7
  95. package/cjs/popover/type.d.ts.map +1 -1
  96. package/cjs/progress/progress.d.ts.map +1 -1
  97. package/cjs/progress/progress.js +15 -1
  98. package/cjs/progress/token.js +81 -1
  99. package/cjs/progress/type.d.ts +87 -3
  100. package/cjs/progress/type.d.ts.map +1 -1
  101. package/cjs/rate/rate.d.ts.map +1 -1
  102. package/cjs/rate/rate.js +3 -1
  103. package/cjs/rate/token.js +6 -2
  104. package/cjs/rate/type.d.ts +13 -1
  105. package/cjs/rate/type.d.ts.map +1 -1
  106. package/cjs/select/select.d.ts.map +1 -1
  107. package/cjs/select/select.js +23 -7
  108. package/cjs/select/token.js +62 -12
  109. package/cjs/select/type.d.ts +103 -7
  110. package/cjs/select/type.d.ts.map +1 -1
  111. package/cjs/slider/slider.js +1 -1
  112. package/cjs/slider/token.js +1 -1
  113. package/cjs/slider/type.d.ts +1 -1
  114. package/cjs/table/table.d.ts.map +1 -1
  115. package/cjs/table/table.js +13 -0
  116. package/cjs/table/token.js +28 -1
  117. package/cjs/table/type.d.ts +78 -0
  118. package/cjs/table/type.d.ts.map +1 -1
  119. package/cjs/tabs/tabs.js +1 -1
  120. package/cjs/tabs/token.js +1 -1
  121. package/cjs/tabs/type.d.ts +1 -1
  122. package/cjs/tag/rule.js +1 -1
  123. package/cjs/tag/tag.d.ts.map +1 -1
  124. package/cjs/tag/tag.js +7 -4
  125. package/cjs/tag/token.js +10 -34
  126. package/cjs/tag/type.d.ts +22 -4
  127. package/cjs/tag/type.d.ts.map +1 -1
  128. package/cjs/textarea/textarea.js +1 -1
  129. package/cjs/textarea/token.js +1 -1
  130. package/cjs/textarea/type.d.ts +1 -1
  131. package/cjs/token/figma.js +6 -0
  132. package/cjs/token/token.d.ts.map +1 -1
  133. package/cjs/token/token.js +1 -0
  134. package/cjs/token/type.d.ts +7 -0
  135. package/cjs/token/type.d.ts.map +1 -1
  136. package/cjs/tooltip/token.js +1 -1
  137. package/cjs/tooltip/tooltip.js +1 -1
  138. package/cjs/tooltip/type.d.ts +1 -1
  139. package/cjs/transfer/rule.js +1 -8
  140. package/cjs/transfer/token.js +21 -4
  141. package/cjs/transfer/transfer.d.ts.map +1 -1
  142. package/cjs/transfer/transfer.js +11 -5
  143. package/cjs/transfer/type.d.ts +54 -18
  144. package/cjs/transfer/type.d.ts.map +1 -1
  145. package/cjs/tree/rule.js +2 -0
  146. package/cjs/tree/token.js +8 -3
  147. package/cjs/tree/tree.d.ts.map +1 -1
  148. package/cjs/tree/tree.js +3 -1
  149. package/cjs/tree/type.d.ts +16 -4
  150. package/cjs/tree/type.d.ts.map +1 -1
  151. package/cjs/tree-select/token.js +4 -4
  152. package/cjs/tree-select/tree-select.js +4 -4
  153. package/cjs/tree-select/type.d.ts +4 -4
  154. package/cjs/upload/token.js +2 -2
  155. package/cjs/upload/type.d.ts +2 -2
  156. package/cjs/upload/upload.js +2 -2
  157. package/cjs/utils/css-var.d.ts +1 -0
  158. package/cjs/utils/css-var.d.ts.map +1 -1
  159. package/cjs/utils/css-var.js +6 -1
  160. package/esm/alert/alert.d.ts.map +1 -1
  161. package/esm/alert/alert.js +4 -1
  162. package/esm/alert/rule.js +2 -2
  163. package/esm/alert/token.js +7 -2
  164. package/esm/alert/type.d.ts +19 -1
  165. package/esm/alert/type.d.ts.map +1 -1
  166. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  167. package/esm/breadcrumb/breadcrumb.js +2 -4
  168. package/esm/breadcrumb/token.js +3 -9
  169. package/esm/breadcrumb/type.d.ts +7 -19
  170. package/esm/breadcrumb/type.d.ts.map +1 -1
  171. package/esm/button/button.js +7 -7
  172. package/esm/button/token.js +8 -8
  173. package/esm/button/type.d.ts +2 -2
  174. package/esm/card/card.d.ts.map +1 -1
  175. package/esm/card/card.js +16 -2
  176. package/esm/card/token.js +32 -3
  177. package/esm/card/type.d.ts +85 -1
  178. package/esm/card/type.d.ts.map +1 -1
  179. package/esm/carousel/carousel.js +1 -1
  180. package/esm/carousel/token.js +1 -1
  181. package/esm/carousel/type.d.ts +1 -1
  182. package/esm/cascader/cascader.d.ts.map +1 -1
  183. package/esm/cascader/cascader.js +7 -4
  184. package/esm/cascader/token.js +13 -4
  185. package/esm/cascader/type.d.ts +22 -4
  186. package/esm/cascader/type.d.ts.map +1 -1
  187. package/esm/collapse/collapse.js +4 -4
  188. package/esm/collapse/token.js +4 -4
  189. package/esm/collapse/type.d.ts +4 -4
  190. package/esm/date-picker/date-picker.js +4 -4
  191. package/esm/date-picker/token.js +4 -4
  192. package/esm/date-picker/type.d.ts +4 -4
  193. package/esm/descriptions/descriptions.d.ts.map +1 -1
  194. package/esm/descriptions/descriptions.js +6 -4
  195. package/esm/descriptions/rule.js +3 -2
  196. package/esm/descriptions/token.js +11 -3
  197. package/esm/descriptions/type.d.ts +15 -3
  198. package/esm/descriptions/type.d.ts.map +1 -1
  199. package/esm/divider/divider.d.ts.map +1 -1
  200. package/esm/divider/divider.js +1 -0
  201. package/esm/divider/token.js +2 -1
  202. package/esm/divider/type.d.ts +6 -0
  203. package/esm/divider/type.d.ts.map +1 -1
  204. package/esm/dropdown/dropdown.d.ts.map +1 -1
  205. package/esm/dropdown/dropdown.js +6 -4
  206. package/esm/dropdown/rule.js +2 -0
  207. package/esm/dropdown/token.js +9 -5
  208. package/esm/dropdown/type.d.ts +16 -4
  209. package/esm/dropdown/type.d.ts.map +1 -1
  210. package/esm/empty/empty.d.ts.map +1 -1
  211. package/esm/empty/empty.js +2 -1
  212. package/esm/empty/rule.js +1 -1
  213. package/esm/empty/token.js +5 -2
  214. package/esm/empty/type.d.ts +6 -0
  215. package/esm/empty/type.d.ts.map +1 -1
  216. package/esm/form/form.d.ts.map +1 -1
  217. package/esm/form/form.js +9 -2
  218. package/esm/form/token.js +19 -2
  219. package/esm/form/type.d.ts +44 -2
  220. package/esm/form/type.d.ts.map +1 -1
  221. package/esm/image/image.d.ts.map +1 -1
  222. package/esm/image/image.js +5 -3
  223. package/esm/image/rule.js +1 -1
  224. package/esm/image/token.js +7 -3
  225. package/esm/image/type.d.ts +15 -3
  226. package/esm/image/type.d.ts.map +1 -1
  227. package/esm/index.d.ts +4 -2
  228. package/esm/index.d.ts.map +1 -1
  229. package/esm/index.js +3 -1
  230. package/esm/input/input.d.ts.map +1 -1
  231. package/esm/input/input.js +21 -5
  232. package/esm/input/rule.js +1 -7
  233. package/esm/input/token.js +44 -15
  234. package/esm/input/type.d.ts +115 -19
  235. package/esm/input/type.d.ts.map +1 -1
  236. package/esm/list/list.d.ts.map +1 -1
  237. package/esm/list/list.js +5 -1
  238. package/esm/list/token.js +11 -1
  239. package/esm/list/type.d.ts +25 -1
  240. package/esm/list/type.d.ts.map +1 -1
  241. package/esm/menu/menu.d.ts.map +1 -1
  242. package/esm/menu/menu.js +34 -5
  243. package/esm/menu/token.js +106 -5
  244. package/esm/menu/type.d.ts +178 -4
  245. package/esm/menu/type.d.ts.map +1 -1
  246. package/esm/modal/modal.js +1 -1
  247. package/esm/modal/token.js +1 -1
  248. package/esm/modal/type.d.ts +1 -1
  249. package/esm/popover/popover.d.ts.map +1 -1
  250. package/esm/popover/popover.js +9 -7
  251. package/esm/popover/rule.js +2 -2
  252. package/esm/popover/token.js +11 -7
  253. package/esm/popover/type.d.ts +19 -7
  254. package/esm/popover/type.d.ts.map +1 -1
  255. package/esm/progress/progress.d.ts.map +1 -1
  256. package/esm/progress/progress.js +15 -1
  257. package/esm/progress/token.js +81 -1
  258. package/esm/progress/type.d.ts +87 -3
  259. package/esm/progress/type.d.ts.map +1 -1
  260. package/esm/rate/rate.d.ts.map +1 -1
  261. package/esm/rate/rate.js +3 -1
  262. package/esm/rate/token.js +6 -2
  263. package/esm/rate/type.d.ts +13 -1
  264. package/esm/rate/type.d.ts.map +1 -1
  265. package/esm/select/select.d.ts.map +1 -1
  266. package/esm/select/select.js +23 -7
  267. package/esm/select/token.js +62 -12
  268. package/esm/select/type.d.ts +103 -7
  269. package/esm/select/type.d.ts.map +1 -1
  270. package/esm/slider/slider.js +1 -1
  271. package/esm/slider/token.js +1 -1
  272. package/esm/slider/type.d.ts +1 -1
  273. package/esm/table/table.d.ts.map +1 -1
  274. package/esm/table/table.js +13 -0
  275. package/esm/table/token.js +28 -1
  276. package/esm/table/type.d.ts +78 -0
  277. package/esm/table/type.d.ts.map +1 -1
  278. package/esm/tabs/tabs.js +1 -1
  279. package/esm/tabs/token.js +1 -1
  280. package/esm/tabs/type.d.ts +1 -1
  281. package/esm/tag/rule.js +1 -1
  282. package/esm/tag/tag.d.ts.map +1 -1
  283. package/esm/tag/tag.js +7 -4
  284. package/esm/tag/token.js +10 -34
  285. package/esm/tag/type.d.ts +22 -4
  286. package/esm/tag/type.d.ts.map +1 -1
  287. package/esm/textarea/textarea.js +1 -1
  288. package/esm/textarea/token.js +1 -1
  289. package/esm/textarea/type.d.ts +1 -1
  290. package/esm/token/figma.js +6 -0
  291. package/esm/token/token.d.ts.map +1 -1
  292. package/esm/token/token.js +1 -0
  293. package/esm/token/type.d.ts +7 -0
  294. package/esm/token/type.d.ts.map +1 -1
  295. package/esm/tooltip/token.js +1 -1
  296. package/esm/tooltip/tooltip.js +1 -1
  297. package/esm/tooltip/type.d.ts +1 -1
  298. package/esm/transfer/rule.js +1 -8
  299. package/esm/transfer/token.js +21 -4
  300. package/esm/transfer/transfer.d.ts.map +1 -1
  301. package/esm/transfer/transfer.js +11 -5
  302. package/esm/transfer/type.d.ts +54 -18
  303. package/esm/transfer/type.d.ts.map +1 -1
  304. package/esm/tree/rule.js +2 -0
  305. package/esm/tree/token.js +8 -3
  306. package/esm/tree/tree.d.ts.map +1 -1
  307. package/esm/tree/tree.js +3 -1
  308. package/esm/tree/type.d.ts +16 -4
  309. package/esm/tree/type.d.ts.map +1 -1
  310. package/esm/tree-select/token.js +4 -4
  311. package/esm/tree-select/tree-select.js +4 -4
  312. package/esm/tree-select/type.d.ts +4 -4
  313. package/esm/upload/token.js +2 -2
  314. package/esm/upload/type.d.ts +2 -2
  315. package/esm/upload/upload.js +2 -2
  316. package/esm/utils/css-var.d.ts +1 -0
  317. package/esm/utils/css-var.d.ts.map +1 -1
  318. package/esm/utils/css-var.js +5 -0
  319. package/package.json +1 -1
@@ -36,6 +36,11 @@ var progressTokenExtraValue = {
36
36
  background: {
37
37
  color: 'Brand-6'
38
38
  }
39
+ },
40
+ inner: {
41
+ font: {
42
+ color: 'Neutral-text-1'
43
+ }
39
44
  }
40
45
  },
41
46
  warning: {
@@ -43,6 +48,11 @@ var progressTokenExtraValue = {
43
48
  background: {
44
49
  color: 'Warning-6'
45
50
  }
51
+ },
52
+ inner: {
53
+ font: {
54
+ color: 'Neutral-text-1'
55
+ }
46
56
  }
47
57
  },
48
58
  success: {
@@ -50,6 +60,11 @@ var progressTokenExtraValue = {
50
60
  background: {
51
61
  color: 'Success-6'
52
62
  }
63
+ },
64
+ inner: {
65
+ font: {
66
+ color: 'Neutral-text-1'
67
+ }
53
68
  }
54
69
  },
55
70
  danger: {
@@ -57,6 +72,36 @@ var progressTokenExtraValue = {
57
72
  background: {
58
73
  color: 'Danger-6'
59
74
  }
75
+ },
76
+ inner: {
77
+ font: {
78
+ color: 'Neutral-text-1'
79
+ }
80
+ }
81
+ },
82
+ circle: {
83
+ info: {
84
+ font: {
85
+ color: 'Neutral-text-4'
86
+ }
87
+ },
88
+ warning: {
89
+ font: {
90
+ color: 'Warning-6'
91
+ }
92
+ },
93
+ success: {
94
+ font: {
95
+ color: 'success-6'
96
+ }
97
+ },
98
+ danger: {
99
+ font: {
100
+ color: 'danger-6'
101
+ }
102
+ },
103
+ font: {
104
+ weight: 'Weight-regular'
60
105
  }
61
106
  },
62
107
  line: {
@@ -76,6 +121,39 @@ var progressTokenExtraValue = {
76
121
  font: {
77
122
  color: 'Neutral-text-5'
78
123
  }
124
+ },
125
+ info: {
126
+ front: {
127
+ background: {
128
+ color: 'Brand-6'
129
+ }
130
+ }
131
+ },
132
+ warning: {
133
+ front: {
134
+ background: {
135
+ color: 'Warning-6'
136
+ }
137
+ }
138
+ },
139
+ success: {
140
+ front: {
141
+ background: {
142
+ color: 'Success-6'
143
+ }
144
+ }
145
+ },
146
+ danger: {
147
+ front: {
148
+ background: {
149
+ color: 'Danger-6'
150
+ }
151
+ }
152
+ }
153
+ },
154
+ pop: {
155
+ font: {
156
+ color: 'Neutral-text-1'
79
157
  }
80
158
  },
81
159
  icon: {
@@ -84,7 +162,9 @@ var progressTokenExtraValue = {
84
162
  background: {
85
163
  color: 'Neutral-fill-9'
86
164
  },
87
- color: 'Neutral-text-1'
165
+ font: {
166
+ weight: 'Weight-regular'
167
+ }
88
168
  }
89
169
  };
90
170
  module.exports = {
@@ -23,24 +23,78 @@ export interface ProgressTokens {
23
23
  * @description 进度条基础色已完成进度的背景颜色
24
24
  */
25
25
  progressInfoFrontBackgroundColor: string;
26
+ /**
27
+ * @type {string}
28
+ * @token Neutral-text-1
29
+ * @description 进度条基础色内嵌文案模式字体颜色
30
+ */
31
+ progressInfoInnerFontColor: string;
26
32
  /**
27
33
  * @type {string}
28
34
  * @token Warning-6
29
35
  * @description 进度条警告色已完成进度的背景颜色
30
36
  */
31
37
  progressWarningFrontBackgroundColor: string;
38
+ /**
39
+ * @type {string}
40
+ * @token Neutral-text-1
41
+ * @description 进度条警告色内嵌文案模式字体颜色
42
+ */
43
+ progressWarningInnerFontColor: string;
32
44
  /**
33
45
  * @type {string}
34
46
  * @token Success-6
35
47
  * @description 进度条成功色已完成进度的背景颜色
36
48
  */
37
49
  progressSuccessFrontBackgroundColor: string;
50
+ /**
51
+ * @type {string}
52
+ * @token Neutral-text-1
53
+ * @description 进度条成功色内嵌文案模式字体颜色
54
+ */
55
+ progressSuccessInnerFontColor: string;
38
56
  /**
39
57
  * @type {string}
40
58
  * @token Danger-6
41
59
  * @description 进度条危险色已完成进度的背景颜色
42
60
  */
43
61
  progressDangerFrontBackgroundColor: string;
62
+ /**
63
+ * @type {string}
64
+ * @token Neutral-text-1
65
+ * @description 进度条危险色内嵌文案模式字体颜色
66
+ */
67
+ progressDangerInnerFontColor: string;
68
+ /**
69
+ * @type {string}
70
+ * @token Neutral-text-4
71
+ * @description 进度条圆形基础色字体颜色
72
+ */
73
+ progressCircleInfoFontColor: string;
74
+ /**
75
+ * @type {string}
76
+ * @token Warning-6
77
+ * @description 进度条圆形警告色字体颜色
78
+ */
79
+ progressCircleWarningFontColor: string;
80
+ /**
81
+ * @type {string}
82
+ * @token success-6
83
+ * @description 进度条圆形成功色字体颜色
84
+ */
85
+ progressCircleSuccessFontColor: string;
86
+ /**
87
+ * @type {string}
88
+ * @token danger-6
89
+ * @description 进度条圆形危险色字体颜色
90
+ */
91
+ progressCircleDangerFontColor: string;
92
+ /**
93
+ * @type {string}
94
+ * @token Weight-regular
95
+ * @description 进度条圆形字体字重
96
+ */
97
+ progressCircleFontWeight: string;
44
98
  /**
45
99
  * @type {string}
46
100
  * @token Size-3
@@ -89,6 +143,36 @@ export interface ProgressTokens {
89
143
  * @description 进度条行内嵌文案模式右侧的字体颜色
90
144
  */
91
145
  progressLineInnerRightFontColor: string;
146
+ /**
147
+ * @type {string}
148
+ * @token Brand-6
149
+ * @description 进度条行内嵌文案模式基础色已完成进度的背景颜色
150
+ */
151
+ progressLineInnerInfoFrontBackgroundColor: string;
152
+ /**
153
+ * @type {string}
154
+ * @token Warning-6
155
+ * @description 进度条行内嵌文案模式警告色已完成进度的背景颜色
156
+ */
157
+ progressLineInnerWarningFrontBackgroundColor: string;
158
+ /**
159
+ * @type {string}
160
+ * @token Success-6
161
+ * @description 进度条行内嵌文案模式成功色已完成进度的背景颜色
162
+ */
163
+ progressLineInnerSuccessFrontBackgroundColor: string;
164
+ /**
165
+ * @type {string}
166
+ * @token Danger-6
167
+ * @description 进度条行内嵌文案模式危险色已完成进度的背景颜色
168
+ */
169
+ progressLineInnerDangerFrontBackgroundColor: string;
170
+ /**
171
+ * @type {string}
172
+ * @token Neutral-text-1
173
+ * @description 进度条行undefined字体颜色
174
+ */
175
+ progressLinePopFontColor: string;
92
176
  /**
93
177
  * @type {string}
94
178
  * @token Size-7
@@ -103,9 +187,9 @@ export interface ProgressTokens {
103
187
  progressLineBackgroundColor: string;
104
188
  /**
105
189
  * @type {string}
106
- * @token Neutral-text-1
107
- * @description 进度条行颜色
190
+ * @token Weight-regular
191
+ * @description 进度条行字体字重
108
192
  */
109
- progressLineColor: string;
193
+ progressLineFontWeight: string;
110
194
  }
111
195
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,yCAAyC,EAAE,MAAM,CAAC;IAClD;;;;OAIG;IACH,4CAA4C,EAAE,MAAM,CAAC;IACrD;;;;OAIG;IACH,4CAA4C,EAAE,MAAM,CAAC;IACrD;;;;OAIG;IACH,2CAA2C,EAAE,MAAM,CAAC;IACpD;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;CAChC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["rate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UAOjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["rate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UASjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/cjs/rate/rate.js CHANGED
@@ -10,8 +10,10 @@ exports.default = void 0;
10
10
  var rateTokens = {
11
11
  rateFontColor: 'Neutral-text-5',
12
12
  rateFontSize: 'Font-14',
13
- rateGap: 'Size-3',
13
+ rateFontWeight: 'Weight-regular',
14
+ rateGap: 'Spacing-6',
14
15
  rateSize: 'Size-12',
16
+ rateTextGap: 'Spacing-10',
15
17
  rateBackgroundColor: 'Neutral-fill-3',
16
18
  rateFrontBackgroundColor: 'Warning-5'
17
19
  };
package/cjs/rate/token.js CHANGED
@@ -25,10 +25,14 @@ var rateTokenValue = {};
25
25
  var rateTokenExtraValue = {
26
26
  font: {
27
27
  color: 'Neutral-text-5',
28
- size: 'Font-14'
28
+ size: 'Font-14',
29
+ weight: 'Weight-regular'
29
30
  },
30
- gap: 'Size-3',
31
+ gap: 'Spacing-6',
31
32
  size: 'Size-12',
33
+ text: {
34
+ gap: 'Spacing-10'
35
+ },
32
36
  background: {
33
37
  color: 'Neutral-fill-3'
34
38
  },
@@ -13,7 +13,13 @@ export interface RateTokens {
13
13
  rateFontSize: string;
14
14
  /**
15
15
  * @type {string}
16
- * @token Size-3
16
+ * @token Weight-regular
17
+ * @description 评分字体字重
18
+ */
19
+ rateFontWeight: string;
20
+ /**
21
+ * @type {string}
22
+ * @token Spacing-6
17
23
  * @description 评分间距
18
24
  */
19
25
  rateGap: string;
@@ -23,6 +29,12 @@ export interface RateTokens {
23
29
  * @description 评分字号
24
30
  */
25
31
  rateSize: string;
32
+ /**
33
+ * @type {string}
34
+ * @token Spacing-10
35
+ * @description 评分undefined间距
36
+ */
37
+ rateTextGap: string;
26
38
  /**
27
39
  * @type {string}
28
40
  * @token Neutral-fill-3
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YA6EnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YA6FnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -10,8 +10,10 @@ exports.default = void 0;
10
10
  var selectTokens = {
11
11
  selectFontSize: 'Font-14',
12
12
  selectFontColor: 'Neutral-text-5',
13
- selectBorderRadius: 'Radius-4',
13
+ selectFontWeight: 'Weight-regular',
14
+ selectBorderRadius: 'Radius-default',
14
15
  selectBorderColor: 'Neutral-border-2',
16
+ selectBorderWidth: 'Border-1',
15
17
  selectPaddingX: 'Spacing-8',
16
18
  selectPaddingY: 'Spacing-2',
17
19
  selectIconSize: 'Size-7',
@@ -36,26 +38,35 @@ var selectTokens = {
36
38
  selectClearPadding: 'Spacing-8',
37
39
  selectHoverBorderColor: 'Brand-6',
38
40
  selectHoverClearColor: 'Neutral-text-4',
41
+ selectHoverBackgroundColor: 'Neutral-fill-1',
39
42
  selectFocusBorderColor: 'Brand-7',
40
43
  selectFocusShadow: 'Brand-2',
44
+ selectFocusBackgroundColor: 'Neutral-fill-1',
41
45
  selectDisabledIconColor: 'Neutral-text-2',
42
46
  selectDisabledFontColor: 'Neutral-text-2',
43
47
  selectDisabledPlaceholderColor: 'Neutral-text-2',
44
48
  selectDisabledBorderColor: 'Neutral-border-1',
45
49
  selectDisabledBackgroundColor: 'Neutral-fill-2',
46
- selectResultTextBorderRadius: 'Radius-4',
50
+ selectResultTextBorderRadius: 'Radius-default',
47
51
  selectResultTextPaddingX: 'Spacing-4',
48
52
  selectResultTextSmallPaddingX: 'Spacing-4',
49
53
  selectResultTextLargePaddingX: 'Spacing-10',
50
54
  selectResultTextActiveBackgroundColor: 'Brand-1',
51
55
  selectErrorBorderColor: 'Danger-6',
56
+ selectErrorBackgroundColor: 'Neutral-fill-1',
52
57
  selectErrorFocusShadow: 'Danger-1',
58
+ selectErrorFocusBackgroundColor: 'Neutral-fill-1',
59
+ selectErrorFocusBorderColor: 'Danger-6',
60
+ selectErrorHoverBackgroundColor: 'Neutral-fill-1',
61
+ selectErrorHoverBorderColor: 'Danger-6',
53
62
  selectPanelColor: 'Neutral-text-5',
54
63
  selectPanelBackgroundColor: 'Neutral-fill-1',
55
64
  selectPanelShadow: 'Shadow-2',
56
- selectPanelRadius: 'Radius-4',
65
+ selectPanelRadius: 'Radius-default',
57
66
  selectPanelBorder: 'Neutral-border-1',
58
67
  selectOptionHeight: 'Size-16',
68
+ selectOptionBackgroundColor: 'Neutral-fill-1',
69
+ selectOptionFontColor: 'Neutral-text-5',
59
70
  selectOptionPaddingX: 'Spacing-4',
60
71
  selectOptionPaddingY: 'Spacing-1',
61
72
  selectOptionActiveColor: 'Brand-6',
@@ -63,15 +74,18 @@ var selectTokens = {
63
74
  selectOptionInnerPaddingX: 'Spacing-8',
64
75
  selectOptionInnerPaddingY: 'Spacing-5',
65
76
  selectOptionInnerPaddingRight: 'Size-15',
66
- selectOptionInnerBorderRadius: 'Radius-2',
77
+ selectOptionInnerBorderRadius: 'Radius-lesser',
67
78
  selectOptionHoverBackgroundColor: 'Neutral-fill-2',
79
+ selectOptionHoverFontColor: 'Neutral-text-5',
68
80
  selectOptionDisabledColor: 'Neutral-text-2',
69
81
  selectOptionDisabledBackgroundColor: 'Neutral-fill-1',
70
82
  selectMorePadding: 'Spacing-8',
71
- selectHeaderPadding: 'Spacing-8',
83
+ selectHeaderPaddingX: 'Spacing-8',
84
+ selectHeaderPaddingY: 'Spacing-8',
72
85
  selectHeaderBorderColor: 'Neutral-border-1',
73
86
  selectGroupTitleFontColor: 'Neutral-text-3',
74
87
  selectGroupTitleFontSize: 'Font-12',
88
+ selectGroupTitleFontWeight: 'Weight-regular',
75
89
  selectGroupTitlePaddingX: 'Spacing-12',
76
90
  selectGroupTitlePaddingTop: 'Spacing-10',
77
91
  selectGroupTitlePaddingBottom: 'Spacing-2',
@@ -82,7 +96,9 @@ var selectTokens = {
82
96
  selectGroupTitleLargeBottom: 'Spacing-4',
83
97
  selectColumnPadding: 'Spacing-8',
84
98
  selectColumnOptionMargin: 'Spacing-8',
85
- selectColumnBorderRadius: 'Radius-4',
86
- selectColumnBackgroundColor: 'Neutral-fill-2'
99
+ selectColumnBorderRadius: 'Radius-default',
100
+ selectColumnBackgroundColor: 'Neutral-fill-2',
101
+ selectLoadingSpinColor: 'Brand-6',
102
+ selectEmptyFontColor: 'Neutral-text-2'
87
103
  };
88
104
  var _default = exports.default = selectTokens;
@@ -25,7 +25,9 @@ var selectTokenDescription = {
25
25
  shadow: '阴影',
26
26
  panel: '下拉面板的',
27
27
  top: '(顶部)',
28
- bottom: '(底部)'
28
+ bottom: '(底部)',
29
+ loading: '加载状态下的',
30
+ spin: '加载组件'
29
31
  };
30
32
 
31
33
  /**
@@ -43,11 +45,13 @@ var selectTokenValue = {
43
45
  var selectTokenExtraValue = {
44
46
  font: {
45
47
  size: 'Font-14',
46
- color: 'Neutral-text-5'
48
+ color: 'Neutral-text-5',
49
+ weight: 'Weight-regular'
47
50
  },
48
51
  border: {
49
- radius: 'Radius-4',
50
- color: 'Neutral-border-2'
52
+ radius: 'Radius-default',
53
+ color: 'Neutral-border-2',
54
+ width: 'Border-1'
51
55
  },
52
56
  padding: {
53
57
  x: 'Spacing-8',
@@ -124,13 +128,19 @@ var selectTokenExtraValue = {
124
128
  },
125
129
  clear: {
126
130
  color: 'Neutral-text-4'
131
+ },
132
+ background: {
133
+ color: 'Neutral-fill-1'
127
134
  }
128
135
  },
129
136
  focus: {
130
137
  border: {
131
138
  color: 'Brand-7'
132
139
  },
133
- shadow: 'Brand-2'
140
+ shadow: 'Brand-2',
141
+ background: {
142
+ color: 'Neutral-fill-1'
143
+ }
134
144
  },
135
145
  disabled: {
136
146
  icon: {
@@ -152,7 +162,7 @@ var selectTokenExtraValue = {
152
162
  result: {
153
163
  text: {
154
164
  border: {
155
- radius: 'Radius-4'
165
+ radius: 'Radius-default'
156
166
  },
157
167
  padding: {
158
168
  x: 'Spacing-4'
@@ -178,8 +188,25 @@ var selectTokenExtraValue = {
178
188
  border: {
179
189
  color: 'Danger-6'
180
190
  },
191
+ background: {
192
+ color: 'Neutral-fill-1'
193
+ },
181
194
  focus: {
182
- shadow: 'Danger-1'
195
+ shadow: 'Danger-1',
196
+ background: {
197
+ color: 'Neutral-fill-1'
198
+ },
199
+ border: {
200
+ color: 'Danger-6'
201
+ }
202
+ },
203
+ hover: {
204
+ background: {
205
+ color: 'Neutral-fill-1'
206
+ },
207
+ border: {
208
+ color: 'Danger-6'
209
+ }
183
210
  }
184
211
  },
185
212
  panel: {
@@ -188,11 +215,17 @@ var selectTokenExtraValue = {
188
215
  color: 'Neutral-fill-1'
189
216
  },
190
217
  shadow: 'Shadow-2',
191
- radius: 'Radius-4',
218
+ radius: 'Radius-default',
192
219
  border: 'Neutral-border-1'
193
220
  },
194
221
  option: {
195
222
  height: 'Size-16',
223
+ background: {
224
+ color: 'Neutral-fill-1'
225
+ },
226
+ font: {
227
+ color: 'Neutral-text-5'
228
+ },
196
229
  padding: {
197
230
  x: 'Spacing-4',
198
231
  y: 'Spacing-1'
@@ -210,12 +243,15 @@ var selectTokenExtraValue = {
210
243
  right: 'Size-15'
211
244
  },
212
245
  border: {
213
- radius: 'Radius-2'
246
+ radius: 'Radius-lesser'
214
247
  }
215
248
  },
216
249
  hover: {
217
250
  background: {
218
251
  color: 'Neutral-fill-2'
252
+ },
253
+ font: {
254
+ color: 'Neutral-text-5'
219
255
  }
220
256
  },
221
257
  disabled: {
@@ -229,7 +265,10 @@ var selectTokenExtraValue = {
229
265
  padding: 'Spacing-8'
230
266
  },
231
267
  header: {
232
- padding: 'Spacing-8',
268
+ padding: {
269
+ x: 'Spacing-8',
270
+ y: 'Spacing-8'
271
+ },
233
272
  border: {
234
273
  color: 'Neutral-border-1'
235
274
  }
@@ -238,7 +277,8 @@ var selectTokenExtraValue = {
238
277
  title: {
239
278
  font: {
240
279
  color: 'Neutral-text-3',
241
- size: 'Font-12'
280
+ size: 'Font-12',
281
+ weight: 'Weight-regular'
242
282
  },
243
283
  padding: {
244
284
  x: 'Spacing-12',
@@ -262,11 +302,21 @@ var selectTokenExtraValue = {
262
302
  margin: 'Spacing-8'
263
303
  },
264
304
  border: {
265
- radius: 'Radius-4'
305
+ radius: 'Radius-default'
266
306
  },
267
307
  background: {
268
308
  color: 'Neutral-fill-2'
269
309
  }
310
+ },
311
+ loading: {
312
+ spin: {
313
+ color: 'Brand-6'
314
+ }
315
+ },
316
+ empty: {
317
+ font: {
318
+ color: 'Neutral-text-2'
319
+ }
270
320
  }
271
321
  };
272
322
  module.exports = {