vant 4.0.0-beta.1 → 4.0.0-rc.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 (922) hide show
  1. package/changelog.generated.md +24 -268
  2. package/es/action-bar/ActionBar.d.ts +2 -2
  3. package/es/action-bar/ActionBar.mjs +1 -0
  4. package/es/action-bar/index.css +1 -1
  5. package/es/action-bar/index.d.ts +2 -1
  6. package/es/action-bar/index.mjs +2 -0
  7. package/es/action-bar-button/ActionBarButton.d.ts +2 -2
  8. package/es/action-bar-button/ActionBarButton.mjs +1 -0
  9. package/es/action-bar-button/index.css +1 -1
  10. package/es/action-bar-button/index.d.ts +2 -1
  11. package/es/action-bar-button/index.mjs +2 -0
  12. package/es/action-bar-icon/ActionBarIcon.d.ts +2 -2
  13. package/es/action-bar-icon/ActionBarIcon.mjs +1 -0
  14. package/es/action-bar-icon/index.css +1 -1
  15. package/es/action-bar-icon/index.d.ts +2 -1
  16. package/es/action-bar-icon/index.mjs +2 -0
  17. package/es/action-sheet/ActionSheet.d.ts +1 -1
  18. package/es/action-sheet/ActionSheet.mjs +1 -0
  19. package/es/action-sheet/index.css +1 -1
  20. package/es/action-sheet/index.d.ts +1 -0
  21. package/es/action-sheet/index.mjs +2 -0
  22. package/es/address-edit/AddressEdit.d.ts +1 -1
  23. package/es/address-edit/AddressEdit.mjs +1 -0
  24. package/es/address-edit/index.css +1 -1
  25. package/es/address-edit/index.d.ts +1 -0
  26. package/es/address-edit/index.mjs +2 -0
  27. package/es/address-edit/style/index.mjs +7 -1
  28. package/es/address-list/AddressList.d.ts +1 -1
  29. package/es/address-list/AddressList.mjs +1 -0
  30. package/es/address-list/index.css +1 -1
  31. package/es/address-list/index.d.ts +1 -0
  32. package/es/address-list/index.mjs +2 -0
  33. package/es/area/Area.d.ts +7 -4
  34. package/es/area/Area.mjs +1 -0
  35. package/es/area/index.d.ts +5 -2
  36. package/es/area/index.mjs +2 -0
  37. package/es/area/style/index.mjs +7 -0
  38. package/es/area/utils.mjs +9 -2
  39. package/es/badge/Badge.d.ts +2 -2
  40. package/es/badge/Badge.mjs +1 -0
  41. package/es/badge/index.css +1 -1
  42. package/es/badge/index.d.ts +2 -1
  43. package/es/badge/index.mjs +2 -0
  44. package/es/button/Button.d.ts +1 -1
  45. package/es/button/Button.mjs +1 -0
  46. package/es/button/index.css +1 -1
  47. package/es/button/index.d.ts +1 -0
  48. package/es/button/index.mjs +2 -0
  49. package/es/calendar/Calendar.d.ts +1 -1
  50. package/es/calendar/Calendar.mjs +5 -3
  51. package/es/calendar/index.css +1 -1
  52. package/es/calendar/index.d.ts +1 -0
  53. package/es/calendar/index.mjs +2 -0
  54. package/es/calendar/style/index.mjs +7 -1
  55. package/es/card/Card.d.ts +1 -1
  56. package/es/card/Card.mjs +1 -0
  57. package/es/card/index.css +1 -1
  58. package/es/card/index.d.ts +1 -0
  59. package/es/card/index.mjs +2 -0
  60. package/es/cascader/Cascader.d.ts +1 -1
  61. package/es/cascader/Cascader.mjs +1 -0
  62. package/es/cascader/index.css +1 -1
  63. package/es/cascader/index.d.ts +1 -0
  64. package/es/cascader/index.mjs +2 -0
  65. package/es/cell/Cell.d.ts +2 -2
  66. package/es/cell/Cell.mjs +1 -0
  67. package/es/cell/index.css +1 -1
  68. package/es/cell/index.d.ts +2 -1
  69. package/es/cell/index.mjs +2 -0
  70. package/es/cell-group/CellGroup.d.ts +2 -2
  71. package/es/cell-group/CellGroup.mjs +1 -0
  72. package/es/cell-group/index.css +1 -1
  73. package/es/cell-group/index.d.ts +2 -1
  74. package/es/cell-group/index.mjs +2 -0
  75. package/es/checkbox/Checkbox.d.ts +1 -1
  76. package/es/checkbox/Checkbox.mjs +1 -0
  77. package/es/checkbox/index.css +1 -1
  78. package/es/checkbox/index.d.ts +1 -0
  79. package/es/checkbox/index.mjs +2 -0
  80. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  81. package/es/checkbox-group/CheckboxGroup.mjs +1 -0
  82. package/es/checkbox-group/index.d.ts +1 -0
  83. package/es/checkbox-group/index.mjs +2 -0
  84. package/es/circle/Circle.d.ts +1 -1
  85. package/es/circle/Circle.mjs +1 -0
  86. package/es/circle/index.css +1 -1
  87. package/es/circle/index.d.ts +1 -0
  88. package/es/circle/index.mjs +2 -0
  89. package/es/col/Col.d.ts +2 -2
  90. package/es/col/Col.mjs +1 -0
  91. package/es/col/index.d.ts +2 -1
  92. package/es/col/index.mjs +2 -0
  93. package/es/collapse/Collapse.d.ts +1 -1
  94. package/es/collapse/Collapse.mjs +1 -0
  95. package/es/collapse/index.d.ts +1 -0
  96. package/es/collapse/index.mjs +2 -0
  97. package/es/collapse-item/CollapseItem.d.ts +2 -2
  98. package/es/collapse-item/CollapseItem.mjs +1 -0
  99. package/es/collapse-item/index.css +1 -1
  100. package/es/collapse-item/index.d.ts +2 -1
  101. package/es/collapse-item/index.mjs +2 -0
  102. package/es/composables/use-lazy-render.mjs +9 -5
  103. package/es/composables/use-lock-scroll.mjs +4 -1
  104. package/es/composables/use-visibility-change.mjs +6 -3
  105. package/es/config-provider/ConfigProvider.d.ts +2 -2
  106. package/es/config-provider/ConfigProvider.mjs +3 -2
  107. package/es/config-provider/index.d.ts +2 -1
  108. package/es/config-provider/index.mjs +2 -0
  109. package/es/contact-card/ContactCard.d.ts +1 -1
  110. package/es/contact-card/ContactCard.mjs +1 -0
  111. package/es/contact-card/index.css +1 -1
  112. package/es/contact-card/index.d.ts +1 -0
  113. package/es/contact-card/index.mjs +2 -0
  114. package/es/contact-edit/ContactEdit.d.ts +1 -1
  115. package/es/contact-edit/ContactEdit.mjs +1 -0
  116. package/es/contact-edit/index.css +1 -1
  117. package/es/contact-edit/index.d.ts +1 -0
  118. package/es/contact-edit/index.mjs +2 -0
  119. package/es/contact-list/ContactList.d.ts +1 -1
  120. package/es/contact-list/ContactList.mjs +1 -0
  121. package/es/contact-list/index.css +1 -1
  122. package/es/contact-list/index.d.ts +1 -0
  123. package/es/contact-list/index.mjs +2 -0
  124. package/es/count-down/CountDown.d.ts +1 -1
  125. package/es/count-down/CountDown.mjs +1 -0
  126. package/es/count-down/index.css +1 -1
  127. package/es/count-down/index.d.ts +1 -0
  128. package/es/count-down/index.mjs +2 -0
  129. package/es/coupon/Coupon.d.ts +1 -1
  130. package/es/coupon/index.css +1 -1
  131. package/es/coupon/index.d.ts +1 -1
  132. package/es/coupon/utils.mjs +3 -1
  133. package/es/coupon-cell/CouponCell.d.ts +2 -2
  134. package/es/coupon-cell/CouponCell.mjs +1 -0
  135. package/es/coupon-cell/index.css +1 -1
  136. package/es/coupon-cell/index.d.ts +2 -1
  137. package/es/coupon-cell/index.mjs +2 -0
  138. package/es/coupon-list/CouponList.d.ts +1 -1
  139. package/es/coupon-list/CouponList.mjs +1 -0
  140. package/es/coupon-list/index.css +1 -1
  141. package/es/coupon-list/index.d.ts +1 -0
  142. package/es/coupon-list/index.mjs +2 -0
  143. package/es/coupon-list/style/index.mjs +3 -3
  144. package/es/date-picker/DatePicker.d.ts +7 -4
  145. package/es/date-picker/DatePicker.mjs +11 -10
  146. package/es/date-picker/index.d.ts +5 -2
  147. package/es/date-picker/index.mjs +2 -0
  148. package/es/date-picker/style/index.mjs +7 -0
  149. package/es/date-picker/utils.d.ts +2 -1
  150. package/es/dialog/Dialog.d.ts +1 -1
  151. package/es/dialog/Dialog.mjs +2 -1
  152. package/es/dialog/index.css +1 -1
  153. package/es/dialog/index.d.ts +1 -0
  154. package/es/dialog/index.mjs +2 -0
  155. package/es/dialog/types.d.ts +1 -1
  156. package/es/divider/Divider.d.ts +2 -2
  157. package/es/divider/Divider.mjs +2 -1
  158. package/es/divider/index.css +1 -1
  159. package/es/divider/index.d.ts +2 -1
  160. package/es/divider/index.mjs +3 -1
  161. package/es/dropdown-item/DropdownItem.d.ts +3 -3
  162. package/es/dropdown-item/DropdownItem.mjs +2 -1
  163. package/es/dropdown-item/index.css +1 -1
  164. package/es/dropdown-item/index.d.ts +3 -2
  165. package/es/dropdown-item/index.mjs +3 -1
  166. package/es/dropdown-menu/DropdownMenu.d.ts +2 -2
  167. package/es/dropdown-menu/DropdownMenu.mjs +2 -1
  168. package/es/dropdown-menu/index.css +1 -1
  169. package/es/dropdown-menu/index.d.ts +2 -1
  170. package/es/dropdown-menu/index.mjs +3 -1
  171. package/es/empty/Empty.d.ts +2 -2
  172. package/es/empty/Empty.mjs +2 -1
  173. package/es/empty/index.css +1 -1
  174. package/es/empty/index.d.ts +2 -1
  175. package/es/empty/index.mjs +3 -1
  176. package/es/field/Field.d.ts +1 -1
  177. package/es/field/Field.mjs +11 -3
  178. package/es/field/index.css +1 -1
  179. package/es/field/index.d.ts +1 -0
  180. package/es/field/index.mjs +3 -1
  181. package/es/form/Form.d.ts +1 -1
  182. package/es/form/Form.mjs +2 -1
  183. package/es/form/index.d.ts +1 -0
  184. package/es/form/index.mjs +3 -1
  185. package/es/grid/Grid.d.ts +2 -2
  186. package/es/grid/Grid.mjs +2 -1
  187. package/es/grid/index.d.ts +2 -1
  188. package/es/grid/index.mjs +3 -1
  189. package/es/grid-item/GridItem.d.ts +2 -2
  190. package/es/grid-item/GridItem.mjs +2 -1
  191. package/es/grid-item/index.css +1 -1
  192. package/es/grid-item/index.d.ts +2 -1
  193. package/es/grid-item/index.mjs +3 -1
  194. package/es/icon/Icon.d.ts +2 -2
  195. package/es/icon/Icon.mjs +2 -1
  196. package/es/icon/index.d.ts +2 -1
  197. package/es/icon/index.mjs +3 -1
  198. package/es/image/Image.d.ts +5 -1
  199. package/es/image/Image.mjs +5 -2
  200. package/es/image/index.css +1 -1
  201. package/es/image/index.d.ts +4 -0
  202. package/es/image/index.mjs +3 -1
  203. package/es/image-preview/ImagePreview.d.ts +1 -1
  204. package/es/image-preview/ImagePreview.mjs +2 -1
  205. package/es/image-preview/ImagePreviewItem.mjs +10 -2
  206. package/es/image-preview/index.css +1 -1
  207. package/es/image-preview/index.d.ts +1 -0
  208. package/es/image-preview/index.mjs +2 -0
  209. package/es/index-anchor/IndexAnchor.d.ts +2 -2
  210. package/es/index-anchor/IndexAnchor.mjs +2 -1
  211. package/es/index-anchor/index.css +1 -1
  212. package/es/index-anchor/index.d.ts +2 -1
  213. package/es/index-anchor/index.mjs +3 -1
  214. package/es/index-bar/IndexBar.d.ts +1 -1
  215. package/es/index-bar/IndexBar.mjs +9 -4
  216. package/es/index-bar/index.css +1 -1
  217. package/es/index-bar/index.d.ts +1 -0
  218. package/es/index-bar/index.mjs +3 -1
  219. package/es/index.d.ts +2 -1
  220. package/es/index.mjs +4 -1
  221. package/es/lazyload/vue-lazyload/lazy-component.mjs +4 -1
  222. package/es/lazyload/vue-lazyload/lazy-container.mjs +11 -7
  223. package/es/lazyload/vue-lazyload/lazy-image.mjs +24 -14
  224. package/es/lazyload/vue-lazyload/lazy.mjs +11 -3
  225. package/es/lazyload/vue-lazyload/listener.mjs +45 -33
  226. package/es/lazyload/vue-lazyload/util.mjs +4 -1
  227. package/es/list/List.d.ts +1 -1
  228. package/es/list/List.mjs +2 -1
  229. package/es/list/index.css +1 -1
  230. package/es/list/index.d.ts +1 -0
  231. package/es/list/index.mjs +3 -1
  232. package/es/loading/Loading.d.ts +2 -2
  233. package/es/loading/Loading.mjs +2 -1
  234. package/es/loading/index.css +1 -1
  235. package/es/loading/index.d.ts +2 -1
  236. package/es/loading/index.mjs +3 -1
  237. package/es/nav-bar/NavBar.d.ts +1 -1
  238. package/es/nav-bar/NavBar.mjs +2 -1
  239. package/es/nav-bar/index.css +1 -1
  240. package/es/nav-bar/index.d.ts +1 -0
  241. package/es/nav-bar/index.mjs +3 -1
  242. package/es/notice-bar/NoticeBar.d.ts +1 -1
  243. package/es/notice-bar/NoticeBar.mjs +2 -1
  244. package/es/notice-bar/index.css +1 -1
  245. package/es/notice-bar/index.d.ts +1 -0
  246. package/es/notice-bar/index.mjs +3 -1
  247. package/es/notify/Notify.d.ts +1 -1
  248. package/es/notify/Notify.mjs +2 -1
  249. package/es/notify/index.css +1 -1
  250. package/es/notify/index.d.ts +1 -0
  251. package/es/notify/index.mjs +2 -0
  252. package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
  253. package/es/number-keyboard/NumberKeyboard.mjs +2 -1
  254. package/es/number-keyboard/index.css +1 -1
  255. package/es/number-keyboard/index.d.ts +2 -1
  256. package/es/number-keyboard/index.mjs +3 -1
  257. package/es/overlay/Overlay.d.ts +2 -2
  258. package/es/overlay/Overlay.mjs +15 -7
  259. package/es/overlay/index.css +1 -1
  260. package/es/overlay/index.d.ts +2 -1
  261. package/es/overlay/index.mjs +3 -1
  262. package/es/pagination/Pagination.d.ts +1 -1
  263. package/es/pagination/Pagination.mjs +2 -1
  264. package/es/pagination/index.css +1 -1
  265. package/es/pagination/index.d.ts +1 -0
  266. package/es/pagination/index.mjs +3 -1
  267. package/es/password-input/PasswordInput.d.ts +1 -1
  268. package/es/password-input/PasswordInput.mjs +2 -1
  269. package/es/password-input/index.css +1 -1
  270. package/es/password-input/index.d.ts +1 -0
  271. package/es/password-input/index.mjs +3 -1
  272. package/es/picker/Picker.d.ts +9 -5
  273. package/es/picker/Picker.mjs +47 -68
  274. package/es/picker/PickerColumn.mjs +6 -2
  275. package/es/picker/PickerToolbar.d.ts +21 -0
  276. package/es/picker/PickerToolbar.mjs +59 -0
  277. package/es/picker/index.css +1 -1
  278. package/es/picker/index.d.ts +5 -2
  279. package/es/picker/index.mjs +3 -1
  280. package/es/picker/style/index.mjs +7 -0
  281. package/es/picker/utils.d.ts +2 -0
  282. package/es/picker/utils.mjs +14 -7
  283. package/es/picker-group/PickerGroup.d.ts +39 -0
  284. package/es/picker-group/PickerGroup.mjs +57 -0
  285. package/es/picker-group/index.css +1 -0
  286. package/es/picker-group/index.d.ts +33 -0
  287. package/es/picker-group/index.mjs +10 -0
  288. package/es/picker-group/style/index.d.ts +1 -0
  289. package/es/picker-group/style/index.mjs +9 -0
  290. package/es/popover/Popover.d.ts +1 -1
  291. package/es/popover/Popover.mjs +2 -1
  292. package/es/popover/index.css +1 -1
  293. package/es/popover/index.d.ts +1 -0
  294. package/es/popover/index.mjs +3 -1
  295. package/es/popup/Popup.d.ts +3 -3
  296. package/es/popup/Popup.mjs +2 -1
  297. package/es/popup/index.css +1 -1
  298. package/es/popup/index.d.ts +3 -2
  299. package/es/popup/index.mjs +3 -1
  300. package/es/popup/shared.mjs +3 -1
  301. package/es/progress/Progress.d.ts +2 -2
  302. package/es/progress/Progress.mjs +2 -1
  303. package/es/progress/index.css +1 -1
  304. package/es/progress/index.d.ts +2 -1
  305. package/es/progress/index.mjs +3 -1
  306. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  307. package/es/pull-refresh/PullRefresh.mjs +2 -1
  308. package/es/pull-refresh/index.css +1 -1
  309. package/es/pull-refresh/index.d.ts +1 -0
  310. package/es/pull-refresh/index.mjs +3 -1
  311. package/es/radio/Radio.d.ts +15 -2
  312. package/es/radio/Radio.mjs +3 -1
  313. package/es/radio/index.css +1 -1
  314. package/es/radio/index.d.ts +1 -0
  315. package/es/radio/index.mjs +3 -1
  316. package/es/radio-group/RadioGroup.d.ts +1 -1
  317. package/es/radio-group/RadioGroup.mjs +2 -1
  318. package/es/radio-group/index.d.ts +1 -0
  319. package/es/radio-group/index.mjs +3 -1
  320. package/es/rate/Rate.d.ts +1 -1
  321. package/es/rate/Rate.mjs +7 -4
  322. package/es/rate/index.css +1 -1
  323. package/es/rate/index.d.ts +1 -0
  324. package/es/rate/index.mjs +3 -1
  325. package/es/row/Row.d.ts +2 -2
  326. package/es/row/Row.mjs +2 -1
  327. package/es/row/index.d.ts +2 -1
  328. package/es/row/index.mjs +3 -1
  329. package/es/search/Search.d.ts +1 -1
  330. package/es/search/Search.mjs +2 -1
  331. package/es/search/index.css +1 -1
  332. package/es/search/index.d.ts +1 -0
  333. package/es/search/index.mjs +3 -1
  334. package/es/share-sheet/ShareSheet.d.ts +1 -1
  335. package/es/share-sheet/ShareSheet.mjs +2 -1
  336. package/es/share-sheet/index.css +1 -1
  337. package/es/share-sheet/index.d.ts +1 -0
  338. package/es/share-sheet/index.mjs +3 -1
  339. package/es/sidebar/Sidebar.d.ts +1 -1
  340. package/es/sidebar/Sidebar.mjs +2 -1
  341. package/es/sidebar/index.css +1 -1
  342. package/es/sidebar/index.d.ts +1 -0
  343. package/es/sidebar/index.mjs +3 -1
  344. package/es/sidebar-item/SidebarItem.d.ts +1 -1
  345. package/es/sidebar-item/SidebarItem.mjs +2 -1
  346. package/es/sidebar-item/index.css +1 -1
  347. package/es/sidebar-item/index.d.ts +1 -0
  348. package/es/sidebar-item/index.mjs +3 -1
  349. package/es/skeleton/Skeleton.d.ts +2 -2
  350. package/es/skeleton/Skeleton.mjs +2 -1
  351. package/es/skeleton/index.css +1 -1
  352. package/es/skeleton/index.d.ts +2 -1
  353. package/es/skeleton/index.mjs +3 -1
  354. package/es/slider/Slider.d.ts +1 -1
  355. package/es/slider/Slider.mjs +8 -3
  356. package/es/slider/index.css +1 -1
  357. package/es/slider/index.d.ts +1 -0
  358. package/es/slider/index.mjs +3 -1
  359. package/es/space/Space.d.ts +2 -2
  360. package/es/space/Space.mjs +2 -1
  361. package/es/space/index.d.ts +2 -1
  362. package/es/space/index.mjs +3 -1
  363. package/es/step/Step.d.ts +1 -1
  364. package/es/step/index.css +1 -1
  365. package/es/step/index.d.ts +1 -1
  366. package/es/stepper/Stepper.d.ts +1 -1
  367. package/es/stepper/Stepper.mjs +2 -1
  368. package/es/stepper/index.css +1 -1
  369. package/es/stepper/index.d.ts +1 -0
  370. package/es/stepper/index.mjs +3 -1
  371. package/es/steps/Steps.d.ts +1 -1
  372. package/es/steps/Steps.mjs +2 -1
  373. package/es/steps/index.css +1 -1
  374. package/es/steps/index.d.ts +1 -0
  375. package/es/steps/index.mjs +3 -1
  376. package/es/sticky/Sticky.d.ts +1 -1
  377. package/es/sticky/Sticky.mjs +2 -1
  378. package/es/sticky/index.css +1 -1
  379. package/es/sticky/index.d.ts +1 -0
  380. package/es/sticky/index.mjs +3 -1
  381. package/es/style/base.css +1 -1
  382. package/es/style/css-variables.css +1 -1
  383. package/es/style/normalize.css +1 -1
  384. package/es/submit-bar/SubmitBar.d.ts +1 -1
  385. package/es/submit-bar/SubmitBar.mjs +2 -1
  386. package/es/submit-bar/index.css +1 -1
  387. package/es/submit-bar/index.d.ts +1 -0
  388. package/es/submit-bar/index.mjs +3 -1
  389. package/es/swipe/Swipe.d.ts +1 -1
  390. package/es/swipe/Swipe.mjs +15 -7
  391. package/es/swipe/index.css +1 -1
  392. package/es/swipe/index.d.ts +1 -0
  393. package/es/swipe/index.mjs +3 -1
  394. package/es/swipe-cell/SwipeCell.d.ts +3 -3
  395. package/es/swipe-cell/SwipeCell.mjs +6 -3
  396. package/es/swipe-cell/index.d.ts +3 -2
  397. package/es/swipe-cell/index.mjs +3 -1
  398. package/es/swipe-item/SwipeItem.d.ts +1 -1
  399. package/es/swipe-item/index.d.ts +1 -1
  400. package/es/switch/Switch.d.ts +1 -1
  401. package/es/switch/Switch.mjs +2 -1
  402. package/es/switch/index.css +1 -1
  403. package/es/switch/index.d.ts +1 -0
  404. package/es/switch/index.mjs +3 -1
  405. package/es/tab/Tab.d.ts +2 -2
  406. package/es/tab/Tab.mjs +2 -1
  407. package/es/tab/index.d.ts +2 -1
  408. package/es/tab/index.mjs +3 -1
  409. package/es/tabbar/Tabbar.d.ts +1 -1
  410. package/es/tabbar/Tabbar.mjs +2 -1
  411. package/es/tabbar/index.css +1 -1
  412. package/es/tabbar/index.d.ts +1 -0
  413. package/es/tabbar/index.mjs +3 -1
  414. package/es/tabbar-item/TabbarItem.d.ts +1 -1
  415. package/es/tabbar-item/TabbarItem.mjs +2 -1
  416. package/es/tabbar-item/index.css +1 -1
  417. package/es/tabbar-item/index.d.ts +1 -0
  418. package/es/tabbar-item/index.mjs +3 -1
  419. package/es/tabs/Tabs.d.ts +1 -1
  420. package/es/tabs/Tabs.mjs +2 -1
  421. package/es/tabs/TabsTitle.d.ts +1 -1
  422. package/es/tabs/index.css +1 -1
  423. package/es/tabs/index.d.ts +1 -0
  424. package/es/tabs/index.mjs +3 -1
  425. package/es/tag/Tag.d.ts +1 -1
  426. package/es/tag/Tag.mjs +2 -1
  427. package/es/tag/index.css +1 -1
  428. package/es/tag/index.d.ts +1 -0
  429. package/es/tag/index.mjs +3 -1
  430. package/es/time-picker/TimePicker.d.ts +7 -4
  431. package/es/time-picker/TimePicker.mjs +2 -1
  432. package/es/time-picker/index.d.ts +5 -2
  433. package/es/time-picker/index.mjs +3 -1
  434. package/es/time-picker/style/index.mjs +7 -0
  435. package/es/toast/Toast.d.ts +1 -1
  436. package/es/toast/Toast.mjs +9 -2
  437. package/es/toast/index.css +1 -1
  438. package/es/toast/index.d.ts +1 -0
  439. package/es/toast/index.mjs +3 -1
  440. package/es/tree-select/TreeSelect.d.ts +1 -1
  441. package/es/tree-select/TreeSelect.mjs +2 -1
  442. package/es/tree-select/index.css +1 -1
  443. package/es/tree-select/index.d.ts +1 -0
  444. package/es/tree-select/index.mjs +3 -1
  445. package/es/uploader/Uploader.d.ts +1 -1
  446. package/es/uploader/Uploader.mjs +2 -1
  447. package/es/uploader/index.css +1 -1
  448. package/es/uploader/index.d.ts +1 -0
  449. package/es/uploader/index.mjs +3 -1
  450. package/es/utils/basic.mjs +2 -1
  451. package/es/utils/create.mjs +8 -2
  452. package/es/utils/with-install.d.ts +2 -2
  453. package/es/utils/with-install.mjs +4 -2
  454. package/lib/action-bar/ActionBar.d.ts +2 -2
  455. package/lib/action-bar/ActionBar.js +1 -0
  456. package/lib/action-bar/index.css +1 -1
  457. package/lib/action-bar/index.d.ts +2 -1
  458. package/lib/action-bar/index.js +6 -1
  459. package/lib/action-bar-button/ActionBarButton.d.ts +2 -2
  460. package/lib/action-bar-button/ActionBarButton.js +1 -0
  461. package/lib/action-bar-button/index.css +1 -1
  462. package/lib/action-bar-button/index.d.ts +2 -1
  463. package/lib/action-bar-button/index.js +6 -1
  464. package/lib/action-bar-icon/ActionBarIcon.d.ts +2 -2
  465. package/lib/action-bar-icon/ActionBarIcon.js +1 -0
  466. package/lib/action-bar-icon/index.css +1 -1
  467. package/lib/action-bar-icon/index.d.ts +2 -1
  468. package/lib/action-bar-icon/index.js +6 -1
  469. package/lib/action-sheet/ActionSheet.d.ts +1 -1
  470. package/lib/action-sheet/ActionSheet.js +1 -0
  471. package/lib/action-sheet/index.css +1 -1
  472. package/lib/action-sheet/index.d.ts +1 -0
  473. package/lib/action-sheet/index.js +6 -1
  474. package/lib/address-edit/AddressEdit.d.ts +1 -1
  475. package/lib/address-edit/AddressEdit.js +5 -1
  476. package/lib/address-edit/index.css +1 -1
  477. package/lib/address-edit/index.d.ts +1 -0
  478. package/lib/address-edit/index.js +6 -1
  479. package/lib/address-edit/style/index.js +7 -1
  480. package/lib/address-list/AddressList.d.ts +1 -1
  481. package/lib/address-list/AddressList.js +5 -1
  482. package/lib/address-list/index.css +1 -1
  483. package/lib/address-list/index.d.ts +1 -0
  484. package/lib/address-list/index.js +6 -1
  485. package/lib/area/Area.d.ts +7 -4
  486. package/lib/area/Area.js +1 -0
  487. package/lib/area/index.d.ts +5 -2
  488. package/lib/area/index.js +6 -1
  489. package/lib/area/style/index.js +7 -0
  490. package/lib/area/utils.js +9 -2
  491. package/lib/badge/Badge.d.ts +2 -2
  492. package/lib/badge/Badge.js +1 -0
  493. package/lib/badge/index.css +1 -1
  494. package/lib/badge/index.d.ts +2 -1
  495. package/lib/badge/index.js +6 -1
  496. package/lib/button/Button.d.ts +1 -1
  497. package/lib/button/Button.js +1 -0
  498. package/lib/button/index.css +1 -1
  499. package/lib/button/index.d.ts +1 -0
  500. package/lib/button/index.js +6 -1
  501. package/lib/calendar/Calendar.d.ts +1 -1
  502. package/lib/calendar/Calendar.js +9 -4
  503. package/lib/calendar/CalendarMonth.js +4 -1
  504. package/lib/calendar/index.css +1 -1
  505. package/lib/calendar/index.d.ts +1 -0
  506. package/lib/calendar/index.js +6 -1
  507. package/lib/calendar/style/index.js +7 -1
  508. package/lib/card/Card.d.ts +1 -1
  509. package/lib/card/Card.js +1 -0
  510. package/lib/card/index.css +1 -1
  511. package/lib/card/index.d.ts +1 -0
  512. package/lib/card/index.js +6 -1
  513. package/lib/cascader/Cascader.d.ts +1 -1
  514. package/lib/cascader/Cascader.js +1 -0
  515. package/lib/cascader/index.css +1 -1
  516. package/lib/cascader/index.d.ts +1 -0
  517. package/lib/cascader/index.js +6 -1
  518. package/lib/cell/Cell.d.ts +2 -2
  519. package/lib/cell/Cell.js +1 -0
  520. package/lib/cell/index.css +1 -1
  521. package/lib/cell/index.d.ts +2 -1
  522. package/lib/cell/index.js +6 -1
  523. package/lib/cell-group/CellGroup.d.ts +2 -2
  524. package/lib/cell-group/CellGroup.js +1 -0
  525. package/lib/cell-group/index.css +1 -1
  526. package/lib/cell-group/index.d.ts +2 -1
  527. package/lib/cell-group/index.js +6 -1
  528. package/lib/checkbox/Checkbox.d.ts +1 -1
  529. package/lib/checkbox/Checkbox.js +5 -1
  530. package/lib/checkbox/index.css +1 -1
  531. package/lib/checkbox/index.d.ts +1 -0
  532. package/lib/checkbox/index.js +6 -1
  533. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  534. package/lib/checkbox-group/CheckboxGroup.js +1 -0
  535. package/lib/checkbox-group/index.d.ts +1 -0
  536. package/lib/checkbox-group/index.js +6 -1
  537. package/lib/circle/Circle.d.ts +1 -1
  538. package/lib/circle/Circle.js +1 -0
  539. package/lib/circle/index.css +1 -1
  540. package/lib/circle/index.d.ts +1 -0
  541. package/lib/circle/index.js +6 -1
  542. package/lib/col/Col.d.ts +2 -2
  543. package/lib/col/Col.js +1 -0
  544. package/lib/col/index.d.ts +2 -1
  545. package/lib/col/index.js +6 -1
  546. package/lib/collapse/Collapse.d.ts +1 -1
  547. package/lib/collapse/Collapse.js +1 -0
  548. package/lib/collapse/index.d.ts +1 -0
  549. package/lib/collapse/index.js +6 -1
  550. package/lib/collapse-item/CollapseItem.d.ts +2 -2
  551. package/lib/collapse-item/CollapseItem.js +1 -0
  552. package/lib/collapse-item/index.css +1 -1
  553. package/lib/collapse-item/index.d.ts +2 -1
  554. package/lib/collapse-item/index.js +6 -1
  555. package/lib/composables/use-lazy-render.js +9 -5
  556. package/lib/composables/use-lock-scroll.js +4 -1
  557. package/lib/composables/use-visibility-change.js +6 -3
  558. package/lib/config-provider/ConfigProvider.d.ts +2 -2
  559. package/lib/config-provider/ConfigProvider.js +3 -2
  560. package/lib/config-provider/index.d.ts +2 -1
  561. package/lib/config-provider/index.js +6 -1
  562. package/lib/contact-card/ContactCard.d.ts +1 -1
  563. package/lib/contact-card/ContactCard.js +1 -0
  564. package/lib/contact-card/index.css +1 -1
  565. package/lib/contact-card/index.d.ts +1 -0
  566. package/lib/contact-card/index.js +6 -1
  567. package/lib/contact-edit/ContactEdit.d.ts +1 -1
  568. package/lib/contact-edit/ContactEdit.js +1 -0
  569. package/lib/contact-edit/index.css +1 -1
  570. package/lib/contact-edit/index.d.ts +1 -0
  571. package/lib/contact-edit/index.js +6 -1
  572. package/lib/contact-list/ContactList.d.ts +1 -1
  573. package/lib/contact-list/ContactList.js +1 -0
  574. package/lib/contact-list/index.css +1 -1
  575. package/lib/contact-list/index.d.ts +1 -0
  576. package/lib/contact-list/index.js +6 -1
  577. package/lib/count-down/CountDown.d.ts +1 -1
  578. package/lib/count-down/CountDown.js +1 -0
  579. package/lib/count-down/index.css +1 -1
  580. package/lib/count-down/index.d.ts +1 -0
  581. package/lib/count-down/index.js +6 -1
  582. package/lib/coupon/Coupon.d.ts +1 -1
  583. package/lib/coupon/index.css +1 -1
  584. package/lib/coupon/index.d.ts +1 -1
  585. package/lib/coupon/index.js +4 -1
  586. package/lib/coupon/utils.js +3 -1
  587. package/lib/coupon-cell/CouponCell.d.ts +2 -2
  588. package/lib/coupon-cell/CouponCell.js +1 -0
  589. package/lib/coupon-cell/index.css +1 -1
  590. package/lib/coupon-cell/index.d.ts +2 -1
  591. package/lib/coupon-cell/index.js +6 -1
  592. package/lib/coupon-list/CouponList.d.ts +1 -1
  593. package/lib/coupon-list/CouponList.js +1 -0
  594. package/lib/coupon-list/index.css +1 -1
  595. package/lib/coupon-list/index.d.ts +1 -0
  596. package/lib/coupon-list/index.js +6 -1
  597. package/lib/coupon-list/style/index.js +3 -3
  598. package/lib/date-picker/DatePicker.d.ts +7 -4
  599. package/lib/date-picker/DatePicker.js +11 -10
  600. package/lib/date-picker/index.d.ts +5 -2
  601. package/lib/date-picker/index.js +6 -1
  602. package/lib/date-picker/style/index.js +7 -0
  603. package/lib/date-picker/utils.d.ts +2 -1
  604. package/lib/dialog/Dialog.d.ts +1 -1
  605. package/lib/dialog/Dialog.js +2 -1
  606. package/lib/dialog/function-call.js +4 -1
  607. package/lib/dialog/index.css +1 -1
  608. package/lib/dialog/index.d.ts +1 -0
  609. package/lib/dialog/index.js +6 -1
  610. package/lib/dialog/types.d.ts +1 -1
  611. package/lib/divider/Divider.d.ts +2 -2
  612. package/lib/divider/Divider.js +2 -1
  613. package/lib/divider/index.css +1 -1
  614. package/lib/divider/index.d.ts +2 -1
  615. package/lib/divider/index.js +7 -2
  616. package/lib/dropdown-item/DropdownItem.d.ts +3 -3
  617. package/lib/dropdown-item/DropdownItem.js +2 -1
  618. package/lib/dropdown-item/index.css +1 -1
  619. package/lib/dropdown-item/index.d.ts +3 -2
  620. package/lib/dropdown-item/index.js +7 -2
  621. package/lib/dropdown-menu/DropdownMenu.d.ts +2 -2
  622. package/lib/dropdown-menu/DropdownMenu.js +2 -1
  623. package/lib/dropdown-menu/index.css +1 -1
  624. package/lib/dropdown-menu/index.d.ts +2 -1
  625. package/lib/dropdown-menu/index.js +7 -2
  626. package/lib/empty/Empty.d.ts +2 -2
  627. package/lib/empty/Empty.js +2 -1
  628. package/lib/empty/index.css +1 -1
  629. package/lib/empty/index.d.ts +2 -1
  630. package/lib/empty/index.js +7 -2
  631. package/lib/field/Field.d.ts +1 -1
  632. package/lib/field/Field.js +10 -2
  633. package/lib/field/index.css +1 -1
  634. package/lib/field/index.d.ts +1 -0
  635. package/lib/field/index.js +7 -2
  636. package/lib/form/Form.d.ts +1 -1
  637. package/lib/form/Form.js +2 -1
  638. package/lib/form/index.d.ts +1 -0
  639. package/lib/form/index.js +7 -2
  640. package/lib/grid/Grid.d.ts +2 -2
  641. package/lib/grid/Grid.js +2 -1
  642. package/lib/grid/index.d.ts +2 -1
  643. package/lib/grid/index.js +7 -2
  644. package/lib/grid-item/GridItem.d.ts +2 -2
  645. package/lib/grid-item/GridItem.js +2 -1
  646. package/lib/grid-item/index.css +1 -1
  647. package/lib/grid-item/index.d.ts +2 -1
  648. package/lib/grid-item/index.js +7 -2
  649. package/lib/icon/Icon.d.ts +2 -2
  650. package/lib/icon/Icon.js +2 -1
  651. package/lib/icon/index.d.ts +2 -1
  652. package/lib/icon/index.js +7 -2
  653. package/lib/image/Image.d.ts +5 -1
  654. package/lib/image/Image.js +5 -2
  655. package/lib/image/index.css +1 -1
  656. package/lib/image/index.d.ts +4 -0
  657. package/lib/image/index.js +7 -2
  658. package/lib/image-preview/ImagePreview.d.ts +1 -1
  659. package/lib/image-preview/ImagePreview.js +6 -2
  660. package/lib/image-preview/ImagePreviewItem.js +9 -1
  661. package/lib/image-preview/function-call.js +4 -1
  662. package/lib/image-preview/index.css +1 -1
  663. package/lib/image-preview/index.d.ts +1 -0
  664. package/lib/image-preview/index.js +6 -1
  665. package/lib/index-anchor/IndexAnchor.d.ts +2 -2
  666. package/lib/index-anchor/IndexAnchor.js +2 -1
  667. package/lib/index-anchor/index.css +1 -1
  668. package/lib/index-anchor/index.d.ts +2 -1
  669. package/lib/index-anchor/index.js +7 -2
  670. package/lib/index-bar/IndexBar.d.ts +1 -1
  671. package/lib/index-bar/IndexBar.js +9 -4
  672. package/lib/index-bar/index.css +1 -1
  673. package/lib/index-bar/index.d.ts +1 -0
  674. package/lib/index-bar/index.js +7 -2
  675. package/lib/index.css +1 -1
  676. package/lib/index.d.ts +2 -1
  677. package/lib/index.js +4 -1
  678. package/lib/lazyload/vue-lazyload/index.js +4 -1
  679. package/lib/lazyload/vue-lazyload/lazy-component.js +4 -1
  680. package/lib/lazyload/vue-lazyload/lazy-container.js +11 -7
  681. package/lib/lazyload/vue-lazyload/lazy-image.js +24 -14
  682. package/lib/lazyload/vue-lazyload/lazy.js +15 -4
  683. package/lib/lazyload/vue-lazyload/listener.js +45 -33
  684. package/lib/lazyload/vue-lazyload/util.js +4 -1
  685. package/lib/list/List.d.ts +1 -1
  686. package/lib/list/List.js +2 -1
  687. package/lib/list/index.css +1 -1
  688. package/lib/list/index.d.ts +1 -0
  689. package/lib/list/index.js +7 -2
  690. package/lib/loading/Loading.d.ts +2 -2
  691. package/lib/loading/Loading.js +2 -1
  692. package/lib/loading/index.css +1 -1
  693. package/lib/loading/index.d.ts +2 -1
  694. package/lib/loading/index.js +7 -2
  695. package/lib/locale/index.js +4 -1
  696. package/lib/nav-bar/NavBar.d.ts +1 -1
  697. package/lib/nav-bar/NavBar.js +2 -1
  698. package/lib/nav-bar/index.css +1 -1
  699. package/lib/nav-bar/index.d.ts +1 -0
  700. package/lib/nav-bar/index.js +7 -2
  701. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  702. package/lib/notice-bar/NoticeBar.js +2 -1
  703. package/lib/notice-bar/index.css +1 -1
  704. package/lib/notice-bar/index.d.ts +1 -0
  705. package/lib/notice-bar/index.js +7 -2
  706. package/lib/notify/Notify.d.ts +1 -1
  707. package/lib/notify/Notify.js +2 -1
  708. package/lib/notify/function-call.js +4 -1
  709. package/lib/notify/index.css +1 -1
  710. package/lib/notify/index.d.ts +1 -0
  711. package/lib/notify/index.js +6 -1
  712. package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
  713. package/lib/number-keyboard/NumberKeyboard.js +6 -2
  714. package/lib/number-keyboard/index.css +1 -1
  715. package/lib/number-keyboard/index.d.ts +2 -1
  716. package/lib/number-keyboard/index.js +7 -2
  717. package/lib/overlay/Overlay.d.ts +2 -2
  718. package/lib/overlay/Overlay.js +13 -5
  719. package/lib/overlay/index.css +1 -1
  720. package/lib/overlay/index.d.ts +2 -1
  721. package/lib/overlay/index.js +7 -2
  722. package/lib/pagination/Pagination.d.ts +1 -1
  723. package/lib/pagination/Pagination.js +2 -1
  724. package/lib/pagination/index.css +1 -1
  725. package/lib/pagination/index.d.ts +1 -0
  726. package/lib/pagination/index.js +7 -2
  727. package/lib/password-input/PasswordInput.d.ts +1 -1
  728. package/lib/password-input/PasswordInput.js +2 -1
  729. package/lib/password-input/index.css +1 -1
  730. package/lib/password-input/index.d.ts +1 -0
  731. package/lib/password-input/index.js +7 -2
  732. package/lib/picker/Picker.d.ts +9 -5
  733. package/lib/picker/Picker.js +53 -71
  734. package/lib/picker/PickerColumn.js +5 -1
  735. package/lib/picker/PickerToolbar.d.ts +21 -0
  736. package/lib/picker/PickerToolbar.js +78 -0
  737. package/lib/picker/index.css +1 -1
  738. package/lib/picker/index.d.ts +5 -2
  739. package/lib/picker/index.js +7 -2
  740. package/lib/picker/style/index.js +7 -0
  741. package/lib/picker/utils.d.ts +2 -0
  742. package/lib/picker/utils.js +15 -8
  743. package/lib/picker-group/PickerGroup.d.ts +39 -0
  744. package/lib/picker-group/PickerGroup.js +82 -0
  745. package/lib/picker-group/index.css +1 -0
  746. package/lib/picker-group/index.d.ts +33 -0
  747. package/lib/picker-group/index.js +35 -0
  748. package/lib/picker-group/style/index.d.ts +1 -0
  749. package/lib/picker-group/style/index.js +9 -0
  750. package/lib/popover/Popover.d.ts +1 -1
  751. package/lib/popover/Popover.js +2 -1
  752. package/lib/popover/index.css +1 -1
  753. package/lib/popover/index.d.ts +1 -0
  754. package/lib/popover/index.js +7 -2
  755. package/lib/popup/Popup.d.ts +3 -3
  756. package/lib/popup/Popup.js +2 -1
  757. package/lib/popup/index.css +1 -1
  758. package/lib/popup/index.d.ts +3 -2
  759. package/lib/popup/index.js +7 -2
  760. package/lib/popup/shared.js +3 -1
  761. package/lib/progress/Progress.d.ts +2 -2
  762. package/lib/progress/Progress.js +2 -1
  763. package/lib/progress/index.css +1 -1
  764. package/lib/progress/index.d.ts +2 -1
  765. package/lib/progress/index.js +7 -2
  766. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  767. package/lib/pull-refresh/PullRefresh.js +2 -1
  768. package/lib/pull-refresh/index.css +1 -1
  769. package/lib/pull-refresh/index.d.ts +1 -0
  770. package/lib/pull-refresh/index.js +7 -2
  771. package/lib/radio/Radio.d.ts +15 -2
  772. package/lib/radio/Radio.js +7 -2
  773. package/lib/radio/index.css +1 -1
  774. package/lib/radio/index.d.ts +1 -0
  775. package/lib/radio/index.js +7 -2
  776. package/lib/radio-group/RadioGroup.d.ts +1 -1
  777. package/lib/radio-group/RadioGroup.js +2 -1
  778. package/lib/radio-group/index.d.ts +1 -0
  779. package/lib/radio-group/index.js +7 -2
  780. package/lib/rate/Rate.d.ts +1 -1
  781. package/lib/rate/Rate.js +6 -3
  782. package/lib/rate/index.css +1 -1
  783. package/lib/rate/index.d.ts +1 -0
  784. package/lib/rate/index.js +7 -2
  785. package/lib/row/Row.d.ts +2 -2
  786. package/lib/row/Row.js +2 -1
  787. package/lib/row/index.d.ts +2 -1
  788. package/lib/row/index.js +7 -2
  789. package/lib/search/Search.d.ts +1 -1
  790. package/lib/search/Search.js +2 -1
  791. package/lib/search/index.css +1 -1
  792. package/lib/search/index.d.ts +1 -0
  793. package/lib/search/index.js +7 -2
  794. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  795. package/lib/share-sheet/ShareSheet.js +2 -1
  796. package/lib/share-sheet/index.css +1 -1
  797. package/lib/share-sheet/index.d.ts +1 -0
  798. package/lib/share-sheet/index.js +7 -2
  799. package/lib/sidebar/Sidebar.d.ts +1 -1
  800. package/lib/sidebar/Sidebar.js +2 -1
  801. package/lib/sidebar/index.css +1 -1
  802. package/lib/sidebar/index.d.ts +1 -0
  803. package/lib/sidebar/index.js +7 -2
  804. package/lib/sidebar-item/SidebarItem.d.ts +1 -1
  805. package/lib/sidebar-item/SidebarItem.js +2 -1
  806. package/lib/sidebar-item/index.css +1 -1
  807. package/lib/sidebar-item/index.d.ts +1 -0
  808. package/lib/sidebar-item/index.js +7 -2
  809. package/lib/skeleton/Skeleton.d.ts +2 -2
  810. package/lib/skeleton/Skeleton.js +2 -1
  811. package/lib/skeleton/index.css +1 -1
  812. package/lib/skeleton/index.d.ts +2 -1
  813. package/lib/skeleton/index.js +7 -2
  814. package/lib/slider/Slider.d.ts +1 -1
  815. package/lib/slider/Slider.js +7 -2
  816. package/lib/slider/index.css +1 -1
  817. package/lib/slider/index.d.ts +1 -0
  818. package/lib/slider/index.js +7 -2
  819. package/lib/space/Space.d.ts +2 -2
  820. package/lib/space/Space.js +2 -1
  821. package/lib/space/index.d.ts +2 -1
  822. package/lib/space/index.js +7 -2
  823. package/lib/step/Step.d.ts +1 -1
  824. package/lib/step/index.css +1 -1
  825. package/lib/step/index.d.ts +1 -1
  826. package/lib/step/index.js +4 -1
  827. package/lib/stepper/Stepper.d.ts +1 -1
  828. package/lib/stepper/Stepper.js +2 -1
  829. package/lib/stepper/index.css +1 -1
  830. package/lib/stepper/index.d.ts +1 -0
  831. package/lib/stepper/index.js +7 -2
  832. package/lib/steps/Steps.d.ts +1 -1
  833. package/lib/steps/Steps.js +2 -1
  834. package/lib/steps/index.css +1 -1
  835. package/lib/steps/index.d.ts +1 -0
  836. package/lib/steps/index.js +7 -2
  837. package/lib/sticky/Sticky.d.ts +1 -1
  838. package/lib/sticky/Sticky.js +2 -1
  839. package/lib/sticky/index.css +1 -1
  840. package/lib/sticky/index.d.ts +1 -0
  841. package/lib/sticky/index.js +7 -2
  842. package/lib/style/base.css +1 -1
  843. package/lib/style/css-variables.css +1 -1
  844. package/lib/style/normalize.css +1 -1
  845. package/lib/submit-bar/SubmitBar.d.ts +1 -1
  846. package/lib/submit-bar/SubmitBar.js +2 -1
  847. package/lib/submit-bar/index.css +1 -1
  848. package/lib/submit-bar/index.d.ts +1 -0
  849. package/lib/submit-bar/index.js +7 -2
  850. package/lib/swipe/Swipe.d.ts +1 -1
  851. package/lib/swipe/Swipe.js +14 -6
  852. package/lib/swipe/index.css +1 -1
  853. package/lib/swipe/index.d.ts +1 -0
  854. package/lib/swipe/index.js +7 -2
  855. package/lib/swipe-cell/SwipeCell.d.ts +3 -3
  856. package/lib/swipe-cell/SwipeCell.js +5 -2
  857. package/lib/swipe-cell/index.d.ts +3 -2
  858. package/lib/swipe-cell/index.js +7 -2
  859. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  860. package/lib/swipe-item/index.d.ts +1 -1
  861. package/lib/swipe-item/index.js +4 -1
  862. package/lib/switch/Switch.d.ts +1 -1
  863. package/lib/switch/Switch.js +2 -1
  864. package/lib/switch/index.css +1 -1
  865. package/lib/switch/index.d.ts +1 -0
  866. package/lib/switch/index.js +7 -2
  867. package/lib/tab/Tab.d.ts +2 -2
  868. package/lib/tab/Tab.js +2 -1
  869. package/lib/tab/index.d.ts +2 -1
  870. package/lib/tab/index.js +7 -2
  871. package/lib/tabbar/Tabbar.d.ts +1 -1
  872. package/lib/tabbar/Tabbar.js +2 -1
  873. package/lib/tabbar/index.css +1 -1
  874. package/lib/tabbar/index.d.ts +1 -0
  875. package/lib/tabbar/index.js +7 -2
  876. package/lib/tabbar-item/TabbarItem.d.ts +1 -1
  877. package/lib/tabbar-item/TabbarItem.js +2 -1
  878. package/lib/tabbar-item/index.css +1 -1
  879. package/lib/tabbar-item/index.d.ts +1 -0
  880. package/lib/tabbar-item/index.js +7 -2
  881. package/lib/tabs/Tabs.d.ts +1 -1
  882. package/lib/tabs/Tabs.js +6 -2
  883. package/lib/tabs/TabsTitle.d.ts +1 -1
  884. package/lib/tabs/index.css +1 -1
  885. package/lib/tabs/index.d.ts +1 -0
  886. package/lib/tabs/index.js +7 -2
  887. package/lib/tag/Tag.d.ts +1 -1
  888. package/lib/tag/Tag.js +2 -1
  889. package/lib/tag/index.css +1 -1
  890. package/lib/tag/index.d.ts +1 -0
  891. package/lib/tag/index.js +7 -2
  892. package/lib/time-picker/TimePicker.d.ts +7 -4
  893. package/lib/time-picker/TimePicker.js +2 -1
  894. package/lib/time-picker/index.d.ts +5 -2
  895. package/lib/time-picker/index.js +7 -2
  896. package/lib/time-picker/style/index.js +7 -0
  897. package/lib/toast/Toast.d.ts +1 -1
  898. package/lib/toast/Toast.js +9 -2
  899. package/lib/toast/function-call.js +4 -1
  900. package/lib/toast/index.css +1 -1
  901. package/lib/toast/index.d.ts +1 -0
  902. package/lib/toast/index.js +7 -2
  903. package/lib/tree-select/TreeSelect.d.ts +1 -1
  904. package/lib/tree-select/TreeSelect.js +2 -1
  905. package/lib/tree-select/index.css +1 -1
  906. package/lib/tree-select/index.d.ts +1 -0
  907. package/lib/tree-select/index.js +7 -2
  908. package/lib/uploader/Uploader.d.ts +1 -1
  909. package/lib/uploader/Uploader.js +6 -2
  910. package/lib/uploader/index.css +1 -1
  911. package/lib/uploader/index.d.ts +1 -0
  912. package/lib/uploader/index.js +7 -2
  913. package/lib/utils/basic.js +2 -1
  914. package/lib/utils/create.js +12 -3
  915. package/lib/utils/with-install.d.ts +2 -2
  916. package/lib/utils/with-install.js +4 -2
  917. package/lib/vant.cjs.js +4481 -4198
  918. package/lib/vant.es.js +4483 -4200
  919. package/lib/vant.js +4509 -4209
  920. package/lib/vant.min.js +1 -1
  921. package/lib/web-types.json +2445 -2370
  922. package/package.json +9 -9
@@ -1,291 +1,47 @@
1
- ### [v4.0.0-beta.1](https://github.com/vant-ui/vant/compare/v3.6.0...v4.0.0-beta.1)
1
+ ### [v4.0.0-rc.2](https://github.com/vant-ui/vant/compare/v4.0.0-rc.1...v4.0.0-rc.2)
2
2
 
3
- `2022-08-24`
3
+ `2022-09-11`
4
4
 
5
5
  **Bug Fixes**
6
6
 
7
- - ConfigProvider: should remove theme class on unmount [#10898](https://github.com/vant-ui/vant/issues/10898)
8
- - reduce passive event warning of touchstart event [#10954](https://github.com/vant-ui/vant/issues/10954)
9
- - Tabs: resize not work for swipeable tabs [#10964](https://github.com/vant-ui/vant/issues/10964)
7
+ - attach css variables to :root element [#11026](https://github.com/vant-ui/vant/issues/11026)
8
+ - Dialog: incorrect transform behavior [#11028](https://github.com/vant-ui/vant/issues/11028)
10
9
 
11
10
  **Document**
12
11
 
13
- - add babel-plugin-import migration guide [#10867](https://github.com/vant-ui/vant/issues/10867)
14
- - add faq of remove babel-plugin-import [#10942](https://github.com/vant-ui/vant/issues/10942)
15
- - changelog: 4.0.0-beta.0 [#10825](https://github.com/vant-ui/vant/issues/10825)
16
- - changelog: vant@3.6.0 [667034](https://github.com/vant-ui/vant/commit/667034322ed4e1c39fd014e83d8661a1ff891ee0)
17
- - fix link address in migrate-from-v3.md [#10919](https://github.com/vant-ui/vant/issues/10919)
18
- - Icon: separate usingUrl demo from basicUsage [#10828](https://github.com/vant-ui/vant/issues/10828)
19
- - ImagePreview: fix cell style in demo [0881de](https://github.com/vant-ui/vant/commit/0881de82af347002c3f37bba5e2f89aacdeadc16)
20
- - NoticeBar: disable swipe drag in demo [#10950](https://github.com/vant-ui/vant/issues/10950)
21
-
22
- - Restore "fix(Popup&Toast): invalid adaptive width (#10961)" [#10961](https://github.com/vant-ui/vant/issues/10961)
23
-
24
- **Feature**
25
-
26
- - ConfigProvider: add theme-vars-dark and theme-vars-light props [#10939](https://github.com/vant-ui/vant/issues/10939)
27
- - Picker: add clickOption event [#10865](https://github.com/vant-ui/vant/issues/10865)
28
- - Popup: improve style when position is center [#10965](https://github.com/vant-ui/vant/issues/10965)
29
-
30
- **perf**
31
-
32
- - add correct passive flag to improve scroll performance [#10951](https://github.com/vant-ui/vant/issues/10951)
33
-
34
- **Types**
35
-
36
- - @vant/use: improve useEventListener typing [#10952](https://github.com/vant-ui/vant/issues/10952)
37
- ### [v4.0.0-beta.0](https://github.com/vant-ui/vant/compare/v3.5.2...v4.0.0-beta.0)
38
-
39
- `2022-07-16`
40
-
41
- **Document**
42
-
43
- - changelog: 4.0.0-alpha.4 [635194](https://github.com/vant-ui/vant/commit/63519433f12d4b1a17191c83df1dd928f5909542)
44
-
45
- **Feature**
46
-
47
- - add @vant/compat package [#10806](https://github.com/vant-ui/vant/issues/10806)
48
-
49
- **perf**
50
-
51
- - remove less source file to remove bundle size [#10752](https://github.com/vant-ui/vant/issues/10752)
52
-
53
- **refactor**
54
-
55
- - Dialog: redesign function-call API [#10781](https://github.com/vant-ui/vant/issues/10781)
56
- - ImagePreview: redesign function-call API [#10802](https://github.com/vant-ui/vant/issues/10802)
57
- - Notify: redesign function-call API [#10782](https://github.com/vant-ui/vant/issues/10782)
58
- - Toast: redesign function-call API [#10804](https://github.com/vant-ui/vant/issues/10804)
59
-
60
- **release**
61
-
62
- - 4.0.0-beta.0 [151427](https://github.com/vant-ui/vant/commit/15142770f226f4e2834c42bf076dfd683a53202d)
63
- ### [v4.0.0-alpha.4](https://github.com/vant-ui/vant/compare/v3.5.0-beta.0...v4.0.0-alpha.4)
64
-
65
- `2022-05-31`
66
-
67
- **Document**
68
-
69
- - changelog: 4.0.0-alpha.3 [fe2115](https://github.com/vant-ui/vant/commit/fe2115ee5c1e86f006858bc930219313afb46747)
70
-
71
- **Feature**
72
-
73
- - using mjs extension for esmodule [#10625](https://github.com/vant-ui/vant/issues/10625)
74
-
75
- **release**
76
-
77
- - 4.0.0-alpha.4 [1f19fb](https://github.com/vant-ui/vant/commit/1f19fb0d9f91317e799f4ce8f017f56841dad6e6)
78
- ### [v4.0.0-alpha.3](https://github.com/vant-ui/vant/compare/v3.4.9...v4.0.0-alpha.3)
79
-
80
- `2022-05-02`
81
-
82
- **Bug Fixes**
83
-
84
- - Search: style error in dark mode [#10527](https://github.com/vant-ui/vant/issues/10527)
85
-
86
- **Document**
87
-
88
- - changelog: 4.0.0-alpha.2 [912a5f](https://github.com/vant-ui/vant/commit/912a5f17b1b429baa063de91c68a8bf6650b1189)
89
-
90
- **release**
91
-
92
- - 4.0.0-alpha.3 [bc60f5](https://github.com/vant-ui/vant/commit/bc60f5116bd832c599ec8ba43b58daece4abe280)
93
- ### [v4.0.0-alpha.2](https://github.com/vant-ui/vant/compare/v3.4.8...v4.0.0-alpha.2)
94
-
95
- `2022-04-16`
96
-
97
- **Document**
98
-
99
- - changelog: 4.0.0-alpha.1 [5bff9e](https://github.com/vant-ui/vant/commit/5bff9e8c5ff4716740c7555ef185163569f7576c)
100
-
101
- - breaking change(AddressEdit): remove postal [e08e98](https://github.com/vant-ui/vant/commit/e08e9845a29b8d5587f02eff84368e32157678f4)
102
-
103
- **release**
104
-
105
- - 4.0.0-alpha.2 [ea57c9](https://github.com/vant-ui/vant/commit/ea57c9e9ffc10847ac31e1c6b6dac8f81c4abb22)
106
- ### [v4.0.0-alpha.1](https://github.com/vant-ui/vant/compare/v3.4.6...v4.0.0-alpha.1)
107
-
108
- `2022-03-19`
109
-
110
- **Bug Fixes**
111
-
112
- - Calendar, Picker: Fix calendar and picker's title color in dark mode [#10403](https://github.com/vant-ui/vant/issues/10403)
113
- - ConfigProvider: dark mode not work as default value [#10413](https://github.com/vant-ui/vant/issues/10413)
114
- - DatePicker: failed to update model value [#10415](https://github.com/vant-ui/vant/issues/10415)
115
- - Dialog: Fix dialog title and message color in dark mode [#10379](https://github.com/vant-ui/vant/issues/10379)
116
-
117
- **build**
118
-
119
- - deploy v4 site [06199f](https://github.com/vant-ui/vant/commit/06199faf2c170bcd95e6aa49b51d981373ac42a6)
120
- - fix workflow name [992eea](https://github.com/vant-ui/vant/commit/992eea3eeb8758942d40f9b893d0ff41c296c3ea)
121
-
122
- **Document**
123
-
124
- - DatePicker: fix formatter usage [#10416](https://github.com/vant-ui/vant/issues/10416)
125
- - fix publicPath [db2e6c](https://github.com/vant-ui/vant/commit/db2e6ca12f75ee0db3b25cd1f9766f9e74e285f6)
126
- - Picker: add v-model usage [#10417](https://github.com/vant-ui/vant/issues/10417)
127
- - update [3a1e79](https://github.com/vant-ui/vant/commit/3a1e792e3151861e0ed780baa67823729db6a8a6)
128
- - update 4.0.0-alpha changelog [#10339](https://github.com/vant-ui/vant/issues/10339)
129
-
130
- **release**
131
-
132
- - 4.0.0-alpha.1 [475d10](https://github.com/vant-ui/vant/commit/475d108ccb0f09dc09269751bd1bc15d1ea2ed0a)
133
- ### [v4.0.0-alpha.0](https://github.com/vant-ui/vant/compare/v3.4.5...v4.0.0-alpha.0)
134
-
135
- `2022-02-21`
136
-
137
- **Bug Fixes**
138
-
139
- - AddressEdit: selectedOption maybe undefined [3979dd](https://github.com/vant-ui/vant/commit/3979ddc40af1325f5cc7889c6f0f277ccdb110c9)
140
- - Area: allow to reset modelValue [8d49b8](https://github.com/vant-ui/vant/commit/8d49b88748c6bd36437628ab0242352dc0ba5159)
141
- - DatePicker: allow modelValue to be empty [980f97](https://github.com/vant-ui/vant/commit/980f9760112958a2bd5c1e88a410e4c15636658a)
142
- - Picker: currentColumns calculation [113e1b](https://github.com/vant-ui/vant/commit/113e1b7a6239c3097956e8692cb512e8ccecccb8)
143
- - Picker: error when options is empty [018621](https://github.com/vant-ui/vant/commit/0186219586b75227bf69ce0e514c3ed94c52e1cc)
144
- - Picker: failed to update modelValue [ff69fd](https://github.com/vant-ui/vant/commit/ff69fdacc7dd9bcf6bd17c4a493902d027644d92)
145
- - Picker: fix some bugs [22654b](https://github.com/vant-ui/vant/commit/22654bf518cc21e45cf9ed5e597f5d5e1f411a17)
146
- - Picker: option.className not work [d16075](https://github.com/vant-ui/vant/commit/d16075f39efbd7aeed4feab08cd4587bc73eb54c)
147
- - Picker: should update modelValue immediately [e61bd4](https://github.com/vant-ui/vant/commit/e61bd487fa81533a6deb6c8aa52e92a549a000a4)
148
- - Picker: should update selectedValues correctly [2a8bb8](https://github.com/vant-ui/vant/commit/2a8bb86fbb7d65f9ddc053de8bc3c9c1175d3dff)
149
- - TimePicker: remove columns-order prop [7d22cc](https://github.com/vant-ui/vant/commit/7d22cc2155bef564ee910498d2f8f319ef601a41)
150
- - TimePicker: should update modelValue immediately [7dae50](https://github.com/vant-ui/vant/commit/7dae50b0c9809e17448264752de831504f7f084d)
151
- - vant-cli: pnpm compatibility [#10214](https://github.com/vant-ui/vant/issues/10214)
152
-
153
- **Document**
154
-
155
- - @vant/cli: changelog 4.0.0-rc.6 [fda3f1](https://github.com/vant-ui/vant/commit/fda3f1be9403c68bcc734ae08c760af3d0df6fa1)
156
- - Area: update documents [a9baa3](https://github.com/vant-ui/vant/commit/a9baa3b2d188a16637acc1051fb554142408315b)
157
- - dark mode [d4584a](https://github.com/vant-ui/vant/commit/d4584aafda247ad4d520afc063cd6a74f8d7ee4c)
158
- - DatePicker: fix currentDate of year-month [c942ef](https://github.com/vant-ui/vant/commit/c942efb76b53885a66de5291c86ca1160713cfb3)
159
- - docsearch version v4 [15e746](https://github.com/vant-ui/vant/commit/15e7461a93a32c7a0e43e46955adc45d845bc064)
160
- - Form: fix demo [7deba8](https://github.com/vant-ui/vant/commit/7deba88b918f74d68b7880621983f2ad2d8eb549)
161
- - Form: fix Picker demo [9cfef0](https://github.com/vant-ui/vant/commit/9cfef027aa787ed85566a7ce23beb8c2e8bffba1)
162
- - Picker: new document [cc10eb](https://github.com/vant-ui/vant/commit/cc10eb1f2adddc5a6d34336669b85a8a571c1803)
163
- - Picker: update demo [ceaab3](https://github.com/vant-ui/vant/commit/ceaab349f177d0280d15f66686890dc092434b80)
164
- - update migration guide [d68053](https://github.com/vant-ui/vant/commit/d68053ea7f469953a8e81819e4aeb47ab169124f)
165
- - update migration guide [f436b5](https://github.com/vant-ui/vant/commit/f436b5ae09af3f3ff8a5d21105ad0ff85cd48ff7)
166
- - update v4 migration guide [6c24fa](https://github.com/vant-ui/vant/commit/6c24fa728ee078419cbd7b8efcd35b3b70021208)
167
- - update Vant 4 [2ceb68](https://github.com/vant-ui/vant/commit/2ceb68e691440b49394ea05a82912f1e972146dd)
168
-
169
- - breaking change(AddressEdit): adjust change-area event params [b3cf1d](https://github.com/vant-ui/vant/commit/b3cf1dfb54f04af08011d2b9930fd725856d153a)
170
- - breaking change: event name become camelCase [8ca974](https://github.com/vant-ui/vant/commit/8ca9741845cc7f5c73c23bb81c98ec2802971e27)
171
- - breaking change: shorter css var names [7d6916](https://github.com/vant-ui/vant/commit/7d6916b946440fdd7fb3e0bd4c1117c989d74a93)
172
- - breaking change: no longer support less vars [ada5db](https://github.com/vant-ui/vant/commit/ada5db011c676893a2917b9424be1aeafe54134b)
173
- - breaking change(Tabs): remove click、disabled event [099141](https://github.com/vant-ui/vant/commit/099141f6c5b0e43c7e3ceeae98ee7e6e512212d6)
174
- - breaking change(Picker): remove default slot、value-key prop [6a4033](https://github.com/vant-ui/vant/commit/6a4033b6bc72c38ff103c16e039ecd73ccacd4df)
175
-
176
- **Feature**
177
-
178
- - @vant/cli: desktop site support dark mode [35a990](https://github.com/vant-ui/vant/commit/35a990ed65500311cbcafae506780dc6d3fb49fa)
179
- - @vant/cli: mobile site support dark mode [df24a3](https://github.com/vant-ui/vant/commit/df24a3b6834e4b9439580498f9c4a7448f7ca7c2)
180
- - ActionBar: update icon text color [650bdd](https://github.com/vant-ui/vant/commit/650bdd22941d9119d8a78f1ffc37d8562c68f9a1)
181
- - add dark mode basic variables [73322f](https://github.com/vant-ui/vant/commit/73322fd310849f53bf6f9e5bc508991c770af620)
182
- - Area: add getSelectedOptions method [35a500](https://github.com/vant-ui/vant/commit/35a50012c76495119a44efa2cfc231f8b1921f40)
183
- - ConfigProvider: add theme prop [f95734](https://github.com/vant-ui/vant/commit/f9573402a79d2de0abcfb43f6cbcf4c7e7e8c64f)
184
- - ConfigProvider: dark theme class [97b074](https://github.com/vant-ui/vant/commit/97b074ad0c3d8f25b9281120444901128bfdc5a1)
185
- - DatePicker: date columns calculation [e8ffc8](https://github.com/vant-ui/vant/commit/e8ffc80dc65a9a09e342a97d9314c498e8e78264)
186
- - Picker: add getSelectedOptions method [83295e](https://github.com/vant-ui/vant/commit/83295e655da9ae2debbf2e7472753517d5b5241d)
187
- - TimePicker: support select second [2e053a](https://github.com/vant-ui/vant/commit/2e053ad76bf254fbe14cee2b3c3d2dc7766c9462)
188
-
189
- **refactor**
190
-
191
- - Area component [cca428](https://github.com/vant-ui/vant/commit/cca428aac63da792e8de8f3f6f76d164cab46cb6)
192
- - attach css variables to body element [541458](https://github.com/vant-ui/vant/commit/541458c41b69e3bc977aa39a0e91be2b2d91883a)
193
- - DatePicker Component [5b4075](https://github.com/vant-ui/vant/commit/5b407566db61d2ff7e6512ca8f82f39111d8da0f)
194
- - DatePicker: v-model now is string array [ef8e66](https://github.com/vant-ui/vant/commit/ef8e66a9244606899339c7153ec2d66406afbf81)
195
- - Picker: data driven [89b029](https://github.com/vant-ui/vant/commit/89b029aa42400b2570b7676b881f6311abe42352)
196
- - Picker: rename item-height to option-height [c06141](https://github.com/vant-ui/vant/commit/c061412138e41a07a87110692621517eac814428)
197
- - rename --van-background-light to --van-background-2 [98b999](https://github.com/vant-ui/vant/commit/98b999d911c41ac1a73e6ef375b4966befe69b20)
198
- - TimePicker component [42d1dd](https://github.com/vant-ui/vant/commit/42d1dd836c141f499343aa6a8278d1b3be4953ac)
199
- - TimePicker: modelValue now is string array [fdcf99](https://github.com/vant-ui/vant/commit/fdcf9931bed3da6f1faedff99f3a6b8202d75691)
200
-
201
- **release**
202
-
203
- - @vant/cli 4.0.0-rc.6 [e93ae7](https://github.com/vant-ui/vant/commit/e93ae7b430afac7f431af23e334eaf0bf17a9e9d)
204
- - 4.0.0-alpha.0 [c20664](https://github.com/vant-ui/vant/commit/c206642d2d6771b681c369653228ec692fd28754)
12
+ - changelog: vant@4.0.0-rc.1 [#11025](https://github.com/vant-ui/vant/issues/11025)
13
+ - fix legacy css variables in demo [b6f2eb](https://github.com/vant-ui/vant/commit/b6f2eb3e2a101e8dbae14d7649f98afa514af539)
205
14
 
206
15
  **style**
207
16
 
208
- - @vant/cli: adjust css vars [b6fcd3](https://github.com/vant-ui/vant/commit/b6fcd32dcf201703d32ee4ce70d6147b4c4605ef)
209
- - @vant/cli: improve demo style in dark mode [0e8e32](https://github.com/vant-ui/vant/commit/0e8e3200a2f3fbdfd46f324d89ae05a38680f421)
210
- - @vant/cli: improve mobile style in dark mode [f5c32c](https://github.com/vant-ui/vant/commit/f5c32c29f115ef072a20ff736732a1c66557f992)
211
- - AddressEdit: submit button using primary type [c65d4f](https://github.com/vant-ui/vant/commit/c65d4f96727059d19ad7bb014b53d679754bd512)
212
- - AddressList: using primary color [fcd91c](https://github.com/vant-ui/vant/commit/fcd91cb0b03ade0def49928bdd2ec2ea652f4408)
213
- - Button: adjust font-smoothing [bda361](https://github.com/vant-ui/vant/commit/bda3617d14f3e93f04748915bb595467c1696945)
214
- - Button: increase default border radius from 2px to 4px [d86771](https://github.com/vant-ui/vant/commit/d867710cc9ca273dbf6c1d4edc568f57e5806243)
215
- - Button: update default button border color [bd2428](https://github.com/vant-ui/vant/commit/bd24288a12b38fecafc6302f1216587e7a6710fb)
216
- - Calendar: using primary color by default [4e89e8](https://github.com/vant-ui/vant/commit/4e89e88845adba1af3a6a6db19d8df7cae6aa9fb)
217
- - Card: blue tag [369201](https://github.com/vant-ui/vant/commit/3692014070beb9d3187106803e742b28ab0b3310)
218
- - Card: improve card mode style [cb2d99](https://github.com/vant-ui/vant/commit/cb2d99c8cf7abde3e08df79085f13a21c47c9bc7)
219
- - Cascader: using primary color by default [84b90b](https://github.com/vant-ui/vant/commit/84b90b1f4c9e52c9638426e79a269d53801cc0b1)
220
- - Cell: remove value aline style [0a7b53](https://github.com/vant-ui/vant/commit/0a7b53553364691e11af6906b5d22dee8e570cce)
221
- - ContactEdit: adjust submit button [43ae30](https://github.com/vant-ui/vant/commit/43ae30026adf98b076ec26c3214c24387cb63082)
222
- - ContactList: using primary color [d39f6a](https://github.com/vant-ui/vant/commit/d39f6a898afa4c5bbd5ef33035e42f656b0ec6f7)
223
- - CouponList: change default color [85c5ad](https://github.com/vant-ui/vant/commit/85c5ad671868b7156968b681a00b147a57504c84)
224
- - CouponList: update field background color in dark mode [82e0e4](https://github.com/vant-ui/vant/commit/82e0e454d0de31d5a1a68a17a6e566d42ba86d74)
225
- - DropdownMenu: using primary color by default [37e7c6](https://github.com/vant-ui/vant/commit/37e7c618b82527616d9f988f3249dda347eb7923)
226
- - Field: adjust label color [8e98e9](https://github.com/vant-ui/vant/commit/8e98e9744939003f1679b465ccd5124539a99f36)
227
- - GridItem: adust text color [42f03f](https://github.com/vant-ui/vant/commit/42f03fe1a241ff5311e9fe6696fb614b225faa72)
228
- - increase font-weight bold [bef919](https://github.com/vant-ui/vant/commit/bef919c7f011bffdb31bad1ca085df5be24679f4)
229
- - IndexBar: increase font weight of active index [d6e80e](https://github.com/vant-ui/vant/commit/d6e80e8954931927808c7fabf37473db35e8730b)
230
- - IndexBar: using primary color by default [8b95db](https://github.com/vant-ui/vant/commit/8b95db15746bbf02a9091c8e604c9bb3884148b0)
231
- - Sidebar: using primary color by default [eeb233](https://github.com/vant-ui/vant/commit/eeb233bf990a598282c21559520415a64a237179)
232
- - Slider: improve dark mode color [fc2847](https://github.com/vant-ui/vant/commit/fc2847fdb442f3a5c5f1e26cc14858e136a86b3c)
233
- - Stepper: using primary color by default [41b1cd](https://github.com/vant-ui/vant/commit/41b1cd71854514404c6a601ee22586a9ae243ee3)
234
- - Steps: update default button border color [5a1566](https://github.com/vant-ui/vant/commit/5a15660c77082d814da2b68527136994ab9112f8)
235
- - Switch: adjust style [2acd47](https://github.com/vant-ui/vant/commit/2acd47b5ee251d1af729c44b8516a4cc0fa06d44)
236
- - Switch: adjust width [73788f](https://github.com/vant-ui/vant/commit/73788f9e88beba576d2599a939caa4b4970b396f)
237
- - Tabbar: adjust text color [39b51d](https://github.com/vant-ui/vant/commit/39b51d5dae7e9c0ab1e5fb03a868a06cdbf6b269)
238
- - Tabs: using primary color by default [3b10d6](https://github.com/vant-ui/vant/commit/3b10d66bb92869d03b7af8228bfd1b1e0361a033)
239
- - TreeSelect: using primary color [cce3ce](https://github.com/vant-ui/vant/commit/cce3ceb5b68e445d0b9ea94f91d6b46246444b36)
240
- - update van doc background [5b3c4f](https://github.com/vant-ui/vant/commit/5b3c4f15468428c29dcd7cc43ca5a82831b6f87a)
241
-
242
- **Types**
243
-
244
- - AddressEdit: SearchItem optional [27c46b](https://github.com/vant-ui/vant/commit/27c46b01ae391f7c26430ea258181d1f534511a0)
245
- - DatePicker: export DatePickerColumnType [829db0](https://github.com/vant-ui/vant/commit/829db06d5b2576e2024a280bd10ba1fa3f17f25c)
246
- - Picker: fix columns prop typing [6c64bc](https://github.com/vant-ui/vant/commit/6c64bc33c1ba537b7951dcbc02d6deec3aaab093)
247
- - Picker: fix return type of getSelectedOptions [967cb5](https://github.com/vant-ui/vant/commit/967cb56c181cc145189a868f49c4666a75f85b00)
248
- - TimePicker: export TimePickerColumnType [b608fb](https://github.com/vant-ui/vant/commit/b608fb23f031cf09a474039cd9cd23f8bc7811d3)
249
- ### [v3.6.0](https://github.com/vant-ui/vant/compare/v3.5.3...v3.6.0)
17
+ - Empty: fix opacity in dark mode [#11027](https://github.com/vant-ui/vant/issues/11027)
18
+ ### [v4.0.0-rc.1](https://github.com/vant-ui/vant/compare/v4.0.0-rc.0...v4.0.0-rc.1)
250
19
 
251
- `2022-08-21`
20
+ `2022-09-10`
252
21
 
253
22
  **Bug Fixes**
254
23
 
255
- - @vant/cli: should replace NODE_ENV in vite v3 [#10887](https://github.com/vant-ui/vant/issues/10887)
256
- - Calendar: content disappeared when hiding [#10910](https://github.com/vant-ui/vant/issues/10910)
257
- - Calendar: fix reading getFullYear error [#10908](https://github.com/vant-ui/vant/issues/10908)
258
- - Calendar: reading getFullYear error in some cases [#10909](https://github.com/vant-ui/vant/issues/10909)
259
- - Empty: generate unique id to avoid render issue [#10943](https://github.com/vant-ui/vant/issues/10943)
260
- - incorrect tag name in WebStorm [#10946](https://github.com/vant-ui/vant/issues/10946)
261
- - Popover: can not scroll inside popup [#10949](https://github.com/vant-ui/vant/issues/10949)
262
- - PullRefresh: remove passive event warning [#10938](https://github.com/vant-ui/vant/issues/10938)
263
- - Search: --van-search-input-height var not work [#10911](https://github.com/vant-ui/vant/issues/10911)
24
+ - @vant/cli: failed to build types of sfc [#11012](https://github.com/vant-ui/vant/issues/11012)
25
+ - Picker: failed to update value in some cases [#11009](https://github.com/vant-ui/vant/issues/11009)
26
+ - utils: avoid getting unexpected value [#11010](https://github.com/vant-ui/vant/issues/11010)
264
27
 
265
28
  **Document**
266
29
 
267
- - add import tips [#10941](https://github.com/vant-ui/vant/issues/10941)
268
- - add tips in advanced-usage.zh-CN.md [#10927](https://github.com/vant-ui/vant/issues/10927)
269
- - changelog: 3.5.4 [961f70](https://github.com/vant-ui/vant/commit/961f70d523b723c864d99dceb2be1a19ec506d03)
270
- - changelog: vant@3.5.3 [#10869](https://github.com/vant-ui/vant/issues/10869)
271
- - Form: fix the type of rule trigger option [#10912](https://github.com/vant-ui/vant/issues/10912)
272
- - import quick start document [#10945](https://github.com/vant-ui/vant/issues/10945)
273
- - Search: fix action-text type [#10936](https://github.com/vant-ui/vant/issues/10936)
274
- - Search: fix action-text type [#10935](https://github.com/vant-ui/vant/issues/10935)
275
- - Space: add version tip [#10886](https://github.com/vant-ui/vant/issues/10886)
30
+ - add picker-group to migration guide [#11016](https://github.com/vant-ui/vant/issues/11016)
31
+ - changelog: @vant/cli 4.0.4 [1b08f8](https://github.com/vant-ui/vant/commit/1b08f84ac6dc84cb3cea93f7816a4fcd5f5c2293)
32
+ - changelog: vant@4.0.0-rc.0 [f60a3b](https://github.com/vant-ui/vant/commit/f60a3b840d4e610a9a61a62573df1a015759a71d)
33
+ - improve use component guide [#11020](https://github.com/vant-ui/vant/issues/11020)
34
+ - switch dev branch to v4 [99833f](https://github.com/vant-ui/vant/commit/99833f218508d0177c886ba5756536563a926e25)
35
+ - Toast: add component usage guide [#11019](https://github.com/vant-ui/vant/issues/11019)
276
36
 
277
37
  **Feature**
278
38
 
279
- - @vant/use: useClickAway support multiple targets [#10948](https://github.com/vant-ui/vant/issues/10948)
280
- - Badge: fix the problem mentioned at README. [#10921](https://github.com/vant-ui/vant/issues/10921)
281
- - ConfigProvider: add z-index prop [#10915](https://github.com/vant-ui/vant/issues/10915)
282
- - Form: add validateEmpty option of rule [#10913](https://github.com/vant-ui/vant/issues/10913)
283
- - Popup: add role and tabindex for a11y [#10894](https://github.com/vant-ui/vant/issues/10894)
284
- - Space: add new component space [#10857](https://github.com/vant-ui/vant/issues/10857)
285
- - touch-emulator: support .mjs extension [#10888](https://github.com/vant-ui/vant/issues/10888)
39
+ - Dialog: message-align can be justify [#11014](https://github.com/vant-ui/vant/issues/11014)
40
+ - export props of all components [#11024](https://github.com/vant-ui/vant/issues/11024)
41
+ - Image: add block prop [#11022](https://github.com/vant-ui/vant/issues/11022)
42
+ - Toast: add message slot [#11018](https://github.com/vant-ui/vant/issues/11018)
286
43
 
287
44
  **release**
288
45
 
289
- - @vant/use 1.4.2 [326880](https://github.com/vant-ui/vant/commit/326880a4e19f8ab8ffe6042a8cc968cc03b02616)
290
- - 3.5.4 [cfdb5c](https://github.com/vant-ui/vant/commit/cfdb5c1fbe496f6a064ab8bebe7f1ae8734490c0)
291
- - 3.6.0 [8d51f9](https://github.com/vant-ui/vant/commit/8d51f9e08ea5833b4b27077c61727924c9112f0b)
46
+ - @vant/cli 4.0.4 [f0d3e0](https://github.com/vant-ui/vant/commit/f0d3e04fba4ecb05d7893d290d48089e860e3ee6)
47
+ - 4.0.0-rc.1 [09c2bd](https://github.com/vant-ui/vant/commit/09c2bd8efda6981532a5dfd38a46664d49e8f207)
@@ -1,6 +1,6 @@
1
1
  import { type ExtractPropTypes } from 'vue';
2
2
  export declare const ACTION_BAR_KEY: unique symbol;
3
- declare const actionBarProps: {
3
+ export declare const actionBarProps: {
4
4
  placeholder: BooleanConstructor;
5
5
  safeAreaInsetBottom: {
6
6
  type: BooleanConstructor;
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
14
14
  type: BooleanConstructor;
15
15
  default: true;
16
16
  };
17
- }, () => 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
18
  placeholder: BooleanConstructor;
19
19
  safeAreaInsetBottom: {
20
20
  type: BooleanConstructor;
@@ -40,5 +40,6 @@ var stdin_default = defineComponent({
40
40
  });
41
41
  export {
42
42
  ACTION_BAR_KEY,
43
+ actionBarProps,
43
44
  stdin_default as default
44
45
  };
@@ -1 +1 @@
1
- body{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 50px}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}
1
+ :root{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 50px}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}
@@ -4,7 +4,7 @@ export declare const ActionBar: import("../utils").WithInstall<import("vue").Def
4
4
  type: BooleanConstructor;
5
5
  default: true;
6
6
  };
7
- }, () => 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
8
  placeholder: BooleanConstructor;
9
9
  safeAreaInsetBottom: {
10
10
  type: BooleanConstructor;
@@ -15,6 +15,7 @@ export declare const ActionBar: import("../utils").WithInstall<import("vue").Def
15
15
  safeAreaInsetBottom: boolean;
16
16
  }>>;
17
17
  export default ActionBar;
18
+ export { actionBarProps } from './ActionBar';
18
19
  export type { ActionBarProps } from './ActionBar';
19
20
  declare module 'vue' {
20
21
  interface GlobalComponents {
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _ActionBar from "./ActionBar.mjs";
3
3
  const ActionBar = withInstall(_ActionBar);
4
4
  var stdin_default = ActionBar;
5
+ import { actionBarProps } from "./ActionBar.mjs";
5
6
  export {
6
7
  ActionBar,
8
+ actionBarProps,
7
9
  stdin_default as default
8
10
  };
@@ -1,6 +1,6 @@
1
1
  import { type PropType, type ExtractPropTypes } from 'vue';
2
2
  import { ButtonType } from '../button';
3
- declare const actionBarButtonProps: {
3
+ export declare const actionBarButtonProps: {
4
4
  to: PropType<import("vue-router").RouteLocationRaw>;
5
5
  url: StringConstructor;
6
6
  replace: BooleanConstructor;
@@ -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;
@@ -69,5 +69,6 @@ var stdin_default = defineComponent({
69
69
  }
70
70
  });
71
71
  export {
72
+ actionBarButtonProps,
72
73
  stdin_default as default
73
74
  };
@@ -1 +1 @@
1
- body{--van-action-bar-button-height: 40px;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:13px}}
1
+ :root{--van-action-bar-button-height: 40px;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:13px}}
@@ -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;
@@ -26,6 +26,7 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
26
26
  loading: boolean;
27
27
  }>>;
28
28
  export default ActionBarButton;
29
+ export { actionBarButtonProps } from './ActionBarButton';
29
30
  export type { ActionBarButtonProps } from './ActionBarButton';
30
31
  declare module 'vue' {
31
32
  interface GlobalComponents {
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _ActionBarButton from "./ActionBarButton.mjs";
3
3
  const ActionBarButton = withInstall(_ActionBarButton);
4
4
  var stdin_default = ActionBarButton;
5
+ import { actionBarButtonProps } from "./ActionBarButton.mjs";
5
6
  export {
6
7
  ActionBarButton,
8
+ actionBarButtonProps,
7
9
  stdin_default as default
8
10
  };
@@ -1,6 +1,6 @@
1
1
  import { type PropType, type ExtractPropTypes } from 'vue';
2
2
  import { type BadgeProps } from '../badge';
3
- declare const actionBarIconProps: {
3
+ export declare const actionBarIconProps: {
4
4
  to: PropType<import("vue-router").RouteLocationRaw>;
5
5
  url: StringConstructor;
6
6
  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;
@@ -64,5 +64,6 @@ var stdin_default = defineComponent({
64
64
  }
65
65
  });
66
66
  export {
67
+ actionBarIconProps,
67
68
  stdin_default as default
68
69
  };
@@ -1 +1 @@
1
- body{--van-action-bar-icon-width: 48px;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: 18px;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}
1
+ :root{--van-action-bar-icon-width: 48px;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: 18px;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}
@@ -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;
@@ -29,6 +29,7 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
29
29
  dot: boolean;
30
30
  }>>;
31
31
  export default ActionBarIcon;
32
+ export { actionBarIconProps } from './ActionBarIcon';
32
33
  export type { ActionBarIconProps } from './ActionBarIcon';
33
34
  declare module 'vue' {
34
35
  interface GlobalComponents {
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _ActionBarIcon from "./ActionBarIcon.mjs";
3
3
  const ActionBarIcon = withInstall(_ActionBarIcon);
4
4
  var stdin_default = ActionBarIcon;
5
+ import { actionBarIconProps } from "./ActionBarIcon.mjs";
5
6
  export {
6
7
  ActionBarIcon,
8
+ actionBarIconProps,
7
9
  stdin_default as default
8
10
  };
@@ -8,7 +8,7 @@ export declare type ActionSheetAction = {
8
8
  callback?: (action: ActionSheetAction) => void;
9
9
  className?: unknown;
10
10
  };
11
- declare const actionSheetProps: {
11
+ export declare const actionSheetProps: {
12
12
  show: BooleanConstructor;
13
13
  zIndex: (NumberConstructor | StringConstructor)[];
14
14
  overlay: {
@@ -127,5 +127,6 @@ var stdin_default = defineComponent({
127
127
  }
128
128
  });
129
129
  export {
130
+ actionSheetProps,
130
131
  stdin_default as default
131
132
  };
@@ -1 +1 @@
1
- body{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}
1
+ :root{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}
@@ -126,6 +126,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
126
126
  closeOnClickAction: boolean;
127
127
  }>>;
128
128
  export default ActionSheet;
129
+ export { actionSheetProps } from './ActionSheet';
129
130
  export type { ActionSheetProps, ActionSheetAction } from './ActionSheet';
130
131
  declare module 'vue' {
131
132
  interface GlobalComponents {
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _ActionSheet from "./ActionSheet.mjs";
3
3
  const ActionSheet = withInstall(_ActionSheet);
4
4
  var stdin_default = ActionSheet;
5
+ import { actionSheetProps } from "./ActionSheet.mjs";
5
6
  export {
6
7
  ActionSheet,
8
+ actionSheetProps,
7
9
  stdin_default as default
8
10
  };
@@ -2,7 +2,7 @@ import { type PropType, type ExtractPropTypes } from 'vue';
2
2
  import { isMobile } from '../utils';
3
3
  import { AreaList } from '../area';
4
4
  import type { AddressEditInfo, AddressEditSearchItem } from './types';
5
- declare const addressEditProps: {
5
+ export declare const addressEditProps: {
6
6
  areaList: PropType<AreaList>;
7
7
  isSaving: BooleanConstructor;
8
8
  isDeleting: BooleanConstructor;
@@ -284,5 +284,6 @@ var stdin_default = defineComponent({
284
284
  }
285
285
  });
286
286
  export {
287
+ addressEditProps,
287
288
  stdin_default as default
288
289
  };
@@ -1 +1 @@
1
- body{--van-address-edit-padding: var(--van-padding-sm);--van-address-edit-buttons-padding: var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom: var(--van-padding-sm);--van-address-edit-button-font-size: var(--van-font-size-lg)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background:var(--van-gray-2)}
1
+ :root{--van-address-edit-padding: var(--van-padding-sm);--van-address-edit-buttons-padding: var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom: var(--van-padding-sm);--van-address-edit-button-font-size: var(--van-font-size-lg)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background:var(--van-gray-2)}
@@ -108,6 +108,7 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
108
108
  telValidator: (val: string) => boolean;
109
109
  }>>;
110
110
  export default AddressEdit;
111
+ export { addressEditProps } from './AddressEdit';
111
112
  export type { AddressEditProps };
112
113
  export type { AddressEditInfo, AddressEditInstance, AddressEditSearchItem, } from './types';
113
114
  declare module 'vue' {
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _AddressEdit from "./AddressEdit.mjs";
3
3
  const AddressEdit = withInstall(_AddressEdit);
4
4
  var stdin_default = AddressEdit;
5
+ import { addressEditProps } from "./AddressEdit.mjs";
5
6
  export {
6
7
  AddressEdit,
8
+ addressEditProps,
7
9
  stdin_default as default
8
10
  };