@julingbase/jly-arco-design 0.0.1 → 0.0.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 (470) hide show
  1. package/README.md +2 -113
  2. package/dist/arco-vue-icon.js.map +1 -1
  3. package/dist/arco-vue-icon.min.js.map +1 -1
  4. package/dist/arco-vue.js +36 -7
  5. package/dist/arco-vue.js.map +1 -1
  6. package/dist/arco-vue.min.js +472 -469
  7. package/dist/arco-vue.min.js.map +1 -1
  8. package/es/_components/auto-tooltip/style/index.less +10 -10
  9. package/es/_components/input-label/input-label.d.ts +3 -3
  10. package/es/_components/input-label/style/index.less +7 -7
  11. package/es/_components/input-label/style/input-label.less +70 -70
  12. package/es/_components/picker/input-range.d.ts +4 -4
  13. package/es/_components/picker/input.d.ts +2 -2
  14. package/es/_components/picker/style/index.less +191 -191
  15. package/es/_components/picker/style/token.less +58 -58
  16. package/es/_components/select-view/select-view.d.ts +1 -1
  17. package/es/_components/select-view/style/index.less +58 -58
  18. package/es/_components/select-view/style/token.less +4 -4
  19. package/es/affix/style/index.less +8 -8
  20. package/es/alert/style/index.less +198 -198
  21. package/es/alert/style/token.less +76 -76
  22. package/es/anchor/style/index.less +99 -99
  23. package/es/anchor/style/token.less +30 -30
  24. package/es/auto-complete/auto-complete.d.ts +3 -3
  25. package/es/auto-complete/index.d.ts +9 -9
  26. package/es/auto-complete/style/index.less +44 -44
  27. package/es/auto-complete/style/token.less +29 -29
  28. package/es/avatar/style/index.less +155 -155
  29. package/es/avatar/style/token.less +29 -29
  30. package/es/back-top/style/index.less +33 -33
  31. package/es/back-top/style/token.less +12 -12
  32. package/es/badge/style/index.less +178 -178
  33. package/es/badge/style/token.less +30 -30
  34. package/es/breadcrumb/style/index.less +76 -76
  35. package/es/breadcrumb/style/token.less +24 -24
  36. package/es/button/style/index.less +304 -304
  37. package/es/button/style/token.less +459 -459
  38. package/es/calendar/calendar.d.ts +1 -1
  39. package/es/calendar/index.d.ts +3 -3
  40. package/es/calendar/style/index.less +479 -479
  41. package/es/calendar/style/token.less +62 -62
  42. package/es/card/style/index.less +219 -219
  43. package/es/card/style/token.less +40 -40
  44. package/es/carousel/style/index.less +405 -405
  45. package/es/carousel/style/slide.less +175 -175
  46. package/es/carousel/style/token.less +33 -33
  47. package/es/cascader/cascader-panel.d.ts +1 -1
  48. package/es/cascader/cascader.d.ts +5 -5
  49. package/es/cascader/index.d.ts +15 -15
  50. package/es/cascader/style/index.less +234 -234
  51. package/es/cascader/style/token.less +24 -24
  52. package/es/checkbox/checkbox-group.d.ts +2 -2
  53. package/es/checkbox/checkbox.d.ts +1 -1
  54. package/es/checkbox/index.d.ts +5 -5
  55. package/es/checkbox/style/index.less +182 -182
  56. package/es/checkbox/style/token.less +37 -37
  57. package/es/collapse/style/index.less +180 -180
  58. package/es/collapse/style/token.less +34 -34
  59. package/es/color-picker/color-picker.d.ts +1 -1
  60. package/es/color-picker/index.d.ts +3 -3
  61. package/es/color-picker/style/index.less +309 -309
  62. package/es/color-picker/style/token.less +70 -70
  63. package/es/comment/style/index.less +66 -66
  64. package/es/comment/style/token.less +17 -17
  65. package/es/date-picker/index.d.ts +7 -7
  66. package/es/date-picker/picker.d.ts +5 -5
  67. package/es/date-picker/range-picker.d.ts +7 -7
  68. package/es/date-picker/style/date.less +128 -128
  69. package/es/date-picker/style/index.less +309 -309
  70. package/es/date-picker/style/month.less +26 -26
  71. package/es/date-picker/style/quarter.less +8 -8
  72. package/es/date-picker/style/range.less +9 -9
  73. package/es/date-picker/style/shortcuts.less +25 -25
  74. package/es/date-picker/style/token.less +76 -76
  75. package/es/date-picker/style/week.less +68 -68
  76. package/es/date-picker/style/year.less +8 -8
  77. package/es/descriptions/descriptions.d.ts +1 -1
  78. package/es/descriptions/index.d.ts +3 -3
  79. package/es/descriptions/style/index.less +159 -159
  80. package/es/descriptions/style/token.less +45 -45
  81. package/es/divider/style/index.less +56 -56
  82. package/es/divider/style/token.less +15 -15
  83. package/es/drawer/style/index.less +230 -230
  84. package/es/drawer/style/token.less +16 -16
  85. package/es/dropdown/context.d.ts +2 -1
  86. package/es/dropdown/dropdown-button.d.ts +21 -3
  87. package/es/dropdown/dropdown-panel.js +18 -4
  88. package/es/dropdown/dropdown.d.ts +21 -3
  89. package/es/dropdown/dropdown.js +18 -3
  90. package/es/dropdown/index.d.ts +57 -9
  91. package/es/dropdown/style/index.less +106 -106
  92. package/es/dropdown/style/token.less +40 -40
  93. package/es/empty/style/index.less +26 -26
  94. package/es/empty/style/token.less +10 -10
  95. package/es/form/form-item.d.ts +3 -3
  96. package/es/form/index.d.ts +3 -3
  97. package/es/form/style/index.less +257 -257
  98. package/es/form/style/status.less +152 -152
  99. package/es/form/style/token.less +81 -81
  100. package/es/grid/style/col.less +95 -95
  101. package/es/grid/style/grid.less +5 -5
  102. package/es/grid/style/index.less +3 -3
  103. package/es/grid/style/row.less +44 -44
  104. package/es/image/style/image.less +158 -158
  105. package/es/image/style/index.less +5 -5
  106. package/es/image/style/preview.less +227 -227
  107. package/es/image/style/token.less +123 -123
  108. package/es/image/style/trigger.less +14 -14
  109. package/es/input/index.d.ts +8 -8
  110. package/es/input/input-password.d.ts +2 -2
  111. package/es/input/input.d.ts +2 -2
  112. package/es/input/style/group.less +63 -63
  113. package/es/input/style/index.less +121 -121
  114. package/es/input/style/input.less +185 -185
  115. package/es/input/style/password.less +11 -11
  116. package/es/input/style/search.less +18 -18
  117. package/es/input/style/size.less +149 -149
  118. package/es/input/style/textarea.less +37 -37
  119. package/es/input/style/token.less +131 -131
  120. package/es/input-number/index.d.ts +3 -3
  121. package/es/input-number/input-number.d.ts +1 -1
  122. package/es/input-number/style/index.less +160 -160
  123. package/es/input-number/style/token.less +19 -19
  124. package/es/input-tag/index.d.ts +21 -21
  125. package/es/input-tag/input-tag.d.ts +7 -7
  126. package/es/input-tag/style/index.less +40 -40
  127. package/es/input-tag/style/input-tag.less +129 -129
  128. package/es/input-tag/style/token.less +83 -83
  129. package/es/layout/style/index.less +104 -104
  130. package/es/layout/style/token.less +13 -13
  131. package/es/link/style/index.less +120 -120
  132. package/es/link/style/token.less +48 -48
  133. package/es/list/style/index.less +183 -183
  134. package/es/list/style/token.less +55 -55
  135. package/es/mention/index.d.ts +9 -9
  136. package/es/mention/mention.d.ts +3 -3
  137. package/es/mention/style/index.less +21 -21
  138. package/es/mention/style/token.less +6 -6
  139. package/es/menu/style/index.less +622 -622
  140. package/es/menu/style/token.less +117 -117
  141. package/es/message/style/index.less +191 -191
  142. package/es/message/style/token.less +52 -52
  143. package/es/modal/style/index.less +283 -283
  144. package/es/modal/style/token.less +30 -30
  145. package/es/notification/style/index.less +249 -249
  146. package/es/notification/style/token.less +58 -58
  147. package/es/overflow-list/style/index.less +19 -19
  148. package/es/page-header/style/index.less +127 -127
  149. package/es/page-header/style/token.less +30 -30
  150. package/es/pagination/page-jumper.d.ts +3 -3
  151. package/es/pagination/page-options.d.ts +16 -16
  152. package/es/pagination/style/index.less +300 -300
  153. package/es/pagination/style/token.less +91 -91
  154. package/es/popconfirm/style/index.less +70 -70
  155. package/es/popconfirm/style/token.less +20 -20
  156. package/es/popover/style/index.less +38 -38
  157. package/es/popover/style/token.less +15 -15
  158. package/es/progress/style/index.less +378 -378
  159. package/es/progress/style/token.less +60 -60
  160. package/es/radio/index.d.ts +8 -8
  161. package/es/radio/radio-group.d.ts +2 -2
  162. package/es/radio/radio.d.ts +2 -2
  163. package/es/radio/style/index.less +266 -266
  164. package/es/radio/style/token.less +55 -55
  165. package/es/rate/index.d.ts +9 -9
  166. package/es/rate/rate.d.ts +3 -3
  167. package/es/rate/style/index.less +87 -87
  168. package/es/rate/style/token.less +13 -13
  169. package/es/resize-box/style/index.less +60 -60
  170. package/es/resize-box/style/token.less +6 -6
  171. package/es/result/style/index.less +94 -94
  172. package/es/result/style/token.less +32 -32
  173. package/es/scrollbar/style/index.less +137 -137
  174. package/es/scrollbar/style/token.less +12 -12
  175. package/es/select/index.d.ts +16 -16
  176. package/es/select/option.d.ts +5 -5
  177. package/es/select/select.d.ts +4 -4
  178. package/es/select/style/index.less +132 -132
  179. package/es/select/style/token.less +43 -43
  180. package/es/skeleton/style/index.less +66 -66
  181. package/es/skeleton/style/token.less +15 -15
  182. package/es/slider/index.d.ts +12 -12
  183. package/es/slider/slider-input.d.ts +3 -3
  184. package/es/slider/slider.d.ts +5 -5
  185. package/es/slider/style/index.less +282 -282
  186. package/es/slider/style/token.less +50 -50
  187. package/es/space/style/index.less +50 -50
  188. package/es/spin/style/dot-loading.less +64 -64
  189. package/es/spin/style/index.less +56 -56
  190. package/es/spin/style/token.less +17 -17
  191. package/es/split/style/index.less +53 -53
  192. package/es/split/style/token.less +7 -7
  193. package/es/statistic/style/index.less +47 -47
  194. package/es/statistic/style/token.less +15 -15
  195. package/es/steps/style/arrow.less +212 -212
  196. package/es/steps/style/circle.less +265 -265
  197. package/es/steps/style/dot.less +210 -210
  198. package/es/steps/style/index.less +74 -74
  199. package/es/steps/style/navigation.less +60 -60
  200. package/es/steps/style/token.less +144 -144
  201. package/es/style/animation/fade.less +57 -57
  202. package/es/style/animation/index.less +3 -3
  203. package/es/style/animation/slide.less +158 -158
  204. package/es/style/animation/zoom.less +217 -217
  205. package/es/style/color/colors.less +427 -427
  206. package/es/style/color/css-variables.less +389 -389
  207. package/es/style/color/get-rgb-str.js +17 -17
  208. package/es/style/color/palette-dark.js +10 -10
  209. package/es/style/color/palette.js +10 -10
  210. package/es/style/icon.less +86 -86
  211. package/es/style/index.less +11 -11
  212. package/es/style/mixins/icon-hover.less +14 -14
  213. package/es/style/mixins/index.less +13 -13
  214. package/es/style/normalize.less +353 -353
  215. package/es/style/theme/component.less +21 -21
  216. package/es/style/theme/css-variables.less +146 -146
  217. package/es/style/theme/global.less +416 -416
  218. package/es/style/theme/index.less +42 -42
  219. package/es/switch/index.d.ts +3 -3
  220. package/es/switch/style/index.less +332 -332
  221. package/es/switch/style/token.less +62 -62
  222. package/es/switch/switch.d.ts +1 -1
  223. package/es/table/style/filters-popup.less +51 -51
  224. package/es/table/style/index.less +868 -868
  225. package/es/table/style/token.less +134 -134
  226. package/es/table/table-operation-td.d.ts +13 -13
  227. package/es/tabs/style/index.less +730 -730
  228. package/es/tabs/style/rtl.less +104 -104
  229. package/es/tabs/style/token.less +146 -146
  230. package/es/tabs/style/vertical.less +156 -156
  231. package/es/tag/style/index.less +171 -171
  232. package/es/tag/style/token.less +171 -171
  233. package/es/textarea/index.d.ts +6 -6
  234. package/es/textarea/style/index.less +64 -64
  235. package/es/textarea/textarea.d.ts +2 -2
  236. package/es/time-picker/index.d.ts +15 -15
  237. package/es/time-picker/style/index.less +94 -94
  238. package/es/time-picker/style/token.less +17 -17
  239. package/es/time-picker/time-picker.d.ts +7 -7
  240. package/es/timeline/style/horizontal.less +87 -87
  241. package/es/timeline/style/index.less +272 -272
  242. package/es/timeline/style/token.less +25 -25
  243. package/es/tooltip/style/index.less +24 -24
  244. package/es/tooltip/style/token.less +14 -14
  245. package/es/transfer/index.d.ts +16 -16
  246. package/es/transfer/style/index.less +294 -294
  247. package/es/transfer/style/token.less +48 -48
  248. package/es/transfer/transfer-view.d.ts +5 -5
  249. package/es/transfer/transfer.d.ts +7 -7
  250. package/es/tree/base-node.d.ts +5 -5
  251. package/es/tree/style/index.less +396 -396
  252. package/es/tree/style/token.less +51 -51
  253. package/es/tree/transition-node-list.d.ts +5 -5
  254. package/es/tree-select/index.d.ts +5 -5
  255. package/es/tree-select/style/index.less +49 -49
  256. package/es/tree-select/style/token.less +7 -7
  257. package/es/tree-select/tree-select.d.ts +2 -2
  258. package/es/trigger/style/index.less +57 -57
  259. package/es/trigger/style/token.less +5 -5
  260. package/es/typography/edit-content.d.ts +24 -24
  261. package/es/typography/style/index.less +207 -207
  262. package/es/typography/style/token.less +55 -55
  263. package/es/upload/index.d.ts +3 -3
  264. package/es/upload/style/index.less +515 -515
  265. package/es/upload/style/token.less +97 -97
  266. package/es/upload/upload.d.ts +1 -1
  267. package/es/verification-code/index.d.ts +6 -6
  268. package/es/verification-code/style/index.less +32 -32
  269. package/es/verification-code/style/token.less +1 -1
  270. package/es/verification-code/verification-code.d.ts +2 -2
  271. package/json/vetur-attributes.json +1627 -1619
  272. package/json/vetur-tags.json +724 -722
  273. package/json/web-types.json +3903 -3887
  274. package/lib/_components/auto-tooltip/style/index.less +10 -10
  275. package/lib/_components/input-label/style/index.less +7 -7
  276. package/lib/_components/input-label/style/input-label.less +70 -70
  277. package/lib/_components/picker/style/index.less +191 -191
  278. package/lib/_components/picker/style/token.less +58 -58
  279. package/lib/_components/select-view/style/index.less +58 -58
  280. package/lib/_components/select-view/style/token.less +4 -4
  281. package/lib/affix/style/index.less +8 -8
  282. package/lib/alert/style/index.less +198 -198
  283. package/lib/alert/style/token.less +76 -76
  284. package/lib/anchor/style/index.less +99 -99
  285. package/lib/anchor/style/token.less +30 -30
  286. package/lib/auto-complete/style/index.less +44 -44
  287. package/lib/auto-complete/style/token.less +29 -29
  288. package/lib/avatar/style/index.less +155 -155
  289. package/lib/avatar/style/token.less +29 -29
  290. package/lib/back-top/style/index.less +33 -33
  291. package/lib/back-top/style/token.less +12 -12
  292. package/lib/badge/style/index.less +178 -178
  293. package/lib/badge/style/token.less +30 -30
  294. package/lib/breadcrumb/style/index.less +76 -76
  295. package/lib/breadcrumb/style/token.less +24 -24
  296. package/lib/button/style/index.less +304 -304
  297. package/lib/button/style/token.less +459 -459
  298. package/lib/calendar/style/index.less +479 -479
  299. package/lib/calendar/style/token.less +62 -62
  300. package/lib/card/style/index.less +219 -219
  301. package/lib/card/style/token.less +40 -40
  302. package/lib/carousel/style/index.less +405 -405
  303. package/lib/carousel/style/slide.less +175 -175
  304. package/lib/carousel/style/token.less +33 -33
  305. package/lib/cascader/style/index.less +234 -234
  306. package/lib/cascader/style/token.less +24 -24
  307. package/lib/checkbox/style/index.less +182 -182
  308. package/lib/checkbox/style/token.less +37 -37
  309. package/lib/collapse/style/index.less +180 -180
  310. package/lib/collapse/style/token.less +34 -34
  311. package/lib/color-picker/style/index.less +309 -309
  312. package/lib/color-picker/style/token.less +70 -70
  313. package/lib/comment/style/index.less +66 -66
  314. package/lib/comment/style/token.less +17 -17
  315. package/lib/date-picker/style/date.less +128 -128
  316. package/lib/date-picker/style/index.less +309 -309
  317. package/lib/date-picker/style/month.less +26 -26
  318. package/lib/date-picker/style/quarter.less +8 -8
  319. package/lib/date-picker/style/range.less +9 -9
  320. package/lib/date-picker/style/shortcuts.less +25 -25
  321. package/lib/date-picker/style/token.less +76 -76
  322. package/lib/date-picker/style/week.less +68 -68
  323. package/lib/date-picker/style/year.less +8 -8
  324. package/lib/descriptions/style/index.less +159 -159
  325. package/lib/descriptions/style/token.less +45 -45
  326. package/lib/divider/style/index.less +56 -56
  327. package/lib/divider/style/token.less +15 -15
  328. package/lib/drawer/style/index.less +230 -230
  329. package/lib/drawer/style/token.less +16 -16
  330. package/lib/dropdown/dropdown-panel.js +18 -4
  331. package/lib/dropdown/dropdown.js +18 -3
  332. package/lib/dropdown/style/index.less +106 -106
  333. package/lib/dropdown/style/token.less +40 -40
  334. package/lib/empty/style/index.less +26 -26
  335. package/lib/empty/style/token.less +10 -10
  336. package/lib/form/style/index.less +257 -257
  337. package/lib/form/style/status.less +152 -152
  338. package/lib/form/style/token.less +81 -81
  339. package/lib/grid/style/col.less +95 -95
  340. package/lib/grid/style/grid.less +5 -5
  341. package/lib/grid/style/index.less +3 -3
  342. package/lib/grid/style/row.less +44 -44
  343. package/lib/image/style/image.less +158 -158
  344. package/lib/image/style/index.less +5 -5
  345. package/lib/image/style/preview.less +227 -227
  346. package/lib/image/style/token.less +123 -123
  347. package/lib/image/style/trigger.less +14 -14
  348. package/lib/input/style/group.less +63 -63
  349. package/lib/input/style/index.less +121 -121
  350. package/lib/input/style/input.less +185 -185
  351. package/lib/input/style/password.less +11 -11
  352. package/lib/input/style/search.less +18 -18
  353. package/lib/input/style/size.less +149 -149
  354. package/lib/input/style/textarea.less +37 -37
  355. package/lib/input/style/token.less +131 -131
  356. package/lib/input-number/style/index.less +160 -160
  357. package/lib/input-number/style/token.less +19 -19
  358. package/lib/input-tag/style/index.less +40 -40
  359. package/lib/input-tag/style/input-tag.less +129 -129
  360. package/lib/input-tag/style/token.less +83 -83
  361. package/lib/layout/style/index.less +104 -104
  362. package/lib/layout/style/token.less +13 -13
  363. package/lib/link/style/index.less +120 -120
  364. package/lib/link/style/token.less +48 -48
  365. package/lib/list/style/index.less +183 -183
  366. package/lib/list/style/token.less +55 -55
  367. package/lib/mention/style/index.less +21 -21
  368. package/lib/mention/style/token.less +6 -6
  369. package/lib/menu/style/index.less +622 -622
  370. package/lib/menu/style/token.less +117 -117
  371. package/lib/message/style/index.less +191 -191
  372. package/lib/message/style/token.less +52 -52
  373. package/lib/modal/style/index.less +283 -283
  374. package/lib/modal/style/token.less +30 -30
  375. package/lib/notification/style/index.less +249 -249
  376. package/lib/notification/style/token.less +58 -58
  377. package/lib/overflow-list/style/index.less +19 -19
  378. package/lib/page-header/style/index.less +127 -127
  379. package/lib/page-header/style/token.less +30 -30
  380. package/lib/pagination/style/index.less +300 -300
  381. package/lib/pagination/style/token.less +91 -91
  382. package/lib/popconfirm/style/index.less +70 -70
  383. package/lib/popconfirm/style/token.less +20 -20
  384. package/lib/popover/style/index.less +38 -38
  385. package/lib/popover/style/token.less +15 -15
  386. package/lib/progress/style/index.less +378 -378
  387. package/lib/progress/style/token.less +60 -60
  388. package/lib/radio/style/index.less +266 -266
  389. package/lib/radio/style/token.less +55 -55
  390. package/lib/rate/style/index.less +87 -87
  391. package/lib/rate/style/token.less +13 -13
  392. package/lib/resize-box/style/index.less +60 -60
  393. package/lib/resize-box/style/token.less +6 -6
  394. package/lib/result/style/index.less +94 -94
  395. package/lib/result/style/token.less +32 -32
  396. package/lib/scrollbar/style/index.less +137 -137
  397. package/lib/scrollbar/style/token.less +12 -12
  398. package/lib/select/style/index.less +132 -132
  399. package/lib/select/style/token.less +43 -43
  400. package/lib/skeleton/style/index.less +66 -66
  401. package/lib/skeleton/style/token.less +15 -15
  402. package/lib/slider/style/index.less +282 -282
  403. package/lib/slider/style/token.less +50 -50
  404. package/lib/space/style/index.less +50 -50
  405. package/lib/spin/style/dot-loading.less +64 -64
  406. package/lib/spin/style/index.less +56 -56
  407. package/lib/spin/style/token.less +17 -17
  408. package/lib/split/style/index.less +53 -53
  409. package/lib/split/style/token.less +7 -7
  410. package/lib/statistic/style/index.less +47 -47
  411. package/lib/statistic/style/token.less +15 -15
  412. package/lib/steps/style/arrow.less +212 -212
  413. package/lib/steps/style/circle.less +265 -265
  414. package/lib/steps/style/dot.less +210 -210
  415. package/lib/steps/style/index.less +74 -74
  416. package/lib/steps/style/navigation.less +60 -60
  417. package/lib/steps/style/token.less +144 -144
  418. package/lib/style/animation/fade.less +57 -57
  419. package/lib/style/animation/index.less +3 -3
  420. package/lib/style/animation/slide.less +158 -158
  421. package/lib/style/animation/zoom.less +217 -217
  422. package/lib/style/color/colors.less +427 -427
  423. package/lib/style/color/css-variables.less +389 -389
  424. package/lib/style/color/get-rgb-str.js +17 -17
  425. package/lib/style/color/palette-dark.js +10 -10
  426. package/lib/style/color/palette.js +10 -10
  427. package/lib/style/icon.less +86 -86
  428. package/lib/style/index.less +11 -11
  429. package/lib/style/mixins/icon-hover.less +14 -14
  430. package/lib/style/mixins/index.less +13 -13
  431. package/lib/style/normalize.less +353 -353
  432. package/lib/style/theme/component.less +21 -21
  433. package/lib/style/theme/css-variables.less +146 -146
  434. package/lib/style/theme/global.less +416 -416
  435. package/lib/style/theme/index.less +42 -42
  436. package/lib/switch/style/index.less +332 -332
  437. package/lib/switch/style/token.less +62 -62
  438. package/lib/table/style/filters-popup.less +51 -51
  439. package/lib/table/style/index.less +868 -868
  440. package/lib/table/style/token.less +134 -134
  441. package/lib/tabs/style/index.less +730 -730
  442. package/lib/tabs/style/rtl.less +104 -104
  443. package/lib/tabs/style/token.less +146 -146
  444. package/lib/tabs/style/vertical.less +156 -156
  445. package/lib/tag/style/index.less +171 -171
  446. package/lib/tag/style/token.less +171 -171
  447. package/lib/textarea/style/index.less +64 -64
  448. package/lib/time-picker/style/index.less +94 -94
  449. package/lib/time-picker/style/token.less +17 -17
  450. package/lib/timeline/style/horizontal.less +87 -87
  451. package/lib/timeline/style/index.less +272 -272
  452. package/lib/timeline/style/token.less +25 -25
  453. package/lib/tooltip/style/index.less +24 -24
  454. package/lib/tooltip/style/token.less +14 -14
  455. package/lib/transfer/style/index.less +294 -294
  456. package/lib/transfer/style/token.less +48 -48
  457. package/lib/tree/style/index.less +396 -396
  458. package/lib/tree/style/token.less +51 -51
  459. package/lib/tree-select/style/index.less +49 -49
  460. package/lib/tree-select/style/token.less +7 -7
  461. package/lib/trigger/style/index.less +57 -57
  462. package/lib/trigger/style/token.less +5 -5
  463. package/lib/typography/style/index.less +207 -207
  464. package/lib/typography/style/token.less +55 -55
  465. package/lib/upload/style/index.less +515 -515
  466. package/lib/upload/style/token.less +97 -97
  467. package/lib/verification-code/style/index.less +32 -32
  468. package/lib/verification-code/style/token.less +1 -1
  469. package/package.json +2 -2
  470. package/README.zh-CN.md +0 -110
@@ -1,182 +1,182 @@
1
- @import '../../style/mixins/index.less';
2
- @import './token.less';
3
-
4
- .icon-hover(@checkbox-prefix-cls, @checkbox-mask-height, @checkbox-mask-bg-height);
5
-
6
- .@{checkbox-prefix-cls} {
7
- position: relative;
8
- display: inline-flex;
9
- align-items: center;
10
- box-sizing: border-box;
11
- padding-left: (@checkbox-mask-bg-height / 2) - (@checkbox-mask-height / 2);
12
- font-size: @checkbox-text-font-size;
13
- line-height: unset;
14
- cursor: pointer;
15
-
16
- > input[type='checkbox'] {
17
- position: absolute;
18
- top: 0;
19
- left: 0;
20
- width: 0;
21
- height: 0;
22
- opacity: 0;
23
-
24
- &:focus-visible + .@{checkbox-prefix-cls}-icon-hover::before {
25
- background-color: @icon-hover-color-bg;
26
- }
27
- }
28
-
29
- &:hover {
30
- .@{checkbox-prefix-cls}-icon-hover::before {
31
- background-color: @checkbox-mask-bg-color-bg;
32
- }
33
- }
34
-
35
- &-label {
36
- margin-left: @checkbox-text-mask-spacing;
37
- color: @checkbox-color-text;
38
- }
39
-
40
- &-icon {
41
- position: relative;
42
- box-sizing: border-box;
43
- width: @checkbox-mask-height;
44
- height: @checkbox-mask-height;
45
- background-color: @checkbox-mask-color-bg;
46
- border: @checkbox-mask-border-width @checkbox-mask-border-style
47
- @checkbox-mask-color-border;
48
- border-radius: @checkbox-mask-border-radius;
49
- user-select: none;
50
-
51
- // 半选
52
- &::after {
53
- position: absolute;
54
- top: 50%;
55
- left: 50%;
56
- display: block;
57
- width: @checkbox-color-indeterminate-icon-width;
58
- height: @checkbox-color-indeterminate-icon-height;
59
- background: @checkbox-color-indeterminate-icon;
60
- border-radius: 0.5px;
61
- transform: translateX(-50%) translateY(-50%) scale(0);
62
- content: '';
63
- }
64
-
65
- &-check {
66
- position: relative;
67
- display: block;
68
- width: @checkbox-size-check-icon;
69
- height: 100%;
70
- margin: 0 auto;
71
- color: @checkbox-color-check-icon;
72
- transform: scale(0);
73
- transform-origin: center 75%;
74
- }
75
- }
76
-
77
- &:hover &-icon {
78
- border-color: @checkbox-mask-color-border_hover;
79
- transition: border-color @transition-duration-1
80
- @transition-timing-function-linear,
81
- transform @transition-duration-3 @transition-timing-function-overshoot;
82
- }
83
-
84
- &-checked:hover &-icon,
85
- &-indeterminate:hover &-icon {
86
- transition: transform @transition-duration-3
87
- @transition-timing-function-overshoot;
88
- }
89
-
90
- &-checked &-icon {
91
- background-color: @checkbox-mask-color-bg_checked;
92
- border-color: @checkbox-mask-color-border_checked;
93
-
94
- &-check {
95
- transform: scale(1);
96
- transition: transform @transition-duration-3
97
- @transition-timing-function-overshoot;
98
- }
99
- }
100
-
101
- &-indeterminate &-icon {
102
- background-color: @checkbox-mask-color-bg_checked;
103
- border-color: @checkbox-mask-color-border_checked;
104
-
105
- svg {
106
- transform: scale(0);
107
- }
108
-
109
- &::after {
110
- transform: translateX(-50%) translateY(-50%) scale(1);
111
- transition: transform @transition-duration-3
112
- @transition-timing-function-overshoot;
113
- }
114
- }
115
-
116
- &&-disabled {
117
- cursor: not-allowed;
118
-
119
- .@{checkbox-prefix-cls}-icon-hover {
120
- cursor: not-allowed;
121
- }
122
-
123
- &:hover .@{checkbox-prefix-cls}-mask {
124
- border-color: @checkbox-mask-color-border_disabled;
125
- }
126
- }
127
-
128
- &-checked:hover &-icon,
129
- &-indeterminate:hover &-icon {
130
- border-color: @checkbox-mask-color-border_checked;
131
- }
132
-
133
- &-disabled &-icon {
134
- background-color: @checkbox-mask-color-bg_disabled;
135
- border-color: @checkbox-mask-color-border_disabled;
136
- }
137
-
138
- &-disabled&-checked &-icon,
139
- &-disabled&-checked:hover &-icon {
140
- background-color: @checkbox-mask-color-bg_checked_disabled;
141
- border-color: @checkbox-mask-color-border_checked_disabled;
142
- }
143
-
144
- &-disabled:hover,
145
- &-checked:hover,
146
- &-indeterminate:hover {
147
- .@{checkbox-prefix-cls}-icon-hover::before {
148
- background-color: @color-transparent;
149
- }
150
- }
151
-
152
- &-disabled:hover &-icon {
153
- border-color: @checkbox-mask-color-border;
154
- }
155
-
156
- &-disabled &-label {
157
- color: @checkbox-color-text_disabled;
158
- }
159
-
160
- &-disabled &-icon-check {
161
- color: @checkbox-color-check-icon_disabled;
162
- }
163
- }
164
-
165
- // checkbox group
166
- .@{checkbox-prefix-cls}-group {
167
- display: inline-block;
168
-
169
- .@{checkbox-prefix-cls} {
170
- margin-right: @checkbox-group-spacing;
171
- }
172
- }
173
-
174
- // vertical direction
175
-
176
- .@{checkbox-prefix-cls}-group-direction-vertical {
177
- .@{checkbox-prefix-cls} {
178
- display: flex;
179
- margin-right: 0;
180
- line-height: @checkbox-group-size-line-height_vertical;
181
- }
182
- }
1
+ @import '../../style/mixins/index.less';
2
+ @import './token.less';
3
+
4
+ .icon-hover(@checkbox-prefix-cls, @checkbox-mask-height, @checkbox-mask-bg-height);
5
+
6
+ .@{checkbox-prefix-cls} {
7
+ position: relative;
8
+ display: inline-flex;
9
+ align-items: center;
10
+ box-sizing: border-box;
11
+ padding-left: (@checkbox-mask-bg-height / 2) - (@checkbox-mask-height / 2);
12
+ font-size: @checkbox-text-font-size;
13
+ line-height: unset;
14
+ cursor: pointer;
15
+
16
+ > input[type='checkbox'] {
17
+ position: absolute;
18
+ top: 0;
19
+ left: 0;
20
+ width: 0;
21
+ height: 0;
22
+ opacity: 0;
23
+
24
+ &:focus-visible + .@{checkbox-prefix-cls}-icon-hover::before {
25
+ background-color: @icon-hover-color-bg;
26
+ }
27
+ }
28
+
29
+ &:hover {
30
+ .@{checkbox-prefix-cls}-icon-hover::before {
31
+ background-color: @checkbox-mask-bg-color-bg;
32
+ }
33
+ }
34
+
35
+ &-label {
36
+ margin-left: @checkbox-text-mask-spacing;
37
+ color: @checkbox-color-text;
38
+ }
39
+
40
+ &-icon {
41
+ position: relative;
42
+ box-sizing: border-box;
43
+ width: @checkbox-mask-height;
44
+ height: @checkbox-mask-height;
45
+ background-color: @checkbox-mask-color-bg;
46
+ border: @checkbox-mask-border-width @checkbox-mask-border-style
47
+ @checkbox-mask-color-border;
48
+ border-radius: @checkbox-mask-border-radius;
49
+ user-select: none;
50
+
51
+ // 半选
52
+ &::after {
53
+ position: absolute;
54
+ top: 50%;
55
+ left: 50%;
56
+ display: block;
57
+ width: @checkbox-color-indeterminate-icon-width;
58
+ height: @checkbox-color-indeterminate-icon-height;
59
+ background: @checkbox-color-indeterminate-icon;
60
+ border-radius: 0.5px;
61
+ transform: translateX(-50%) translateY(-50%) scale(0);
62
+ content: '';
63
+ }
64
+
65
+ &-check {
66
+ position: relative;
67
+ display: block;
68
+ width: @checkbox-size-check-icon;
69
+ height: 100%;
70
+ margin: 0 auto;
71
+ color: @checkbox-color-check-icon;
72
+ transform: scale(0);
73
+ transform-origin: center 75%;
74
+ }
75
+ }
76
+
77
+ &:hover &-icon {
78
+ border-color: @checkbox-mask-color-border_hover;
79
+ transition: border-color @transition-duration-1
80
+ @transition-timing-function-linear,
81
+ transform @transition-duration-3 @transition-timing-function-overshoot;
82
+ }
83
+
84
+ &-checked:hover &-icon,
85
+ &-indeterminate:hover &-icon {
86
+ transition: transform @transition-duration-3
87
+ @transition-timing-function-overshoot;
88
+ }
89
+
90
+ &-checked &-icon {
91
+ background-color: @checkbox-mask-color-bg_checked;
92
+ border-color: @checkbox-mask-color-border_checked;
93
+
94
+ &-check {
95
+ transform: scale(1);
96
+ transition: transform @transition-duration-3
97
+ @transition-timing-function-overshoot;
98
+ }
99
+ }
100
+
101
+ &-indeterminate &-icon {
102
+ background-color: @checkbox-mask-color-bg_checked;
103
+ border-color: @checkbox-mask-color-border_checked;
104
+
105
+ svg {
106
+ transform: scale(0);
107
+ }
108
+
109
+ &::after {
110
+ transform: translateX(-50%) translateY(-50%) scale(1);
111
+ transition: transform @transition-duration-3
112
+ @transition-timing-function-overshoot;
113
+ }
114
+ }
115
+
116
+ &&-disabled {
117
+ cursor: not-allowed;
118
+
119
+ .@{checkbox-prefix-cls}-icon-hover {
120
+ cursor: not-allowed;
121
+ }
122
+
123
+ &:hover .@{checkbox-prefix-cls}-mask {
124
+ border-color: @checkbox-mask-color-border_disabled;
125
+ }
126
+ }
127
+
128
+ &-checked:hover &-icon,
129
+ &-indeterminate:hover &-icon {
130
+ border-color: @checkbox-mask-color-border_checked;
131
+ }
132
+
133
+ &-disabled &-icon {
134
+ background-color: @checkbox-mask-color-bg_disabled;
135
+ border-color: @checkbox-mask-color-border_disabled;
136
+ }
137
+
138
+ &-disabled&-checked &-icon,
139
+ &-disabled&-checked:hover &-icon {
140
+ background-color: @checkbox-mask-color-bg_checked_disabled;
141
+ border-color: @checkbox-mask-color-border_checked_disabled;
142
+ }
143
+
144
+ &-disabled:hover,
145
+ &-checked:hover,
146
+ &-indeterminate:hover {
147
+ .@{checkbox-prefix-cls}-icon-hover::before {
148
+ background-color: @color-transparent;
149
+ }
150
+ }
151
+
152
+ &-disabled:hover &-icon {
153
+ border-color: @checkbox-mask-color-border;
154
+ }
155
+
156
+ &-disabled &-label {
157
+ color: @checkbox-color-text_disabled;
158
+ }
159
+
160
+ &-disabled &-icon-check {
161
+ color: @checkbox-color-check-icon_disabled;
162
+ }
163
+ }
164
+
165
+ // checkbox group
166
+ .@{checkbox-prefix-cls}-group {
167
+ display: inline-block;
168
+
169
+ .@{checkbox-prefix-cls} {
170
+ margin-right: @checkbox-group-spacing;
171
+ }
172
+ }
173
+
174
+ // vertical direction
175
+
176
+ .@{checkbox-prefix-cls}-group-direction-vertical {
177
+ .@{checkbox-prefix-cls} {
178
+ display: flex;
179
+ margin-right: 0;
180
+ line-height: @checkbox-group-size-line-height_vertical;
181
+ }
182
+ }
@@ -1,37 +1,37 @@
1
- @import '../../style/theme/index.less';
2
-
3
- @checkbox-prefix-cls: ~'@{prefix}-checkbox';
4
-
5
- @checkbox-mask-border-width: @border-2;
6
- @checkbox-mask-border-style: @border-solid;
7
- @checkbox-mask-border-radius: @radius-small;
8
-
9
- @checkbox-mask-height: 14px;
10
- @checkbox-mask-bg-height: @size-6;
11
- @checkbox-mask-bg-color-bg: @icon-hover-color-bg;
12
-
13
- @checkbox-mask-color-bg: var(~'@{arco-cssvars-prefix}-color-bg-2');
14
- @checkbox-mask-color-bg_checked: @color-primary-6;
15
- @checkbox-mask-color-bg_disabled: var(~'@{arco-cssvars-prefix}-color-fill-2');
16
- @checkbox-mask-color-bg_checked_disabled: var(~'@{arco-cssvars-prefix}-color-primary-light-3');
17
-
18
- @checkbox-mask-color-border: var(~'@{arco-cssvars-prefix}-color-fill-3');
19
- @checkbox-mask-color-border_hover: var(~'@{arco-cssvars-prefix}-color-fill-4');
20
- @checkbox-mask-color-border_checked: @color-transparent;
21
- @checkbox-mask-color-border_checked_disabled: @color-transparent;
22
- @checkbox-mask-color-border_disabled: var(~'@{arco-cssvars-prefix}-color-fill-3');
23
-
24
- @checkbox-color-text: var(~'@{arco-cssvars-prefix}-color-text-1');
25
- @checkbox-color-text_disabled: var(~'@{arco-cssvars-prefix}-color-text-4');
26
-
27
- @checkbox-group-spacing: @spacing-7;
28
- @checkbox-text-mask-spacing: @spacing-4;
29
- @checkbox-text-font-size: @font-size-body-3;
30
-
31
- @checkbox-group-size-line-height_vertical: @size-8;
32
- @checkbox-size-check-icon: @size-2;
33
- @checkbox-color-check-icon: var(~'@{arco-cssvars-prefix}-color-white');
34
- @checkbox-color-check-icon_disabled: var(~'@{arco-cssvars-prefix}-color-fill-3');
35
- @checkbox-color-indeterminate-icon-width: 6px;
36
- @checkbox-color-indeterminate-icon-height: 2px;
37
- @checkbox-color-indeterminate-icon: var(~'@{arco-cssvars-prefix}-color-white');
1
+ @import '../../style/theme/index.less';
2
+
3
+ @checkbox-prefix-cls: ~'@{prefix}-checkbox';
4
+
5
+ @checkbox-mask-border-width: @border-2;
6
+ @checkbox-mask-border-style: @border-solid;
7
+ @checkbox-mask-border-radius: @radius-small;
8
+
9
+ @checkbox-mask-height: 14px;
10
+ @checkbox-mask-bg-height: @size-6;
11
+ @checkbox-mask-bg-color-bg: @icon-hover-color-bg;
12
+
13
+ @checkbox-mask-color-bg: var(~'@{arco-cssvars-prefix}-color-bg-2');
14
+ @checkbox-mask-color-bg_checked: @color-primary-6;
15
+ @checkbox-mask-color-bg_disabled: var(~'@{arco-cssvars-prefix}-color-fill-2');
16
+ @checkbox-mask-color-bg_checked_disabled: var(~'@{arco-cssvars-prefix}-color-primary-light-3');
17
+
18
+ @checkbox-mask-color-border: var(~'@{arco-cssvars-prefix}-color-fill-3');
19
+ @checkbox-mask-color-border_hover: var(~'@{arco-cssvars-prefix}-color-fill-4');
20
+ @checkbox-mask-color-border_checked: @color-transparent;
21
+ @checkbox-mask-color-border_checked_disabled: @color-transparent;
22
+ @checkbox-mask-color-border_disabled: var(~'@{arco-cssvars-prefix}-color-fill-3');
23
+
24
+ @checkbox-color-text: var(~'@{arco-cssvars-prefix}-color-text-1');
25
+ @checkbox-color-text_disabled: var(~'@{arco-cssvars-prefix}-color-text-4');
26
+
27
+ @checkbox-group-spacing: @spacing-7;
28
+ @checkbox-text-mask-spacing: @spacing-4;
29
+ @checkbox-text-font-size: @font-size-body-3;
30
+
31
+ @checkbox-group-size-line-height_vertical: @size-8;
32
+ @checkbox-size-check-icon: @size-2;
33
+ @checkbox-color-check-icon: var(~'@{arco-cssvars-prefix}-color-white');
34
+ @checkbox-color-check-icon_disabled: var(~'@{arco-cssvars-prefix}-color-fill-3');
35
+ @checkbox-color-indeterminate-icon-width: 6px;
36
+ @checkbox-color-indeterminate-icon-height: 2px;
37
+ @checkbox-color-indeterminate-icon: var(~'@{arco-cssvars-prefix}-color-white');