@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
@@ -10,31 +10,31 @@ exports.default = void 0;
10
10
  var modalTokens = {
11
11
  modalMaskBackground: 'rgba(2, 11, 24, 0.3)',
12
12
  modalMaskLightBackground: 'rgba(2, 11, 24, 0.01)',
13
- modalPanelPaddingY: 'Padding-24',
14
- modalPanelPaddingX: 'Padding-24',
13
+ modalPanelPaddingY: 'Spacing-24',
14
+ modalPanelPaddingX: 'Spacing-24',
15
15
  modalPanelBackground: 'Neutral-fill-1',
16
16
  modalPanelShadow: 'Shadow-3',
17
17
  modalPanelBorder: 'Neutral-border-1',
18
- modalPanelGap: 'Padding-16',
18
+ modalPanelGap: 'Spacing-16',
19
19
  modalPanelRadius: 'Radius-4',
20
- modalPanelFontSize: '14/regular',
21
- modalHeaderIconMarginEnd: 'Margin-8',
20
+ modalPanelFontSize: 'Font-14',
21
+ modalHeaderIconMarginEnd: 'Spacing-8',
22
22
  modalHeaderIconMarginTop: 'Size-2',
23
23
  modalHeaderIconSize: 'Size-8',
24
- modalHeaderCloseMarginXStart: 'Margin-16',
24
+ modalHeaderCloseMarginXStart: 'Spacing-16',
25
25
  modalHeaderCloseSize: 'Size-8',
26
26
  modalHeaderCloseTop: 'Size-2',
27
27
  modalHeaderCloseColor: 'Neutral-text-4',
28
28
  modalHeaderCloseBackgroundColor: 'Neutral-fill-2',
29
- modalHeaderFontSize: '16/regular',
30
- modalDrawerTitlePaddingY: 'Padding-12',
31
- modalDrawerTitlePaddingX: 'Padding-16',
29
+ modalHeaderFontSize: 'Font-16',
30
+ modalDrawerTitlePaddingY: 'Spacing-12',
31
+ modalDrawerTitlePaddingX: 'Spacing-16',
32
32
  modalDrawerTitleBackgroundColor: 'Neutral-fill-2',
33
- modalDrawerBodyPaddingY: 'Padding-16',
34
- modalDrawerBodyPaddingX: 'Padding-16',
35
- modalDrawerFooterPaddingY: 'Padding-16',
36
- modalDrawerFooterPaddingX: 'Padding-16',
33
+ modalDrawerBodyPaddingY: 'Spacing-16',
34
+ modalDrawerBodyPaddingX: 'Spacing-16',
35
+ modalDrawerFooterPaddingY: 'Spacing-16',
36
+ modalDrawerFooterPaddingX: 'Spacing-16',
37
37
  modalDrawerCloseBackgroundColor: 'Neutral-fill-3',
38
- modalFontSize: '14/regular'
38
+ modalFontSize: 'Font-14'
39
39
  };
40
40
  var _default = exports.default = modalTokens;
@@ -35,7 +35,7 @@ var modalTokenDescription = {
35
35
  */
36
36
  var modalTokenValue = {
37
37
  font: {
38
- size: '14/regular'
38
+ size: 'Font-14'
39
39
  }
40
40
  };
41
41
  var modalTokenExtraValue = {
@@ -47,22 +47,22 @@ var modalTokenExtraValue = {
47
47
  },
48
48
  panel: {
49
49
  padding: {
50
- y: 'Padding-24',
51
- x: 'Padding-24'
50
+ y: 'Spacing-24',
51
+ x: 'Spacing-24'
52
52
  },
53
53
  background: 'Neutral-fill-1',
54
54
  shadow: 'Shadow-3',
55
55
  border: 'Neutral-border-1',
56
- gap: 'Padding-16',
56
+ gap: 'Spacing-16',
57
57
  radius: 'Radius-4',
58
58
  font: {
59
- size: '14/regular'
59
+ size: 'Font-14'
60
60
  }
61
61
  },
62
62
  header: {
63
63
  icon: {
64
64
  margin: {
65
- end: 'Margin-8',
65
+ end: 'Spacing-8',
66
66
  top: 'Size-2'
67
67
  },
68
68
  size: 'Size-8'
@@ -70,7 +70,7 @@ var modalTokenExtraValue = {
70
70
  close: {
71
71
  margin: {
72
72
  x: {
73
- start: 'Margin-16'
73
+ start: 'Spacing-16'
74
74
  }
75
75
  },
76
76
  size: 'Size-8',
@@ -81,14 +81,14 @@ var modalTokenExtraValue = {
81
81
  }
82
82
  },
83
83
  font: {
84
- size: '16/regular'
84
+ size: 'Font-16'
85
85
  }
86
86
  },
87
87
  drawer: {
88
88
  title: {
89
89
  padding: {
90
- y: 'Padding-12',
91
- x: 'Padding-16'
90
+ y: 'Spacing-12',
91
+ x: 'Spacing-16'
92
92
  },
93
93
  background: {
94
94
  color: 'Neutral-fill-2'
@@ -96,14 +96,14 @@ var modalTokenExtraValue = {
96
96
  },
97
97
  body: {
98
98
  padding: {
99
- y: 'Padding-16',
100
- x: 'Padding-16'
99
+ y: 'Spacing-16',
100
+ x: 'Spacing-16'
101
101
  }
102
102
  },
103
103
  footer: {
104
104
  padding: {
105
- y: 'Padding-16',
106
- x: 'Padding-16'
105
+ y: 'Spacing-16',
106
+ x: 'Spacing-16'
107
107
  }
108
108
  },
109
109
  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;
@@ -8,10 +8,10 @@ exports.default = void 0;
8
8
  // This file was generated automatically by a script. Please do not modify it directly.
9
9
 
10
10
  var paginationTokens = {
11
- paginationFontSize: '14/regular',
12
- paginationSmallFontSize: '12/regular',
13
- paginationLargeFontSize: '16/regular',
11
+ paginationFontSize: 'Font-14',
12
+ paginationSmallFontSize: 'Font-12',
13
+ paginationLargeFontSize: 'Font-16',
14
14
  paginationFontColor: 'Neutral-text-5',
15
- paginationNearlyMargin: 'Margin-8'
15
+ paginationNearlyMargin: 'Spacing-8'
16
16
  };
17
17
  var _default = exports.default = paginationTokens;
@@ -22,21 +22,21 @@ var paginationTokenDescription = {
22
22
  */
23
23
  var paginationTokenValue = {
24
24
  font: {
25
- size: '14/regular',
25
+ size: 'Font-14',
26
26
  color: 'Neutral-text-5'
27
27
  },
28
28
  small: {
29
29
  font: {
30
- size: '12/regular'
30
+ size: 'Font-12'
31
31
  }
32
32
  },
33
33
  large: {
34
34
  font: {
35
- size: '16/regular'
35
+ size: 'Font-16'
36
36
  }
37
37
  },
38
38
  nearly: {
39
- margin: 'Margin-8'
39
+ margin: 'Spacing-8'
40
40
  }
41
41
  };
42
42
  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;
@@ -8,9 +8,9 @@ exports.default = void 0;
8
8
  // This file was generated automatically by a script. Please do not modify it directly.
9
9
 
10
10
  var popoverTokens = {
11
- popoverFontSize: '14/regular',
12
- popoverPaddingX: 'Padding-8',
13
- popoverPaddingY: 'Padding-8',
11
+ popoverFontSize: 'Font-14',
12
+ popoverPaddingX: 'Spacing-8',
13
+ popoverPaddingY: 'Spacing-8',
14
14
  popoverRadius: 'Radius-4',
15
15
  popoverBorderWidth: 'Border-1',
16
16
  popoverFontColor: 'Neutral-text-5',
@@ -28,8 +28,8 @@ var popoverTokens = {
28
28
  popoverErrorFontColor: 'Danger-7',
29
29
  popoverErrorBackgroundColor: 'Danger-1',
30
30
  popoverErrorBorderColor: 'Danger-1',
31
- popoverConfirmPaddingX: 'Padding-16',
32
- popoverConfirmPaddingY: 'Padding-16',
31
+ popoverConfirmPaddingX: 'Spacing-16',
32
+ popoverConfirmPaddingY: 'Spacing-16',
33
33
  popoverConfirmBackgroundColor: 'transparent'
34
34
  };
35
35
  var _default = exports.default = popoverTokens;
@@ -26,12 +26,12 @@ var popoverTokenDescription = {
26
26
  */
27
27
  var popoverTokenValue = {
28
28
  font: {
29
- size: '14/regular',
29
+ size: 'Font-14',
30
30
  color: 'Neutral-text-5'
31
31
  },
32
32
  padding: {
33
- x: 'Padding-8',
34
- y: 'Padding-8'
33
+ x: 'Spacing-8',
34
+ y: 'Spacing-8'
35
35
  },
36
36
  radius: 'Radius-4',
37
37
  border: {
@@ -107,8 +107,8 @@ var popoverTokenValue = {
107
107
  size: ''
108
108
  },
109
109
  padding: {
110
- x: 'Padding-16',
111
- y: 'Padding-16'
110
+ x: 'Spacing-16',
111
+ y: 'Spacing-16'
112
112
  },
113
113
  background: {
114
114
  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;
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  // This file was generated automatically by a script. Please do not modify it directly.
9
9
 
10
10
  var progressTokens = {
11
- progressFontSize: '14/regular',
11
+ progressFontSize: 'Font-14',
12
12
  progressFontColor: 'Neutral-text-4',
13
13
  progressBackground: 'Neutral-fill-3',
14
14
  progressInfoFrontBackgroundColor: 'Brand-6',
@@ -16,12 +16,12 @@ var progressTokens = {
16
16
  progressSuccessFrontBackgroundColor: 'Success-6',
17
17
  progressDangerFrontBackgroundColor: 'Danger-6',
18
18
  progressLineHeight: 'Size-3',
19
- progressLineGap: 'Margin-8',
19
+ progressLineGap: 'Spacing-8',
20
20
  progressLineInnerHeight: 'Size-10',
21
- progressLineInnerGap: 'Margin-8',
22
- progressLineInnerPaddingX: 'Padding-8',
21
+ progressLineInnerGap: 'Spacing-8',
22
+ progressLineInnerPaddingX: 'Spacing-8',
23
23
  progressLineInnerFontColor: 'Neutral-text-1',
24
- progressLineInnerFontSize: '12/regular',
24
+ progressLineInnerFontSize: 'Font-12',
25
25
  progressLineInnerRightFontColor: 'Neutral-text-5',
26
26
  progressLineIconSize: 'Size-7',
27
27
  progressLineBackgroundColor: 'Neutral-fill-9',
@@ -27,7 +27,7 @@ var progressTokenDescription = {
27
27
  var progressTokenValue = {};
28
28
  var progressTokenExtraValue = {
29
29
  font: {
30
- size: '14/regular',
30
+ size: 'Font-14',
31
31
  color: 'Neutral-text-4'
32
32
  },
33
33
  background: 'Neutral-fill-3',
@@ -61,16 +61,16 @@ var progressTokenExtraValue = {
61
61
  },
62
62
  line: {
63
63
  height: 'Size-3',
64
- gap: 'Margin-8',
64
+ gap: 'Spacing-8',
65
65
  inner: {
66
66
  height: 'Size-10',
67
- gap: 'Margin-8',
67
+ gap: 'Spacing-8',
68
68
  padding: {
69
- x: 'Padding-8'
69
+ x: 'Spacing-8'
70
70
  },
71
71
  font: {
72
72
  color: 'Neutral-text-1',
73
- size: '12/regular'
73
+ size: 'Font-12'
74
74
  },
75
75
  right: {
76
76
  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"}
@@ -8,10 +8,10 @@ exports.default = void 0;
8
8
  // This file was generated automatically by a script. Please do not modify it directly.
9
9
 
10
10
  var radioTokens = {
11
- radioGap: 'Margin-24',
12
- radioBlockGap: 'Margin-12',
11
+ radioGap: 'Spacing-24',
12
+ radioBlockGap: 'Spacing-12',
13
13
  radioIconWidth: 'Size-7',
14
- radioIconGap: 'Margin-8',
14
+ radioIconGap: 'Spacing-8',
15
15
  radioIconBorderWidth: 'Border-2',
16
16
  radioIconInnerSize: 'Size-3',
17
17
  radioIconBackgroundColor: 'Neutral-fill-1',
@@ -26,19 +26,18 @@ var radioTokens = {
26
26
  radioIconCheckedDisabledColor: 'Brand-3',
27
27
  radioIconWrapperFill: 'Neutral-fill-2',
28
28
  radioIconWrapperDark: 'Neutral-fill-3',
29
- radioPaddingY: 'Padding-4',
29
+ radioPaddingY: 'Spacing-4',
30
30
  radioSmallIconWidth: 'Size-6',
31
31
  radioSmallIconBorderWidth: 'Border-1',
32
32
  radioSmallIconInnerSize: 'Size-3',
33
- radioSmallLabelFontSize: '12/regular',
34
- radioSmallPaddingY: 'Padding-1',
33
+ radioSmallLabelFontSize: 'Font-12',
34
+ radioSmallPaddingY: 'Spacing-1',
35
35
  radioLargeIconWidth: 'Size-8',
36
36
  radioLargeIconBorderWidth: 'Border-2',
37
- radioLargeIconInnerSize: 'Size-3.5',
38
- radioLargeLabelFontSize: '16/regular',
39
- radioLargePaddingY: 'Padding-7',
37
+ radioLargeLabelFontSize: 'Font-16',
38
+ radioLargePaddingY: 'Spacing-7',
40
39
  radioLabelFontColor: 'Neutral-text-5',
41
- radioLabelFontSize: '14/regular',
40
+ radioLabelFontSize: 'Font-14',
42
41
  radioLabelDisabledFontColor: 'Neutral-text-2'
43
42
  };
44
43
  var _default = exports.default = radioTokens;
@@ -30,13 +30,13 @@ var radioTokenDescription = {
30
30
  */
31
31
  var radioTokenValue = {};
32
32
  var radioTokenExtraValue = {
33
- gap: 'Margin-24',
33
+ gap: 'Spacing-24',
34
34
  block: {
35
- gap: 'Margin-12'
35
+ gap: 'Spacing-12'
36
36
  },
37
37
  icon: {
38
38
  width: 'Size-7',
39
- gap: 'Margin-8',
39
+ gap: 'Spacing-8',
40
40
  border: {
41
41
  width: 'Border-2'
42
42
  },
@@ -77,7 +77,7 @@ var radioTokenExtraValue = {
77
77
  }
78
78
  },
79
79
  padding: {
80
- y: 'Padding-4'
80
+ y: 'Spacing-4'
81
81
  },
82
82
  small: {
83
83
  icon: {
@@ -92,11 +92,11 @@ var radioTokenExtraValue = {
92
92
  },
93
93
  label: {
94
94
  font: {
95
- size: '12/regular'
95
+ size: 'Font-12'
96
96
  }
97
97
  },
98
98
  padding: {
99
- y: 'Padding-1'
99
+ y: 'Spacing-1'
100
100
  }
101
101
  },
102
102
  large: {
@@ -105,24 +105,21 @@ var radioTokenExtraValue = {
105
105
  gap: '',
106
106
  border: {
107
107
  width: 'Border-2'
108
- },
109
- inner: {
110
- size: 'Size-3.5'
111
108
  }
112
109
  },
113
110
  label: {
114
111
  font: {
115
- size: '16/regular'
112
+ size: 'Font-16'
116
113
  }
117
114
  },
118
115
  padding: {
119
- y: 'Padding-7'
116
+ y: 'Spacing-7'
120
117
  }
121
118
  },
122
119
  label: {
123
120
  font: {
124
121
  color: 'Neutral-text-5',
125
- size: '14/regular'
122
+ size: 'Font-14'
126
123
  },
127
124
  disabled: {
128
125
  font: {