@sheinx/theme 3.0.0-alpha.3 → 3.0.0-alpha.30

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 (369) hide show
  1. package/cjs/alert/alert.d.ts.map +1 -1
  2. package/cjs/alert/alert.js +4 -2
  3. package/cjs/alert/rule.js +1 -1
  4. package/cjs/alert/token.js +16 -2
  5. package/cjs/alert/type.d.ts +15 -3
  6. package/cjs/alert/type.d.ts.map +1 -1
  7. package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
  8. package/cjs/breadcrumb/breadcrumb.js +2 -1
  9. package/cjs/breadcrumb/token.js +11 -1
  10. package/cjs/breadcrumb/type.d.ts +21 -15
  11. package/cjs/breadcrumb/type.d.ts.map +1 -1
  12. package/cjs/button/button.d.ts.map +1 -1
  13. package/cjs/button/button.js +40 -25
  14. package/cjs/button/rule.js +1 -1
  15. package/cjs/button/token.js +248 -26
  16. package/cjs/button/type.d.ts +116 -26
  17. package/cjs/button/type.d.ts.map +1 -1
  18. package/cjs/card/card.d.ts.map +1 -1
  19. package/cjs/card/card.js +3 -2
  20. package/cjs/card/token.js +9 -3
  21. package/cjs/card/type.d.ts +19 -13
  22. package/cjs/card/type.d.ts.map +1 -1
  23. package/cjs/cascader/cascader.d.ts.map +1 -1
  24. package/cjs/cascader/cascader.js +6 -0
  25. package/cjs/cascader/token.js +27 -4
  26. package/cjs/cascader/type.d.ts +48 -12
  27. package/cjs/cascader/type.d.ts.map +1 -1
  28. package/cjs/checkbox/token.js +5 -1
  29. package/cjs/checkbox/type.d.ts +13 -13
  30. package/cjs/collapse/token.js +9 -1
  31. package/cjs/collapse/type.d.ts +25 -25
  32. package/cjs/common/common.d.ts.map +1 -1
  33. package/cjs/common/common.js +2 -1
  34. package/cjs/common/type.d.ts +7 -0
  35. package/cjs/common/type.d.ts.map +1 -1
  36. package/cjs/config.d.ts +19 -4
  37. package/cjs/config.d.ts.map +1 -1
  38. package/cjs/config.js +50 -10
  39. package/cjs/date-picker/date-picker.d.ts.map +1 -1
  40. package/cjs/date-picker/date-picker.js +1 -0
  41. package/cjs/date-picker/token.js +1 -0
  42. package/cjs/date-picker/type.d.ts +6 -0
  43. package/cjs/date-picker/type.d.ts.map +1 -1
  44. package/cjs/descriptions/descriptions.d.ts.map +1 -1
  45. package/cjs/descriptions/descriptions.js +7 -9
  46. package/cjs/descriptions/rule.js +3 -3
  47. package/cjs/descriptions/token.js +33 -24
  48. package/cjs/descriptions/type.d.ts +43 -55
  49. package/cjs/descriptions/type.d.ts.map +1 -1
  50. package/cjs/dropdown/dropdown.d.ts.map +1 -1
  51. package/cjs/dropdown/dropdown.js +13 -4
  52. package/cjs/dropdown/rule.js +2 -2
  53. package/cjs/dropdown/token.js +31 -5
  54. package/cjs/dropdown/type.d.ts +100 -46
  55. package/cjs/dropdown/type.d.ts.map +1 -1
  56. package/cjs/empty/empty.js +1 -1
  57. package/cjs/empty/token.js +1 -1
  58. package/cjs/empty/type.d.ts +1 -1
  59. package/cjs/form/form.js +1 -1
  60. package/cjs/form/token.js +9 -3
  61. package/cjs/form/type.d.ts +12 -12
  62. package/cjs/hooks/index.d.ts +2 -0
  63. package/cjs/hooks/index.d.ts.map +1 -0
  64. package/cjs/hooks/index.js +17 -0
  65. package/cjs/hooks/useToken/index.d.ts +3 -0
  66. package/cjs/hooks/useToken/index.d.ts.map +1 -0
  67. package/cjs/hooks/useToken/index.js +19 -0
  68. package/cjs/hooks/useToken/use-token.d.ts +6 -0
  69. package/cjs/hooks/useToken/use-token.d.ts.map +1 -0
  70. package/cjs/hooks/useToken/use-token.js +37 -0
  71. package/cjs/hooks/useToken/use-token.type.d.ts +39 -0
  72. package/cjs/hooks/useToken/use-token.type.d.ts.map +1 -0
  73. package/cjs/hooks/useToken/use-token.type.js +5 -0
  74. package/cjs/icon/icon.d.ts +2 -2
  75. package/cjs/icon/icon.d.ts.map +1 -1
  76. package/cjs/icon/icon.js +2 -2
  77. package/cjs/icon/token.js +3 -1
  78. package/cjs/icon/type.d.ts +1 -1
  79. package/cjs/image/token.js +2 -1
  80. package/cjs/image/type.d.ts +1 -1
  81. package/cjs/index.d.ts +6 -3
  82. package/cjs/index.d.ts.map +1 -1
  83. package/cjs/index.js +33 -2
  84. package/cjs/input/token.js +5 -1
  85. package/cjs/input/type.d.ts +12 -12
  86. package/cjs/list/token.js +4 -1
  87. package/cjs/list/type.d.ts +12 -12
  88. package/cjs/menu/menu.d.ts.map +1 -1
  89. package/cjs/menu/menu.js +1 -0
  90. package/cjs/menu/token.js +13 -1
  91. package/cjs/menu/type.d.ts +34 -28
  92. package/cjs/menu/type.d.ts.map +1 -1
  93. package/cjs/message/token.js +3 -1
  94. package/cjs/message/type.d.ts +5 -5
  95. package/cjs/modal/modal.d.ts.map +1 -1
  96. package/cjs/modal/modal.js +6 -3
  97. package/cjs/modal/token.js +28 -5
  98. package/cjs/modal/type.d.ts +46 -28
  99. package/cjs/modal/type.d.ts.map +1 -1
  100. package/cjs/popover/popover.js +1 -1
  101. package/cjs/popover/token.js +3 -2
  102. package/cjs/popover/type.d.ts +2 -2
  103. package/cjs/progress/progress.d.ts.map +1 -1
  104. package/cjs/progress/progress.js +3 -1
  105. package/cjs/progress/token.js +11 -2
  106. package/cjs/progress/type.d.ts +28 -16
  107. package/cjs/progress/type.d.ts.map +1 -1
  108. package/cjs/provider/index.d.ts +2 -0
  109. package/cjs/provider/index.d.ts.map +1 -0
  110. package/cjs/provider/index.js +1 -0
  111. package/cjs/provider/theme-provider.d.ts +3 -0
  112. package/cjs/provider/theme-provider.d.ts.map +1 -0
  113. package/cjs/provider/theme-provider.js +10 -0
  114. package/cjs/radio/radio.d.ts.map +1 -1
  115. package/cjs/radio/radio.js +1 -0
  116. package/cjs/radio/token.js +10 -2
  117. package/cjs/radio/type.d.ts +19 -13
  118. package/cjs/radio/type.d.ts.map +1 -1
  119. package/cjs/rate/rate.js +1 -1
  120. package/cjs/rate/token.js +4 -2
  121. package/cjs/rate/type.d.ts +7 -7
  122. package/cjs/select/select.d.ts.map +1 -1
  123. package/cjs/select/select.js +11 -2
  124. package/cjs/select/token.js +24 -3
  125. package/cjs/select/type.d.ts +63 -9
  126. package/cjs/select/type.d.ts.map +1 -1
  127. package/cjs/slider/slider.js +3 -3
  128. package/cjs/slider/token.js +10 -4
  129. package/cjs/slider/type.d.ts +27 -27
  130. package/cjs/slider/type.d.ts.map +1 -1
  131. package/cjs/spin/token.js +2 -1
  132. package/cjs/spin/type.d.ts +1 -1
  133. package/cjs/steps/token.js +2 -1
  134. package/cjs/steps/type.d.ts +1 -1
  135. package/cjs/sticky/token.js +1 -1
  136. package/cjs/sticky/type.d.ts +1 -1
  137. package/cjs/switch/switch.js +8 -8
  138. package/cjs/switch/token.js +14 -9
  139. package/cjs/switch/type.d.ts +40 -40
  140. package/cjs/table/token.js +13 -1
  141. package/cjs/table/type.d.ts +28 -28
  142. package/cjs/tabs/tabs.d.ts.map +1 -1
  143. package/cjs/tabs/tabs.js +4 -3
  144. package/cjs/tabs/token.js +14 -4
  145. package/cjs/tabs/type.d.ts +15 -9
  146. package/cjs/tabs/type.d.ts.map +1 -1
  147. package/cjs/tag/tag.js +1 -1
  148. package/cjs/tag/token.js +5 -3
  149. package/cjs/tag/type.d.ts +169 -169
  150. package/cjs/textarea/token.js +6 -1
  151. package/cjs/textarea/type.d.ts +29 -29
  152. package/cjs/token/figma.js +1032 -258
  153. package/cjs/token/token.d.ts.map +1 -1
  154. package/cjs/token/token.js +97 -3
  155. package/cjs/token/type.d.ts +674 -16
  156. package/cjs/token/type.d.ts.map +1 -1
  157. package/cjs/tooltip/token.js +4 -2
  158. package/cjs/tooltip/tooltip.js +1 -1
  159. package/cjs/tooltip/type.d.ts +5 -5
  160. package/cjs/transfer/rule.js +1 -1
  161. package/cjs/transfer/token.js +14 -1
  162. package/cjs/transfer/transfer.d.ts.map +1 -1
  163. package/cjs/transfer/transfer.js +1 -0
  164. package/cjs/transfer/type.d.ts +7 -1
  165. package/cjs/transfer/type.d.ts.map +1 -1
  166. package/cjs/tree/token.js +5 -1
  167. package/cjs/tree/type.d.ts +13 -13
  168. package/cjs/tree-select/token.js +5 -2
  169. package/cjs/tree-select/tree-select.d.ts.map +1 -1
  170. package/cjs/tree-select/tree-select.js +1 -0
  171. package/cjs/tree-select/type.d.ts +9 -3
  172. package/cjs/tree-select/type.d.ts.map +1 -1
  173. package/cjs/upload/token.js +3 -3
  174. package/cjs/upload/type.d.ts +3 -3
  175. package/cjs/upload/upload.js +3 -3
  176. package/cjs/utils/css-var.d.ts +1 -0
  177. package/cjs/utils/css-var.d.ts.map +1 -1
  178. package/cjs/utils/css-var.js +5 -2
  179. package/cjs/utils/notification.d.ts +16 -0
  180. package/cjs/utils/notification.d.ts.map +1 -0
  181. package/cjs/utils/notification.js +52 -0
  182. package/cjs/utils/token-setter.d.ts +57 -0
  183. package/cjs/utils/token-setter.d.ts.map +1 -0
  184. package/cjs/utils/token-setter.js +74 -0
  185. package/esm/alert/alert.d.ts.map +1 -1
  186. package/esm/alert/alert.js +4 -2
  187. package/esm/alert/rule.js +1 -1
  188. package/esm/alert/token.js +16 -2
  189. package/esm/alert/type.d.ts +15 -3
  190. package/esm/alert/type.d.ts.map +1 -1
  191. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  192. package/esm/breadcrumb/breadcrumb.js +2 -1
  193. package/esm/breadcrumb/token.js +11 -1
  194. package/esm/breadcrumb/type.d.ts +21 -15
  195. package/esm/breadcrumb/type.d.ts.map +1 -1
  196. package/esm/button/button.d.ts.map +1 -1
  197. package/esm/button/button.js +40 -25
  198. package/esm/button/rule.js +1 -1
  199. package/esm/button/token.js +248 -26
  200. package/esm/button/type.d.ts +116 -26
  201. package/esm/button/type.d.ts.map +1 -1
  202. package/esm/card/card.d.ts.map +1 -1
  203. package/esm/card/card.js +3 -2
  204. package/esm/card/token.js +9 -3
  205. package/esm/card/type.d.ts +19 -13
  206. package/esm/card/type.d.ts.map +1 -1
  207. package/esm/cascader/cascader.d.ts.map +1 -1
  208. package/esm/cascader/cascader.js +6 -0
  209. package/esm/cascader/token.js +27 -4
  210. package/esm/cascader/type.d.ts +48 -12
  211. package/esm/cascader/type.d.ts.map +1 -1
  212. package/esm/checkbox/token.js +5 -1
  213. package/esm/checkbox/type.d.ts +13 -13
  214. package/esm/collapse/token.js +9 -1
  215. package/esm/collapse/type.d.ts +25 -25
  216. package/esm/common/common.d.ts.map +1 -1
  217. package/esm/common/common.js +2 -1
  218. package/esm/common/type.d.ts +7 -0
  219. package/esm/common/type.d.ts.map +1 -1
  220. package/esm/config.d.ts +19 -4
  221. package/esm/config.d.ts.map +1 -1
  222. package/esm/config.js +50 -10
  223. package/esm/date-picker/date-picker.d.ts.map +1 -1
  224. package/esm/date-picker/date-picker.js +1 -0
  225. package/esm/date-picker/token.js +1 -0
  226. package/esm/date-picker/type.d.ts +6 -0
  227. package/esm/date-picker/type.d.ts.map +1 -1
  228. package/esm/descriptions/descriptions.d.ts.map +1 -1
  229. package/esm/descriptions/descriptions.js +7 -9
  230. package/esm/descriptions/rule.js +3 -3
  231. package/esm/descriptions/token.js +33 -24
  232. package/esm/descriptions/type.d.ts +43 -55
  233. package/esm/descriptions/type.d.ts.map +1 -1
  234. package/esm/dropdown/dropdown.d.ts.map +1 -1
  235. package/esm/dropdown/dropdown.js +13 -4
  236. package/esm/dropdown/rule.js +2 -2
  237. package/esm/dropdown/token.js +31 -5
  238. package/esm/dropdown/type.d.ts +100 -46
  239. package/esm/dropdown/type.d.ts.map +1 -1
  240. package/esm/empty/empty.js +1 -1
  241. package/esm/empty/token.js +1 -1
  242. package/esm/empty/type.d.ts +1 -1
  243. package/esm/form/form.js +1 -1
  244. package/esm/form/token.js +9 -3
  245. package/esm/form/type.d.ts +12 -12
  246. package/esm/hooks/index.d.ts +2 -0
  247. package/esm/hooks/index.d.ts.map +1 -0
  248. package/esm/hooks/index.js +17 -0
  249. package/esm/hooks/useToken/index.d.ts +3 -0
  250. package/esm/hooks/useToken/index.d.ts.map +1 -0
  251. package/esm/hooks/useToken/index.js +19 -0
  252. package/esm/hooks/useToken/use-token.d.ts +6 -0
  253. package/esm/hooks/useToken/use-token.d.ts.map +1 -0
  254. package/esm/hooks/useToken/use-token.js +37 -0
  255. package/esm/hooks/useToken/use-token.type.d.ts +39 -0
  256. package/esm/hooks/useToken/use-token.type.d.ts.map +1 -0
  257. package/esm/hooks/useToken/use-token.type.js +5 -0
  258. package/esm/icon/icon.d.ts +2 -2
  259. package/esm/icon/icon.d.ts.map +1 -1
  260. package/esm/icon/icon.js +2 -2
  261. package/esm/icon/token.js +3 -1
  262. package/esm/icon/type.d.ts +1 -1
  263. package/esm/image/token.js +2 -1
  264. package/esm/image/type.d.ts +1 -1
  265. package/esm/index.d.ts +6 -3
  266. package/esm/index.d.ts.map +1 -1
  267. package/esm/index.js +33 -2
  268. package/esm/input/token.js +5 -1
  269. package/esm/input/type.d.ts +12 -12
  270. package/esm/list/token.js +4 -1
  271. package/esm/list/type.d.ts +12 -12
  272. package/esm/menu/menu.d.ts.map +1 -1
  273. package/esm/menu/menu.js +1 -0
  274. package/esm/menu/token.js +13 -1
  275. package/esm/menu/type.d.ts +34 -28
  276. package/esm/menu/type.d.ts.map +1 -1
  277. package/esm/message/token.js +3 -1
  278. package/esm/message/type.d.ts +5 -5
  279. package/esm/modal/modal.d.ts.map +1 -1
  280. package/esm/modal/modal.js +6 -3
  281. package/esm/modal/token.js +28 -5
  282. package/esm/modal/type.d.ts +46 -28
  283. package/esm/modal/type.d.ts.map +1 -1
  284. package/esm/popover/popover.js +1 -1
  285. package/esm/popover/token.js +3 -2
  286. package/esm/popover/type.d.ts +2 -2
  287. package/esm/progress/progress.d.ts.map +1 -1
  288. package/esm/progress/progress.js +3 -1
  289. package/esm/progress/token.js +11 -2
  290. package/esm/progress/type.d.ts +28 -16
  291. package/esm/progress/type.d.ts.map +1 -1
  292. package/esm/provider/index.d.ts +2 -0
  293. package/esm/provider/index.d.ts.map +1 -0
  294. package/esm/provider/index.js +1 -0
  295. package/esm/provider/theme-provider.d.ts +3 -0
  296. package/esm/provider/theme-provider.d.ts.map +1 -0
  297. package/esm/provider/theme-provider.js +10 -0
  298. package/esm/radio/radio.d.ts.map +1 -1
  299. package/esm/radio/radio.js +1 -0
  300. package/esm/radio/token.js +10 -2
  301. package/esm/radio/type.d.ts +19 -13
  302. package/esm/radio/type.d.ts.map +1 -1
  303. package/esm/rate/rate.js +1 -1
  304. package/esm/rate/token.js +4 -2
  305. package/esm/rate/type.d.ts +7 -7
  306. package/esm/select/select.d.ts.map +1 -1
  307. package/esm/select/select.js +11 -2
  308. package/esm/select/token.js +24 -3
  309. package/esm/select/type.d.ts +63 -9
  310. package/esm/select/type.d.ts.map +1 -1
  311. package/esm/slider/slider.js +3 -3
  312. package/esm/slider/token.js +10 -4
  313. package/esm/slider/type.d.ts +27 -27
  314. package/esm/slider/type.d.ts.map +1 -1
  315. package/esm/spin/token.js +2 -1
  316. package/esm/spin/type.d.ts +1 -1
  317. package/esm/steps/token.js +2 -1
  318. package/esm/steps/type.d.ts +1 -1
  319. package/esm/sticky/token.js +1 -1
  320. package/esm/sticky/type.d.ts +1 -1
  321. package/esm/switch/switch.js +8 -8
  322. package/esm/switch/token.js +14 -9
  323. package/esm/switch/type.d.ts +40 -40
  324. package/esm/table/token.js +13 -1
  325. package/esm/table/type.d.ts +28 -28
  326. package/esm/tabs/tabs.d.ts.map +1 -1
  327. package/esm/tabs/tabs.js +4 -3
  328. package/esm/tabs/token.js +14 -4
  329. package/esm/tabs/type.d.ts +15 -9
  330. package/esm/tabs/type.d.ts.map +1 -1
  331. package/esm/tag/tag.js +1 -1
  332. package/esm/tag/token.js +5 -3
  333. package/esm/tag/type.d.ts +169 -169
  334. package/esm/textarea/token.js +6 -1
  335. package/esm/textarea/type.d.ts +29 -29
  336. package/esm/token/figma.js +1032 -258
  337. package/esm/token/token.d.ts.map +1 -1
  338. package/esm/token/token.js +97 -3
  339. package/esm/token/type.d.ts +674 -16
  340. package/esm/token/type.d.ts.map +1 -1
  341. package/esm/tooltip/token.js +4 -2
  342. package/esm/tooltip/tooltip.js +1 -1
  343. package/esm/tooltip/type.d.ts +5 -5
  344. package/esm/transfer/rule.js +1 -1
  345. package/esm/transfer/token.js +14 -1
  346. package/esm/transfer/transfer.d.ts.map +1 -1
  347. package/esm/transfer/transfer.js +1 -0
  348. package/esm/transfer/type.d.ts +7 -1
  349. package/esm/transfer/type.d.ts.map +1 -1
  350. package/esm/tree/token.js +5 -1
  351. package/esm/tree/type.d.ts +13 -13
  352. package/esm/tree-select/token.js +5 -2
  353. package/esm/tree-select/tree-select.d.ts.map +1 -1
  354. package/esm/tree-select/tree-select.js +1 -0
  355. package/esm/tree-select/type.d.ts +9 -3
  356. package/esm/tree-select/type.d.ts.map +1 -1
  357. package/esm/upload/token.js +3 -3
  358. package/esm/upload/type.d.ts +3 -3
  359. package/esm/upload/upload.js +3 -3
  360. package/esm/utils/css-var.d.ts +1 -0
  361. package/esm/utils/css-var.d.ts.map +1 -1
  362. package/esm/utils/css-var.js +5 -2
  363. package/esm/utils/notification.d.ts +16 -0
  364. package/esm/utils/notification.d.ts.map +1 -0
  365. package/esm/utils/notification.js +52 -0
  366. package/esm/utils/token-setter.d.ts +57 -0
  367. package/esm/utils/token-setter.d.ts.map +1 -0
  368. package/esm/utils/token-setter.js +74 -0
  369. package/package.json +5 -2
@@ -9,7 +9,9 @@
9
9
  * 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
10
10
  */
11
11
  var messageTokenDescription = {
12
- message: 'xxx'
12
+ message: '全局提示',
13
+ shadow: '阴影',
14
+ bottom: ''
13
15
  };
14
16
 
15
17
  /**
@@ -2,31 +2,31 @@ export interface MessageTokens {
2
2
  /**
3
3
  * @type {string}
4
4
  * @token Shadow-3
5
- * @description xxxundefined
5
+ * @description 全局提示阴影
6
6
  */
7
7
  messageShadow: string;
8
8
  /**
9
9
  * @type {string}
10
10
  * @token Neutral-border-1
11
- * @description xxx边框颜色
11
+ * @description 全局提示边框颜色
12
12
  */
13
13
  messageBorderColor: string;
14
14
  /**
15
15
  * @type {string}
16
16
  * @token Neutral-fill-1
17
- * @description xxx背景颜色
17
+ * @description 全局提示背景颜色
18
18
  */
19
19
  messageBackgroundColor: string;
20
20
  /**
21
21
  * @type {string}
22
22
  * @token Neutral-text-5
23
- * @description xxx字体颜色
23
+ * @description 全局提示字体颜色
24
24
  */
25
25
  messageFontColor: string;
26
26
  /**
27
27
  * @type {string}
28
28
  * @token Margin-24
29
- * @description xxx外边距undefined
29
+ * @description 全局提示外边距
30
30
  */
31
31
  messageMarginBottom: string;
32
32
  }
@@ -1 +1 @@
1
- {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WA0BlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WA6BlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -13,17 +13,19 @@ var modalTokens = {
13
13
  modalPanelPaddingY: 'Padding-24',
14
14
  modalPanelPaddingX: 'Padding-24',
15
15
  modalPanelBackground: 'Neutral-fill-1',
16
- modalPanelShadow: 'Shadow-2',
16
+ modalPanelShadow: 'Shadow-3',
17
+ modalPanelBorder: 'Neutral-border-1',
17
18
  modalPanelGap: 'Padding-16',
18
19
  modalPanelRadius: 'Radius-4',
19
20
  modalPanelFontSize: '14/regular',
20
21
  modalHeaderIconMarginEnd: 'Margin-8',
21
- modalHeaderIconMarginTop: 'Size-1',
22
- modalHeaderIconSize: 'Size-10',
22
+ modalHeaderIconMarginTop: 'Size-2',
23
+ modalHeaderIconSize: 'Size-8',
23
24
  modalHeaderCloseMarginXStart: 'Margin-16',
24
25
  modalHeaderCloseSize: 'Size-8',
25
26
  modalHeaderCloseTop: 'Size-2',
26
27
  modalHeaderCloseColor: 'Neutral-text-4',
28
+ modalHeaderCloseBackgroundColor: 'Neutral-fill-2',
27
29
  modalHeaderFontSize: '16/regular',
28
30
  modalDrawerTitlePaddingY: 'Padding-12',
29
31
  modalDrawerTitlePaddingX: 'Padding-16',
@@ -32,6 +34,7 @@ var modalTokens = {
32
34
  modalDrawerBodyPaddingX: 'Padding-16',
33
35
  modalDrawerFooterPaddingY: 'Padding-16',
34
36
  modalDrawerFooterPaddingX: 'Padding-16',
37
+ modalDrawerCloseBackgroundColor: 'Neutral-fill-3',
35
38
  modalFontSize: '14/regular'
36
39
  };
37
40
  var _default = modalTokens;
@@ -9,7 +9,21 @@
9
9
  * 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
10
10
  */
11
11
  var modalTokenDescription = {
12
- modal: 'xxx'
12
+ modal: '对话框',
13
+ panel: '面板',
14
+ shadow: '阴影',
15
+ gap: '间距',
16
+ header: '头部区域',
17
+ close: '关闭icon的',
18
+ start: '(左侧)',
19
+ end: '(右侧)',
20
+ top: '顶部距离',
21
+ title: '标题的',
22
+ drawer: '抽屉模式',
23
+ body: '主区域',
24
+ footer: '底部区域',
25
+ mask: '遮罩层',
26
+ light: '浅色'
13
27
  };
14
28
 
15
29
  /**
@@ -37,7 +51,8 @@ var modalTokenExtraValue = {
37
51
  x: 'Padding-24'
38
52
  },
39
53
  background: 'Neutral-fill-1',
40
- shadow: 'Shadow-2',
54
+ shadow: 'Shadow-3',
55
+ border: 'Neutral-border-1',
41
56
  gap: 'Padding-16',
42
57
  radius: 'Radius-4',
43
58
  font: {
@@ -48,9 +63,9 @@ var modalTokenExtraValue = {
48
63
  icon: {
49
64
  margin: {
50
65
  end: 'Margin-8',
51
- top: 'Size-1'
66
+ top: 'Size-2'
52
67
  },
53
- size: 'Size-10'
68
+ size: 'Size-8'
54
69
  },
55
70
  close: {
56
71
  margin: {
@@ -60,7 +75,10 @@ var modalTokenExtraValue = {
60
75
  },
61
76
  size: 'Size-8',
62
77
  top: 'Size-2',
63
- color: 'Neutral-text-4'
78
+ color: 'Neutral-text-4',
79
+ background: {
80
+ color: 'Neutral-fill-2'
81
+ }
64
82
  },
65
83
  font: {
66
84
  size: '16/regular'
@@ -87,6 +105,11 @@ var modalTokenExtraValue = {
87
105
  y: 'Padding-16',
88
106
  x: 'Padding-16'
89
107
  }
108
+ },
109
+ close: {
110
+ background: {
111
+ color: 'Neutral-fill-3'
112
+ }
90
113
  }
91
114
  }
92
115
  };
@@ -2,151 +2,169 @@ export interface ModalTokens {
2
2
  /**
3
3
  * @type {string}
4
4
  * @token rgba(2, 11, 24, 0.3)
5
- * @description xxxundefined背景
5
+ * @description 对话框遮罩层背景
6
6
  */
7
7
  modalMaskBackground: string;
8
8
  /**
9
9
  * @type {string}
10
10
  * @token rgba(2, 11, 24, 0.01)
11
- * @description xxxundefinedundefined背景
11
+ * @description 对话框遮罩层浅色背景
12
12
  */
13
13
  modalMaskLightBackground: string;
14
14
  /**
15
15
  * @type {string}
16
16
  * @token Padding-24
17
- * @description xxxundefined内边距(垂直方向)
17
+ * @description 对话框面板内边距(垂直方向)
18
18
  */
19
19
  modalPanelPaddingY: string;
20
20
  /**
21
21
  * @type {string}
22
22
  * @token Padding-24
23
- * @description xxxundefined内边距(水平方向)
23
+ * @description 对话框面板内边距(水平方向)
24
24
  */
25
25
  modalPanelPaddingX: string;
26
26
  /**
27
27
  * @type {string}
28
28
  * @token Neutral-fill-1
29
- * @description xxxundefined背景
29
+ * @description 对话框面板背景
30
30
  */
31
31
  modalPanelBackground: string;
32
32
  /**
33
33
  * @type {string}
34
- * @token Shadow-2
35
- * @description xxxundefinedundefined
34
+ * @token Shadow-3
35
+ * @description 对话框面板阴影
36
36
  */
37
37
  modalPanelShadow: string;
38
+ /**
39
+ * @type {string}
40
+ * @token Neutral-border-1
41
+ * @description 对话框面板边框
42
+ */
43
+ modalPanelBorder: string;
38
44
  /**
39
45
  * @type {string}
40
46
  * @token Padding-16
41
- * @description xxxundefinedundefined
47
+ * @description 对话框面板间距
42
48
  */
43
49
  modalPanelGap: string;
44
50
  /**
45
51
  * @type {string}
46
52
  * @token Radius-4
47
- * @description xxxundefined圆角
53
+ * @description 对话框面板圆角
48
54
  */
49
55
  modalPanelRadius: string;
50
56
  /**
51
57
  * @type {string}
52
58
  * @token 14/regular
53
- * @description xxxundefined字体字号
59
+ * @description 对话框面板字体字号
54
60
  */
55
61
  modalPanelFontSize: string;
56
62
  /**
57
63
  * @type {string}
58
64
  * @token Margin-8
59
- * @description xxxundefined图标外边距undefined
65
+ * @description 对话框头部区域图标外边距(右侧)
60
66
  */
61
67
  modalHeaderIconMarginEnd: string;
62
68
  /**
63
69
  * @type {string}
64
- * @token Size-1
65
- * @description xxxundefined图标外边距undefined
70
+ * @token Size-2
71
+ * @description 对话框头部区域图标外边距顶部距离
66
72
  */
67
73
  modalHeaderIconMarginTop: string;
68
74
  /**
69
75
  * @type {string}
70
- * @token Size-10
71
- * @description xxxundefined图标字号
76
+ * @token Size-8
77
+ * @description 对话框头部区域图标字号
72
78
  */
73
79
  modalHeaderIconSize: string;
74
80
  /**
75
81
  * @type {string}
76
82
  * @token Margin-16
77
- * @description xxxundefinedundefined外边距(水平方向)undefined
83
+ * @description 对话框头部区域关闭icon的外边距(水平方向)(左侧)
78
84
  */
79
85
  modalHeaderCloseMarginXStart: string;
80
86
  /**
81
87
  * @type {string}
82
88
  * @token Size-8
83
- * @description xxxundefinedundefined字号
89
+ * @description 对话框头部区域关闭icon的字号
84
90
  */
85
91
  modalHeaderCloseSize: string;
86
92
  /**
87
93
  * @type {string}
88
94
  * @token Size-2
89
- * @description xxxundefinedundefinedundefined
95
+ * @description 对话框头部区域关闭icon的顶部距离
90
96
  */
91
97
  modalHeaderCloseTop: string;
92
98
  /**
93
99
  * @type {string}
94
100
  * @token Neutral-text-4
95
- * @description xxxundefinedundefined颜色
101
+ * @description 对话框头部区域关闭icon的颜色
96
102
  */
97
103
  modalHeaderCloseColor: string;
104
+ /**
105
+ * @type {string}
106
+ * @token Neutral-fill-2
107
+ * @description 对话框头部区域关闭icon的背景颜色
108
+ */
109
+ modalHeaderCloseBackgroundColor: string;
98
110
  /**
99
111
  * @type {string}
100
112
  * @token 16/regular
101
- * @description xxxundefined字体字号
113
+ * @description 对话框头部区域字体字号
102
114
  */
103
115
  modalHeaderFontSize: string;
104
116
  /**
105
117
  * @type {string}
106
118
  * @token Padding-12
107
- * @description xxxundefined标题模式内边距(垂直方向)
119
+ * @description 对话框抽屉模式标题的内边距(垂直方向)
108
120
  */
109
121
  modalDrawerTitlePaddingY: string;
110
122
  /**
111
123
  * @type {string}
112
124
  * @token Padding-16
113
- * @description xxxundefined标题模式内边距(水平方向)
125
+ * @description 对话框抽屉模式标题的内边距(水平方向)
114
126
  */
115
127
  modalDrawerTitlePaddingX: string;
116
128
  /**
117
129
  * @type {string}
118
130
  * @token Neutral-fill-2
119
- * @description xxxundefined标题模式背景颜色
131
+ * @description 对话框抽屉模式标题的背景颜色
120
132
  */
121
133
  modalDrawerTitleBackgroundColor: string;
122
134
  /**
123
135
  * @type {string}
124
136
  * @token Padding-16
125
- * @description xxxundefinedundefined内边距(垂直方向)
137
+ * @description 对话框抽屉模式主区域内边距(垂直方向)
126
138
  */
127
139
  modalDrawerBodyPaddingY: string;
128
140
  /**
129
141
  * @type {string}
130
142
  * @token Padding-16
131
- * @description xxxundefinedundefined内边距(水平方向)
143
+ * @description 对话框抽屉模式主区域内边距(水平方向)
132
144
  */
133
145
  modalDrawerBodyPaddingX: string;
134
146
  /**
135
147
  * @type {string}
136
148
  * @token Padding-16
137
- * @description xxxundefinedundefined内边距(垂直方向)
149
+ * @description 对话框抽屉模式底部区域内边距(垂直方向)
138
150
  */
139
151
  modalDrawerFooterPaddingY: string;
140
152
  /**
141
153
  * @type {string}
142
154
  * @token Padding-16
143
- * @description xxxundefinedundefined内边距(水平方向)
155
+ * @description 对话框抽屉模式底部区域内边距(水平方向)
144
156
  */
145
157
  modalDrawerFooterPaddingX: string;
158
+ /**
159
+ * @type {string}
160
+ * @token Neutral-fill-3
161
+ * @description 对话框抽屉模式关闭icon的背景颜色
162
+ */
163
+ modalDrawerCloseBackgroundColor: string;
146
164
  /**
147
165
  * @type {string}
148
166
  * @token 14/regular
149
- * @description xxx字体字号
167
+ * @description 对话框字体字号
150
168
  */
151
169
  modalFontSize: string;
152
170
  }
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -10,7 +10,7 @@ exports.default = void 0;
10
10
  var popoverTokens = {
11
11
  popoverFontSize: '14/regular',
12
12
  popoverPaddingX: 'Padding-8',
13
- popoverPaddingY: 'Padding-3',
13
+ popoverPaddingY: 'Padding-8',
14
14
  popoverRadius: 'Radius-4',
15
15
  popoverBorderWidth: 'Border-1',
16
16
  popoverFontColor: 'Neutral-text-5',
@@ -13,7 +13,8 @@ var popoverTokenDescription = {
13
13
  warning: '警告',
14
14
  info: '提示',
15
15
  error: '错误',
16
- confirm: '确认'
16
+ confirm: '确认',
17
+ shadow: '阴影'
17
18
  };
18
19
 
19
20
  /**
@@ -30,7 +31,7 @@ var popoverTokenValue = {
30
31
  },
31
32
  padding: {
32
33
  x: 'Padding-8',
33
- y: 'Padding-3'
34
+ y: 'Padding-8'
34
35
  },
35
36
  radius: 'Radius-4',
36
37
  border: {
@@ -13,7 +13,7 @@ export interface PopoverTokens {
13
13
  popoverPaddingX: string;
14
14
  /**
15
15
  * @type {string}
16
- * @token Padding-3
16
+ * @token Padding-8
17
17
  * @description 气泡内边距(垂直方向)
18
18
  */
19
19
  popoverPaddingY: string;
@@ -44,7 +44,7 @@ export interface PopoverTokens {
44
44
  /**
45
45
  * @type {string}
46
46
  * @token Shadow-2
47
- * @description 气泡undefined
47
+ * @description 气泡阴影
48
48
  */
49
49
  popoverShadow: string;
50
50
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAiBrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAmBrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -23,7 +23,9 @@ var progressTokens = {
23
23
  progressLineInnerFontColor: 'Neutral-text-1',
24
24
  progressLineInnerFontSize: '12/regular',
25
25
  progressLineInnerRightFontColor: 'Neutral-text-5',
26
- progressLineIconSize: 'Size-7'
26
+ progressLineIconSize: 'Size-7',
27
+ progressLineBackgroundColor: 'Neutral-fill-9',
28
+ progressLineColor: 'Neutral-text-1'
27
29
  };
28
30
  var _default = progressTokens;
29
31
  exports.default = _default;
@@ -9,7 +9,12 @@
9
9
  * 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
10
10
  */
11
11
  var progressTokenDescription = {
12
- progress: 'xxx'
12
+ progress: '进度条',
13
+ gap: '间距',
14
+ info: '基础色',
15
+ front: '已完成进度的',
16
+ inner: '内嵌文案模式',
17
+ right: '右侧的'
13
18
  };
14
19
 
15
20
  /**
@@ -75,7 +80,11 @@ var progressTokenExtraValue = {
75
80
  },
76
81
  icon: {
77
82
  size: 'Size-7'
78
- }
83
+ },
84
+ background: {
85
+ color: 'Neutral-fill-9'
86
+ },
87
+ color: 'Neutral-text-1'
79
88
  }
80
89
  };
81
90
  module.exports = {
@@ -2,98 +2,110 @@ export interface ProgressTokens {
2
2
  /**
3
3
  * @type {string}
4
4
  * @token 14/regular
5
- * @description xxx字体字号
5
+ * @description 进度条字体字号
6
6
  */
7
7
  progressFontSize: string;
8
8
  /**
9
9
  * @type {string}
10
10
  * @token Neutral-text-4
11
- * @description xxx字体颜色
11
+ * @description 进度条字体颜色
12
12
  */
13
13
  progressFontColor: string;
14
14
  /**
15
15
  * @type {string}
16
16
  * @token Neutral-fill-3
17
- * @description xxx背景
17
+ * @description 进度条背景
18
18
  */
19
19
  progressBackground: string;
20
20
  /**
21
21
  * @type {string}
22
22
  * @token Brand-6
23
- * @description xxxundefinedundefined背景颜色
23
+ * @description 进度条基础色已完成进度的背景颜色
24
24
  */
25
25
  progressInfoFrontBackgroundColor: string;
26
26
  /**
27
27
  * @type {string}
28
28
  * @token Warning-6
29
- * @description xxx警告色undefined背景颜色
29
+ * @description 进度条警告色已完成进度的背景颜色
30
30
  */
31
31
  progressWarningFrontBackgroundColor: string;
32
32
  /**
33
33
  * @type {string}
34
34
  * @token Success-6
35
- * @description xxx成功色undefined背景颜色
35
+ * @description 进度条成功色已完成进度的背景颜色
36
36
  */
37
37
  progressSuccessFrontBackgroundColor: string;
38
38
  /**
39
39
  * @type {string}
40
40
  * @token Danger-6
41
- * @description xxx危险色undefined背景颜色
41
+ * @description 进度条危险色已完成进度的背景颜色
42
42
  */
43
43
  progressDangerFrontBackgroundColor: string;
44
44
  /**
45
45
  * @type {string}
46
46
  * @token Size-3
47
- * @description xxx行高度
47
+ * @description 进度条行高度
48
48
  */
49
49
  progressLineHeight: string;
50
50
  /**
51
51
  * @type {string}
52
52
  * @token Margin-8
53
- * @description xxx行undefined
53
+ * @description 进度条行间距
54
54
  */
55
55
  progressLineGap: string;
56
56
  /**
57
57
  * @type {string}
58
58
  * @token Size-10
59
- * @description xxx行内嵌高度
59
+ * @description 进度条行内嵌文案模式高度
60
60
  */
61
61
  progressLineInnerHeight: string;
62
62
  /**
63
63
  * @type {string}
64
64
  * @token Margin-8
65
- * @description xxx行内嵌undefined
65
+ * @description 进度条行内嵌文案模式间距
66
66
  */
67
67
  progressLineInnerGap: string;
68
68
  /**
69
69
  * @type {string}
70
70
  * @token Padding-8
71
- * @description xxx行内嵌内边距(水平方向)
71
+ * @description 进度条行内嵌文案模式内边距(水平方向)
72
72
  */
73
73
  progressLineInnerPaddingX: string;
74
74
  /**
75
75
  * @type {string}
76
76
  * @token Neutral-text-1
77
- * @description xxx行内嵌字体颜色
77
+ * @description 进度条行内嵌文案模式字体颜色
78
78
  */
79
79
  progressLineInnerFontColor: string;
80
80
  /**
81
81
  * @type {string}
82
82
  * @token 12/regular
83
- * @description xxx行内嵌字体字号
83
+ * @description 进度条行内嵌文案模式字体字号
84
84
  */
85
85
  progressLineInnerFontSize: string;
86
86
  /**
87
87
  * @type {string}
88
88
  * @token Neutral-text-5
89
- * @description xxx行内嵌undefined字体颜色
89
+ * @description 进度条行内嵌文案模式右侧的字体颜色
90
90
  */
91
91
  progressLineInnerRightFontColor: string;
92
92
  /**
93
93
  * @type {string}
94
94
  * @token Size-7
95
- * @description xxx行图标字号
95
+ * @description 进度条行图标字号
96
96
  */
97
97
  progressLineIconSize: string;
98
+ /**
99
+ * @type {string}
100
+ * @token Neutral-fill-9
101
+ * @description 进度条行背景颜色
102
+ */
103
+ progressLineBackgroundColor: string;
104
+ /**
105
+ * @type {string}
106
+ * @token Neutral-text-1
107
+ * @description 进度条行颜色
108
+ */
109
+ progressLineColor: string;
98
110
  }
99
111
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;CAC9B"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const ThemeContext: React.Context<null>;
3
+ //# sourceMappingURL=theme-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,YAAY,qBAA4B,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.ThemeContext = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var ThemeContext = /*#__PURE__*/_react.default.createContext(null);
10
+ exports.ThemeContext = ThemeContext;
@@ -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,WAgClB,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,WAiClB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -25,6 +25,7 @@ var radioTokens = {
25
25
  radioIconCheckedDisabledBackgroundColor: 'Neutral-fill-1',
26
26
  radioIconCheckedDisabledColor: 'Brand-3',
27
27
  radioIconWrapperFill: 'Neutral-fill-2',
28
+ radioIconWrapperDark: 'Neutral-fill-3',
28
29
  radioPaddingY: 'Padding-4',
29
30
  radioSmallIconWidth: 'Size-6',
30
31
  radioSmallIconBorderWidth: 'Border-1',
@@ -11,7 +11,14 @@
11
11
  var radioTokenDescription = {
12
12
  radio: '单选框',
13
13
  button: '按钮模式',
14
- outline: '线框模式'
14
+ outline: '线框模式',
15
+ gap: '间距',
16
+ block: '块级',
17
+ checked: '选中状态下的',
18
+ wrapper: '包裹层',
19
+ fill: '填充色',
20
+ dark: '暗色模式',
21
+ label: '文案'
15
22
  };
16
23
 
17
24
  /**
@@ -65,7 +72,8 @@ var radioTokenExtraValue = {
65
72
  }
66
73
  },
67
74
  wrapper: {
68
- fill: 'Neutral-fill-2'
75
+ fill: 'Neutral-fill-2',
76
+ dark: 'Neutral-fill-3'
69
77
  }
70
78
  },
71
79
  padding: {