@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
@@ -5,12 +5,30 @@ export interface TransferTokens {
5
5
  * @description 穿梭框字体字号
6
6
  */
7
7
  transferFontSize: string;
8
+ /**
9
+ * @type {string}
10
+ * @token Neutral-text-5
11
+ * @description 穿梭框字体颜色
12
+ */
13
+ transferFontColor: string;
8
14
  /**
9
15
  * @type {string}
10
16
  * @token Size-23
11
17
  * @description 穿梭框头部区域的高度
12
18
  */
13
19
  transferHeaderHeight: string;
20
+ /**
21
+ * @type {string}
22
+ * @token Neutral-fill-2
23
+ * @description 穿梭框头部区域的背景颜色
24
+ */
25
+ transferHeaderBackgroundColor: string;
26
+ /**
27
+ * @type {string}
28
+ * @token Transparent
29
+ * @description 穿梭框头部区域的边框颜色
30
+ */
31
+ transferHeaderBorderColor: string;
14
32
  /**
15
33
  * @type {string}
16
34
  * @token Font-12
@@ -43,16 +61,28 @@ export interface TransferTokens {
43
61
  transferBorderColor: string;
44
62
  /**
45
63
  * @type {string}
46
- * @token Neutral-text-5
47
- * @description 穿梭框字体颜色
64
+ * @token Radius-default
65
+ * @description 穿梭框边框圆角
48
66
  */
49
- transferFontColor: string;
67
+ transferBorderRadius: string;
50
68
  /**
51
69
  * @type {string}
52
70
  * @token Neutral-text-4
53
71
  * @description 穿梭框图标颜色
54
72
  */
55
73
  transferIconColor: string;
74
+ /**
75
+ * @type {string}
76
+ * @token Neutral-fill-3
77
+ * @description 穿梭框图标背景颜色
78
+ */
79
+ transferIconBackgroundColor: string;
80
+ /**
81
+ * @type {string}
82
+ * @token Spacing-8
83
+ * @description 穿梭框图标相邻外边距
84
+ */
85
+ transferIconNearlyMargin: string;
56
86
  /**
57
87
  * @type {string}
58
88
  * @token Neutral-text-2
@@ -67,34 +97,40 @@ export interface TransferTokens {
67
97
  transferEmptyFontColor: string;
68
98
  /**
69
99
  * @type {string}
70
- * @token Radius-4
71
- * @description 穿梭框边框圆角
100
+ * @token Neutral-fill-1
101
+ * @description 穿梭框背景颜色
72
102
  */
73
- transferBorderRadius: string;
103
+ transferBackgroundColor: string;
74
104
  /**
75
105
  * @type {string}
76
- * @token Neutral-fill-2
77
- * @description 穿梭框头部区域的背景颜色
106
+ * @token Neutral-fill-1
107
+ * @description 穿梭框undefined背景颜色
78
108
  */
79
- transferHeaderBackgroundColor: string;
109
+ transferFooterBackgroundColor: string;
80
110
  /**
81
111
  * @type {string}
82
- * @token Neutral-fill-3
83
- * @description 穿梭框图标背景颜色
84
- */
85
- transferIconBackgroundColor: string;
86
- /**
87
- * @type {string}
88
- * @token Spacing-8
89
- * @description 穿梭框图标相邻外边距
112
+ * @token Neutral-border-1
113
+ * @description 穿梭框undefined边框颜色
90
114
  */
91
- transferIconNearlyMargin: string;
115
+ transferFooterBorderColor: string;
92
116
  /**
93
117
  * @type {string}
94
118
  * @token Neutral-fill-2
95
119
  * @description 穿梭框选项鼠标移入时的背景颜色
96
120
  */
97
121
  transferItemHoverBackgroundColor: string;
122
+ /**
123
+ * @type {string}
124
+ * @token Radius-default
125
+ * @description 穿梭框选项边框圆角
126
+ */
127
+ transferItemBorderRadius: string;
128
+ /**
129
+ * @type {string}
130
+ * @token Neutral-text-4
131
+ * @description 穿梭框undefined图标颜色
132
+ */
133
+ transferRemoveIconColor: string;
98
134
  /**
99
135
  * @type {string}
100
136
  * @token Neutral-fill-3
@@ -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,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,oCAAoC,EAAE,MAAM,CAAC;CAC9C"}
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,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oCAAoC,EAAE,MAAM,CAAC;CAC9C"}
package/cjs/tree/rule.js CHANGED
@@ -10,7 +10,9 @@
10
10
  */
11
11
  var treeRules = {
12
12
  size: [['', 'small', 'large'], ['font-size', 'line-height']],
13
+ font: [['font'], ['weight']],
13
14
  color: [['font-color']],
15
+ line: [['line'], ['background-color']],
14
16
  layout: [['padding-x', 'padding-y']],
15
17
  item: [['item'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color']],
16
18
  content: [['content'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color']],
package/cjs/tree/token.js CHANGED
@@ -15,7 +15,8 @@ var treeTokenDescription = {
15
15
  text: '文字',
16
16
  checkbox: '复选框',
17
17
  item: '节点',
18
- content: '节点容器'
18
+ content: '节点容器',
19
+ line: '连接线'
19
20
  };
20
21
 
21
22
  /**
@@ -28,10 +29,14 @@ var treeTokenDescription = {
28
29
  var treeTokenValue = {
29
30
  font: {
30
31
  size: 'Font-14',
32
+ weight: 'Weight-regular',
31
33
  color: 'Neutral-text-5'
32
34
  },
33
35
  line: {
34
- height: 'Size-18'
36
+ height: 'Size-18',
37
+ background: {
38
+ color: 'Neutral-fill-2'
39
+ }
35
40
  },
36
41
  small: {
37
42
  font: {
@@ -117,7 +122,7 @@ var treeTokenValue = {
117
122
  }
118
123
  },
119
124
  border: {
120
- radius: 'Radius-2'
125
+ radius: 'Radius-lesser'
121
126
  }
122
127
  },
123
128
  drag: {
@@ -1 +1 @@
1
- {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UAyBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UA2BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/cjs/tree/tree.js CHANGED
@@ -16,7 +16,9 @@ var treeTokens = {
16
16
  treeSmallLineHeight: 'Size-14',
17
17
  treeLargeFontSize: 'Font-16',
18
18
  treeLargeLineHeight: 'Size-22',
19
+ treeFontWeight: 'Weight-regular',
19
20
  treeFontColor: 'Neutral-text-5',
21
+ treeLineBackgroundColor: 'Neutral-fill-2',
20
22
  treePaddingX: 'Spacing-8',
21
23
  treePaddingY: 'Spacing-1',
22
24
  treeItemFontColor: 'Neutral-text-4',
@@ -31,6 +33,6 @@ var treeTokens = {
31
33
  treeContentDisabledFontColor: 'Neutral-text-2',
32
34
  treeDragBorderColor: 'Brand-6',
33
35
  treeDragBackgroundColor: 'Brand-1',
34
- treeContentBorderRadius: 'Radius-2'
36
+ treeContentBorderRadius: 'Radius-lesser'
35
37
  };
36
38
  var _default = exports.default = treeTokens;
@@ -20,7 +20,7 @@ export interface TreeTokens {
20
20
  /**
21
21
  * @type {string}
22
22
  * @token Size-18
23
- * @description 树组件行高度
23
+ * @description 树组件连接线高度
24
24
  */
25
25
  treeLineHeight: string;
26
26
  /**
@@ -32,7 +32,7 @@ export interface TreeTokens {
32
32
  /**
33
33
  * @type {string}
34
34
  * @token Size-14
35
- * @description 树组件小尺寸行高度
35
+ * @description 树组件小尺寸连接线高度
36
36
  */
37
37
  treeSmallLineHeight: string;
38
38
  /**
@@ -44,15 +44,27 @@ export interface TreeTokens {
44
44
  /**
45
45
  * @type {string}
46
46
  * @token Size-22
47
- * @description 树组件大尺寸行高度
47
+ * @description 树组件大尺寸连接线高度
48
48
  */
49
49
  treeLargeLineHeight: string;
50
+ /**
51
+ * @type {string}
52
+ * @token Weight-regular
53
+ * @description 树组件字体字重
54
+ */
55
+ treeFontWeight: string;
50
56
  /**
51
57
  * @type {string}
52
58
  * @token Neutral-text-5
53
59
  * @description 树组件字体颜色
54
60
  */
55
61
  treeFontColor: string;
62
+ /**
63
+ * @type {string}
64
+ * @token Neutral-fill-2
65
+ * @description 树组件连接线背景颜色
66
+ */
67
+ treeLineBackgroundColor: string;
56
68
  /**
57
69
  * @type {string}
58
70
  * @token Spacing-8
@@ -139,7 +151,7 @@ export interface TreeTokens {
139
151
  treeDragBackgroundColor: string;
140
152
  /**
141
153
  * @type {string}
142
- * @token Radius-2
154
+ * @token Radius-lesser
143
155
  * @description 树组件节点容器边框圆角
144
156
  */
145
157
  treeContentBorderRadius: string;
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;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enExtraValue = {
44
44
  color: 'Neutral-text-5'
45
45
  },
46
46
  border: {
47
- radius: 'Radius-4',
47
+ radius: 'Radius-default',
48
48
  color: 'Neutral-border-2'
49
49
  },
50
50
  padding: {
@@ -147,7 +147,7 @@ var treeSelectTokenExtraValue = {
147
147
  result: {
148
148
  text: {
149
149
  border: {
150
- radius: 'Radius-4'
150
+ radius: 'Radius-default'
151
151
  },
152
152
  padding: {
153
153
  x: 'Spacing-4'
@@ -183,7 +183,7 @@ var treeSelectTokenExtraValue = {
183
183
  color: 'Neutral-fill-1'
184
184
  },
185
185
  shadow: 'Shadow-2',
186
- radius: 'Radius-4',
186
+ radius: 'Radius-default',
187
187
  border: 'Neutral-border-1'
188
188
  },
189
189
  option: {
@@ -205,7 +205,7 @@ var treeSelectTokenExtraValue = {
205
205
  right: 'Size-15'
206
206
  },
207
207
  border: {
208
- radius: 'Radius-2'
208
+ radius: 'Radius-lesser'
209
209
  }
210
210
  },
211
211
  hover: {
@@ -10,7 +10,7 @@ exports.default = void 0;
10
10
  var treeSelectTokens = {
11
11
  treeSelectFontSize: 'Font-14',
12
12
  treeSelectFontColor: 'Neutral-text-5',
13
- treeSelectBorderRadius: 'Radius-4',
13
+ treeSelectBorderRadius: 'Radius-default',
14
14
  treeSelectBorderColor: 'Neutral-border-2',
15
15
  treeSelectPaddingX: 'Spacing-8',
16
16
  treeSelectPaddingY: 'Spacing-2',
@@ -42,7 +42,7 @@ var treeSelectTokens = {
42
42
  treeSelectDisabledPlaceholderColor: 'Neutral-text-2',
43
43
  treeSelectDisabledBorderColor: 'Neutral-border-2',
44
44
  treeSelectDisabledBackgroundColor: 'Neutral-fill-2',
45
- treeSelectResultTextBorderRadius: 'Radius-4',
45
+ treeSelectResultTextBorderRadius: 'Radius-default',
46
46
  treeSelectResultTextPaddingX: 'Spacing-4',
47
47
  treeSelectResultTextSmallPaddingX: 'Spacing-4',
48
48
  treeSelectResultTextLargePaddingX: 'Spacing-10',
@@ -52,7 +52,7 @@ var treeSelectTokens = {
52
52
  treeSelectPanelColor: 'Neutral-text-5',
53
53
  treeSelectPanelBackgroundColor: 'Neutral-fill-1',
54
54
  treeSelectPanelShadow: 'Shadow-2',
55
- treeSelectPanelRadius: 'Radius-4',
55
+ treeSelectPanelRadius: 'Radius-default',
56
56
  treeSelectPanelBorder: 'Neutral-border-1',
57
57
  treeSelectOptionHeight: 'Size-16',
58
58
  treeSelectOptionPaddingX: 'Spacing-4',
@@ -62,7 +62,7 @@ var treeSelectTokens = {
62
62
  treeSelectOptionInnerPaddingX: 'Spacing-8',
63
63
  treeSelectOptionInnerPaddingY: 'Spacing-5',
64
64
  treeSelectOptionInnerPaddingRight: 'Size-15',
65
- treeSelectOptionInnerBorderRadius: 'Radius-2',
65
+ treeSelectOptionInnerBorderRadius: 'Radius-lesser',
66
66
  treeSelectOptionHoverBackgroundColor: 'Neutral-fill-2',
67
67
  treeSelectOptionDisabledColor: 'Neutral-text-2',
68
68
  treeSelectOptionDisabledBackgroundColor: 'Neutral-fill-1',
@@ -13,7 +13,7 @@ export interface TreeSelectTokens {
13
13
  treeSelectFontColor: string;
14
14
  /**
15
15
  * @type {string}
16
- * @token Radius-4
16
+ * @token Radius-default
17
17
  * @description 树选择器边框圆角
18
18
  */
19
19
  treeSelectBorderRadius: string;
@@ -205,7 +205,7 @@ export interface TreeSelectTokens {
205
205
  treeSelectDisabledBackgroundColor: string;
206
206
  /**
207
207
  * @type {string}
208
- * @token Radius-4
208
+ * @token Radius-default
209
209
  * @description 树选择器选中结果框文本区域的边框圆角
210
210
  */
211
211
  treeSelectResultTextBorderRadius: string;
@@ -265,7 +265,7 @@ export interface TreeSelectTokens {
265
265
  treeSelectPanelShadow: string;
266
266
  /**
267
267
  * @type {string}
268
- * @token Radius-4
268
+ * @token Radius-default
269
269
  * @description 树选择器下拉面板的圆角
270
270
  */
271
271
  treeSelectPanelRadius: string;
@@ -325,7 +325,7 @@ export interface TreeSelectTokens {
325
325
  treeSelectOptionInnerPaddingRight: string;
326
326
  /**
327
327
  * @type {string}
328
- * @token Radius-2
328
+ * @token Radius-lesser
329
329
  * @description 树选择器选项容器的边框圆角
330
330
  */
331
331
  treeSelectOptionInnerBorderRadius: string;
@@ -62,7 +62,7 @@ var uploadTokenExtraValue = {
62
62
  color: 'Neutral-text-5'
63
63
  },
64
64
  border: {
65
- radius: 'Radius-4'
65
+ radius: 'Radius-default'
66
66
  },
67
67
  error: {
68
68
  font: {
@@ -90,7 +90,7 @@ var uploadTokenExtraValue = {
90
90
  },
91
91
  image: {
92
92
  border: {
93
- radius: 'Radius-4'
93
+ radius: 'Radius-default'
94
94
  },
95
95
  handler: {
96
96
  border: {
@@ -61,7 +61,7 @@ export interface UploadTokens {
61
61
  uploadResultFontColor: string;
62
62
  /**
63
63
  * @type {string}
64
- * @token Radius-4
64
+ * @token Radius-default
65
65
  * @description 上传结果边框圆角
66
66
  */
67
67
  uploadResultBorderRadius: string;
@@ -97,7 +97,7 @@ export interface UploadTokens {
97
97
  uploadResultUploadingIconColor: string;
98
98
  /**
99
99
  * @type {string}
100
- * @token Radius-4
100
+ * @token Radius-default
101
101
  * @description 上传图片边框圆角
102
102
  */
103
103
  uploadImageBorderRadius: string;
@@ -18,13 +18,13 @@ var uploadTokens = {
18
18
  uploadResultIconHoverBackgroundColor: 'Neutral-fill-2',
19
19
  uploadResultFontSize: 'Font-14',
20
20
  uploadResultFontColor: 'Neutral-text-5',
21
- uploadResultBorderRadius: 'Radius-4',
21
+ uploadResultBorderRadius: 'Radius-default',
22
22
  uploadResultErrorFontColor: 'Danger-6',
23
23
  uploadResultErrorIconColor: 'Danger-6',
24
24
  uploadResultSuccessIconColor: 'Success-6',
25
25
  uploadResultDeletedFontColor: 'Neutral-text-3',
26
26
  uploadResultUploadingIconColor: 'Brand-6',
27
- uploadImageBorderRadius: 'Radius-4',
27
+ uploadImageBorderRadius: 'Radius-default',
28
28
  uploadImageHandlerBorderColor: 'Neutral-border-1',
29
29
  uploadImageHandlerBackgroundColor: 'Neutral-fill-1',
30
30
  uploadImageHandlerFontColor: 'Neutral-text-4',
@@ -1,4 +1,5 @@
1
1
  export declare function replaceNonAlphanumeric(str: string): string;
2
2
  export declare function camelCaseToDash(str: string): string;
3
3
  export declare const cssvar: (str: string, value: string, key: string, _size?: string) => string;
4
+ export declare const getTokenName: (key: string) => string;
4
5
  //# sourceMappingURL=css-var.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"css-var.d.ts","sourceRoot":"","sources":["css-var.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,UAQjD;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,UAE1C;AAED,eAAO,MAAM,MAAM,QAAS,MAAM,SAAS,MAAM,OAAO,MAAM,UAAU,MAAM,WAW7E,CAAC"}
1
+ {"version":3,"file":"css-var.d.ts","sourceRoot":"","sources":["css-var.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,UAQjD;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,UAE1C;AAED,eAAO,MAAM,MAAM,QAAS,MAAM,SAAS,MAAM,OAAO,MAAM,UAAU,MAAM,WAW7E,CAAC;AAEF,eAAO,MAAM,YAAY,QAAS,MAAM,WAGvC,CAAC"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.camelCaseToDash = camelCaseToDash;
7
- exports.cssvar = void 0;
7
+ exports.getTokenName = exports.cssvar = void 0;
8
8
  exports.replaceNonAlphanumeric = replaceNonAlphanumeric;
9
9
  var _config = require("../config");
10
10
  function replaceNonAlphanumeric(str) {
@@ -27,4 +27,9 @@ var cssvar = exports.cssvar = function cssvar(str, value, key, _size) {
27
27
  return "".concat(Number(str.split('px')[0]), "px");
28
28
  }
29
29
  return "var(--".concat(prefix, "-").concat(camelCaseToDash(key), ",var(--").concat(prefix, "-").concat(replaceNonAlphanumeric(str), ",").concat(value, "))");
30
+ };
31
+ var getTokenName = exports.getTokenName = function getTokenName(key) {
32
+ var _getConfig2 = (0, _config.getConfig)(),
33
+ prefix = _getConfig2.prefix;
34
+ return "--".concat(prefix, "-").concat(camelCaseToDash(key));
30
35
  };
@@ -1 +1 @@
1
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["alert.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WAuBlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["alert.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WA0BlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -15,12 +15,15 @@ var alertTokens = {
15
15
  alertDangerBorderColor: 'Danger-2',
16
16
  alertDangerFontColor: 'Danger-6',
17
17
  alertFontSize: 'Font-14',
18
+ alertFontWeight: 'Weight-regular',
18
19
  alertFontColor: 'Neutral-text-5',
19
20
  alertPaddingX: 'Spacing-16',
20
21
  alertPaddingY: 'Spacing-8',
21
- alertBorderRadius: 'Radius-4',
22
+ alertBorderRadius: 'Radius-default',
22
23
  alertNearlyMargin: 'Spacing-8',
23
24
  alertTitleFontSize: 'Font-16',
25
+ alertTitleFontWeight: 'Weight-medium',
26
+ alertTitleMarginY: 'Spacing-4',
24
27
  alertCloseFontColor: 'Neutral-text-4',
25
28
  alertCloseHoverColor: 'Neutral-text-5',
26
29
  alertMessageHoverColor: 'Neutral-fill-2'
package/esm/alert/rule.js CHANGED
@@ -8,9 +8,9 @@
8
8
  */
9
9
  var alertRules = {
10
10
  color: [['info', 'success', 'warning', 'danger'], ['background-color', 'border-color', 'font-color']],
11
- size: [['font-size', 'font-color', 'padding-x', 'padding-y', 'border-radius']],
11
+ size: [['font-size', 'font-weight', 'font-color', 'padding-x', 'padding-y', 'border-radius']],
12
12
  extra_margin: [['nearly'], ['margin']],
13
- extra_title: [['title'], ['font-size']],
13
+ extra_title: [['title'], ['font-size', 'font-weight', 'margin-y']],
14
14
  extra_close: [['close', 'message'], ['font-color', 'hover-color']]
15
15
  };
16
16
  module.exports = {
@@ -68,6 +68,7 @@ var alertTokenValue = {
68
68
  },
69
69
  font: {
70
70
  size: 'Font-14',
71
+ weight: 'Weight-regular',
71
72
  color: 'Neutral-text-5'
72
73
  },
73
74
  padding: {
@@ -75,14 +76,18 @@ var alertTokenValue = {
75
76
  y: 'Spacing-8'
76
77
  },
77
78
  border: {
78
- radius: 'Radius-4'
79
+ radius: 'Radius-default'
79
80
  },
80
81
  nearly: {
81
82
  margin: 'Spacing-8'
82
83
  },
83
84
  title: {
84
85
  font: {
85
- size: 'Font-16'
86
+ size: 'Font-16',
87
+ weight: 'Weight-medium'
88
+ },
89
+ margin: {
90
+ y: 'Spacing-4'
86
91
  }
87
92
  },
88
93
  close: {
@@ -77,6 +77,12 @@ export interface AlertTokens {
77
77
  * @description 提示框字体字号
78
78
  */
79
79
  alertFontSize: string;
80
+ /**
81
+ * @type {string}
82
+ * @token Weight-regular
83
+ * @description 提示框字体字重
84
+ */
85
+ alertFontWeight: string;
80
86
  /**
81
87
  * @type {string}
82
88
  * @token Neutral-text-5
@@ -97,7 +103,7 @@ export interface AlertTokens {
97
103
  alertPaddingY: string;
98
104
  /**
99
105
  * @type {string}
100
- * @token Radius-4
106
+ * @token Radius-default
101
107
  * @description 提示框边框圆角
102
108
  */
103
109
  alertBorderRadius: string;
@@ -113,6 +119,18 @@ export interface AlertTokens {
113
119
  * @description 提示框标题模式字体字号
114
120
  */
115
121
  alertTitleFontSize: string;
122
+ /**
123
+ * @type {string}
124
+ * @token Weight-medium
125
+ * @description 提示框标题模式字体字重
126
+ */
127
+ alertTitleFontWeight: string;
128
+ /**
129
+ * @type {string}
130
+ * @token Spacing-4
131
+ * @description 提示框标题模式外边距(垂直方向)
132
+ */
133
+ alertTitleMarginY: string;
116
134
  /**
117
135
  * @type {string}
118
136
  * @token Neutral-text-4
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;CAChC"}
1
+ {"version":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sB,EAAE,MAAM,CAAC;CAChC"}
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["breadcrumb.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,QAAA,MAAM,gBAAgB,EAAE,gBAiBvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["breadcrumb.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,QAAA,MAAM,gBAAgB,EAAE,gBAevB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -4,13 +4,11 @@
4
4
  var breadcrumbTokens = {
5
5
  breadcrumbFontSize: 'Font-14',
6
6
  breadcrumbFontColor: 'Neutral-text-5',
7
+ breadcrumbFontWieght: 'Weight-regular',
7
8
  breadcrumbLinkColor: 'Neutral-text-3',
8
9
  breadcrumbLinkHoverColor: 'Brand-5',
9
- breadcrumbListBackgroundColor: 'Neutral-fill-1',
10
- breadcrumbListShadow: 'Shadow-1',
11
- breadcrumbListBorderColor: '#f4f5f8',
12
10
  breadcrumbListPaddingY: 'Spacing-4',
13
- breadcrumbListItemBorderRadius: 'Radius-4',
11
+ breadcrumbListItemBorderRadius: 'Radius-default',
14
12
  breadcrumbListItemWrapperPaddingX: 'Spacing-4',
15
13
  breadcrumbListItemPaddingX: 'Spacing-8',
16
14
  breadcrumbListItemPaddingY: 'Spacing-5',
@@ -26,7 +26,8 @@ var breadcrumbTokenValue = {};
26
26
  var breadcrumbTokenExtraValue = {
27
27
  font: {
28
28
  size: 'Font-14',
29
- color: 'Neutral-text-5'
29
+ color: 'Neutral-text-5',
30
+ wieght: 'Weight-regular'
30
31
  },
31
32
  link: {
32
33
  color: 'Neutral-text-3',
@@ -35,19 +36,12 @@ var breadcrumbTokenExtraValue = {
35
36
  }
36
37
  },
37
38
  list: {
38
- background: {
39
- color: 'Neutral-fill-1'
40
- },
41
- shadow: 'Shadow-1',
42
- border: {
43
- color: '#f4f5f8'
44
- },
45
39
  padding: {
46
40
  y: 'Spacing-4'
47
41
  },
48
42
  item: {
49
43
  border: {
50
- radius: 'Radius-4'
44
+ radius: 'Radius-default'
51
45
  },
52
46
  wrapper: {
53
47
  padding: {
@@ -11,6 +11,12 @@ export interface BreadcrumbTokens {
11
11
  * @description 面包屑字体颜色
12
12
  */
13
13
  breadcrumbFontColor: string;
14
+ /**
15
+ * @type {string}
16
+ * @token Weight-regular
17
+ * @description 面包屑字体undefined
18
+ */
19
+ breadcrumbFontWieght: string;
14
20
  /**
15
21
  * @type {string}
16
22
  * @token Neutral-text-3
@@ -23,24 +29,6 @@ export interface BreadcrumbTokens {
23
29
  * @description 面包屑链接色鼠标移入时的颜色
24
30
  */
25
31
  breadcrumbLinkHoverColor: string;
26
- /**
27
- * @type {string}
28
- * @token Neutral-fill-1
29
- * @description 面包屑下拉列表的背景颜色
30
- */
31
- breadcrumbListBackgroundColor: string;
32
- /**
33
- * @type {string}
34
- * @token Shadow-1
35
- * @description 面包屑下拉列表的阴影
36
- */
37
- breadcrumbListShadow: string;
38
- /**
39
- * @type {string}
40
- * @token #f4f5f8
41
- * @description 面包屑下拉列表的边框颜色
42
- */
43
- breadcrumbListBorderColor: string;
44
32
  /**
45
33
  * @type {string}
46
34
  * @token Spacing-4
@@ -49,7 +37,7 @@ export interface BreadcrumbTokens {
49
37
  breadcrumbListPaddingY: string;
50
38
  /**
51
39
  * @type {string}
52
- * @token Radius-4
40
+ * @token Radius-default
53
41
  * @description 面包屑下拉列表的选项边框圆角
54
42
  */
55
43
  breadcrumbListItemBorderRadius: string;