vant 4.0.0-alpha.4 → 4.0.0-rc.0

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 (1015) hide show
  1. package/LICENSE +10 -0
  2. package/README.md +17 -13
  3. package/changelog.generated.md +295 -0
  4. package/es/action-bar/ActionBar.d.ts +5 -1
  5. package/es/action-bar/ActionBar.mjs +13 -2
  6. package/es/action-bar/index.d.ts +4 -1
  7. package/es/action-bar-button/ActionBarButton.d.ts +1 -1
  8. package/es/action-bar-button/index.d.ts +1 -1
  9. package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
  10. package/es/action-bar-icon/index.d.ts +1 -1
  11. package/es/address-edit/AddressEdit.mjs +2 -2
  12. package/es/address-edit/style/index.mjs +7 -1
  13. package/es/area/Area.d.ts +6 -3
  14. package/es/area/index.d.ts +4 -2
  15. package/es/area/style/index.mjs +7 -0
  16. package/es/area/utils.mjs +9 -2
  17. package/es/badge/Badge.d.ts +1 -1
  18. package/es/badge/Badge.mjs +1 -1
  19. package/es/badge/index.d.ts +1 -1
  20. package/es/calendar/Calendar.mjs +13 -8
  21. package/es/calendar/style/index.mjs +7 -1
  22. package/es/calendar/types.d.ts +1 -0
  23. package/es/cell/Cell.d.ts +2 -2
  24. package/es/cell/index.d.ts +2 -2
  25. package/es/cell-group/CellGroup.d.ts +1 -1
  26. package/es/cell-group/index.d.ts +1 -1
  27. package/es/col/Col.d.ts +1 -1
  28. package/es/col/index.d.ts +1 -1
  29. package/es/collapse/Collapse.d.ts +8 -1
  30. package/es/collapse/Collapse.mjs +28 -1
  31. package/es/collapse/index.d.ts +1 -1
  32. package/es/collapse-item/CollapseItem.d.ts +2 -2
  33. package/es/collapse-item/CollapseItem.mjs +3 -1
  34. package/es/collapse-item/index.d.ts +2 -2
  35. package/es/composables/use-global-z-index.d.ts +4 -0
  36. package/es/composables/use-global-z-index.mjs +9 -0
  37. package/es/composables/use-height.d.ts +1 -1
  38. package/es/composables/use-height.mjs +8 -2
  39. package/es/composables/use-lazy-render.mjs +9 -5
  40. package/es/composables/use-lock-scroll.mjs +7 -2
  41. package/es/composables/use-placeholder.mjs +1 -1
  42. package/es/composables/use-visibility-change.mjs +6 -3
  43. package/es/config-provider/ConfigProvider.d.ts +14 -4
  44. package/es/config-provider/ConfigProvider.mjs +25 -9
  45. package/es/config-provider/index.d.ts +9 -3
  46. package/es/coupon/Coupon.d.ts +1 -1
  47. package/es/coupon/index.d.ts +1 -1
  48. package/es/coupon/utils.mjs +3 -1
  49. package/es/coupon-cell/CouponCell.d.ts +1 -1
  50. package/es/coupon-cell/index.d.ts +1 -1
  51. package/es/coupon-list/style/index.mjs +3 -3
  52. package/es/date-picker/DatePicker.d.ts +6 -3
  53. package/es/date-picker/DatePicker.mjs +10 -10
  54. package/es/date-picker/index.d.ts +4 -2
  55. package/es/date-picker/style/index.mjs +7 -0
  56. package/es/date-picker/utils.d.ts +3 -2
  57. package/es/dialog/Dialog.d.ts +9 -1
  58. package/es/dialog/Dialog.mjs +6 -0
  59. package/es/dialog/function-call.d.ts +6 -184
  60. package/es/dialog/function-call.mjs +45 -45
  61. package/es/dialog/index.css +1 -1
  62. package/es/dialog/index.d.ts +130 -3
  63. package/es/dialog/index.mjs +16 -2
  64. package/es/dialog/types.d.ts +3 -7
  65. package/es/divider/Divider.d.ts +1 -1
  66. package/es/divider/index.d.ts +1 -1
  67. package/es/dropdown-item/DropdownItem.d.ts +2 -2
  68. package/es/dropdown-item/index.d.ts +2 -2
  69. package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
  70. package/es/dropdown-menu/DropdownMenu.mjs +2 -1
  71. package/es/dropdown-menu/index.d.ts +1 -1
  72. package/es/empty/Empty.d.ts +2 -2
  73. package/es/empty/Empty.mjs +281 -16
  74. package/es/empty/index.d.ts +1 -1
  75. package/es/field/Field.d.ts +4 -2
  76. package/es/field/Field.mjs +21 -5
  77. package/es/field/index.d.ts +4 -2
  78. package/es/field/types.d.ts +1 -0
  79. package/es/field/utils.d.ts +1 -0
  80. package/es/field/utils.mjs +8 -2
  81. package/es/grid/Grid.d.ts +1 -1
  82. package/es/grid/index.d.ts +1 -1
  83. package/es/grid-item/GridItem.d.ts +1 -1
  84. package/es/grid-item/index.d.ts +1 -1
  85. package/es/icon/Icon.d.ts +1 -1
  86. package/es/icon/index.d.ts +1 -1
  87. package/es/image-preview/ImagePreviewItem.mjs +11 -3
  88. package/es/image-preview/function-call.d.ts +1 -134
  89. package/es/image-preview/function-call.mjs +3 -7
  90. package/es/image-preview/index.css +1 -1
  91. package/es/image-preview/index.d.ts +129 -2
  92. package/es/image-preview/index.mjs +6 -2
  93. package/es/index-anchor/IndexAnchor.d.ts +1 -1
  94. package/es/index-anchor/index.d.ts +1 -1
  95. package/es/index-bar/IndexBar.mjs +9 -4
  96. package/es/index.d.ts +3 -1
  97. package/es/index.mjs +7 -1
  98. package/es/lazyload/vue-lazyload/lazy-component.mjs +4 -1
  99. package/es/lazyload/vue-lazyload/lazy-container.mjs +11 -7
  100. package/es/lazyload/vue-lazyload/lazy-image.mjs +24 -14
  101. package/es/lazyload/vue-lazyload/lazy.mjs +11 -3
  102. package/es/lazyload/vue-lazyload/listener.mjs +45 -33
  103. package/es/lazyload/vue-lazyload/util.mjs +4 -1
  104. package/es/list/List.mjs +2 -1
  105. package/es/loading/Loading.d.ts +1 -1
  106. package/es/loading/index.d.ts +1 -1
  107. package/es/locale/index.d.ts +1 -1
  108. package/es/notify/function-call.d.ts +4 -100
  109. package/es/notify/function-call.mjs +25 -29
  110. package/es/notify/index.d.ts +91 -2
  111. package/es/notify/index.mjs +14 -2
  112. package/es/notify/types.d.ts +0 -6
  113. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  114. package/es/number-keyboard/NumberKeyboard.mjs +1 -2
  115. package/es/number-keyboard/NumberKeyboardKey.mjs +2 -2
  116. package/es/number-keyboard/index.d.ts +1 -1
  117. package/es/overlay/Overlay.d.ts +1 -1
  118. package/es/overlay/Overlay.mjs +13 -6
  119. package/es/overlay/index.d.ts +1 -1
  120. package/es/password-input/PasswordInput.mjs +1 -1
  121. package/es/picker/Picker.d.ts +10 -5
  122. package/es/picker/Picker.mjs +47 -64
  123. package/es/picker/PickerColumn.d.ts +2 -1
  124. package/es/picker/PickerColumn.mjs +11 -6
  125. package/es/picker/PickerToolbar.d.ts +21 -0
  126. package/es/picker/PickerToolbar.mjs +59 -0
  127. package/es/picker/index.d.ts +6 -3
  128. package/es/picker/style/index.mjs +7 -0
  129. package/es/picker/utils.d.ts +2 -0
  130. package/es/picker/utils.mjs +14 -7
  131. package/es/picker-group/PickerGroup.d.ts +39 -0
  132. package/es/picker-group/PickerGroup.mjs +57 -0
  133. package/es/picker-group/index.css +1 -0
  134. package/es/picker-group/index.d.ts +32 -0
  135. package/es/picker-group/index.mjs +8 -0
  136. package/es/{action-bar-button/style/less.d.ts → picker-group/style/index.d.ts} +0 -0
  137. package/es/picker-group/style/index.mjs +9 -0
  138. package/es/popover/Popover.mjs +28 -27
  139. package/es/popup/Popup.d.ts +2 -2
  140. package/es/popup/Popup.mjs +7 -6
  141. package/es/popup/index.css +1 -1
  142. package/es/popup/index.d.ts +2 -2
  143. package/es/popup/shared.mjs +3 -1
  144. package/es/progress/Progress.d.ts +1 -1
  145. package/es/progress/index.d.ts +1 -1
  146. package/es/pull-refresh/PullRefresh.d.ts +2 -1
  147. package/es/pull-refresh/PullRefresh.mjs +12 -4
  148. package/es/pull-refresh/index.d.ts +2 -1
  149. package/es/rate/Rate.mjs +5 -3
  150. package/es/row/Row.d.ts +1 -1
  151. package/es/row/index.d.ts +1 -1
  152. package/es/search/index.css +1 -1
  153. package/es/skeleton/Skeleton.d.ts +1 -1
  154. package/es/skeleton/index.d.ts +1 -1
  155. package/es/slider/Slider.mjs +7 -3
  156. package/es/space/Space.d.ts +48 -0
  157. package/es/space/Space.mjs +87 -0
  158. package/es/space/index.css +1 -0
  159. package/es/space/index.d.ts +37 -0
  160. package/es/space/index.mjs +8 -0
  161. package/es/{action-bar-icon/style/less.d.ts → space/style/index.d.ts} +0 -0
  162. package/es/space/style/index.mjs +2 -0
  163. package/es/step/Step.d.ts +1 -1
  164. package/es/step/index.d.ts +1 -1
  165. package/es/stepper/Stepper.mjs +1 -1
  166. package/es/sticky/Sticky.mjs +2 -1
  167. package/es/submit-bar/SubmitBar.d.ts +4 -0
  168. package/es/submit-bar/SubmitBar.mjs +13 -2
  169. package/es/submit-bar/index.d.ts +3 -0
  170. package/es/swipe/Swipe.mjs +14 -7
  171. package/es/swipe-cell/SwipeCell.d.ts +2 -2
  172. package/es/swipe-cell/SwipeCell.mjs +5 -3
  173. package/es/swipe-cell/index.d.ts +2 -2
  174. package/es/swipe-item/SwipeItem.d.ts +1 -1
  175. package/es/swipe-item/index.d.ts +1 -1
  176. package/es/switch/Switch.mjs +2 -1
  177. package/es/tab/Tab.d.ts +1 -1
  178. package/es/tab/index.d.ts +1 -1
  179. package/es/tabs/Tabs.mjs +12 -2
  180. package/es/tabs/TabsContent.mjs +4 -0
  181. package/es/tabs/TabsTitle.d.ts +1 -1
  182. package/es/time-picker/TimePicker.d.ts +6 -3
  183. package/es/time-picker/index.d.ts +4 -2
  184. package/es/time-picker/style/index.mjs +7 -0
  185. package/es/toast/function-call.d.ts +10 -18
  186. package/es/toast/function-call.mjs +22 -20
  187. package/es/toast/index.d.ts +76 -2
  188. package/es/toast/index.mjs +22 -2
  189. package/es/toast/types.d.ts +10 -7
  190. package/es/uploader/Uploader.d.ts +3 -3
  191. package/es/uploader/Uploader.mjs +3 -3
  192. package/es/uploader/index.d.ts +2 -2
  193. package/es/utils/basic.d.ts +3 -3
  194. package/es/utils/create.d.ts +1 -1
  195. package/es/utils/create.mjs +8 -2
  196. package/es/utils/with-install.d.ts +2 -2
  197. package/es/utils/with-install.mjs +4 -2
  198. package/es/vue-tsx-shim.d.ts +7 -0
  199. package/lib/action-bar/ActionBar.d.ts +5 -1
  200. package/lib/action-bar/ActionBar.js +12 -1
  201. package/lib/action-bar/index.d.ts +4 -1
  202. package/lib/action-bar/index.js +4 -1
  203. package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
  204. package/lib/action-bar-button/index.d.ts +1 -1
  205. package/lib/action-bar-button/index.js +4 -1
  206. package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
  207. package/lib/action-bar-icon/index.d.ts +1 -1
  208. package/lib/action-bar-icon/index.js +4 -1
  209. package/lib/action-sheet/index.js +4 -1
  210. package/lib/address-edit/AddressEdit.js +5 -2
  211. package/lib/address-edit/index.js +4 -1
  212. package/lib/address-edit/style/index.js +7 -1
  213. package/lib/address-list/AddressList.js +4 -1
  214. package/lib/address-list/index.js +4 -1
  215. package/lib/area/Area.d.ts +6 -3
  216. package/lib/area/index.d.ts +4 -2
  217. package/lib/area/index.js +4 -1
  218. package/lib/area/style/index.js +7 -0
  219. package/lib/area/utils.js +9 -2
  220. package/lib/badge/Badge.d.ts +1 -1
  221. package/lib/badge/Badge.js +1 -1
  222. package/lib/badge/index.d.ts +1 -1
  223. package/lib/badge/index.js +4 -1
  224. package/lib/button/index.js +4 -1
  225. package/lib/calendar/Calendar.js +16 -8
  226. package/lib/calendar/CalendarMonth.js +4 -1
  227. package/lib/calendar/index.js +4 -1
  228. package/lib/calendar/style/index.js +7 -1
  229. package/lib/calendar/types.d.ts +1 -0
  230. package/lib/card/index.js +4 -1
  231. package/lib/cascader/index.js +4 -1
  232. package/lib/cell/Cell.d.ts +2 -2
  233. package/lib/cell/index.d.ts +2 -2
  234. package/lib/cell/index.js +4 -1
  235. package/lib/cell-group/CellGroup.d.ts +1 -1
  236. package/lib/cell-group/index.d.ts +1 -1
  237. package/lib/cell-group/index.js +4 -1
  238. package/lib/checkbox/Checkbox.js +4 -1
  239. package/lib/checkbox/index.js +4 -1
  240. package/lib/checkbox-group/index.js +4 -1
  241. package/lib/circle/index.js +4 -1
  242. package/lib/col/Col.d.ts +1 -1
  243. package/lib/col/index.d.ts +1 -1
  244. package/lib/col/index.js +4 -1
  245. package/lib/collapse/Collapse.d.ts +8 -1
  246. package/lib/collapse/Collapse.js +28 -1
  247. package/lib/collapse/index.d.ts +1 -1
  248. package/lib/collapse/index.js +4 -1
  249. package/lib/collapse-item/CollapseItem.d.ts +2 -2
  250. package/lib/collapse-item/CollapseItem.js +3 -1
  251. package/lib/collapse-item/index.d.ts +2 -2
  252. package/lib/collapse-item/index.js +4 -1
  253. package/lib/composables/use-global-z-index.d.ts +4 -0
  254. package/lib/composables/use-global-z-index.js +28 -0
  255. package/lib/composables/use-height.d.ts +1 -1
  256. package/lib/composables/use-height.js +8 -2
  257. package/lib/composables/use-lazy-render.js +9 -5
  258. package/lib/composables/use-lock-scroll.js +7 -2
  259. package/lib/composables/use-placeholder.js +1 -1
  260. package/lib/composables/use-visibility-change.js +6 -3
  261. package/lib/config-provider/ConfigProvider.d.ts +14 -4
  262. package/lib/config-provider/ConfigProvider.js +23 -7
  263. package/lib/config-provider/index.d.ts +9 -3
  264. package/lib/config-provider/index.js +4 -1
  265. package/lib/contact-card/index.js +4 -1
  266. package/lib/contact-edit/index.js +4 -1
  267. package/lib/contact-list/index.js +4 -1
  268. package/lib/count-down/index.js +4 -1
  269. package/lib/coupon/Coupon.d.ts +1 -1
  270. package/lib/coupon/index.d.ts +1 -1
  271. package/lib/coupon/index.js +4 -1
  272. package/lib/coupon/utils.js +3 -1
  273. package/lib/coupon-cell/CouponCell.d.ts +1 -1
  274. package/lib/coupon-cell/index.d.ts +1 -1
  275. package/lib/coupon-cell/index.js +4 -1
  276. package/lib/coupon-list/index.js +4 -1
  277. package/lib/coupon-list/style/index.js +3 -3
  278. package/lib/date-picker/DatePicker.d.ts +6 -3
  279. package/lib/date-picker/DatePicker.js +10 -10
  280. package/lib/date-picker/index.d.ts +4 -2
  281. package/lib/date-picker/index.js +4 -1
  282. package/lib/date-picker/style/index.js +7 -0
  283. package/lib/date-picker/utils.d.ts +3 -2
  284. package/lib/dialog/Dialog.d.ts +9 -1
  285. package/lib/dialog/Dialog.js +6 -0
  286. package/lib/dialog/function-call.d.ts +6 -184
  287. package/lib/dialog/function-call.js +46 -43
  288. package/lib/dialog/index.css +1 -1
  289. package/lib/dialog/index.d.ts +130 -3
  290. package/lib/dialog/index.js +17 -3
  291. package/lib/dialog/types.d.ts +3 -7
  292. package/lib/divider/Divider.d.ts +1 -1
  293. package/lib/divider/index.d.ts +1 -1
  294. package/lib/divider/index.js +4 -1
  295. package/lib/dropdown-item/DropdownItem.d.ts +2 -2
  296. package/lib/dropdown-item/index.d.ts +2 -2
  297. package/lib/dropdown-item/index.js +4 -1
  298. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  299. package/lib/dropdown-menu/DropdownMenu.js +2 -1
  300. package/lib/dropdown-menu/index.d.ts +1 -1
  301. package/lib/dropdown-menu/index.js +4 -1
  302. package/lib/empty/Empty.d.ts +2 -2
  303. package/lib/empty/Empty.js +281 -16
  304. package/lib/empty/index.d.ts +1 -1
  305. package/lib/empty/index.js +4 -1
  306. package/lib/field/Field.d.ts +4 -2
  307. package/lib/field/Field.js +19 -3
  308. package/lib/field/index.d.ts +4 -2
  309. package/lib/field/index.js +4 -1
  310. package/lib/field/types.d.ts +1 -0
  311. package/lib/field/utils.d.ts +1 -0
  312. package/lib/field/utils.js +8 -2
  313. package/lib/form/index.js +4 -1
  314. package/lib/grid/Grid.d.ts +1 -1
  315. package/lib/grid/index.d.ts +1 -1
  316. package/lib/grid/index.js +4 -1
  317. package/lib/grid-item/GridItem.d.ts +1 -1
  318. package/lib/grid-item/index.d.ts +1 -1
  319. package/lib/grid-item/index.js +4 -1
  320. package/lib/icon/Icon.d.ts +1 -1
  321. package/lib/icon/index.d.ts +1 -1
  322. package/lib/icon/index.js +4 -1
  323. package/lib/image/index.js +4 -1
  324. package/lib/image-preview/ImagePreview.js +4 -1
  325. package/lib/image-preview/ImagePreviewItem.js +10 -2
  326. package/lib/image-preview/function-call.d.ts +1 -134
  327. package/lib/image-preview/function-call.js +6 -7
  328. package/lib/image-preview/index.css +1 -1
  329. package/lib/image-preview/index.d.ts +129 -2
  330. package/lib/image-preview/index.js +13 -3
  331. package/lib/index-anchor/IndexAnchor.d.ts +1 -1
  332. package/lib/index-anchor/index.d.ts +1 -1
  333. package/lib/index-anchor/index.js +4 -1
  334. package/lib/index-bar/IndexBar.js +9 -4
  335. package/lib/index-bar/index.js +4 -1
  336. package/lib/index.css +1 -1
  337. package/lib/index.d.ts +3 -1
  338. package/lib/index.js +7 -1
  339. package/lib/lazyload/vue-lazyload/index.js +4 -1
  340. package/lib/lazyload/vue-lazyload/lazy-component.js +4 -1
  341. package/lib/lazyload/vue-lazyload/lazy-container.js +11 -7
  342. package/lib/lazyload/vue-lazyload/lazy-image.js +24 -14
  343. package/lib/lazyload/vue-lazyload/lazy.js +15 -4
  344. package/lib/lazyload/vue-lazyload/listener.js +45 -33
  345. package/lib/lazyload/vue-lazyload/util.js +4 -1
  346. package/lib/list/List.js +2 -1
  347. package/lib/list/index.js +4 -1
  348. package/lib/loading/Loading.d.ts +1 -1
  349. package/lib/loading/index.d.ts +1 -1
  350. package/lib/loading/index.js +4 -1
  351. package/lib/locale/index.d.ts +1 -1
  352. package/lib/locale/index.js +4 -1
  353. package/lib/nav-bar/index.js +4 -1
  354. package/lib/notice-bar/index.js +4 -1
  355. package/lib/notify/function-call.d.ts +4 -100
  356. package/lib/notify/function-call.js +28 -29
  357. package/lib/notify/index.d.ts +91 -2
  358. package/lib/notify/index.js +16 -3
  359. package/lib/notify/types.d.ts +0 -6
  360. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  361. package/lib/number-keyboard/NumberKeyboard.js +5 -3
  362. package/lib/number-keyboard/NumberKeyboardKey.js +2 -2
  363. package/lib/number-keyboard/index.d.ts +1 -1
  364. package/lib/number-keyboard/index.js +4 -1
  365. package/lib/overlay/Overlay.d.ts +1 -1
  366. package/lib/overlay/Overlay.js +11 -4
  367. package/lib/overlay/index.d.ts +1 -1
  368. package/lib/overlay/index.js +4 -1
  369. package/lib/pagination/index.js +4 -1
  370. package/lib/password-input/PasswordInput.js +1 -1
  371. package/lib/password-input/index.js +4 -1
  372. package/lib/picker/Picker.d.ts +10 -5
  373. package/lib/picker/Picker.js +53 -67
  374. package/lib/picker/PickerColumn.d.ts +2 -1
  375. package/lib/picker/PickerColumn.js +10 -5
  376. package/lib/picker/PickerToolbar.d.ts +21 -0
  377. package/lib/picker/PickerToolbar.js +78 -0
  378. package/lib/picker/index.d.ts +6 -3
  379. package/lib/picker/index.js +4 -1
  380. package/lib/picker/style/index.js +7 -0
  381. package/lib/picker/utils.d.ts +2 -0
  382. package/lib/picker/utils.js +15 -8
  383. package/lib/picker-group/PickerGroup.d.ts +39 -0
  384. package/lib/picker-group/PickerGroup.js +82 -0
  385. package/lib/picker-group/index.css +1 -0
  386. package/lib/picker-group/index.d.ts +32 -0
  387. package/lib/picker-group/index.js +33 -0
  388. package/{es/action-bar/style/less.d.ts → lib/picker-group/style/index.d.ts} +0 -0
  389. package/lib/picker-group/style/index.js +9 -0
  390. package/lib/popover/Popover.js +27 -26
  391. package/lib/popover/index.js +4 -1
  392. package/lib/popup/Popup.d.ts +2 -2
  393. package/lib/popup/Popup.js +7 -6
  394. package/lib/popup/index.css +1 -1
  395. package/lib/popup/index.d.ts +2 -2
  396. package/lib/popup/index.js +4 -1
  397. package/lib/popup/shared.js +3 -1
  398. package/lib/progress/Progress.d.ts +1 -1
  399. package/lib/progress/index.d.ts +1 -1
  400. package/lib/progress/index.js +4 -1
  401. package/lib/pull-refresh/PullRefresh.d.ts +2 -1
  402. package/lib/pull-refresh/PullRefresh.js +11 -3
  403. package/lib/pull-refresh/index.d.ts +2 -1
  404. package/lib/pull-refresh/index.js +4 -1
  405. package/lib/radio/Radio.js +4 -1
  406. package/lib/radio/index.js +4 -1
  407. package/lib/radio-group/index.js +4 -1
  408. package/lib/rate/Rate.js +4 -2
  409. package/lib/rate/index.js +4 -1
  410. package/lib/row/Row.d.ts +1 -1
  411. package/lib/row/index.d.ts +1 -1
  412. package/lib/row/index.js +4 -1
  413. package/lib/search/index.css +1 -1
  414. package/lib/search/index.js +4 -1
  415. package/lib/share-sheet/index.js +4 -1
  416. package/lib/sidebar/index.js +4 -1
  417. package/lib/sidebar-item/index.js +4 -1
  418. package/lib/skeleton/Skeleton.d.ts +1 -1
  419. package/lib/skeleton/index.d.ts +1 -1
  420. package/lib/skeleton/index.js +4 -1
  421. package/lib/slider/Slider.js +6 -2
  422. package/lib/slider/index.js +4 -1
  423. package/lib/space/Space.d.ts +48 -0
  424. package/lib/space/Space.js +106 -0
  425. package/lib/space/index.css +1 -0
  426. package/lib/space/index.d.ts +37 -0
  427. package/lib/space/index.js +33 -0
  428. package/{es/action-sheet/style/less.d.ts → lib/space/style/index.d.ts} +0 -0
  429. package/lib/space/style/index.js +2 -0
  430. package/lib/step/Step.d.ts +1 -1
  431. package/lib/step/index.d.ts +1 -1
  432. package/lib/step/index.js +4 -1
  433. package/lib/stepper/Stepper.js +1 -1
  434. package/lib/stepper/index.js +4 -1
  435. package/lib/steps/index.js +4 -1
  436. package/lib/sticky/Sticky.js +2 -1
  437. package/lib/sticky/index.js +4 -1
  438. package/lib/submit-bar/SubmitBar.d.ts +4 -0
  439. package/lib/submit-bar/SubmitBar.js +12 -1
  440. package/lib/submit-bar/index.d.ts +3 -0
  441. package/lib/submit-bar/index.js +4 -1
  442. package/lib/swipe/Swipe.js +13 -6
  443. package/lib/swipe/index.js +4 -1
  444. package/lib/swipe-cell/SwipeCell.d.ts +2 -2
  445. package/lib/swipe-cell/SwipeCell.js +4 -2
  446. package/lib/swipe-cell/index.d.ts +2 -2
  447. package/lib/swipe-cell/index.js +4 -1
  448. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  449. package/lib/swipe-item/index.d.ts +1 -1
  450. package/lib/swipe-item/index.js +4 -1
  451. package/lib/switch/Switch.js +2 -1
  452. package/lib/switch/index.js +4 -1
  453. package/lib/tab/Tab.d.ts +1 -1
  454. package/lib/tab/index.d.ts +1 -1
  455. package/lib/tab/index.js +4 -1
  456. package/lib/tabbar/index.js +4 -1
  457. package/lib/tabbar-item/index.js +4 -1
  458. package/lib/tabs/Tabs.js +16 -3
  459. package/lib/tabs/TabsContent.js +4 -0
  460. package/lib/tabs/TabsTitle.d.ts +1 -1
  461. package/lib/tabs/index.js +4 -1
  462. package/lib/tag/index.js +4 -1
  463. package/lib/time-picker/TimePicker.d.ts +6 -3
  464. package/lib/time-picker/index.d.ts +4 -2
  465. package/lib/time-picker/index.js +4 -1
  466. package/lib/time-picker/style/index.js +7 -0
  467. package/lib/toast/function-call.d.ts +10 -18
  468. package/lib/toast/function-call.js +25 -20
  469. package/lib/toast/index.d.ts +76 -2
  470. package/lib/toast/index.js +20 -3
  471. package/lib/toast/types.d.ts +10 -7
  472. package/lib/tree-select/index.js +4 -1
  473. package/lib/uploader/Uploader.d.ts +3 -3
  474. package/lib/uploader/Uploader.js +6 -3
  475. package/lib/uploader/index.d.ts +2 -2
  476. package/lib/uploader/index.js +4 -1
  477. package/lib/utils/basic.d.ts +3 -3
  478. package/lib/utils/create.d.ts +1 -1
  479. package/lib/utils/create.js +12 -3
  480. package/lib/utils/with-install.d.ts +2 -2
  481. package/lib/utils/with-install.js +4 -2
  482. package/lib/vant.cjs.js +5478 -5015
  483. package/lib/vant.es.js +5548 -4994
  484. package/lib/vant.js +5453 -5021
  485. package/lib/vant.min.js +1 -1
  486. package/lib/vue-tsx-shim.d.ts +7 -0
  487. package/{vetur → lib}/web-types.json +567 -345
  488. package/package.json +13 -18
  489. package/es/action-bar/index.less +0 -16
  490. package/es/action-bar/style/less.mjs +0 -2
  491. package/es/action-bar-button/index.less +0 -38
  492. package/es/action-bar-button/style/less.mjs +0 -7
  493. package/es/action-bar-icon/index.less +0 -34
  494. package/es/action-bar-icon/style/less.mjs +0 -5
  495. package/es/action-sheet/index.less +0 -131
  496. package/es/action-sheet/style/less.mjs +0 -7
  497. package/es/address-edit/index.less +0 -39
  498. package/es/address-edit/style/less.d.ts +0 -1
  499. package/es/address-edit/style/less.mjs +0 -13
  500. package/es/address-list/index.less +0 -110
  501. package/es/address-list/style/less.d.ts +0 -1
  502. package/es/address-list/style/less.mjs +0 -11
  503. package/es/area/style/less.d.ts +0 -1
  504. package/es/area/style/less.mjs +0 -3
  505. package/es/badge/index.less +0 -72
  506. package/es/badge/style/less.d.ts +0 -1
  507. package/es/badge/style/less.mjs +0 -2
  508. package/es/button/index.less +0 -241
  509. package/es/button/style/less.d.ts +0 -1
  510. package/es/button/style/less.mjs +0 -5
  511. package/es/calendar/index.less +0 -217
  512. package/es/calendar/style/less.d.ts +0 -1
  513. package/es/calendar/style/less.mjs +0 -10
  514. package/es/card/index.less +0 -126
  515. package/es/card/style/less.d.ts +0 -1
  516. package/es/card/style/less.mjs +0 -6
  517. package/es/cascader/index.less +0 -92
  518. package/es/cascader/style/less.d.ts +0 -1
  519. package/es/cascader/style/less.mjs +0 -9
  520. package/es/cell/index.less +0 -119
  521. package/es/cell/style/less.d.ts +0 -1
  522. package/es/cell/style/less.mjs +0 -4
  523. package/es/cell-group/index.less +0 -32
  524. package/es/cell-group/style/less.d.ts +0 -1
  525. package/es/cell-group/style/less.mjs +0 -2
  526. package/es/checkbox/index.less +0 -96
  527. package/es/checkbox/style/less.d.ts +0 -1
  528. package/es/checkbox/style/less.mjs +0 -5
  529. package/es/checkbox-group/index.less +0 -6
  530. package/es/checkbox-group/style/less.d.ts +0 -1
  531. package/es/checkbox-group/style/less.mjs +0 -2
  532. package/es/circle/index.less +0 -49
  533. package/es/circle/style/less.d.ts +0 -1
  534. package/es/circle/style/less.mjs +0 -2
  535. package/es/col/index.less +0 -19
  536. package/es/col/style/less.d.ts +0 -1
  537. package/es/col/style/less.mjs +0 -3
  538. package/es/collapse/style/less.d.ts +0 -1
  539. package/es/collapse/style/less.mjs +0 -1
  540. package/es/collapse-item/index.less +0 -75
  541. package/es/collapse-item/style/less.d.ts +0 -1
  542. package/es/collapse-item/style/less.mjs +0 -5
  543. package/es/config-provider/style/less.d.ts +0 -1
  544. package/es/config-provider/style/less.mjs +0 -1
  545. package/es/contact-card/index.less +0 -47
  546. package/es/contact-card/style/less.d.ts +0 -1
  547. package/es/contact-card/style/less.mjs +0 -5
  548. package/es/contact-edit/index.less +0 -37
  549. package/es/contact-edit/style/less.d.ts +0 -1
  550. package/es/contact-edit/style/less.mjs +0 -9
  551. package/es/contact-list/index.less +0 -65
  552. package/es/contact-list/style/less.d.ts +0 -1
  553. package/es/contact-list/style/less.mjs +0 -11
  554. package/es/count-down/index.less +0 -11
  555. package/es/count-down/style/less.d.ts +0 -1
  556. package/es/count-down/style/less.mjs +0 -2
  557. package/es/coupon/index.less +0 -127
  558. package/es/coupon/style/less.d.ts +0 -1
  559. package/es/coupon/style/less.mjs +0 -6
  560. package/es/coupon-cell/index.less +0 -9
  561. package/es/coupon-cell/style/less.d.ts +0 -1
  562. package/es/coupon-cell/style/less.mjs +0 -5
  563. package/es/coupon-list/index.less +0 -86
  564. package/es/coupon-list/style/less.d.ts +0 -1
  565. package/es/coupon-list/style/less.mjs +0 -17
  566. package/es/date-picker/style/less.d.ts +0 -1
  567. package/es/date-picker/style/less.mjs +0 -3
  568. package/es/dialog/index.less +0 -140
  569. package/es/dialog/style/less.d.ts +0 -1
  570. package/es/dialog/style/less.mjs +0 -10
  571. package/es/divider/index.less +0 -73
  572. package/es/divider/style/less.d.ts +0 -1
  573. package/es/divider/style/less.mjs +0 -2
  574. package/es/dropdown-item/index.less +0 -41
  575. package/es/dropdown-item/style/less.d.ts +0 -1
  576. package/es/dropdown-item/style/less.mjs +0 -8
  577. package/es/dropdown-menu/index.less +0 -80
  578. package/es/dropdown-menu/style/less.d.ts +0 -1
  579. package/es/dropdown-menu/style/less.mjs +0 -2
  580. package/es/empty/Images.d.ts +0 -4
  581. package/es/empty/Images.mjs +0 -271
  582. package/es/empty/index.less +0 -41
  583. package/es/empty/style/less.d.ts +0 -1
  584. package/es/empty/style/less.mjs +0 -2
  585. package/es/field/index.less +0 -196
  586. package/es/field/style/less.d.ts +0 -1
  587. package/es/field/style/less.mjs +0 -5
  588. package/es/form/style/less.d.ts +0 -1
  589. package/es/form/style/less.mjs +0 -1
  590. package/es/grid/index.less +0 -4
  591. package/es/grid/style/less.d.ts +0 -1
  592. package/es/grid/style/less.mjs +0 -2
  593. package/es/grid-item/index.less +0 -97
  594. package/es/grid-item/style/less.d.ts +0 -1
  595. package/es/grid-item/style/less.mjs +0 -5
  596. package/es/icon/index.less +0 -10
  597. package/es/icon/style/less.d.ts +0 -1
  598. package/es/icon/style/less.mjs +0 -3
  599. package/es/image/index.less +0 -55
  600. package/es/image/style/less.d.ts +0 -1
  601. package/es/image/style/less.mjs +0 -4
  602. package/es/image-preview/index.less +0 -110
  603. package/es/image-preview/style/less.d.ts +0 -1
  604. package/es/image-preview/style/less.mjs +0 -10
  605. package/es/index-anchor/index.less +0 -31
  606. package/es/index-anchor/style/less.d.ts +0 -1
  607. package/es/index-anchor/style/less.mjs +0 -3
  608. package/es/index-bar/index.less +0 -33
  609. package/es/index-bar/style/less.d.ts +0 -1
  610. package/es/index-bar/style/less.mjs +0 -2
  611. package/es/lazyload/style/less.d.ts +0 -1
  612. package/es/lazyload/style/less.mjs +0 -1
  613. package/es/list/index.less +0 -29
  614. package/es/list/style/less.d.ts +0 -1
  615. package/es/list/style/less.mjs +0 -3
  616. package/es/loading/index.less +0 -109
  617. package/es/loading/style/less.d.ts +0 -1
  618. package/es/loading/style/less.mjs +0 -2
  619. package/es/locale/style/less.d.ts +0 -1
  620. package/es/locale/style/less.mjs +0 -1
  621. package/es/nav-bar/index.less +0 -78
  622. package/es/nav-bar/style/less.d.ts +0 -1
  623. package/es/nav-bar/style/less.mjs +0 -4
  624. package/es/notice-bar/index.less +0 -70
  625. package/es/notice-bar/style/less.d.ts +0 -1
  626. package/es/notice-bar/style/less.mjs +0 -4
  627. package/es/notify/index.less +0 -42
  628. package/es/notify/style/less.d.ts +0 -1
  629. package/es/notify/style/less.mjs +0 -6
  630. package/es/number-keyboard/index.less +0 -159
  631. package/es/number-keyboard/style/less.d.ts +0 -1
  632. package/es/number-keyboard/style/less.mjs +0 -3
  633. package/es/overlay/index.less +0 -14
  634. package/es/overlay/style/less.d.ts +0 -1
  635. package/es/overlay/style/less.mjs +0 -2
  636. package/es/pagination/index.less +0 -89
  637. package/es/pagination/style/less.d.ts +0 -1
  638. package/es/pagination/style/less.mjs +0 -2
  639. package/es/password-input/index.less +0 -100
  640. package/es/password-input/style/less.d.ts +0 -1
  641. package/es/password-input/style/less.mjs +0 -2
  642. package/es/picker/index.less +0 -138
  643. package/es/picker/style/less.d.ts +0 -1
  644. package/es/picker/style/less.mjs +0 -3
  645. package/es/popover/index.less +0 -288
  646. package/es/popover/style/less.d.ts +0 -1
  647. package/es/popover/style/less.mjs +0 -6
  648. package/es/popup/index.less +0 -139
  649. package/es/popup/style/less.d.ts +0 -1
  650. package/es/popup/style/less.mjs +0 -5
  651. package/es/progress/index.less +0 -53
  652. package/es/progress/style/less.d.ts +0 -1
  653. package/es/progress/style/less.mjs +0 -2
  654. package/es/pull-refresh/index.less +0 -36
  655. package/es/pull-refresh/style/less.d.ts +0 -1
  656. package/es/pull-refresh/style/less.mjs +0 -3
  657. package/es/radio/index.less +0 -96
  658. package/es/radio/style/less.d.ts +0 -1
  659. package/es/radio/style/less.mjs +0 -6
  660. package/es/radio-group/index.less +0 -6
  661. package/es/radio-group/style/less.d.ts +0 -1
  662. package/es/radio-group/style/less.mjs +0 -2
  663. package/es/rate/index.less +0 -52
  664. package/es/rate/style/less.d.ts +0 -1
  665. package/es/rate/style/less.mjs +0 -4
  666. package/es/row/index.less +0 -32
  667. package/es/row/style/less.d.ts +0 -1
  668. package/es/row/style/less.mjs +0 -2
  669. package/es/search/index.less +0 -76
  670. package/es/search/style/less.d.ts +0 -1
  671. package/es/search/style/less.mjs +0 -6
  672. package/es/share-sheet/index.less +0 -152
  673. package/es/share-sheet/style/less.d.ts +0 -1
  674. package/es/share-sheet/style/less.mjs +0 -6
  675. package/es/sidebar/index.less +0 -9
  676. package/es/sidebar/style/less.d.ts +0 -1
  677. package/es/sidebar/style/less.mjs +0 -2
  678. package/es/sidebar-item/index.less +0 -72
  679. package/es/sidebar-item/style/less.d.ts +0 -1
  680. package/es/sidebar-item/style/less.mjs +0 -4
  681. package/es/skeleton/index.less +0 -73
  682. package/es/skeleton/style/less.d.ts +0 -1
  683. package/es/skeleton/style/less.mjs +0 -2
  684. package/es/slider/index.less +0 -104
  685. package/es/slider/style/less.d.ts +0 -1
  686. package/es/slider/style/less.mjs +0 -2
  687. package/es/step/index.less +0 -147
  688. package/es/step/style/less.d.ts +0 -1
  689. package/es/step/style/less.mjs +0 -5
  690. package/es/stepper/index.less +0 -129
  691. package/es/stepper/style/less.d.ts +0 -1
  692. package/es/stepper/style/less.mjs +0 -2
  693. package/es/steps/index.less +0 -23
  694. package/es/steps/style/less.d.ts +0 -1
  695. package/es/steps/style/less.mjs +0 -2
  696. package/es/sticky/index.less +0 -10
  697. package/es/sticky/style/less.d.ts +0 -1
  698. package/es/sticky/style/less.mjs +0 -2
  699. package/es/style/animation.less +0 -135
  700. package/es/style/base.less +0 -89
  701. package/es/style/css-variables.less +0 -90
  702. package/es/style/mixins/clearfix.less +0 -7
  703. package/es/style/mixins/ellipsis.less +0 -15
  704. package/es/style/mixins/hairline.less +0 -37
  705. package/es/style/normalize.less +0 -36
  706. package/es/submit-bar/index.less +0 -97
  707. package/es/submit-bar/style/less.d.ts +0 -1
  708. package/es/submit-bar/style/less.mjs +0 -6
  709. package/es/swipe/index.less +0 -65
  710. package/es/swipe/style/less.d.ts +0 -1
  711. package/es/swipe/style/less.mjs +0 -2
  712. package/es/swipe-cell/index.less +0 -27
  713. package/es/swipe-cell/style/less.d.ts +0 -1
  714. package/es/swipe-cell/style/less.mjs +0 -2
  715. package/es/swipe-item/index.less +0 -6
  716. package/es/swipe-item/style/less.d.ts +0 -1
  717. package/es/swipe-item/style/less.mjs +0 -3
  718. package/es/switch/index.less +0 -75
  719. package/es/switch/style/less.d.ts +0 -1
  720. package/es/switch/style/less.mjs +0 -3
  721. package/es/tab/index.less +0 -15
  722. package/es/tab/style/less.d.ts +0 -1
  723. package/es/tab/style/less.mjs +0 -7
  724. package/es/tabbar/index.less +0 -20
  725. package/es/tabbar/style/less.d.ts +0 -1
  726. package/es/tabbar/style/less.mjs +0 -2
  727. package/es/tabbar-item/index.less +0 -44
  728. package/es/tabbar-item/style/less.d.ts +0 -1
  729. package/es/tabbar-item/style/less.mjs +0 -5
  730. package/es/tabs/index.less +0 -170
  731. package/es/tabs/style/less.d.ts +0 -1
  732. package/es/tabs/style/less.mjs +0 -5
  733. package/es/tag/index.less +0 -115
  734. package/es/tag/style/less.d.ts +0 -1
  735. package/es/tag/style/less.mjs +0 -4
  736. package/es/time-picker/style/less.d.ts +0 -1
  737. package/es/time-picker/style/less.mjs +0 -3
  738. package/es/toast/index.less +0 -89
  739. package/es/toast/style/less.d.ts +0 -1
  740. package/es/toast/style/less.mjs +0 -7
  741. package/es/tree-select/index.less +0 -68
  742. package/es/tree-select/style/less.d.ts +0 -1
  743. package/es/tree-select/style/less.mjs +0 -6
  744. package/es/uploader/index.less +0 -191
  745. package/es/uploader/style/less.d.ts +0 -1
  746. package/es/uploader/style/less.mjs +0 -11
  747. package/lib/action-bar/index.less +0 -16
  748. package/lib/action-bar/style/less.d.ts +0 -1
  749. package/lib/action-bar/style/less.js +0 -2
  750. package/lib/action-bar-button/index.less +0 -38
  751. package/lib/action-bar-button/style/less.d.ts +0 -1
  752. package/lib/action-bar-button/style/less.js +0 -7
  753. package/lib/action-bar-icon/index.less +0 -34
  754. package/lib/action-bar-icon/style/less.d.ts +0 -1
  755. package/lib/action-bar-icon/style/less.js +0 -5
  756. package/lib/action-sheet/index.less +0 -131
  757. package/lib/action-sheet/style/less.d.ts +0 -1
  758. package/lib/action-sheet/style/less.js +0 -7
  759. package/lib/address-edit/index.less +0 -39
  760. package/lib/address-edit/style/less.d.ts +0 -1
  761. package/lib/address-edit/style/less.js +0 -13
  762. package/lib/address-list/index.less +0 -110
  763. package/lib/address-list/style/less.d.ts +0 -1
  764. package/lib/address-list/style/less.js +0 -11
  765. package/lib/area/style/less.d.ts +0 -1
  766. package/lib/area/style/less.js +0 -3
  767. package/lib/badge/index.less +0 -72
  768. package/lib/badge/style/less.d.ts +0 -1
  769. package/lib/badge/style/less.js +0 -2
  770. package/lib/button/index.less +0 -241
  771. package/lib/button/style/less.d.ts +0 -1
  772. package/lib/button/style/less.js +0 -5
  773. package/lib/calendar/index.less +0 -217
  774. package/lib/calendar/style/less.d.ts +0 -1
  775. package/lib/calendar/style/less.js +0 -10
  776. package/lib/card/index.less +0 -126
  777. package/lib/card/style/less.d.ts +0 -1
  778. package/lib/card/style/less.js +0 -6
  779. package/lib/cascader/index.less +0 -92
  780. package/lib/cascader/style/less.d.ts +0 -1
  781. package/lib/cascader/style/less.js +0 -9
  782. package/lib/cell/index.less +0 -119
  783. package/lib/cell/style/less.d.ts +0 -1
  784. package/lib/cell/style/less.js +0 -4
  785. package/lib/cell-group/index.less +0 -32
  786. package/lib/cell-group/style/less.d.ts +0 -1
  787. package/lib/cell-group/style/less.js +0 -2
  788. package/lib/checkbox/index.less +0 -96
  789. package/lib/checkbox/style/less.d.ts +0 -1
  790. package/lib/checkbox/style/less.js +0 -5
  791. package/lib/checkbox-group/index.less +0 -6
  792. package/lib/checkbox-group/style/less.d.ts +0 -1
  793. package/lib/checkbox-group/style/less.js +0 -2
  794. package/lib/circle/index.less +0 -49
  795. package/lib/circle/style/less.d.ts +0 -1
  796. package/lib/circle/style/less.js +0 -2
  797. package/lib/col/index.less +0 -19
  798. package/lib/col/style/less.d.ts +0 -1
  799. package/lib/col/style/less.js +0 -3
  800. package/lib/collapse/style/less.d.ts +0 -1
  801. package/lib/collapse/style/less.js +0 -1
  802. package/lib/collapse-item/index.less +0 -75
  803. package/lib/collapse-item/style/less.d.ts +0 -1
  804. package/lib/collapse-item/style/less.js +0 -5
  805. package/lib/config-provider/style/less.d.ts +0 -1
  806. package/lib/config-provider/style/less.js +0 -1
  807. package/lib/contact-card/index.less +0 -47
  808. package/lib/contact-card/style/less.d.ts +0 -1
  809. package/lib/contact-card/style/less.js +0 -5
  810. package/lib/contact-edit/index.less +0 -37
  811. package/lib/contact-edit/style/less.d.ts +0 -1
  812. package/lib/contact-edit/style/less.js +0 -9
  813. package/lib/contact-list/index.less +0 -65
  814. package/lib/contact-list/style/less.d.ts +0 -1
  815. package/lib/contact-list/style/less.js +0 -11
  816. package/lib/count-down/index.less +0 -11
  817. package/lib/count-down/style/less.d.ts +0 -1
  818. package/lib/count-down/style/less.js +0 -2
  819. package/lib/coupon/index.less +0 -127
  820. package/lib/coupon/style/less.d.ts +0 -1
  821. package/lib/coupon/style/less.js +0 -6
  822. package/lib/coupon-cell/index.less +0 -9
  823. package/lib/coupon-cell/style/less.d.ts +0 -1
  824. package/lib/coupon-cell/style/less.js +0 -5
  825. package/lib/coupon-list/index.less +0 -86
  826. package/lib/coupon-list/style/less.d.ts +0 -1
  827. package/lib/coupon-list/style/less.js +0 -17
  828. package/lib/date-picker/style/less.d.ts +0 -1
  829. package/lib/date-picker/style/less.js +0 -3
  830. package/lib/dialog/index.less +0 -140
  831. package/lib/dialog/style/less.d.ts +0 -1
  832. package/lib/dialog/style/less.js +0 -10
  833. package/lib/divider/index.less +0 -73
  834. package/lib/divider/style/less.d.ts +0 -1
  835. package/lib/divider/style/less.js +0 -2
  836. package/lib/dropdown-item/index.less +0 -41
  837. package/lib/dropdown-item/style/less.d.ts +0 -1
  838. package/lib/dropdown-item/style/less.js +0 -8
  839. package/lib/dropdown-menu/index.less +0 -80
  840. package/lib/dropdown-menu/style/less.d.ts +0 -1
  841. package/lib/dropdown-menu/style/less.js +0 -2
  842. package/lib/empty/Images.d.ts +0 -4
  843. package/lib/empty/Images.js +0 -290
  844. package/lib/empty/index.less +0 -41
  845. package/lib/empty/style/less.d.ts +0 -1
  846. package/lib/empty/style/less.js +0 -2
  847. package/lib/field/index.less +0 -196
  848. package/lib/field/style/less.d.ts +0 -1
  849. package/lib/field/style/less.js +0 -5
  850. package/lib/form/style/less.d.ts +0 -1
  851. package/lib/form/style/less.js +0 -1
  852. package/lib/grid/index.less +0 -4
  853. package/lib/grid/style/less.d.ts +0 -1
  854. package/lib/grid/style/less.js +0 -2
  855. package/lib/grid-item/index.less +0 -97
  856. package/lib/grid-item/style/less.d.ts +0 -1
  857. package/lib/grid-item/style/less.js +0 -5
  858. package/lib/icon/index.less +0 -10
  859. package/lib/icon/style/less.d.ts +0 -1
  860. package/lib/icon/style/less.js +0 -3
  861. package/lib/image/index.less +0 -55
  862. package/lib/image/style/less.d.ts +0 -1
  863. package/lib/image/style/less.js +0 -4
  864. package/lib/image-preview/index.less +0 -110
  865. package/lib/image-preview/style/less.d.ts +0 -1
  866. package/lib/image-preview/style/less.js +0 -10
  867. package/lib/index-anchor/index.less +0 -31
  868. package/lib/index-anchor/style/less.d.ts +0 -1
  869. package/lib/index-anchor/style/less.js +0 -3
  870. package/lib/index-bar/index.less +0 -33
  871. package/lib/index-bar/style/less.d.ts +0 -1
  872. package/lib/index-bar/style/less.js +0 -2
  873. package/lib/index.less +0 -80
  874. package/lib/lazyload/style/less.d.ts +0 -1
  875. package/lib/lazyload/style/less.js +0 -1
  876. package/lib/list/index.less +0 -29
  877. package/lib/list/style/less.d.ts +0 -1
  878. package/lib/list/style/less.js +0 -3
  879. package/lib/loading/index.less +0 -109
  880. package/lib/loading/style/less.d.ts +0 -1
  881. package/lib/loading/style/less.js +0 -2
  882. package/lib/locale/style/less.d.ts +0 -1
  883. package/lib/locale/style/less.js +0 -1
  884. package/lib/nav-bar/index.less +0 -78
  885. package/lib/nav-bar/style/less.d.ts +0 -1
  886. package/lib/nav-bar/style/less.js +0 -4
  887. package/lib/notice-bar/index.less +0 -70
  888. package/lib/notice-bar/style/less.d.ts +0 -1
  889. package/lib/notice-bar/style/less.js +0 -4
  890. package/lib/notify/index.less +0 -42
  891. package/lib/notify/style/less.d.ts +0 -1
  892. package/lib/notify/style/less.js +0 -6
  893. package/lib/number-keyboard/index.less +0 -159
  894. package/lib/number-keyboard/style/less.d.ts +0 -1
  895. package/lib/number-keyboard/style/less.js +0 -3
  896. package/lib/overlay/index.less +0 -14
  897. package/lib/overlay/style/less.d.ts +0 -1
  898. package/lib/overlay/style/less.js +0 -2
  899. package/lib/pagination/index.less +0 -89
  900. package/lib/pagination/style/less.d.ts +0 -1
  901. package/lib/pagination/style/less.js +0 -2
  902. package/lib/password-input/index.less +0 -100
  903. package/lib/password-input/style/less.d.ts +0 -1
  904. package/lib/password-input/style/less.js +0 -2
  905. package/lib/picker/index.less +0 -138
  906. package/lib/picker/style/less.d.ts +0 -1
  907. package/lib/picker/style/less.js +0 -3
  908. package/lib/popover/index.less +0 -288
  909. package/lib/popover/style/less.d.ts +0 -1
  910. package/lib/popover/style/less.js +0 -6
  911. package/lib/popup/index.less +0 -139
  912. package/lib/popup/style/less.d.ts +0 -1
  913. package/lib/popup/style/less.js +0 -5
  914. package/lib/progress/index.less +0 -53
  915. package/lib/progress/style/less.d.ts +0 -1
  916. package/lib/progress/style/less.js +0 -2
  917. package/lib/pull-refresh/index.less +0 -36
  918. package/lib/pull-refresh/style/less.d.ts +0 -1
  919. package/lib/pull-refresh/style/less.js +0 -3
  920. package/lib/radio/index.less +0 -96
  921. package/lib/radio/style/less.d.ts +0 -1
  922. package/lib/radio/style/less.js +0 -6
  923. package/lib/radio-group/index.less +0 -6
  924. package/lib/radio-group/style/less.d.ts +0 -1
  925. package/lib/radio-group/style/less.js +0 -2
  926. package/lib/rate/index.less +0 -52
  927. package/lib/rate/style/less.d.ts +0 -1
  928. package/lib/rate/style/less.js +0 -4
  929. package/lib/row/index.less +0 -32
  930. package/lib/row/style/less.d.ts +0 -1
  931. package/lib/row/style/less.js +0 -2
  932. package/lib/search/index.less +0 -76
  933. package/lib/search/style/less.d.ts +0 -1
  934. package/lib/search/style/less.js +0 -6
  935. package/lib/share-sheet/index.less +0 -152
  936. package/lib/share-sheet/style/less.d.ts +0 -1
  937. package/lib/share-sheet/style/less.js +0 -6
  938. package/lib/sidebar/index.less +0 -9
  939. package/lib/sidebar/style/less.d.ts +0 -1
  940. package/lib/sidebar/style/less.js +0 -2
  941. package/lib/sidebar-item/index.less +0 -72
  942. package/lib/sidebar-item/style/less.d.ts +0 -1
  943. package/lib/sidebar-item/style/less.js +0 -4
  944. package/lib/skeleton/index.less +0 -73
  945. package/lib/skeleton/style/less.d.ts +0 -1
  946. package/lib/skeleton/style/less.js +0 -2
  947. package/lib/slider/index.less +0 -104
  948. package/lib/slider/style/less.d.ts +0 -1
  949. package/lib/slider/style/less.js +0 -2
  950. package/lib/ssr.js +0 -7
  951. package/lib/ssr.mjs +0 -1
  952. package/lib/step/index.less +0 -147
  953. package/lib/step/style/less.d.ts +0 -1
  954. package/lib/step/style/less.js +0 -5
  955. package/lib/stepper/index.less +0 -129
  956. package/lib/stepper/style/less.d.ts +0 -1
  957. package/lib/stepper/style/less.js +0 -2
  958. package/lib/steps/index.less +0 -23
  959. package/lib/steps/style/less.d.ts +0 -1
  960. package/lib/steps/style/less.js +0 -2
  961. package/lib/sticky/index.less +0 -10
  962. package/lib/sticky/style/less.d.ts +0 -1
  963. package/lib/sticky/style/less.js +0 -2
  964. package/lib/style/animation.less +0 -135
  965. package/lib/style/base.less +0 -89
  966. package/lib/style/css-variables.less +0 -90
  967. package/lib/style/mixins/clearfix.less +0 -7
  968. package/lib/style/mixins/ellipsis.less +0 -15
  969. package/lib/style/mixins/hairline.less +0 -37
  970. package/lib/style/normalize.less +0 -36
  971. package/lib/submit-bar/index.less +0 -97
  972. package/lib/submit-bar/style/less.d.ts +0 -1
  973. package/lib/submit-bar/style/less.js +0 -6
  974. package/lib/swipe/index.less +0 -65
  975. package/lib/swipe/style/less.d.ts +0 -1
  976. package/lib/swipe/style/less.js +0 -2
  977. package/lib/swipe-cell/index.less +0 -27
  978. package/lib/swipe-cell/style/less.d.ts +0 -1
  979. package/lib/swipe-cell/style/less.js +0 -2
  980. package/lib/swipe-item/index.less +0 -6
  981. package/lib/swipe-item/style/less.d.ts +0 -1
  982. package/lib/swipe-item/style/less.js +0 -3
  983. package/lib/switch/index.less +0 -75
  984. package/lib/switch/style/less.d.ts +0 -1
  985. package/lib/switch/style/less.js +0 -3
  986. package/lib/tab/index.less +0 -15
  987. package/lib/tab/style/less.d.ts +0 -1
  988. package/lib/tab/style/less.js +0 -7
  989. package/lib/tabbar/index.less +0 -20
  990. package/lib/tabbar/style/less.d.ts +0 -1
  991. package/lib/tabbar/style/less.js +0 -2
  992. package/lib/tabbar-item/index.less +0 -44
  993. package/lib/tabbar-item/style/less.d.ts +0 -1
  994. package/lib/tabbar-item/style/less.js +0 -5
  995. package/lib/tabs/index.less +0 -170
  996. package/lib/tabs/style/less.d.ts +0 -1
  997. package/lib/tabs/style/less.js +0 -5
  998. package/lib/tag/index.less +0 -115
  999. package/lib/tag/style/less.d.ts +0 -1
  1000. package/lib/tag/style/less.js +0 -4
  1001. package/lib/time-picker/style/less.d.ts +0 -1
  1002. package/lib/time-picker/style/less.js +0 -3
  1003. package/lib/toast/index.less +0 -89
  1004. package/lib/toast/style/less.d.ts +0 -1
  1005. package/lib/toast/style/less.js +0 -7
  1006. package/lib/tree-select/index.less +0 -68
  1007. package/lib/tree-select/style/less.d.ts +0 -1
  1008. package/lib/tree-select/style/less.js +0 -6
  1009. package/lib/uploader/index.less +0 -191
  1010. package/lib/uploader/style/less.d.ts +0 -1
  1011. package/lib/uploader/style/less.js +0 -11
  1012. package/lib/vant.cjs.min.js +0 -1
  1013. package/lib/vant.es.min.js +0 -14191
  1014. package/vetur/attributes.json +0 -3514
  1015. package/vetur/tags.json +0 -1208
package/LICENSE ADDED
@@ -0,0 +1,10 @@
1
+ MIT License
2
+
3
+ Copyright (c) Youzan
4
+ Copyright (c) Chen Jiahan and other contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -4,21 +4,20 @@
4
4
 
5
5
  <h1 align="center">Vant</h1>
6
6
 
7
- <p align="center">Mobile UI Components built on Vue</p>
7
+ <p align="center">Lightweight Mobile UI Components built on Vue</p>
8
8
 
9
9
  <p align="center">
10
10
  <img src="https://img.shields.io/npm/v/vant?style=flat-square" alt="npm version" />
11
- <img src="https://img.shields.io/github/workflow/status/youzan/vant/CI/dev?style=flat-square" alt="CI Status" />
12
- <img src="https://img.shields.io/codecov/c/github/youzan/vant/dev.svg?style=flat-square&color=#4fc08d" alt="Coverage Status" />
11
+ <img src="https://img.shields.io/github/workflow/status/vant-ui/vant/CI/dev?style=flat-square" alt="CI Status" />
12
+ <img src="https://img.shields.io/codecov/c/github/vant-ui/vant/dev.svg?style=flat-square&color=#4fc08d" alt="Coverage Status" />
13
13
  <img src="https://img.shields.io/npm/dm/vant.svg?style=flat-square&color=#4fc08d" alt="downloads" />
14
- <img src="https://img.shields.io/jsdelivr/npm/hm/vant?style=flat-square" alt="Jsdelivr Hits">
15
14
  <img src="https://img.badgesize.io/https://unpkg.com/vant@3/lib/vant.min.js?compression=gzip&style=flat-square&label=gzip%20size&color=#4fc08d" alt="Gzip Size" />
16
15
  </p>
17
16
 
18
17
  <p align="center">
19
18
  🔥 <a href="https://vant-contrib.gitee.io/vant">文档网站(国内)</a>
20
19
  &nbsp;
21
- 🌈 <a href="https://youzan.github.io/vant">文档网站(GitHub)</a>
20
+ 🌈 <a href="https://vant-ui.github.io/vant">文档网站(GitHub)</a>
22
21
  &nbsp;
23
22
  🇨🇳 <a href="./README.zh-CN.md">中文版介绍</a>
24
23
  </p>
@@ -29,6 +28,7 @@
29
28
 
30
29
  - 🚀 1KB Component average size (min+gzip)
31
30
  - 🚀 70+ High quality components
31
+ - 🚀 Zero third-party dependencies
32
32
  - 💪 90%+ Unit test coverage
33
33
  - 💪 Written in TypeScript
34
34
  - 📖 Extensive documentation and demos
@@ -67,14 +67,18 @@ pnpm add vant
67
67
 
68
68
  ```js
69
69
  import { createApp } from 'vue';
70
+ // 1. Import the components you need
70
71
  import { Button } from 'vant';
72
+ // 2. Import the components style
71
73
  import 'vant/lib/index.css';
72
74
 
73
75
  const app = createApp();
76
+
77
+ // 3. Register the components you need
74
78
  app.use(Button);
75
79
  ```
76
80
 
77
- See more in [Quickstart](https://youzan.github.io/vant#/en-US/quickstart).
81
+ See more in [Quickstart](https://vant-ui.github.io/vant#/en-US/quickstart).
78
82
 
79
83
  ## Browser Support
80
84
 
@@ -86,11 +90,11 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3)
86
90
 
87
91
  | Project | Description |
88
92
  | --- | --- |
89
- | [vant-weapp](https://github.com/youzan/vant-weapp) | WeChat MiniProgram UI |
93
+ | [vant-weapp](https://github.com/vant-ui/vant-weapp) | WeChat MiniProgram UI |
90
94
  | [vant-demo](https://github.com/vant-ui/vant-demo) | Collection of Vant demos |
91
- | [vant-cli](https://github.com/youzan/vant/tree/dev/packages/vant-cli) | Scaffold for UI library |
92
- | [vant-icons](https://github.com/youzan/vant/tree/dev/packages/vant-icons) | Vant icons |
93
- | [vant-touch-emulator](https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator) | Using vant in desktop browsers |
95
+ | [vant-cli](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli) | Scaffold for UI library |
96
+ | [vant-icons](https://github.com/vant-ui/vant/tree/dev/packages/vant-icons) | Vant icons |
97
+ | [vant-touch-emulator](https://github.com/vant-ui/vant/tree/dev/packages/vant-touch-emulator) | Using vant in desktop browsers |
94
98
 
95
99
  ## Community Ecosystem
96
100
 
@@ -106,8 +110,8 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3)
106
110
 
107
111
  ## Links
108
112
 
109
- - [Documentation](https://youzan.github.io/vant)
110
- - [Changelog](https://youzan.github.io/vant#/en-US/changelog)
113
+ - [Documentation](https://vant-ui.github.io/vant)
114
+ - [Changelog](https://vant-ui.github.io/vant#/en-US/changelog)
111
115
  - [Gitter](https://gitter.im/vant-contrib/discuss?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
112
116
 
113
117
  ## Preview
@@ -128,7 +132,7 @@ Core contributors of Vant and Vant Weapp:
128
132
 
129
133
  Thanks to the following friends for their contributions to Vant:
130
134
 
131
- <a href="https://github.com/youzan/vant/graphs/contributors">
135
+ <a href="https://github.com/vant-ui/vant/graphs/contributors">
132
136
  <img src="https://opencollective.com/vant/contributors.svg?width=890&button=false" alt="contributors">
133
137
  </a>
134
138
 
@@ -0,0 +1,295 @@
1
+ ### [v4.0.0-rc.0](https://github.com/vant-ui/vant/compare/v3.6.2...v4.0.0-rc.0)
2
+
3
+ `2022-09-04`
4
+
5
+ **Bug Fixes**
6
+
7
+ - DatePicker: failed to update model value [#10984](https://github.com/vant-ui/vant/issues/10984)
8
+ - DatePicker: min-date prop not work correctly [#10985](https://github.com/vant-ui/vant/issues/10985)
9
+ - Picker: fix passive event [8bcb34](https://github.com/vant-ui/vant/commit/8bcb34724f5bab2a184b075d85b8896f4a0a8c1f)
10
+
11
+ **Document**
12
+
13
+ - changelog: vant@3.6.2 [#11008](https://github.com/vant-ui/vant/issues/11008)
14
+ - changelog: vant@4.0.0-beta.1 [#10966](https://github.com/vant-ui/vant/issues/10966)
15
+ - DatePicker: fix basic usage [66aa29](https://github.com/vant-ui/vant/commit/66aa2906e0c4fa613e55e2cb57637a40b37cdb7e)
16
+ - DatePicker: fix toolbar slot name [#10983](https://github.com/vant-ui/vant/issues/10983)
17
+ - update babel-plugin-import tip [7d023f](https://github.com/vant-ui/vant/commit/7d023fd6e45b6407a339d8a07ab6c4e4b70f4f92)
18
+
19
+ **Feature**
20
+
21
+ - add new PickerGroup component [#11005](https://github.com/vant-ui/vant/issues/11005)
22
+ ### [v4.0.0-beta.1](https://github.com/vant-ui/vant/compare/v3.6.1...v4.0.0-beta.1)
23
+
24
+ `2022-08-24`
25
+
26
+ **Bug Fixes**
27
+
28
+ - ConfigProvider: should remove theme class on unmount [#10898](https://github.com/vant-ui/vant/issues/10898)
29
+
30
+ **Document**
31
+
32
+ - add babel-plugin-import migration guide [#10867](https://github.com/vant-ui/vant/issues/10867)
33
+ - add faq of remove babel-plugin-import [#10942](https://github.com/vant-ui/vant/issues/10942)
34
+ - changelog: 4.0.0-beta.0 [#10825](https://github.com/vant-ui/vant/issues/10825)
35
+ - fix link address in migrate-from-v3.md [#10919](https://github.com/vant-ui/vant/issues/10919)
36
+ - Icon: separate usingUrl demo from basicUsage [#10828](https://github.com/vant-ui/vant/issues/10828)
37
+ - ImagePreview: fix cell style in demo [0881de](https://github.com/vant-ui/vant/commit/0881de82af347002c3f37bba5e2f89aacdeadc16)
38
+
39
+ - Restore "fix(Popup&Toast): invalid adaptive width (#10961)" [#10961](https://github.com/vant-ui/vant/issues/10961)
40
+
41
+ **Feature**
42
+
43
+ - ConfigProvider: add theme-vars-dark and theme-vars-light props [#10939](https://github.com/vant-ui/vant/issues/10939)
44
+ - Picker: add clickOption event [#10865](https://github.com/vant-ui/vant/issues/10865)
45
+ - Popup: improve style when position is center [#10965](https://github.com/vant-ui/vant/issues/10965)
46
+
47
+ **release**
48
+
49
+ - 4.0.0-beta.1 [889b28](https://github.com/vant-ui/vant/commit/889b28609ad6cc53a8fa82017cff2e7d210f3f74)
50
+ ### [v4.0.0-beta.0](https://github.com/vant-ui/vant/compare/v3.5.2...v4.0.0-beta.0)
51
+
52
+ `2022-07-16`
53
+
54
+ **Document**
55
+
56
+ - changelog: 4.0.0-alpha.4 [635194](https://github.com/vant-ui/vant/commit/63519433f12d4b1a17191c83df1dd928f5909542)
57
+
58
+ **Feature**
59
+
60
+ - add @vant/compat package [#10806](https://github.com/vant-ui/vant/issues/10806)
61
+
62
+ **perf**
63
+
64
+ - remove less source file to remove bundle size [#10752](https://github.com/vant-ui/vant/issues/10752)
65
+
66
+ **refactor**
67
+
68
+ - Dialog: redesign function-call API [#10781](https://github.com/vant-ui/vant/issues/10781)
69
+ - ImagePreview: redesign function-call API [#10802](https://github.com/vant-ui/vant/issues/10802)
70
+ - Notify: redesign function-call API [#10782](https://github.com/vant-ui/vant/issues/10782)
71
+ - Toast: redesign function-call API [#10804](https://github.com/vant-ui/vant/issues/10804)
72
+
73
+ **release**
74
+
75
+ - 4.0.0-beta.0 [151427](https://github.com/vant-ui/vant/commit/15142770f226f4e2834c42bf076dfd683a53202d)
76
+ ### [v4.0.0-alpha.4](https://github.com/vant-ui/vant/compare/v3.5.0-beta.0...v4.0.0-alpha.4)
77
+
78
+ `2022-05-31`
79
+
80
+ **Document**
81
+
82
+ - changelog: 4.0.0-alpha.3 [fe2115](https://github.com/vant-ui/vant/commit/fe2115ee5c1e86f006858bc930219313afb46747)
83
+
84
+ **Feature**
85
+
86
+ - using mjs extension for esmodule [#10625](https://github.com/vant-ui/vant/issues/10625)
87
+
88
+ **release**
89
+
90
+ - 4.0.0-alpha.4 [1f19fb](https://github.com/vant-ui/vant/commit/1f19fb0d9f91317e799f4ce8f017f56841dad6e6)
91
+ ### [v4.0.0-alpha.3](https://github.com/vant-ui/vant/compare/v3.4.9...v4.0.0-alpha.3)
92
+
93
+ `2022-05-02`
94
+
95
+ **Bug Fixes**
96
+
97
+ - Search: style error in dark mode [#10527](https://github.com/vant-ui/vant/issues/10527)
98
+
99
+ **Document**
100
+
101
+ - changelog: 4.0.0-alpha.2 [912a5f](https://github.com/vant-ui/vant/commit/912a5f17b1b429baa063de91c68a8bf6650b1189)
102
+
103
+ **release**
104
+
105
+ - 4.0.0-alpha.3 [bc60f5](https://github.com/vant-ui/vant/commit/bc60f5116bd832c599ec8ba43b58daece4abe280)
106
+ ### [v4.0.0-alpha.2](https://github.com/vant-ui/vant/compare/v3.4.8...v4.0.0-alpha.2)
107
+
108
+ `2022-04-16`
109
+
110
+ **Document**
111
+
112
+ - changelog: 4.0.0-alpha.1 [5bff9e](https://github.com/vant-ui/vant/commit/5bff9e8c5ff4716740c7555ef185163569f7576c)
113
+
114
+ - breaking change(AddressEdit): remove postal [e08e98](https://github.com/vant-ui/vant/commit/e08e9845a29b8d5587f02eff84368e32157678f4)
115
+
116
+ **release**
117
+
118
+ - 4.0.0-alpha.2 [ea57c9](https://github.com/vant-ui/vant/commit/ea57c9e9ffc10847ac31e1c6b6dac8f81c4abb22)
119
+ ### [v4.0.0-alpha.1](https://github.com/vant-ui/vant/compare/v3.4.6...v4.0.0-alpha.1)
120
+
121
+ `2022-03-19`
122
+
123
+ **Bug Fixes**
124
+
125
+ - Calendar, Picker: Fix calendar and picker's title color in dark mode [#10403](https://github.com/vant-ui/vant/issues/10403)
126
+ - ConfigProvider: dark mode not work as default value [#10413](https://github.com/vant-ui/vant/issues/10413)
127
+ - DatePicker: failed to update model value [#10415](https://github.com/vant-ui/vant/issues/10415)
128
+ - Dialog: Fix dialog title and message color in dark mode [#10379](https://github.com/vant-ui/vant/issues/10379)
129
+
130
+ **build**
131
+
132
+ - deploy v4 site [06199f](https://github.com/vant-ui/vant/commit/06199faf2c170bcd95e6aa49b51d981373ac42a6)
133
+ - fix workflow name [992eea](https://github.com/vant-ui/vant/commit/992eea3eeb8758942d40f9b893d0ff41c296c3ea)
134
+
135
+ **Document**
136
+
137
+ - DatePicker: fix formatter usage [#10416](https://github.com/vant-ui/vant/issues/10416)
138
+ - fix publicPath [db2e6c](https://github.com/vant-ui/vant/commit/db2e6ca12f75ee0db3b25cd1f9766f9e74e285f6)
139
+ - Picker: add v-model usage [#10417](https://github.com/vant-ui/vant/issues/10417)
140
+ - update [3a1e79](https://github.com/vant-ui/vant/commit/3a1e792e3151861e0ed780baa67823729db6a8a6)
141
+ - update 4.0.0-alpha changelog [#10339](https://github.com/vant-ui/vant/issues/10339)
142
+
143
+ **release**
144
+
145
+ - 4.0.0-alpha.1 [475d10](https://github.com/vant-ui/vant/commit/475d108ccb0f09dc09269751bd1bc15d1ea2ed0a)
146
+ ### [v4.0.0-alpha.0](https://github.com/vant-ui/vant/compare/v3.4.5...v4.0.0-alpha.0)
147
+
148
+ `2022-02-21`
149
+
150
+ **Bug Fixes**
151
+
152
+ - AddressEdit: selectedOption maybe undefined [3979dd](https://github.com/vant-ui/vant/commit/3979ddc40af1325f5cc7889c6f0f277ccdb110c9)
153
+ - Area: allow to reset modelValue [8d49b8](https://github.com/vant-ui/vant/commit/8d49b88748c6bd36437628ab0242352dc0ba5159)
154
+ - DatePicker: allow modelValue to be empty [980f97](https://github.com/vant-ui/vant/commit/980f9760112958a2bd5c1e88a410e4c15636658a)
155
+ - Picker: currentColumns calculation [113e1b](https://github.com/vant-ui/vant/commit/113e1b7a6239c3097956e8692cb512e8ccecccb8)
156
+ - Picker: error when options is empty [018621](https://github.com/vant-ui/vant/commit/0186219586b75227bf69ce0e514c3ed94c52e1cc)
157
+ - Picker: failed to update modelValue [ff69fd](https://github.com/vant-ui/vant/commit/ff69fdacc7dd9bcf6bd17c4a493902d027644d92)
158
+ - Picker: fix some bugs [22654b](https://github.com/vant-ui/vant/commit/22654bf518cc21e45cf9ed5e597f5d5e1f411a17)
159
+ - Picker: option.className not work [d16075](https://github.com/vant-ui/vant/commit/d16075f39efbd7aeed4feab08cd4587bc73eb54c)
160
+ - Picker: should update modelValue immediately [e61bd4](https://github.com/vant-ui/vant/commit/e61bd487fa81533a6deb6c8aa52e92a549a000a4)
161
+ - Picker: should update selectedValues correctly [2a8bb8](https://github.com/vant-ui/vant/commit/2a8bb86fbb7d65f9ddc053de8bc3c9c1175d3dff)
162
+ - TimePicker: remove columns-order prop [7d22cc](https://github.com/vant-ui/vant/commit/7d22cc2155bef564ee910498d2f8f319ef601a41)
163
+ - TimePicker: should update modelValue immediately [7dae50](https://github.com/vant-ui/vant/commit/7dae50b0c9809e17448264752de831504f7f084d)
164
+ - vant-cli: pnpm compatibility [#10214](https://github.com/vant-ui/vant/issues/10214)
165
+
166
+ **Document**
167
+
168
+ - @vant/cli: changelog 4.0.0-rc.6 [fda3f1](https://github.com/vant-ui/vant/commit/fda3f1be9403c68bcc734ae08c760af3d0df6fa1)
169
+ - Area: update documents [a9baa3](https://github.com/vant-ui/vant/commit/a9baa3b2d188a16637acc1051fb554142408315b)
170
+ - dark mode [d4584a](https://github.com/vant-ui/vant/commit/d4584aafda247ad4d520afc063cd6a74f8d7ee4c)
171
+ - DatePicker: fix currentDate of year-month [c942ef](https://github.com/vant-ui/vant/commit/c942efb76b53885a66de5291c86ca1160713cfb3)
172
+ - docsearch version v4 [15e746](https://github.com/vant-ui/vant/commit/15e7461a93a32c7a0e43e46955adc45d845bc064)
173
+ - Form: fix demo [7deba8](https://github.com/vant-ui/vant/commit/7deba88b918f74d68b7880621983f2ad2d8eb549)
174
+ - Form: fix Picker demo [9cfef0](https://github.com/vant-ui/vant/commit/9cfef027aa787ed85566a7ce23beb8c2e8bffba1)
175
+ - Picker: new document [cc10eb](https://github.com/vant-ui/vant/commit/cc10eb1f2adddc5a6d34336669b85a8a571c1803)
176
+ - Picker: update demo [ceaab3](https://github.com/vant-ui/vant/commit/ceaab349f177d0280d15f66686890dc092434b80)
177
+ - update migration guide [d68053](https://github.com/vant-ui/vant/commit/d68053ea7f469953a8e81819e4aeb47ab169124f)
178
+ - update migration guide [f436b5](https://github.com/vant-ui/vant/commit/f436b5ae09af3f3ff8a5d21105ad0ff85cd48ff7)
179
+ - update v4 migration guide [6c24fa](https://github.com/vant-ui/vant/commit/6c24fa728ee078419cbd7b8efcd35b3b70021208)
180
+ - update Vant 4 [2ceb68](https://github.com/vant-ui/vant/commit/2ceb68e691440b49394ea05a82912f1e972146dd)
181
+
182
+ - breaking change(AddressEdit): adjust change-area event params [b3cf1d](https://github.com/vant-ui/vant/commit/b3cf1dfb54f04af08011d2b9930fd725856d153a)
183
+ - breaking change: event name become camelCase [8ca974](https://github.com/vant-ui/vant/commit/8ca9741845cc7f5c73c23bb81c98ec2802971e27)
184
+ - breaking change: shorter css var names [7d6916](https://github.com/vant-ui/vant/commit/7d6916b946440fdd7fb3e0bd4c1117c989d74a93)
185
+ - breaking change: no longer support less vars [ada5db](https://github.com/vant-ui/vant/commit/ada5db011c676893a2917b9424be1aeafe54134b)
186
+ - breaking change(Tabs): remove click、disabled event [099141](https://github.com/vant-ui/vant/commit/099141f6c5b0e43c7e3ceeae98ee7e6e512212d6)
187
+ - breaking change(Picker): remove default slot、value-key prop [6a4033](https://github.com/vant-ui/vant/commit/6a4033b6bc72c38ff103c16e039ecd73ccacd4df)
188
+
189
+ **Feature**
190
+
191
+ - @vant/cli: desktop site support dark mode [35a990](https://github.com/vant-ui/vant/commit/35a990ed65500311cbcafae506780dc6d3fb49fa)
192
+ - @vant/cli: mobile site support dark mode [df24a3](https://github.com/vant-ui/vant/commit/df24a3b6834e4b9439580498f9c4a7448f7ca7c2)
193
+ - ActionBar: update icon text color [650bdd](https://github.com/vant-ui/vant/commit/650bdd22941d9119d8a78f1ffc37d8562c68f9a1)
194
+ - add dark mode basic variables [73322f](https://github.com/vant-ui/vant/commit/73322fd310849f53bf6f9e5bc508991c770af620)
195
+ - Area: add getSelectedOptions method [35a500](https://github.com/vant-ui/vant/commit/35a50012c76495119a44efa2cfc231f8b1921f40)
196
+ - ConfigProvider: add theme prop [f95734](https://github.com/vant-ui/vant/commit/f9573402a79d2de0abcfb43f6cbcf4c7e7e8c64f)
197
+ - ConfigProvider: dark theme class [97b074](https://github.com/vant-ui/vant/commit/97b074ad0c3d8f25b9281120444901128bfdc5a1)
198
+ - DatePicker: date columns calculation [e8ffc8](https://github.com/vant-ui/vant/commit/e8ffc80dc65a9a09e342a97d9314c498e8e78264)
199
+ - Picker: add getSelectedOptions method [83295e](https://github.com/vant-ui/vant/commit/83295e655da9ae2debbf2e7472753517d5b5241d)
200
+ - TimePicker: support select second [2e053a](https://github.com/vant-ui/vant/commit/2e053ad76bf254fbe14cee2b3c3d2dc7766c9462)
201
+
202
+ **refactor**
203
+
204
+ - Area component [cca428](https://github.com/vant-ui/vant/commit/cca428aac63da792e8de8f3f6f76d164cab46cb6)
205
+ - attach css variables to body element [541458](https://github.com/vant-ui/vant/commit/541458c41b69e3bc977aa39a0e91be2b2d91883a)
206
+ - DatePicker Component [5b4075](https://github.com/vant-ui/vant/commit/5b407566db61d2ff7e6512ca8f82f39111d8da0f)
207
+ - DatePicker: v-model now is string array [ef8e66](https://github.com/vant-ui/vant/commit/ef8e66a9244606899339c7153ec2d66406afbf81)
208
+ - Picker: data driven [89b029](https://github.com/vant-ui/vant/commit/89b029aa42400b2570b7676b881f6311abe42352)
209
+ - Picker: rename item-height to option-height [c06141](https://github.com/vant-ui/vant/commit/c061412138e41a07a87110692621517eac814428)
210
+ - rename --van-background-light to --van-background-2 [98b999](https://github.com/vant-ui/vant/commit/98b999d911c41ac1a73e6ef375b4966befe69b20)
211
+ - TimePicker component [42d1dd](https://github.com/vant-ui/vant/commit/42d1dd836c141f499343aa6a8278d1b3be4953ac)
212
+ - TimePicker: modelValue now is string array [fdcf99](https://github.com/vant-ui/vant/commit/fdcf9931bed3da6f1faedff99f3a6b8202d75691)
213
+
214
+ **release**
215
+
216
+ - @vant/cli 4.0.0-rc.6 [e93ae7](https://github.com/vant-ui/vant/commit/e93ae7b430afac7f431af23e334eaf0bf17a9e9d)
217
+ - 4.0.0-alpha.0 [c20664](https://github.com/vant-ui/vant/commit/c206642d2d6771b681c369653228ec692fd28754)
218
+
219
+ **style**
220
+
221
+ - @vant/cli: adjust css vars [b6fcd3](https://github.com/vant-ui/vant/commit/b6fcd32dcf201703d32ee4ce70d6147b4c4605ef)
222
+ - @vant/cli: improve demo style in dark mode [0e8e32](https://github.com/vant-ui/vant/commit/0e8e3200a2f3fbdfd46f324d89ae05a38680f421)
223
+ - @vant/cli: improve mobile style in dark mode [f5c32c](https://github.com/vant-ui/vant/commit/f5c32c29f115ef072a20ff736732a1c66557f992)
224
+ - AddressEdit: submit button using primary type [c65d4f](https://github.com/vant-ui/vant/commit/c65d4f96727059d19ad7bb014b53d679754bd512)
225
+ - AddressList: using primary color [fcd91c](https://github.com/vant-ui/vant/commit/fcd91cb0b03ade0def49928bdd2ec2ea652f4408)
226
+ - Button: adjust font-smoothing [bda361](https://github.com/vant-ui/vant/commit/bda3617d14f3e93f04748915bb595467c1696945)
227
+ - Button: increase default border radius from 2px to 4px [d86771](https://github.com/vant-ui/vant/commit/d867710cc9ca273dbf6c1d4edc568f57e5806243)
228
+ - Button: update default button border color [bd2428](https://github.com/vant-ui/vant/commit/bd24288a12b38fecafc6302f1216587e7a6710fb)
229
+ - Calendar: using primary color by default [4e89e8](https://github.com/vant-ui/vant/commit/4e89e88845adba1af3a6a6db19d8df7cae6aa9fb)
230
+ - Card: blue tag [369201](https://github.com/vant-ui/vant/commit/3692014070beb9d3187106803e742b28ab0b3310)
231
+ - Card: improve card mode style [cb2d99](https://github.com/vant-ui/vant/commit/cb2d99c8cf7abde3e08df79085f13a21c47c9bc7)
232
+ - Cascader: using primary color by default [84b90b](https://github.com/vant-ui/vant/commit/84b90b1f4c9e52c9638426e79a269d53801cc0b1)
233
+ - Cell: remove value aline style [0a7b53](https://github.com/vant-ui/vant/commit/0a7b53553364691e11af6906b5d22dee8e570cce)
234
+ - ContactEdit: adjust submit button [43ae30](https://github.com/vant-ui/vant/commit/43ae30026adf98b076ec26c3214c24387cb63082)
235
+ - ContactList: using primary color [d39f6a](https://github.com/vant-ui/vant/commit/d39f6a898afa4c5bbd5ef33035e42f656b0ec6f7)
236
+ - CouponList: change default color [85c5ad](https://github.com/vant-ui/vant/commit/85c5ad671868b7156968b681a00b147a57504c84)
237
+ - CouponList: update field background color in dark mode [82e0e4](https://github.com/vant-ui/vant/commit/82e0e454d0de31d5a1a68a17a6e566d42ba86d74)
238
+ - DropdownMenu: using primary color by default [37e7c6](https://github.com/vant-ui/vant/commit/37e7c618b82527616d9f988f3249dda347eb7923)
239
+ - Field: adjust label color [8e98e9](https://github.com/vant-ui/vant/commit/8e98e9744939003f1679b465ccd5124539a99f36)
240
+ - GridItem: adust text color [42f03f](https://github.com/vant-ui/vant/commit/42f03fe1a241ff5311e9fe6696fb614b225faa72)
241
+ - increase font-weight bold [bef919](https://github.com/vant-ui/vant/commit/bef919c7f011bffdb31bad1ca085df5be24679f4)
242
+ - IndexBar: increase font weight of active index [d6e80e](https://github.com/vant-ui/vant/commit/d6e80e8954931927808c7fabf37473db35e8730b)
243
+ - IndexBar: using primary color by default [8b95db](https://github.com/vant-ui/vant/commit/8b95db15746bbf02a9091c8e604c9bb3884148b0)
244
+ - Sidebar: using primary color by default [eeb233](https://github.com/vant-ui/vant/commit/eeb233bf990a598282c21559520415a64a237179)
245
+ - Slider: improve dark mode color [fc2847](https://github.com/vant-ui/vant/commit/fc2847fdb442f3a5c5f1e26cc14858e136a86b3c)
246
+ - Stepper: using primary color by default [41b1cd](https://github.com/vant-ui/vant/commit/41b1cd71854514404c6a601ee22586a9ae243ee3)
247
+ - Steps: update default button border color [5a1566](https://github.com/vant-ui/vant/commit/5a15660c77082d814da2b68527136994ab9112f8)
248
+ - Switch: adjust style [2acd47](https://github.com/vant-ui/vant/commit/2acd47b5ee251d1af729c44b8516a4cc0fa06d44)
249
+ - Switch: adjust width [73788f](https://github.com/vant-ui/vant/commit/73788f9e88beba576d2599a939caa4b4970b396f)
250
+ - Tabbar: adjust text color [39b51d](https://github.com/vant-ui/vant/commit/39b51d5dae7e9c0ab1e5fb03a868a06cdbf6b269)
251
+ - Tabs: using primary color by default [3b10d6](https://github.com/vant-ui/vant/commit/3b10d66bb92869d03b7af8228bfd1b1e0361a033)
252
+ - TreeSelect: using primary color [cce3ce](https://github.com/vant-ui/vant/commit/cce3ceb5b68e445d0b9ea94f91d6b46246444b36)
253
+ - update van doc background [5b3c4f](https://github.com/vant-ui/vant/commit/5b3c4f15468428c29dcd7cc43ca5a82831b6f87a)
254
+
255
+ **Types**
256
+
257
+ - AddressEdit: SearchItem optional [27c46b](https://github.com/vant-ui/vant/commit/27c46b01ae391f7c26430ea258181d1f534511a0)
258
+ - DatePicker: export DatePickerColumnType [829db0](https://github.com/vant-ui/vant/commit/829db06d5b2576e2024a280bd10ba1fa3f17f25c)
259
+ - Picker: fix columns prop typing [6c64bc](https://github.com/vant-ui/vant/commit/6c64bc33c1ba537b7951dcbc02d6deec3aaab093)
260
+ - Picker: fix return type of getSelectedOptions [967cb5](https://github.com/vant-ui/vant/commit/967cb56c181cc145189a868f49c4666a75f85b00)
261
+ - TimePicker: export TimePickerColumnType [b608fb](https://github.com/vant-ui/vant/commit/b608fb23f031cf09a474039cd9cd23f8bc7811d3)
262
+ ### [v3.6.2](https://github.com/vant-ui/vant/compare/v4.0.0-beta.1...v3.6.2)
263
+
264
+ `2022-09-04`
265
+
266
+ **Bug Fixes**
267
+
268
+ - @vant/cli: add passive for global touchstart [#10979](https://github.com/vant-ui/vant/issues/10979)
269
+ - area-data: update counties of Daxinganling region [#11000](https://github.com/vant-ui/vant/issues/11000)
270
+ - Calendar: allow default date to be maxDate when enable allowSameDay [#10976](https://github.com/vant-ui/vant/issues/10976)
271
+ - Calendar: range type defaultDate when set allowSameDay [#10971](https://github.com/vant-ui/vant/issues/10971)
272
+ - indexBar: index-bar not positioned correctly when scrolled to the bottom [#10994](https://github.com/vant-ui/vant/issues/10994)
273
+ - reduce passive event warning of touchmove event [#10975](https://github.com/vant-ui/vant/issues/10975)
274
+ - Swipe: should not prevent touch move when reach edge [#10980](https://github.com/vant-ui/vant/issues/10980)
275
+
276
+ **Document**
277
+
278
+ - add function component style guide [#11003](https://github.com/vant-ui/vant/issues/11003)
279
+ - add nuxt 3 guide [#10977](https://github.com/vant-ui/vant/issues/10977)
280
+ - changelog: 3.6.1 [6a7376](https://github.com/vant-ui/vant/commit/6a7376d15d20bdd1641422ff2cb1c317fc987e89)
281
+ - fix card overflow issue [#10988](https://github.com/vant-ui/vant/issues/10988)
282
+ - prefer using externalVue in nuxt 3 [#10978](https://github.com/vant-ui/vant/issues/10978)
283
+ - update quickstart guide [#11006](https://github.com/vant-ui/vant/issues/11006)
284
+
285
+ **release**
286
+
287
+ - @vant/area-data 1.3.2 [94c5af](https://github.com/vant-ui/vant/commit/94c5afe65caa97188fe3a800c52c629c1416ff41)
288
+ - 3.6.2 [7afb74](https://github.com/vant-ui/vant/commit/7afb74345a39f23a3c62aa8b0e6d95de4c2b35de)
289
+ ### [v3.6.1](https://github.com/vant-ui/vant/compare/v3.6.0...v3.6.1)
290
+
291
+ `2022-08-24`
292
+
293
+ **release**
294
+
295
+ - 3.6.1 [2cca63](https://github.com/vant-ui/vant/commit/2cca63080868beb1b64bedddd004d8f13bc64d4a)
@@ -1,6 +1,7 @@
1
1
  import { type ExtractPropTypes } from 'vue';
2
2
  export declare const ACTION_BAR_KEY: unique symbol;
3
3
  declare const actionBarProps: {
4
+ placeholder: BooleanConstructor;
4
5
  safeAreaInsetBottom: {
5
6
  type: BooleanConstructor;
6
7
  default: true;
@@ -8,16 +9,19 @@ declare const actionBarProps: {
8
9
  };
9
10
  export declare type ActionBarProps = ExtractPropTypes<typeof actionBarProps>;
10
11
  declare const _default: import("vue").DefineComponent<{
12
+ placeholder: BooleanConstructor;
11
13
  safeAreaInsetBottom: {
12
14
  type: BooleanConstructor;
13
15
  default: true;
14
16
  };
15
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
17
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
18
+ placeholder: BooleanConstructor;
16
19
  safeAreaInsetBottom: {
17
20
  type: BooleanConstructor;
18
21
  default: true;
19
22
  };
20
23
  }>>, {
24
+ placeholder: boolean;
21
25
  safeAreaInsetBottom: boolean;
22
26
  }>;
23
27
  export default _default;
@@ -1,10 +1,12 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
- import { defineComponent } from "vue";
2
+ import { defineComponent, ref } from "vue";
3
3
  import { truthProp, createNamespace } from "../utils/index.mjs";
4
4
  import { useChildren } from "@vant/use";
5
+ import { usePlaceholder } from "../composables/use-placeholder.mjs";
5
6
  const [name, bem] = createNamespace("action-bar");
6
7
  const ACTION_BAR_KEY = Symbol(name);
7
8
  const actionBarProps = {
9
+ placeholder: Boolean,
8
10
  safeAreaInsetBottom: truthProp
9
11
  };
10
12
  var stdin_default = defineComponent({
@@ -13,18 +15,27 @@ var stdin_default = defineComponent({
13
15
  setup(props, {
14
16
  slots
15
17
  }) {
18
+ const root = ref();
19
+ const renderPlaceholder = usePlaceholder(root, bem);
16
20
  const {
17
21
  linkChildren
18
22
  } = useChildren(ACTION_BAR_KEY);
19
23
  linkChildren();
20
- return () => {
24
+ const renderActionBar = () => {
21
25
  var _a;
22
26
  return _createVNode("div", {
27
+ "ref": root,
23
28
  "class": [bem(), {
24
29
  "van-safe-area-bottom": props.safeAreaInsetBottom
25
30
  }]
26
31
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
27
32
  };
33
+ return () => {
34
+ if (props.placeholder) {
35
+ return renderPlaceholder(renderActionBar);
36
+ }
37
+ return renderActionBar();
38
+ };
28
39
  }
29
40
  });
30
41
  export {
@@ -1,14 +1,17 @@
1
1
  export declare const ActionBar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ placeholder: BooleanConstructor;
2
3
  safeAreaInsetBottom: {
3
4
  type: BooleanConstructor;
4
5
  default: true;
5
6
  };
6
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ placeholder: BooleanConstructor;
7
9
  safeAreaInsetBottom: {
8
10
  type: BooleanConstructor;
9
11
  default: true;
10
12
  };
11
13
  }>>, {
14
+ placeholder: boolean;
12
15
  safeAreaInsetBottom: boolean;
13
16
  }>>;
14
17
  export default ActionBar;
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
24
24
  color: StringConstructor;
25
25
  loading: BooleanConstructor;
26
26
  disabled: BooleanConstructor;
27
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
27
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
28
28
  to: PropType<import("vue-router").RouteLocationRaw>;
29
29
  url: StringConstructor;
30
30
  replace: BooleanConstructor;
@@ -9,7 +9,7 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
9
9
  color: StringConstructor;
10
10
  loading: BooleanConstructor;
11
11
  disabled: BooleanConstructor;
12
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
14
14
  url: StringConstructor;
15
15
  replace: BooleanConstructor;
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
28
28
  iconClass: PropType<unknown>;
29
29
  badgeProps: PropType<Partial<BadgeProps>>;
30
30
  iconPrefix: StringConstructor;
31
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
31
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
32
32
  to: PropType<import("vue-router").RouteLocationRaw>;
33
33
  url: StringConstructor;
34
34
  replace: BooleanConstructor;
@@ -11,7 +11,7 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
11
11
  iconClass: import("vue").PropType<unknown>;
12
12
  badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
13
13
  iconPrefix: StringConstructor;
14
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
16
16
  url: StringConstructor;
17
17
  replace: BooleanConstructor;
@@ -7,7 +7,7 @@ import { Cell } from "../cell/index.mjs";
7
7
  import { Form } from "../form/index.mjs";
8
8
  import { Field } from "../field/index.mjs";
9
9
  import { Popup } from "../popup/index.mjs";
10
- import { Toast } from "../toast/index.mjs";
10
+ import { showToast } from "../toast/index.mjs";
11
11
  import { Button } from "../button/index.mjs";
12
12
  import { Switch } from "../switch/index.mjs";
13
13
  import AddressEditDetail from "./AddressEditDetail.mjs";
@@ -133,7 +133,7 @@ var stdin_default = defineComponent({
133
133
  selectedOptions
134
134
  }) => {
135
135
  if (selectedValues.some((value) => value === AREA_EMPTY_CODE)) {
136
- Toast(t("areaEmpty"));
136
+ showToast(t("areaEmpty"));
137
137
  } else {
138
138
  showAreaPopup.value = false;
139
139
  assignAreaText(selectedOptions);
@@ -5,9 +5,15 @@ import "../../cell/index.css";
5
5
  import "../../field/index.css";
6
6
  import "../../loading/index.css";
7
7
  import "../../switch/index.css";
8
- import "../../picker/index.css";
9
8
  import "../../button/index.css";
10
9
  import "../../overlay/index.css";
11
10
  import "../../popup/index.css";
12
11
  import "../../toast/index.css";
12
+ import "../../sticky/index.css";
13
+ import "../../swipe/index.css";
14
+ import "../../swipe-item/index.css";
15
+ import "../../tabs/index.css";
16
+ import "../../tab/index.css";
17
+ import "../../picker/index.css";
18
+ import "../../picker-group/index.css";
13
19
  import "../index.css";
package/es/area/Area.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { type PropType, type ExtractPropTypes } from 'vue';
2
2
  import type { AreaList } from './types';
3
3
  declare const areaProps: {
4
- title: StringConstructor;
5
4
  loading: BooleanConstructor;
6
5
  readonly: BooleanConstructor;
7
6
  allowHtml: BooleanConstructor;
@@ -21,6 +20,8 @@ declare const areaProps: {
21
20
  type: (NumberConstructor | StringConstructor)[];
22
21
  default: number;
23
22
  };
23
+ } & {
24
+ title: StringConstructor;
24
25
  cancelButtonText: StringConstructor;
25
26
  confirmButtonText: StringConstructor;
26
27
  } & {
@@ -40,7 +41,6 @@ declare const areaProps: {
40
41
  };
41
42
  export declare type AreaProps = ExtractPropTypes<typeof areaProps>;
42
43
  declare const _default: import("vue").DefineComponent<{
43
- title: StringConstructor;
44
44
  loading: BooleanConstructor;
45
45
  readonly: BooleanConstructor;
46
46
  allowHtml: BooleanConstructor;
@@ -60,6 +60,8 @@ declare const _default: import("vue").DefineComponent<{
60
60
  type: (NumberConstructor | StringConstructor)[];
61
61
  default: number;
62
62
  };
63
+ } & {
64
+ title: StringConstructor;
63
65
  cancelButtonText: StringConstructor;
64
66
  confirmButtonText: StringConstructor;
65
67
  } & {
@@ -77,7 +79,6 @@ declare const _default: import("vue").DefineComponent<{
77
79
  default: () => {};
78
80
  };
79
81
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "cancel" | "confirm")[], "update:modelValue" | "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
80
- title: StringConstructor;
81
82
  loading: BooleanConstructor;
82
83
  readonly: BooleanConstructor;
83
84
  allowHtml: BooleanConstructor;
@@ -97,6 +98,8 @@ declare const _default: import("vue").DefineComponent<{
97
98
  type: (NumberConstructor | StringConstructor)[];
98
99
  default: number;
99
100
  };
101
+ } & {
102
+ title: StringConstructor;
100
103
  cancelButtonText: StringConstructor;
101
104
  confirmButtonText: StringConstructor;
102
105
  } & {