@sheinx/theme 3.1.0-rc.2 → 3.1.0

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 (310) hide show
  1. package/LICENSE +21 -0
  2. package/cjs/alert/alert.js +5 -5
  3. package/cjs/alert/token.js +5 -5
  4. package/cjs/alert/type.d.ts +5 -5
  5. package/cjs/breadcrumb/breadcrumb.js +6 -6
  6. package/cjs/breadcrumb/token.js +6 -6
  7. package/cjs/breadcrumb/type.d.ts +6 -6
  8. package/cjs/button/button.js +5 -5
  9. package/cjs/button/token.js +6 -6
  10. package/cjs/card/card.js +5 -5
  11. package/cjs/card/token.js +6 -6
  12. package/cjs/card/type.d.ts +5 -5
  13. package/cjs/card-group/card-group.js +1 -1
  14. package/cjs/card-group/token.js +1 -1
  15. package/cjs/card-group/type.d.ts +1 -1
  16. package/cjs/carousel/carousel.js +5 -5
  17. package/cjs/carousel/token.js +5 -5
  18. package/cjs/carousel/type.d.ts +5 -5
  19. package/cjs/cascader/cascader.d.ts.map +1 -1
  20. package/cjs/cascader/cascader.js +33 -34
  21. package/cjs/cascader/token.js +34 -35
  22. package/cjs/cascader/type.d.ts +33 -39
  23. package/cjs/cascader/type.d.ts.map +1 -1
  24. package/cjs/checkbox/checkbox.d.ts.map +1 -1
  25. package/cjs/checkbox/checkbox.js +8 -7
  26. package/cjs/checkbox/token.js +10 -7
  27. package/cjs/checkbox/type.d.ts +13 -7
  28. package/cjs/checkbox/type.d.ts.map +1 -1
  29. package/cjs/collapse/collapse.js +7 -7
  30. package/cjs/collapse/token.js +7 -7
  31. package/cjs/collapse/type.d.ts +7 -7
  32. package/cjs/date-picker/date-picker.d.ts.map +1 -1
  33. package/cjs/date-picker/date-picker.js +36 -49
  34. package/cjs/date-picker/token.js +36 -89
  35. package/cjs/date-picker/type.d.ts +36 -114
  36. package/cjs/date-picker/type.d.ts.map +1 -1
  37. package/cjs/descriptions/descriptions.js +14 -14
  38. package/cjs/descriptions/token.js +14 -14
  39. package/cjs/descriptions/type.d.ts +14 -14
  40. package/cjs/divider/divider.js +4 -4
  41. package/cjs/divider/token.js +4 -4
  42. package/cjs/divider/type.d.ts +4 -4
  43. package/cjs/dropdown/dropdown.js +29 -29
  44. package/cjs/dropdown/token.js +29 -29
  45. package/cjs/dropdown/type.d.ts +29 -29
  46. package/cjs/editable-area/editable-area.js +1 -1
  47. package/cjs/editable-area/token.js +1 -1
  48. package/cjs/editable-area/type.d.ts +1 -1
  49. package/cjs/empty/empty.js +1 -1
  50. package/cjs/empty/token.js +1 -1
  51. package/cjs/empty/type.d.ts +1 -1
  52. package/cjs/form/form.js +7 -7
  53. package/cjs/form/token.js +7 -7
  54. package/cjs/form/type.d.ts +7 -7
  55. package/cjs/icon/icon.js +3 -3
  56. package/cjs/icon/token.js +3 -3
  57. package/cjs/icon/type.d.ts +3 -3
  58. package/cjs/image/image.js +2 -2
  59. package/cjs/image/token.js +2 -2
  60. package/cjs/image/type.d.ts +2 -2
  61. package/cjs/index.d.ts +3 -3
  62. package/cjs/index.d.ts.map +1 -1
  63. package/cjs/index.js +9 -9
  64. package/cjs/input/input.js +18 -18
  65. package/cjs/input/token.js +18 -18
  66. package/cjs/input/type.d.ts +18 -18
  67. package/cjs/list/list.js +8 -8
  68. package/cjs/list/token.js +8 -8
  69. package/cjs/list/type.d.ts +8 -8
  70. package/cjs/menu/menu.js +1 -1
  71. package/cjs/menu/token.js +1 -1
  72. package/cjs/menu/type.d.ts +1 -1
  73. package/cjs/message/message.js +1 -1
  74. package/cjs/message/token.js +1 -1
  75. package/cjs/message/type.d.ts +1 -1
  76. package/cjs/modal/modal.js +14 -14
  77. package/cjs/modal/token.js +14 -14
  78. package/cjs/modal/type.d.ts +14 -14
  79. package/cjs/pagination/pagination.js +4 -4
  80. package/cjs/pagination/token.js +4 -4
  81. package/cjs/pagination/type.d.ts +4 -4
  82. package/cjs/popover/popover.js +5 -5
  83. package/cjs/popover/token.js +5 -5
  84. package/cjs/popover/type.d.ts +5 -5
  85. package/cjs/progress/progress.js +5 -5
  86. package/cjs/progress/token.js +5 -5
  87. package/cjs/progress/type.d.ts +5 -5
  88. package/cjs/radio/radio.d.ts.map +1 -1
  89. package/cjs/radio/radio.js +9 -10
  90. package/cjs/radio/token.js +9 -12
  91. package/cjs/radio/type.d.ts +9 -15
  92. package/cjs/radio/type.d.ts.map +1 -1
  93. package/cjs/rate/rate.js +1 -1
  94. package/cjs/rate/token.js +1 -1
  95. package/cjs/rate/type.d.ts +1 -1
  96. package/cjs/select/select.d.ts.map +1 -1
  97. package/cjs/select/select.js +38 -39
  98. package/cjs/select/token.js +39 -40
  99. package/cjs/select/type.d.ts +38 -44
  100. package/cjs/select/type.d.ts.map +1 -1
  101. package/cjs/slider/slider.js +5 -5
  102. package/cjs/slider/token.js +5 -5
  103. package/cjs/slider/type.d.ts +5 -5
  104. package/cjs/spin/spin.js +2 -2
  105. package/cjs/spin/token.js +2 -2
  106. package/cjs/spin/type.d.ts +2 -2
  107. package/cjs/steps/steps.d.ts.map +1 -1
  108. package/cjs/steps/steps.js +17 -20
  109. package/cjs/steps/token.js +21 -24
  110. package/cjs/steps/type.d.ts +17 -35
  111. package/cjs/steps/type.d.ts.map +1 -1
  112. package/cjs/sticky/sticky.js +1 -1
  113. package/cjs/sticky/token.js +1 -1
  114. package/cjs/sticky/type.d.ts +1 -1
  115. package/cjs/switch/switch.js +10 -10
  116. package/cjs/switch/token.js +10 -10
  117. package/cjs/switch/type.d.ts +10 -10
  118. package/cjs/table/table.js +8 -8
  119. package/cjs/table/token.js +8 -8
  120. package/cjs/table/type.d.ts +8 -8
  121. package/cjs/tabs/tabs.js +16 -16
  122. package/cjs/tabs/token.js +16 -16
  123. package/cjs/tabs/type.d.ts +16 -16
  124. package/cjs/tag/tag.js +14 -14
  125. package/cjs/tag/token.js +14 -14
  126. package/cjs/tag/type.d.ts +14 -14
  127. package/cjs/textarea/textarea.js +9 -9
  128. package/cjs/textarea/token.js +9 -9
  129. package/cjs/textarea/type.d.ts +9 -9
  130. package/cjs/token/figma.js +36 -96
  131. package/cjs/token/token.d.ts +2 -0
  132. package/cjs/token/token.d.ts.map +1 -1
  133. package/cjs/token/token.js +19 -18
  134. package/cjs/token/type.d.ts +42 -112
  135. package/cjs/token/type.d.ts.map +1 -1
  136. package/cjs/tooltip/token.js +3 -3
  137. package/cjs/tooltip/tooltip.js +3 -3
  138. package/cjs/tooltip/type.d.ts +3 -3
  139. package/cjs/transfer/token.js +4 -4
  140. package/cjs/transfer/transfer.js +4 -4
  141. package/cjs/transfer/type.d.ts +4 -4
  142. package/cjs/tree/token.js +7 -7
  143. package/cjs/tree/tree.js +7 -7
  144. package/cjs/tree/type.d.ts +7 -7
  145. package/cjs/tree-select/token.js +34 -35
  146. package/cjs/tree-select/tree-select.d.ts.map +1 -1
  147. package/cjs/tree-select/tree-select.js +33 -34
  148. package/cjs/tree-select/type.d.ts +33 -39
  149. package/cjs/tree-select/type.d.ts.map +1 -1
  150. package/cjs/upload/token.js +7 -7
  151. package/cjs/upload/type.d.ts +7 -7
  152. package/cjs/upload/upload.js +7 -7
  153. package/cjs/utils/css-var.d.ts +1 -1
  154. package/cjs/utils/css-var.d.ts.map +1 -1
  155. package/cjs/utils/css-var.js +1 -10
  156. package/esm/alert/alert.js +5 -5
  157. package/esm/alert/token.js +5 -5
  158. package/esm/alert/type.d.ts +5 -5
  159. package/esm/breadcrumb/breadcrumb.js +6 -6
  160. package/esm/breadcrumb/token.js +6 -6
  161. package/esm/breadcrumb/type.d.ts +6 -6
  162. package/esm/button/button.js +5 -5
  163. package/esm/button/token.js +6 -6
  164. package/esm/card/card.js +5 -5
  165. package/esm/card/token.js +6 -6
  166. package/esm/card/type.d.ts +5 -5
  167. package/esm/card-group/card-group.js +1 -1
  168. package/esm/card-group/token.js +1 -1
  169. package/esm/card-group/type.d.ts +1 -1
  170. package/esm/carousel/carousel.js +5 -5
  171. package/esm/carousel/token.js +5 -5
  172. package/esm/carousel/type.d.ts +5 -5
  173. package/esm/cascader/cascader.d.ts.map +1 -1
  174. package/esm/cascader/cascader.js +33 -34
  175. package/esm/cascader/token.js +34 -35
  176. package/esm/cascader/type.d.ts +33 -39
  177. package/esm/cascader/type.d.ts.map +1 -1
  178. package/esm/checkbox/checkbox.d.ts.map +1 -1
  179. package/esm/checkbox/checkbox.js +8 -7
  180. package/esm/checkbox/token.js +10 -7
  181. package/esm/checkbox/type.d.ts +13 -7
  182. package/esm/checkbox/type.d.ts.map +1 -1
  183. package/esm/collapse/collapse.js +7 -7
  184. package/esm/collapse/token.js +7 -7
  185. package/esm/collapse/type.d.ts +7 -7
  186. package/esm/date-picker/date-picker.d.ts.map +1 -1
  187. package/esm/date-picker/date-picker.js +36 -49
  188. package/esm/date-picker/token.js +36 -89
  189. package/esm/date-picker/type.d.ts +36 -114
  190. package/esm/date-picker/type.d.ts.map +1 -1
  191. package/esm/descriptions/descriptions.js +14 -14
  192. package/esm/descriptions/token.js +14 -14
  193. package/esm/descriptions/type.d.ts +14 -14
  194. package/esm/divider/divider.js +4 -4
  195. package/esm/divider/token.js +4 -4
  196. package/esm/divider/type.d.ts +4 -4
  197. package/esm/dropdown/dropdown.js +29 -29
  198. package/esm/dropdown/token.js +29 -29
  199. package/esm/dropdown/type.d.ts +29 -29
  200. package/esm/editable-area/editable-area.js +1 -1
  201. package/esm/editable-area/token.js +1 -1
  202. package/esm/editable-area/type.d.ts +1 -1
  203. package/esm/empty/empty.js +1 -1
  204. package/esm/empty/token.js +1 -1
  205. package/esm/empty/type.d.ts +1 -1
  206. package/esm/form/form.js +7 -7
  207. package/esm/form/token.js +7 -7
  208. package/esm/form/type.d.ts +7 -7
  209. package/esm/icon/icon.js +3 -3
  210. package/esm/icon/token.js +3 -3
  211. package/esm/icon/type.d.ts +3 -3
  212. package/esm/image/image.js +2 -2
  213. package/esm/image/token.js +2 -2
  214. package/esm/image/type.d.ts +2 -2
  215. package/esm/index.d.ts +3 -3
  216. package/esm/index.d.ts.map +1 -1
  217. package/esm/index.js +4 -4
  218. package/esm/input/input.js +18 -18
  219. package/esm/input/token.js +18 -18
  220. package/esm/input/type.d.ts +18 -18
  221. package/esm/list/list.js +8 -8
  222. package/esm/list/token.js +8 -8
  223. package/esm/list/type.d.ts +8 -8
  224. package/esm/menu/menu.js +1 -1
  225. package/esm/menu/token.js +1 -1
  226. package/esm/menu/type.d.ts +1 -1
  227. package/esm/message/message.js +1 -1
  228. package/esm/message/token.js +1 -1
  229. package/esm/message/type.d.ts +1 -1
  230. package/esm/modal/modal.js +14 -14
  231. package/esm/modal/token.js +14 -14
  232. package/esm/modal/type.d.ts +14 -14
  233. package/esm/pagination/pagination.js +4 -4
  234. package/esm/pagination/token.js +4 -4
  235. package/esm/pagination/type.d.ts +4 -4
  236. package/esm/popover/popover.js +5 -5
  237. package/esm/popover/token.js +5 -5
  238. package/esm/popover/type.d.ts +5 -5
  239. package/esm/progress/progress.js +5 -5
  240. package/esm/progress/token.js +5 -5
  241. package/esm/progress/type.d.ts +5 -5
  242. package/esm/radio/radio.d.ts.map +1 -1
  243. package/esm/radio/radio.js +9 -10
  244. package/esm/radio/token.js +9 -12
  245. package/esm/radio/type.d.ts +9 -15
  246. package/esm/radio/type.d.ts.map +1 -1
  247. package/esm/rate/rate.js +1 -1
  248. package/esm/rate/token.js +1 -1
  249. package/esm/rate/type.d.ts +1 -1
  250. package/esm/select/select.d.ts.map +1 -1
  251. package/esm/select/select.js +38 -39
  252. package/esm/select/token.js +39 -40
  253. package/esm/select/type.d.ts +38 -44
  254. package/esm/select/type.d.ts.map +1 -1
  255. package/esm/slider/slider.js +5 -5
  256. package/esm/slider/token.js +5 -5
  257. package/esm/slider/type.d.ts +5 -5
  258. package/esm/spin/spin.js +2 -2
  259. package/esm/spin/token.js +2 -2
  260. package/esm/spin/type.d.ts +2 -2
  261. package/esm/steps/steps.d.ts.map +1 -1
  262. package/esm/steps/steps.js +17 -20
  263. package/esm/steps/token.js +21 -24
  264. package/esm/steps/type.d.ts +17 -35
  265. package/esm/steps/type.d.ts.map +1 -1
  266. package/esm/sticky/sticky.js +1 -1
  267. package/esm/sticky/token.js +1 -1
  268. package/esm/sticky/type.d.ts +1 -1
  269. package/esm/switch/switch.js +10 -10
  270. package/esm/switch/token.js +10 -10
  271. package/esm/switch/type.d.ts +10 -10
  272. package/esm/table/table.js +8 -8
  273. package/esm/table/token.js +8 -8
  274. package/esm/table/type.d.ts +8 -8
  275. package/esm/tabs/tabs.js +16 -16
  276. package/esm/tabs/token.js +16 -16
  277. package/esm/tabs/type.d.ts +16 -16
  278. package/esm/tag/tag.js +14 -14
  279. package/esm/tag/token.js +14 -14
  280. package/esm/tag/type.d.ts +14 -14
  281. package/esm/textarea/textarea.js +9 -9
  282. package/esm/textarea/token.js +9 -9
  283. package/esm/textarea/type.d.ts +9 -9
  284. package/esm/token/figma.js +36 -96
  285. package/esm/token/token.d.ts +2 -0
  286. package/esm/token/token.d.ts.map +1 -1
  287. package/esm/token/token.js +19 -17
  288. package/esm/token/type.d.ts +42 -112
  289. package/esm/token/type.d.ts.map +1 -1
  290. package/esm/tooltip/token.js +3 -3
  291. package/esm/tooltip/tooltip.js +3 -3
  292. package/esm/tooltip/type.d.ts +3 -3
  293. package/esm/transfer/token.js +4 -4
  294. package/esm/transfer/transfer.js +4 -4
  295. package/esm/transfer/type.d.ts +4 -4
  296. package/esm/tree/token.js +7 -7
  297. package/esm/tree/tree.js +7 -7
  298. package/esm/tree/type.d.ts +7 -7
  299. package/esm/tree-select/token.js +34 -35
  300. package/esm/tree-select/tree-select.d.ts.map +1 -1
  301. package/esm/tree-select/tree-select.js +33 -34
  302. package/esm/tree-select/type.d.ts +33 -39
  303. package/esm/tree-select/type.d.ts.map +1 -1
  304. package/esm/upload/token.js +7 -7
  305. package/esm/upload/type.d.ts +7 -7
  306. package/esm/upload/upload.js +7 -7
  307. package/esm/utils/css-var.d.ts +1 -1
  308. package/esm/utils/css-var.d.ts.map +1 -1
  309. package/esm/utils/css-var.js +1 -10
  310. package/package.json +8 -3
@@ -26,7 +26,7 @@ var sliderTokenDescription = {
26
26
  var sliderTokenValue = {};
27
27
  var sliderTokenExtraValue = {
28
28
  font: {
29
- size: '12/regular'
29
+ size: 'Font-12'
30
30
  },
31
31
  track: {
32
32
  size: 'Size-2',
@@ -81,8 +81,8 @@ var sliderTokenExtraValue = {
81
81
  },
82
82
  radius: 'Radius-2',
83
83
  padding: {
84
- x: 'Padding-8',
85
- y: 'Padding-3'
84
+ x: 'Spacing-8',
85
+ y: 'Spacing-3'
86
86
  }
87
87
  }
88
88
  },
@@ -94,11 +94,11 @@ var sliderTokenExtraValue = {
94
94
  }
95
95
  },
96
96
  margin: {
97
- y: 'Margin-4'
97
+ y: 'Spacing-4'
98
98
  },
99
99
  font: {
100
100
  color: 'Neutral-text-4',
101
- size: '12/regular'
101
+ size: 'Font-12'
102
102
  }
103
103
  }
104
104
  };
@@ -1,7 +1,7 @@
1
1
  export interface SliderTokens {
2
2
  /**
3
3
  * @type {string}
4
- * @token 12/regular
4
+ * @token Font-12
5
5
  * @description 滑块字体字号
6
6
  */
7
7
  sliderFontSize: string;
@@ -103,13 +103,13 @@ export interface SliderTokens {
103
103
  sliderValueHoverRadius: string;
104
104
  /**
105
105
  * @type {string}
106
- * @token Padding-8
106
+ * @token Spacing-8
107
107
  * @description 滑块文案鼠标移入时的内边距(水平方向)
108
108
  */
109
109
  sliderValueHoverPaddingX: string;
110
110
  /**
111
111
  * @type {string}
112
- * @token Padding-3
112
+ * @token Spacing-3
113
113
  * @description 滑块文案鼠标移入时的内边距(垂直方向)
114
114
  */
115
115
  sliderValueHoverPaddingY: string;
@@ -127,7 +127,7 @@ export interface SliderTokens {
127
127
  sliderScaleLineBackgroundColor: string;
128
128
  /**
129
129
  * @type {string}
130
- * @token Margin-4
130
+ * @token Spacing-4
131
131
  * @description 滑块刻度外边距(垂直方向)
132
132
  */
133
133
  sliderScaleMarginY: string;
@@ -139,7 +139,7 @@ export interface SliderTokens {
139
139
  sliderScaleFontColor: string;
140
140
  /**
141
141
  * @type {string}
142
- * @token 12/regular
142
+ * @token Font-12
143
143
  * @description 滑块刻度字体字号
144
144
  */
145
145
  sliderScaleFontSize: string;
package/esm/spin/spin.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  var spinTokens = {
5
5
  spinTipFontColor: 'Brand-6',
6
- spinVerticalMargin: 'Margin-4',
7
- spinHorizontalMargin: 'Margin-4'
6
+ spinVerticalMargin: 'Spacing-4',
7
+ spinHorizontalMargin: 'Spacing-4'
8
8
  };
9
9
  export default spinTokens;
package/esm/spin/token.js CHANGED
@@ -27,10 +27,10 @@ var spinTokenValue = {
27
27
  }
28
28
  },
29
29
  vertical: {
30
- margin: 'Margin-4'
30
+ margin: 'Spacing-4'
31
31
  },
32
32
  horizontal: {
33
- margin: 'Margin-4'
33
+ margin: 'Spacing-4'
34
34
  }
35
35
  };
36
36
  var spinTokenExtraValue = {};
@@ -7,13 +7,13 @@ export interface SpinTokens {
7
7
  spinTipFontColor: string;
8
8
  /**
9
9
  * @type {string}
10
- * @token Margin-4
10
+ * @token Spacing-4
11
11
  * @description 加载动画垂直模式下与提示文字的外边距
12
12
  */
13
13
  spinVerticalMargin: string;
14
14
  /**
15
15
  * @type {string}
16
- * @token Margin-4
16
+ * @token Spacing-4
17
17
  * @description 加载动画水平模式下与提示文字的外边距
18
18
  */
19
19
  spinHorizontalMargin: string;
@@ -1 +1 @@
1
- {"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["steps.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WAsClB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["steps.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WAmClB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -3,21 +3,21 @@
3
3
 
4
4
  var stepsTokens = {
5
5
  stepsDescriptionFontColor: 'Neutral-text-3',
6
- stepsDescriptionTitleMarginX: 'Margin-4',
6
+ stepsDescriptionTitleMarginX: 'Spacing-4',
7
7
  stepsIconWidth: 'Size-14',
8
8
  stepsIconHeight: 'Size-14',
9
- stepsIconFontSize: '16/regular',
9
+ stepsIconFontSize: 'Font-16',
10
10
  stepsSmallIconWidth: 'Size-12',
11
11
  stepsSmallIconHeight: 'Size-12',
12
- stepsSmallIconFontSize: '14/regular',
12
+ stepsSmallIconFontSize: 'Font-14',
13
13
  stepsLargeIconWidth: 'Size-16',
14
14
  stepsLargeIconHeight: 'Size-16',
15
- stepsLargeIconFontSize: '18/regular',
16
- stepsTitleFontSize: '16/regular',
17
- stepsSmallTitleFontSize: '14/medium',
18
- stepsSmallDescriptionFontSize: '12/regular',
19
- stepsLargeTitleFontSize: '18/medium',
20
- stepsLargeDescriptionFontSize: '12/regular',
15
+ stepsLargeIconFontSize: 'Font-18',
16
+ stepsTitleFontSize: 'Font-16',
17
+ stepsSmallTitleFontSize: 'Font-14',
18
+ stepsSmallDescriptionFontSize: 'Font-12',
19
+ stepsLargeTitleFontSize: 'Font-18',
20
+ stepsLargeDescriptionFontSize: 'Font-12',
21
21
  stepsWaitFontColor: 'Neutral-text-4',
22
22
  stepsWaitBackgroundColor: 'Neutral-fill-2',
23
23
  stepsProcessFontColor: 'Neutral-text-1',
@@ -26,18 +26,15 @@ var stepsTokens = {
26
26
  stepsFinishBackgroundColor: 'Brand-1',
27
27
  stepsErrorFontColor: 'Neutral-text-1',
28
28
  stepsErrorBackgroundColor: 'Danger-6',
29
- stepsArrowPaddingX: 'Padding-16',
30
- stepsArrowPaddingY: 'Padding-8',
31
- stepsArrowHeight: 'Size-32',
32
- stepsSmallArrowPaddingX: 'Padding-16',
33
- stepsSmallArrowPaddingY: 'Padding-5',
34
- stepsSmallArrowHeight: 'Size-28',
35
- stepsLargeArrowPaddingX: 'Padding-16',
36
- stepsLargeArrowPaddingY: 'Padding-11',
37
- stepsLargeArrowHeight: 'Size-36',
29
+ stepsArrowPaddingX: 'Spacing-16',
30
+ stepsArrowPaddingY: 'Spacing-8',
31
+ stepsSmallArrowPaddingX: 'Spacing-16',
32
+ stepsSmallArrowPaddingY: 'Spacing-5',
33
+ stepsLargeArrowPaddingX: 'Spacing-16',
34
+ stepsLargeArrowPaddingY: 'Spacing-11',
38
35
  stepsTailBackgroundColor: 'Neutral-border-1',
39
36
  stepsTailFinishBackgroundColor: 'Brand-6',
40
- stepsNearlyContentMargin: 'Margin-8',
41
- stepsNearlyDescribeMargin: 'Margin-4'
37
+ stepsNearlyContentMargin: 'Spacing-8',
38
+ stepsNearlyDescribeMargin: 'Spacing-4'
42
39
  };
43
40
  export default stepsTokens;
@@ -32,7 +32,7 @@ var stepsTokenValue = {
32
32
  width: 'Size-14',
33
33
  height: 'Size-14',
34
34
  font: {
35
- size: '16/regular'
35
+ size: 'Font-16'
36
36
  }
37
37
  },
38
38
  small: {
@@ -40,25 +40,24 @@ var stepsTokenValue = {
40
40
  width: 'Size-12',
41
41
  height: 'Size-12',
42
42
  font: {
43
- size: '14/regular'
43
+ size: 'Font-14'
44
44
  }
45
45
  },
46
46
  title: {
47
47
  font: {
48
- size: '14/medium'
48
+ size: 'Font-14'
49
49
  }
50
50
  },
51
51
  description: {
52
52
  font: {
53
- size: '12/regular'
53
+ size: 'Font-12'
54
54
  }
55
55
  },
56
56
  arrow: {
57
57
  padding: {
58
- x: 'Padding-16',
59
- y: 'Padding-5'
60
- },
61
- height: 'Size-28'
58
+ x: 'Spacing-16',
59
+ y: 'Spacing-5'
60
+ }
62
61
  }
63
62
  },
64
63
  large: {
@@ -66,35 +65,34 @@ var stepsTokenValue = {
66
65
  width: 'Size-16',
67
66
  height: 'Size-16',
68
67
  font: {
69
- size: '18/regular'
68
+ size: 'Font-18'
70
69
  }
71
70
  },
72
71
  title: {
73
72
  font: {
74
- size: '18/medium'
73
+ size: 'Font-18'
75
74
  }
76
75
  },
77
76
  description: {
78
77
  font: {
79
- size: '12/regular'
78
+ size: 'Font-12'
80
79
  }
81
80
  },
82
81
  arrow: {
83
82
  padding: {
84
- x: 'Padding-16',
85
- y: 'Padding-11'
86
- },
87
- height: 'Size-36'
83
+ x: 'Spacing-16',
84
+ y: 'Spacing-11'
85
+ }
88
86
  }
89
87
  },
90
88
  title: {
91
89
  font: {
92
- size: '16/regular'
90
+ size: 'Font-16'
93
91
  }
94
92
  },
95
93
  description: {
96
94
  font: {
97
- size: '12/regular'
95
+ size: 'Font-12'
98
96
  }
99
97
  },
100
98
  wait: {
@@ -131,10 +129,9 @@ var stepsTokenValue = {
131
129
  },
132
130
  arrow: {
133
131
  padding: {
134
- x: 'Padding-16',
135
- y: 'Padding-8'
136
- },
137
- height: 'Size-32'
132
+ x: 'Spacing-16',
133
+ y: 'Spacing-8'
134
+ }
138
135
  },
139
136
  tail: {
140
137
  background: {
@@ -148,10 +145,10 @@ var stepsTokenValue = {
148
145
  },
149
146
  nearly: {
150
147
  content: {
151
- margin: 'Margin-8'
148
+ margin: 'Spacing-8'
152
149
  },
153
150
  describe: {
154
- margin: 'Margin-4'
151
+ margin: 'Spacing-4'
155
152
  }
156
153
  }
157
154
  };
@@ -162,7 +159,7 @@ var stepsTokenExtraValue = {
162
159
  },
163
160
  title: {
164
161
  margin: {
165
- x: 'Margin-4'
162
+ x: 'Spacing-4'
166
163
  }
167
164
  }
168
165
  }
@@ -7,7 +7,7 @@ export interface StepsTokens {
7
7
  stepsDescriptionFontColor: string;
8
8
  /**
9
9
  * @type {string}
10
- * @token Margin-4
10
+ * @token Spacing-4
11
11
  * @description 步骤条描述信息标题模式外边距(水平方向)
12
12
  */
13
13
  stepsDescriptionTitleMarginX: string;
@@ -25,7 +25,7 @@ export interface StepsTokens {
25
25
  stepsIconHeight: string;
26
26
  /**
27
27
  * @type {string}
28
- * @token 16/regular
28
+ * @token Font-16
29
29
  * @description 步骤条图标字体字号
30
30
  */
31
31
  stepsIconFontSize: string;
@@ -43,7 +43,7 @@ export interface StepsTokens {
43
43
  stepsSmallIconHeight: string;
44
44
  /**
45
45
  * @type {string}
46
- * @token 14/regular
46
+ * @token Font-14
47
47
  * @description 步骤条小尺寸图标字体字号
48
48
  */
49
49
  stepsSmallIconFontSize: string;
@@ -61,37 +61,37 @@ export interface StepsTokens {
61
61
  stepsLargeIconHeight: string;
62
62
  /**
63
63
  * @type {string}
64
- * @token 18/regular
64
+ * @token Font-18
65
65
  * @description 步骤条大尺寸图标字体字号
66
66
  */
67
67
  stepsLargeIconFontSize: string;
68
68
  /**
69
69
  * @type {string}
70
- * @token 16/regular
70
+ * @token Font-16
71
71
  * @description 步骤条标题模式字体字号
72
72
  */
73
73
  stepsTitleFontSize: string;
74
74
  /**
75
75
  * @type {string}
76
- * @token 14/medium
76
+ * @token Font-14
77
77
  * @description 步骤条小尺寸标题模式字体字号
78
78
  */
79
79
  stepsSmallTitleFontSize: string;
80
80
  /**
81
81
  * @type {string}
82
- * @token 12/regular
82
+ * @token Font-12
83
83
  * @description 步骤条小尺寸描述信息字体字号
84
84
  */
85
85
  stepsSmallDescriptionFontSize: string;
86
86
  /**
87
87
  * @type {string}
88
- * @token 18/medium
88
+ * @token Font-18
89
89
  * @description 步骤条大尺寸标题模式字体字号
90
90
  */
91
91
  stepsLargeTitleFontSize: string;
92
92
  /**
93
93
  * @type {string}
94
- * @token 12/regular
94
+ * @token Font-12
95
95
  * @description 步骤条大尺寸描述信息字体字号
96
96
  */
97
97
  stepsLargeDescriptionFontSize: string;
@@ -145,58 +145,40 @@ export interface StepsTokens {
145
145
  stepsErrorBackgroundColor: string;
146
146
  /**
147
147
  * @type {string}
148
- * @token Padding-16
148
+ * @token Spacing-16
149
149
  * @description 步骤条箭头形状的内边距(水平方向)
150
150
  */
151
151
  stepsArrowPaddingX: string;
152
152
  /**
153
153
  * @type {string}
154
- * @token Padding-8
154
+ * @token Spacing-8
155
155
  * @description 步骤条箭头形状的内边距(垂直方向)
156
156
  */
157
157
  stepsArrowPaddingY: string;
158
158
  /**
159
159
  * @type {string}
160
- * @token Size-32
161
- * @description 步骤条箭头形状的高度
162
- */
163
- stepsArrowHeight: string;
164
- /**
165
- * @type {string}
166
- * @token Padding-16
160
+ * @token Spacing-16
167
161
  * @description 步骤条小尺寸箭头形状的内边距(水平方向)
168
162
  */
169
163
  stepsSmallArrowPaddingX: string;
170
164
  /**
171
165
  * @type {string}
172
- * @token Padding-5
166
+ * @token Spacing-5
173
167
  * @description 步骤条小尺寸箭头形状的内边距(垂直方向)
174
168
  */
175
169
  stepsSmallArrowPaddingY: string;
176
170
  /**
177
171
  * @type {string}
178
- * @token Size-28
179
- * @description 步骤条小尺寸箭头形状的高度
180
- */
181
- stepsSmallArrowHeight: string;
182
- /**
183
- * @type {string}
184
- * @token Padding-16
172
+ * @token Spacing-16
185
173
  * @description 步骤条大尺寸箭头形状的内边距(水平方向)
186
174
  */
187
175
  stepsLargeArrowPaddingX: string;
188
176
  /**
189
177
  * @type {string}
190
- * @token Padding-11
178
+ * @token Spacing-11
191
179
  * @description 步骤条大尺寸箭头形状的内边距(垂直方向)
192
180
  */
193
181
  stepsLargeArrowPaddingY: string;
194
- /**
195
- * @type {string}
196
- * @token Size-36
197
- * @description 步骤条大尺寸箭头形状的高度
198
- */
199
- stepsLargeArrowHeight: string;
200
182
  /**
201
183
  * @type {string}
202
184
  * @token Neutral-border-1
@@ -211,13 +193,13 @@ export interface StepsTokens {
211
193
  stepsTailFinishBackgroundColor: string;
212
194
  /**
213
195
  * @type {string}
214
- * @token Margin-8
196
+ * @token Spacing-8
215
197
  * @description 步骤条相邻之间的容器外边距
216
198
  */
217
199
  stepsNearlyContentMargin: string;
218
200
  /**
219
201
  * @type {string}
220
- * @token Margin-4
202
+ * @token Spacing-4
221
203
  * @description 步骤条相邻之间的描述信息的外边距
222
204
  */
223
205
  stepsNearlyDescribeMargin: string;
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.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MAAM,CAAC;IAC3B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;CACnC"}
@@ -2,6 +2,6 @@
2
2
  // This file was generated automatically by a script. Please do not modify it directly.
3
3
 
4
4
  var stickyTokens = {
5
- stickyFontSize: '14/regular'
5
+ stickyFontSize: 'Font-14'
6
6
  };
7
7
  export default stickyTokens;
@@ -19,7 +19,7 @@ var stickyTokenDescription = {
19
19
  */
20
20
  var stickyTokenValue = {
21
21
  font: {
22
- size: '14/regular'
22
+ size: 'Font-14'
23
23
  }
24
24
  };
25
25
  var stickyTokenExtraValue = {};
@@ -1,7 +1,7 @@
1
1
  export interface StickyTokens {
2
2
  /**
3
3
  * @type {string}
4
- * @token 14/regular
4
+ * @token Font-14
5
5
  * @description 附着字体字号
6
6
  */
7
7
  stickyFontSize: string;
@@ -2,23 +2,23 @@
2
2
  // This file was generated automatically by a script. Please do not modify it directly.
3
3
 
4
4
  var switchTokens = {
5
- switchFontSize: '14/regular',
5
+ switchFontSize: 'Font-14',
6
6
  switchFontColor: 'Neutral-text-1',
7
- switchPaddingX: 'Padding-2',
8
- switchPaddingY: 'Padding-2',
7
+ switchPaddingX: 'Spacing-2',
8
+ switchPaddingY: 'Spacing-2',
9
9
  switchCircleSize: 'Size-9',
10
10
  switchCircleFill: 'Neutral-text-1',
11
11
  switchCircleShadow: 'Shadow-3',
12
12
  switchWidth: 'Size-21',
13
- switchTextPaddingX: 'Padding-4',
14
- switchSmallFontSize: '12/regular',
15
- switchSmallPaddingX: 'Padding-2',
16
- switchSmallPaddingY: 'Padding-2',
13
+ switchTextPaddingX: 'Spacing-4',
14
+ switchSmallFontSize: 'Font-12',
15
+ switchSmallPaddingX: 'Spacing-2',
16
+ switchSmallPaddingY: 'Spacing-2',
17
17
  switchSmallCircleSize: 'Size-6',
18
18
  switchSmallWidth: 'Size-14',
19
- switchLargeFontSize: 'regular/16',
20
- switchLargePaddingX: 'Padding-2',
21
- switchLargePaddingY: 'Padding-2',
19
+ switchLargeFontSize: 'Font-16',
20
+ switchLargePaddingX: 'Spacing-2',
21
+ switchLargePaddingY: 'Spacing-2',
22
22
  switchLargeCircleSize: 'Size-12',
23
23
  switchLargeWidth: 'Size-27',
24
24
  switchBackgroundColor: 'Neutral-fill-4',
@@ -25,12 +25,12 @@ var switchTokenDescription = {
25
25
  var switchTokenValue = {};
26
26
  var switchTokenExtraValue = {
27
27
  font: {
28
- size: '14/regular',
28
+ size: 'Font-14',
29
29
  color: 'Neutral-text-1'
30
30
  },
31
31
  padding: {
32
- x: 'Padding-2',
33
- y: 'Padding-2'
32
+ x: 'Spacing-2',
33
+ y: 'Spacing-2'
34
34
  },
35
35
  circle: {
36
36
  size: 'Size-9',
@@ -40,16 +40,16 @@ var switchTokenExtraValue = {
40
40
  width: 'Size-21',
41
41
  text: {
42
42
  padding: {
43
- x: 'Padding-4'
43
+ x: 'Spacing-4'
44
44
  }
45
45
  },
46
46
  small: {
47
47
  font: {
48
- size: '12/regular'
48
+ size: 'Font-12'
49
49
  },
50
50
  padding: {
51
- x: 'Padding-2',
52
- y: 'Padding-2'
51
+ x: 'Spacing-2',
52
+ y: 'Spacing-2'
53
53
  },
54
54
  circle: {
55
55
  size: 'Size-6'
@@ -58,11 +58,11 @@ var switchTokenExtraValue = {
58
58
  },
59
59
  large: {
60
60
  font: {
61
- size: 'regular/16'
61
+ size: 'Font-16'
62
62
  },
63
63
  padding: {
64
- x: 'Padding-2',
65
- y: 'Padding-2'
64
+ x: 'Spacing-2',
65
+ y: 'Spacing-2'
66
66
  },
67
67
  circle: {
68
68
  size: 'Size-12'
@@ -1,7 +1,7 @@
1
1
  export interface SwitchTokens {
2
2
  /**
3
3
  * @type {string}
4
- * @token 14/regular
4
+ * @token Font-14
5
5
  * @description 开关字体字号
6
6
  */
7
7
  switchFontSize: string;
@@ -13,13 +13,13 @@ export interface SwitchTokens {
13
13
  switchFontColor: string;
14
14
  /**
15
15
  * @type {string}
16
- * @token Padding-2
16
+ * @token Spacing-2
17
17
  * @description 开关内边距(水平方向)
18
18
  */
19
19
  switchPaddingX: string;
20
20
  /**
21
21
  * @type {string}
22
- * @token Padding-2
22
+ * @token Spacing-2
23
23
  * @description 开关内边距(垂直方向)
24
24
  */
25
25
  switchPaddingY: string;
@@ -49,25 +49,25 @@ export interface SwitchTokens {
49
49
  switchWidth: string;
50
50
  /**
51
51
  * @type {string}
52
- * @token Padding-4
52
+ * @token Spacing-4
53
53
  * @description 开关文案内边距(水平方向)
54
54
  */
55
55
  switchTextPaddingX: string;
56
56
  /**
57
57
  * @type {string}
58
- * @token 12/regular
58
+ * @token Font-12
59
59
  * @description 开关小尺寸字体字号
60
60
  */
61
61
  switchSmallFontSize: string;
62
62
  /**
63
63
  * @type {string}
64
- * @token Padding-2
64
+ * @token Spacing-2
65
65
  * @description 开关小尺寸内边距(水平方向)
66
66
  */
67
67
  switchSmallPaddingX: string;
68
68
  /**
69
69
  * @type {string}
70
- * @token Padding-2
70
+ * @token Spacing-2
71
71
  * @description 开关小尺寸内边距(垂直方向)
72
72
  */
73
73
  switchSmallPaddingY: string;
@@ -85,19 +85,19 @@ export interface SwitchTokens {
85
85
  switchSmallWidth: string;
86
86
  /**
87
87
  * @type {string}
88
- * @token regular/16
88
+ * @token Font-16
89
89
  * @description 开关大尺寸字体字号
90
90
  */
91
91
  switchLargeFontSize: string;
92
92
  /**
93
93
  * @type {string}
94
- * @token Padding-2
94
+ * @token Spacing-2
95
95
  * @description 开关大尺寸内边距(水平方向)
96
96
  */
97
97
  switchLargePaddingX: string;
98
98
  /**
99
99
  * @type {string}
100
- * @token Padding-2
100
+ * @token Spacing-2
101
101
  * @description 开关大尺寸内边距(垂直方向)
102
102
  */
103
103
  switchLargePaddingY: string;