@sheinx/theme 3.0.0-alpha.2 → 3.0.0-alpha.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 (401) hide show
  1. package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
  2. package/cjs/breadcrumb/breadcrumb.js +2 -0
  3. package/cjs/breadcrumb/token.js +8 -0
  4. package/cjs/breadcrumb/type.d.ts +12 -0
  5. package/cjs/breadcrumb/type.d.ts.map +1 -1
  6. package/cjs/button/button.d.ts.map +1 -1
  7. package/cjs/button/button.js +14 -12
  8. package/cjs/button/token.js +29 -14
  9. package/cjs/button/type.d.ts +24 -12
  10. package/cjs/button/type.d.ts.map +1 -1
  11. package/cjs/card/card.d.ts +4 -0
  12. package/cjs/card/card.d.ts.map +1 -0
  13. package/cjs/card/card.js +25 -0
  14. package/cjs/card/index.d.ts +3 -0
  15. package/cjs/card/index.d.ts.map +1 -0
  16. package/cjs/card/index.js +17 -0
  17. package/cjs/card/rule.d.ts +2 -0
  18. package/cjs/card/rule.d.ts.map +1 -0
  19. package/cjs/card/rule.js +16 -0
  20. package/cjs/card/token.d.ts +2 -0
  21. package/cjs/card/token.d.ts.map +1 -0
  22. package/cjs/card/token.js +66 -0
  23. package/cjs/card/type.d.ts +75 -0
  24. package/cjs/card/type.d.ts.map +1 -0
  25. package/cjs/card/type.js +5 -0
  26. package/cjs/card-group/card-group.d.ts +4 -0
  27. package/cjs/card-group/card-group.d.ts.map +1 -0
  28. package/cjs/card-group/card-group.js +14 -0
  29. package/cjs/card-group/index.d.ts +3 -0
  30. package/cjs/card-group/index.d.ts.map +1 -0
  31. package/cjs/card-group/index.js +17 -0
  32. package/cjs/card-group/rule.d.ts +2 -0
  33. package/cjs/card-group/rule.d.ts.map +1 -0
  34. package/cjs/card-group/rule.js +16 -0
  35. package/cjs/card-group/token.d.ts +2 -0
  36. package/cjs/card-group/token.d.ts.map +1 -0
  37. package/cjs/card-group/token.js +32 -0
  38. package/cjs/card-group/type.d.ts +9 -0
  39. package/cjs/card-group/type.d.ts.map +1 -0
  40. package/cjs/card-group/type.js +5 -0
  41. package/cjs/carousel/carousel.js +2 -2
  42. package/cjs/carousel/token.js +2 -2
  43. package/cjs/carousel/type.d.ts +2 -2
  44. package/cjs/cascader/cascader.d.ts +4 -0
  45. package/cjs/cascader/cascader.d.ts.map +1 -0
  46. package/cjs/cascader/cascader.js +82 -0
  47. package/cjs/cascader/index.d.ts +3 -0
  48. package/cjs/cascader/index.d.ts.map +1 -0
  49. package/cjs/cascader/index.js +17 -0
  50. package/cjs/cascader/rule.d.ts +2 -0
  51. package/cjs/cascader/rule.d.ts.map +1 -0
  52. package/cjs/cascader/rule.js +16 -0
  53. package/cjs/cascader/token.d.ts +2 -0
  54. package/cjs/cascader/token.d.ts.map +1 -0
  55. package/cjs/cascader/token.js +261 -0
  56. package/cjs/cascader/type.d.ts +417 -0
  57. package/cjs/cascader/type.d.ts.map +1 -0
  58. package/cjs/cascader/type.js +5 -0
  59. package/cjs/collapse/collapse.d.ts +4 -0
  60. package/cjs/collapse/collapse.d.ts.map +1 -0
  61. package/cjs/collapse/collapse.js +41 -0
  62. package/cjs/collapse/index.d.ts +3 -0
  63. package/cjs/collapse/index.d.ts.map +1 -0
  64. package/cjs/collapse/index.js +17 -0
  65. package/cjs/collapse/rule.d.ts +2 -0
  66. package/cjs/collapse/rule.d.ts.map +1 -0
  67. package/cjs/collapse/rule.js +17 -0
  68. package/cjs/collapse/token.d.ts +2 -0
  69. package/cjs/collapse/token.d.ts.map +1 -0
  70. package/cjs/collapse/token.js +152 -0
  71. package/cjs/collapse/type.d.ts +171 -0
  72. package/cjs/collapse/type.d.ts.map +1 -0
  73. package/cjs/collapse/type.js +5 -0
  74. package/cjs/date-picker/date-picker.d.ts.map +1 -1
  75. package/cjs/date-picker/date-picker.js +9 -5
  76. package/cjs/date-picker/token.js +18 -6
  77. package/cjs/date-picker/type.d.ts +29 -5
  78. package/cjs/date-picker/type.d.ts.map +1 -1
  79. package/cjs/descriptions/descriptions.d.ts +4 -0
  80. package/cjs/descriptions/descriptions.d.ts.map +1 -0
  81. package/cjs/descriptions/descriptions.js +40 -0
  82. package/cjs/descriptions/index.d.ts +3 -0
  83. package/cjs/descriptions/index.d.ts.map +1 -0
  84. package/cjs/descriptions/index.js +17 -0
  85. package/cjs/descriptions/rule.d.ts +2 -0
  86. package/cjs/descriptions/rule.d.ts.map +1 -0
  87. package/cjs/descriptions/rule.js +23 -0
  88. package/cjs/descriptions/token.d.ts +2 -0
  89. package/cjs/descriptions/token.d.ts.map +1 -0
  90. package/cjs/descriptions/token.js +120 -0
  91. package/cjs/descriptions/type.d.ts +165 -0
  92. package/cjs/descriptions/type.d.ts.map +1 -0
  93. package/cjs/descriptions/type.js +5 -0
  94. package/cjs/divider/divider.js +1 -1
  95. package/cjs/divider/token.js +1 -1
  96. package/cjs/divider/type.d.ts +1 -1
  97. package/cjs/dropdown/dropdown.d.ts.map +1 -1
  98. package/cjs/dropdown/dropdown.js +1 -0
  99. package/cjs/dropdown/token.js +7 -1
  100. package/cjs/dropdown/type.d.ts +6 -0
  101. package/cjs/dropdown/type.d.ts.map +1 -1
  102. package/cjs/image/image.d.ts.map +1 -1
  103. package/cjs/image/image.js +1 -0
  104. package/cjs/image/token.js +5 -1
  105. package/cjs/image/type.d.ts +6 -0
  106. package/cjs/image/type.d.ts.map +1 -1
  107. package/cjs/index.d.ts +9 -3
  108. package/cjs/index.d.ts.map +1 -1
  109. package/cjs/index.js +9 -3
  110. package/cjs/input/input.d.ts.map +1 -1
  111. package/cjs/input/input.js +2 -1
  112. package/cjs/input/rule.js +1 -1
  113. package/cjs/input/token.js +27 -2
  114. package/cjs/input/type.d.ts +7 -1
  115. package/cjs/input/type.d.ts.map +1 -1
  116. package/cjs/menu/menu.d.ts.map +1 -1
  117. package/cjs/menu/menu.js +2 -1
  118. package/cjs/menu/token.js +4 -1
  119. package/cjs/menu/type.d.ts +7 -1
  120. package/cjs/menu/type.d.ts.map +1 -1
  121. package/cjs/modal/modal.d.ts.map +1 -1
  122. package/cjs/modal/modal.js +1 -0
  123. package/cjs/modal/token.js +2 -1
  124. package/cjs/modal/type.d.ts +6 -0
  125. package/cjs/modal/type.d.ts.map +1 -1
  126. package/cjs/radio/radio.js +1 -1
  127. package/cjs/radio/token.js +1 -1
  128. package/cjs/radio/type.d.ts +1 -1
  129. package/cjs/select/select.d.ts.map +1 -1
  130. package/cjs/select/select.js +24 -4
  131. package/cjs/select/token.js +74 -6
  132. package/cjs/select/type.d.ts +125 -5
  133. package/cjs/select/type.d.ts.map +1 -1
  134. package/cjs/slider/slider.d.ts.map +1 -1
  135. package/cjs/slider/slider.js +1 -0
  136. package/cjs/slider/token.js +2 -1
  137. package/cjs/slider/type.d.ts +6 -0
  138. package/cjs/slider/type.d.ts.map +1 -1
  139. package/cjs/steps/steps.d.ts.map +1 -1
  140. package/cjs/steps/steps.js +1 -0
  141. package/cjs/steps/token.js +5 -0
  142. package/cjs/steps/type.d.ts +6 -0
  143. package/cjs/steps/type.d.ts.map +1 -1
  144. package/cjs/switch/switch.d.ts.map +1 -1
  145. package/cjs/switch/switch.js +4 -3
  146. package/cjs/switch/token.js +7 -2
  147. package/cjs/switch/type.d.ts +24 -18
  148. package/cjs/switch/type.d.ts.map +1 -1
  149. package/cjs/table/table.d.ts.map +1 -1
  150. package/cjs/table/table.js +3 -2
  151. package/cjs/table/token.js +6 -1
  152. package/cjs/table/type.d.ts +8 -2
  153. package/cjs/table/type.d.ts.map +1 -1
  154. package/cjs/tabs/tabs.d.ts.map +1 -1
  155. package/cjs/tabs/tabs.js +5 -2
  156. package/cjs/tabs/token.js +21 -4
  157. package/cjs/tabs/type.d.ts +20 -2
  158. package/cjs/tabs/type.d.ts.map +1 -1
  159. package/cjs/tag/tag.d.ts +2 -2
  160. package/cjs/tag/tag.d.ts.map +1 -1
  161. package/cjs/tag/tag.js +16 -3
  162. package/cjs/tag/token.js +14 -14
  163. package/cjs/tag/type.d.ts +79 -1
  164. package/cjs/tag/type.d.ts.map +1 -1
  165. package/cjs/textarea/textarea.js +1 -1
  166. package/cjs/textarea/token.js +1 -1
  167. package/cjs/textarea/type.d.ts +1 -1
  168. package/cjs/token/figma.js +67 -62
  169. package/cjs/token/token.d.ts.map +1 -1
  170. package/cjs/token/token.js +63 -62
  171. package/cjs/token/type.d.ts +69 -62
  172. package/cjs/token/type.d.ts.map +1 -1
  173. package/cjs/tooltip/token.js +9 -9
  174. package/cjs/tooltip/tooltip.js +9 -9
  175. package/cjs/tooltip/type.d.ts +9 -9
  176. package/cjs/tree/token.js +12 -1
  177. package/cjs/tree/tree.d.ts.map +1 -1
  178. package/cjs/tree/tree.js +2 -0
  179. package/cjs/tree/type.d.ts +12 -0
  180. package/cjs/tree/type.d.ts.map +1 -1
  181. package/cjs/tree-select/index.d.ts +3 -0
  182. package/cjs/tree-select/index.d.ts.map +1 -0
  183. package/cjs/tree-select/index.js +17 -0
  184. package/cjs/tree-select/rule.d.ts +2 -0
  185. package/cjs/tree-select/rule.d.ts.map +1 -0
  186. package/cjs/tree-select/rule.js +16 -0
  187. package/cjs/tree-select/token.d.ts +2 -0
  188. package/cjs/tree-select/token.d.ts.map +1 -0
  189. package/cjs/tree-select/token.js +256 -0
  190. package/cjs/tree-select/tree-select.d.ts +4 -0
  191. package/cjs/tree-select/tree-select.d.ts.map +1 -0
  192. package/cjs/tree-select/tree-select.js +81 -0
  193. package/cjs/tree-select/type.d.ts +411 -0
  194. package/cjs/tree-select/type.d.ts.map +1 -0
  195. package/cjs/tree-select/type.js +5 -0
  196. package/cjs/upload/token.js +13 -2
  197. package/cjs/upload/type.d.ts +20 -2
  198. package/cjs/upload/type.d.ts.map +1 -1
  199. package/cjs/upload/upload.d.ts.map +1 -1
  200. package/cjs/upload/upload.js +5 -2
  201. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  202. package/esm/breadcrumb/breadcrumb.js +2 -0
  203. package/esm/breadcrumb/token.js +8 -0
  204. package/esm/breadcrumb/type.d.ts +12 -0
  205. package/esm/breadcrumb/type.d.ts.map +1 -1
  206. package/esm/button/button.d.ts.map +1 -1
  207. package/esm/button/button.js +14 -12
  208. package/esm/button/token.js +29 -14
  209. package/esm/button/type.d.ts +24 -12
  210. package/esm/button/type.d.ts.map +1 -1
  211. package/esm/card/card.d.ts +4 -0
  212. package/esm/card/card.d.ts.map +1 -0
  213. package/esm/card/card.js +25 -0
  214. package/esm/card/index.d.ts +3 -0
  215. package/esm/card/index.d.ts.map +1 -0
  216. package/esm/card/index.js +17 -0
  217. package/esm/card/rule.d.ts +2 -0
  218. package/esm/card/rule.d.ts.map +1 -0
  219. package/esm/card/rule.js +16 -0
  220. package/esm/card/token.d.ts +2 -0
  221. package/esm/card/token.d.ts.map +1 -0
  222. package/esm/card/token.js +66 -0
  223. package/esm/card/type.d.ts +75 -0
  224. package/esm/card/type.d.ts.map +1 -0
  225. package/esm/card/type.js +5 -0
  226. package/esm/card-group/card-group.d.ts +4 -0
  227. package/esm/card-group/card-group.d.ts.map +1 -0
  228. package/esm/card-group/card-group.js +14 -0
  229. package/esm/card-group/index.d.ts +3 -0
  230. package/esm/card-group/index.d.ts.map +1 -0
  231. package/esm/card-group/index.js +17 -0
  232. package/esm/card-group/rule.d.ts +2 -0
  233. package/esm/card-group/rule.d.ts.map +1 -0
  234. package/esm/card-group/rule.js +16 -0
  235. package/esm/card-group/token.d.ts +2 -0
  236. package/esm/card-group/token.d.ts.map +1 -0
  237. package/esm/card-group/token.js +32 -0
  238. package/esm/card-group/type.d.ts +9 -0
  239. package/esm/card-group/type.d.ts.map +1 -0
  240. package/esm/card-group/type.js +5 -0
  241. package/esm/carousel/carousel.js +2 -2
  242. package/esm/carousel/token.js +2 -2
  243. package/esm/carousel/type.d.ts +2 -2
  244. package/esm/cascader/cascader.d.ts +4 -0
  245. package/esm/cascader/cascader.d.ts.map +1 -0
  246. package/esm/cascader/cascader.js +82 -0
  247. package/esm/cascader/index.d.ts +3 -0
  248. package/esm/cascader/index.d.ts.map +1 -0
  249. package/esm/cascader/index.js +17 -0
  250. package/esm/cascader/rule.d.ts +2 -0
  251. package/esm/cascader/rule.d.ts.map +1 -0
  252. package/esm/cascader/rule.js +16 -0
  253. package/esm/cascader/token.d.ts +2 -0
  254. package/esm/cascader/token.d.ts.map +1 -0
  255. package/esm/cascader/token.js +261 -0
  256. package/esm/cascader/type.d.ts +417 -0
  257. package/esm/cascader/type.d.ts.map +1 -0
  258. package/esm/cascader/type.js +5 -0
  259. package/esm/collapse/collapse.d.ts +4 -0
  260. package/esm/collapse/collapse.d.ts.map +1 -0
  261. package/esm/collapse/collapse.js +41 -0
  262. package/esm/collapse/index.d.ts +3 -0
  263. package/esm/collapse/index.d.ts.map +1 -0
  264. package/esm/collapse/index.js +17 -0
  265. package/esm/collapse/rule.d.ts +2 -0
  266. package/esm/collapse/rule.d.ts.map +1 -0
  267. package/esm/collapse/rule.js +17 -0
  268. package/esm/collapse/token.d.ts +2 -0
  269. package/esm/collapse/token.d.ts.map +1 -0
  270. package/esm/collapse/token.js +152 -0
  271. package/esm/collapse/type.d.ts +171 -0
  272. package/esm/collapse/type.d.ts.map +1 -0
  273. package/esm/collapse/type.js +5 -0
  274. package/esm/date-picker/date-picker.d.ts.map +1 -1
  275. package/esm/date-picker/date-picker.js +9 -5
  276. package/esm/date-picker/token.js +18 -6
  277. package/esm/date-picker/type.d.ts +29 -5
  278. package/esm/date-picker/type.d.ts.map +1 -1
  279. package/esm/descriptions/descriptions.d.ts +4 -0
  280. package/esm/descriptions/descriptions.d.ts.map +1 -0
  281. package/esm/descriptions/descriptions.js +40 -0
  282. package/esm/descriptions/index.d.ts +3 -0
  283. package/esm/descriptions/index.d.ts.map +1 -0
  284. package/esm/descriptions/index.js +17 -0
  285. package/esm/descriptions/rule.d.ts +2 -0
  286. package/esm/descriptions/rule.d.ts.map +1 -0
  287. package/esm/descriptions/rule.js +23 -0
  288. package/esm/descriptions/token.d.ts +2 -0
  289. package/esm/descriptions/token.d.ts.map +1 -0
  290. package/esm/descriptions/token.js +120 -0
  291. package/esm/descriptions/type.d.ts +165 -0
  292. package/esm/descriptions/type.d.ts.map +1 -0
  293. package/esm/descriptions/type.js +5 -0
  294. package/esm/divider/divider.js +1 -1
  295. package/esm/divider/token.js +1 -1
  296. package/esm/divider/type.d.ts +1 -1
  297. package/esm/dropdown/dropdown.d.ts.map +1 -1
  298. package/esm/dropdown/dropdown.js +1 -0
  299. package/esm/dropdown/token.js +7 -1
  300. package/esm/dropdown/type.d.ts +6 -0
  301. package/esm/dropdown/type.d.ts.map +1 -1
  302. package/esm/image/image.d.ts.map +1 -1
  303. package/esm/image/image.js +1 -0
  304. package/esm/image/token.js +5 -1
  305. package/esm/image/type.d.ts +6 -0
  306. package/esm/image/type.d.ts.map +1 -1
  307. package/esm/index.d.ts +9 -3
  308. package/esm/index.d.ts.map +1 -1
  309. package/esm/index.js +9 -3
  310. package/esm/input/input.d.ts.map +1 -1
  311. package/esm/input/input.js +2 -1
  312. package/esm/input/rule.js +1 -1
  313. package/esm/input/token.js +27 -2
  314. package/esm/input/type.d.ts +7 -1
  315. package/esm/input/type.d.ts.map +1 -1
  316. package/esm/menu/menu.d.ts.map +1 -1
  317. package/esm/menu/menu.js +2 -1
  318. package/esm/menu/token.js +4 -1
  319. package/esm/menu/type.d.ts +7 -1
  320. package/esm/menu/type.d.ts.map +1 -1
  321. package/esm/modal/modal.d.ts.map +1 -1
  322. package/esm/modal/modal.js +1 -0
  323. package/esm/modal/token.js +2 -1
  324. package/esm/modal/type.d.ts +6 -0
  325. package/esm/modal/type.d.ts.map +1 -1
  326. package/esm/radio/radio.js +1 -1
  327. package/esm/radio/token.js +1 -1
  328. package/esm/radio/type.d.ts +1 -1
  329. package/esm/select/select.d.ts.map +1 -1
  330. package/esm/select/select.js +24 -4
  331. package/esm/select/token.js +74 -6
  332. package/esm/select/type.d.ts +125 -5
  333. package/esm/select/type.d.ts.map +1 -1
  334. package/esm/slider/slider.d.ts.map +1 -1
  335. package/esm/slider/slider.js +1 -0
  336. package/esm/slider/token.js +2 -1
  337. package/esm/slider/type.d.ts +6 -0
  338. package/esm/slider/type.d.ts.map +1 -1
  339. package/esm/steps/steps.d.ts.map +1 -1
  340. package/esm/steps/steps.js +1 -0
  341. package/esm/steps/token.js +5 -0
  342. package/esm/steps/type.d.ts +6 -0
  343. package/esm/steps/type.d.ts.map +1 -1
  344. package/esm/switch/switch.d.ts.map +1 -1
  345. package/esm/switch/switch.js +4 -3
  346. package/esm/switch/token.js +7 -2
  347. package/esm/switch/type.d.ts +24 -18
  348. package/esm/switch/type.d.ts.map +1 -1
  349. package/esm/table/table.d.ts.map +1 -1
  350. package/esm/table/table.js +3 -2
  351. package/esm/table/token.js +6 -1
  352. package/esm/table/type.d.ts +8 -2
  353. package/esm/table/type.d.ts.map +1 -1
  354. package/esm/tabs/tabs.d.ts.map +1 -1
  355. package/esm/tabs/tabs.js +5 -2
  356. package/esm/tabs/token.js +21 -4
  357. package/esm/tabs/type.d.ts +20 -2
  358. package/esm/tabs/type.d.ts.map +1 -1
  359. package/esm/tag/tag.d.ts +2 -2
  360. package/esm/tag/tag.d.ts.map +1 -1
  361. package/esm/tag/tag.js +16 -3
  362. package/esm/tag/token.js +14 -14
  363. package/esm/tag/type.d.ts +79 -1
  364. package/esm/tag/type.d.ts.map +1 -1
  365. package/esm/textarea/textarea.js +1 -1
  366. package/esm/textarea/token.js +1 -1
  367. package/esm/textarea/type.d.ts +1 -1
  368. package/esm/token/figma.js +67 -62
  369. package/esm/token/token.d.ts.map +1 -1
  370. package/esm/token/token.js +63 -62
  371. package/esm/token/type.d.ts +69 -62
  372. package/esm/token/type.d.ts.map +1 -1
  373. package/esm/tooltip/token.js +9 -9
  374. package/esm/tooltip/tooltip.js +9 -9
  375. package/esm/tooltip/type.d.ts +9 -9
  376. package/esm/tree/token.js +12 -1
  377. package/esm/tree/tree.d.ts.map +1 -1
  378. package/esm/tree/tree.js +2 -0
  379. package/esm/tree/type.d.ts +12 -0
  380. package/esm/tree/type.d.ts.map +1 -1
  381. package/esm/tree-select/index.d.ts +3 -0
  382. package/esm/tree-select/index.d.ts.map +1 -0
  383. package/esm/tree-select/index.js +17 -0
  384. package/esm/tree-select/rule.d.ts +2 -0
  385. package/esm/tree-select/rule.d.ts.map +1 -0
  386. package/esm/tree-select/rule.js +16 -0
  387. package/esm/tree-select/token.d.ts +2 -0
  388. package/esm/tree-select/token.d.ts.map +1 -0
  389. package/esm/tree-select/token.js +256 -0
  390. package/esm/tree-select/tree-select.d.ts +4 -0
  391. package/esm/tree-select/tree-select.d.ts.map +1 -0
  392. package/esm/tree-select/tree-select.js +81 -0
  393. package/esm/tree-select/type.d.ts +411 -0
  394. package/esm/tree-select/type.d.ts.map +1 -0
  395. package/esm/tree-select/type.js +5 -0
  396. package/esm/upload/token.js +13 -2
  397. package/esm/upload/type.d.ts +20 -2
  398. package/esm/upload/type.d.ts.map +1 -1
  399. package/esm/upload/upload.d.ts.map +1 -1
  400. package/esm/upload/upload.js +5 -2
  401. package/package.json +1 -1
@@ -25,6 +25,7 @@ var inputTokens = {
25
25
  inputBackgroundColor: 'Neutral-fill-1',
26
26
  inputClearColor: 'Neutral-text-3',
27
27
  inputToggleColor: 'Neutral-text-4',
28
+ inputIconColor: 'Neutral-text-4',
28
29
  inputHoverBorderColor: 'Brand-6',
29
30
  inputHoverClearColor: 'Neutral-text-4',
30
31
  inputHoverToggleColor: 'Neutral-text-5',
@@ -32,7 +33,7 @@ var inputTokens = {
32
33
  inputFocusShadow: 'Brand-2',
33
34
  inputDisabledFontColor: 'Neutral-text-2',
34
35
  inputDisabledPlaceholderColor: 'Neutral-text-2',
35
- inputDisabledBorderColor: 'Neutral-border-2',
36
+ inputDisabledBorderColor: 'Neutral-border-1',
36
37
  inputDisabledBackgroundColor: 'Neutral-fill-2',
37
38
  inputErrorBorderColor: 'Danger-6',
38
39
  inputErrorFocusShadow: 'Danger-1',
package/cjs/input/rule.js CHANGED
@@ -10,7 +10,7 @@
10
10
  */
11
11
  var inputRules = {
12
12
  size: [['', 'small', 'large'], ['font-size', 'border-radius', 'padding-x', 'padding-y', 'icon-size']],
13
- color: [['', 'disabled', 'error'], ['', 'hover', 'focus'], ['font-color', 'placeholder-color', 'border-color', 'background-color', 'shadow', 'clear-color', 'toggle-color']],
13
+ color: [['', 'disabled', 'error'], ['', 'hover', 'focus'], ['font-color', 'placeholder-color', 'border-color', 'background-color', 'shadow', 'clear-color', 'toggle-color', 'icon-color']],
14
14
  infoColor: [['info'], ['', 'error'], ['font-color', 'background-color', 'border-color']],
15
15
  innerSize: [['inner'], ['', 'small', 'large'], ['padding-x', 'padding-y', 'font-size']],
16
16
  innerColor: [['inner'], ['font-color']]
@@ -35,7 +35,8 @@ var inputTokenValue = {
35
35
  y: 'Padding-4'
36
36
  },
37
37
  icon: {
38
- size: 'Size-7'
38
+ size: 'Size-7',
39
+ color: 'Neutral-text-4'
39
40
  },
40
41
  small: {
41
42
  font: {
@@ -99,6 +100,9 @@ var inputTokenValue = {
99
100
  },
100
101
  toggle: {
101
102
  color: 'Neutral-text-5'
103
+ },
104
+ icon: {
105
+ color: ''
102
106
  }
103
107
  },
104
108
  focus: {
@@ -120,6 +124,9 @@ var inputTokenValue = {
120
124
  },
121
125
  toggle: {
122
126
  color: ''
127
+ },
128
+ icon: {
129
+ color: ''
123
130
  }
124
131
  },
125
132
  disabled: {
@@ -130,7 +137,7 @@ var inputTokenValue = {
130
137
  color: 'Neutral-text-2'
131
138
  },
132
139
  border: {
133
- color: 'Neutral-border-2'
140
+ color: 'Neutral-border-1'
134
141
  },
135
142
  background: {
136
143
  color: 'Neutral-fill-2'
@@ -142,6 +149,9 @@ var inputTokenValue = {
142
149
  toggle: {
143
150
  color: ''
144
151
  },
152
+ icon: {
153
+ color: ''
154
+ },
145
155
  hover: {
146
156
  font: {
147
157
  color: ''
@@ -161,6 +171,9 @@ var inputTokenValue = {
161
171
  },
162
172
  toggle: {
163
173
  color: ''
174
+ },
175
+ icon: {
176
+ color: ''
164
177
  }
165
178
  },
166
179
  focus: {
@@ -182,6 +195,9 @@ var inputTokenValue = {
182
195
  },
183
196
  toggle: {
184
197
  color: ''
198
+ },
199
+ icon: {
200
+ color: ''
185
201
  }
186
202
  }
187
203
  },
@@ -205,6 +221,9 @@ var inputTokenValue = {
205
221
  toggle: {
206
222
  color: ''
207
223
  },
224
+ icon: {
225
+ color: ''
226
+ },
208
227
  hover: {
209
228
  font: {
210
229
  color: ''
@@ -224,6 +243,9 @@ var inputTokenValue = {
224
243
  },
225
244
  toggle: {
226
245
  color: ''
246
+ },
247
+ icon: {
248
+ color: ''
227
249
  }
228
250
  },
229
251
  focus: {
@@ -245,6 +267,9 @@ var inputTokenValue = {
245
267
  },
246
268
  toggle: {
247
269
  color: ''
270
+ },
271
+ icon: {
272
+ color: ''
248
273
  }
249
274
  }
250
275
  },
@@ -101,6 +101,12 @@ export interface InputTokens {
101
101
  * @description 输入框undefined颜色
102
102
  */
103
103
  inputToggleColor: string;
104
+ /**
105
+ * @type {string}
106
+ * @token Neutral-text-4
107
+ * @description 输入框图标颜色
108
+ */
109
+ inputIconColor: string;
104
110
  /**
105
111
  * @type {string}
106
112
  * @token Brand-6
@@ -145,7 +151,7 @@ export interface InputTokens {
145
151
  inputDisabledPlaceholderColor: string;
146
152
  /**
147
153
  * @type {string}
148
- * @token Neutral-border-2
154
+ * @token Neutral-border-1
149
155
  * @description 输入框禁用时的边框颜色
150
156
  */
151
157
  inputDisabledBorderColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAA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MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["menu.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UA4BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["menu.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UA6BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/cjs/menu/menu.js CHANGED
@@ -10,6 +10,7 @@ exports.default = void 0;
10
10
  var menuTokens = {
11
11
  menuFontSize: '14/regular',
12
12
  menuFontColor: 'Neutral-text-5',
13
+ menuIconColor: 'Neutral-text-4',
13
14
  menuItemBackgroundColor: 'Neutral-fill-1',
14
15
  menuItemFontColor: 'Neutral-text-5',
15
16
  menuItemHoverBackgroundColor: 'Neutral-fill-2',
@@ -22,7 +23,7 @@ var menuTokens = {
22
23
  menuTitlePaddingY: '9px',
23
24
  menuExpandWidth: '46px',
24
25
  menuExpandSize: '14px',
25
- menuExpandHoverBackgroundColor: 'Brand-2',
26
+ menuExpandHoverBackgroundColor: 'Neutral-fill-3',
26
27
  menuChildrenBoxShadow: '0 2px 8px rgba(0, 0, 0, 0.15)',
27
28
  menuDarkFontColor: 'Neutral-text-1',
28
29
  menuDarkItemBackgroundColor: 'Neutral-fill-10',
package/cjs/menu/token.js CHANGED
@@ -25,6 +25,9 @@ var menuTokenExtraValue = {
25
25
  size: '14/regular',
26
26
  color: 'Neutral-text-5'
27
27
  },
28
+ icon: {
29
+ color: 'Neutral-text-4'
30
+ },
28
31
  item: {
29
32
  background: {
30
33
  color: 'Neutral-fill-1'
@@ -68,7 +71,7 @@ var menuTokenExtraValue = {
68
71
  size: '14px',
69
72
  hover: {
70
73
  background: {
71
- color: 'Brand-2'
74
+ color: 'Neutral-fill-3'
72
75
  }
73
76
  }
74
77
  },
@@ -11,6 +11,12 @@ export interface MenuTokens {
11
11
  * @description xxx字体颜色
12
12
  */
13
13
  menuFontColor: string;
14
+ /**
15
+ * @type {string}
16
+ * @token Neutral-text-4
17
+ * @description xxx图标颜色
18
+ */
19
+ menuIconColor: string;
14
20
  /**
15
21
  * @type {string}
16
22
  * @token Neutral-fill-1
@@ -85,7 +91,7 @@ export interface MenuTokens {
85
91
  menuExpandSize: string;
86
92
  /**
87
93
  * @type {string}
88
- * @token Brand-2
94
+ * @token Neutral-fill-3
89
95
  * @description xxxundefined鼠标移入时的背景颜色
90
96
  */
91
97
  menuExpandHoverBackgroundColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,6BAA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AO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WAyBlB,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,WA0BlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -23,6 +23,7 @@ var modalTokens = {
23
23
  modalHeaderCloseMarginXStart: 'Margin-16',
24
24
  modalHeaderCloseSize: 'Size-8',
25
25
  modalHeaderCloseTop: 'Size-2',
26
+ modalHeaderCloseColor: 'Neutral-text-4',
26
27
  modalHeaderFontSize: '16/regular',
27
28
  modalDrawerTitlePaddingY: 'Padding-12',
28
29
  modalDrawerTitlePaddingX: 'Padding-16',
@@ -59,7 +59,8 @@ var modalTokenExtraValue = {
59
59
  }
60
60
  },
61
61
  size: 'Size-8',
62
- top: 'Size-2'
62
+ top: 'Size-2',
63
+ color: 'Neutral-text-4'
63
64
  },
64
65
  font: {
65
66
  size: '16/regular'
@@ -89,6 +89,12 @@ export interface ModalTokens {
89
89
  * @description xxxundefinedundefinedundefined
90
90
  */
91
91
  modalHeaderCloseTop: string;
92
+ /**
93
+ * @type {string}
94
+ * @token Neutral-text-4
95
+ * @description xxxundefinedundefined颜色
96
+ */
97
+ modalHeaderCloseColor: string;
92
98
  /**
93
99
  * @type {string}
94
100
  * @token 16/regular
@@ -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,CAA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C3B;;;;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"}
@@ -15,7 +15,7 @@ var radioTokens = {
15
15
  radioIconBorderWidth: 'Border-2',
16
16
  radioIconInnerSize: 'Size-3',
17
17
  radioIconBackgroundColor: 'Neutral-fill-1',
18
- radioIconColor: 'Neutral-text-3',
18
+ radioIconColor: 'Neutral-border-2',
19
19
  radioIconDisabledBackgroundColor: 'Neutral-fill-2',
20
20
  radioIconDisabledColor: 'Neutral-border-1',
21
21
  radioIconHoverBackgroundColor: 'Neutral-fill-1',
@@ -39,7 +39,7 @@ var radioTokenExtraValue = {
39
39
  background: {
40
40
  color: 'Neutral-fill-1'
41
41
  },
42
- color: 'Neutral-text-3',
42
+ color: 'Neutral-border-2',
43
43
  disabled: {
44
44
  background: {
45
45
  color: 'Neutral-fill-2'
@@ -43,7 +43,7 @@ export interface RadioTokens {
43
43
  radioIconBackgroundColor: string;
44
44
  /**
45
45
  * @type {string}
46
- * @token Neutral-text-3
46
+ * @token Neutral-border-2
47
47
  * @description 单选框图标颜色
48
48
  */
49
49
  radioIconColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YAiDnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YAqEnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -8,30 +8,41 @@ 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 selectTokens = {
11
+ selectWidth: 'Size-120',
11
12
  selectFontSize: '14/regular',
12
13
  selectFontColor: 'Neutral-text-5',
13
14
  selectBorderRadius: 'Radius-4',
14
15
  selectBorderColor: 'Neutral-border-2',
15
16
  selectPaddingX: 'Padding-8',
16
- selectPaddingY: 'Padding-4',
17
+ selectPaddingY: 'Padding-2',
17
18
  selectIconSize: 'Size-7',
18
19
  selectIconColor: 'Neutral-text-4',
19
20
  selectSmallFontSize: '12/regular',
20
21
  selectSmallPaddingX: 'Padding-8',
21
22
  selectSmallPaddingY: 'Padding-1',
23
+ selectSmallOptionInnerPaddingX: 'Padding-8',
24
+ selectSmallOptionInnerPaddingY: 'Padding-2',
22
25
  selectLargeFontSize: '16/regular',
23
26
  selectLargePaddingX: 'Padding-12',
24
- selectLargePaddingY: 'Padding-7',
27
+ selectLargePaddingY: 'Padding-3',
28
+ selectLargeOptionInnerPaddingX: 'Padding-12',
29
+ selectLargeOptionInnerPaddingY: 'Padding-8',
30
+ selectLargePlaceholderMarginY: 'Padding-4',
31
+ selectInnerPaddingX: 'Padding-8',
32
+ selectInnerPaddingY: 'Padding-5',
25
33
  selectPlaceholderColor: 'Neutral-text-2',
34
+ selectPlaceholderMarginY: 'Padding-2',
26
35
  selectBackgroundColor: 'Neutral-fill-1',
27
36
  selectClearColor: 'Neutral-text-3',
37
+ selectClearPadding: 'Padding-8',
28
38
  selectHoverBorderColor: 'Brand-6',
29
39
  selectHoverClearColor: 'Neutral-text-4',
30
40
  selectFocusBorderColor: 'Brand-7',
31
41
  selectFocusShadow: 'Brand-2',
42
+ selectDisabledIconColor: 'Neutral-text-2',
32
43
  selectDisabledFontColor: 'Neutral-text-2',
33
44
  selectDisabledPlaceholderColor: 'Neutral-text-2',
34
- selectDisabledBorderColor: 'Neutral-border-2',
45
+ selectDisabledBorderColor: 'Neutral-border-1',
35
46
  selectDisabledBackgroundColor: 'Neutral-fill-2',
36
47
  selectResultTextBorderRadius: 'Radius-4',
37
48
  selectResultTextPaddingX: 'Padding-4',
@@ -55,7 +66,16 @@ var selectTokens = {
55
66
  selectOptionInnerBorderRadius: 'Radius-2',
56
67
  selectOptionHoverBackgroundColor: 'Neutral-fill-2',
57
68
  selectOptionDisabledColor: 'Neutral-text-2',
58
- selectOptionDisabledBackgroundColor: 'Neutral-fill-1'
69
+ selectOptionDisabledBackgroundColor: 'Neutral-fill-1',
70
+ selectMorePadding: 'Padding-8',
71
+ selectHeaderPadding: 'Padding-8',
72
+ selectHeaderBorderColor: 'Neutral-border-1',
73
+ selectGroupTitleFontColor: 'Neutral-text-3',
74
+ selectGroupTitleFontSize: '12/regular',
75
+ selectGroupTitlePaddingX: 'Padding-12',
76
+ selectGroupTitlePaddingY: 'Padding-6',
77
+ selectColumnPadding: 'Padding-8',
78
+ selectColumnOptionMargin: 'Margin-8'
59
79
  };
60
80
  var _default = selectTokens;
61
81
  exports.default = _default;
@@ -15,7 +15,13 @@ var selectTokenDescription = {
15
15
  text: '文本',
16
16
  option: '选项',
17
17
  right: '(右侧)',
18
- inner: '内部容器的'
18
+ inner: '内部容器的',
19
+ clear: '清除按钮的',
20
+ more: '折叠内容的',
21
+ header: '列表头部的',
22
+ group: '分组',
23
+ title: '标题的',
24
+ column: '多列模式下'
19
25
  };
20
26
 
21
27
  /**
@@ -31,6 +37,7 @@ var selectTokenValue = {
31
37
  }
32
38
  };
33
39
  var selectTokenExtraValue = {
40
+ width: 'Size-120',
34
41
  font: {
35
42
  size: '14/regular',
36
43
  color: 'Neutral-text-5'
@@ -41,7 +48,7 @@ var selectTokenExtraValue = {
41
48
  },
42
49
  padding: {
43
50
  x: 'Padding-8',
44
- y: 'Padding-4'
51
+ y: 'Padding-2'
45
52
  },
46
53
  icon: {
47
54
  size: 'Size-7',
@@ -57,6 +64,14 @@ var selectTokenExtraValue = {
57
64
  padding: {
58
65
  x: 'Padding-8',
59
66
  y: 'Padding-1'
67
+ },
68
+ option: {
69
+ inner: {
70
+ padding: {
71
+ x: 'Padding-8',
72
+ y: 'Padding-2'
73
+ }
74
+ }
60
75
  }
61
76
  },
62
77
  large: {
@@ -65,17 +80,40 @@ var selectTokenExtraValue = {
65
80
  },
66
81
  padding: {
67
82
  x: 'Padding-12',
68
- y: 'Padding-7'
83
+ y: 'Padding-3'
84
+ },
85
+ option: {
86
+ inner: {
87
+ padding: {
88
+ x: 'Padding-12',
89
+ y: 'Padding-8'
90
+ }
91
+ }
92
+ },
93
+ placeholder: {
94
+ margin: {
95
+ y: 'Padding-4'
96
+ }
97
+ }
98
+ },
99
+ inner: {
100
+ padding: {
101
+ x: 'Padding-8',
102
+ y: 'Padding-5'
69
103
  }
70
104
  },
71
105
  placeholder: {
72
- color: 'Neutral-text-2'
106
+ color: 'Neutral-text-2',
107
+ margin: {
108
+ y: 'Padding-2'
109
+ }
73
110
  },
74
111
  background: {
75
112
  color: 'Neutral-fill-1'
76
113
  },
77
114
  clear: {
78
- color: 'Neutral-text-3'
115
+ color: 'Neutral-text-3',
116
+ padding: 'Padding-8'
79
117
  },
80
118
  hover: {
81
119
  border: {
@@ -92,6 +130,9 @@ var selectTokenExtraValue = {
92
130
  shadow: 'Brand-2'
93
131
  },
94
132
  disabled: {
133
+ icon: {
134
+ color: 'Neutral-text-2'
135
+ },
95
136
  font: {
96
137
  color: 'Neutral-text-2'
97
138
  },
@@ -99,7 +140,7 @@ var selectTokenExtraValue = {
99
140
  color: 'Neutral-text-2'
100
141
  },
101
142
  border: {
102
- color: 'Neutral-border-2'
143
+ color: 'Neutral-border-1'
103
144
  },
104
145
  background: {
105
146
  color: 'Neutral-fill-2'
@@ -179,6 +220,33 @@ var selectTokenExtraValue = {
179
220
  color: 'Neutral-fill-1'
180
221
  }
181
222
  }
223
+ },
224
+ more: {
225
+ padding: 'Padding-8'
226
+ },
227
+ header: {
228
+ padding: 'Padding-8',
229
+ border: {
230
+ color: 'Neutral-border-1'
231
+ }
232
+ },
233
+ group: {
234
+ title: {
235
+ font: {
236
+ color: 'Neutral-text-3',
237
+ size: '12/regular'
238
+ },
239
+ padding: {
240
+ x: 'Padding-12',
241
+ y: 'Padding-6'
242
+ }
243
+ }
244
+ },
245
+ column: {
246
+ padding: 'Padding-8',
247
+ option: {
248
+ margin: 'Margin-8'
249
+ }
182
250
  }
183
251
  };
184
252
  module.exports = {