@julingbase/jly-arco-design 0.0.2 → 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 (424) hide show
  1. package/README.md +2 -8
  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 +30 -6
  5. package/dist/arco-vue.js.map +1 -1
  6. package/dist/arco-vue.min.js +471 -468
  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/style/index.less +7 -7
  10. package/es/_components/input-label/style/input-label.less +70 -70
  11. package/es/_components/picker/style/index.less +191 -191
  12. package/es/_components/picker/style/token.less +58 -58
  13. package/es/_components/select-view/style/index.less +58 -58
  14. package/es/_components/select-view/style/token.less +4 -4
  15. package/es/affix/style/index.less +8 -8
  16. package/es/alert/style/index.less +198 -198
  17. package/es/alert/style/token.less +76 -76
  18. package/es/anchor/style/index.less +99 -99
  19. package/es/anchor/style/token.less +30 -30
  20. package/es/auto-complete/style/index.less +44 -44
  21. package/es/auto-complete/style/token.less +29 -29
  22. package/es/avatar/style/index.less +155 -155
  23. package/es/avatar/style/token.less +29 -29
  24. package/es/back-top/style/index.less +33 -33
  25. package/es/back-top/style/token.less +12 -12
  26. package/es/badge/style/index.less +178 -178
  27. package/es/badge/style/token.less +30 -30
  28. package/es/breadcrumb/style/index.less +76 -76
  29. package/es/breadcrumb/style/token.less +24 -24
  30. package/es/button/style/index.less +304 -304
  31. package/es/button/style/token.less +459 -459
  32. package/es/calendar/style/index.less +479 -479
  33. package/es/calendar/style/token.less +62 -62
  34. package/es/card/style/index.less +219 -219
  35. package/es/card/style/token.less +40 -40
  36. package/es/carousel/style/index.less +405 -405
  37. package/es/carousel/style/slide.less +175 -175
  38. package/es/carousel/style/token.less +33 -33
  39. package/es/cascader/style/index.less +234 -234
  40. package/es/cascader/style/token.less +24 -24
  41. package/es/checkbox/style/index.less +182 -182
  42. package/es/checkbox/style/token.less +37 -37
  43. package/es/collapse/style/index.less +180 -180
  44. package/es/collapse/style/token.less +34 -34
  45. package/es/color-picker/style/index.less +309 -309
  46. package/es/color-picker/style/token.less +70 -70
  47. package/es/comment/style/index.less +66 -66
  48. package/es/comment/style/token.less +17 -17
  49. package/es/date-picker/index.d.ts +1 -1
  50. package/es/date-picker/picker.d.ts +1 -1
  51. package/es/date-picker/range-picker.d.ts +1 -1
  52. package/es/date-picker/style/date.less +128 -128
  53. package/es/date-picker/style/index.less +309 -309
  54. package/es/date-picker/style/month.less +26 -26
  55. package/es/date-picker/style/quarter.less +8 -8
  56. package/es/date-picker/style/range.less +9 -9
  57. package/es/date-picker/style/shortcuts.less +25 -25
  58. package/es/date-picker/style/token.less +76 -76
  59. package/es/date-picker/style/week.less +68 -68
  60. package/es/date-picker/style/year.less +8 -8
  61. package/es/descriptions/descriptions.d.ts +1 -1
  62. package/es/descriptions/index.d.ts +3 -3
  63. package/es/descriptions/style/index.less +159 -159
  64. package/es/descriptions/style/token.less +45 -45
  65. package/es/divider/style/index.less +56 -56
  66. package/es/divider/style/token.less +15 -15
  67. package/es/drawer/style/index.less +230 -230
  68. package/es/drawer/style/token.less +16 -16
  69. package/es/dropdown/context.d.ts +2 -1
  70. package/es/dropdown/dropdown-button.d.ts +12 -3
  71. package/es/dropdown/dropdown-panel.js +18 -4
  72. package/es/dropdown/dropdown.d.ts +12 -3
  73. package/es/dropdown/dropdown.js +12 -2
  74. package/es/dropdown/index.d.ts +33 -9
  75. package/es/dropdown/style/index.less +106 -106
  76. package/es/dropdown/style/token.less +40 -40
  77. package/es/empty/style/index.less +26 -26
  78. package/es/empty/style/token.less +10 -10
  79. package/es/form/style/index.less +257 -257
  80. package/es/form/style/status.less +152 -152
  81. package/es/form/style/token.less +81 -81
  82. package/es/grid/style/col.less +95 -95
  83. package/es/grid/style/grid.less +5 -5
  84. package/es/grid/style/index.less +3 -3
  85. package/es/grid/style/row.less +44 -44
  86. package/es/image/style/image.less +158 -158
  87. package/es/image/style/index.less +5 -5
  88. package/es/image/style/preview.less +227 -227
  89. package/es/image/style/token.less +123 -123
  90. package/es/image/style/trigger.less +14 -14
  91. package/es/input/index.d.ts +4 -4
  92. package/es/input/input-password.d.ts +1 -1
  93. package/es/input/input.d.ts +1 -1
  94. package/es/input/style/group.less +63 -63
  95. package/es/input/style/index.less +121 -121
  96. package/es/input/style/input.less +185 -185
  97. package/es/input/style/password.less +11 -11
  98. package/es/input/style/search.less +18 -18
  99. package/es/input/style/size.less +149 -149
  100. package/es/input/style/textarea.less +37 -37
  101. package/es/input/style/token.less +131 -131
  102. package/es/input-number/style/index.less +160 -160
  103. package/es/input-number/style/token.less +19 -19
  104. package/es/input-tag/style/index.less +40 -40
  105. package/es/input-tag/style/input-tag.less +129 -129
  106. package/es/input-tag/style/token.less +83 -83
  107. package/es/layout/style/index.less +104 -104
  108. package/es/layout/style/token.less +13 -13
  109. package/es/link/style/index.less +120 -120
  110. package/es/link/style/token.less +48 -48
  111. package/es/list/style/index.less +183 -183
  112. package/es/list/style/token.less +55 -55
  113. package/es/mention/index.d.ts +3 -3
  114. package/es/mention/mention.d.ts +1 -1
  115. package/es/mention/style/index.less +21 -21
  116. package/es/mention/style/token.less +6 -6
  117. package/es/menu/style/index.less +622 -622
  118. package/es/menu/style/token.less +117 -117
  119. package/es/message/style/index.less +191 -191
  120. package/es/message/style/token.less +52 -52
  121. package/es/modal/style/index.less +283 -283
  122. package/es/modal/style/token.less +30 -30
  123. package/es/notification/style/index.less +249 -249
  124. package/es/notification/style/token.less +58 -58
  125. package/es/overflow-list/style/index.less +19 -19
  126. package/es/page-header/style/index.less +127 -127
  127. package/es/page-header/style/token.less +30 -30
  128. package/es/pagination/style/index.less +300 -300
  129. package/es/pagination/style/token.less +91 -91
  130. package/es/popconfirm/style/index.less +70 -70
  131. package/es/popconfirm/style/token.less +20 -20
  132. package/es/popover/style/index.less +38 -38
  133. package/es/popover/style/token.less +15 -15
  134. package/es/progress/style/index.less +378 -378
  135. package/es/progress/style/token.less +60 -60
  136. package/es/radio/index.d.ts +4 -4
  137. package/es/radio/radio-group.d.ts +1 -1
  138. package/es/radio/radio.d.ts +1 -1
  139. package/es/radio/style/index.less +266 -266
  140. package/es/radio/style/token.less +55 -55
  141. package/es/rate/style/index.less +87 -87
  142. package/es/rate/style/token.less +13 -13
  143. package/es/resize-box/style/index.less +60 -60
  144. package/es/resize-box/style/token.less +6 -6
  145. package/es/result/style/index.less +94 -94
  146. package/es/result/style/token.less +32 -32
  147. package/es/scrollbar/style/index.less +137 -137
  148. package/es/scrollbar/style/token.less +12 -12
  149. package/es/select/style/index.less +132 -132
  150. package/es/select/style/token.less +43 -43
  151. package/es/skeleton/style/index.less +66 -66
  152. package/es/skeleton/style/token.less +15 -15
  153. package/es/slider/style/index.less +282 -282
  154. package/es/slider/style/token.less +50 -50
  155. package/es/space/style/index.less +50 -50
  156. package/es/spin/style/dot-loading.less +64 -64
  157. package/es/spin/style/index.less +56 -56
  158. package/es/spin/style/token.less +17 -17
  159. package/es/split/style/index.less +53 -53
  160. package/es/split/style/token.less +7 -7
  161. package/es/statistic/style/index.less +47 -47
  162. package/es/statistic/style/token.less +15 -15
  163. package/es/steps/style/arrow.less +212 -212
  164. package/es/steps/style/circle.less +265 -265
  165. package/es/steps/style/dot.less +210 -210
  166. package/es/steps/style/index.less +74 -74
  167. package/es/steps/style/navigation.less +60 -60
  168. package/es/steps/style/token.less +144 -144
  169. package/es/style/animation/fade.less +57 -57
  170. package/es/style/animation/index.less +3 -3
  171. package/es/style/animation/slide.less +158 -158
  172. package/es/style/animation/zoom.less +217 -217
  173. package/es/style/color/colors.less +427 -427
  174. package/es/style/color/css-variables.less +389 -389
  175. package/es/style/color/get-rgb-str.js +17 -17
  176. package/es/style/color/palette-dark.js +10 -10
  177. package/es/style/color/palette.js +10 -10
  178. package/es/style/icon.less +86 -86
  179. package/es/style/index.less +11 -11
  180. package/es/style/mixins/icon-hover.less +14 -14
  181. package/es/style/mixins/index.less +13 -13
  182. package/es/style/normalize.less +353 -353
  183. package/es/style/theme/component.less +21 -21
  184. package/es/style/theme/css-variables.less +146 -146
  185. package/es/style/theme/global.less +416 -416
  186. package/es/style/theme/index.less +42 -42
  187. package/es/switch/index.d.ts +3 -3
  188. package/es/switch/style/index.less +332 -332
  189. package/es/switch/style/token.less +62 -62
  190. package/es/switch/switch.d.ts +1 -1
  191. package/es/table/style/filters-popup.less +51 -51
  192. package/es/table/style/index.less +868 -868
  193. package/es/table/style/token.less +134 -134
  194. package/es/table/table-operation-td.d.ts +4 -4
  195. package/es/tabs/style/index.less +730 -730
  196. package/es/tabs/style/rtl.less +104 -104
  197. package/es/tabs/style/token.less +146 -146
  198. package/es/tabs/style/vertical.less +156 -156
  199. package/es/tag/style/index.less +171 -171
  200. package/es/tag/style/token.less +171 -171
  201. package/es/textarea/style/index.less +64 -64
  202. package/es/time-picker/index.d.ts +3 -3
  203. package/es/time-picker/style/index.less +94 -94
  204. package/es/time-picker/style/token.less +17 -17
  205. package/es/time-picker/time-picker.d.ts +1 -1
  206. package/es/timeline/style/horizontal.less +87 -87
  207. package/es/timeline/style/index.less +272 -272
  208. package/es/timeline/style/token.less +25 -25
  209. package/es/tooltip/style/index.less +24 -24
  210. package/es/tooltip/style/token.less +14 -14
  211. package/es/transfer/style/index.less +294 -294
  212. package/es/transfer/style/token.less +48 -48
  213. package/es/tree/style/index.less +396 -396
  214. package/es/tree/style/token.less +51 -51
  215. package/es/tree-select/style/index.less +49 -49
  216. package/es/tree-select/style/token.less +7 -7
  217. package/es/trigger/style/index.less +57 -57
  218. package/es/trigger/style/token.less +5 -5
  219. package/es/typography/edit-content.d.ts +12 -12
  220. package/es/typography/style/index.less +207 -207
  221. package/es/typography/style/token.less +55 -55
  222. package/es/upload/style/index.less +515 -515
  223. package/es/upload/style/token.less +97 -97
  224. package/es/verification-code/style/index.less +32 -32
  225. package/es/verification-code/style/token.less +1 -1
  226. package/json/vetur-attributes.json +1403 -1399
  227. package/json/vetur-tags.json +573 -572
  228. package/json/web-types.json +4401 -4393
  229. package/lib/_components/auto-tooltip/style/index.less +10 -10
  230. package/lib/_components/input-label/style/index.less +7 -7
  231. package/lib/_components/input-label/style/input-label.less +70 -70
  232. package/lib/_components/picker/style/index.less +191 -191
  233. package/lib/_components/picker/style/token.less +58 -58
  234. package/lib/_components/select-view/style/index.less +58 -58
  235. package/lib/_components/select-view/style/token.less +4 -4
  236. package/lib/affix/style/index.less +8 -8
  237. package/lib/alert/style/index.less +198 -198
  238. package/lib/alert/style/token.less +76 -76
  239. package/lib/anchor/style/index.less +99 -99
  240. package/lib/anchor/style/token.less +30 -30
  241. package/lib/auto-complete/style/index.less +44 -44
  242. package/lib/auto-complete/style/token.less +29 -29
  243. package/lib/avatar/style/index.less +155 -155
  244. package/lib/avatar/style/token.less +29 -29
  245. package/lib/back-top/style/index.less +33 -33
  246. package/lib/back-top/style/token.less +12 -12
  247. package/lib/badge/style/index.less +178 -178
  248. package/lib/badge/style/token.less +30 -30
  249. package/lib/breadcrumb/style/index.less +76 -76
  250. package/lib/breadcrumb/style/token.less +24 -24
  251. package/lib/button/style/index.less +304 -304
  252. package/lib/button/style/token.less +459 -459
  253. package/lib/calendar/style/index.less +479 -479
  254. package/lib/calendar/style/token.less +62 -62
  255. package/lib/card/style/index.less +219 -219
  256. package/lib/card/style/token.less +40 -40
  257. package/lib/carousel/style/index.less +405 -405
  258. package/lib/carousel/style/slide.less +175 -175
  259. package/lib/carousel/style/token.less +33 -33
  260. package/lib/cascader/style/index.less +234 -234
  261. package/lib/cascader/style/token.less +24 -24
  262. package/lib/checkbox/style/index.less +182 -182
  263. package/lib/checkbox/style/token.less +37 -37
  264. package/lib/collapse/style/index.less +180 -180
  265. package/lib/collapse/style/token.less +34 -34
  266. package/lib/color-picker/style/index.less +309 -309
  267. package/lib/color-picker/style/token.less +70 -70
  268. package/lib/comment/style/index.less +66 -66
  269. package/lib/comment/style/token.less +17 -17
  270. package/lib/date-picker/style/date.less +128 -128
  271. package/lib/date-picker/style/index.less +309 -309
  272. package/lib/date-picker/style/month.less +26 -26
  273. package/lib/date-picker/style/quarter.less +8 -8
  274. package/lib/date-picker/style/range.less +9 -9
  275. package/lib/date-picker/style/shortcuts.less +25 -25
  276. package/lib/date-picker/style/token.less +76 -76
  277. package/lib/date-picker/style/week.less +68 -68
  278. package/lib/date-picker/style/year.less +8 -8
  279. package/lib/descriptions/style/index.less +159 -159
  280. package/lib/descriptions/style/token.less +45 -45
  281. package/lib/divider/style/index.less +56 -56
  282. package/lib/divider/style/token.less +15 -15
  283. package/lib/drawer/style/index.less +230 -230
  284. package/lib/drawer/style/token.less +16 -16
  285. package/lib/dropdown/dropdown-panel.js +18 -4
  286. package/lib/dropdown/dropdown.js +12 -2
  287. package/lib/dropdown/style/index.less +106 -106
  288. package/lib/dropdown/style/token.less +40 -40
  289. package/lib/empty/style/index.less +26 -26
  290. package/lib/empty/style/token.less +10 -10
  291. package/lib/form/style/index.less +257 -257
  292. package/lib/form/style/status.less +152 -152
  293. package/lib/form/style/token.less +81 -81
  294. package/lib/grid/style/col.less +95 -95
  295. package/lib/grid/style/grid.less +5 -5
  296. package/lib/grid/style/index.less +3 -3
  297. package/lib/grid/style/row.less +44 -44
  298. package/lib/image/style/image.less +158 -158
  299. package/lib/image/style/index.less +5 -5
  300. package/lib/image/style/preview.less +227 -227
  301. package/lib/image/style/token.less +123 -123
  302. package/lib/image/style/trigger.less +14 -14
  303. package/lib/input/style/group.less +63 -63
  304. package/lib/input/style/index.less +121 -121
  305. package/lib/input/style/input.less +185 -185
  306. package/lib/input/style/password.less +11 -11
  307. package/lib/input/style/search.less +18 -18
  308. package/lib/input/style/size.less +149 -149
  309. package/lib/input/style/textarea.less +37 -37
  310. package/lib/input/style/token.less +131 -131
  311. package/lib/input-number/style/index.less +160 -160
  312. package/lib/input-number/style/token.less +19 -19
  313. package/lib/input-tag/style/index.less +40 -40
  314. package/lib/input-tag/style/input-tag.less +129 -129
  315. package/lib/input-tag/style/token.less +83 -83
  316. package/lib/layout/style/index.less +104 -104
  317. package/lib/layout/style/token.less +13 -13
  318. package/lib/link/style/index.less +120 -120
  319. package/lib/link/style/token.less +48 -48
  320. package/lib/list/style/index.less +183 -183
  321. package/lib/list/style/token.less +55 -55
  322. package/lib/mention/style/index.less +21 -21
  323. package/lib/mention/style/token.less +6 -6
  324. package/lib/menu/style/index.less +622 -622
  325. package/lib/menu/style/token.less +117 -117
  326. package/lib/message/style/index.less +191 -191
  327. package/lib/message/style/token.less +52 -52
  328. package/lib/modal/style/index.less +283 -283
  329. package/lib/modal/style/token.less +30 -30
  330. package/lib/notification/style/index.less +249 -249
  331. package/lib/notification/style/token.less +58 -58
  332. package/lib/overflow-list/style/index.less +19 -19
  333. package/lib/page-header/style/index.less +127 -127
  334. package/lib/page-header/style/token.less +30 -30
  335. package/lib/pagination/style/index.less +300 -300
  336. package/lib/pagination/style/token.less +91 -91
  337. package/lib/popconfirm/style/index.less +70 -70
  338. package/lib/popconfirm/style/token.less +20 -20
  339. package/lib/popover/style/index.less +38 -38
  340. package/lib/popover/style/token.less +15 -15
  341. package/lib/progress/style/index.less +378 -378
  342. package/lib/progress/style/token.less +60 -60
  343. package/lib/radio/style/index.less +266 -266
  344. package/lib/radio/style/token.less +55 -55
  345. package/lib/rate/style/index.less +87 -87
  346. package/lib/rate/style/token.less +13 -13
  347. package/lib/resize-box/style/index.less +60 -60
  348. package/lib/resize-box/style/token.less +6 -6
  349. package/lib/result/style/index.less +94 -94
  350. package/lib/result/style/token.less +32 -32
  351. package/lib/scrollbar/style/index.less +137 -137
  352. package/lib/scrollbar/style/token.less +12 -12
  353. package/lib/select/style/index.less +132 -132
  354. package/lib/select/style/token.less +43 -43
  355. package/lib/skeleton/style/index.less +66 -66
  356. package/lib/skeleton/style/token.less +15 -15
  357. package/lib/slider/style/index.less +282 -282
  358. package/lib/slider/style/token.less +50 -50
  359. package/lib/space/style/index.less +50 -50
  360. package/lib/spin/style/dot-loading.less +64 -64
  361. package/lib/spin/style/index.less +56 -56
  362. package/lib/spin/style/token.less +17 -17
  363. package/lib/split/style/index.less +53 -53
  364. package/lib/split/style/token.less +7 -7
  365. package/lib/statistic/style/index.less +47 -47
  366. package/lib/statistic/style/token.less +15 -15
  367. package/lib/steps/style/arrow.less +212 -212
  368. package/lib/steps/style/circle.less +265 -265
  369. package/lib/steps/style/dot.less +210 -210
  370. package/lib/steps/style/index.less +74 -74
  371. package/lib/steps/style/navigation.less +60 -60
  372. package/lib/steps/style/token.less +144 -144
  373. package/lib/style/animation/fade.less +57 -57
  374. package/lib/style/animation/index.less +3 -3
  375. package/lib/style/animation/slide.less +158 -158
  376. package/lib/style/animation/zoom.less +217 -217
  377. package/lib/style/color/colors.less +427 -427
  378. package/lib/style/color/css-variables.less +389 -389
  379. package/lib/style/color/get-rgb-str.js +17 -17
  380. package/lib/style/color/palette-dark.js +10 -10
  381. package/lib/style/color/palette.js +10 -10
  382. package/lib/style/icon.less +86 -86
  383. package/lib/style/index.less +11 -11
  384. package/lib/style/mixins/icon-hover.less +14 -14
  385. package/lib/style/mixins/index.less +13 -13
  386. package/lib/style/normalize.less +353 -353
  387. package/lib/style/theme/component.less +21 -21
  388. package/lib/style/theme/css-variables.less +146 -146
  389. package/lib/style/theme/global.less +416 -416
  390. package/lib/style/theme/index.less +42 -42
  391. package/lib/switch/style/index.less +332 -332
  392. package/lib/switch/style/token.less +62 -62
  393. package/lib/table/style/filters-popup.less +51 -51
  394. package/lib/table/style/index.less +868 -868
  395. package/lib/table/style/token.less +134 -134
  396. package/lib/tabs/style/index.less +730 -730
  397. package/lib/tabs/style/rtl.less +104 -104
  398. package/lib/tabs/style/token.less +146 -146
  399. package/lib/tabs/style/vertical.less +156 -156
  400. package/lib/tag/style/index.less +171 -171
  401. package/lib/tag/style/token.less +171 -171
  402. package/lib/textarea/style/index.less +64 -64
  403. package/lib/time-picker/style/index.less +94 -94
  404. package/lib/time-picker/style/token.less +17 -17
  405. package/lib/timeline/style/horizontal.less +87 -87
  406. package/lib/timeline/style/index.less +272 -272
  407. package/lib/timeline/style/token.less +25 -25
  408. package/lib/tooltip/style/index.less +24 -24
  409. package/lib/tooltip/style/token.less +14 -14
  410. package/lib/transfer/style/index.less +294 -294
  411. package/lib/transfer/style/token.less +48 -48
  412. package/lib/tree/style/index.less +396 -396
  413. package/lib/tree/style/token.less +51 -51
  414. package/lib/tree-select/style/index.less +49 -49
  415. package/lib/tree-select/style/token.less +7 -7
  416. package/lib/trigger/style/index.less +57 -57
  417. package/lib/trigger/style/token.less +5 -5
  418. package/lib/typography/style/index.less +207 -207
  419. package/lib/typography/style/token.less +55 -55
  420. package/lib/upload/style/index.less +515 -515
  421. package/lib/upload/style/token.less +97 -97
  422. package/lib/verification-code/style/index.less +32 -32
  423. package/lib/verification-code/style/token.less +1 -1
  424. package/package.json +2 -2
@@ -1,62 +1,62 @@
1
- @import '../../style/theme/index.less';
2
-
3
- @calendar-color-border: var(~'@{arco-cssvars-prefix}-color-neutral-3');
4
-
5
- @calendar-header-padding-horizontal: 24px;
6
- @calendar-header-padding-vertical: 24px;
7
-
8
- @calendar-panel-date-cell-padding-vertical: 4px;
9
- @calendar-panel-date-cell-circle-height: 24px;
10
- @calendar-panel-year-cell-padding-vertical: 4px;
11
- @calendar-panel-year-cell-circle-height: 24px;
12
-
13
- @calendar-color-switch-icon: var(~'@{arco-cssvars-prefix}-color-text-2');
14
- @calendar-color-bg-switch-icon: var(~'@{arco-cssvars-prefix}-color-bg-5');
15
- @calendar-color-bg-switch-icon_hover: var(
16
- ~'@{arco-cssvars-prefix}-color-fill-3'
17
- );
18
-
19
- @calendar-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
20
- @calendar-color-cell-text-in-view: var(~'@{arco-cssvars-prefix}-color-text-1');
21
- @calendar-color-cell-text-not-in-view: var(
22
- ~'@{arco-cssvars-prefix}-color-text-4'
23
- );
24
- @calendar-color-bg-circle_selected: @color-primary-6;
25
- @calendar-color-bg-cell-in-range: var(
26
- ~'@{arco-cssvars-prefix}-color-primary-light-1'
27
- );
28
- @calendar-color-bg-cell-disabled: var(~'@{arco-cssvars-prefix}-color-fill-1');
29
- @calendar-color-text-cell-range-boundary: var(
30
- ~'@{arco-cssvars-prefix}-color-white'
31
- );
32
- @calendar-color-bg-cell-range-boundary: @color-primary-6;
33
- @calendar-color-bg-cell-hover-in-range: var(
34
- ~'@{arco-cssvars-prefix}-color-primary-light-1'
35
- );
36
- @calendar-color-text-cell-hover-range-boundary: var(
37
- ~'@{arco-cssvars-prefix}-color-text-1'
38
- );
39
- @calendar-color-bg-cell-hover-range-boundary: var(
40
- ~'@{arco-cssvars-prefix}-color-primary-light-2'
41
- );
42
-
43
- @calendar-panel-color-text-cell_hover: @color-primary-6;
44
- @calendar-panel-color-bg-cell_hover: var(
45
- ~'@{arco-cssvars-prefix}-color-primary-light-1'
46
- );
47
- @calendar-panel-color-text-cell_selected: var(
48
- ~'@{arco-cssvars-prefix}-color-white'
49
- );
50
- @calendar-panel-color-bg-cell_selected: @color-primary-6;
51
- @calendar-panel-color-current-time-dot: @color-primary-6;
52
-
53
- // 不放到风格配置平台
54
- @calendar-panel-cell-boundary-border-radius: (
55
- (
56
- @calendar-panel-date-cell-circle-height +
57
- @calendar-panel-date-cell-padding-vertical * 2
58
- ) / 2
59
- );
60
- @calendar-color-box-shadow: var(
61
- ~'@{arco-cssvars-prefix}-color-primary-light-3'
62
- );
1
+ @import '../../style/theme/index.less';
2
+
3
+ @calendar-color-border: var(~'@{arco-cssvars-prefix}-color-neutral-3');
4
+
5
+ @calendar-header-padding-horizontal: 24px;
6
+ @calendar-header-padding-vertical: 24px;
7
+
8
+ @calendar-panel-date-cell-padding-vertical: 4px;
9
+ @calendar-panel-date-cell-circle-height: 24px;
10
+ @calendar-panel-year-cell-padding-vertical: 4px;
11
+ @calendar-panel-year-cell-circle-height: 24px;
12
+
13
+ @calendar-color-switch-icon: var(~'@{arco-cssvars-prefix}-color-text-2');
14
+ @calendar-color-bg-switch-icon: var(~'@{arco-cssvars-prefix}-color-bg-5');
15
+ @calendar-color-bg-switch-icon_hover: var(
16
+ ~'@{arco-cssvars-prefix}-color-fill-3'
17
+ );
18
+
19
+ @calendar-color-text-title: var(~'@{arco-cssvars-prefix}-color-text-1');
20
+ @calendar-color-cell-text-in-view: var(~'@{arco-cssvars-prefix}-color-text-1');
21
+ @calendar-color-cell-text-not-in-view: var(
22
+ ~'@{arco-cssvars-prefix}-color-text-4'
23
+ );
24
+ @calendar-color-bg-circle_selected: @color-primary-6;
25
+ @calendar-color-bg-cell-in-range: var(
26
+ ~'@{arco-cssvars-prefix}-color-primary-light-1'
27
+ );
28
+ @calendar-color-bg-cell-disabled: var(~'@{arco-cssvars-prefix}-color-fill-1');
29
+ @calendar-color-text-cell-range-boundary: var(
30
+ ~'@{arco-cssvars-prefix}-color-white'
31
+ );
32
+ @calendar-color-bg-cell-range-boundary: @color-primary-6;
33
+ @calendar-color-bg-cell-hover-in-range: var(
34
+ ~'@{arco-cssvars-prefix}-color-primary-light-1'
35
+ );
36
+ @calendar-color-text-cell-hover-range-boundary: var(
37
+ ~'@{arco-cssvars-prefix}-color-text-1'
38
+ );
39
+ @calendar-color-bg-cell-hover-range-boundary: var(
40
+ ~'@{arco-cssvars-prefix}-color-primary-light-2'
41
+ );
42
+
43
+ @calendar-panel-color-text-cell_hover: @color-primary-6;
44
+ @calendar-panel-color-bg-cell_hover: var(
45
+ ~'@{arco-cssvars-prefix}-color-primary-light-1'
46
+ );
47
+ @calendar-panel-color-text-cell_selected: var(
48
+ ~'@{arco-cssvars-prefix}-color-white'
49
+ );
50
+ @calendar-panel-color-bg-cell_selected: @color-primary-6;
51
+ @calendar-panel-color-current-time-dot: @color-primary-6;
52
+
53
+ // 不放到风格配置平台
54
+ @calendar-panel-cell-boundary-border-radius: (
55
+ (
56
+ @calendar-panel-date-cell-circle-height +
57
+ @calendar-panel-date-cell-padding-vertical * 2
58
+ ) / 2
59
+ );
60
+ @calendar-color-box-shadow: var(
61
+ ~'@{arco-cssvars-prefix}-color-primary-light-3'
62
+ );
@@ -1,219 +1,219 @@
1
- @import '../../style/mixins/index.less';
2
- @import './token.less';
3
-
4
- @card-prefix-cls: ~'@{prefix}-card';
5
-
6
- .@{card-prefix-cls} {
7
- position: relative;
8
- background: @card-color-bg;
9
- border-radius: @card-border-radius-no-border;
10
- transition: box-shadow @transition-duration-2
11
- @transition-timing-function-linear;
12
-
13
- &-header {
14
- position: relative;
15
- display: flex;
16
- align-items: center;
17
- justify-content: space-between;
18
- box-sizing: border-box;
19
- overflow: hidden;
20
- border-bottom: @card-border-width-title-bottom solid @card-color-border;
21
-
22
- &-no-title::before {
23
- display: block;
24
- content: ' ';
25
- }
26
-
27
- &-title {
28
- flex: 1;
29
- color: @card-color-title;
30
- font-weight: @card-font-weight-title;
31
- line-height: @line-height-base;
32
- .text-ellipsis();
33
- }
34
-
35
- &-extra {
36
- color: @card-color-title-extra;
37
- .text-ellipsis();
38
- }
39
- }
40
-
41
- &-body {
42
- color: @card-color-body;
43
- }
44
-
45
- &-cover {
46
- overflow: hidden;
47
-
48
- > * {
49
- display: block;
50
- width: 100%;
51
- }
52
- }
53
-
54
- &-actions {
55
- display: flex;
56
- align-items: center;
57
- justify-content: space-between;
58
- margin-top: @card-margin-top-meta-footer;
59
-
60
- &::before {
61
- visibility: hidden;
62
- content: '';
63
- }
64
-
65
- &-right {
66
- display: flex;
67
- align-items: center;
68
- }
69
-
70
- &-item {
71
- display: flex;
72
- align-items: center;
73
- justify-content: center;
74
- color: @card-color-action;
75
- cursor: pointer;
76
- transition: color @transition-duration-2
77
- @transition-timing-function-linear;
78
- .text-ellipsis();
79
-
80
- &:hover {
81
- color: @card-color-action_hover;
82
- }
83
-
84
- &:not(:last-child) {
85
- margin-right: @card-margin-right-action-item;
86
- }
87
- }
88
- }
89
-
90
- &-meta {
91
- &-footer {
92
- display: flex;
93
- align-items: center;
94
- justify-content: space-between;
95
-
96
- &:last-child {
97
- margin-top: @card-margin-top-meta-footer;
98
- }
99
-
100
- &-only-actions::before {
101
- visibility: hidden;
102
- content: '';
103
- }
104
-
105
- .@{card-prefix-cls}-actions {
106
- margin-top: 0;
107
- }
108
- }
109
-
110
- &-title {
111
- color: @card-color-title;
112
- font-weight: @card-font-weight-title;
113
- .text-ellipsis();
114
- }
115
-
116
- &-description:not(:first-child) {
117
- margin-top: @card-margin-top-meta-description;
118
- }
119
- }
120
-
121
- &-grid {
122
- position: relative;
123
- box-sizing: border-box;
124
- width: 33.33%;
125
- box-shadow: @card-border-width 0 0 0 @card-color-border,
126
- 0 @card-border-width 0 0 @card-color-border,
127
- @card-border-width @card-border-width 0 0 @card-color-border,
128
- @card-border-width 0 0 0 @card-color-border inset,
129
- 0 @card-border-width 0 0 @card-color-border inset;
130
-
131
- &::before {
132
- position: absolute;
133
- top: 0;
134
- right: 0;
135
- bottom: 0;
136
- left: 0;
137
- transition: box-shadow @transition-duration-2
138
- @transition-timing-function-linear;
139
- content: '';
140
- pointer-events: none;
141
- }
142
-
143
- &-hoverable:hover {
144
- z-index: 1;
145
-
146
- &::before {
147
- box-shadow: 0 4px 10px @card-color-box-shadow;
148
- }
149
- }
150
-
151
- // 避免 Card 的背景色遮住由 box-shadow 实现的 Grid 的边框
152
- .@{card-prefix-cls} {
153
- background: none;
154
- box-shadow: none;
155
- }
156
- }
157
-
158
- // 以下为特殊状态的补充
159
- &-contain-grid:not(&-loading) > &-body {
160
- display: flex;
161
- flex-wrap: wrap;
162
- margin: 0 -@card-border-width;
163
- padding: 0;
164
- }
165
-
166
- &-hoverable:hover {
167
- box-shadow: 0 4px 10px @card-color-box-shadow;
168
- }
169
-
170
- &-bordered {
171
- border: @card-border-width solid @card-color-border;
172
- border-radius: @card-border-radius;
173
-
174
- .@{card-prefix-cls}-cover {
175
- border-radius: @card-border-radius @card-border-radius 0 0;
176
- }
177
- }
178
-
179
- &-loading &-body {
180
- overflow: hidden;
181
- text-align: center;
182
- }
183
-
184
- // 不同尺寸
185
- .size(@name, @size) {
186
- &-size-@{name} {
187
- font-size: ~'@{card-size-@{size}-font-size}';
188
-
189
- .@{card-prefix-cls}-header {
190
- height: ~'@{card-size-@{size}-height-title}';
191
- padding: ~'@{card-size-@{size}-padding-vertical-title}' ~'@{card-size-@{size}-padding-horizontal-title}';
192
- }
193
-
194
- .@{card-prefix-cls}-header-title,
195
- .@{card-prefix-cls}-meta-title {
196
- font-size: ~'@{card-size-@{size}-font-size-title}';
197
- }
198
-
199
- .@{card-prefix-cls}-header-extra {
200
- font-size: ~'@{card-size-@{size}-font-size-title-extra}';
201
- }
202
-
203
- .@{card-prefix-cls}-body {
204
- padding: ~'@{card-size-@{size}-padding-vertical-body}' ~'@{card-size-@{size}-padding-horizontal-body}';
205
- }
206
- }
207
- }
208
-
209
- .size(medium, default);
210
- .size(small, small);
211
- }
212
-
213
- // dark mode
214
- @{arco-theme-tag}[arco-theme='dark'] {
215
- .@{card-prefix-cls}-grid-hoverable:hover::before,
216
- .@{card-prefix-cls}-hoverable:hover {
217
- box-shadow: 0 4px 10px @card-color-box-shadow_dark;
218
- }
219
- }
1
+ @import '../../style/mixins/index.less';
2
+ @import './token.less';
3
+
4
+ @card-prefix-cls: ~'@{prefix}-card';
5
+
6
+ .@{card-prefix-cls} {
7
+ position: relative;
8
+ background: @card-color-bg;
9
+ border-radius: @card-border-radius-no-border;
10
+ transition: box-shadow @transition-duration-2
11
+ @transition-timing-function-linear;
12
+
13
+ &-header {
14
+ position: relative;
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: space-between;
18
+ box-sizing: border-box;
19
+ overflow: hidden;
20
+ border-bottom: @card-border-width-title-bottom solid @card-color-border;
21
+
22
+ &-no-title::before {
23
+ display: block;
24
+ content: ' ';
25
+ }
26
+
27
+ &-title {
28
+ flex: 1;
29
+ color: @card-color-title;
30
+ font-weight: @card-font-weight-title;
31
+ line-height: @line-height-base;
32
+ .text-ellipsis();
33
+ }
34
+
35
+ &-extra {
36
+ color: @card-color-title-extra;
37
+ .text-ellipsis();
38
+ }
39
+ }
40
+
41
+ &-body {
42
+ color: @card-color-body;
43
+ }
44
+
45
+ &-cover {
46
+ overflow: hidden;
47
+
48
+ > * {
49
+ display: block;
50
+ width: 100%;
51
+ }
52
+ }
53
+
54
+ &-actions {
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: space-between;
58
+ margin-top: @card-margin-top-meta-footer;
59
+
60
+ &::before {
61
+ visibility: hidden;
62
+ content: '';
63
+ }
64
+
65
+ &-right {
66
+ display: flex;
67
+ align-items: center;
68
+ }
69
+
70
+ &-item {
71
+ display: flex;
72
+ align-items: center;
73
+ justify-content: center;
74
+ color: @card-color-action;
75
+ cursor: pointer;
76
+ transition: color @transition-duration-2
77
+ @transition-timing-function-linear;
78
+ .text-ellipsis();
79
+
80
+ &:hover {
81
+ color: @card-color-action_hover;
82
+ }
83
+
84
+ &:not(:last-child) {
85
+ margin-right: @card-margin-right-action-item;
86
+ }
87
+ }
88
+ }
89
+
90
+ &-meta {
91
+ &-footer {
92
+ display: flex;
93
+ align-items: center;
94
+ justify-content: space-between;
95
+
96
+ &:last-child {
97
+ margin-top: @card-margin-top-meta-footer;
98
+ }
99
+
100
+ &-only-actions::before {
101
+ visibility: hidden;
102
+ content: '';
103
+ }
104
+
105
+ .@{card-prefix-cls}-actions {
106
+ margin-top: 0;
107
+ }
108
+ }
109
+
110
+ &-title {
111
+ color: @card-color-title;
112
+ font-weight: @card-font-weight-title;
113
+ .text-ellipsis();
114
+ }
115
+
116
+ &-description:not(:first-child) {
117
+ margin-top: @card-margin-top-meta-description;
118
+ }
119
+ }
120
+
121
+ &-grid {
122
+ position: relative;
123
+ box-sizing: border-box;
124
+ width: 33.33%;
125
+ box-shadow: @card-border-width 0 0 0 @card-color-border,
126
+ 0 @card-border-width 0 0 @card-color-border,
127
+ @card-border-width @card-border-width 0 0 @card-color-border,
128
+ @card-border-width 0 0 0 @card-color-border inset,
129
+ 0 @card-border-width 0 0 @card-color-border inset;
130
+
131
+ &::before {
132
+ position: absolute;
133
+ top: 0;
134
+ right: 0;
135
+ bottom: 0;
136
+ left: 0;
137
+ transition: box-shadow @transition-duration-2
138
+ @transition-timing-function-linear;
139
+ content: '';
140
+ pointer-events: none;
141
+ }
142
+
143
+ &-hoverable:hover {
144
+ z-index: 1;
145
+
146
+ &::before {
147
+ box-shadow: 0 4px 10px @card-color-box-shadow;
148
+ }
149
+ }
150
+
151
+ // 避免 Card 的背景色遮住由 box-shadow 实现的 Grid 的边框
152
+ .@{card-prefix-cls} {
153
+ background: none;
154
+ box-shadow: none;
155
+ }
156
+ }
157
+
158
+ // 以下为特殊状态的补充
159
+ &-contain-grid:not(&-loading) > &-body {
160
+ display: flex;
161
+ flex-wrap: wrap;
162
+ margin: 0 -@card-border-width;
163
+ padding: 0;
164
+ }
165
+
166
+ &-hoverable:hover {
167
+ box-shadow: 0 4px 10px @card-color-box-shadow;
168
+ }
169
+
170
+ &-bordered {
171
+ border: @card-border-width solid @card-color-border;
172
+ border-radius: @card-border-radius;
173
+
174
+ .@{card-prefix-cls}-cover {
175
+ border-radius: @card-border-radius @card-border-radius 0 0;
176
+ }
177
+ }
178
+
179
+ &-loading &-body {
180
+ overflow: hidden;
181
+ text-align: center;
182
+ }
183
+
184
+ // 不同尺寸
185
+ .size(@name, @size) {
186
+ &-size-@{name} {
187
+ font-size: ~'@{card-size-@{size}-font-size}';
188
+
189
+ .@{card-prefix-cls}-header {
190
+ height: ~'@{card-size-@{size}-height-title}';
191
+ padding: ~'@{card-size-@{size}-padding-vertical-title}' ~'@{card-size-@{size}-padding-horizontal-title}';
192
+ }
193
+
194
+ .@{card-prefix-cls}-header-title,
195
+ .@{card-prefix-cls}-meta-title {
196
+ font-size: ~'@{card-size-@{size}-font-size-title}';
197
+ }
198
+
199
+ .@{card-prefix-cls}-header-extra {
200
+ font-size: ~'@{card-size-@{size}-font-size-title-extra}';
201
+ }
202
+
203
+ .@{card-prefix-cls}-body {
204
+ padding: ~'@{card-size-@{size}-padding-vertical-body}' ~'@{card-size-@{size}-padding-horizontal-body}';
205
+ }
206
+ }
207
+ }
208
+
209
+ .size(medium, default);
210
+ .size(small, small);
211
+ }
212
+
213
+ // dark mode
214
+ @{arco-theme-tag}[arco-theme='dark'] {
215
+ .@{card-prefix-cls}-grid-hoverable:hover::before,
216
+ .@{card-prefix-cls}-hoverable:hover {
217
+ box-shadow: 0 4px 10px @card-color-box-shadow_dark;
218
+ }
219
+ }
@@ -1,40 +1,40 @@
1
- @import '../../style/theme/index.less';
2
-
3
- @card-size-small-height-title: @size-10;
4
- @card-size-small-font-size-title: @font-size-title-1;
5
- @card-size-small-font-size-title-extra: @font-size-body-3;
6
- @card-size-small-font-size: @font-size-body-3;
7
- @card-size-small-padding-horizontal-title: @spacing-7;
8
- @card-size-small-padding-vertical-title: @spacing-4;
9
- @card-size-small-padding-horizontal-body: @spacing-7;
10
- @card-size-small-padding-vertical-body: @spacing-6;
11
-
12
- @card-size-default-height-title: 46px;
13
- @card-size-default-font-size-title: @font-size-title-1;
14
- @card-size-default-font-size-title-extra: @font-size-body-3;
15
- @card-size-default-font-size: @font-size-body-3;
16
- @card-size-default-padding-horizontal-title: @spacing-7;
17
- @card-size-default-padding-vertical-title: @spacing-5;
18
- @card-size-default-padding-horizontal-body: @spacing-7;
19
- @card-size-default-padding-vertical-body: @spacing-7;
20
-
21
- @card-line-height: @line-height-base;
22
- @card-font-weight-title: @font-weight-500;
23
- @card-margin-top-meta-footer: @spacing-8;
24
- @card-margin-top-meta-description: @spacing-2;
25
- @card-margin-right-action-item: @spacing-6;
26
-
27
- @card-color-bg: var(~'@{arco-cssvars-prefix}-color-bg-2');
28
- @card-color-border: var(~'@{arco-cssvars-prefix}-color-neutral-3');
29
- @card-color-title: var(~'@{arco-cssvars-prefix}-color-text-1');
30
- @card-color-title-extra: @color-primary-6;
31
- @card-color-body: var(~'@{arco-cssvars-prefix}-color-text-2');
32
- @card-color-action: var(~'@{arco-cssvars-prefix}-color-text-2');
33
- @card-color-action_hover: @color-primary-6;
34
- @card-color-box-shadow: rgb(var(~'@{arco-cssvars-prefix}-gray-2'));
35
- @card-color-box-shadow_dark: rgba(var(~'@{arco-cssvars-prefix}-gray-1'), 40%);
36
-
37
- @card-border-width: @border-1;
38
- @card-border-width-title-bottom: @border-1;
39
- @card-border-radius: @radius-small;
40
- @card-border-radius-no-border: @radius-none;
1
+ @import '../../style/theme/index.less';
2
+
3
+ @card-size-small-height-title: @size-10;
4
+ @card-size-small-font-size-title: @font-size-title-1;
5
+ @card-size-small-font-size-title-extra: @font-size-body-3;
6
+ @card-size-small-font-size: @font-size-body-3;
7
+ @card-size-small-padding-horizontal-title: @spacing-7;
8
+ @card-size-small-padding-vertical-title: @spacing-4;
9
+ @card-size-small-padding-horizontal-body: @spacing-7;
10
+ @card-size-small-padding-vertical-body: @spacing-6;
11
+
12
+ @card-size-default-height-title: 46px;
13
+ @card-size-default-font-size-title: @font-size-title-1;
14
+ @card-size-default-font-size-title-extra: @font-size-body-3;
15
+ @card-size-default-font-size: @font-size-body-3;
16
+ @card-size-default-padding-horizontal-title: @spacing-7;
17
+ @card-size-default-padding-vertical-title: @spacing-5;
18
+ @card-size-default-padding-horizontal-body: @spacing-7;
19
+ @card-size-default-padding-vertical-body: @spacing-7;
20
+
21
+ @card-line-height: @line-height-base;
22
+ @card-font-weight-title: @font-weight-500;
23
+ @card-margin-top-meta-footer: @spacing-8;
24
+ @card-margin-top-meta-description: @spacing-2;
25
+ @card-margin-right-action-item: @spacing-6;
26
+
27
+ @card-color-bg: var(~'@{arco-cssvars-prefix}-color-bg-2');
28
+ @card-color-border: var(~'@{arco-cssvars-prefix}-color-neutral-3');
29
+ @card-color-title: var(~'@{arco-cssvars-prefix}-color-text-1');
30
+ @card-color-title-extra: @color-primary-6;
31
+ @card-color-body: var(~'@{arco-cssvars-prefix}-color-text-2');
32
+ @card-color-action: var(~'@{arco-cssvars-prefix}-color-text-2');
33
+ @card-color-action_hover: @color-primary-6;
34
+ @card-color-box-shadow: rgb(var(~'@{arco-cssvars-prefix}-gray-2'));
35
+ @card-color-box-shadow_dark: rgba(var(~'@{arco-cssvars-prefix}-gray-1'), 40%);
36
+
37
+ @card-border-width: @border-1;
38
+ @card-border-width-title-bottom: @border-1;
39
+ @card-border-radius: @radius-small;
40
+ @card-border-radius-no-border: @radius-none;