@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
@@ -73,19 +73,19 @@ export interface TabsTokens {
73
73
  tabsClickBackgroundColor: string;
74
74
  /**
75
75
  * @type {string}
76
- * @token Padding-15
76
+ * @token Spacing-15
77
77
  * @description 标签页页签内边距(水平方向)
78
78
  */
79
79
  tabsTabPaddingX: string;
80
80
  /**
81
81
  * @type {string}
82
- * @token Padding-9
82
+ * @token Spacing-9
83
83
  * @description 标签页页签内边距(垂直方向)
84
84
  */
85
85
  tabsTabPaddingY: string;
86
86
  /**
87
87
  * @type {string}
88
- * @token 14/regular
88
+ * @token Font-14
89
89
  * @description 标签页页签字体字号
90
90
  */
91
91
  tabsTabFontSize: string;
@@ -97,55 +97,55 @@ export interface TabsTokens {
97
97
  tabsTabBorderRadius: string;
98
98
  /**
99
99
  * @type {string}
100
- * @token Margin-4
100
+ * @token Spacing-4
101
101
  * @description 标签页相邻之间的外边距
102
102
  */
103
103
  tabsNearlyMargin: string;
104
104
  /**
105
105
  * @type {string}
106
- * @token Padding-8
106
+ * @token Spacing-8
107
107
  * @description 标签页下划模式内边距(水平方向)
108
108
  */
109
109
  tabsLinePaddingX: string;
110
110
  /**
111
111
  * @type {string}
112
- * @token Padding-6
112
+ * @token Spacing-6
113
113
  * @description 标签页下划模式内边距(垂直方向)
114
114
  */
115
115
  tabsLinePaddingY: string;
116
116
  /**
117
117
  * @type {string}
118
- * @token Padding-8
118
+ * @token Spacing-8
119
119
  * @description 标签页下划模式内部容器的内边距(水平方向)
120
120
  */
121
121
  tabsLineInnerPaddingX: string;
122
122
  /**
123
123
  * @type {string}
124
- * @token Padding-4
124
+ * @token Spacing-4
125
125
  * @description 标签页下划模式内部容器的内边距(垂直方向)
126
126
  */
127
127
  tabsLineInnerPaddingY: string;
128
128
  /**
129
129
  * @type {string}
130
- * @token Padding-4
130
+ * @token Spacing-4
131
131
  * @description 标签页填充模式内边距(水平方向)
132
132
  */
133
133
  tabsFillPaddingX: string;
134
134
  /**
135
135
  * @type {string}
136
- * @token Padding-4
136
+ * @token Spacing-4
137
137
  * @description 标签页填充模式内边距(垂直方向)
138
138
  */
139
139
  tabsFillPaddingY: string;
140
140
  /**
141
141
  * @type {string}
142
- * @token Padding-16
142
+ * @token Spacing-16
143
143
  * @description 标签页填充模式内部容器的内边距(水平方向)
144
144
  */
145
145
  tabsFillInnerPaddingX: string;
146
146
  /**
147
147
  * @type {string}
148
- * @token Padding-5
148
+ * @token Spacing-5
149
149
  * @description 标签页填充模式内部容器的内边距(垂直方向)
150
150
  */
151
151
  tabsFillInnerPaddingY: string;
@@ -157,25 +157,25 @@ export interface TabsTokens {
157
157
  tabsSplitBorderColor: string;
158
158
  /**
159
159
  * @type {string}
160
- * @token Padding-7
160
+ * @token Spacing-7
161
161
  * @description 标签页操作按钮垂直模式内边距(水平方向)
162
162
  */
163
163
  tabsActionVerticalPaddingX: string;
164
164
  /**
165
165
  * @type {string}
166
- * @token Padding-4
166
+ * @token Spacing-4
167
167
  * @description 标签页操作按钮垂直模式内边距(垂直方向)
168
168
  */
169
169
  tabsActionVerticalPaddingY: string;
170
170
  /**
171
171
  * @type {string}
172
- * @token Padding-7
172
+ * @token Spacing-7
173
173
  * @description 标签页操作按钮水平模式内边距(水平方向)
174
174
  */
175
175
  tabsActionHorizontalPaddingX: string;
176
176
  /**
177
177
  * @type {string}
178
- * @token Padding-8
178
+ * @token Spacing-8
179
179
  * @description 标签页操作按钮水平模式内边距(垂直方向)
180
180
  */
181
181
  tabsActionHorizontalPaddingY: string;
package/cjs/tag/tag.js CHANGED
@@ -242,26 +242,26 @@ var tagTokens = {
242
242
  tagTangerineFillDisabledFontColor: 'Neutral-text-1',
243
243
  tagTangerineFillDisabledBackgroundColor: 'Tangerine-3',
244
244
  tagTangerineFillDisabledBorderColor: 'Tangerine-3',
245
- tagFontSize: '12/regular',
245
+ tagFontSize: 'Font-12',
246
246
  tagBorderRadius: 'Radius-3',
247
- tagPaddingX: 'Padding-6',
248
- tagPaddingY: 'Padding-2',
247
+ tagPaddingX: 'Spacing-6',
248
+ tagPaddingY: 'Spacing-2',
249
249
  tagHeight: 'Size-11',
250
- tagSmallFontSize: '12/regular',
250
+ tagSmallFontSize: 'Font-12',
251
251
  tagSmallBorderRadius: 'Radius-2',
252
- tagSmallPaddingX: 'Padding-4',
252
+ tagSmallPaddingX: 'Spacing-4',
253
253
  tagSmallHeight: 'Size-10',
254
- tagLargeFontSize: '14/regular',
254
+ tagLargeFontSize: 'Font-14',
255
255
  tagLargeBorderRadius: 'Radius-4',
256
- tagLargePaddingX: 'Padding-12',
257
- tagLargePaddingY: 'Padding-2',
256
+ tagLargePaddingX: 'Spacing-12',
257
+ tagLargePaddingY: 'Spacing-2',
258
258
  tagLargeHeight: 'Size-14',
259
- tagInputPaddingX: 'Padding-4',
260
- tagInputFontSize: '12/regular',
261
- tagSmallInputPaddingX: 'Padding-4',
262
- tagSmallInputFontSize: '12/regular',
263
- tagLargeInputPaddingX: 'Padding-4',
264
- tagLargeInputFontSize: '14/regular',
259
+ tagInputPaddingX: 'Spacing-4',
260
+ tagInputFontSize: 'Font-12',
261
+ tagSmallInputPaddingX: 'Spacing-4',
262
+ tagSmallInputFontSize: 'Font-12',
263
+ tagLargeInputPaddingX: 'Spacing-4',
264
+ tagLargeInputFontSize: 'Font-14',
265
265
  tagInfoIconFontColor: 'Brand-6',
266
266
  tagInfoIconDisabledFontColor: 'Brand-3',
267
267
  tagInfoIconHoverBackgroundColor: 'Brand-2',
package/cjs/tag/token.js CHANGED
@@ -1855,67 +1855,67 @@ var tagTokenValue = {
1855
1855
  }
1856
1856
  },
1857
1857
  font: {
1858
- size: '12/regular'
1858
+ size: 'Font-12'
1859
1859
  },
1860
1860
  border: {
1861
1861
  radius: 'Radius-3'
1862
1862
  },
1863
1863
  padding: {
1864
- x: 'Padding-6',
1865
- y: 'Padding-2'
1864
+ x: 'Spacing-6',
1865
+ y: 'Spacing-2'
1866
1866
  },
1867
1867
  height: 'Size-11',
1868
1868
  small: {
1869
1869
  font: {
1870
- size: '12/regular'
1870
+ size: 'Font-12'
1871
1871
  },
1872
1872
  border: {
1873
1873
  radius: 'Radius-2'
1874
1874
  },
1875
1875
  padding: {
1876
- x: 'Padding-4',
1876
+ x: 'Spacing-4',
1877
1877
  y: ''
1878
1878
  },
1879
1879
  height: 'Size-10',
1880
1880
  input: {
1881
1881
  padding: {
1882
- x: 'Padding-4',
1882
+ x: 'Spacing-4',
1883
1883
  y: ''
1884
1884
  },
1885
1885
  font: {
1886
- size: '12/regular'
1886
+ size: 'Font-12'
1887
1887
  }
1888
1888
  }
1889
1889
  },
1890
1890
  large: {
1891
1891
  font: {
1892
- size: '14/regular'
1892
+ size: 'Font-14'
1893
1893
  },
1894
1894
  border: {
1895
1895
  radius: 'Radius-4'
1896
1896
  },
1897
1897
  padding: {
1898
- x: 'Padding-12',
1899
- y: 'Padding-2'
1898
+ x: 'Spacing-12',
1899
+ y: 'Spacing-2'
1900
1900
  },
1901
1901
  height: 'Size-14',
1902
1902
  input: {
1903
1903
  padding: {
1904
- x: 'Padding-4',
1904
+ x: 'Spacing-4',
1905
1905
  y: ''
1906
1906
  },
1907
1907
  font: {
1908
- size: '14/regular'
1908
+ size: 'Font-14'
1909
1909
  }
1910
1910
  }
1911
1911
  },
1912
1912
  input: {
1913
1913
  padding: {
1914
- x: 'Padding-4',
1914
+ x: 'Spacing-4',
1915
1915
  y: ''
1916
1916
  },
1917
1917
  font: {
1918
- size: '12/regular'
1918
+ size: 'Font-12'
1919
1919
  }
1920
1920
  }
1921
1921
  };
package/cjs/tag/type.d.ts CHANGED
@@ -1405,7 +1405,7 @@ export interface TagTokens {
1405
1405
  tagTangerineFillDisabledBorderColor: string;
1406
1406
  /**
1407
1407
  * @type {string}
1408
- * @token 12/regular
1408
+ * @token Font-12
1409
1409
  * @description 标签字体字号
1410
1410
  */
1411
1411
  tagFontSize: string;
@@ -1417,13 +1417,13 @@ export interface TagTokens {
1417
1417
  tagBorderRadius: string;
1418
1418
  /**
1419
1419
  * @type {string}
1420
- * @token Padding-6
1420
+ * @token Spacing-6
1421
1421
  * @description 标签内边距(水平方向)
1422
1422
  */
1423
1423
  tagPaddingX: string;
1424
1424
  /**
1425
1425
  * @type {string}
1426
- * @token Padding-2
1426
+ * @token Spacing-2
1427
1427
  * @description 标签内边距(垂直方向)
1428
1428
  */
1429
1429
  tagPaddingY: string;
@@ -1435,7 +1435,7 @@ export interface TagTokens {
1435
1435
  tagHeight: string;
1436
1436
  /**
1437
1437
  * @type {string}
1438
- * @token 12/regular
1438
+ * @token Font-12
1439
1439
  * @description 标签小尺寸字体字号
1440
1440
  */
1441
1441
  tagSmallFontSize: string;
@@ -1447,7 +1447,7 @@ export interface TagTokens {
1447
1447
  tagSmallBorderRadius: string;
1448
1448
  /**
1449
1449
  * @type {string}
1450
- * @token Padding-4
1450
+ * @token Spacing-4
1451
1451
  * @description 标签小尺寸内边距(水平方向)
1452
1452
  */
1453
1453
  tagSmallPaddingX: string;
@@ -1459,7 +1459,7 @@ export interface TagTokens {
1459
1459
  tagSmallHeight: string;
1460
1460
  /**
1461
1461
  * @type {string}
1462
- * @token 14/regular
1462
+ * @token Font-14
1463
1463
  * @description 标签大尺寸字体字号
1464
1464
  */
1465
1465
  tagLargeFontSize: string;
@@ -1471,13 +1471,13 @@ export interface TagTokens {
1471
1471
  tagLargeBorderRadius: string;
1472
1472
  /**
1473
1473
  * @type {string}
1474
- * @token Padding-12
1474
+ * @token Spacing-12
1475
1475
  * @description 标签大尺寸内边距(水平方向)
1476
1476
  */
1477
1477
  tagLargePaddingX: string;
1478
1478
  /**
1479
1479
  * @type {string}
1480
- * @token Padding-2
1480
+ * @token Spacing-2
1481
1481
  * @description 标签大尺寸内边距(垂直方向)
1482
1482
  */
1483
1483
  tagLargePaddingY: string;
@@ -1489,37 +1489,37 @@ export interface TagTokens {
1489
1489
  tagLargeHeight: string;
1490
1490
  /**
1491
1491
  * @type {string}
1492
- * @token Padding-4
1492
+ * @token Spacing-4
1493
1493
  * @description 标签输入框内边距(水平方向)
1494
1494
  */
1495
1495
  tagInputPaddingX: string;
1496
1496
  /**
1497
1497
  * @type {string}
1498
- * @token 12/regular
1498
+ * @token Font-12
1499
1499
  * @description 标签输入框字体字号
1500
1500
  */
1501
1501
  tagInputFontSize: string;
1502
1502
  /**
1503
1503
  * @type {string}
1504
- * @token Padding-4
1504
+ * @token Spacing-4
1505
1505
  * @description 标签小尺寸输入框内边距(水平方向)
1506
1506
  */
1507
1507
  tagSmallInputPaddingX: string;
1508
1508
  /**
1509
1509
  * @type {string}
1510
- * @token 12/regular
1510
+ * @token Font-12
1511
1511
  * @description 标签小尺寸输入框字体字号
1512
1512
  */
1513
1513
  tagSmallInputFontSize: string;
1514
1514
  /**
1515
1515
  * @type {string}
1516
- * @token Padding-4
1516
+ * @token Spacing-4
1517
1517
  * @description 标签大尺寸输入框内边距(水平方向)
1518
1518
  */
1519
1519
  tagLargeInputPaddingX: string;
1520
1520
  /**
1521
1521
  * @type {string}
1522
- * @token 14/regular
1522
+ * @token Font-14
1523
1523
  * @description 标签大尺寸输入框字体字号
1524
1524
  */
1525
1525
  tagLargeInputFontSize: string;
@@ -8,16 +8,16 @@ 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 textareaTokens = {
11
- textareaFontSize: '14/regular',
11
+ textareaFontSize: 'Font-14',
12
12
  textareaBorderRadius: 'Radius-4',
13
- textareaPaddingX: 'Padding-8',
14
- textareaPaddingY: 'Padding-4',
15
- textareaSmallFontSize: '12/regular',
16
- textareaSmallPaddingX: 'Padding-8',
17
- textareaSmallPaddingY: 'Padding-1',
18
- textareaLargeFontSize: '16/regular',
19
- textareaLargePaddingX: 'Padding-12',
20
- textareaLargePaddingY: 'Padding-7',
13
+ textareaPaddingX: 'Spacing-8',
14
+ textareaPaddingY: 'Spacing-4',
15
+ textareaSmallFontSize: 'Font-12',
16
+ textareaSmallPaddingX: 'Spacing-8',
17
+ textareaSmallPaddingY: 'Spacing-1',
18
+ textareaLargeFontSize: 'Font-16',
19
+ textareaLargePaddingX: 'Spacing-12',
20
+ textareaLargePaddingY: 'Spacing-7',
21
21
  textareaFontColor: 'Neutral-text-5',
22
22
  textareaPlaceholderColor: 'Neutral-text-2',
23
23
  textareaBorderColor: 'Neutral-border-2',
@@ -24,7 +24,7 @@ var textareaTokenDescription = {
24
24
  */
25
25
  var textareaTokenValue = {
26
26
  font: {
27
- size: '14/regular',
27
+ size: 'Font-14',
28
28
  color: 'Neutral-text-5'
29
29
  },
30
30
  border: {
@@ -32,31 +32,31 @@ var textareaTokenValue = {
32
32
  color: 'Neutral-border-2'
33
33
  },
34
34
  padding: {
35
- x: 'Padding-8',
36
- y: 'Padding-4'
35
+ x: 'Spacing-8',
36
+ y: 'Spacing-4'
37
37
  },
38
38
  small: {
39
39
  font: {
40
- size: '12/regular'
40
+ size: 'Font-12'
41
41
  },
42
42
  border: {
43
43
  radius: ''
44
44
  },
45
45
  padding: {
46
- x: 'Padding-8',
47
- y: 'Padding-1'
46
+ x: 'Spacing-8',
47
+ y: 'Spacing-1'
48
48
  }
49
49
  },
50
50
  large: {
51
51
  font: {
52
- size: '16/regular'
52
+ size: 'Font-16'
53
53
  },
54
54
  border: {
55
55
  radius: ''
56
56
  },
57
57
  padding: {
58
- x: 'Padding-12',
59
- y: 'Padding-7'
58
+ x: 'Spacing-12',
59
+ y: 'Spacing-7'
60
60
  }
61
61
  },
62
62
  placeholder: {
@@ -1,7 +1,7 @@
1
1
  export interface TextareaTokens {
2
2
  /**
3
3
  * @type {string}
4
- * @token 14/regular
4
+ * @token Font-14
5
5
  * @description 多行文本框字体字号
6
6
  */
7
7
  textareaFontSize: string;
@@ -13,49 +13,49 @@ export interface TextareaTokens {
13
13
  textareaBorderRadius: string;
14
14
  /**
15
15
  * @type {string}
16
- * @token Padding-8
16
+ * @token Spacing-8
17
17
  * @description 多行文本框内边距(水平方向)
18
18
  */
19
19
  textareaPaddingX: string;
20
20
  /**
21
21
  * @type {string}
22
- * @token Padding-4
22
+ * @token Spacing-4
23
23
  * @description 多行文本框内边距(垂直方向)
24
24
  */
25
25
  textareaPaddingY: string;
26
26
  /**
27
27
  * @type {string}
28
- * @token 12/regular
28
+ * @token Font-12
29
29
  * @description 多行文本框小尺寸字体字号
30
30
  */
31
31
  textareaSmallFontSize: string;
32
32
  /**
33
33
  * @type {string}
34
- * @token Padding-8
34
+ * @token Spacing-8
35
35
  * @description 多行文本框小尺寸内边距(水平方向)
36
36
  */
37
37
  textareaSmallPaddingX: string;
38
38
  /**
39
39
  * @type {string}
40
- * @token Padding-1
40
+ * @token Spacing-1
41
41
  * @description 多行文本框小尺寸内边距(垂直方向)
42
42
  */
43
43
  textareaSmallPaddingY: string;
44
44
  /**
45
45
  * @type {string}
46
- * @token 16/regular
46
+ * @token Font-16
47
47
  * @description 多行文本框大尺寸字体字号
48
48
  */
49
49
  textareaLargeFontSize: string;
50
50
  /**
51
51
  * @type {string}
52
- * @token Padding-12
52
+ * @token Spacing-12
53
53
  * @description 多行文本框大尺寸内边距(水平方向)
54
54
  */
55
55
  textareaLargePaddingX: string;
56
56
  /**
57
57
  * @type {string}
58
- * @token Padding-7
58
+ * @token Spacing-7
59
59
  * @description 多行文本框大尺寸内边距(垂直方向)
60
60
  */
61
61
  textareaLargePaddingY: string;
@@ -876,102 +876,6 @@ var figma = [{
876
876
  value: '#FFFFFF',
877
877
  describe: '白色背景',
878
878
  locked: false
879
- }, {
880
- name: '12/regular',
881
- token: '12/regular',
882
- value: '12px',
883
- describe: '提示、标签、辅助文案',
884
- locked: true
885
- }, {
886
- name: '12',
887
- token: 'medium',
888
- value: '12px',
889
- describe: '提示、标签、辅助文案',
890
- locked: true
891
- }, {
892
- name: '14/regular',
893
- token: '14/regular',
894
- value: '14px',
895
- describe: '正文内容',
896
- locked: true
897
- }, {
898
- name: '14/medium',
899
- token: '14/medium',
900
- value: '14px',
901
- describe: '正文内容突出显示',
902
- locked: true
903
- }, {
904
- name: '16/regular',
905
- token: '16/regular',
906
- value: '16px',
907
- describe: '标题-小',
908
- locked: true
909
- }, {
910
- name: '16/medium',
911
- token: '16/medium',
912
- value: '16px',
913
- describe: '标题-小',
914
- locked: true
915
- }, {
916
- name: '18/regular',
917
- token: '18/regular',
918
- value: '18px',
919
- describe: '标题-中',
920
- locked: true
921
- }, {
922
- name: '18/medium',
923
- token: '18/medium',
924
- value: '18px',
925
- describe: '标题-中',
926
- locked: true
927
- }, {
928
- name: '24/regular',
929
- token: '24/regular',
930
- value: '24px',
931
- describe: '标题-大',
932
- locked: true
933
- }, {
934
- name: '24/medium',
935
- token: '24/medium',
936
- value: '24px',
937
- describe: '标题-大',
938
- locked: true
939
- }, {
940
- name: '32/regular',
941
- token: '32/regular',
942
- value: '32px',
943
- describe: '运营数据-小',
944
- locked: true
945
- }, {
946
- name: '32/medium',
947
- token: '32/medium',
948
- value: '32px',
949
- describe: '运营数据-小',
950
- locked: true
951
- }, {
952
- name: '36/regular',
953
- token: '36/regular',
954
- value: '36px',
955
- describe: '运营数据-中',
956
- locked: true
957
- }, {
958
- name: '36/medium',
959
- token: '36/medium',
960
- value: '36px',
961
- describe: '运营数据-中',
962
- locked: true
963
- }, {
964
- name: '48/regular',
965
- token: '48/regular',
966
- value: '48px',
967
- describe: '运营数据-大',
968
- locked: true
969
- }, {
970
- name: '48/medium',
971
- token: '48/medium',
972
- value: '48px',
973
- describe: '运营数据-大',
974
- locked: true
975
879
  }, {
976
880
  name: '1/padding',
977
881
  value: '1px',
@@ -1830,6 +1734,42 @@ var figma = [{
1830
1734
  describe: 'Size-22 (44px)',
1831
1735
  token: 'Size-22',
1832
1736
  locked: true
1737
+ }, {
1738
+ name: 'Size-23',
1739
+ value: '46px',
1740
+ describe: 'Size-23 (46px)',
1741
+ token: 'Size-23',
1742
+ locked: true
1743
+ }, {
1744
+ name: 'Size-24',
1745
+ value: '48px',
1746
+ describe: 'Size-24 (48px)',
1747
+ token: 'Size-24',
1748
+ locked: true
1749
+ }, {
1750
+ name: 'Size-25',
1751
+ value: '50px',
1752
+ describe: 'Size-25 (50px)',
1753
+ token: 'Size-25',
1754
+ locked: true
1755
+ }, {
1756
+ name: 'Size-26',
1757
+ value: '52px',
1758
+ describe: 'Size-26 (52px)',
1759
+ token: 'Size-26',
1760
+ locked: true
1761
+ }, {
1762
+ name: 'Size-27',
1763
+ value: '54px',
1764
+ describe: 'Size-27 (54px)',
1765
+ token: 'Size-27',
1766
+ locked: true
1767
+ }, {
1768
+ name: 'Size-28',
1769
+ value: '56px',
1770
+ describe: 'Size-28 (56px)',
1771
+ token: 'Size-28',
1772
+ locked: true
1833
1773
  }];
1834
1774
  var compile = function compile(figmaData) {
1835
1775
  if (!figmaData) return;
@@ -1,4 +1,6 @@
1
1
  import { Tokens } from './type';
2
2
  declare const Token: Tokens;
3
+ declare const CommonToken: Tokens;
4
+ export { CommonToken };
3
5
  export default Token;
4
6
  //# sourceMappingURL=token.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"token.d.ts","sourceRoot":"","sources":["token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,QAAA,MAAM,KAAK,EAAE,MAiTZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"token.d.ts","sourceRoot":"","sources":["token.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,QAAA,MAAM,KAAK,EAAE,MAuSZ,CAAC;AAGF,QAAA,MAAM,WAAW,EAAE,MAAW,CAAC;AAQ/B,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,eAAe,KAAK,CAAC"}