vant 4.8.1 → 4.8.2

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 (627) hide show
  1. package/es/action-bar/ActionBar.d.ts +1 -1
  2. package/es/action-bar/index.css +1 -1
  3. package/es/action-bar/index.d.ts +1 -1
  4. package/es/action-bar-button/ActionBarButton.d.ts +1 -1
  5. package/es/action-bar-button/index.css +1 -1
  6. package/es/action-bar-button/index.d.ts +1 -1
  7. package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
  8. package/es/action-bar-icon/index.css +1 -1
  9. package/es/action-bar-icon/index.d.ts +1 -1
  10. package/es/action-sheet/ActionSheet.d.ts +1 -1
  11. package/es/action-sheet/index.css +1 -1
  12. package/es/action-sheet/index.d.ts +1 -1
  13. package/es/address-edit/AddressEdit.d.ts +2 -2
  14. package/es/address-edit/AddressEditDetail.d.ts +1 -1
  15. package/es/address-edit/index.css +1 -1
  16. package/es/address-edit/index.d.ts +2 -2
  17. package/es/address-list/AddressList.d.ts +1 -1
  18. package/es/address-list/AddressListItem.d.ts +1 -1
  19. package/es/address-list/index.css +1 -1
  20. package/es/address-list/index.d.ts +1 -1
  21. package/es/area/Area.d.ts +1 -1
  22. package/es/area/index.d.ts +1 -1
  23. package/es/back-top/BackTop.d.ts +1 -1
  24. package/es/back-top/index.css +1 -1
  25. package/es/back-top/index.d.ts +1 -1
  26. package/es/badge/Badge.d.ts +1 -1
  27. package/es/badge/index.css +1 -1
  28. package/es/badge/index.d.ts +1 -1
  29. package/es/barrage/Barrage.d.ts +1 -1
  30. package/es/barrage/index.css +1 -1
  31. package/es/barrage/index.d.ts +1 -1
  32. package/es/button/Button.d.ts +2 -2
  33. package/es/button/index.css +1 -1
  34. package/es/button/index.d.ts +2 -2
  35. package/es/calendar/Calendar.d.ts +1 -1
  36. package/es/calendar/CalendarDay.d.ts +1 -1
  37. package/es/calendar/CalendarHeader.d.ts +1 -1
  38. package/es/calendar/CalendarMonth.d.ts +1 -1
  39. package/es/calendar/index.css +1 -1
  40. package/es/calendar/index.d.ts +1 -1
  41. package/es/card/Card.d.ts +1 -1
  42. package/es/card/index.css +1 -1
  43. package/es/card/index.d.ts +1 -1
  44. package/es/cascader/Cascader.d.ts +1 -1
  45. package/es/cascader/index.css +1 -1
  46. package/es/cascader/index.d.ts +1 -1
  47. package/es/cell/Cell.d.ts +1 -1
  48. package/es/cell/index.css +1 -1
  49. package/es/cell/index.d.ts +1 -1
  50. package/es/cell-group/CellGroup.d.ts +1 -1
  51. package/es/cell-group/index.css +1 -1
  52. package/es/cell-group/index.d.ts +1 -1
  53. package/es/checkbox/Checkbox.d.ts +1 -1
  54. package/es/checkbox/Checker.d.ts +1 -1
  55. package/es/checkbox/index.css +1 -1
  56. package/es/checkbox/index.d.ts +1 -1
  57. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  58. package/es/checkbox-group/index.d.ts +1 -1
  59. package/es/circle/Circle.d.ts +1 -1
  60. package/es/circle/index.css +1 -1
  61. package/es/circle/index.d.ts +1 -1
  62. package/es/col/Col.d.ts +1 -1
  63. package/es/col/index.d.ts +1 -1
  64. package/es/collapse/Collapse.d.ts +1 -1
  65. package/es/collapse/index.d.ts +1 -1
  66. package/es/collapse-item/CollapseItem.d.ts +1 -1
  67. package/es/collapse-item/index.css +1 -1
  68. package/es/collapse-item/index.d.ts +1 -1
  69. package/es/composables/use-lazy-render.d.ts +1 -0
  70. package/es/composables/use-placeholder.d.ts +2 -1
  71. package/es/config-provider/ConfigProvider.d.ts +1 -1
  72. package/es/config-provider/index.d.ts +1 -1
  73. package/es/contact-card/ContactCard.d.ts +1 -1
  74. package/es/contact-card/index.css +1 -1
  75. package/es/contact-card/index.d.ts +1 -1
  76. package/es/contact-edit/ContactEdit.d.ts +2 -2
  77. package/es/contact-edit/index.css +1 -1
  78. package/es/contact-edit/index.d.ts +2 -2
  79. package/es/contact-list/ContactList.d.ts +1 -1
  80. package/es/contact-list/index.css +1 -1
  81. package/es/contact-list/index.d.ts +1 -1
  82. package/es/count-down/CountDown.d.ts +1 -1
  83. package/es/count-down/index.css +1 -1
  84. package/es/count-down/index.d.ts +1 -1
  85. package/es/coupon/Coupon.d.ts +1 -1
  86. package/es/coupon/index.css +1 -1
  87. package/es/coupon/index.d.ts +1 -1
  88. package/es/coupon-cell/CouponCell.d.ts +1 -1
  89. package/es/coupon-cell/index.css +1 -1
  90. package/es/coupon-cell/index.d.ts +1 -1
  91. package/es/coupon-list/CouponList.d.ts +1 -1
  92. package/es/coupon-list/index.css +1 -1
  93. package/es/coupon-list/index.d.ts +1 -1
  94. package/es/date-picker/DatePicker.d.ts +1 -1
  95. package/es/date-picker/index.d.ts +1 -1
  96. package/es/dialog/Dialog.d.ts +1 -1
  97. package/es/dialog/index.css +1 -1
  98. package/es/dialog/index.d.ts +1 -1
  99. package/es/dialog/types.d.ts +1 -0
  100. package/es/divider/Divider.d.ts +1 -1
  101. package/es/divider/index.css +1 -1
  102. package/es/divider/index.d.ts +1 -1
  103. package/es/dropdown-item/DropdownItem.d.ts +1 -1
  104. package/es/dropdown-item/DropdownItem.mjs +15 -5
  105. package/es/dropdown-item/index.css +1 -1
  106. package/es/dropdown-item/index.d.ts +1 -1
  107. package/es/dropdown-menu/DropdownMenu.d.ts +5 -1
  108. package/es/dropdown-menu/DropdownMenu.mjs +1 -0
  109. package/es/dropdown-menu/index.css +1 -1
  110. package/es/dropdown-menu/index.d.ts +4 -1
  111. package/es/empty/Empty.d.ts +1 -1
  112. package/es/empty/index.css +1 -1
  113. package/es/empty/index.d.ts +1 -1
  114. package/es/field/Field.d.ts +1 -1
  115. package/es/field/index.css +1 -1
  116. package/es/field/index.d.ts +1 -1
  117. package/es/floating-bubble/FloatingBubble.d.ts +1 -1
  118. package/es/floating-bubble/index.css +1 -1
  119. package/es/floating-bubble/index.d.ts +1 -1
  120. package/es/floating-panel/FloatingPanel.d.ts +1 -1
  121. package/es/floating-panel/index.css +1 -1
  122. package/es/floating-panel/index.d.ts +1 -1
  123. package/es/form/Form.d.ts +1 -1
  124. package/es/form/index.d.ts +1 -1
  125. package/es/grid/Grid.d.ts +1 -1
  126. package/es/grid/index.d.ts +1 -1
  127. package/es/grid-item/GridItem.d.ts +1 -1
  128. package/es/grid-item/index.css +1 -1
  129. package/es/grid-item/index.d.ts +1 -1
  130. package/es/highlight/Highlight.d.ts +1 -1
  131. package/es/highlight/index.css +1 -1
  132. package/es/highlight/index.d.ts +1 -1
  133. package/es/icon/Icon.d.ts +1 -1
  134. package/es/icon/index.d.ts +1 -1
  135. package/es/image/Image.d.ts +1 -1
  136. package/es/image/index.css +1 -1
  137. package/es/image/index.d.ts +1 -1
  138. package/es/image-preview/ImagePreview.d.ts +1 -1
  139. package/es/image-preview/ImagePreviewItem.d.ts +1 -1
  140. package/es/image-preview/ImagePreviewItem.mjs +11 -12
  141. package/es/image-preview/index.css +1 -1
  142. package/es/image-preview/index.d.ts +1 -1
  143. package/es/index-anchor/IndexAnchor.d.ts +1 -1
  144. package/es/index-anchor/index.css +1 -1
  145. package/es/index-anchor/index.d.ts +1 -1
  146. package/es/index-bar/IndexBar.d.ts +1 -1
  147. package/es/index-bar/index.css +1 -1
  148. package/es/index-bar/index.d.ts +1 -1
  149. package/es/index.d.ts +1 -1
  150. package/es/index.mjs +1 -1
  151. package/es/list/List.d.ts +1 -1
  152. package/es/list/index.css +1 -1
  153. package/es/list/index.d.ts +1 -1
  154. package/es/loading/Loading.d.ts +1 -1
  155. package/es/loading/index.css +1 -1
  156. package/es/loading/index.d.ts +1 -1
  157. package/es/nav-bar/NavBar.d.ts +1 -1
  158. package/es/nav-bar/index.css +1 -1
  159. package/es/nav-bar/index.d.ts +1 -1
  160. package/es/notice-bar/NoticeBar.d.ts +1 -1
  161. package/es/notice-bar/index.css +1 -1
  162. package/es/notice-bar/index.d.ts +1 -1
  163. package/es/notify/Notify.d.ts +1 -1
  164. package/es/notify/index.css +1 -1
  165. package/es/notify/index.d.ts +1 -1
  166. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  167. package/es/number-keyboard/NumberKeyboardKey.d.ts +1 -1
  168. package/es/number-keyboard/index.css +1 -1
  169. package/es/number-keyboard/index.d.ts +1 -1
  170. package/es/overlay/Overlay.d.ts +1 -1
  171. package/es/overlay/index.css +1 -1
  172. package/es/overlay/index.d.ts +1 -1
  173. package/es/pagination/Pagination.d.ts +1 -1
  174. package/es/pagination/index.css +1 -1
  175. package/es/pagination/index.d.ts +1 -1
  176. package/es/password-input/PasswordInput.d.ts +1 -1
  177. package/es/password-input/index.css +1 -1
  178. package/es/password-input/index.d.ts +1 -1
  179. package/es/picker/Picker.d.ts +1 -1
  180. package/es/picker/PickerColumn.d.ts +1 -1
  181. package/es/picker/PickerToolbar.d.ts +1 -1
  182. package/es/picker/index.css +1 -1
  183. package/es/picker/index.d.ts +1 -1
  184. package/es/picker-group/PickerGroup.d.ts +1 -1
  185. package/es/picker-group/index.css +1 -1
  186. package/es/picker-group/index.d.ts +1 -1
  187. package/es/popover/Popover.d.ts +1 -1
  188. package/es/popover/index.css +1 -1
  189. package/es/popover/index.d.ts +1 -1
  190. package/es/popup/Popup.d.ts +1 -1
  191. package/es/popup/index.css +1 -1
  192. package/es/popup/index.d.ts +1 -1
  193. package/es/progress/Progress.d.ts +1 -1
  194. package/es/progress/index.css +1 -1
  195. package/es/progress/index.d.ts +1 -1
  196. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  197. package/es/pull-refresh/index.css +1 -1
  198. package/es/pull-refresh/index.d.ts +1 -1
  199. package/es/radio/Radio.d.ts +1 -1
  200. package/es/radio/index.css +1 -1
  201. package/es/radio/index.d.ts +1 -1
  202. package/es/radio-group/RadioGroup.d.ts +1 -1
  203. package/es/radio-group/index.d.ts +1 -1
  204. package/es/rate/Rate.d.ts +1 -1
  205. package/es/rate/index.css +1 -1
  206. package/es/rate/index.d.ts +1 -1
  207. package/es/rolling-text/RollingText.d.ts +1 -1
  208. package/es/rolling-text/RollingTextItem.d.ts +1 -1
  209. package/es/rolling-text/index.css +1 -1
  210. package/es/rolling-text/index.d.ts +1 -1
  211. package/es/row/Row.d.ts +1 -1
  212. package/es/row/index.d.ts +1 -1
  213. package/es/search/Search.d.ts +1 -1
  214. package/es/search/index.css +1 -1
  215. package/es/search/index.d.ts +1 -1
  216. package/es/share-sheet/ShareSheet.d.ts +1 -1
  217. package/es/share-sheet/index.css +1 -1
  218. package/es/share-sheet/index.d.ts +1 -1
  219. package/es/sidebar/Sidebar.d.ts +1 -1
  220. package/es/sidebar/index.css +1 -1
  221. package/es/sidebar/index.d.ts +1 -1
  222. package/es/sidebar-item/SidebarItem.d.ts +1 -1
  223. package/es/sidebar-item/index.css +1 -1
  224. package/es/sidebar-item/index.d.ts +1 -1
  225. package/es/signature/Signature.d.ts +1 -1
  226. package/es/signature/index.css +1 -1
  227. package/es/signature/index.d.ts +1 -1
  228. package/es/skeleton/Skeleton.d.ts +2 -2
  229. package/es/skeleton/index.css +1 -1
  230. package/es/skeleton/index.d.ts +2 -2
  231. package/es/skeleton-avatar/SkeletonAvatar.d.ts +1 -1
  232. package/es/skeleton-avatar/index.css +1 -1
  233. package/es/skeleton-avatar/index.d.ts +1 -1
  234. package/es/skeleton-image/SkeletonImage.d.ts +1 -1
  235. package/es/skeleton-image/index.css +1 -1
  236. package/es/skeleton-image/index.d.ts +1 -1
  237. package/es/skeleton-paragraph/SkeletonParagraph.d.ts +1 -1
  238. package/es/skeleton-paragraph/index.css +1 -1
  239. package/es/skeleton-paragraph/index.d.ts +1 -1
  240. package/es/skeleton-title/SkeletonTitle.d.ts +1 -1
  241. package/es/skeleton-title/index.css +1 -1
  242. package/es/skeleton-title/index.d.ts +1 -1
  243. package/es/slider/Slider.d.ts +1 -1
  244. package/es/slider/index.css +1 -1
  245. package/es/slider/index.d.ts +1 -1
  246. package/es/space/Space.d.ts +1 -1
  247. package/es/space/index.d.ts +1 -1
  248. package/es/step/Step.d.ts +1 -1
  249. package/es/step/index.css +1 -1
  250. package/es/step/index.d.ts +1 -1
  251. package/es/stepper/Stepper.d.ts +1 -1
  252. package/es/stepper/index.css +1 -1
  253. package/es/stepper/index.d.ts +1 -1
  254. package/es/steps/Steps.d.ts +1 -1
  255. package/es/steps/index.css +1 -1
  256. package/es/steps/index.d.ts +1 -1
  257. package/es/sticky/Sticky.d.ts +1 -1
  258. package/es/sticky/index.css +1 -1
  259. package/es/sticky/index.d.ts +1 -1
  260. package/es/style/base.css +1 -1
  261. package/es/style/css-variables.css +1 -1
  262. package/es/submit-bar/SubmitBar.d.ts +1 -1
  263. package/es/submit-bar/index.css +1 -1
  264. package/es/submit-bar/index.d.ts +1 -1
  265. package/es/swipe/Swipe.d.ts +1 -1
  266. package/es/swipe/index.css +1 -1
  267. package/es/swipe/index.d.ts +1 -1
  268. package/es/swipe-cell/SwipeCell.d.ts +1 -1
  269. package/es/swipe-cell/index.d.ts +1 -1
  270. package/es/swipe-item/SwipeItem.d.ts +1 -1
  271. package/es/swipe-item/index.d.ts +1 -1
  272. package/es/switch/Switch.d.ts +1 -1
  273. package/es/switch/index.css +1 -1
  274. package/es/switch/index.d.ts +1 -1
  275. package/es/tab/Tab.d.ts +1 -1
  276. package/es/tab/TabTitle.d.ts +1 -1
  277. package/es/tab/index.d.ts +1 -1
  278. package/es/tabbar/Tabbar.d.ts +1 -1
  279. package/es/tabbar/index.css +1 -1
  280. package/es/tabbar/index.d.ts +1 -1
  281. package/es/tabbar-item/TabbarItem.d.ts +1 -1
  282. package/es/tabbar-item/index.css +1 -1
  283. package/es/tabbar-item/index.d.ts +1 -1
  284. package/es/tabs/Tabs.d.ts +1 -1
  285. package/es/tabs/TabsContent.d.ts +1 -1
  286. package/es/tabs/index.css +1 -1
  287. package/es/tabs/index.d.ts +1 -1
  288. package/es/tag/Tag.d.ts +1 -1
  289. package/es/tag/index.css +1 -1
  290. package/es/tag/index.d.ts +1 -1
  291. package/es/text-ellipsis/TextEllipsis.d.ts +1 -1
  292. package/es/text-ellipsis/index.css +1 -1
  293. package/es/text-ellipsis/index.d.ts +1 -1
  294. package/es/time-picker/TimePicker.d.ts +1 -1
  295. package/es/time-picker/index.d.ts +1 -1
  296. package/es/toast/Toast.d.ts +1 -1
  297. package/es/toast/index.css +1 -1
  298. package/es/toast/index.d.ts +1 -1
  299. package/es/tree-select/TreeSelect.d.ts +1 -1
  300. package/es/tree-select/index.css +1 -1
  301. package/es/tree-select/index.d.ts +1 -1
  302. package/es/uploader/Uploader.d.ts +1 -1
  303. package/es/uploader/UploaderPreviewItem.d.ts +1 -1
  304. package/es/uploader/index.css +1 -1
  305. package/es/uploader/index.d.ts +1 -1
  306. package/es/utils/dom.d.ts +1 -0
  307. package/es/utils/dom.mjs +17 -0
  308. package/es/watermark/Watermark.d.ts +1 -1
  309. package/es/watermark/index.css +1 -1
  310. package/es/watermark/index.d.ts +1 -1
  311. package/lib/action-bar/ActionBar.d.ts +1 -1
  312. package/lib/action-bar/index.css +1 -1
  313. package/lib/action-bar/index.d.ts +1 -1
  314. package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
  315. package/lib/action-bar-button/index.css +1 -1
  316. package/lib/action-bar-button/index.d.ts +1 -1
  317. package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
  318. package/lib/action-bar-icon/index.css +1 -1
  319. package/lib/action-bar-icon/index.d.ts +1 -1
  320. package/lib/action-sheet/ActionSheet.d.ts +1 -1
  321. package/lib/action-sheet/index.css +1 -1
  322. package/lib/action-sheet/index.d.ts +1 -1
  323. package/lib/address-edit/AddressEdit.d.ts +2 -2
  324. package/lib/address-edit/AddressEditDetail.d.ts +1 -1
  325. package/lib/address-edit/index.css +1 -1
  326. package/lib/address-edit/index.d.ts +2 -2
  327. package/lib/address-list/AddressList.d.ts +1 -1
  328. package/lib/address-list/AddressListItem.d.ts +1 -1
  329. package/lib/address-list/index.css +1 -1
  330. package/lib/address-list/index.d.ts +1 -1
  331. package/lib/area/Area.d.ts +1 -1
  332. package/lib/area/index.d.ts +1 -1
  333. package/lib/back-top/BackTop.d.ts +1 -1
  334. package/lib/back-top/index.css +1 -1
  335. package/lib/back-top/index.d.ts +1 -1
  336. package/lib/badge/Badge.d.ts +1 -1
  337. package/lib/badge/index.css +1 -1
  338. package/lib/badge/index.d.ts +1 -1
  339. package/lib/barrage/Barrage.d.ts +1 -1
  340. package/lib/barrage/index.css +1 -1
  341. package/lib/barrage/index.d.ts +1 -1
  342. package/lib/button/Button.d.ts +2 -2
  343. package/lib/button/index.css +1 -1
  344. package/lib/button/index.d.ts +2 -2
  345. package/lib/calendar/Calendar.d.ts +1 -1
  346. package/lib/calendar/CalendarDay.d.ts +1 -1
  347. package/lib/calendar/CalendarHeader.d.ts +1 -1
  348. package/lib/calendar/CalendarMonth.d.ts +1 -1
  349. package/lib/calendar/index.css +1 -1
  350. package/lib/calendar/index.d.ts +1 -1
  351. package/lib/card/Card.d.ts +1 -1
  352. package/lib/card/index.css +1 -1
  353. package/lib/card/index.d.ts +1 -1
  354. package/lib/cascader/Cascader.d.ts +1 -1
  355. package/lib/cascader/index.css +1 -1
  356. package/lib/cascader/index.d.ts +1 -1
  357. package/lib/cell/Cell.d.ts +1 -1
  358. package/lib/cell/index.css +1 -1
  359. package/lib/cell/index.d.ts +1 -1
  360. package/lib/cell-group/CellGroup.d.ts +1 -1
  361. package/lib/cell-group/index.css +1 -1
  362. package/lib/cell-group/index.d.ts +1 -1
  363. package/lib/checkbox/Checkbox.d.ts +1 -1
  364. package/lib/checkbox/Checker.d.ts +1 -1
  365. package/lib/checkbox/index.css +1 -1
  366. package/lib/checkbox/index.d.ts +1 -1
  367. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  368. package/lib/checkbox-group/index.d.ts +1 -1
  369. package/lib/circle/Circle.d.ts +1 -1
  370. package/lib/circle/index.css +1 -1
  371. package/lib/circle/index.d.ts +1 -1
  372. package/lib/col/Col.d.ts +1 -1
  373. package/lib/col/index.d.ts +1 -1
  374. package/lib/collapse/Collapse.d.ts +1 -1
  375. package/lib/collapse/index.d.ts +1 -1
  376. package/lib/collapse-item/CollapseItem.d.ts +1 -1
  377. package/lib/collapse-item/index.css +1 -1
  378. package/lib/collapse-item/index.d.ts +1 -1
  379. package/lib/composables/use-lazy-render.d.ts +1 -0
  380. package/lib/composables/use-placeholder.d.ts +2 -1
  381. package/lib/config-provider/ConfigProvider.d.ts +1 -1
  382. package/lib/config-provider/index.d.ts +1 -1
  383. package/lib/contact-card/ContactCard.d.ts +1 -1
  384. package/lib/contact-card/index.css +1 -1
  385. package/lib/contact-card/index.d.ts +1 -1
  386. package/lib/contact-edit/ContactEdit.d.ts +2 -2
  387. package/lib/contact-edit/index.css +1 -1
  388. package/lib/contact-edit/index.d.ts +2 -2
  389. package/lib/contact-list/ContactList.d.ts +1 -1
  390. package/lib/contact-list/index.css +1 -1
  391. package/lib/contact-list/index.d.ts +1 -1
  392. package/lib/count-down/CountDown.d.ts +1 -1
  393. package/lib/count-down/index.css +1 -1
  394. package/lib/count-down/index.d.ts +1 -1
  395. package/lib/coupon/Coupon.d.ts +1 -1
  396. package/lib/coupon/index.css +1 -1
  397. package/lib/coupon/index.d.ts +1 -1
  398. package/lib/coupon-cell/CouponCell.d.ts +1 -1
  399. package/lib/coupon-cell/index.css +1 -1
  400. package/lib/coupon-cell/index.d.ts +1 -1
  401. package/lib/coupon-list/CouponList.d.ts +1 -1
  402. package/lib/coupon-list/index.css +1 -1
  403. package/lib/coupon-list/index.d.ts +1 -1
  404. package/lib/date-picker/DatePicker.d.ts +1 -1
  405. package/lib/date-picker/index.d.ts +1 -1
  406. package/lib/dialog/Dialog.d.ts +1 -1
  407. package/lib/dialog/index.css +1 -1
  408. package/lib/dialog/index.d.ts +1 -1
  409. package/lib/dialog/types.d.ts +1 -0
  410. package/lib/divider/Divider.d.ts +1 -1
  411. package/lib/divider/index.css +1 -1
  412. package/lib/divider/index.d.ts +1 -1
  413. package/lib/dropdown-item/DropdownItem.d.ts +1 -1
  414. package/lib/dropdown-item/DropdownItem.js +12 -2
  415. package/lib/dropdown-item/index.css +1 -1
  416. package/lib/dropdown-item/index.d.ts +1 -1
  417. package/lib/dropdown-menu/DropdownMenu.d.ts +5 -1
  418. package/lib/dropdown-menu/DropdownMenu.js +1 -0
  419. package/lib/dropdown-menu/index.css +1 -1
  420. package/lib/dropdown-menu/index.d.ts +4 -1
  421. package/lib/empty/Empty.d.ts +1 -1
  422. package/lib/empty/index.css +1 -1
  423. package/lib/empty/index.d.ts +1 -1
  424. package/lib/field/Field.d.ts +1 -1
  425. package/lib/field/index.css +1 -1
  426. package/lib/field/index.d.ts +1 -1
  427. package/lib/floating-bubble/FloatingBubble.d.ts +1 -1
  428. package/lib/floating-bubble/index.css +1 -1
  429. package/lib/floating-bubble/index.d.ts +1 -1
  430. package/lib/floating-panel/FloatingPanel.d.ts +1 -1
  431. package/lib/floating-panel/index.css +1 -1
  432. package/lib/floating-panel/index.d.ts +1 -1
  433. package/lib/form/Form.d.ts +1 -1
  434. package/lib/form/index.d.ts +1 -1
  435. package/lib/grid/Grid.d.ts +1 -1
  436. package/lib/grid/index.d.ts +1 -1
  437. package/lib/grid-item/GridItem.d.ts +1 -1
  438. package/lib/grid-item/index.css +1 -1
  439. package/lib/grid-item/index.d.ts +1 -1
  440. package/lib/highlight/Highlight.d.ts +1 -1
  441. package/lib/highlight/index.css +1 -1
  442. package/lib/highlight/index.d.ts +1 -1
  443. package/lib/icon/Icon.d.ts +1 -1
  444. package/lib/icon/index.d.ts +1 -1
  445. package/lib/image/Image.d.ts +1 -1
  446. package/lib/image/index.css +1 -1
  447. package/lib/image/index.d.ts +1 -1
  448. package/lib/image-preview/ImagePreview.d.ts +1 -1
  449. package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
  450. package/lib/image-preview/ImagePreviewItem.js +10 -11
  451. package/lib/image-preview/index.css +1 -1
  452. package/lib/image-preview/index.d.ts +1 -1
  453. package/lib/index-anchor/IndexAnchor.d.ts +1 -1
  454. package/lib/index-anchor/index.css +1 -1
  455. package/lib/index-anchor/index.d.ts +1 -1
  456. package/lib/index-bar/IndexBar.d.ts +1 -1
  457. package/lib/index-bar/index.css +1 -1
  458. package/lib/index-bar/index.d.ts +1 -1
  459. package/lib/index.css +1 -1
  460. package/lib/index.d.ts +1 -1
  461. package/lib/index.js +1 -1
  462. package/lib/list/List.d.ts +1 -1
  463. package/lib/list/index.css +1 -1
  464. package/lib/list/index.d.ts +1 -1
  465. package/lib/loading/Loading.d.ts +1 -1
  466. package/lib/loading/index.css +1 -1
  467. package/lib/loading/index.d.ts +1 -1
  468. package/lib/nav-bar/NavBar.d.ts +1 -1
  469. package/lib/nav-bar/index.css +1 -1
  470. package/lib/nav-bar/index.d.ts +1 -1
  471. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  472. package/lib/notice-bar/index.css +1 -1
  473. package/lib/notice-bar/index.d.ts +1 -1
  474. package/lib/notify/Notify.d.ts +1 -1
  475. package/lib/notify/index.css +1 -1
  476. package/lib/notify/index.d.ts +1 -1
  477. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  478. package/lib/number-keyboard/NumberKeyboardKey.d.ts +1 -1
  479. package/lib/number-keyboard/index.css +1 -1
  480. package/lib/number-keyboard/index.d.ts +1 -1
  481. package/lib/overlay/Overlay.d.ts +1 -1
  482. package/lib/overlay/index.css +1 -1
  483. package/lib/overlay/index.d.ts +1 -1
  484. package/lib/pagination/Pagination.d.ts +1 -1
  485. package/lib/pagination/index.css +1 -1
  486. package/lib/pagination/index.d.ts +1 -1
  487. package/lib/password-input/PasswordInput.d.ts +1 -1
  488. package/lib/password-input/index.css +1 -1
  489. package/lib/password-input/index.d.ts +1 -1
  490. package/lib/picker/Picker.d.ts +1 -1
  491. package/lib/picker/PickerColumn.d.ts +1 -1
  492. package/lib/picker/PickerToolbar.d.ts +1 -1
  493. package/lib/picker/index.css +1 -1
  494. package/lib/picker/index.d.ts +1 -1
  495. package/lib/picker-group/PickerGroup.d.ts +1 -1
  496. package/lib/picker-group/index.css +1 -1
  497. package/lib/picker-group/index.d.ts +1 -1
  498. package/lib/popover/Popover.d.ts +1 -1
  499. package/lib/popover/index.css +1 -1
  500. package/lib/popover/index.d.ts +1 -1
  501. package/lib/popup/Popup.d.ts +1 -1
  502. package/lib/popup/index.css +1 -1
  503. package/lib/popup/index.d.ts +1 -1
  504. package/lib/progress/Progress.d.ts +1 -1
  505. package/lib/progress/index.css +1 -1
  506. package/lib/progress/index.d.ts +1 -1
  507. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  508. package/lib/pull-refresh/index.css +1 -1
  509. package/lib/pull-refresh/index.d.ts +1 -1
  510. package/lib/radio/Radio.d.ts +1 -1
  511. package/lib/radio/index.css +1 -1
  512. package/lib/radio/index.d.ts +1 -1
  513. package/lib/radio-group/RadioGroup.d.ts +1 -1
  514. package/lib/radio-group/index.d.ts +1 -1
  515. package/lib/rate/Rate.d.ts +1 -1
  516. package/lib/rate/index.css +1 -1
  517. package/lib/rate/index.d.ts +1 -1
  518. package/lib/rolling-text/RollingText.d.ts +1 -1
  519. package/lib/rolling-text/RollingTextItem.d.ts +1 -1
  520. package/lib/rolling-text/index.css +1 -1
  521. package/lib/rolling-text/index.d.ts +1 -1
  522. package/lib/row/Row.d.ts +1 -1
  523. package/lib/row/index.d.ts +1 -1
  524. package/lib/search/Search.d.ts +1 -1
  525. package/lib/search/index.css +1 -1
  526. package/lib/search/index.d.ts +1 -1
  527. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  528. package/lib/share-sheet/index.css +1 -1
  529. package/lib/share-sheet/index.d.ts +1 -1
  530. package/lib/sidebar/Sidebar.d.ts +1 -1
  531. package/lib/sidebar/index.css +1 -1
  532. package/lib/sidebar/index.d.ts +1 -1
  533. package/lib/sidebar-item/SidebarItem.d.ts +1 -1
  534. package/lib/sidebar-item/index.css +1 -1
  535. package/lib/sidebar-item/index.d.ts +1 -1
  536. package/lib/signature/Signature.d.ts +1 -1
  537. package/lib/signature/index.css +1 -1
  538. package/lib/signature/index.d.ts +1 -1
  539. package/lib/skeleton/Skeleton.d.ts +2 -2
  540. package/lib/skeleton/index.css +1 -1
  541. package/lib/skeleton/index.d.ts +2 -2
  542. package/lib/skeleton-avatar/SkeletonAvatar.d.ts +1 -1
  543. package/lib/skeleton-avatar/index.css +1 -1
  544. package/lib/skeleton-avatar/index.d.ts +1 -1
  545. package/lib/skeleton-image/SkeletonImage.d.ts +1 -1
  546. package/lib/skeleton-image/index.css +1 -1
  547. package/lib/skeleton-image/index.d.ts +1 -1
  548. package/lib/skeleton-paragraph/SkeletonParagraph.d.ts +1 -1
  549. package/lib/skeleton-paragraph/index.css +1 -1
  550. package/lib/skeleton-paragraph/index.d.ts +1 -1
  551. package/lib/skeleton-title/SkeletonTitle.d.ts +1 -1
  552. package/lib/skeleton-title/index.css +1 -1
  553. package/lib/skeleton-title/index.d.ts +1 -1
  554. package/lib/slider/Slider.d.ts +1 -1
  555. package/lib/slider/index.css +1 -1
  556. package/lib/slider/index.d.ts +1 -1
  557. package/lib/space/Space.d.ts +1 -1
  558. package/lib/space/index.d.ts +1 -1
  559. package/lib/step/Step.d.ts +1 -1
  560. package/lib/step/index.css +1 -1
  561. package/lib/step/index.d.ts +1 -1
  562. package/lib/stepper/Stepper.d.ts +1 -1
  563. package/lib/stepper/index.css +1 -1
  564. package/lib/stepper/index.d.ts +1 -1
  565. package/lib/steps/Steps.d.ts +1 -1
  566. package/lib/steps/index.css +1 -1
  567. package/lib/steps/index.d.ts +1 -1
  568. package/lib/sticky/Sticky.d.ts +1 -1
  569. package/lib/sticky/index.css +1 -1
  570. package/lib/sticky/index.d.ts +1 -1
  571. package/lib/style/base.css +1 -1
  572. package/lib/style/css-variables.css +1 -1
  573. package/lib/submit-bar/SubmitBar.d.ts +1 -1
  574. package/lib/submit-bar/index.css +1 -1
  575. package/lib/submit-bar/index.d.ts +1 -1
  576. package/lib/swipe/Swipe.d.ts +1 -1
  577. package/lib/swipe/index.css +1 -1
  578. package/lib/swipe/index.d.ts +1 -1
  579. package/lib/swipe-cell/SwipeCell.d.ts +1 -1
  580. package/lib/swipe-cell/index.d.ts +1 -1
  581. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  582. package/lib/swipe-item/index.d.ts +1 -1
  583. package/lib/switch/Switch.d.ts +1 -1
  584. package/lib/switch/index.css +1 -1
  585. package/lib/switch/index.d.ts +1 -1
  586. package/lib/tab/Tab.d.ts +1 -1
  587. package/lib/tab/TabTitle.d.ts +1 -1
  588. package/lib/tab/index.d.ts +1 -1
  589. package/lib/tabbar/Tabbar.d.ts +1 -1
  590. package/lib/tabbar/index.css +1 -1
  591. package/lib/tabbar/index.d.ts +1 -1
  592. package/lib/tabbar-item/TabbarItem.d.ts +1 -1
  593. package/lib/tabbar-item/index.css +1 -1
  594. package/lib/tabbar-item/index.d.ts +1 -1
  595. package/lib/tabs/Tabs.d.ts +1 -1
  596. package/lib/tabs/TabsContent.d.ts +1 -1
  597. package/lib/tabs/index.css +1 -1
  598. package/lib/tabs/index.d.ts +1 -1
  599. package/lib/tag/Tag.d.ts +1 -1
  600. package/lib/tag/index.css +1 -1
  601. package/lib/tag/index.d.ts +1 -1
  602. package/lib/text-ellipsis/TextEllipsis.d.ts +1 -1
  603. package/lib/text-ellipsis/index.css +1 -1
  604. package/lib/text-ellipsis/index.d.ts +1 -1
  605. package/lib/time-picker/TimePicker.d.ts +1 -1
  606. package/lib/time-picker/index.d.ts +1 -1
  607. package/lib/toast/Toast.d.ts +1 -1
  608. package/lib/toast/index.css +1 -1
  609. package/lib/toast/index.d.ts +1 -1
  610. package/lib/tree-select/TreeSelect.d.ts +1 -1
  611. package/lib/tree-select/index.css +1 -1
  612. package/lib/tree-select/index.d.ts +1 -1
  613. package/lib/uploader/Uploader.d.ts +1 -1
  614. package/lib/uploader/UploaderPreviewItem.d.ts +1 -1
  615. package/lib/uploader/index.css +1 -1
  616. package/lib/uploader/index.d.ts +1 -1
  617. package/lib/utils/dom.d.ts +1 -0
  618. package/lib/utils/dom.js +17 -0
  619. package/lib/vant.cjs.js +40 -14
  620. package/lib/vant.es.js +40 -14
  621. package/lib/vant.js +40 -14
  622. package/lib/vant.min.js +1 -1
  623. package/lib/watermark/Watermark.d.ts +1 -1
  624. package/lib/watermark/index.css +1 -1
  625. package/lib/watermark/index.d.ts +1 -1
  626. package/lib/web-types.json +1 -1
  627. package/package.json +14 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vant",
3
- "version": "4.8.1",
3
+ "version": "4.8.2",
4
4
  "description": "Mobile UI Components built on Vue",
5
5
  "main": "lib/vant.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -34,31 +34,31 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@vue/shared": "^3.0.0",
37
- "@vant/popperjs": "^1.3.0",
38
- "@vant/use": "^1.6.0"
37
+ "@vant/use": "^1.6.0",
38
+ "@vant/popperjs": "^1.3.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "vue": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^18.16.3",
45
- "@vitejs/plugin-vue": "^4.0.0",
46
- "@vitejs/plugin-vue-jsx": "^3.0.0",
47
- "@vitest/coverage-istanbul": "0.34.1",
48
- "@vue/runtime-core": "^3.3.4",
45
+ "@vitejs/plugin-vue": "^4.5.2",
46
+ "@vitejs/plugin-vue-jsx": "^3.1.0",
47
+ "@vitest/coverage-istanbul": "^1.1.0",
48
+ "@vue/runtime-core": "^3.4.0-rc.1",
49
49
  "@vue/test-utils": "^2.3.2",
50
50
  "diffable-html": "^5.0.0",
51
51
  "jsdom": "^22.1.0",
52
52
  "typescript": "^5.0.4",
53
- "vite": "^4.4.12",
54
- "vitest": "0.34.2",
55
- "vitest-canvas-mock": "^0.3.2",
56
- "vue": "^3.3.4",
53
+ "vite": "^5.0.10",
54
+ "vitest": "^1.1.0",
55
+ "vitest-canvas-mock": "^0.3.3",
56
+ "vue": "^3.4.0-rc.1",
57
57
  "vue-router": "^4.1.6",
58
- "@vant/eslint-config": "4.0.0",
59
- "@vant/area-data": "1.5.1",
60
58
  "@vant/cli": "6.2.0",
61
- "@vant/icons": "3.0.2"
59
+ "@vant/area-data": "1.5.1",
60
+ "@vant/icons": "3.0.2",
61
+ "@vant/eslint-config": "4.0.0"
62
62
  },
63
63
  "sideEffects": [
64
64
  "es/**/style/*",