persagy-vant 0.0.37 → 0.0.39

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 (415) hide show
  1. package/es/action-sheet/ActionSheet.d.ts +3 -15
  2. package/es/action-sheet/ActionSheet.mjs +22 -11
  3. package/es/action-sheet/index.css +1 -1
  4. package/es/action-sheet/index.d.ts +2 -11
  5. package/es/action-sheet/index.less +31 -17
  6. package/es/action-sheet/style/index.mjs +2 -0
  7. package/es/action-sheet/style/less.mjs +2 -0
  8. package/es/action-sheet/var.less +1 -4
  9. package/es/address-edit/AddressEditDetail.d.ts +1 -1
  10. package/es/address-edit/style/index.mjs +1 -0
  11. package/es/address-edit/style/less.mjs +1 -0
  12. package/es/area/style/index.mjs +2 -0
  13. package/es/area/style/less.mjs +2 -0
  14. package/es/button/Button.d.ts +4 -1
  15. package/es/button/Button.mjs +21 -1
  16. package/es/button/index.css +1 -1
  17. package/es/button/index.d.ts +3 -1
  18. package/es/button/index.less +11 -5
  19. package/es/calendar/Calendar.d.ts +1 -1
  20. package/es/calendar/index.d.ts +1 -1
  21. package/es/cascader/Cascader.d.ts +1 -1
  22. package/es/cascader/index.d.ts +1 -1
  23. package/es/cascader/style/index.mjs +2 -0
  24. package/es/cascader/style/less.mjs +2 -0
  25. package/es/cell/Cell.d.ts +305 -1
  26. package/es/cell/Cell.mjs +238 -19
  27. package/es/cell/index.css +1 -1
  28. package/es/cell/index.d.ts +166 -2
  29. package/es/cell/index.less +77 -0
  30. package/es/cell/style/index.mjs +1 -0
  31. package/es/cell/style/less.mjs +1 -0
  32. package/es/checkbox-panel/index.css +1 -1
  33. package/es/checkbox-panel/index.less +1 -1
  34. package/es/checkbox-panel/style/index.mjs +1 -0
  35. package/es/checkbox-panel/style/less.mjs +1 -0
  36. package/es/collapse-item/CollapseItem.d.ts +230 -0
  37. package/es/collapse-item/index.d.ts +160 -0
  38. package/es/collapse-item/style/index.mjs +1 -0
  39. package/es/collapse-item/style/less.mjs +1 -0
  40. package/es/contact-card/style/index.mjs +1 -0
  41. package/es/contact-card/style/less.mjs +1 -0
  42. package/es/contact-edit/style/index.mjs +1 -0
  43. package/es/contact-edit/style/less.mjs +1 -0
  44. package/es/content-panel/index.css +1 -1
  45. package/es/content-panel/index.less +2 -0
  46. package/es/coupon-cell/style/index.mjs +1 -0
  47. package/es/coupon-cell/style/less.mjs +1 -0
  48. package/es/coupon-list/style/index.mjs +3 -0
  49. package/es/coupon-list/style/less.mjs +3 -0
  50. package/es/dialog/Dialog.d.ts +1 -1
  51. package/es/dialog/function-call.d.ts +1 -1
  52. package/es/dialog/style/index.mjs +1 -0
  53. package/es/dialog/style/less.mjs +1 -0
  54. package/es/dropdown-item/DropdownItem.d.ts +2 -2
  55. package/es/dropdown-item/index.d.ts +2 -2
  56. package/es/dropdown-item/style/index.mjs +1 -0
  57. package/es/dropdown-item/style/less.mjs +1 -0
  58. package/es/field/Field.d.ts +230 -0
  59. package/es/field/index.d.ts +160 -0
  60. package/es/field/style/index.mjs +1 -0
  61. package/es/field/style/less.mjs +1 -0
  62. package/es/floor-select/style/index.mjs +3 -0
  63. package/es/floor-select/style/less.mjs +3 -0
  64. package/es/form-panel/index.css +1 -1
  65. package/es/form-panel/index.less +2 -0
  66. package/es/icon/Icon.mjs +7 -4
  67. package/es/icon/assets/copy.svg +4 -0
  68. package/es/icon/config.d.ts +1 -0
  69. package/es/icon/config.mjs +1 -0
  70. package/es/icon/gif.d.ts +6 -0
  71. package/es/icon/gif.mjs +9 -0
  72. package/es/icon/index.css +1 -1
  73. package/es/icon/index.d.ts +2 -0
  74. package/es/icon/index.mjs +4 -1
  75. package/es/icon/latest-iconfont.css +1 -1
  76. package/es/icon/latest-iconfont.less +11 -0
  77. package/es/image-preview/ImagePreview.d.ts +2 -2
  78. package/es/image-preview/function-call.d.ts +2 -2
  79. package/es/index.d.ts +1 -1
  80. package/es/index.mjs +1 -1
  81. package/es/info-card/InfoCard.d.ts +32 -1
  82. package/es/info-card/InfoCard.mjs +45 -3
  83. package/es/info-card/index.css +1 -1
  84. package/es/info-card/index.d.ts +23 -2
  85. package/es/info-card/index.less +57 -0
  86. package/es/info-card/var.less +1 -1
  87. package/es/label/Label.d.ts +21 -0
  88. package/es/label/Label.mjs +12 -2
  89. package/es/label/index.css +1 -1
  90. package/es/label/index.d.ts +15 -0
  91. package/es/label/index.less +31 -0
  92. package/es/label/var.less +2 -0
  93. package/es/list/style/index.mjs +2 -0
  94. package/es/list/style/less.mjs +2 -0
  95. package/es/loading/Loading.mjs +8 -26
  96. package/es/loading/style/index.mjs +2 -0
  97. package/es/loading/style/less.mjs +2 -0
  98. package/es/location-select/index.css +1 -1
  99. package/es/location-select/index.less +1 -1
  100. package/es/location-select/style/index.mjs +1 -0
  101. package/es/location-select/style/less.mjs +1 -0
  102. package/es/material-action-bar/MaterialActionBar.d.ts +9 -0
  103. package/es/material-action-bar/MaterialActionBar.mjs +5 -2
  104. package/es/material-action-bar/index.css +1 -1
  105. package/es/material-action-bar/index.d.ts +18 -0
  106. package/es/material-action-bar/index.less +3 -1
  107. package/es/material-add/MaterialAdd.mjs +158 -63
  108. package/es/material-add/index.css +1 -1
  109. package/es/material-add/index.d.ts +1 -1
  110. package/es/material-add/index.less +1 -15
  111. package/es/material-add/style/index.mjs +1 -1
  112. package/es/material-add/style/less.mjs +1 -1
  113. package/es/material-add/types.d.ts +7 -4
  114. package/es/material-detail/MaterialDetail.mjs +14 -9
  115. package/es/material-display-bar/MaterialDisplayBar.d.ts +3 -3
  116. package/es/material-display-bar/index.css +1 -1
  117. package/es/material-display-bar/index.d.ts +9 -9
  118. package/es/material-display-bar/index.less +2 -1
  119. package/es/material-display-bar/var.less +1 -0
  120. package/es/multi-person-select/index.css +1 -1
  121. package/es/multi-person-select/index.less +1 -1
  122. package/es/multi-person-select/style/index.mjs +1 -0
  123. package/es/multi-person-select/style/less.mjs +1 -0
  124. package/es/notify/Notify.d.ts +1 -1
  125. package/es/notify/function-call.d.ts +1 -1
  126. package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
  127. package/es/number-keyboard/index.d.ts +2 -2
  128. package/es/number-keyboard/style/index.mjs +2 -0
  129. package/es/number-keyboard/style/less.mjs +2 -0
  130. package/es/object-select/index.css +1 -1
  131. package/es/object-select/index.less +2 -0
  132. package/es/object-select/style/index.mjs +1 -0
  133. package/es/object-select/style/less.mjs +1 -0
  134. package/es/picker/style/index.mjs +2 -0
  135. package/es/picker/style/less.mjs +2 -0
  136. package/es/popover/Popover.d.ts +3 -3
  137. package/es/popover/index.d.ts +3 -3
  138. package/es/popup/Popup.d.ts +4 -4
  139. package/es/popup/index.d.ts +4 -4
  140. package/es/progress/Progress.d.ts +17 -0
  141. package/es/progress/Progress.mjs +14 -9
  142. package/es/progress/index.css +1 -1
  143. package/es/progress/index.d.ts +12 -1
  144. package/es/progress/index.less +24 -14
  145. package/es/progress/types.d.ts +1 -0
  146. package/es/progress/var.less +10 -7
  147. package/es/pull-refresh/style/index.mjs +2 -0
  148. package/es/pull-refresh/style/less.mjs +2 -0
  149. package/es/quantity-input/style/index.mjs +1 -0
  150. package/es/quantity-input/style/less.mjs +1 -0
  151. package/es/radio-panel/RadioPanel.d.ts +1 -1
  152. package/es/radio-panel/index.css +1 -1
  153. package/es/radio-panel/index.d.ts +1 -1
  154. package/es/radio-panel/index.less +1 -1
  155. package/es/radio-panel/style/index.mjs +1 -0
  156. package/es/radio-panel/style/less.mjs +1 -0
  157. package/es/rate/style/index.mjs +1 -0
  158. package/es/rate/style/less.mjs +1 -0
  159. package/es/search/style/index.mjs +1 -0
  160. package/es/search/style/less.mjs +1 -0
  161. package/es/share-sheet/ShareSheet.d.ts +1 -1
  162. package/es/share-sheet/index.d.ts +1 -1
  163. package/es/single-person-select/index.css +1 -1
  164. package/es/single-person-select/index.less +2 -0
  165. package/es/single-person-select/style/index.mjs +1 -0
  166. package/es/single-person-select/style/less.mjs +1 -0
  167. package/es/style/base.css +1 -1
  168. package/es/style/base.less +5 -0
  169. package/es/style/css-variables.css +1 -1
  170. package/es/style/css-variables.less +1 -0
  171. package/es/style/var.less +1 -0
  172. package/es/swipe-cell/SwipeCell.d.ts +2 -2
  173. package/es/swipe-cell/index.d.ts +2 -2
  174. package/es/switch/style/index.mjs +2 -0
  175. package/es/switch/style/less.mjs +2 -0
  176. package/es/tab/style/index.mjs +2 -0
  177. package/es/tab/style/less.mjs +2 -0
  178. package/es/tabs/style/index.mjs +2 -0
  179. package/es/tabs/style/less.mjs +2 -0
  180. package/es/title-bar/TitleBar.d.ts +2 -2
  181. package/es/title-bar/index.d.ts +2 -2
  182. package/es/toast/Toast.d.ts +1 -1
  183. package/es/tree-select/TreeSelect.mjs +9 -4
  184. package/es/tree-select/index.css +1 -1
  185. package/es/tree-select/index.less +29 -1
  186. package/es/tree-select/style/index.mjs +1 -0
  187. package/es/tree-select/style/less.mjs +1 -0
  188. package/es/video-preview/VideoPreview.d.ts +2 -2
  189. package/es/video-preview/function-call.d.ts +2 -2
  190. package/es/work-order-card/WorkOrderCard.mjs +52 -11
  191. package/es/work-order-card/index.css +1 -1
  192. package/es/work-order-card/index.less +3 -4
  193. package/es/work-order-card/style/index.mjs +2 -0
  194. package/es/work-order-card/style/less.mjs +2 -0
  195. package/es/work-order-card/types.d.ts +14 -1
  196. package/es/work-order-filter/index.css +1 -1
  197. package/es/work-order-filter/index.less +2 -0
  198. package/es/work-order-filter/style/index.mjs +1 -0
  199. package/es/work-order-filter/style/less.mjs +1 -0
  200. package/lib/action-sheet/ActionSheet.d.ts +3 -15
  201. package/lib/action-sheet/ActionSheet.js +21 -10
  202. package/lib/action-sheet/index.css +1 -1
  203. package/lib/action-sheet/index.d.ts +2 -11
  204. package/lib/action-sheet/index.less +31 -17
  205. package/lib/action-sheet/style/index.js +2 -0
  206. package/lib/action-sheet/style/less.js +2 -0
  207. package/lib/action-sheet/var.less +1 -4
  208. package/lib/address-edit/AddressEditDetail.d.ts +1 -1
  209. package/lib/address-edit/style/index.js +1 -0
  210. package/lib/address-edit/style/less.js +1 -0
  211. package/lib/area/style/index.js +2 -0
  212. package/lib/area/style/less.js +2 -0
  213. package/lib/button/Button.d.ts +4 -1
  214. package/lib/button/Button.js +21 -1
  215. package/lib/button/index.css +1 -1
  216. package/lib/button/index.d.ts +3 -1
  217. package/lib/button/index.less +11 -5
  218. package/lib/calendar/Calendar.d.ts +1 -1
  219. package/lib/calendar/index.d.ts +1 -1
  220. package/lib/cascader/Cascader.d.ts +1 -1
  221. package/lib/cascader/index.d.ts +1 -1
  222. package/lib/cascader/style/index.js +2 -0
  223. package/lib/cascader/style/less.js +2 -0
  224. package/lib/cell/Cell.d.ts +305 -1
  225. package/lib/cell/Cell.js +238 -19
  226. package/lib/cell/index.css +1 -1
  227. package/lib/cell/index.d.ts +166 -2
  228. package/lib/cell/index.less +77 -0
  229. package/lib/cell/style/index.js +1 -0
  230. package/lib/cell/style/less.js +1 -0
  231. package/lib/checkbox-panel/index.css +1 -1
  232. package/lib/checkbox-panel/index.less +1 -1
  233. package/lib/checkbox-panel/style/index.js +1 -0
  234. package/lib/checkbox-panel/style/less.js +1 -0
  235. package/lib/collapse-item/CollapseItem.d.ts +230 -0
  236. package/lib/collapse-item/index.d.ts +160 -0
  237. package/lib/collapse-item/style/index.js +1 -0
  238. package/lib/collapse-item/style/less.js +1 -0
  239. package/lib/contact-card/style/index.js +1 -0
  240. package/lib/contact-card/style/less.js +1 -0
  241. package/lib/contact-edit/style/index.js +1 -0
  242. package/lib/contact-edit/style/less.js +1 -0
  243. package/lib/content-panel/index.css +1 -1
  244. package/lib/content-panel/index.less +2 -0
  245. package/lib/coupon-cell/style/index.js +1 -0
  246. package/lib/coupon-cell/style/less.js +1 -0
  247. package/lib/coupon-list/style/index.js +3 -0
  248. package/lib/coupon-list/style/less.js +3 -0
  249. package/lib/dialog/Dialog.d.ts +1 -1
  250. package/lib/dialog/function-call.d.ts +1 -1
  251. package/lib/dialog/style/index.js +1 -0
  252. package/lib/dialog/style/less.js +1 -0
  253. package/lib/dropdown-item/DropdownItem.d.ts +2 -2
  254. package/lib/dropdown-item/index.d.ts +2 -2
  255. package/lib/dropdown-item/style/index.js +1 -0
  256. package/lib/dropdown-item/style/less.js +1 -0
  257. package/lib/field/Field.d.ts +230 -0
  258. package/lib/field/index.d.ts +160 -0
  259. package/lib/field/style/index.js +1 -0
  260. package/lib/field/style/less.js +1 -0
  261. package/lib/floor-select/style/index.js +3 -0
  262. package/lib/floor-select/style/less.js +3 -0
  263. package/lib/form-panel/index.css +1 -1
  264. package/lib/form-panel/index.less +2 -0
  265. package/lib/icon/Icon.js +7 -4
  266. package/lib/icon/assets/copy.svg +4 -0
  267. package/lib/icon/config.d.ts +1 -0
  268. package/lib/icon/config.js +1 -0
  269. package/lib/icon/gif.d.ts +6 -0
  270. package/lib/icon/gif.js +28 -0
  271. package/lib/icon/index.css +1 -1
  272. package/lib/icon/index.d.ts +2 -0
  273. package/lib/icon/index.js +4 -1
  274. package/lib/icon/latest-iconfont.css +1 -1
  275. package/lib/icon/latest-iconfont.less +11 -0
  276. package/lib/image-preview/ImagePreview.d.ts +2 -2
  277. package/lib/image-preview/function-call.d.ts +2 -2
  278. package/lib/index.css +1 -1
  279. package/lib/index.d.ts +1 -1
  280. package/lib/index.js +1 -1
  281. package/lib/index.less +2 -2
  282. package/lib/info-card/InfoCard.d.ts +32 -1
  283. package/lib/info-card/InfoCard.js +45 -3
  284. package/lib/info-card/index.css +1 -1
  285. package/lib/info-card/index.d.ts +23 -2
  286. package/lib/info-card/index.less +57 -0
  287. package/lib/info-card/var.less +1 -1
  288. package/lib/label/Label.d.ts +21 -0
  289. package/lib/label/Label.js +12 -2
  290. package/lib/label/index.css +1 -1
  291. package/lib/label/index.d.ts +15 -0
  292. package/lib/label/index.less +31 -0
  293. package/lib/label/var.less +2 -0
  294. package/lib/list/style/index.js +2 -0
  295. package/lib/list/style/less.js +2 -0
  296. package/lib/loading/Loading.js +8 -26
  297. package/lib/loading/style/index.js +2 -0
  298. package/lib/loading/style/less.js +2 -0
  299. package/lib/location-select/index.css +1 -1
  300. package/lib/location-select/index.less +1 -1
  301. package/lib/location-select/style/index.js +1 -0
  302. package/lib/location-select/style/less.js +1 -0
  303. package/lib/material-action-bar/MaterialActionBar.d.ts +9 -0
  304. package/lib/material-action-bar/MaterialActionBar.js +4 -1
  305. package/lib/material-action-bar/index.css +1 -1
  306. package/lib/material-action-bar/index.d.ts +18 -0
  307. package/lib/material-action-bar/index.less +3 -1
  308. package/lib/material-add/MaterialAdd.js +158 -63
  309. package/lib/material-add/index.css +1 -1
  310. package/lib/material-add/index.d.ts +1 -1
  311. package/lib/material-add/index.less +1 -15
  312. package/lib/material-add/style/index.js +1 -1
  313. package/lib/material-add/style/less.js +1 -1
  314. package/lib/material-add/types.d.ts +7 -4
  315. package/lib/material-detail/MaterialDetail.js +14 -9
  316. package/lib/material-display-bar/MaterialDisplayBar.d.ts +3 -3
  317. package/lib/material-display-bar/index.css +1 -1
  318. package/lib/material-display-bar/index.d.ts +9 -9
  319. package/lib/material-display-bar/index.less +2 -1
  320. package/lib/material-display-bar/var.less +1 -0
  321. package/lib/multi-person-select/index.css +1 -1
  322. package/lib/multi-person-select/index.less +1 -1
  323. package/lib/multi-person-select/style/index.js +1 -0
  324. package/lib/multi-person-select/style/less.js +1 -0
  325. package/lib/notify/Notify.d.ts +1 -1
  326. package/lib/notify/function-call.d.ts +1 -1
  327. package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
  328. package/lib/number-keyboard/index.d.ts +2 -2
  329. package/lib/number-keyboard/style/index.js +2 -0
  330. package/lib/number-keyboard/style/less.js +2 -0
  331. package/lib/object-select/index.css +1 -1
  332. package/lib/object-select/index.less +2 -0
  333. package/lib/object-select/style/index.js +1 -0
  334. package/lib/object-select/style/less.js +1 -0
  335. package/lib/picker/style/index.js +2 -0
  336. package/lib/picker/style/less.js +2 -0
  337. package/lib/popover/Popover.d.ts +3 -3
  338. package/lib/popover/index.d.ts +3 -3
  339. package/lib/popup/Popup.d.ts +4 -4
  340. package/lib/popup/index.d.ts +4 -4
  341. package/lib/progress/Progress.d.ts +17 -0
  342. package/lib/progress/Progress.js +13 -8
  343. package/lib/progress/index.css +1 -1
  344. package/lib/progress/index.d.ts +12 -1
  345. package/lib/progress/index.less +24 -14
  346. package/lib/progress/types.d.ts +1 -0
  347. package/lib/progress/var.less +10 -7
  348. package/lib/pull-refresh/style/index.js +2 -0
  349. package/lib/pull-refresh/style/less.js +2 -0
  350. package/lib/quantity-input/style/index.js +1 -0
  351. package/lib/quantity-input/style/less.js +1 -0
  352. package/lib/radio-panel/RadioPanel.d.ts +1 -1
  353. package/lib/radio-panel/index.css +1 -1
  354. package/lib/radio-panel/index.d.ts +1 -1
  355. package/lib/radio-panel/index.less +1 -1
  356. package/lib/radio-panel/style/index.js +1 -0
  357. package/lib/radio-panel/style/less.js +1 -0
  358. package/lib/rate/style/index.js +1 -0
  359. package/lib/rate/style/less.js +1 -0
  360. package/lib/search/style/index.js +1 -0
  361. package/lib/search/style/less.js +1 -0
  362. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  363. package/lib/share-sheet/index.d.ts +1 -1
  364. package/lib/single-person-select/index.css +1 -1
  365. package/lib/single-person-select/index.less +2 -0
  366. package/lib/single-person-select/style/index.js +1 -0
  367. package/lib/single-person-select/style/less.js +1 -0
  368. package/lib/style/base.css +1 -1
  369. package/lib/style/base.less +5 -0
  370. package/lib/style/css-variables.css +1 -1
  371. package/lib/style/css-variables.less +1 -0
  372. package/lib/style/var.less +1 -0
  373. package/lib/swipe-cell/SwipeCell.d.ts +2 -2
  374. package/lib/swipe-cell/index.d.ts +2 -2
  375. package/lib/switch/style/index.js +2 -0
  376. package/lib/switch/style/less.js +2 -0
  377. package/lib/tab/style/index.js +2 -0
  378. package/lib/tab/style/less.js +2 -0
  379. package/lib/tabs/style/index.js +2 -0
  380. package/lib/tabs/style/less.js +2 -0
  381. package/lib/title-bar/TitleBar.d.ts +2 -2
  382. package/lib/title-bar/index.d.ts +2 -2
  383. package/lib/toast/Toast.d.ts +1 -1
  384. package/lib/tree-select/TreeSelect.js +9 -4
  385. package/lib/tree-select/index.css +1 -1
  386. package/lib/tree-select/index.less +29 -1
  387. package/lib/tree-select/style/index.js +1 -0
  388. package/lib/tree-select/style/less.js +1 -0
  389. package/lib/vant.cjs.js +1590 -1159
  390. package/lib/vant.es.js +1591 -1160
  391. package/lib/vant.js +5511 -5080
  392. package/lib/vant.min.js +1 -1
  393. package/lib/video-preview/VideoPreview.d.ts +2 -2
  394. package/lib/video-preview/function-call.d.ts +2 -2
  395. package/lib/web-types.json +1 -1
  396. package/lib/work-order-card/WorkOrderCard.js +52 -11
  397. package/lib/work-order-card/index.css +1 -1
  398. package/lib/work-order-card/index.less +3 -4
  399. package/lib/work-order-card/style/index.js +2 -0
  400. package/lib/work-order-card/style/less.js +2 -0
  401. package/lib/work-order-card/types.d.ts +14 -1
  402. package/lib/work-order-filter/index.css +1 -1
  403. package/lib/work-order-filter/index.less +2 -0
  404. package/lib/work-order-filter/style/index.js +1 -0
  405. package/lib/work-order-filter/style/less.js +1 -0
  406. package/package.json +2 -2
  407. package/skills/use-persagy-vant/SKILL.md +1 -1
  408. package/skills/use-persagy-vant/references/component-documentation.md +4 -4
  409. package/skills/use-persagy-vant/references/component-variant-selection.md +2 -2
  410. package/skills/use-persagy-vant/references/design-interaction-baseline.md +2 -1
  411. package/skills/use-persagy-vant/references/page-recipes.md +4 -0
  412. package/skills/use-persagy-vant/references/public-style-system.md +105 -0
  413. package/skills/use-persagy-vant/references/reuse-policy.md +2 -2
  414. /package/es/{loading/assets/building.gif → icon/assets/gif/loading-building.gif} +0 -0
  415. /package/lib/{loading/assets/building.gif → icon/assets/gif/loading-building.gif} +0 -0
@@ -2,21 +2,37 @@
2
2
 
3
3
  :root {
4
4
  --van-progress-height: @progress-height;
5
+ --van-progress-large-height: @progress-large-height;
5
6
  --van-progress-color: @progress-color;
6
7
  --van-progress-inactive-color: @progress-inactive-color;
7
8
  --van-progress-background-color: @progress-background-color;
8
9
  --van-progress-pivot-padding: @progress-pivot-padding;
9
- --van-progress-pivot-text-color: @progress-pivot-text-color;
10
+ --van-progress-pivot-text-color: var(--van-progress-pivot-background-color);
10
11
  --van-progress-pivot-font-size: @progress-pivot-font-size;
12
+ --van-progress-large-pivot-font-size: @progress-large-pivot-font-size;
11
13
  --van-progress-pivot-line-height: @progress-pivot-line-height;
12
14
  --van-progress-pivot-background-color: @progress-pivot-background-color;
15
+ --van-progress-text-gap: @progress-text-gap;
13
16
  }
14
17
 
15
18
  .van-progress {
16
- position: relative;
17
- height: var(--van-progress-height);
18
- background: var(--van-progress-background-color);
19
- border-radius: var(--van-progress-height);
19
+ display: flex;
20
+ align-items: center;
21
+ gap: var(--van-progress-text-gap);
22
+
23
+ &--large {
24
+ --van-progress-height: var(--van-progress-large-height);
25
+ --van-progress-pivot-font-size: var(--van-progress-large-pivot-font-size);
26
+ }
27
+
28
+ &__track {
29
+ position: relative;
30
+ flex: 1;
31
+ height: var(--van-progress-height);
32
+ overflow: hidden;
33
+ background: var(--van-progress-background-color);
34
+ border-radius: var(--van-border-radius-max);
35
+ }
20
36
 
21
37
  &__portion {
22
38
  position: absolute;
@@ -24,7 +40,7 @@
24
40
  width: 100%;
25
41
  height: 100%;
26
42
  background: var(--van-progress-color);
27
- border-radius: inherit;
43
+ border-radius: var(--van-border-radius-max);
28
44
  transform-origin: 0;
29
45
  transition: all var(--van-animation-duration-base)
30
46
  var(--van-animation-timing-function-enter);
@@ -35,23 +51,17 @@
35
51
  }
36
52
 
37
53
  &__pivot {
38
- position: absolute;
39
- top: 50%;
54
+ flex: none;
40
55
  box-sizing: border-box;
41
- min-width: 3.6em;
42
56
  padding: var(--van-progress-pivot-padding);
43
57
  color: var(--van-progress-pivot-text-color);
44
58
  font-size: var(--van-progress-pivot-font-size);
45
59
  line-height: var(--van-progress-pivot-line-height);
46
60
  text-align: center;
47
61
  word-break: keep-all;
48
- background: var(--van-progress-pivot-background-color);
49
- border-radius: 1em;
50
- transition: all var(--van-animation-duration-base)
51
- var(--van-animation-timing-function-enter);
52
62
 
53
63
  &--inactive {
54
- background: var(--van-progress-inactive-color);
64
+ color: var(--van-progress-inactive-color);
55
65
  }
56
66
  }
57
67
  }
@@ -1,5 +1,6 @@
1
1
  import type { ComponentPublicInstance } from 'vue';
2
2
  import type { ProgressProps } from './Progress';
3
+ export declare type ProgressSize = 'default' | 'large';
3
4
  export declare type ProgressExpose = {
4
5
  resize: () => void;
5
6
  };
@@ -1,11 +1,14 @@
1
1
  @import '../style/var.less';
2
2
 
3
- @progress-height: 4px;
3
+ @progress-height: 6px;
4
+ @progress-large-height: 8px;
4
5
  @progress-color: var(--van-primary-color);
5
6
  @progress-inactive-color: var(--van-gray-5);
6
- @progress-background-color: var(--van-gray-3);
7
- @progress-pivot-padding: 0 5px;
8
- @progress-pivot-text-color: var(--van-white);
9
- @progress-pivot-font-size: var(--van-font-size-xs);
10
- @progress-pivot-line-height: 1.6;
11
- @progress-pivot-background-color: var(--van-primary-color);
7
+ @progress-background-color: var(--van-gray-2);
8
+ @progress-pivot-padding: 0;
9
+ @progress-pivot-text-color: var(--van-text-color-2);
10
+ @progress-pivot-font-size: var(--van-font-size-sm);
11
+ @progress-large-pivot-font-size: var(--van-font-size-md);
12
+ @progress-pivot-line-height: var(--van-line-height-lg);
13
+ @progress-pivot-background-color: var(--van-text-color-2);
14
+ @progress-text-gap: var(--van-padding-sm);
@@ -1,3 +1,5 @@
1
1
  import "../../style/base.css";
2
+ import "../../badge/index.css";
3
+ import "../../icon/index.css";
2
4
  import "../../loading/index.css";
3
5
  import "../index.css";
@@ -1,3 +1,5 @@
1
1
  import "../../style/base.less";
2
+ import "../../badge/index.less";
3
+ import "../../icon/index.less";
2
4
  import "../../loading/index.less";
3
5
  import "../index.less";
@@ -1,6 +1,7 @@
1
1
  import "../../style/base.css";
2
2
  import "../../badge/index.css";
3
3
  import "../../icon/index.css";
4
+ import "../../tag/index.css";
4
5
  import "../../loading/index.css";
5
6
  import "../../button/index.css";
6
7
  import "../../overlay/index.css";
@@ -1,6 +1,7 @@
1
1
  import "../../style/base.less";
2
2
  import "../../badge/index.less";
3
3
  import "../../icon/index.less";
4
+ import "../../tag/index.less";
4
5
  import "../../loading/index.less";
5
6
  import "../../button/index.less";
6
7
  import "../../overlay/index.less";
@@ -73,9 +73,9 @@ declare const _default: import("vue").DefineComponent<{
73
73
  onSearch?: ((...args: any[]) => any) | undefined;
74
74
  onFilter?: ((...args: any[]) => any) | undefined;
75
75
  }, {
76
+ show: boolean;
76
77
  error: boolean;
77
78
  loading: boolean;
78
- show: boolean;
79
79
  options: RadioPanelOption[];
80
80
  finished: boolean;
81
81
  searchable: boolean;
@@ -1 +1 @@
1
- .van-radio-panel{box-sizing:border-box;display:flex;height:calc(100% - 96px);max-height:calc(100% - 96px);overflow:hidden;background:var(--van-gray-1)}.van-radio-panel .van-action-sheet__content{display:flex;flex:1;min-height:0;overflow:hidden}.van-radio-panel__content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;background:var(--van-gray-1)}.van-radio-panel__nav-wrapper{flex:none;width:100%;min-width:0;max-width:100%;overflow:hidden}.van-radio-panel__nav{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow:hidden;--van-nav-bar-background-color: var(--van-gray-1)}.van-radio-panel__nav .van-nav-bar__content{box-sizing:border-box;width:100%;overflow:hidden}.van-radio-panel__nav .van-nav-bar__left--slot,.van-radio-panel__nav .van-nav-bar__right--slot{padding:0}.van-radio-panel__nav .van-nav-bar__left--slot{left:var(--van-padding-md)}.van-radio-panel__nav .van-nav-bar__right--slot{right:var(--van-padding-md)}.van-radio-panel__filter{display:flex;align-items:center;justify-content:center;width:34px;height:46px;padding:0;color:inherit;background:transparent;border:0}.van-radio-panel__search{--van-search-padding: 8px var(--van-padding-md);--van-search-background-color: var(--van-gray-1);--van-search-content-background-color: var(--van-white)}.van-radio-panel__match{color:var(--van-primary-color)}.van-radio-panel__body{flex:1;min-height:0;padding:0 var(--van-padding-md);overflow-y:auto}.van-radio-panel__card{overflow:hidden;background:var(--van-white);border-radius:var(--van-border-radius-lg)}.van-radio-panel__footer{flex:none;padding:var(--van-padding-xs) 12px;background:var(--van-white);box-shadow:0 3px 12px rgba(27,33,41,.12),0 .5px 3px rgba(27,33,41,.08)}.van-radio-panel__select-all{color:var(--van-primary-color);font-weight:var(--van-font-weight-bold);font-size:var(--van-font-size-md)}.van-radio-panel .van-cell{min-height:44px}.van-radio-panel .van-checkbox{margin:0}
1
+ .van-radio-panel{box-sizing:border-box;display:flex;height:calc(100% - 96px);max-height:calc(100% - 96px);overflow:hidden;background:var(--van-gray-1)}.van-radio-panel .van-action-sheet__content{display:flex;flex:1;min-height:0;gap:0;padding:0;overflow:hidden}.van-radio-panel__content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;background:var(--van-gray-1)}.van-radio-panel__nav-wrapper{flex:none;width:100%;min-width:0;max-width:100%;overflow:hidden}.van-radio-panel__nav{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow:hidden;--van-nav-bar-background-color: var(--van-gray-1)}.van-radio-panel__nav .van-nav-bar__content{box-sizing:border-box;width:100%;overflow:hidden}.van-radio-panel__nav .van-nav-bar__left--slot,.van-radio-panel__nav .van-nav-bar__right--slot{padding:0}.van-radio-panel__nav .van-nav-bar__left--slot{left:var(--van-padding-md)}.van-radio-panel__nav .van-nav-bar__right--slot{right:var(--van-padding-md)}.van-radio-panel__filter{display:flex;align-items:center;justify-content:center;width:34px;height:46px;padding:0;color:inherit;background:transparent;border:0}.van-radio-panel__search{--van-search-padding: 8px var(--van-padding-md);--van-search-background-color: var(--van-gray-1);--van-search-content-background-color: var(--van-white)}.van-radio-panel__match{color:var(--van-primary-color)}.van-radio-panel__body{flex:1;min-height:0;padding:0 var(--van-padding-md);overflow-y:auto}.van-radio-panel__card{overflow:hidden;background:var(--van-white);border-radius:var(--van-border-radius-lg)}.van-radio-panel__footer{flex:none;padding:var(--van-padding-xs) 12px;background:var(--van-white);box-shadow:0 3px 12px rgba(27,33,41,.12),0 .5px 3px rgba(27,33,41,.08)}.van-radio-panel__select-all{color:var(--van-primary-color);font-weight:var(--van-font-weight-bold);font-size:var(--van-font-size-md)}.van-radio-panel .van-cell{min-height:44px}.van-radio-panel .van-checkbox{margin:0}
@@ -46,9 +46,9 @@ export declare const RadioPanel: import("../utils").WithInstall<import("vue").De
46
46
  onSearch?: ((...args: any[]) => any) | undefined;
47
47
  onFilter?: ((...args: any[]) => any) | undefined;
48
48
  }, {
49
+ show: boolean;
49
50
  error: boolean;
50
51
  loading: boolean;
51
- show: boolean;
52
52
  options: import("./RadioPanel").RadioPanelOption[];
53
53
  finished: boolean;
54
54
  searchable: boolean;
@@ -6,7 +6,7 @@
6
6
  overflow: hidden;
7
7
  background: var(--van-gray-1);
8
8
 
9
- .van-action-sheet__content { display: flex; flex: 1; min-height: 0; overflow: hidden; }
9
+ .van-action-sheet__content { display: flex; flex: 1; min-height: 0; gap: 0; padding: 0; overflow: hidden; }
10
10
  &__content { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow: hidden; background: var(--van-gray-1); }
11
11
  &__nav-wrapper { flex: none; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
12
12
  &__nav {
@@ -1,6 +1,7 @@
1
1
  import "../../style/base.css";
2
2
  import "../../badge/index.css";
3
3
  import "../../icon/index.css";
4
+ import "../../tag/index.css";
4
5
  import "../../loading/index.css";
5
6
  import "../../list/index.css";
6
7
  import "../../overlay/index.css";
@@ -1,6 +1,7 @@
1
1
  import "../../style/base.less";
2
2
  import "../../badge/index.less";
3
3
  import "../../icon/index.less";
4
+ import "../../tag/index.less";
4
5
  import "../../loading/index.less";
5
6
  import "../../list/index.less";
6
7
  import "../../overlay/index.less";
@@ -1,6 +1,7 @@
1
1
  import "../../style/base.css";
2
2
  import "../../badge/index.css";
3
3
  import "../../icon/index.css";
4
+ import "../../tag/index.css";
4
5
  import "../../checkbox-group/index.css";
5
6
  import "../../checkbox/index.css";
6
7
  import "../../radio-group/index.css";
@@ -1,6 +1,7 @@
1
1
  import "../../style/base.less";
2
2
  import "../../badge/index.less";
3
3
  import "../../icon/index.less";
4
+ import "../../tag/index.less";
4
5
  import "../../checkbox-group/index.less";
5
6
  import "../../checkbox/index.less";
6
7
  import "../../radio-group/index.less";
@@ -1,6 +1,7 @@
1
1
  import "../../style/base.css";
2
2
  import "../../badge/index.css";
3
3
  import "../../icon/index.css";
4
+ import "../../tag/index.css";
4
5
  import "../../checkbox-group/index.css";
5
6
  import "../../checkbox/index.css";
6
7
  import "../../radio-group/index.css";
@@ -1,6 +1,7 @@
1
1
  import "../../style/base.less";
2
2
  import "../../badge/index.less";
3
3
  import "../../icon/index.less";
4
+ import "../../tag/index.less";
4
5
  import "../../checkbox-group/index.less";
5
6
  import "../../checkbox/index.less";
6
7
  import "../../radio-group/index.less";
@@ -149,9 +149,9 @@ declare const _default: import("vue").DefineComponent<{
149
149
  onCancel?: ((...args: any[]) => any) | undefined;
150
150
  }, {
151
151
  round: boolean;
152
+ show: boolean;
152
153
  safeAreaInsetBottom: boolean;
153
154
  overlay: boolean;
154
- show: boolean;
155
155
  lockScroll: boolean;
156
156
  lazyRender: boolean;
157
157
  transitionAppear: boolean;
@@ -94,9 +94,9 @@ export declare const ShareSheet: import("../utils").WithInstall<import("vue").De
94
94
  onCancel?: ((...args: any[]) => any) | undefined;
95
95
  }, {
96
96
  round: boolean;
97
+ show: boolean;
97
98
  safeAreaInsetBottom: boolean;
98
99
  overlay: boolean;
99
- show: boolean;
100
100
  lockScroll: boolean;
101
101
  lazyRender: boolean;
102
102
  transitionAppear: boolean;
@@ -1 +1 @@
1
- .van-single-person-select{display:flex;flex-direction:column;height:calc(100vh - 96px);max-height:calc(100vh - 96px);overflow:hidden;background:var(--van-gray-2)}.van-single-person-select>.van-action-sheet__content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.van-single-person-select__nav{flex:none;--van-nav-bar-background-color: var(--van-gray-2)}.van-single-person-select__nav .van-nav-bar__left--slot,.van-single-person-select__nav .van-nav-bar__right--slot{padding:0 12px}.van-single-person-select__search{flex:none;padding:8px var(--van-padding-md);--van-search-padding: 0;--van-search-background-color: var(--van-gray-2);--van-search-content-background-color: var(--van-white)}.van-single-person-select__search .van-search__field{padding-left:0}.van-single-person-select__body{flex:1;min-height:0;overflow-y:auto}.van-single-person-select__group .van-blue-mark-header{padding:var(--van-padding-md) 24px var(--van-padding-xs)}.van-single-person-select__card{margin:0 var(--van-padding-md);overflow:hidden;background:var(--van-white);border-radius:8px;--van-cell-border-color: #e1e5eb}.van-single-person-select__card .van-cell{min-height:66px;padding-top:10px;padding-bottom:10px}.van-single-person-select__card--results{margin-top:var(--van-padding-xs)}.van-single-person-select__person .van-cell__label{margin-top:4px;color:var(--van-text-color-2)}.van-single-person-select__person--selected,.van-single-person-select__person--selected .van-cell__label,.van-single-person-select__person--selected .van-cell__right-icon,.van-single-person-select__selected-icon,.van-single-person-select__keyword{color:var(--van-primary-color)}
1
+ .van-single-person-select{display:flex;flex-direction:column;height:calc(100vh - 96px);max-height:calc(100vh - 96px);overflow:hidden;background:var(--van-gray-2)}.van-single-person-select>.van-action-sheet__content{display:flex;flex:1;flex-direction:column;min-height:0;gap:0;padding:0;overflow:hidden}.van-single-person-select__nav{flex:none;--van-nav-bar-background-color: var(--van-gray-2)}.van-single-person-select__nav .van-nav-bar__left--slot,.van-single-person-select__nav .van-nav-bar__right--slot{padding:0 12px}.van-single-person-select__search{flex:none;padding:8px var(--van-padding-md);--van-search-padding: 0;--van-search-background-color: var(--van-gray-2);--van-search-content-background-color: var(--van-white)}.van-single-person-select__search .van-search__field{padding-left:0}.van-single-person-select__body{flex:1;min-height:0;overflow-y:auto}.van-single-person-select__group .van-blue-mark-header{padding:var(--van-padding-md) 24px var(--van-padding-xs)}.van-single-person-select__card{margin:0 var(--van-padding-md);overflow:hidden;background:var(--van-white);border-radius:8px;--van-cell-border-color: #e1e5eb}.van-single-person-select__card .van-cell{min-height:66px;padding-top:10px;padding-bottom:10px}.van-single-person-select__card--results{margin-top:var(--van-padding-xs)}.van-single-person-select__person .van-cell__label{margin-top:4px;color:var(--van-text-color-2)}.van-single-person-select__person--selected,.van-single-person-select__person--selected .van-cell__label,.van-single-person-select__person--selected .van-cell__right-icon,.van-single-person-select__selected-icon,.van-single-person-select__keyword{color:var(--van-primary-color)}
@@ -11,6 +11,8 @@
11
11
  flex: 1;
12
12
  flex-direction: column;
13
13
  min-height: 0;
14
+ gap: 0;
15
+ padding: 0;
14
16
  overflow: hidden;
15
17
  }
16
18
 
@@ -1,6 +1,7 @@
1
1
  import "../../style/base.css";
2
2
  import "../../badge/index.css";
3
3
  import "../../icon/index.css";
4
+ import "../../tag/index.css";
4
5
  import "../../loading/index.css";
5
6
  import "../../overlay/index.css";
6
7
  import "../../popup/index.css";
@@ -1,6 +1,7 @@
1
1
  import "../../style/base.less";
2
2
  import "../../badge/index.less";
3
3
  import "../../icon/index.less";
4
+ import "../../tag/index.less";
4
5
  import "../../loading/index.less";
5
6
  import "../../overlay/index.less";
6
7
  import "../../popup/index.less";
package/es/style/base.css CHANGED
@@ -1 +1 @@
1
- :root{--van-black: #1b2129;--van-white: #fff;--van-gray-1: #f7f9fa;--van-gray-2: #f1f4f6;--van-gray-3: #edf1f5;--van-gray-4: #e1e5eb;--van-gray-5: #c4c9cf;--van-gray-6: #8b949e;--van-gray-7: #626c78;--van-gray-8: #2e3742;--van-red: #f55047;--van-orange: #ffb800;--van-orange-dark: #1b2129;--van-orange-light: #fffbe8;--van-green: #3fbe72;--van-blue: #246fe5;--van-blue-900: #1034b2;--van-blue-800: #1241bf;--van-blue-700: #1b4acc;--van-blue-600: #215dd9;--van-blue-500: #246fe5;--van-blue-400: #2481f2;--van-blue-300: #64a6f7;--van-blue-200: #9fc9fb;--van-blue-100: #d9ebff;--van-blue-50: #ebf6ff;--van-green-900: #13753f;--van-green-800: #0f8843;--van-green-700: #0c9b4a;--van-green-600: #15ae55;--van-green-500: #3fbe72;--van-green-400: #69cd90;--van-green-300: #8edbab;--van-green-200: #b6e9c7;--van-green-100: #daf7e1;--van-green-50: #ebffeb;--van-red-900: #b80000;--van-red-800: #c71412;--van-red-700: #d72824;--van-red-600: #e63c35;--van-red-500: #f55047;--van-red-400: #f8766f;--van-red-300: #fa9b96;--van-red-200: #fdc1be;--van-red-100: #ffe6e5;--van-red-50: #fff5f5;--van-orange-900: #cc5300;--van-orange-800: #d96c00;--van-orange-700: #e68600;--van-orange-600: #f29f00;--van-orange-500: #ffb800;--van-orange-400: #ffcc47;--van-orange-300: #ffd873;--van-orange-200: #ffe399;--van-orange-100: #fff0cc;--van-orange-50: #fffbe6;--van-grey-50: #f7f9fa;--van-grey-100: #f1f4f6;--van-grey-200: #e8ecf0;--van-grey-300: #e1e5eb;--van-grey-400: #c4c9cf;--van-grey-500: #8b949e;--van-grey-600: #626c78;--van-grey-700: #424c59;--van-grey-800: #2e3742;--van-grey-900: #1b2129;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-gradient-gray: linear-gradient(90deg, var(--van-gray-2), rgba(241, 244, 246, 0));--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-text-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background-color: var(--van-gray-1);--van-background-color-light: var(--van-white);--van-background-color-black: var(--van-black);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-font-size-xl: 20px;--van-font-weight-bold: 500;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-line-height-xl: 24px;--van-base-font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, sans-serif;--van-animation-duration-base: .3s;--van-animation-duration-fast: .2s;--van-animation-timing-function-enter: ease-out;--van-animation-timing-function-leave: ease-in;--van-border-color: var(--van-gray-4);--van-border-width-base: 1px;--van-border-radius-sm: 2px;--van-border-radius-md: 4px;--van-border-radius-lg: 8px;--van-border-radius-max: 999px}:root.van-theme-dark{--van-text-color: #f1f4f6;--van-text-color-2: #c4c9cf;--van-text-color-3: #8b949e;--van-active-color: #2e3742;--van-background-color: #151a20;--van-background-color-light: #1b2129;--van-border-color: #424c59}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-animation-duration-base) van-fade-in both var(--van-animation-timing-function-enter)}.van-fade-leave-active{animation:var(--van-animation-duration-base) van-fade-out both var(--van-animation-timing-function-leave)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.gradient-gray,.van-gradient-gray{background:var(--van-gradient-gray)}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}
1
+ :root{--van-black: #1b2129;--van-white: #fff;--van-gray-1: #f7f9fa;--van-gray-2: #f1f4f6;--van-gray-3: #edf1f5;--van-gray-4: #e1e5eb;--van-gray-5: #c4c9cf;--van-gray-6: #8b949e;--van-gray-7: #626c78;--van-gray-8: #2e3742;--van-red: #f55047;--van-orange: #ffb800;--van-orange-dark: #1b2129;--van-orange-light: #fffbe8;--van-green: #3fbe72;--van-blue: #246fe5;--van-blue-900: #1034b2;--van-blue-800: #1241bf;--van-blue-700: #1b4acc;--van-blue-600: #215dd9;--van-blue-500: #246fe5;--van-blue-400: #2481f2;--van-blue-300: #64a6f7;--van-blue-200: #9fc9fb;--van-blue-100: #d9ebff;--van-blue-50: #ebf6ff;--van-green-900: #13753f;--van-green-800: #0f8843;--van-green-700: #0c9b4a;--van-green-600: #15ae55;--van-green-500: #3fbe72;--van-green-400: #69cd90;--van-green-300: #8edbab;--van-green-200: #b6e9c7;--van-green-100: #daf7e1;--van-green-50: #ebffeb;--van-red-900: #b80000;--van-red-800: #c71412;--van-red-700: #d72824;--van-red-600: #e63c35;--van-red-500: #f55047;--van-red-400: #f8766f;--van-red-300: #fa9b96;--van-red-200: #fdc1be;--van-red-100: #ffe6e5;--van-red-50: #fff5f5;--van-orange-900: #cc5300;--van-orange-800: #d96c00;--van-orange-700: #e68600;--van-orange-600: #f29f00;--van-orange-500: #ffb800;--van-orange-400: #ffcc47;--van-orange-300: #ffd873;--van-orange-200: #ffe399;--van-orange-100: #fff0cc;--van-orange-50: #fffbe6;--van-grey-50: #f7f9fa;--van-grey-100: #f1f4f6;--van-grey-200: #e8ecf0;--van-grey-300: #e1e5eb;--van-grey-400: #c4c9cf;--van-grey-500: #8b949e;--van-grey-600: #626c78;--van-grey-700: #424c59;--van-grey-800: #2e3742;--van-grey-900: #1b2129;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-gradient-gray: linear-gradient(90deg, var(--van-gray-2), rgba(241, 244, 246, 0));--van-gradient-blue: linear-gradient(90deg, rgba(36, 112, 230, .1), rgba(36, 112, 230, .01));--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-text-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background-color: var(--van-gray-1);--van-background-color-light: var(--van-white);--van-background-color-black: var(--van-black);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-font-size-xl: 20px;--van-font-weight-bold: 500;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-line-height-xl: 24px;--van-base-font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, sans-serif;--van-animation-duration-base: .3s;--van-animation-duration-fast: .2s;--van-animation-timing-function-enter: ease-out;--van-animation-timing-function-leave: ease-in;--van-border-color: var(--van-gray-4);--van-border-width-base: 1px;--van-border-radius-sm: 2px;--van-border-radius-md: 4px;--van-border-radius-lg: 8px;--van-border-radius-max: 999px}:root.van-theme-dark{--van-text-color: #f1f4f6;--van-text-color-2: #c4c9cf;--van-text-color-3: #8b949e;--van-active-color: #2e3742;--van-background-color: #151a20;--van-background-color-light: #1b2129;--van-border-color: #424c59}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-animation-duration-base) van-fade-in both var(--van-animation-timing-function-enter)}.van-fade-leave-active{animation:var(--van-animation-duration-base) van-fade-out both var(--van-animation-timing-function-leave)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.gradient-gray,.van-gradient-gray{background:var(--van-gradient-gray)}.gradient-blue,.van-gradient-blue{background:var(--van-gradient-blue)}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}
@@ -31,6 +31,11 @@
31
31
  background: var(--van-gradient-gray);
32
32
  }
33
33
 
34
+ .gradient-blue,
35
+ .van-gradient-blue {
36
+ background: var(--van-gradient-blue);
37
+ }
38
+
34
39
  .van-safe-area-top {
35
40
  padding-top: constant(safe-area-inset-top);
36
41
  padding-top: env(safe-area-inset-top);
@@ -1 +1 @@
1
- :root{--van-black: #1b2129;--van-white: #fff;--van-gray-1: #f7f9fa;--van-gray-2: #f1f4f6;--van-gray-3: #edf1f5;--van-gray-4: #e1e5eb;--van-gray-5: #c4c9cf;--van-gray-6: #8b949e;--van-gray-7: #626c78;--van-gray-8: #2e3742;--van-red: #f55047;--van-orange: #ffb800;--van-orange-dark: #1b2129;--van-orange-light: #fffbe8;--van-green: #3fbe72;--van-blue: #246fe5;--van-blue-900: #1034b2;--van-blue-800: #1241bf;--van-blue-700: #1b4acc;--van-blue-600: #215dd9;--van-blue-500: #246fe5;--van-blue-400: #2481f2;--van-blue-300: #64a6f7;--van-blue-200: #9fc9fb;--van-blue-100: #d9ebff;--van-blue-50: #ebf6ff;--van-green-900: #13753f;--van-green-800: #0f8843;--van-green-700: #0c9b4a;--van-green-600: #15ae55;--van-green-500: #3fbe72;--van-green-400: #69cd90;--van-green-300: #8edbab;--van-green-200: #b6e9c7;--van-green-100: #daf7e1;--van-green-50: #ebffeb;--van-red-900: #b80000;--van-red-800: #c71412;--van-red-700: #d72824;--van-red-600: #e63c35;--van-red-500: #f55047;--van-red-400: #f8766f;--van-red-300: #fa9b96;--van-red-200: #fdc1be;--van-red-100: #ffe6e5;--van-red-50: #fff5f5;--van-orange-900: #cc5300;--van-orange-800: #d96c00;--van-orange-700: #e68600;--van-orange-600: #f29f00;--van-orange-500: #ffb800;--van-orange-400: #ffcc47;--van-orange-300: #ffd873;--van-orange-200: #ffe399;--van-orange-100: #fff0cc;--van-orange-50: #fffbe6;--van-grey-50: #f7f9fa;--van-grey-100: #f1f4f6;--van-grey-200: #e8ecf0;--van-grey-300: #e1e5eb;--van-grey-400: #c4c9cf;--van-grey-500: #8b949e;--van-grey-600: #626c78;--van-grey-700: #424c59;--van-grey-800: #2e3742;--van-grey-900: #1b2129;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-gradient-gray: linear-gradient(90deg, var(--van-gray-2), rgba(241, 244, 246, 0));--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-text-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background-color: var(--van-gray-1);--van-background-color-light: var(--van-white);--van-background-color-black: var(--van-black);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-font-size-xl: 20px;--van-font-weight-bold: 500;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-line-height-xl: 24px;--van-base-font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, sans-serif;--van-animation-duration-base: .3s;--van-animation-duration-fast: .2s;--van-animation-timing-function-enter: ease-out;--van-animation-timing-function-leave: ease-in;--van-border-color: var(--van-gray-4);--van-border-width-base: 1px;--van-border-radius-sm: 2px;--van-border-radius-md: 4px;--van-border-radius-lg: 8px;--van-border-radius-max: 999px}:root.van-theme-dark{--van-text-color: #f1f4f6;--van-text-color-2: #c4c9cf;--van-text-color-3: #8b949e;--van-active-color: #2e3742;--van-background-color: #151a20;--van-background-color-light: #1b2129;--van-border-color: #424c59}
1
+ :root{--van-black: #1b2129;--van-white: #fff;--van-gray-1: #f7f9fa;--van-gray-2: #f1f4f6;--van-gray-3: #edf1f5;--van-gray-4: #e1e5eb;--van-gray-5: #c4c9cf;--van-gray-6: #8b949e;--van-gray-7: #626c78;--van-gray-8: #2e3742;--van-red: #f55047;--van-orange: #ffb800;--van-orange-dark: #1b2129;--van-orange-light: #fffbe8;--van-green: #3fbe72;--van-blue: #246fe5;--van-blue-900: #1034b2;--van-blue-800: #1241bf;--van-blue-700: #1b4acc;--van-blue-600: #215dd9;--van-blue-500: #246fe5;--van-blue-400: #2481f2;--van-blue-300: #64a6f7;--van-blue-200: #9fc9fb;--van-blue-100: #d9ebff;--van-blue-50: #ebf6ff;--van-green-900: #13753f;--van-green-800: #0f8843;--van-green-700: #0c9b4a;--van-green-600: #15ae55;--van-green-500: #3fbe72;--van-green-400: #69cd90;--van-green-300: #8edbab;--van-green-200: #b6e9c7;--van-green-100: #daf7e1;--van-green-50: #ebffeb;--van-red-900: #b80000;--van-red-800: #c71412;--van-red-700: #d72824;--van-red-600: #e63c35;--van-red-500: #f55047;--van-red-400: #f8766f;--van-red-300: #fa9b96;--van-red-200: #fdc1be;--van-red-100: #ffe6e5;--van-red-50: #fff5f5;--van-orange-900: #cc5300;--van-orange-800: #d96c00;--van-orange-700: #e68600;--van-orange-600: #f29f00;--van-orange-500: #ffb800;--van-orange-400: #ffcc47;--van-orange-300: #ffd873;--van-orange-200: #ffe399;--van-orange-100: #fff0cc;--van-orange-50: #fffbe6;--van-grey-50: #f7f9fa;--van-grey-100: #f1f4f6;--van-grey-200: #e8ecf0;--van-grey-300: #e1e5eb;--van-grey-400: #c4c9cf;--van-grey-500: #8b949e;--van-grey-600: #626c78;--van-grey-700: #424c59;--van-grey-800: #2e3742;--van-grey-900: #1b2129;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-gradient-gray: linear-gradient(90deg, var(--van-gray-2), rgba(241, 244, 246, 0));--van-gradient-blue: linear-gradient(90deg, rgba(36, 112, 230, .1), rgba(36, 112, 230, .01));--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-text-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background-color: var(--van-gray-1);--van-background-color-light: var(--van-white);--van-background-color-black: var(--van-black);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-font-size-xl: 20px;--van-font-weight-bold: 500;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-line-height-xl: 24px;--van-base-font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, sans-serif;--van-animation-duration-base: .3s;--van-animation-duration-fast: .2s;--van-animation-timing-function-enter: ease-out;--van-animation-timing-function-leave: ease-in;--van-border-color: var(--van-gray-4);--van-border-width-base: 1px;--van-border-radius-sm: 2px;--van-border-radius-md: 4px;--van-border-radius-lg: 8px;--van-border-radius-max: 999px}:root.van-theme-dark{--van-text-color: #f1f4f6;--van-text-color-2: #c4c9cf;--van-text-color-3: #8b949e;--van-active-color: #2e3742;--van-background-color: #151a20;--van-background-color-light: #1b2129;--van-border-color: #424c59}
@@ -82,6 +82,7 @@
82
82
  --van-gradient-red: @gradient-red;
83
83
  --van-gradient-orange: @gradient-orange;
84
84
  --van-gradient-gray: @gradient-gray;
85
+ --van-gradient-blue: @gradient-blue;
85
86
 
86
87
  // Component Colors
87
88
  --van-primary-color: @primary-color;
package/es/style/var.less CHANGED
@@ -80,6 +80,7 @@
80
80
  @gradient-red: linear-gradient(to right, #ff6034, #ee0a24);
81
81
  @gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);
82
82
  @gradient-gray: linear-gradient(90deg, var(--van-gray-2), rgb(241 244 246 / 0%));
83
+ @gradient-blue: linear-gradient(90deg, rgb(36 112 230 / 10%), rgb(36 112 230 / 1%));
83
84
 
84
85
  // Component Colors
85
86
  @primary-color: var(--van-blue);
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
22
22
  rightWidth: (NumberConstructor | StringConstructor)[];
23
23
  beforeClose: PropType<Interceptor>;
24
24
  stopPropagation: BooleanConstructor;
25
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "open" | "close")[], "click" | "open" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
25
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "close" | "open")[], "click" | "open" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
26
26
  name: {
27
27
  type: (NumberConstructor | StringConstructor)[];
28
28
  default: string;
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<{
34
34
  stopPropagation: BooleanConstructor;
35
35
  }>> & {
36
36
  onClick?: ((...args: any[]) => any) | undefined;
37
- onOpen?: ((...args: any[]) => any) | undefined;
38
37
  onClose?: ((...args: any[]) => any) | undefined;
38
+ onOpen?: ((...args: any[]) => any) | undefined;
39
39
  }, {
40
40
  name: string | number;
41
41
  disabled: boolean;
@@ -9,7 +9,7 @@ export declare const SwipeCell: import("../utils").WithInstall<import("vue").Def
9
9
  rightWidth: (NumberConstructor | StringConstructor)[];
10
10
  beforeClose: import("vue").PropType<import("../utils").Interceptor>;
11
11
  stopPropagation: BooleanConstructor;
12
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "open" | "close")[], "click" | "open" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "close" | "open")[], "click" | "open" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  name: {
14
14
  type: (NumberConstructor | StringConstructor)[];
15
15
  default: string;
@@ -21,8 +21,8 @@ export declare const SwipeCell: import("../utils").WithInstall<import("vue").Def
21
21
  stopPropagation: BooleanConstructor;
22
22
  }>> & {
23
23
  onClick?: ((...args: any[]) => any) | undefined;
24
- onOpen?: ((...args: any[]) => any) | undefined;
25
24
  onClose?: ((...args: any[]) => any) | undefined;
25
+ onOpen?: ((...args: any[]) => any) | undefined;
26
26
  }, {
27
27
  name: string | number;
28
28
  disabled: boolean;
@@ -1,3 +1,5 @@
1
1
  import "../../style/base.css";
2
+ import "../../badge/index.css";
3
+ import "../../icon/index.css";
2
4
  import "../../loading/index.css";
3
5
  import "../index.css";
@@ -1,3 +1,5 @@
1
1
  import "../../style/base.less";
2
+ import "../../badge/index.less";
3
+ import "../../icon/index.less";
2
4
  import "../../loading/index.less";
3
5
  import "../index.less";
@@ -4,6 +4,8 @@ import "../../icon/index.css";
4
4
  import "../../loading/index.css";
5
5
  import "../../overlay/index.css";
6
6
  import "../../popup/index.css";
7
+ import "../../popover/index.css";
8
+ import "../../nav-bar/index.css";
7
9
  import "../../action-sheet/index.css";
8
10
  import "../../sticky/index.css";
9
11
  import "../../swipe/index.css";
@@ -4,6 +4,8 @@ import "../../icon/index.less";
4
4
  import "../../loading/index.less";
5
5
  import "../../overlay/index.less";
6
6
  import "../../popup/index.less";
7
+ import "../../popover/index.less";
8
+ import "../../nav-bar/index.less";
7
9
  import "../../action-sheet/index.less";
8
10
  import "../../sticky/index.less";
9
11
  import "../../swipe/index.less";
@@ -4,6 +4,8 @@ import "../../icon/index.css";
4
4
  import "../../loading/index.css";
5
5
  import "../../overlay/index.css";
6
6
  import "../../popup/index.css";
7
+ import "../../popover/index.css";
8
+ import "../../nav-bar/index.css";
7
9
  import "../../action-sheet/index.css";
8
10
  import "../../sticky/index.css";
9
11
  import "../../swipe/index.css";
@@ -4,6 +4,8 @@ import "../../icon/index.less";
4
4
  import "../../loading/index.less";
5
5
  import "../../overlay/index.less";
6
6
  import "../../popup/index.less";
7
+ import "../../popover/index.less";
8
+ import "../../nav-bar/index.less";
7
9
  import "../../action-sheet/index.less";
8
10
  import "../../sticky/index.less";
9
11
  import "../../swipe/index.less";
@@ -96,12 +96,12 @@ declare const _default: import("vue").DefineComponent<{
96
96
  title: string;
97
97
  size: TitleBarSize;
98
98
  description: string;
99
+ showIcon: boolean;
99
100
  modelValue: boolean;
101
+ showArrow: boolean;
100
102
  actionText: string;
101
103
  expandable: boolean;
102
- showArrow: boolean;
103
104
  showAction: boolean;
104
105
  showDescription: boolean;
105
- showIcon: boolean;
106
106
  }>;
107
107
  export default _default;
@@ -64,13 +64,13 @@ export declare const TitleBar: import("../utils").WithInstall<import("vue").Defi
64
64
  title: string;
65
65
  size: import("./TitleBar").TitleBarSize;
66
66
  description: string;
67
+ showIcon: boolean;
67
68
  modelValue: boolean;
69
+ showArrow: boolean;
68
70
  actionText: string;
69
71
  expandable: boolean;
70
- showArrow: boolean;
71
72
  showAction: boolean;
72
73
  showDescription: boolean;
73
- showIcon: boolean;
74
74
  }>>;
75
75
  export default TitleBar;
76
76
  export type { TitleBarProps, TitleBarSize } from './TitleBar';
@@ -101,8 +101,8 @@ declare const _default: import("vue").DefineComponent<{
101
101
  }, {
102
102
  type: ToastType;
103
103
  position: ToastPosition;
104
- overlay: boolean;
105
104
  show: boolean;
105
+ overlay: boolean;
106
106
  duration: number;
107
107
  closeOnClickOverlay: boolean;
108
108
  transition: string;
@@ -41,6 +41,10 @@ var stdin_default = defineComponent({
41
41
  const expandedKeys = computed(() => props.expandedKeys);
42
42
  const isExpanded = (id) => expandedKeys.value.includes(id);
43
43
  const isSelected = (id) => selectedKeys.value.includes(id);
44
+ const getNodeStyle = (level) => ({
45
+ paddingLeft: `calc(var(--van-padding-md) + ${level * 16}px)`,
46
+ "--van-tree-select-divider-left": `calc(var(--van-padding-md) + ${level * 16}px)`
47
+ });
44
48
  const getDescendantIds = (item) => {
45
49
  var _a;
46
50
  return ((_a = item.children) == null ? void 0 : _a.flatMap((child) => [child.id, ...getDescendantIds(child)])) || [];
@@ -103,7 +107,10 @@ var stdin_default = defineComponent({
103
107
  if (!hasChildren && slots.leaf) {
104
108
  return _createVNode("div", {
105
109
  "key": item.id,
106
- "class": bem("node")
110
+ "class": [bem("node"), bem("leaf", {
111
+ divider: props.showDivider
112
+ })],
113
+ "style": getNodeStyle(level)
107
114
  }, [slots.leaf({
108
115
  item,
109
116
  level
@@ -120,9 +127,7 @@ var stdin_default = defineComponent({
120
127
  }),
121
128
  "title": item.text,
122
129
  "border": props.showDivider,
123
- "style": {
124
- paddingLeft: `calc(var(--van-padding-md) + ${level * 16}px)`
125
- },
130
+ "style": getNodeStyle(level),
126
131
  "rightSelect": selectable && selectionState !== "indeterminate" ? selectionState === "checked" : void 0,
127
132
  "selectType": props.multiple ? "checkbox" : "radio",
128
133
  "onUpdate:rightSelect": (value) => updateSelected(item, value)
@@ -1 +1 @@
1
- :root{--van-tree-select-indent: var(--van-padding-md);--van-tree-select-arrow-size: 16px;--van-tree-select-animation-duration: .24s}.van-tree-select{overflow:hidden;color:var(--van-cell-text-color);background:var(--van-white)}.van-tree-select__node{overflow:hidden}.van-tree-select__cell{min-height:44px;padding:10px var(--van-padding-md)}.van-tree-select__cell .van-cell__title-row{align-items:center}.van-tree-select__cell .van-cell__title{font-size:var(--van-font-size-md);line-height:22px}.van-tree-select__node:not(:last-child)>.van-tree-select__cell:not(.van-cell--borderless):after{display:block}.van-tree-select__arrow{flex:none;margin-right:var(--van-padding-base);color:var(--van-gray-5);font-size:var(--van-tree-select-arrow-size);transition:transform var(--van-tree-select-animation-duration) ease}.van-tree-select__arrow--expanded{transform:rotate(0)}.van-tree-select__arrow:not(.van-tree-select__arrow--expanded){transform:rotate(-90deg)}.van-tree-select__expand-control{display:inline-flex;align-items:center;padding:0;color:inherit;font:inherit;line-height:inherit;text-align:left;background:transparent;border:0}.van-tree-select__expand-control:not(:disabled){cursor:pointer}.van-tree-select__expand-control:disabled{color:var(--van-text-color-3);cursor:not-allowed}.van-tree-select__children{overflow:hidden}.van-tree-select__indeterminate{position:relative;display:block;width:14px;height:14px;padding:0;background:var(--van-primary-color);border:0;border-radius:50%}.van-tree-select__indeterminate:after{position:absolute;top:calc(50% - 1px);right:25%;left:25%;height:2px;content:"";background:var(--van-white);border-radius:1px}.van-tree-select-expand-enter-active,.van-tree-select-expand-leave-active{overflow:hidden;transition:max-height var(--van-tree-select-animation-duration) ease,opacity var(--van-tree-select-animation-duration) ease}.van-tree-select-expand-enter-from,.van-tree-select-expand-leave-to{max-height:0;opacity:0}.van-tree-select-expand-enter-to,.van-tree-select-expand-leave-from{max-height:1000px;opacity:1}
1
+ :root{--van-tree-select-indent: var(--van-padding-md);--van-tree-select-arrow-size: 16px;--van-tree-select-animation-duration: .24s;--van-tree-select-divider-left: var(--van-padding-md)}.van-tree-select{overflow:hidden;color:var(--van-cell-text-color);background:var(--van-white)}.van-tree-select__node{overflow:hidden}.van-tree-select__leaf{position:relative;box-sizing:border-box}.van-tree-select__leaf--divider:not(:last-child):after{position:absolute;right:var(--van-padding-md);bottom:0;left:var(--van-tree-select-divider-left);height:1px;background:var(--van-border-color);content:"";transform:scaleY(.5)}.van-tree-select__cell{min-height:44px;padding:10px var(--van-padding-md)}.van-tree-select__cell .van-cell__title-row{align-items:center}.van-tree-select__cell .van-cell__title{font-size:var(--van-font-size-md);line-height:22px}.van-tree-select__node:not(:last-child)>.van-tree-select__cell:not(.van-cell--borderless):after{display:block;left:var(--van-tree-select-divider-left)}.van-tree-select__cell--branch:not(.van-cell--borderless):after{display:block;left:var(--van-tree-select-divider-left)}.van-tree-select__arrow{flex:none;margin-right:var(--van-padding-base);color:var(--van-gray-5);font-size:var(--van-tree-select-arrow-size);transition:transform var(--van-tree-select-animation-duration) ease}.van-tree-select__arrow--expanded{transform:rotate(0)}.van-tree-select__arrow:not(.van-tree-select__arrow--expanded){transform:rotate(-90deg)}.van-tree-select__expand-control{display:inline-flex;align-items:center;padding:0;color:inherit;font:inherit;line-height:inherit;text-align:left;background:transparent;border:0}.van-tree-select__expand-control:not(:disabled){cursor:pointer}.van-tree-select__expand-control:disabled{color:var(--van-text-color-3);cursor:not-allowed}.van-tree-select__children{overflow:hidden}.van-tree-select__indeterminate{position:relative;display:block;width:14px;height:14px;padding:0;background:var(--van-primary-color);border:0;border-radius:50%}.van-tree-select__indeterminate:after{position:absolute;top:calc(50% - 1px);right:25%;left:25%;height:2px;content:"";background:var(--van-white);border-radius:1px}.van-tree-select-expand-enter-active,.van-tree-select-expand-leave-active{overflow:hidden;transition:max-height var(--van-tree-select-animation-duration) ease,opacity var(--van-tree-select-animation-duration) ease}.van-tree-select-expand-enter-from,.van-tree-select-expand-leave-to{max-height:0;opacity:0}.van-tree-select-expand-enter-to,.van-tree-select-expand-leave-from{max-height:1000px;opacity:1}