@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
package/esm/list/token.js CHANGED
@@ -28,12 +28,16 @@ var listTokenExtraValue = {
28
28
  },
29
29
  border: {
30
30
  color: 'Neutral-border-1',
31
- radius: 'Radius-2'
31
+ radius: 'Radius-lesser',
32
+ width: 'Border-1'
32
33
  },
33
34
  item: {
34
35
  padding: {
35
36
  y: 'Spacing-12',
36
37
  x: 'Spacing-16'
38
+ },
39
+ background: {
40
+ color: 'Transparent'
37
41
  }
38
42
  },
39
43
  small: {
@@ -42,6 +46,9 @@ var listTokenExtraValue = {
42
46
  y: 'Spacing-8',
43
47
  x: 'Spacing-12'
44
48
  }
49
+ },
50
+ font: {
51
+ size: 'Font-14'
45
52
  }
46
53
  },
47
54
  large: {
@@ -50,6 +57,9 @@ var listTokenExtraValue = {
50
57
  y: 'Spacing-16',
51
58
  x: 'Spacing-20'
52
59
  }
60
+ },
61
+ font: {
62
+ size: 'Font-14'
53
63
  }
54
64
  },
55
65
  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,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;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,UA2DjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/esm/menu/menu.js CHANGED
@@ -2,9 +2,12 @@
2
2
  // This file was generated automatically by a script. Please do not modify it directly.
3
3
 
4
4
  var menuTokens = {
5
+ menuCollpaseWidth: 'Spacing-40',
5
6
  menuFontSize: 'Font-14',
6
7
  menuFontColor: 'Neutral-text-5',
7
8
  menuIconColor: 'Neutral-text-4',
9
+ menuIconMarginX: 'Spacing-8',
10
+ menuPopoverPaddingY: 'Spacing-4',
8
11
  menuItemBackgroundColor: 'Neutral-fill-1',
9
12
  menuItemFontColor: 'Neutral-text-5',
10
13
  menuItemHoverBackgroundColor: 'Neutral-fill-2',
@@ -14,12 +17,13 @@ var menuTokens = {
14
17
  menuItemActiveFontColor: 'Brand-6',
15
18
  menuItemDisabledBackgroundColor: 'Neutral-fill-1',
16
19
  menuItemDisabledFontColor: 'Neutral-text-2',
17
- menuTitlePaddingX: '16px',
18
- menuTitlePaddingY: '9px',
19
- menuExpandWidth: '46px',
20
- menuExpandSize: '14px',
20
+ menuTitlePaddingX: 'Spacing-16',
21
+ menuTitlePaddingY: 'Spacing-9',
22
+ menuExpandWidth: 'Spacing-46',
23
+ menuExpandSize: 'Spacing-14',
21
24
  menuExpandHoverBackgroundColor: 'Neutral-fill-3',
22
25
  menuChildrenBoxShadow: '0 2px 8px rgba(0, 0, 0, 0.15)',
26
+ menuHeaderBorderColor: 'Neutral-border-1',
23
27
  menuDarkFontColor: 'Neutral-text-1',
24
28
  menuDarkItemBackgroundColor: 'Neutral-fill-10',
25
29
  menuDarkItemFontColor: 'Neutral-text-1',
@@ -30,6 +34,31 @@ var menuTokens = {
30
34
  menuDarkItemOpenBackgroundColor: 'Neutral-fill-9',
31
35
  menuDarkItemOpenFontColor: 'Neutral-text-1',
32
36
  menuDarkItemDisabledBackgroundColor: 'Neutral-fill-10',
33
- menuDarkItemDisabledFontColor: 'Neutral-text-4'
37
+ menuDarkItemDisabledFontColor: 'Neutral-text-4',
38
+ menuDarkHeaderBorderColor: 'Neutral-fill-8',
39
+ menuSearchBorderRadius: 'Radius-Full',
40
+ menuSearchBorderColor: 'Neutral-border-2',
41
+ menuSearchPaddingX: 'Spacing-8',
42
+ menuSearchIconSize: 'Size-7',
43
+ menuSearchIconColor: 'Neutral-text-4',
44
+ menuSearchIconMarginX: 'Spacing-8',
45
+ menuSearchBackgroundColor: 'Neutral-fill-2',
46
+ menuSearchClearColor: 'Neutral-text-2',
47
+ menuSearchHoverClearColor: 'Neutral-text-4',
48
+ menuSearchHoverBorderColor: 'Brand-5',
49
+ menuSearchHoverBackgroundColor: 'Neutral-fill-1',
50
+ menuSearchDisabledBackgroundColor: 'Neutral-fill-3',
51
+ menuSearchDarkFontColor: 'Neutral-text-1',
52
+ menuSearchDarkBorderColor: 'Neutral-fill-8',
53
+ menuSearchDarkBackgroundColor: 'Neutral-fill-8',
54
+ menuSearchDarkIconColor: 'Neutral-text-1',
55
+ menuSearchDarkClearColor: 'Neutral-text-3',
56
+ menuSearchDarkPlaceholderFontColor: 'Neutral-text-2',
57
+ menuSearchDarkHoverBorderColor: 'Brand-5',
58
+ menuSearchDarkHoverBackgroundColor: 'Neutral-fill-9',
59
+ menuSearchDarkHoverClearColor: 'Neutral-text-2',
60
+ menuSearchDarkFocusBorderColor: 'Brand-5',
61
+ menuSearchDarkFocusBackgroundColor: 'Neutral-fill-9',
62
+ menuSearchDarkFocusShadow: 'Brand-9'
34
63
  };
35
64
  export default menuTokens;
package/esm/menu/token.js CHANGED
@@ -26,12 +26,23 @@ var menuTokenDescription = {
26
26
  */
27
27
  var menuTokenValue = {};
28
28
  var menuTokenExtraValue = {
29
+ collpase: {
30
+ width: 'Spacing-40'
31
+ },
29
32
  font: {
30
33
  size: 'Font-14',
31
34
  color: 'Neutral-text-5'
32
35
  },
33
36
  icon: {
34
- color: 'Neutral-text-4'
37
+ color: 'Neutral-text-4',
38
+ margin: {
39
+ x: 'Spacing-8'
40
+ }
41
+ },
42
+ popover: {
43
+ padding: {
44
+ y: 'Spacing-4'
45
+ }
35
46
  },
36
47
  item: {
37
48
  background: {
@@ -72,13 +83,13 @@ var menuTokenExtraValue = {
72
83
  },
73
84
  title: {
74
85
  padding: {
75
- x: '16px',
76
- y: '9px'
86
+ x: 'Spacing-16',
87
+ y: 'Spacing-9'
77
88
  }
78
89
  },
79
90
  expand: {
80
- width: '46px',
81
- size: '14px',
91
+ width: 'Spacing-46',
92
+ size: 'Spacing-14',
82
93
  hover: {
83
94
  background: {
84
95
  color: 'Neutral-fill-3'
@@ -90,6 +101,11 @@ var menuTokenExtraValue = {
90
101
  shadow: '0 2px 8px rgba(0, 0, 0, 0.15)'
91
102
  }
92
103
  },
104
+ header: {
105
+ border: {
106
+ color: 'Neutral-border-1'
107
+ }
108
+ },
93
109
  dark: {
94
110
  font: {
95
111
  color: 'Neutral-text-1'
@@ -133,6 +149,91 @@ var menuTokenExtraValue = {
133
149
  color: 'Neutral-text-4'
134
150
  }
135
151
  }
152
+ },
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: {
213
+ font: {
214
+ color: 'Neutral-text-2'
215
+ }
216
+ },
217
+ hover: {
218
+ border: {
219
+ color: 'Brand-5'
220
+ },
221
+ background: {
222
+ color: 'Neutral-fill-9'
223
+ },
224
+ clear: {
225
+ color: 'Neutral-text-2'
226
+ }
227
+ },
228
+ focus: {
229
+ border: {
230
+ color: 'Brand-5'
231
+ },
232
+ background: {
233
+ color: 'Neutral-fill-9'
234
+ },
235
+ shadow: 'Brand-9'
236
+ }
136
237
  }
137
238
  }
138
239
  };
@@ -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
@@ -17,6 +23,18 @@ export interface MenuTokens {
17
23
  * @description 菜单图标颜色
18
24
  */
19
25
  menuIconColor: string;
26
+ /**
27
+ * @type {string}
28
+ * @token Spacing-8
29
+ * @description 菜单图标外边距(水平方向)
30
+ */
31
+ menuIconMarginX: string;
32
+ /**
33
+ * @type {string}
34
+ * @token Spacing-4
35
+ * @description 菜单undefined内边距(垂直方向)
36
+ */
37
+ menuPopoverPaddingY: string;
20
38
  /**
21
39
  * @type {string}
22
40
  * @token Neutral-fill-1
@@ -73,25 +91,25 @@ export interface MenuTokens {
73
91
  menuItemDisabledFontColor: string;
74
92
  /**
75
93
  * @type {string}
76
- * @token 16px
94
+ * @token Spacing-16
77
95
  * @description 菜单标题模式内边距(水平方向)
78
96
  */
79
97
  menuTitlePaddingX: string;
80
98
  /**
81
99
  * @type {string}
82
- * @token 9px
100
+ * @token Spacing-9
83
101
  * @description 菜单标题模式内边距(垂直方向)
84
102
  */
85
103
  menuTitlePaddingY: string;
86
104
  /**
87
105
  * @type {string}
88
- * @token 46px
106
+ * @token Spacing-46
89
107
  * @description 菜单展开icon的宽度
90
108
  */
91
109
  menuExpandWidth: string;
92
110
  /**
93
111
  * @type {string}
94
- * @token 14px
112
+ * @token Spacing-14
95
113
  * @description 菜单展开icon的字号
96
114
  */
97
115
  menuExpandSize: string;
@@ -107,6 +125,12 @@ export interface MenuTokens {
107
125
  * @description 菜单子菜单阴影
108
126
  */
109
127
  menuChildrenBoxShadow: string;
128
+ /**
129
+ * @type {string}
130
+ * @token Neutral-border-1
131
+ * @description 菜单undefined边框颜色
132
+ */
133
+ menuHeaderBorderColor: string;
110
134
  /**
111
135
  * @type {string}
112
136
  * @token Neutral-text-1
@@ -173,5 +197,155 @@ export interface MenuTokens {
173
197
  * @description 菜单深色模式选项禁用时的字体颜色
174
198
  */
175
199
  menuDarkItemDisabledFontColor: string;
200
+ /**
201
+ * @type {string}
202
+ * @token Neutral-fill-8
203
+ * @description 菜单深色模式undefined边框颜色
204
+ */
205
+ menuDarkHeaderBorderColor: string;
206
+ /**
207
+ * @type {string}
208
+ * @token Radius-Full
209
+ * @description 菜单undefined边框圆角
210
+ */
211
+ menuSearchBorderRadius: string;
212
+ /**
213
+ * @type {string}
214
+ * @token Neutral-border-2
215
+ * @description 菜单undefined边框颜色
216
+ */
217
+ menuSearchBorderColor: string;
218
+ /**
219
+ * @type {string}
220
+ * @token Spacing-8
221
+ * @description 菜单undefined内边距(水平方向)
222
+ */
223
+ menuSearchPaddingX: string;
224
+ /**
225
+ * @type {string}
226
+ * @token Size-7
227
+ * @description 菜单undefined图标字号
228
+ */
229
+ menuSearchIconSize: string;
230
+ /**
231
+ * @type {string}
232
+ * @token Neutral-text-4
233
+ * @description 菜单undefined图标颜色
234
+ */
235
+ menuSearchIconColor: string;
236
+ /**
237
+ * @type {string}
238
+ * @token Spacing-8
239
+ * @description 菜单undefined图标外边距(水平方向)
240
+ */
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;
278
+ /**
279
+ * @type {string}
280
+ * @token Neutral-text-1
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深色模式鼠标聚焦时的背景颜色
342
+ */
343
+ menuSearchDarkFocusBackgroundColor: string;
344
+ /**
345
+ * @type {string}
346
+ * @token Brand-9
347
+ * @description 菜单undefined深色模式鼠标聚焦时的阴影
348
+ */
349
+ menuSearchDarkFocusShadow: string;
176
350
  }
177
351
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;O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EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;CACnC"}
@@ -10,7 +10,7 @@ var modalTokens = {
10
10
  modalPanelShadow: 'Shadow-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":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,aAwBpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,aA0BpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -3,9 +3,10 @@
3
3
 
4
4
  var popoverTokens = {
5
5
  popoverFontSize: 'Font-14',
6
+ popoverFontWeight: 'Weight-regular',
6
7
  popoverPaddingX: 'Spacing-8',
7
8
  popoverPaddingY: 'Spacing-8',
8
- popoverRadius: 'Radius-4',
9
+ popoverRadius: 'Radius-default',
9
10
  popoverBorderWidth: 'Border-1',
10
11
  popoverFontColor: 'Neutral-text-5',
11
12
  popoverBackgroundColor: 'Neutral-fill-1',
@@ -13,17 +14,18 @@ var popoverTokens = {
13
14
  popoverBorderColor: 'Neutral-border-1',
14
15
  popoverSuccessBackgroundColor: '#edf9e8',
15
16
  popoverSuccessBorderColor: 'rgba(82, 196, 26, 0.1)',
16
- popoverWarningBackgroundColor: '#fff3e5',
17
- popoverWarningBorderColor: 'rgba(255, 140, 0, 0.1)',
18
- popoverInfoBackgroundColor: '#e8f1fe',
19
- popoverInfoBorderColor: 'rgba(25, 122, 250, 0.1)',
20
- popoverDangerBackgroundColor: '#ffeded',
21
- popoverDangerBorderColor: 'rgba(255, 77, 80, 0.1)',
17
+ popoverWarningBackgroundColor: 'Warning-1',
18
+ popoverWarningBorderColor: 'Warning-2',
19
+ popoverInfoBackgroundColor: 'Brand-1',
20
+ popoverInfoBorderColor: 'Brand-2',
21
+ popoverDangerBackgroundColor: 'Danger-1',
22
+ popoverDangerBorderColor: 'Danger-2',
22
23
  popoverErrorFontColor: 'Danger-7',
23
24
  popoverErrorBackgroundColor: 'Danger-1',
24
25
  popoverErrorBorderColor: 'Danger-1',
25
26
  popoverConfirmPaddingX: 'Spacing-16',
26
27
  popoverConfirmPaddingY: 'Spacing-16',
28
+ popoverConfirmMarginY: 'Spacing-16',
27
29
  popoverConfirmBackgroundColor: 'transparent'
28
30
  };
29
31
  export default popoverTokens;
@@ -7,9 +7,9 @@
7
7
  * 规则变量名称为 组件名称 + Rules。请勿修改变量命名,否则将导致 token 无法生成。
8
8
  */
9
9
  var popoverRules = {
10
- size: [[''], ['font-size', 'padding-x', 'padding-y', 'radius', 'border-width']],
10
+ size: [[''], ['font-size', 'font-weight', 'padding-x', 'padding-y', 'radius', 'border-width']],
11
11
  color: [['', 'success', 'warning', 'info', 'danger', 'error'], ['font-color', 'background-color', 'shadow', 'border-color']],
12
- confirmSize: [['confirm'], ['font-size', 'padding-x', 'padding-y']],
12
+ confirmSize: [['confirm'], ['font-size', 'padding-x', 'padding-y', 'margin-y']],
13
13
  confirmColor: [['confirm'], ['background-color']]
14
14
  };
15
15
  module.exports = {