@sheinx/theme 3.1.0-rc.2 → 3.1.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -33,7 +33,7 @@ var modalTokenDescription = {
33
33
  */
34
34
  var modalTokenValue = {
35
35
  font: {
36
- size: '14/regular'
36
+ size: 'Font-14'
37
37
  }
38
38
  };
39
39
  var modalTokenExtraValue = {
@@ -45,22 +45,22 @@ var modalTokenExtraValue = {
45
45
  },
46
46
  panel: {
47
47
  padding: {
48
- y: 'Padding-24',
49
- x: 'Padding-24'
48
+ y: 'Spacing-24',
49
+ x: 'Spacing-24'
50
50
  },
51
51
  background: 'Neutral-fill-1',
52
52
  shadow: 'Shadow-3',
53
53
  border: 'Neutral-border-1',
54
- gap: 'Padding-16',
54
+ gap: 'Spacing-16',
55
55
  radius: 'Radius-4',
56
56
  font: {
57
- size: '14/regular'
57
+ size: 'Font-14'
58
58
  }
59
59
  },
60
60
  header: {
61
61
  icon: {
62
62
  margin: {
63
- end: 'Margin-8',
63
+ end: 'Spacing-8',
64
64
  top: 'Size-2'
65
65
  },
66
66
  size: 'Size-8'
@@ -68,7 +68,7 @@ var modalTokenExtraValue = {
68
68
  close: {
69
69
  margin: {
70
70
  x: {
71
- start: 'Margin-16'
71
+ start: 'Spacing-16'
72
72
  }
73
73
  },
74
74
  size: 'Size-8',
@@ -79,14 +79,14 @@ var modalTokenExtraValue = {
79
79
  }
80
80
  },
81
81
  font: {
82
- size: '16/regular'
82
+ size: 'Font-16'
83
83
  }
84
84
  },
85
85
  drawer: {
86
86
  title: {
87
87
  padding: {
88
- y: 'Padding-12',
89
- x: 'Padding-16'
88
+ y: 'Spacing-12',
89
+ x: 'Spacing-16'
90
90
  },
91
91
  background: {
92
92
  color: 'Neutral-fill-2'
@@ -94,14 +94,14 @@ var modalTokenExtraValue = {
94
94
  },
95
95
  body: {
96
96
  padding: {
97
- y: 'Padding-16',
98
- x: 'Padding-16'
97
+ y: 'Spacing-16',
98
+ x: 'Spacing-16'
99
99
  }
100
100
  },
101
101
  footer: {
102
102
  padding: {
103
- y: 'Padding-16',
104
- x: 'Padding-16'
103
+ y: 'Spacing-16',
104
+ x: 'Spacing-16'
105
105
  }
106
106
  },
107
107
  close: {
@@ -13,13 +13,13 @@ export interface ModalTokens {
13
13
  modalMaskLightBackground: string;
14
14
  /**
15
15
  * @type {string}
16
- * @token Padding-24
16
+ * @token Spacing-24
17
17
  * @description 对话框面板内边距(垂直方向)
18
18
  */
19
19
  modalPanelPaddingY: string;
20
20
  /**
21
21
  * @type {string}
22
- * @token Padding-24
22
+ * @token Spacing-24
23
23
  * @description 对话框面板内边距(水平方向)
24
24
  */
25
25
  modalPanelPaddingX: string;
@@ -43,7 +43,7 @@ export interface ModalTokens {
43
43
  modalPanelBorder: string;
44
44
  /**
45
45
  * @type {string}
46
- * @token Padding-16
46
+ * @token Spacing-16
47
47
  * @description 对话框面板间距
48
48
  */
49
49
  modalPanelGap: string;
@@ -55,13 +55,13 @@ export interface ModalTokens {
55
55
  modalPanelRadius: string;
56
56
  /**
57
57
  * @type {string}
58
- * @token 14/regular
58
+ * @token Font-14
59
59
  * @description 对话框面板字体字号
60
60
  */
61
61
  modalPanelFontSize: string;
62
62
  /**
63
63
  * @type {string}
64
- * @token Margin-8
64
+ * @token Spacing-8
65
65
  * @description 对话框头部区域图标外边距(右侧)
66
66
  */
67
67
  modalHeaderIconMarginEnd: string;
@@ -79,7 +79,7 @@ export interface ModalTokens {
79
79
  modalHeaderIconSize: string;
80
80
  /**
81
81
  * @type {string}
82
- * @token Margin-16
82
+ * @token Spacing-16
83
83
  * @description 对话框头部区域关闭icon的外边距(水平方向)(左侧)
84
84
  */
85
85
  modalHeaderCloseMarginXStart: string;
@@ -109,19 +109,19 @@ export interface ModalTokens {
109
109
  modalHeaderCloseBackgroundColor: string;
110
110
  /**
111
111
  * @type {string}
112
- * @token 16/regular
112
+ * @token Font-16
113
113
  * @description 对话框头部区域字体字号
114
114
  */
115
115
  modalHeaderFontSize: string;
116
116
  /**
117
117
  * @type {string}
118
- * @token Padding-12
118
+ * @token Spacing-12
119
119
  * @description 对话框抽屉模式标题的内边距(垂直方向)
120
120
  */
121
121
  modalDrawerTitlePaddingY: string;
122
122
  /**
123
123
  * @type {string}
124
- * @token Padding-16
124
+ * @token Spacing-16
125
125
  * @description 对话框抽屉模式标题的内边距(水平方向)
126
126
  */
127
127
  modalDrawerTitlePaddingX: string;
@@ -133,25 +133,25 @@ export interface ModalTokens {
133
133
  modalDrawerTitleBackgroundColor: string;
134
134
  /**
135
135
  * @type {string}
136
- * @token Padding-16
136
+ * @token Spacing-16
137
137
  * @description 对话框抽屉模式主区域内边距(垂直方向)
138
138
  */
139
139
  modalDrawerBodyPaddingY: string;
140
140
  /**
141
141
  * @type {string}
142
- * @token Padding-16
142
+ * @token Spacing-16
143
143
  * @description 对话框抽屉模式主区域内边距(水平方向)
144
144
  */
145
145
  modalDrawerBodyPaddingX: string;
146
146
  /**
147
147
  * @type {string}
148
- * @token Padding-16
148
+ * @token Spacing-16
149
149
  * @description 对话框抽屉模式底部区域内边距(垂直方向)
150
150
  */
151
151
  modalDrawerFooterPaddingY: string;
152
152
  /**
153
153
  * @type {string}
154
- * @token Padding-16
154
+ * @token Spacing-16
155
155
  * @description 对话框抽屉模式底部区域内边距(水平方向)
156
156
  */
157
157
  modalDrawerFooterPaddingX: string;
@@ -163,7 +163,7 @@ export interface ModalTokens {
163
163
  modalDrawerCloseBackgroundColor: string;
164
164
  /**
165
165
  * @type {string}
166
- * @token 14/regular
166
+ * @token Font-14
167
167
  * @description 对话框字体字号
168
168
  */
169
169
  modalFontSize: string;
@@ -2,10 +2,10 @@
2
2
  // This file was generated automatically by a script. Please do not modify it directly.
3
3
 
4
4
  var paginationTokens = {
5
- paginationFontSize: '14/regular',
6
- paginationSmallFontSize: '12/regular',
7
- paginationLargeFontSize: '16/regular',
5
+ paginationFontSize: 'Font-14',
6
+ paginationSmallFontSize: 'Font-12',
7
+ paginationLargeFontSize: 'Font-16',
8
8
  paginationFontColor: 'Neutral-text-5',
9
- paginationNearlyMargin: 'Margin-8'
9
+ paginationNearlyMargin: 'Spacing-8'
10
10
  };
11
11
  export default paginationTokens;
@@ -20,21 +20,21 @@ var paginationTokenDescription = {
20
20
  */
21
21
  var paginationTokenValue = {
22
22
  font: {
23
- size: '14/regular',
23
+ size: 'Font-14',
24
24
  color: 'Neutral-text-5'
25
25
  },
26
26
  small: {
27
27
  font: {
28
- size: '12/regular'
28
+ size: 'Font-12'
29
29
  }
30
30
  },
31
31
  large: {
32
32
  font: {
33
- size: '16/regular'
33
+ size: 'Font-16'
34
34
  }
35
35
  },
36
36
  nearly: {
37
- margin: 'Margin-8'
37
+ margin: 'Spacing-8'
38
38
  }
39
39
  };
40
40
  var paginationTokenExtraValue = {};
@@ -1,19 +1,19 @@
1
1
  export interface PaginationTokens {
2
2
  /**
3
3
  * @type {string}
4
- * @token 14/regular
4
+ * @token Font-14
5
5
  * @description 分页器字体字号
6
6
  */
7
7
  paginationFontSize: string;
8
8
  /**
9
9
  * @type {string}
10
- * @token 12/regular
10
+ * @token Font-12
11
11
  * @description 分页器小尺寸字体字号
12
12
  */
13
13
  paginationSmallFontSize: string;
14
14
  /**
15
15
  * @type {string}
16
- * @token 16/regular
16
+ * @token Font-16
17
17
  * @description 分页器大尺寸字体字号
18
18
  */
19
19
  paginationLargeFontSize: string;
@@ -25,7 +25,7 @@ export interface PaginationTokens {
25
25
  paginationFontColor: string;
26
26
  /**
27
27
  * @type {string}
28
- * @token Margin-8
28
+ * @token Spacing-8
29
29
  * @description 分页器相邻构件的外边距
30
30
  */
31
31
  paginationNearlyMargin: string;
@@ -2,9 +2,9 @@
2
2
  // This file was generated automatically by a script. Please do not modify it directly.
3
3
 
4
4
  var popoverTokens = {
5
- popoverFontSize: '14/regular',
6
- popoverPaddingX: 'Padding-8',
7
- popoverPaddingY: 'Padding-8',
5
+ popoverFontSize: 'Font-14',
6
+ popoverPaddingX: 'Spacing-8',
7
+ popoverPaddingY: 'Spacing-8',
8
8
  popoverRadius: 'Radius-4',
9
9
  popoverBorderWidth: 'Border-1',
10
10
  popoverFontColor: 'Neutral-text-5',
@@ -22,8 +22,8 @@ var popoverTokens = {
22
22
  popoverErrorFontColor: 'Danger-7',
23
23
  popoverErrorBackgroundColor: 'Danger-1',
24
24
  popoverErrorBorderColor: 'Danger-1',
25
- popoverConfirmPaddingX: 'Padding-16',
26
- popoverConfirmPaddingY: 'Padding-16',
25
+ popoverConfirmPaddingX: 'Spacing-16',
26
+ popoverConfirmPaddingY: 'Spacing-16',
27
27
  popoverConfirmBackgroundColor: 'transparent'
28
28
  };
29
29
  export default popoverTokens;
@@ -24,12 +24,12 @@ var popoverTokenDescription = {
24
24
  */
25
25
  var popoverTokenValue = {
26
26
  font: {
27
- size: '14/regular',
27
+ size: 'Font-14',
28
28
  color: 'Neutral-text-5'
29
29
  },
30
30
  padding: {
31
- x: 'Padding-8',
32
- y: 'Padding-8'
31
+ x: 'Spacing-8',
32
+ y: 'Spacing-8'
33
33
  },
34
34
  radius: 'Radius-4',
35
35
  border: {
@@ -105,8 +105,8 @@ var popoverTokenValue = {
105
105
  size: ''
106
106
  },
107
107
  padding: {
108
- x: 'Padding-16',
109
- y: 'Padding-16'
108
+ x: 'Spacing-16',
109
+ y: 'Spacing-16'
110
110
  },
111
111
  background: {
112
112
  color: 'transparent'
@@ -1,19 +1,19 @@
1
1
  export interface PopoverTokens {
2
2
  /**
3
3
  * @type {string}
4
- * @token 14/regular
4
+ * @token Font-14
5
5
  * @description 气泡字体字号
6
6
  */
7
7
  popoverFontSize: string;
8
8
  /**
9
9
  * @type {string}
10
- * @token Padding-8
10
+ * @token Spacing-8
11
11
  * @description 气泡内边距(水平方向)
12
12
  */
13
13
  popoverPaddingX: string;
14
14
  /**
15
15
  * @type {string}
16
- * @token Padding-8
16
+ * @token Spacing-8
17
17
  * @description 气泡内边距(垂直方向)
18
18
  */
19
19
  popoverPaddingY: string;
@@ -121,13 +121,13 @@ export interface PopoverTokens {
121
121
  popoverErrorBorderColor: string;
122
122
  /**
123
123
  * @type {string}
124
- * @token Padding-16
124
+ * @token Spacing-16
125
125
  * @description 气泡确认内边距(水平方向)
126
126
  */
127
127
  popoverConfirmPaddingX: string;
128
128
  /**
129
129
  * @type {string}
130
- * @token Padding-16
130
+ * @token Spacing-16
131
131
  * @description 气泡确认内边距(垂直方向)
132
132
  */
133
133
  popoverConfirmPaddingY: string;
@@ -2,7 +2,7 @@
2
2
  // This file was generated automatically by a script. Please do not modify it directly.
3
3
 
4
4
  var progressTokens = {
5
- progressFontSize: '14/regular',
5
+ progressFontSize: 'Font-14',
6
6
  progressFontColor: 'Neutral-text-4',
7
7
  progressBackground: 'Neutral-fill-3',
8
8
  progressInfoFrontBackgroundColor: 'Brand-6',
@@ -10,12 +10,12 @@ var progressTokens = {
10
10
  progressSuccessFrontBackgroundColor: 'Success-6',
11
11
  progressDangerFrontBackgroundColor: 'Danger-6',
12
12
  progressLineHeight: 'Size-3',
13
- progressLineGap: 'Margin-8',
13
+ progressLineGap: 'Spacing-8',
14
14
  progressLineInnerHeight: 'Size-10',
15
- progressLineInnerGap: 'Margin-8',
16
- progressLineInnerPaddingX: 'Padding-8',
15
+ progressLineInnerGap: 'Spacing-8',
16
+ progressLineInnerPaddingX: 'Spacing-8',
17
17
  progressLineInnerFontColor: 'Neutral-text-1',
18
- progressLineInnerFontSize: '12/regular',
18
+ progressLineInnerFontSize: 'Font-12',
19
19
  progressLineInnerRightFontColor: 'Neutral-text-5',
20
20
  progressLineIconSize: 'Size-7',
21
21
  progressLineBackgroundColor: 'Neutral-fill-9',
@@ -25,7 +25,7 @@ var progressTokenDescription = {
25
25
  var progressTokenValue = {};
26
26
  var progressTokenExtraValue = {
27
27
  font: {
28
- size: '14/regular',
28
+ size: 'Font-14',
29
29
  color: 'Neutral-text-4'
30
30
  },
31
31
  background: 'Neutral-fill-3',
@@ -59,16 +59,16 @@ var progressTokenExtraValue = {
59
59
  },
60
60
  line: {
61
61
  height: 'Size-3',
62
- gap: 'Margin-8',
62
+ gap: 'Spacing-8',
63
63
  inner: {
64
64
  height: 'Size-10',
65
- gap: 'Margin-8',
65
+ gap: 'Spacing-8',
66
66
  padding: {
67
- x: 'Padding-8'
67
+ x: 'Spacing-8'
68
68
  },
69
69
  font: {
70
70
  color: 'Neutral-text-1',
71
- size: '12/regular'
71
+ size: 'Font-12'
72
72
  },
73
73
  right: {
74
74
  font: {
@@ -1,7 +1,7 @@
1
1
  export interface ProgressTokens {
2
2
  /**
3
3
  * @type {string}
4
- * @token 14/regular
4
+ * @token Font-14
5
5
  * @description 进度条字体字号
6
6
  */
7
7
  progressFontSize: string;
@@ -49,7 +49,7 @@ export interface ProgressTokens {
49
49
  progressLineHeight: string;
50
50
  /**
51
51
  * @type {string}
52
- * @token Margin-8
52
+ * @token Spacing-8
53
53
  * @description 进度条行间距
54
54
  */
55
55
  progressLineGap: string;
@@ -61,13 +61,13 @@ export interface ProgressTokens {
61
61
  progressLineInnerHeight: string;
62
62
  /**
63
63
  * @type {string}
64
- * @token Margin-8
64
+ * @token Spacing-8
65
65
  * @description 进度条行内嵌文案模式间距
66
66
  */
67
67
  progressLineInnerGap: string;
68
68
  /**
69
69
  * @type {string}
70
- * @token Padding-8
70
+ * @token Spacing-8
71
71
  * @description 进度条行内嵌文案模式内边距(水平方向)
72
72
  */
73
73
  progressLineInnerPaddingX: string;
@@ -79,7 +79,7 @@ export interface ProgressTokens {
79
79
  progressLineInnerFontColor: string;
80
80
  /**
81
81
  * @type {string}
82
- * @token 12/regular
82
+ * @token Font-12
83
83
  * @description 进度条行内嵌文案模式字体字号
84
84
  */
85
85
  progressLineInnerFontSize: string;
@@ -1 +1 @@
1
- {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["radio.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WAiClB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["radio.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WAgClB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -2,10 +2,10 @@
2
2
  // This file was generated automatically by a script. Please do not modify it directly.
3
3
 
4
4
  var radioTokens = {
5
- radioGap: 'Margin-24',
6
- radioBlockGap: 'Margin-12',
5
+ radioGap: 'Spacing-24',
6
+ radioBlockGap: 'Spacing-12',
7
7
  radioIconWidth: 'Size-7',
8
- radioIconGap: 'Margin-8',
8
+ radioIconGap: 'Spacing-8',
9
9
  radioIconBorderWidth: 'Border-2',
10
10
  radioIconInnerSize: 'Size-3',
11
11
  radioIconBackgroundColor: 'Neutral-fill-1',
@@ -20,19 +20,18 @@ var radioTokens = {
20
20
  radioIconCheckedDisabledColor: 'Brand-3',
21
21
  radioIconWrapperFill: 'Neutral-fill-2',
22
22
  radioIconWrapperDark: 'Neutral-fill-3',
23
- radioPaddingY: 'Padding-4',
23
+ radioPaddingY: 'Spacing-4',
24
24
  radioSmallIconWidth: 'Size-6',
25
25
  radioSmallIconBorderWidth: 'Border-1',
26
26
  radioSmallIconInnerSize: 'Size-3',
27
- radioSmallLabelFontSize: '12/regular',
28
- radioSmallPaddingY: 'Padding-1',
27
+ radioSmallLabelFontSize: 'Font-12',
28
+ radioSmallPaddingY: 'Spacing-1',
29
29
  radioLargeIconWidth: 'Size-8',
30
30
  radioLargeIconBorderWidth: 'Border-2',
31
- radioLargeIconInnerSize: 'Size-3.5',
32
- radioLargeLabelFontSize: '16/regular',
33
- radioLargePaddingY: 'Padding-7',
31
+ radioLargeLabelFontSize: 'Font-16',
32
+ radioLargePaddingY: 'Spacing-7',
34
33
  radioLabelFontColor: 'Neutral-text-5',
35
- radioLabelFontSize: '14/regular',
34
+ radioLabelFontSize: 'Font-14',
36
35
  radioLabelDisabledFontColor: 'Neutral-text-2'
37
36
  };
38
37
  export default radioTokens;
@@ -28,13 +28,13 @@ var radioTokenDescription = {
28
28
  */
29
29
  var radioTokenValue = {};
30
30
  var radioTokenExtraValue = {
31
- gap: 'Margin-24',
31
+ gap: 'Spacing-24',
32
32
  block: {
33
- gap: 'Margin-12'
33
+ gap: 'Spacing-12'
34
34
  },
35
35
  icon: {
36
36
  width: 'Size-7',
37
- gap: 'Margin-8',
37
+ gap: 'Spacing-8',
38
38
  border: {
39
39
  width: 'Border-2'
40
40
  },
@@ -75,7 +75,7 @@ var radioTokenExtraValue = {
75
75
  }
76
76
  },
77
77
  padding: {
78
- y: 'Padding-4'
78
+ y: 'Spacing-4'
79
79
  },
80
80
  small: {
81
81
  icon: {
@@ -90,11 +90,11 @@ var radioTokenExtraValue = {
90
90
  },
91
91
  label: {
92
92
  font: {
93
- size: '12/regular'
93
+ size: 'Font-12'
94
94
  }
95
95
  },
96
96
  padding: {
97
- y: 'Padding-1'
97
+ y: 'Spacing-1'
98
98
  }
99
99
  },
100
100
  large: {
@@ -103,24 +103,21 @@ var radioTokenExtraValue = {
103
103
  gap: '',
104
104
  border: {
105
105
  width: 'Border-2'
106
- },
107
- inner: {
108
- size: 'Size-3.5'
109
106
  }
110
107
  },
111
108
  label: {
112
109
  font: {
113
- size: '16/regular'
110
+ size: 'Font-16'
114
111
  }
115
112
  },
116
113
  padding: {
117
- y: 'Padding-7'
114
+ y: 'Spacing-7'
118
115
  }
119
116
  },
120
117
  label: {
121
118
  font: {
122
119
  color: 'Neutral-text-5',
123
- size: '14/regular'
120
+ size: 'Font-14'
124
121
  },
125
122
  disabled: {
126
123
  font: {
@@ -1,13 +1,13 @@
1
1
  export interface RadioTokens {
2
2
  /**
3
3
  * @type {string}
4
- * @token Margin-24
4
+ * @token Spacing-24
5
5
  * @description 单选框间距
6
6
  */
7
7
  radioGap: string;
8
8
  /**
9
9
  * @type {string}
10
- * @token Margin-12
10
+ * @token Spacing-12
11
11
  * @description 单选框块级间距
12
12
  */
13
13
  radioBlockGap: string;
@@ -19,7 +19,7 @@ export interface RadioTokens {
19
19
  radioIconWidth: string;
20
20
  /**
21
21
  * @type {string}
22
- * @token Margin-8
22
+ * @token Spacing-8
23
23
  * @description 单选框图标间距
24
24
  */
25
25
  radioIconGap: string;
@@ -109,7 +109,7 @@ export interface RadioTokens {
109
109
  radioIconWrapperDark: string;
110
110
  /**
111
111
  * @type {string}
112
- * @token Padding-4
112
+ * @token Spacing-4
113
113
  * @description 单选框内边距(垂直方向)
114
114
  */
115
115
  radioPaddingY: string;
@@ -133,13 +133,13 @@ export interface RadioTokens {
133
133
  radioSmallIconInnerSize: string;
134
134
  /**
135
135
  * @type {string}
136
- * @token 12/regular
136
+ * @token Font-12
137
137
  * @description 单选框小尺寸文案字体字号
138
138
  */
139
139
  radioSmallLabelFontSize: string;
140
140
  /**
141
141
  * @type {string}
142
- * @token Padding-1
142
+ * @token Spacing-1
143
143
  * @description 单选框小尺寸内边距(垂直方向)
144
144
  */
145
145
  radioSmallPaddingY: string;
@@ -157,19 +157,13 @@ export interface RadioTokens {
157
157
  radioLargeIconBorderWidth: string;
158
158
  /**
159
159
  * @type {string}
160
- * @token Size-3.5
161
- * @description 单选框大尺寸图标内嵌字号
162
- */
163
- radioLargeIconInnerSize: string;
164
- /**
165
- * @type {string}
166
- * @token 16/regular
160
+ * @token Font-16
167
161
  * @description 单选框大尺寸文案字体字号
168
162
  */
169
163
  radioLargeLabelFontSize: string;
170
164
  /**
171
165
  * @type {string}
172
- * @token Padding-7
166
+ * @token Spacing-7
173
167
  * @description 单选框大尺寸内边距(垂直方向)
174
168
  */
175
169
  radioLargePaddingY: string;
@@ -181,7 +175,7 @@ export interface RadioTokens {
181
175
  radioLabelFontColor: string;
182
176
  /**
183
177
  * @type {string}
184
- * @token 14/regular
178
+ * @token Font-14
185
179
  * @description 单选框文案字体字号
186
180
  */
187
181
  radioLabelFontSize: string;
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,QAAQ,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;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;CACrC"}
package/esm/rate/rate.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  var rateTokens = {
5
5
  rateFontColor: 'Neutral-text-5',
6
- rateFontSize: '14/regular',
6
+ rateFontSize: 'Font-14',
7
7
  rateGap: 'Size-3',
8
8
  rateSize: 'Size-12',
9
9
  rateBackgroundColor: 'Neutral-fill-3',
package/esm/rate/token.js CHANGED
@@ -23,7 +23,7 @@ var rateTokenValue = {};
23
23
  var rateTokenExtraValue = {
24
24
  font: {
25
25
  color: 'Neutral-text-5',
26
- size: '14/regular'
26
+ size: 'Font-14'
27
27
  },
28
28
  gap: 'Size-3',
29
29
  size: 'Size-12',