vant 4.0.0-rc.0 → 4.0.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1072) hide show
  1. package/changelog.generated.md +19 -267
  2. package/es/action-bar/ActionBar.d.ts +1 -1
  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 -0
  6. package/es/action-bar/index.mjs +2 -0
  7. package/es/action-bar/types.d.ts +4 -0
  8. package/es/action-bar/types.mjs +0 -0
  9. package/es/action-bar-button/ActionBarButton.d.ts +1 -1
  10. package/es/action-bar-button/ActionBarButton.mjs +1 -0
  11. package/es/action-bar-button/index.css +1 -1
  12. package/es/action-bar-button/index.d.ts +2 -0
  13. package/es/action-bar-button/index.mjs +2 -0
  14. package/es/action-bar-button/types.d.ts +5 -0
  15. package/es/action-bar-button/types.mjs +0 -0
  16. package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
  17. package/es/action-bar-icon/ActionBarIcon.mjs +1 -0
  18. package/es/action-bar-icon/index.css +1 -1
  19. package/es/action-bar-icon/index.d.ts +2 -0
  20. package/es/action-bar-icon/index.mjs +2 -0
  21. package/es/action-bar-icon/types.d.ts +10 -0
  22. package/es/action-bar-icon/types.mjs +0 -0
  23. package/es/action-sheet/ActionSheet.d.ts +1 -1
  24. package/es/action-sheet/ActionSheet.mjs +1 -0
  25. package/es/action-sheet/index.css +1 -1
  26. package/es/action-sheet/index.d.ts +2 -0
  27. package/es/action-sheet/index.mjs +2 -0
  28. package/es/action-sheet/types.d.ts +23 -0
  29. package/es/action-sheet/types.mjs +0 -0
  30. package/es/address-edit/AddressEdit.d.ts +1 -1
  31. package/es/address-edit/AddressEdit.mjs +1 -0
  32. package/es/address-edit/index.css +1 -1
  33. package/es/address-edit/index.d.ts +2 -1
  34. package/es/address-edit/index.mjs +2 -0
  35. package/es/address-edit/types.d.ts +6 -0
  36. package/es/address-list/AddressList.d.ts +1 -1
  37. package/es/address-list/AddressList.mjs +1 -0
  38. package/es/address-list/index.css +1 -1
  39. package/es/address-list/index.d.ts +2 -0
  40. package/es/address-list/index.mjs +2 -0
  41. package/es/address-list/types.d.ts +15 -0
  42. package/es/address-list/types.mjs +0 -0
  43. package/es/area/Area.d.ts +1 -1
  44. package/es/area/Area.mjs +1 -0
  45. package/es/area/index.d.ts +1 -0
  46. package/es/area/index.mjs +2 -0
  47. package/es/badge/Badge.d.ts +1 -1
  48. package/es/badge/Badge.mjs +1 -0
  49. package/es/badge/index.css +1 -1
  50. package/es/badge/index.d.ts +2 -0
  51. package/es/badge/index.mjs +2 -0
  52. package/es/badge/types.d.ts +12 -0
  53. package/es/badge/types.mjs +0 -0
  54. package/es/button/Button.d.ts +1 -1
  55. package/es/button/Button.mjs +1 -0
  56. package/es/button/index.css +1 -1
  57. package/es/button/index.d.ts +2 -1
  58. package/es/button/index.mjs +2 -0
  59. package/es/button/types.d.ts +36 -0
  60. package/es/calendar/Calendar.d.ts +1 -1
  61. package/es/calendar/Calendar.mjs +1 -0
  62. package/es/calendar/index.css +1 -1
  63. package/es/calendar/index.d.ts +2 -1
  64. package/es/calendar/index.mjs +2 -0
  65. package/es/calendar/types.d.ts +28 -0
  66. package/es/card/Card.d.ts +1 -1
  67. package/es/card/Card.mjs +1 -0
  68. package/es/card/index.css +1 -1
  69. package/es/card/index.d.ts +2 -0
  70. package/es/card/index.mjs +2 -0
  71. package/es/card/types.d.ts +18 -0
  72. package/es/card/types.mjs +0 -0
  73. package/es/cascader/Cascader.d.ts +1 -1
  74. package/es/cascader/Cascader.mjs +1 -0
  75. package/es/cascader/index.css +1 -1
  76. package/es/cascader/index.d.ts +2 -1
  77. package/es/cascader/index.mjs +2 -0
  78. package/es/cascader/types.d.ts +15 -0
  79. package/es/cell/Cell.d.ts +1 -1
  80. package/es/cell/Cell.mjs +1 -0
  81. package/es/cell/index.css +1 -1
  82. package/es/cell/index.d.ts +2 -0
  83. package/es/cell/index.mjs +2 -0
  84. package/es/cell/types.d.ts +21 -0
  85. package/es/cell/types.mjs +0 -0
  86. package/es/cell-group/CellGroup.d.ts +1 -1
  87. package/es/cell-group/CellGroup.mjs +1 -0
  88. package/es/cell-group/index.css +1 -1
  89. package/es/cell-group/index.d.ts +2 -0
  90. package/es/cell-group/index.mjs +2 -0
  91. package/es/cell-group/types.d.ts +10 -0
  92. package/es/cell-group/types.mjs +0 -0
  93. package/es/checkbox/Checkbox.d.ts +1 -1
  94. package/es/checkbox/Checkbox.mjs +1 -0
  95. package/es/checkbox/index.css +1 -1
  96. package/es/checkbox/index.d.ts +2 -1
  97. package/es/checkbox/index.mjs +2 -0
  98. package/es/checkbox/types.d.ts +11 -0
  99. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  100. package/es/checkbox-group/CheckboxGroup.mjs +1 -0
  101. package/es/checkbox-group/index.d.ts +1 -0
  102. package/es/checkbox-group/index.mjs +2 -0
  103. package/es/circle/Circle.d.ts +1 -1
  104. package/es/circle/Circle.mjs +1 -0
  105. package/es/circle/index.css +1 -1
  106. package/es/circle/index.d.ts +2 -0
  107. package/es/circle/index.mjs +2 -0
  108. package/es/circle/types.d.ts +9 -0
  109. package/es/circle/types.mjs +0 -0
  110. package/es/col/Col.d.ts +1 -1
  111. package/es/col/Col.mjs +1 -0
  112. package/es/col/index.d.ts +1 -0
  113. package/es/col/index.mjs +2 -0
  114. package/es/collapse/Collapse.d.ts +1 -1
  115. package/es/collapse/Collapse.mjs +1 -0
  116. package/es/collapse/index.d.ts +1 -0
  117. package/es/collapse/index.mjs +2 -0
  118. package/es/collapse-item/CollapseItem.d.ts +1 -1
  119. package/es/collapse-item/CollapseItem.mjs +1 -0
  120. package/es/collapse-item/index.css +1 -1
  121. package/es/collapse-item/index.d.ts +2 -1
  122. package/es/collapse-item/index.mjs +2 -0
  123. package/es/collapse-item/types.d.ts +9 -0
  124. package/es/config-provider/ConfigProvider.d.ts +1 -1
  125. package/es/config-provider/ConfigProvider.mjs +3 -2
  126. package/es/config-provider/index.d.ts +2 -0
  127. package/es/config-provider/index.mjs +2 -0
  128. package/es/config-provider/types.d.ts +1 -0
  129. package/es/config-provider/types.mjs +0 -0
  130. package/es/contact-card/ContactCard.d.ts +1 -1
  131. package/es/contact-card/ContactCard.mjs +1 -0
  132. package/es/contact-card/index.css +1 -1
  133. package/es/contact-card/index.d.ts +2 -0
  134. package/es/contact-card/index.mjs +2 -0
  135. package/es/contact-card/types.d.ts +6 -0
  136. package/es/contact-card/types.mjs +0 -0
  137. package/es/contact-edit/ContactEdit.d.ts +1 -1
  138. package/es/contact-edit/ContactEdit.mjs +1 -0
  139. package/es/contact-edit/index.css +1 -1
  140. package/es/contact-edit/index.d.ts +2 -0
  141. package/es/contact-edit/index.mjs +2 -0
  142. package/es/contact-edit/types.d.ts +8 -0
  143. package/es/contact-edit/types.mjs +0 -0
  144. package/es/contact-list/ContactList.d.ts +1 -1
  145. package/es/contact-list/ContactList.mjs +1 -0
  146. package/es/contact-list/index.css +1 -1
  147. package/es/contact-list/index.d.ts +2 -0
  148. package/es/contact-list/index.mjs +2 -0
  149. package/es/contact-list/types.d.ts +6 -0
  150. package/es/contact-list/types.mjs +0 -0
  151. package/es/count-down/CountDown.d.ts +1 -1
  152. package/es/count-down/CountDown.mjs +1 -0
  153. package/es/count-down/index.css +1 -1
  154. package/es/count-down/index.d.ts +2 -1
  155. package/es/count-down/index.mjs +2 -0
  156. package/es/count-down/types.d.ts +5 -0
  157. package/es/coupon/index.css +1 -1
  158. package/es/coupon/index.d.ts +1 -0
  159. package/es/coupon/types.d.ts +19 -0
  160. package/es/coupon/types.mjs +0 -0
  161. package/es/coupon-cell/CouponCell.d.ts +1 -1
  162. package/es/coupon-cell/CouponCell.mjs +1 -0
  163. package/es/coupon-cell/index.css +1 -1
  164. package/es/coupon-cell/index.d.ts +2 -0
  165. package/es/coupon-cell/index.mjs +2 -0
  166. package/es/coupon-cell/types.d.ts +3 -0
  167. package/es/coupon-cell/types.mjs +0 -0
  168. package/es/coupon-list/CouponList.d.ts +1 -1
  169. package/es/coupon-list/CouponList.mjs +1 -0
  170. package/es/coupon-list/index.css +1 -1
  171. package/es/coupon-list/index.d.ts +2 -0
  172. package/es/coupon-list/index.mjs +2 -0
  173. package/es/coupon-list/types.d.ts +9 -0
  174. package/es/coupon-list/types.mjs +0 -0
  175. package/es/date-picker/DatePicker.d.ts +1 -1
  176. package/es/date-picker/DatePicker.mjs +1 -0
  177. package/es/date-picker/index.d.ts +1 -0
  178. package/es/date-picker/index.mjs +2 -0
  179. package/es/dialog/Dialog.d.ts +1 -1
  180. package/es/dialog/Dialog.mjs +2 -1
  181. package/es/dialog/index.css +1 -1
  182. package/es/dialog/index.d.ts +2 -1
  183. package/es/dialog/index.mjs +2 -0
  184. package/es/dialog/types.d.ts +22 -1
  185. package/es/divider/Divider.d.ts +1 -1
  186. package/es/divider/Divider.mjs +2 -1
  187. package/es/divider/index.css +1 -1
  188. package/es/divider/index.d.ts +2 -0
  189. package/es/divider/index.mjs +3 -1
  190. package/es/divider/types.d.ts +10 -0
  191. package/es/divider/types.mjs +0 -0
  192. package/es/dropdown-item/DropdownItem.d.ts +1 -1
  193. package/es/dropdown-item/DropdownItem.mjs +2 -1
  194. package/es/dropdown-item/index.css +1 -1
  195. package/es/dropdown-item/index.d.ts +2 -1
  196. package/es/dropdown-item/index.mjs +3 -1
  197. package/es/dropdown-item/types.d.ts +3 -0
  198. package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
  199. package/es/dropdown-menu/DropdownMenu.mjs +2 -1
  200. package/es/dropdown-menu/index.css +1 -1
  201. package/es/dropdown-menu/index.d.ts +2 -1
  202. package/es/dropdown-menu/index.mjs +3 -1
  203. package/es/dropdown-menu/types.d.ts +13 -0
  204. package/es/empty/Empty.d.ts +1 -1
  205. package/es/empty/Empty.mjs +2 -1
  206. package/es/empty/index.css +1 -1
  207. package/es/empty/index.d.ts +2 -0
  208. package/es/empty/index.mjs +3 -1
  209. package/es/empty/types.d.ts +10 -0
  210. package/es/empty/types.mjs +0 -0
  211. package/es/field/Field.d.ts +1 -1
  212. package/es/field/Field.mjs +1 -0
  213. package/es/field/index.css +1 -1
  214. package/es/field/index.d.ts +2 -1
  215. package/es/field/index.mjs +3 -1
  216. package/es/field/types.d.ts +21 -0
  217. package/es/form/Form.d.ts +1 -1
  218. package/es/form/Form.mjs +2 -1
  219. package/es/form/index.d.ts +1 -0
  220. package/es/form/index.mjs +3 -1
  221. package/es/grid/Grid.d.ts +1 -1
  222. package/es/grid/Grid.mjs +2 -1
  223. package/es/grid/index.d.ts +1 -0
  224. package/es/grid/index.mjs +3 -1
  225. package/es/grid-item/GridItem.d.ts +1 -1
  226. package/es/grid-item/GridItem.mjs +2 -1
  227. package/es/grid-item/index.css +1 -1
  228. package/es/grid-item/index.d.ts +2 -0
  229. package/es/grid-item/index.mjs +3 -1
  230. package/es/grid-item/types.d.ts +8 -0
  231. package/es/grid-item/types.mjs +0 -0
  232. package/es/icon/Icon.d.ts +1 -1
  233. package/es/icon/Icon.mjs +2 -1
  234. package/es/icon/index.d.ts +1 -0
  235. package/es/icon/index.mjs +3 -1
  236. package/es/image/Image.d.ts +5 -1
  237. package/es/image/Image.mjs +5 -2
  238. package/es/image/index.css +1 -1
  239. package/es/image/index.d.ts +5 -0
  240. package/es/image/index.mjs +3 -1
  241. package/es/image/types.d.ts +9 -0
  242. package/es/image/types.mjs +0 -0
  243. package/es/image-preview/ImagePreview.d.ts +1 -1
  244. package/es/image-preview/ImagePreview.mjs +2 -1
  245. package/es/image-preview/index.css +1 -1
  246. package/es/image-preview/index.d.ts +3 -2
  247. package/es/image-preview/index.mjs +2 -0
  248. package/es/image-preview/types.d.ts +11 -0
  249. package/es/index-anchor/IndexAnchor.d.ts +1 -1
  250. package/es/index-anchor/IndexAnchor.mjs +2 -1
  251. package/es/index-anchor/index.css +1 -1
  252. package/es/index-anchor/index.d.ts +2 -0
  253. package/es/index-anchor/index.mjs +3 -1
  254. package/es/index-anchor/types.d.ts +11 -0
  255. package/es/index-anchor/types.mjs +0 -0
  256. package/es/index-bar/IndexBar.d.ts +1 -1
  257. package/es/index-bar/IndexBar.mjs +2 -1
  258. package/es/index-bar/index.css +1 -1
  259. package/es/index-bar/index.d.ts +2 -1
  260. package/es/index-bar/index.mjs +3 -1
  261. package/es/index-bar/types.d.ts +6 -0
  262. package/es/index.d.ts +1 -1
  263. package/es/index.mjs +1 -1
  264. package/es/list/List.d.ts +1 -1
  265. package/es/list/List.mjs +2 -1
  266. package/es/list/index.css +1 -1
  267. package/es/list/index.d.ts +2 -1
  268. package/es/list/index.mjs +3 -1
  269. package/es/list/types.d.ts +6 -0
  270. package/es/loading/Loading.d.ts +1 -1
  271. package/es/loading/Loading.mjs +2 -1
  272. package/es/loading/index.css +1 -1
  273. package/es/loading/index.d.ts +2 -0
  274. package/es/loading/index.mjs +3 -1
  275. package/es/loading/types.d.ts +7 -0
  276. package/es/loading/types.mjs +0 -0
  277. package/es/nav-bar/NavBar.d.ts +1 -1
  278. package/es/nav-bar/NavBar.mjs +2 -1
  279. package/es/nav-bar/index.css +1 -1
  280. package/es/nav-bar/index.d.ts +2 -0
  281. package/es/nav-bar/index.mjs +3 -1
  282. package/es/nav-bar/types.d.ts +10 -0
  283. package/es/nav-bar/types.mjs +0 -0
  284. package/es/notice-bar/NoticeBar.d.ts +1 -1
  285. package/es/notice-bar/NoticeBar.mjs +2 -1
  286. package/es/notice-bar/index.css +1 -1
  287. package/es/notice-bar/index.d.ts +2 -1
  288. package/es/notice-bar/index.mjs +3 -1
  289. package/es/notice-bar/types.d.ts +11 -0
  290. package/es/notify/Notify.d.ts +1 -1
  291. package/es/notify/Notify.mjs +3 -1
  292. package/es/notify/index.css +1 -1
  293. package/es/notify/index.d.ts +3 -2
  294. package/es/notify/index.mjs +2 -0
  295. package/es/notify/types.d.ts +10 -0
  296. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  297. package/es/number-keyboard/NumberKeyboard.mjs +2 -1
  298. package/es/number-keyboard/index.css +1 -1
  299. package/es/number-keyboard/index.d.ts +2 -0
  300. package/es/number-keyboard/index.mjs +3 -1
  301. package/es/number-keyboard/types.d.ts +17 -0
  302. package/es/number-keyboard/types.mjs +0 -0
  303. package/es/overlay/Overlay.d.ts +1 -1
  304. package/es/overlay/Overlay.mjs +2 -1
  305. package/es/overlay/index.css +1 -1
  306. package/es/overlay/index.d.ts +2 -0
  307. package/es/overlay/index.mjs +3 -1
  308. package/es/overlay/types.d.ts +4 -0
  309. package/es/overlay/types.mjs +0 -0
  310. package/es/pagination/Pagination.d.ts +1 -1
  311. package/es/pagination/Pagination.mjs +2 -1
  312. package/es/pagination/index.css +1 -1
  313. package/es/pagination/index.d.ts +2 -0
  314. package/es/pagination/index.mjs +3 -1
  315. package/es/pagination/types.d.ts +11 -0
  316. package/es/pagination/types.mjs +0 -0
  317. package/es/password-input/PasswordInput.d.ts +1 -1
  318. package/es/password-input/PasswordInput.mjs +2 -1
  319. package/es/password-input/index.css +1 -1
  320. package/es/password-input/index.d.ts +2 -0
  321. package/es/password-input/index.mjs +3 -1
  322. package/es/password-input/types.d.ts +17 -0
  323. package/es/password-input/types.mjs +0 -0
  324. package/es/picker/Picker.d.ts +1 -1
  325. package/es/picker/Picker.mjs +5 -2
  326. package/es/picker/index.css +1 -1
  327. package/es/picker/index.d.ts +2 -1
  328. package/es/picker/index.mjs +3 -1
  329. package/es/picker/types.d.ts +17 -0
  330. package/es/picker-group/index.css +1 -1
  331. package/es/picker-group/index.d.ts +2 -0
  332. package/es/picker-group/index.mjs +3 -1
  333. package/es/picker-group/types.d.ts +3 -0
  334. package/es/picker-group/types.mjs +0 -0
  335. package/es/popover/Popover.d.ts +1 -1
  336. package/es/popover/Popover.mjs +2 -1
  337. package/es/popover/index.css +1 -1
  338. package/es/popover/index.d.ts +2 -1
  339. package/es/popover/index.mjs +3 -1
  340. package/es/popover/types.d.ts +15 -0
  341. package/es/popup/Popup.d.ts +1 -1
  342. package/es/popup/Popup.mjs +2 -1
  343. package/es/popup/index.css +1 -1
  344. package/es/popup/index.d.ts +2 -1
  345. package/es/popup/index.mjs +3 -1
  346. package/es/popup/types.d.ts +9 -0
  347. package/es/progress/Progress.d.ts +1 -1
  348. package/es/progress/Progress.mjs +2 -1
  349. package/es/progress/index.css +1 -1
  350. package/es/progress/index.d.ts +2 -1
  351. package/es/progress/index.mjs +3 -1
  352. package/es/progress/types.d.ts +11 -0
  353. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  354. package/es/pull-refresh/PullRefresh.mjs +2 -1
  355. package/es/pull-refresh/index.css +1 -1
  356. package/es/pull-refresh/index.d.ts +2 -0
  357. package/es/pull-refresh/index.mjs +3 -1
  358. package/es/pull-refresh/types.d.ts +6 -0
  359. package/es/pull-refresh/types.mjs +0 -0
  360. package/es/radio/Radio.d.ts +15 -2
  361. package/es/radio/Radio.mjs +3 -1
  362. package/es/radio/index.css +1 -1
  363. package/es/radio/index.d.ts +2 -0
  364. package/es/radio/index.mjs +3 -1
  365. package/es/radio/types.d.ts +11 -0
  366. package/es/radio/types.mjs +0 -0
  367. package/es/radio-group/RadioGroup.d.ts +1 -1
  368. package/es/radio-group/RadioGroup.mjs +2 -1
  369. package/es/radio-group/index.d.ts +1 -0
  370. package/es/radio-group/index.mjs +3 -1
  371. package/es/rate/Rate.d.ts +1 -1
  372. package/es/rate/Rate.mjs +2 -1
  373. package/es/rate/index.css +1 -1
  374. package/es/rate/index.d.ts +2 -0
  375. package/es/rate/index.mjs +3 -1
  376. package/es/rate/types.d.ts +7 -0
  377. package/es/rate/types.mjs +0 -0
  378. package/es/row/Row.d.ts +1 -1
  379. package/es/row/Row.mjs +2 -1
  380. package/es/row/index.d.ts +1 -0
  381. package/es/row/index.mjs +3 -1
  382. package/es/search/Search.d.ts +1 -1
  383. package/es/search/Search.mjs +2 -1
  384. package/es/search/index.css +1 -1
  385. package/es/search/index.d.ts +2 -1
  386. package/es/search/index.mjs +3 -1
  387. package/es/search/types.d.ts +13 -0
  388. package/es/share-sheet/ShareSheet.d.ts +1 -1
  389. package/es/share-sheet/ShareSheet.mjs +2 -1
  390. package/es/share-sheet/index.css +1 -1
  391. package/es/share-sheet/index.d.ts +2 -0
  392. package/es/share-sheet/index.mjs +3 -1
  393. package/es/share-sheet/types.d.ts +17 -0
  394. package/es/share-sheet/types.mjs +0 -0
  395. package/es/sidebar/Sidebar.d.ts +1 -1
  396. package/es/sidebar/Sidebar.mjs +2 -1
  397. package/es/sidebar/index.css +1 -1
  398. package/es/sidebar/index.d.ts +2 -0
  399. package/es/sidebar/index.mjs +3 -1
  400. package/es/sidebar/types.d.ts +3 -0
  401. package/es/sidebar/types.mjs +0 -0
  402. package/es/sidebar-item/SidebarItem.d.ts +1 -1
  403. package/es/sidebar-item/SidebarItem.mjs +2 -1
  404. package/es/sidebar-item/index.css +1 -1
  405. package/es/sidebar-item/index.d.ts +2 -0
  406. package/es/sidebar-item/index.mjs +3 -1
  407. package/es/sidebar-item/types.d.ts +15 -0
  408. package/es/sidebar-item/types.mjs +0 -0
  409. package/es/skeleton/Skeleton.d.ts +1 -1
  410. package/es/skeleton/Skeleton.mjs +2 -1
  411. package/es/skeleton/index.css +1 -1
  412. package/es/skeleton/index.d.ts +2 -0
  413. package/es/skeleton/index.mjs +3 -1
  414. package/es/skeleton/types.d.ts +9 -0
  415. package/es/skeleton/types.mjs +0 -0
  416. package/es/slider/Slider.d.ts +1 -1
  417. package/es/slider/Slider.mjs +2 -1
  418. package/es/slider/index.css +1 -1
  419. package/es/slider/index.d.ts +2 -0
  420. package/es/slider/index.mjs +3 -1
  421. package/es/slider/types.d.ts +11 -0
  422. package/es/slider/types.mjs +0 -0
  423. package/es/space/Space.d.ts +1 -1
  424. package/es/space/Space.mjs +2 -1
  425. package/es/space/index.d.ts +1 -0
  426. package/es/space/index.mjs +3 -1
  427. package/es/step/index.css +1 -1
  428. package/es/step/index.d.ts +1 -0
  429. package/es/step/types.d.ts +13 -0
  430. package/es/step/types.mjs +0 -0
  431. package/es/stepper/Stepper.d.ts +1 -1
  432. package/es/stepper/Stepper.mjs +2 -1
  433. package/es/stepper/index.css +1 -1
  434. package/es/stepper/index.d.ts +2 -0
  435. package/es/stepper/index.mjs +3 -1
  436. package/es/stepper/types.d.ts +15 -0
  437. package/es/stepper/types.mjs +0 -0
  438. package/es/steps/Steps.d.ts +1 -1
  439. package/es/steps/Steps.mjs +2 -1
  440. package/es/steps/index.css +1 -1
  441. package/es/steps/index.d.ts +2 -0
  442. package/es/steps/index.mjs +3 -1
  443. package/es/steps/types.d.ts +3 -0
  444. package/es/steps/types.mjs +0 -0
  445. package/es/sticky/Sticky.d.ts +1 -1
  446. package/es/sticky/Sticky.mjs +2 -1
  447. package/es/sticky/index.css +1 -1
  448. package/es/sticky/index.d.ts +2 -0
  449. package/es/sticky/index.mjs +3 -1
  450. package/es/sticky/types.d.ts +3 -0
  451. package/es/sticky/types.mjs +0 -0
  452. package/es/style/base.css +1 -1
  453. package/es/style/css-variables.css +1 -1
  454. package/es/style/normalize.css +1 -1
  455. package/es/submit-bar/SubmitBar.d.ts +1 -1
  456. package/es/submit-bar/SubmitBar.mjs +2 -1
  457. package/es/submit-bar/index.css +1 -1
  458. package/es/submit-bar/index.d.ts +2 -0
  459. package/es/submit-bar/index.mjs +3 -1
  460. package/es/submit-bar/types.d.ts +21 -0
  461. package/es/submit-bar/types.mjs +0 -0
  462. package/es/swipe/Swipe.d.ts +1 -1
  463. package/es/swipe/Swipe.mjs +2 -1
  464. package/es/swipe/index.css +1 -1
  465. package/es/swipe/index.d.ts +2 -1
  466. package/es/swipe/index.mjs +3 -1
  467. package/es/swipe/types.d.ts +8 -0
  468. package/es/swipe-cell/SwipeCell.d.ts +1 -1
  469. package/es/swipe-cell/SwipeCell.mjs +2 -1
  470. package/es/swipe-cell/index.d.ts +1 -0
  471. package/es/swipe-cell/index.mjs +3 -1
  472. package/es/switch/Switch.d.ts +1 -1
  473. package/es/switch/Switch.mjs +2 -1
  474. package/es/switch/index.css +1 -1
  475. package/es/switch/index.d.ts +2 -0
  476. package/es/switch/index.mjs +3 -1
  477. package/es/switch/types.d.ts +12 -0
  478. package/es/switch/types.mjs +0 -0
  479. package/es/tab/Tab.d.ts +1 -1
  480. package/es/tab/Tab.mjs +2 -1
  481. package/es/tab/index.d.ts +1 -0
  482. package/es/tab/index.mjs +3 -1
  483. package/es/tabbar/Tabbar.d.ts +1 -1
  484. package/es/tabbar/Tabbar.mjs +2 -1
  485. package/es/tabbar/index.css +1 -1
  486. package/es/tabbar/index.d.ts +2 -0
  487. package/es/tabbar/index.mjs +3 -1
  488. package/es/tabbar/types.d.ts +5 -0
  489. package/es/tabbar/types.mjs +0 -0
  490. package/es/tabbar-item/TabbarItem.d.ts +1 -1
  491. package/es/tabbar-item/TabbarItem.mjs +2 -1
  492. package/es/tabbar-item/index.css +1 -1
  493. package/es/tabbar-item/index.d.ts +2 -0
  494. package/es/tabbar-item/index.mjs +3 -1
  495. package/es/tabbar-item/types.d.ts +9 -0
  496. package/es/tabbar-item/types.mjs +0 -0
  497. package/es/tabs/Tabs.d.ts +1 -1
  498. package/es/tabs/Tabs.mjs +2 -1
  499. package/es/tabs/index.css +1 -1
  500. package/es/tabs/index.d.ts +2 -1
  501. package/es/tabs/index.mjs +3 -1
  502. package/es/tabs/types.d.ts +14 -0
  503. package/es/tag/Tag.d.ts +2 -3
  504. package/es/tag/Tag.mjs +2 -1
  505. package/es/tag/index.css +1 -1
  506. package/es/tag/index.d.ts +10 -8
  507. package/es/tag/index.mjs +3 -1
  508. package/es/tag/types.d.ts +20 -0
  509. package/es/tag/types.mjs +0 -0
  510. package/es/time-picker/TimePicker.d.ts +1 -1
  511. package/es/time-picker/TimePicker.mjs +2 -1
  512. package/es/time-picker/index.d.ts +1 -0
  513. package/es/time-picker/index.mjs +3 -1
  514. package/es/toast/Toast.d.ts +1 -1
  515. package/es/toast/Toast.mjs +9 -2
  516. package/es/toast/index.css +1 -1
  517. package/es/toast/index.d.ts +7 -1
  518. package/es/toast/index.mjs +3 -1
  519. package/es/toast/types.d.ts +17 -0
  520. package/es/tree-select/TreeSelect.d.ts +1 -1
  521. package/es/tree-select/TreeSelect.mjs +2 -1
  522. package/es/tree-select/index.css +1 -1
  523. package/es/tree-select/index.d.ts +2 -0
  524. package/es/tree-select/index.mjs +3 -1
  525. package/es/tree-select/types.d.ts +10 -0
  526. package/es/tree-select/types.mjs +0 -0
  527. package/es/uploader/Uploader.d.ts +1 -1
  528. package/es/uploader/Uploader.mjs +2 -1
  529. package/es/uploader/index.css +1 -1
  530. package/es/uploader/index.d.ts +2 -1
  531. package/es/uploader/index.mjs +3 -1
  532. package/es/uploader/types.d.ts +27 -0
  533. package/es/utils/basic.mjs +2 -1
  534. package/lib/action-bar/ActionBar.d.ts +1 -1
  535. package/lib/action-bar/ActionBar.js +1 -0
  536. package/lib/action-bar/index.css +1 -1
  537. package/lib/action-bar/index.d.ts +2 -0
  538. package/lib/action-bar/index.js +2 -0
  539. package/lib/action-bar/types.d.ts +4 -0
  540. package/lib/action-bar/types.js +15 -0
  541. package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
  542. package/lib/action-bar-button/ActionBarButton.js +1 -0
  543. package/lib/action-bar-button/index.css +1 -1
  544. package/lib/action-bar-button/index.d.ts +2 -0
  545. package/lib/action-bar-button/index.js +2 -0
  546. package/lib/action-bar-button/types.d.ts +5 -0
  547. package/lib/action-bar-button/types.js +15 -0
  548. package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
  549. package/lib/action-bar-icon/ActionBarIcon.js +1 -0
  550. package/lib/action-bar-icon/index.css +1 -1
  551. package/lib/action-bar-icon/index.d.ts +2 -0
  552. package/lib/action-bar-icon/index.js +2 -0
  553. package/lib/action-bar-icon/types.d.ts +10 -0
  554. package/lib/action-bar-icon/types.js +15 -0
  555. package/lib/action-sheet/ActionSheet.d.ts +1 -1
  556. package/lib/action-sheet/ActionSheet.js +1 -0
  557. package/lib/action-sheet/index.css +1 -1
  558. package/lib/action-sheet/index.d.ts +2 -0
  559. package/lib/action-sheet/index.js +2 -0
  560. package/lib/action-sheet/types.d.ts +23 -0
  561. package/lib/action-sheet/types.js +15 -0
  562. package/lib/address-edit/AddressEdit.d.ts +1 -1
  563. package/lib/address-edit/AddressEdit.js +1 -0
  564. package/lib/address-edit/index.css +1 -1
  565. package/lib/address-edit/index.d.ts +2 -1
  566. package/lib/address-edit/index.js +2 -0
  567. package/lib/address-edit/types.d.ts +6 -0
  568. package/lib/address-list/AddressList.d.ts +1 -1
  569. package/lib/address-list/AddressList.js +1 -0
  570. package/lib/address-list/index.css +1 -1
  571. package/lib/address-list/index.d.ts +2 -0
  572. package/lib/address-list/index.js +2 -0
  573. package/lib/address-list/types.d.ts +15 -0
  574. package/lib/address-list/types.js +15 -0
  575. package/lib/area/Area.d.ts +1 -1
  576. package/lib/area/Area.js +1 -0
  577. package/lib/area/index.d.ts +1 -0
  578. package/lib/area/index.js +2 -0
  579. package/lib/badge/Badge.d.ts +1 -1
  580. package/lib/badge/Badge.js +1 -0
  581. package/lib/badge/index.css +1 -1
  582. package/lib/badge/index.d.ts +2 -0
  583. package/lib/badge/index.js +2 -0
  584. package/lib/badge/types.d.ts +12 -0
  585. package/lib/badge/types.js +15 -0
  586. package/lib/button/Button.d.ts +1 -1
  587. package/lib/button/Button.js +1 -0
  588. package/lib/button/index.css +1 -1
  589. package/lib/button/index.d.ts +2 -1
  590. package/lib/button/index.js +2 -0
  591. package/lib/button/types.d.ts +36 -0
  592. package/lib/calendar/Calendar.d.ts +1 -1
  593. package/lib/calendar/Calendar.js +1 -0
  594. package/lib/calendar/index.css +1 -1
  595. package/lib/calendar/index.d.ts +2 -1
  596. package/lib/calendar/index.js +2 -0
  597. package/lib/calendar/types.d.ts +28 -0
  598. package/lib/card/Card.d.ts +1 -1
  599. package/lib/card/Card.js +1 -0
  600. package/lib/card/index.css +1 -1
  601. package/lib/card/index.d.ts +2 -0
  602. package/lib/card/index.js +2 -0
  603. package/lib/card/types.d.ts +18 -0
  604. package/lib/card/types.js +15 -0
  605. package/lib/cascader/Cascader.d.ts +1 -1
  606. package/lib/cascader/Cascader.js +1 -0
  607. package/lib/cascader/index.css +1 -1
  608. package/lib/cascader/index.d.ts +2 -1
  609. package/lib/cascader/index.js +2 -0
  610. package/lib/cascader/types.d.ts +15 -0
  611. package/lib/cell/Cell.d.ts +1 -1
  612. package/lib/cell/Cell.js +1 -0
  613. package/lib/cell/index.css +1 -1
  614. package/lib/cell/index.d.ts +2 -0
  615. package/lib/cell/index.js +2 -0
  616. package/lib/cell/types.d.ts +21 -0
  617. package/lib/cell/types.js +15 -0
  618. package/lib/cell-group/CellGroup.d.ts +1 -1
  619. package/lib/cell-group/CellGroup.js +1 -0
  620. package/lib/cell-group/index.css +1 -1
  621. package/lib/cell-group/index.d.ts +2 -0
  622. package/lib/cell-group/index.js +2 -0
  623. package/lib/cell-group/types.d.ts +10 -0
  624. package/lib/cell-group/types.js +15 -0
  625. package/lib/checkbox/Checkbox.d.ts +1 -1
  626. package/lib/checkbox/Checkbox.js +1 -0
  627. package/lib/checkbox/index.css +1 -1
  628. package/lib/checkbox/index.d.ts +2 -1
  629. package/lib/checkbox/index.js +2 -0
  630. package/lib/checkbox/types.d.ts +11 -0
  631. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  632. package/lib/checkbox-group/CheckboxGroup.js +1 -0
  633. package/lib/checkbox-group/index.d.ts +1 -0
  634. package/lib/checkbox-group/index.js +2 -0
  635. package/lib/circle/Circle.d.ts +1 -1
  636. package/lib/circle/Circle.js +1 -0
  637. package/lib/circle/index.css +1 -1
  638. package/lib/circle/index.d.ts +2 -0
  639. package/lib/circle/index.js +2 -0
  640. package/lib/circle/types.d.ts +9 -0
  641. package/lib/circle/types.js +15 -0
  642. package/lib/col/Col.d.ts +1 -1
  643. package/lib/col/Col.js +1 -0
  644. package/lib/col/index.d.ts +1 -0
  645. package/lib/col/index.js +2 -0
  646. package/lib/collapse/Collapse.d.ts +1 -1
  647. package/lib/collapse/Collapse.js +1 -0
  648. package/lib/collapse/index.d.ts +1 -0
  649. package/lib/collapse/index.js +2 -0
  650. package/lib/collapse-item/CollapseItem.d.ts +1 -1
  651. package/lib/collapse-item/CollapseItem.js +1 -0
  652. package/lib/collapse-item/index.css +1 -1
  653. package/lib/collapse-item/index.d.ts +2 -1
  654. package/lib/collapse-item/index.js +2 -0
  655. package/lib/collapse-item/types.d.ts +9 -0
  656. package/lib/config-provider/ConfigProvider.d.ts +1 -1
  657. package/lib/config-provider/ConfigProvider.js +3 -2
  658. package/lib/config-provider/index.d.ts +2 -0
  659. package/lib/config-provider/index.js +2 -0
  660. package/lib/config-provider/types.d.ts +1 -0
  661. package/lib/config-provider/types.js +15 -0
  662. package/lib/contact-card/ContactCard.d.ts +1 -1
  663. package/lib/contact-card/ContactCard.js +1 -0
  664. package/lib/contact-card/index.css +1 -1
  665. package/lib/contact-card/index.d.ts +2 -0
  666. package/lib/contact-card/index.js +2 -0
  667. package/lib/contact-card/types.d.ts +6 -0
  668. package/lib/contact-card/types.js +15 -0
  669. package/lib/contact-edit/ContactEdit.d.ts +1 -1
  670. package/lib/contact-edit/ContactEdit.js +1 -0
  671. package/lib/contact-edit/index.css +1 -1
  672. package/lib/contact-edit/index.d.ts +2 -0
  673. package/lib/contact-edit/index.js +2 -0
  674. package/lib/contact-edit/types.d.ts +8 -0
  675. package/lib/contact-edit/types.js +15 -0
  676. package/lib/contact-list/ContactList.d.ts +1 -1
  677. package/lib/contact-list/ContactList.js +1 -0
  678. package/lib/contact-list/index.css +1 -1
  679. package/lib/contact-list/index.d.ts +2 -0
  680. package/lib/contact-list/index.js +2 -0
  681. package/lib/contact-list/types.d.ts +6 -0
  682. package/lib/contact-list/types.js +15 -0
  683. package/lib/count-down/CountDown.d.ts +1 -1
  684. package/lib/count-down/CountDown.js +1 -0
  685. package/lib/count-down/index.css +1 -1
  686. package/lib/count-down/index.d.ts +2 -1
  687. package/lib/count-down/index.js +2 -0
  688. package/lib/count-down/types.d.ts +5 -0
  689. package/lib/coupon/index.css +1 -1
  690. package/lib/coupon/index.d.ts +1 -0
  691. package/lib/coupon/types.d.ts +19 -0
  692. package/lib/coupon/types.js +15 -0
  693. package/lib/coupon-cell/CouponCell.d.ts +1 -1
  694. package/lib/coupon-cell/CouponCell.js +1 -0
  695. package/lib/coupon-cell/index.css +1 -1
  696. package/lib/coupon-cell/index.d.ts +2 -0
  697. package/lib/coupon-cell/index.js +2 -0
  698. package/lib/coupon-cell/types.d.ts +3 -0
  699. package/lib/coupon-cell/types.js +15 -0
  700. package/lib/coupon-list/CouponList.d.ts +1 -1
  701. package/lib/coupon-list/CouponList.js +1 -0
  702. package/lib/coupon-list/index.css +1 -1
  703. package/lib/coupon-list/index.d.ts +2 -0
  704. package/lib/coupon-list/index.js +2 -0
  705. package/lib/coupon-list/types.d.ts +9 -0
  706. package/lib/coupon-list/types.js +15 -0
  707. package/lib/date-picker/DatePicker.d.ts +1 -1
  708. package/lib/date-picker/DatePicker.js +1 -0
  709. package/lib/date-picker/index.d.ts +1 -0
  710. package/lib/date-picker/index.js +2 -0
  711. package/lib/dialog/Dialog.d.ts +1 -1
  712. package/lib/dialog/Dialog.js +2 -1
  713. package/lib/dialog/index.css +1 -1
  714. package/lib/dialog/index.d.ts +2 -1
  715. package/lib/dialog/index.js +2 -0
  716. package/lib/dialog/types.d.ts +22 -1
  717. package/lib/divider/Divider.d.ts +1 -1
  718. package/lib/divider/Divider.js +2 -1
  719. package/lib/divider/index.css +1 -1
  720. package/lib/divider/index.d.ts +2 -0
  721. package/lib/divider/index.js +3 -1
  722. package/lib/divider/types.d.ts +10 -0
  723. package/lib/divider/types.js +15 -0
  724. package/lib/dropdown-item/DropdownItem.d.ts +1 -1
  725. package/lib/dropdown-item/DropdownItem.js +2 -1
  726. package/lib/dropdown-item/index.css +1 -1
  727. package/lib/dropdown-item/index.d.ts +2 -1
  728. package/lib/dropdown-item/index.js +3 -1
  729. package/lib/dropdown-item/types.d.ts +3 -0
  730. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  731. package/lib/dropdown-menu/DropdownMenu.js +2 -1
  732. package/lib/dropdown-menu/index.css +1 -1
  733. package/lib/dropdown-menu/index.d.ts +2 -1
  734. package/lib/dropdown-menu/index.js +3 -1
  735. package/lib/dropdown-menu/types.d.ts +13 -0
  736. package/lib/empty/Empty.d.ts +1 -1
  737. package/lib/empty/Empty.js +2 -1
  738. package/lib/empty/index.css +1 -1
  739. package/lib/empty/index.d.ts +2 -0
  740. package/lib/empty/index.js +3 -1
  741. package/lib/empty/types.d.ts +10 -0
  742. package/lib/empty/types.js +15 -0
  743. package/lib/field/Field.d.ts +1 -1
  744. package/lib/field/Field.js +1 -0
  745. package/lib/field/index.css +1 -1
  746. package/lib/field/index.d.ts +2 -1
  747. package/lib/field/index.js +3 -1
  748. package/lib/field/types.d.ts +21 -0
  749. package/lib/form/Form.d.ts +1 -1
  750. package/lib/form/Form.js +2 -1
  751. package/lib/form/index.d.ts +1 -0
  752. package/lib/form/index.js +3 -1
  753. package/lib/grid/Grid.d.ts +1 -1
  754. package/lib/grid/Grid.js +2 -1
  755. package/lib/grid/index.d.ts +1 -0
  756. package/lib/grid/index.js +3 -1
  757. package/lib/grid-item/GridItem.d.ts +1 -1
  758. package/lib/grid-item/GridItem.js +2 -1
  759. package/lib/grid-item/index.css +1 -1
  760. package/lib/grid-item/index.d.ts +2 -0
  761. package/lib/grid-item/index.js +3 -1
  762. package/lib/grid-item/types.d.ts +8 -0
  763. package/lib/grid-item/types.js +15 -0
  764. package/lib/icon/Icon.d.ts +1 -1
  765. package/lib/icon/Icon.js +2 -1
  766. package/lib/icon/index.d.ts +1 -0
  767. package/lib/icon/index.js +3 -1
  768. package/lib/image/Image.d.ts +5 -1
  769. package/lib/image/Image.js +5 -2
  770. package/lib/image/index.css +1 -1
  771. package/lib/image/index.d.ts +5 -0
  772. package/lib/image/index.js +3 -1
  773. package/lib/image/types.d.ts +9 -0
  774. package/lib/image/types.js +15 -0
  775. package/lib/image-preview/ImagePreview.d.ts +1 -1
  776. package/lib/image-preview/ImagePreview.js +2 -1
  777. package/lib/image-preview/index.css +1 -1
  778. package/lib/image-preview/index.d.ts +3 -2
  779. package/lib/image-preview/index.js +2 -0
  780. package/lib/image-preview/types.d.ts +11 -0
  781. package/lib/index-anchor/IndexAnchor.d.ts +1 -1
  782. package/lib/index-anchor/IndexAnchor.js +2 -1
  783. package/lib/index-anchor/index.css +1 -1
  784. package/lib/index-anchor/index.d.ts +2 -0
  785. package/lib/index-anchor/index.js +3 -1
  786. package/lib/index-anchor/types.d.ts +11 -0
  787. package/lib/index-anchor/types.js +15 -0
  788. package/lib/index-bar/IndexBar.d.ts +1 -1
  789. package/lib/index-bar/IndexBar.js +2 -1
  790. package/lib/index-bar/index.css +1 -1
  791. package/lib/index-bar/index.d.ts +2 -1
  792. package/lib/index-bar/index.js +3 -1
  793. package/lib/index-bar/types.d.ts +6 -0
  794. package/lib/index.css +1 -1
  795. package/lib/index.d.ts +1 -1
  796. package/lib/index.js +1 -1
  797. package/lib/list/List.d.ts +1 -1
  798. package/lib/list/List.js +2 -1
  799. package/lib/list/index.css +1 -1
  800. package/lib/list/index.d.ts +2 -1
  801. package/lib/list/index.js +3 -1
  802. package/lib/list/types.d.ts +6 -0
  803. package/lib/loading/Loading.d.ts +1 -1
  804. package/lib/loading/Loading.js +2 -1
  805. package/lib/loading/index.css +1 -1
  806. package/lib/loading/index.d.ts +2 -0
  807. package/lib/loading/index.js +3 -1
  808. package/lib/loading/types.d.ts +7 -0
  809. package/lib/loading/types.js +15 -0
  810. package/lib/nav-bar/NavBar.d.ts +1 -1
  811. package/lib/nav-bar/NavBar.js +2 -1
  812. package/lib/nav-bar/index.css +1 -1
  813. package/lib/nav-bar/index.d.ts +2 -0
  814. package/lib/nav-bar/index.js +3 -1
  815. package/lib/nav-bar/types.d.ts +10 -0
  816. package/lib/nav-bar/types.js +15 -0
  817. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  818. package/lib/notice-bar/NoticeBar.js +2 -1
  819. package/lib/notice-bar/index.css +1 -1
  820. package/lib/notice-bar/index.d.ts +2 -1
  821. package/lib/notice-bar/index.js +3 -1
  822. package/lib/notice-bar/types.d.ts +11 -0
  823. package/lib/notify/Notify.d.ts +1 -1
  824. package/lib/notify/Notify.js +3 -1
  825. package/lib/notify/index.css +1 -1
  826. package/lib/notify/index.d.ts +3 -2
  827. package/lib/notify/index.js +2 -0
  828. package/lib/notify/types.d.ts +10 -0
  829. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  830. package/lib/number-keyboard/NumberKeyboard.js +2 -1
  831. package/lib/number-keyboard/index.css +1 -1
  832. package/lib/number-keyboard/index.d.ts +2 -0
  833. package/lib/number-keyboard/index.js +3 -1
  834. package/lib/number-keyboard/types.d.ts +17 -0
  835. package/lib/number-keyboard/types.js +15 -0
  836. package/lib/overlay/Overlay.d.ts +1 -1
  837. package/lib/overlay/Overlay.js +2 -1
  838. package/lib/overlay/index.css +1 -1
  839. package/lib/overlay/index.d.ts +2 -0
  840. package/lib/overlay/index.js +3 -1
  841. package/lib/overlay/types.d.ts +4 -0
  842. package/lib/overlay/types.js +15 -0
  843. package/lib/pagination/Pagination.d.ts +1 -1
  844. package/lib/pagination/Pagination.js +2 -1
  845. package/lib/pagination/index.css +1 -1
  846. package/lib/pagination/index.d.ts +2 -0
  847. package/lib/pagination/index.js +3 -1
  848. package/lib/pagination/types.d.ts +11 -0
  849. package/lib/pagination/types.js +15 -0
  850. package/lib/password-input/PasswordInput.d.ts +1 -1
  851. package/lib/password-input/PasswordInput.js +2 -1
  852. package/lib/password-input/index.css +1 -1
  853. package/lib/password-input/index.d.ts +2 -0
  854. package/lib/password-input/index.js +3 -1
  855. package/lib/password-input/types.d.ts +17 -0
  856. package/lib/password-input/types.js +15 -0
  857. package/lib/picker/Picker.d.ts +1 -1
  858. package/lib/picker/Picker.js +5 -2
  859. package/lib/picker/index.css +1 -1
  860. package/lib/picker/index.d.ts +2 -1
  861. package/lib/picker/index.js +3 -1
  862. package/lib/picker/types.d.ts +17 -0
  863. package/lib/picker-group/index.css +1 -1
  864. package/lib/picker-group/index.d.ts +2 -0
  865. package/lib/picker-group/index.js +3 -1
  866. package/lib/picker-group/types.d.ts +3 -0
  867. package/lib/picker-group/types.js +15 -0
  868. package/lib/popover/Popover.d.ts +1 -1
  869. package/lib/popover/Popover.js +2 -1
  870. package/lib/popover/index.css +1 -1
  871. package/lib/popover/index.d.ts +2 -1
  872. package/lib/popover/index.js +3 -1
  873. package/lib/popover/types.d.ts +15 -0
  874. package/lib/popup/Popup.d.ts +1 -1
  875. package/lib/popup/Popup.js +2 -1
  876. package/lib/popup/index.css +1 -1
  877. package/lib/popup/index.d.ts +2 -1
  878. package/lib/popup/index.js +3 -1
  879. package/lib/popup/types.d.ts +9 -0
  880. package/lib/progress/Progress.d.ts +1 -1
  881. package/lib/progress/Progress.js +2 -1
  882. package/lib/progress/index.css +1 -1
  883. package/lib/progress/index.d.ts +2 -1
  884. package/lib/progress/index.js +3 -1
  885. package/lib/progress/types.d.ts +11 -0
  886. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  887. package/lib/pull-refresh/PullRefresh.js +2 -1
  888. package/lib/pull-refresh/index.css +1 -1
  889. package/lib/pull-refresh/index.d.ts +2 -0
  890. package/lib/pull-refresh/index.js +3 -1
  891. package/lib/pull-refresh/types.d.ts +6 -0
  892. package/lib/pull-refresh/types.js +15 -0
  893. package/lib/radio/Radio.d.ts +15 -2
  894. package/lib/radio/Radio.js +3 -1
  895. package/lib/radio/index.css +1 -1
  896. package/lib/radio/index.d.ts +2 -0
  897. package/lib/radio/index.js +3 -1
  898. package/lib/radio/types.d.ts +11 -0
  899. package/lib/radio/types.js +15 -0
  900. package/lib/radio-group/RadioGroup.d.ts +1 -1
  901. package/lib/radio-group/RadioGroup.js +2 -1
  902. package/lib/radio-group/index.d.ts +1 -0
  903. package/lib/radio-group/index.js +3 -1
  904. package/lib/rate/Rate.d.ts +1 -1
  905. package/lib/rate/Rate.js +2 -1
  906. package/lib/rate/index.css +1 -1
  907. package/lib/rate/index.d.ts +2 -0
  908. package/lib/rate/index.js +3 -1
  909. package/lib/rate/types.d.ts +7 -0
  910. package/lib/rate/types.js +15 -0
  911. package/lib/row/Row.d.ts +1 -1
  912. package/lib/row/Row.js +2 -1
  913. package/lib/row/index.d.ts +1 -0
  914. package/lib/row/index.js +3 -1
  915. package/lib/search/Search.d.ts +1 -1
  916. package/lib/search/Search.js +2 -1
  917. package/lib/search/index.css +1 -1
  918. package/lib/search/index.d.ts +2 -1
  919. package/lib/search/index.js +3 -1
  920. package/lib/search/types.d.ts +13 -0
  921. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  922. package/lib/share-sheet/ShareSheet.js +2 -1
  923. package/lib/share-sheet/index.css +1 -1
  924. package/lib/share-sheet/index.d.ts +2 -0
  925. package/lib/share-sheet/index.js +3 -1
  926. package/lib/share-sheet/types.d.ts +17 -0
  927. package/lib/share-sheet/types.js +15 -0
  928. package/lib/sidebar/Sidebar.d.ts +1 -1
  929. package/lib/sidebar/Sidebar.js +2 -1
  930. package/lib/sidebar/index.css +1 -1
  931. package/lib/sidebar/index.d.ts +2 -0
  932. package/lib/sidebar/index.js +3 -1
  933. package/lib/sidebar/types.d.ts +3 -0
  934. package/lib/sidebar/types.js +15 -0
  935. package/lib/sidebar-item/SidebarItem.d.ts +1 -1
  936. package/lib/sidebar-item/SidebarItem.js +2 -1
  937. package/lib/sidebar-item/index.css +1 -1
  938. package/lib/sidebar-item/index.d.ts +2 -0
  939. package/lib/sidebar-item/index.js +3 -1
  940. package/lib/sidebar-item/types.d.ts +15 -0
  941. package/lib/sidebar-item/types.js +15 -0
  942. package/lib/skeleton/Skeleton.d.ts +1 -1
  943. package/lib/skeleton/Skeleton.js +2 -1
  944. package/lib/skeleton/index.css +1 -1
  945. package/lib/skeleton/index.d.ts +2 -0
  946. package/lib/skeleton/index.js +3 -1
  947. package/lib/skeleton/types.d.ts +9 -0
  948. package/lib/skeleton/types.js +15 -0
  949. package/lib/slider/Slider.d.ts +1 -1
  950. package/lib/slider/Slider.js +2 -1
  951. package/lib/slider/index.css +1 -1
  952. package/lib/slider/index.d.ts +2 -0
  953. package/lib/slider/index.js +3 -1
  954. package/lib/slider/types.d.ts +11 -0
  955. package/lib/slider/types.js +15 -0
  956. package/lib/space/Space.d.ts +1 -1
  957. package/lib/space/Space.js +2 -1
  958. package/lib/space/index.d.ts +1 -0
  959. package/lib/space/index.js +3 -1
  960. package/lib/step/index.css +1 -1
  961. package/lib/step/index.d.ts +1 -0
  962. package/lib/step/types.d.ts +13 -0
  963. package/lib/step/types.js +15 -0
  964. package/lib/stepper/Stepper.d.ts +1 -1
  965. package/lib/stepper/Stepper.js +2 -1
  966. package/lib/stepper/index.css +1 -1
  967. package/lib/stepper/index.d.ts +2 -0
  968. package/lib/stepper/index.js +3 -1
  969. package/lib/stepper/types.d.ts +15 -0
  970. package/lib/stepper/types.js +15 -0
  971. package/lib/steps/Steps.d.ts +1 -1
  972. package/lib/steps/Steps.js +2 -1
  973. package/lib/steps/index.css +1 -1
  974. package/lib/steps/index.d.ts +2 -0
  975. package/lib/steps/index.js +3 -1
  976. package/lib/steps/types.d.ts +3 -0
  977. package/lib/steps/types.js +15 -0
  978. package/lib/sticky/Sticky.d.ts +1 -1
  979. package/lib/sticky/Sticky.js +2 -1
  980. package/lib/sticky/index.css +1 -1
  981. package/lib/sticky/index.d.ts +2 -0
  982. package/lib/sticky/index.js +3 -1
  983. package/lib/sticky/types.d.ts +3 -0
  984. package/lib/sticky/types.js +15 -0
  985. package/lib/style/base.css +1 -1
  986. package/lib/style/css-variables.css +1 -1
  987. package/lib/style/normalize.css +1 -1
  988. package/lib/submit-bar/SubmitBar.d.ts +1 -1
  989. package/lib/submit-bar/SubmitBar.js +2 -1
  990. package/lib/submit-bar/index.css +1 -1
  991. package/lib/submit-bar/index.d.ts +2 -0
  992. package/lib/submit-bar/index.js +3 -1
  993. package/lib/submit-bar/types.d.ts +21 -0
  994. package/lib/submit-bar/types.js +15 -0
  995. package/lib/swipe/Swipe.d.ts +1 -1
  996. package/lib/swipe/Swipe.js +2 -1
  997. package/lib/swipe/index.css +1 -1
  998. package/lib/swipe/index.d.ts +2 -1
  999. package/lib/swipe/index.js +3 -1
  1000. package/lib/swipe/types.d.ts +8 -0
  1001. package/lib/swipe-cell/SwipeCell.d.ts +1 -1
  1002. package/lib/swipe-cell/SwipeCell.js +2 -1
  1003. package/lib/swipe-cell/index.d.ts +1 -0
  1004. package/lib/swipe-cell/index.js +3 -1
  1005. package/lib/switch/Switch.d.ts +1 -1
  1006. package/lib/switch/Switch.js +2 -1
  1007. package/lib/switch/index.css +1 -1
  1008. package/lib/switch/index.d.ts +2 -0
  1009. package/lib/switch/index.js +3 -1
  1010. package/lib/switch/types.d.ts +12 -0
  1011. package/lib/switch/types.js +15 -0
  1012. package/lib/tab/Tab.d.ts +1 -1
  1013. package/lib/tab/Tab.js +2 -1
  1014. package/lib/tab/index.d.ts +1 -0
  1015. package/lib/tab/index.js +3 -1
  1016. package/lib/tabbar/Tabbar.d.ts +1 -1
  1017. package/lib/tabbar/Tabbar.js +2 -1
  1018. package/lib/tabbar/index.css +1 -1
  1019. package/lib/tabbar/index.d.ts +2 -0
  1020. package/lib/tabbar/index.js +3 -1
  1021. package/lib/tabbar/types.d.ts +5 -0
  1022. package/lib/tabbar/types.js +15 -0
  1023. package/lib/tabbar-item/TabbarItem.d.ts +1 -1
  1024. package/lib/tabbar-item/TabbarItem.js +2 -1
  1025. package/lib/tabbar-item/index.css +1 -1
  1026. package/lib/tabbar-item/index.d.ts +2 -0
  1027. package/lib/tabbar-item/index.js +3 -1
  1028. package/lib/tabbar-item/types.d.ts +9 -0
  1029. package/lib/tabbar-item/types.js +15 -0
  1030. package/lib/tabs/Tabs.d.ts +1 -1
  1031. package/lib/tabs/Tabs.js +2 -1
  1032. package/lib/tabs/index.css +1 -1
  1033. package/lib/tabs/index.d.ts +2 -1
  1034. package/lib/tabs/index.js +3 -1
  1035. package/lib/tabs/types.d.ts +14 -0
  1036. package/lib/tag/Tag.d.ts +2 -3
  1037. package/lib/tag/Tag.js +2 -1
  1038. package/lib/tag/index.css +1 -1
  1039. package/lib/tag/index.d.ts +10 -8
  1040. package/lib/tag/index.js +3 -1
  1041. package/lib/tag/types.d.ts +20 -0
  1042. package/lib/tag/types.js +15 -0
  1043. package/lib/time-picker/TimePicker.d.ts +1 -1
  1044. package/lib/time-picker/TimePicker.js +2 -1
  1045. package/lib/time-picker/index.d.ts +1 -0
  1046. package/lib/time-picker/index.js +3 -1
  1047. package/lib/toast/Toast.d.ts +1 -1
  1048. package/lib/toast/Toast.js +9 -2
  1049. package/lib/toast/index.css +1 -1
  1050. package/lib/toast/index.d.ts +7 -1
  1051. package/lib/toast/index.js +3 -1
  1052. package/lib/toast/types.d.ts +17 -0
  1053. package/lib/tree-select/TreeSelect.d.ts +1 -1
  1054. package/lib/tree-select/TreeSelect.js +2 -1
  1055. package/lib/tree-select/index.css +1 -1
  1056. package/lib/tree-select/index.d.ts +2 -0
  1057. package/lib/tree-select/index.js +3 -1
  1058. package/lib/tree-select/types.d.ts +10 -0
  1059. package/lib/tree-select/types.js +15 -0
  1060. package/lib/uploader/Uploader.d.ts +1 -1
  1061. package/lib/uploader/Uploader.js +2 -1
  1062. package/lib/uploader/index.css +1 -1
  1063. package/lib/uploader/index.d.ts +2 -1
  1064. package/lib/uploader/index.js +3 -1
  1065. package/lib/uploader/types.d.ts +27 -0
  1066. package/lib/utils/basic.js +2 -1
  1067. package/lib/vant.cjs.js +115 -19
  1068. package/lib/vant.es.js +115 -19
  1069. package/lib/vant.js +115 -19
  1070. package/lib/vant.min.js +1 -1
  1071. package/lib/web-types.json +242 -181
  1072. package/package.json +3 -3
File without changes
@@ -26,7 +26,7 @@ export declare const pickerSharedProps: {
26
26
  cancelButtonText: StringConstructor;
27
27
  confirmButtonText: StringConstructor;
28
28
  };
29
- declare const pickerProps: {
29
+ export declare const pickerProps: {
30
30
  loading: BooleanConstructor;
31
31
  readonly: BooleanConstructor;
32
32
  allowHtml: BooleanConstructor;
@@ -154,8 +154,9 @@ var stdin_default = defineComponent({
154
154
  }, {
155
155
  immediate: true
156
156
  });
157
+ let lastEmittedModelValue;
157
158
  watch(() => props.modelValue, (newValues) => {
158
- if (!isSameValue(newValues, selectedValues.value)) {
159
+ if (!isSameValue(newValues, selectedValues.value) && !isSameValue(newValues, lastEmittedModelValue)) {
159
160
  selectedValues.value = newValues.slice(0);
160
161
  }
161
162
  }, {
@@ -163,7 +164,8 @@ var stdin_default = defineComponent({
163
164
  });
164
165
  watch(selectedValues, (newValues) => {
165
166
  if (!isSameValue(newValues, props.modelValue)) {
166
- emit("update:modelValue", newValues.slice(0));
167
+ lastEmittedModelValue = newValues.slice(0);
168
+ emit("update:modelValue", lastEmittedModelValue);
167
169
  }
168
170
  }, {
169
171
  immediate: true
@@ -188,5 +190,6 @@ var stdin_default = defineComponent({
188
190
  });
189
191
  export {
190
192
  stdin_default as default,
193
+ pickerProps,
191
194
  pickerSharedProps
192
195
  };
@@ -1 +1 @@
1
- body{--van-picker-background: var(--van-background-2);--van-picker-toolbar-height: 44px;--van-picker-title-font-size: var(--van-font-size-lg);--van-picker-title-line-height: var(--van-line-height-md);--van-picker-action-padding: 0 var(--van-padding-md);--van-picker-action-font-size: var(--van-font-size-md);--van-picker-confirm-action-color: var(--van-link-color);--van-picker-cancel-action-color: var(--van-text-color-2);--van-picker-option-font-size: var(--van-font-size-lg);--van-picker-option-padding: 0 var(--van-padding-base);--van-picker-option-text-color: var(--van-text-color);--van-picker-option-disabled-opacity: .3;--van-picker-loading-icon-color: var(--van-primary-color);--van-picker-loading-mask-color: rgba(255, 255, 255, .9);--van-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4))}.van-theme-dark{--van-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.van-picker{position:relative;background:var(--van-picker-background);-webkit-user-select:none;user-select:none}.van-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{color:var(--van-text-color);max-width:50%;font-weight:var(--van-font-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center}.van-picker__columns{position:relative;display:flex;cursor:-webkit-grab;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--van-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--van-picker-option-padding);color:var(--van-picker-option-text-color)}.van-picker-column__item--disabled{cursor:not-allowed;opacity:var(--van-picker-option-disabled-opacity)}
1
+ :root{--van-picker-background: var(--van-background-2);--van-picker-toolbar-height: 44px;--van-picker-title-font-size: var(--van-font-size-lg);--van-picker-title-line-height: var(--van-line-height-md);--van-picker-action-padding: 0 var(--van-padding-md);--van-picker-action-font-size: var(--van-font-size-md);--van-picker-confirm-action-color: var(--van-link-color);--van-picker-cancel-action-color: var(--van-text-color-2);--van-picker-option-font-size: var(--van-font-size-lg);--van-picker-option-padding: 0 var(--van-padding-base);--van-picker-option-text-color: var(--van-text-color);--van-picker-option-disabled-opacity: .3;--van-picker-loading-icon-color: var(--van-primary-color);--van-picker-loading-mask-color: rgba(255, 255, 255, .9);--van-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4))}.van-theme-dark{--van-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.van-picker{position:relative;background:var(--van-picker-background);-webkit-user-select:none;user-select:none}.van-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{color:var(--van-text-color);max-width:50%;font-weight:var(--van-font-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center}.van-picker__columns{position:relative;display:flex;cursor:-webkit-grab;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--van-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--van-picker-option-padding);color:var(--van-picker-option-text-color)}.van-picker-column__item--disabled{cursor:not-allowed;opacity:var(--van-picker-option-disabled-opacity)}
@@ -94,8 +94,9 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
94
94
  toolbarPosition: import("./types").PickerToolbarPosition;
95
95
  }>>;
96
96
  export default Picker;
97
+ export { pickerProps } from './Picker';
97
98
  export type { PickerProps };
98
- export type { PickerColumn, PickerOption, PickerInstance, PickerFieldNames, PickerToolbarPosition, PickerCancelEventParams, PickerChangeEventParams, PickerConfirmEventParams, } from './types';
99
+ export type { PickerColumn, PickerOption, PickerInstance, PickerThemeVars, PickerFieldNames, PickerToolbarPosition, PickerCancelEventParams, PickerChangeEventParams, PickerConfirmEventParams, } from './types';
99
100
  declare module 'vue' {
100
101
  interface GlobalComponents {
101
102
  VanPicker: typeof Picker;
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _Picker from "./Picker.mjs";
3
3
  const Picker = withInstall(_Picker);
4
4
  var stdin_default = Picker;
5
+ import { pickerProps } from "./Picker.mjs";
5
6
  export {
6
7
  Picker,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ pickerProps
8
10
  };
@@ -42,3 +42,20 @@ export declare type PickerCancelEventParams = PickerConfirmEventParams;
42
42
  export declare type PickerChangeEventParams = PickerConfirmEventParams & {
43
43
  columnIndex: number;
44
44
  };
45
+ export declare type PickerThemeVars = {
46
+ pickerBackground?: string;
47
+ pickerToolbarHeight?: string;
48
+ pickerTitleFontSize?: string;
49
+ pickerTitleLineHeight?: number | string;
50
+ pickerActionPadding?: string;
51
+ pickerActionFontSize?: string;
52
+ pickerConfirmActionColor?: string;
53
+ pickerCancelActionColor?: string;
54
+ pickerOptionFontSize?: string;
55
+ pickerOptionPadding?: string;
56
+ pickerOptionTextColor?: string;
57
+ pickerOptionDisabledOpacity?: number | string;
58
+ pickerLoadingIconColor?: string;
59
+ pickerLoadingMaskColor?: string;
60
+ pickerMaskColor?: string;
61
+ };
@@ -1 +1 @@
1
- body{--van-picker-group-background: var(--van-background-2)}.van-picker-group{background:var(--van-picker-group-background)}.van-picker-group__tabs{margin-top:var(--van-padding-base)}.van-picker-group__tab-title{margin-right:16px}
1
+ :root{--van-picker-group-background: var(--van-background-2)}.van-picker-group{background:var(--van-picker-group-background)}.van-picker-group__tabs{margin-top:var(--van-padding-base)}.van-picker-group__tab-title{margin-right:16px}
@@ -24,7 +24,9 @@ export declare const PickerGroup: import("../utils").WithInstall<import("vue").D
24
24
  tabs: string[];
25
25
  }>>;
26
26
  export default PickerGroup;
27
+ export { pickerGroupProps } from './PickerGroup';
27
28
  export type { PickerGroupProps };
29
+ export type { PickerGroupThemeVars } from './types';
28
30
  declare module 'vue' {
29
31
  interface GlobalComponents {
30
32
  VanPickerGroup: typeof PickerGroup;
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _PickerGroup from "./PickerGroup.mjs";
3
3
  const PickerGroup = withInstall(_PickerGroup);
4
4
  var stdin_default = PickerGroup;
5
+ import { pickerGroupProps } from "./PickerGroup.mjs";
5
6
  export {
6
7
  PickerGroup,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ pickerGroupProps
8
10
  };
@@ -0,0 +1,3 @@
1
+ export declare type PickerGroupThemeVars = {
2
+ pickerGroupBackground?: string;
3
+ };
File without changes
@@ -1,6 +1,6 @@
1
1
  import { type PropType, type CSSProperties, type ExtractPropTypes } from 'vue';
2
2
  import { PopoverTheme, PopoverAction, PopoverTrigger, PopoverPlacement } from './types';
3
- declare const popoverProps: {
3
+ export declare const popoverProps: {
4
4
  show: BooleanConstructor;
5
5
  theme: {
6
6
  type: PropType<PopoverTheme>;
@@ -174,5 +174,6 @@ var stdin_default = defineComponent({
174
174
  }
175
175
  });
176
176
  export {
177
- stdin_default as default
177
+ stdin_default as default,
178
+ popoverProps
178
179
  };
@@ -1 +1 @@
1
- body{--van-popover-arrow-size: 6px;--van-popover-radius: var(--van-radius-lg);--van-popover-action-width: 128px;--van-popover-action-height: 44px;--van-popover-action-font-size: var(--van-font-size-md);--van-popover-action-line-height: var(--van-line-height-md);--van-popover-action-icon-size: 20px;--van-popover-light-text-color: var(--van-text-color);--van-popover-light-background: var(--van-background-2);--van-popover-light-action-disabled-text-color: var(--van-text-color-3);--van-popover-dark-text-color: var(--van-white);--van-popover-dark-background: #4a4a4a;--van-popover-dark-action-disabled-text-color: var(--van-text-color-2)}.van-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--van-popover-arrow-size)}.van-popover__content{overflow:hidden;border-radius:var(--van-popover-radius)}.van-popover__action{position:relative;display:flex;align-items:center;box-sizing:border-box;width:var(--van-popover-action-width);height:var(--van-popover-action-height);padding:0 var(--van-padding-md);font-size:var(--van-popover-action-font-size);line-height:var(--van-line-height-md);cursor:pointer}.van-popover__action:last-child .van-popover__action-text:after{display:none}.van-popover__action-text{display:flex;flex:1;align-items:center;justify-content:center;height:100%}.van-popover__action-icon{margin-right:var(--van-padding-xs);font-size:var(--van-popover-action-icon-size)}.van-popover__action--with-icon .van-popover__action-text{justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;transform:translate(-50%);margin-bottom:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=top]{transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=top-start]{transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;transform:translateY(-50%);margin-right:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=left]{transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=left-start]{transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;transform:translateY(-50%);margin-left:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=right]{transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=right-start]{transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=right-end]{transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;transform:translate(-50%);margin-top:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=bottom]{transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover--light{color:var(--van-popover-light-text-color)}.van-popover--light .van-popover__content{background:var(--van-popover-light-background);box-shadow:0 2px 12px rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:var(--van-popover-light-background)}.van-popover--light .van-popover__action:active{background-color:var(--van-active-color)}.van-popover--light .van-popover__action--disabled{color:var(--van-popover-light-action-disabled-text-color);cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:var(--van-popover-dark-text-color)}.van-popover--dark .van-popover__content{background:var(--van-popover-dark-background)}.van-popover--dark .van-popover__arrow{color:var(--van-popover-dark-background)}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:var(--van-popover-dark-action-disabled-text-color)}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text:after{border-color:var(--van-gray-7)}.van-popover-zoom-enter-from,.van-popover-zoom-leave-active{transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popover-zoom-leave-active{transition-timing-function:var(--van-ease-in)}
1
+ :root{--van-popover-arrow-size: 6px;--van-popover-radius: var(--van-radius-lg);--van-popover-action-width: 128px;--van-popover-action-height: 44px;--van-popover-action-font-size: var(--van-font-size-md);--van-popover-action-line-height: var(--van-line-height-md);--van-popover-action-icon-size: 20px;--van-popover-light-text-color: var(--van-text-color);--van-popover-light-background: var(--van-background-2);--van-popover-light-action-disabled-text-color: var(--van-text-color-3);--van-popover-dark-text-color: var(--van-white);--van-popover-dark-background: #4a4a4a;--van-popover-dark-action-disabled-text-color: var(--van-text-color-2)}.van-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--van-popover-arrow-size)}.van-popover__content{overflow:hidden;border-radius:var(--van-popover-radius)}.van-popover__action{position:relative;display:flex;align-items:center;box-sizing:border-box;width:var(--van-popover-action-width);height:var(--van-popover-action-height);padding:0 var(--van-padding-md);font-size:var(--van-popover-action-font-size);line-height:var(--van-line-height-md);cursor:pointer}.van-popover__action:last-child .van-popover__action-text:after{display:none}.van-popover__action-text{display:flex;flex:1;align-items:center;justify-content:center;height:100%}.van-popover__action-icon{margin-right:var(--van-padding-xs);font-size:var(--van-popover-action-icon-size)}.van-popover__action--with-icon .van-popover__action-text{justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;transform:translate(-50%);margin-bottom:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=top]{transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=top-start]{transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;transform:translateY(-50%);margin-right:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=left]{transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=left-start]{transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;transform:translateY(-50%);margin-left:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=right]{transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=right-start]{transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=right-end]{transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;transform:translate(-50%);margin-top:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=bottom]{transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover--light{color:var(--van-popover-light-text-color)}.van-popover--light .van-popover__content{background:var(--van-popover-light-background);box-shadow:0 2px 12px rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:var(--van-popover-light-background)}.van-popover--light .van-popover__action:active{background-color:var(--van-active-color)}.van-popover--light .van-popover__action--disabled{color:var(--van-popover-light-action-disabled-text-color);cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:var(--van-popover-dark-text-color)}.van-popover--dark .van-popover__content{background:var(--van-popover-dark-background)}.van-popover--dark .van-popover__arrow{color:var(--van-popover-dark-background)}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:var(--van-popover-dark-action-disabled-text-color)}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text:after{border-color:var(--van-gray-7)}.van-popover-zoom-enter-from,.van-popover-zoom-leave-active{transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popover-zoom-leave-active{transition-timing-function:var(--van-ease-in)}
@@ -111,8 +111,9 @@ export declare const Popover: import("../utils").WithInstall<import("vue").Defin
111
111
  placement: import("./types").PopoverPlacement;
112
112
  }>>;
113
113
  export default Popover;
114
+ export { popoverProps } from './Popover';
114
115
  export type { PopoverProps } from './Popover';
115
- export type { PopoverTheme, PopoverAction, PopoverTrigger, PopoverPlacement, } from './types';
116
+ export type { PopoverTheme, PopoverAction, PopoverTrigger, PopoverThemeVars, PopoverPlacement, } from './types';
116
117
  declare module 'vue' {
117
118
  interface GlobalComponents {
118
119
  VanPopover: typeof Popover;
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _Popover from "./Popover.mjs";
3
3
  const Popover = withInstall(_Popover);
4
4
  var stdin_default = Popover;
5
+ import { popoverProps } from "./Popover.mjs";
5
6
  export {
6
7
  Popover,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ popoverProps
8
10
  };
@@ -9,3 +9,18 @@ export declare type PopoverAction = {
9
9
  className?: string;
10
10
  [key: PropertyKey]: any;
11
11
  };
12
+ export declare type PopoverThemeVars = {
13
+ popoverArrowSize?: string;
14
+ popoverRadius?: string;
15
+ popoverActionWidth?: string;
16
+ popoverActionHeight?: string;
17
+ popoverActionFontSize?: string;
18
+ popoverActionLineHeight?: number | string;
19
+ popoverActionIconSize?: string;
20
+ popoverLightTextColor?: string;
21
+ popoverLightBackground?: string;
22
+ popoverLightActionDisabledTextColor?: string;
23
+ popoverDarkTextColor?: string;
24
+ popoverDarkBackground?: string;
25
+ popoverDarkActionDisabledTextColor?: string;
26
+ };
@@ -1,6 +1,6 @@
1
1
  import { type CSSProperties, type ExtractPropTypes } from 'vue';
2
2
  import type { PopupPosition, PopupCloseIconPosition } from './types';
3
- declare const popupProps: {
3
+ export declare const popupProps: {
4
4
  show: BooleanConstructor;
5
5
  zIndex: (NumberConstructor | StringConstructor)[];
6
6
  overlay: {
@@ -202,5 +202,6 @@ var stdin_default = defineComponent({
202
202
  }
203
203
  });
204
204
  export {
205
- stdin_default as default
205
+ stdin_default as default,
206
+ popupProps
206
207
  };
@@ -1 +1 @@
1
- body{--van-popup-background: var(--van-background-2);--van-popup-transition: transform var(--van-duration-base);--van-popup-round-radius: 16px;--van-popup-close-icon-size: 22px;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: 16px;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;box-sizing:border-box;background:var(--van-popup-background);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:0;right:0;width:-webkit-fit-content;width:fit-content;max-width:calc(100vw - var(--van-padding-md) * 2);margin:0 auto;transform:translateY(-50%)}.van-popup--center.van-popup--round{border-radius:var(--van-popup-round-radius)}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 var(--van-popup-round-radius) var(--van-popup-round-radius)}.van-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:var(--van-popup-round-radius) 0 0 var(--van-popup-round-radius)}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:var(--van-popup-round-radius) var(--van-popup-round-radius) 0 0}.van-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 var(--van-popup-round-radius) var(--van-popup-round-radius) 0}.van-popup-slide-top-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-bottom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popup-slide-top-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-bottom-leave-active{transition-timing-function:var(--van-ease-in)}.van-popup-slide-top-enter-from,.van-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter-from,.van-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter-from,.van-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.van-popup-slide-left-enter-from,.van-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:var(--van-popup-close-icon-z-index);color:var(--van-popup-close-icon-color);font-size:var(--van-popup-close-icon-size)}.van-popup__close-icon--top-left{top:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--top-right{top:var(--van-popup-close-icon-margin);right:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-left{bottom:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-right{right:var(--van-popup-close-icon-margin);bottom:var(--van-popup-close-icon-margin)}
1
+ :root{--van-popup-background: var(--van-background-2);--van-popup-transition: transform var(--van-duration-base);--van-popup-round-radius: 16px;--van-popup-close-icon-size: 22px;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: 16px;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;box-sizing:border-box;background:var(--van-popup-background);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:0;right:0;width:-webkit-fit-content;width:fit-content;max-width:calc(100vw - var(--van-padding-md) * 2);margin:0 auto;transform:translateY(-50%)}.van-popup--center.van-popup--round{border-radius:var(--van-popup-round-radius)}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 var(--van-popup-round-radius) var(--van-popup-round-radius)}.van-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:var(--van-popup-round-radius) 0 0 var(--van-popup-round-radius)}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:var(--van-popup-round-radius) var(--van-popup-round-radius) 0 0}.van-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 var(--van-popup-round-radius) var(--van-popup-round-radius) 0}.van-popup-slide-top-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-bottom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popup-slide-top-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-bottom-leave-active{transition-timing-function:var(--van-ease-in)}.van-popup-slide-top-enter-from,.van-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter-from,.van-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter-from,.van-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.van-popup-slide-left-enter-from,.van-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:var(--van-popup-close-icon-z-index);color:var(--van-popup-close-icon-color);font-size:var(--van-popup-close-icon-size)}.van-popup__close-icon--top-left{top:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--top-right{top:var(--van-popup-close-icon-margin);right:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-left{bottom:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-right{right:var(--van-popup-close-icon-margin);bottom:var(--van-popup-close-icon-margin)}
@@ -114,8 +114,9 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
114
114
  safeAreaInsetTop: boolean;
115
115
  }>>;
116
116
  export default Popup;
117
+ export { popupProps } from './Popup';
117
118
  export type { PopupProps } from './Popup';
118
- export type { PopupPosition, PopupInstance, PopupCloseIconPosition, } from './types';
119
+ export type { PopupPosition, PopupInstance, PopupThemeVars, PopupCloseIconPosition, } from './types';
119
120
  declare module 'vue' {
120
121
  interface GlobalComponents {
121
122
  VanPopup: typeof Popup;
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _Popup from "./Popup.mjs";
3
3
  const Popup = withInstall(_Popup);
4
4
  var stdin_default = Popup;
5
+ import { popupProps } from "./Popup.mjs";
5
6
  export {
6
7
  Popup,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ popupProps
8
10
  };
@@ -6,3 +6,12 @@ export declare type PopupExpose = {
6
6
  popupRef: Ref<HTMLElement>;
7
7
  };
8
8
  export declare type PopupInstance = ComponentPublicInstance<PopupProps, PopupExpose>;
9
+ export declare type PopupThemeVars = {
10
+ popupBackground?: string;
11
+ popupTransition?: string;
12
+ popupRoundRadius?: string;
13
+ popupCloseIconSize?: string;
14
+ popupCloseIconColor?: string;
15
+ popupCloseIconMargin?: string;
16
+ popupCloseIconZIndex?: number | string;
17
+ };
@@ -1,6 +1,6 @@
1
1
  import { type ExtractPropTypes } from 'vue';
2
2
  import { type Numeric } from '../utils';
3
- declare const progressProps: {
3
+ export declare const progressProps: {
4
4
  color: StringConstructor;
5
5
  inactive: BooleanConstructor;
6
6
  pivotText: StringConstructor;
@@ -72,5 +72,6 @@ var stdin_default = defineComponent({
72
72
  }
73
73
  });
74
74
  export {
75
- stdin_default as default
75
+ stdin_default as default,
76
+ progressProps
76
77
  };
@@ -1 +1 @@
1
- body{--van-progress-height: 4px;--van-progress-color: var(--van-primary-color);--van-progress-inactive-color: var(--van-gray-5);--van-progress-background: var(--van-gray-3);--van-progress-pivot-padding: 0 5px;--van-progress-pivot-text-color: var(--van-white);--van-progress-pivot-font-size: var(--van-font-size-xs);--van-progress-pivot-line-height: 1.6;--van-progress-pivot-background: var(--van-primary-color)}.van-progress{position:relative;height:var(--van-progress-height);background:var(--van-progress-background);border-radius:var(--van-progress-height)}.van-progress__portion{position:absolute;left:0;width:100%;height:100%;background:var(--van-progress-color);border-radius:inherit;transform-origin:0;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__portion--inactive{background:var(--van-progress-inactive-color)}.van-progress__pivot{position:absolute;top:50%;box-sizing:border-box;min-width:3.6em;padding:var(--van-progress-pivot-padding);color:var(--van-progress-pivot-text-color);font-size:var(--van-progress-pivot-font-size);line-height:var(--van-progress-pivot-line-height);text-align:center;word-break:keep-all;background:var(--van-progress-pivot-background);border-radius:1em;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__pivot--inactive{background:var(--van-progress-inactive-color)}
1
+ :root{--van-progress-height: 4px;--van-progress-color: var(--van-primary-color);--van-progress-inactive-color: var(--van-gray-5);--van-progress-background: var(--van-gray-3);--van-progress-pivot-padding: 0 5px;--van-progress-pivot-text-color: var(--van-white);--van-progress-pivot-font-size: var(--van-font-size-xs);--van-progress-pivot-line-height: 1.6;--van-progress-pivot-background: var(--van-primary-color)}.van-progress{position:relative;height:var(--van-progress-height);background:var(--van-progress-background);border-radius:var(--van-progress-height)}.van-progress__portion{position:absolute;left:0;width:100%;height:100%;background:var(--van-progress-color);border-radius:inherit;transform-origin:0;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__portion--inactive{background:var(--van-progress-inactive-color)}.van-progress__pivot{position:absolute;top:50%;box-sizing:border-box;min-width:3.6em;padding:var(--van-progress-pivot-padding);color:var(--van-progress-pivot-text-color);font-size:var(--van-progress-pivot-font-size);line-height:var(--van-progress-pivot-line-height);text-align:center;word-break:keep-all;background:var(--van-progress-pivot-background);border-radius:1em;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__pivot--inactive{background:var(--van-progress-inactive-color)}
@@ -39,8 +39,9 @@ export declare const Progress: import("../utils").WithInstall<import("vue").Defi
39
39
  percentage: string | number;
40
40
  }>>;
41
41
  export default Progress;
42
+ export { progressProps } from './Progress';
42
43
  export type { ProgressProps };
43
- export type { ProgressInstance } from './types';
44
+ export type { ProgressInstance, ProgressThemeVars } from './types';
44
45
  declare module 'vue' {
45
46
  interface GlobalComponents {
46
47
  VanProgress: typeof Progress;
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _Progress from "./Progress.mjs";
3
3
  const Progress = withInstall(_Progress);
4
4
  var stdin_default = Progress;
5
+ import { progressProps } from "./Progress.mjs";
5
6
  export {
6
7
  Progress,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ progressProps
8
10
  };
@@ -4,3 +4,14 @@ export declare type ProgressExpose = {
4
4
  resize: () => void;
5
5
  };
6
6
  export declare type ProgressInstance = ComponentPublicInstance<ProgressProps, ProgressExpose>;
7
+ export declare type ProgressThemeVars = {
8
+ progressHeight?: string;
9
+ progressColor?: string;
10
+ progressInactiveColor?: string;
11
+ progressBackground?: string;
12
+ progressPivotPadding?: string;
13
+ progressPivotTextColor?: string;
14
+ progressPivotFontSize?: string;
15
+ progressPivotLineHeight?: number | string;
16
+ progressPivotBackground?: string;
17
+ };
@@ -1,5 +1,5 @@
1
1
  import { type ExtractPropTypes } from 'vue';
2
- declare const pullRefreshProps: {
2
+ export declare const pullRefreshProps: {
3
3
  disabled: BooleanConstructor;
4
4
  modelValue: BooleanConstructor;
5
5
  headHeight: {
@@ -189,5 +189,6 @@ var stdin_default = defineComponent({
189
189
  }
190
190
  });
191
191
  export {
192
- stdin_default as default
192
+ stdin_default as default,
193
+ pullRefreshProps
193
194
  };
@@ -1 +1 @@
1
- body{--van-pull-refresh-head-height: 50px;--van-pull-refresh-head-font-size: var(--van-font-size-md);--van-pull-refresh-head-text-color: var(--van-text-color-2);--van-pull-refresh-loading-icon-size: 16px}.van-pull-refresh{overflow:hidden}.van-pull-refresh__track{position:relative;height:100%;transition-property:transform}.van-pull-refresh__head{position:absolute;left:0;width:100%;height:var(--van-pull-refresh-head-height);overflow:hidden;color:var(--van-pull-refresh-head-text-color);font-size:var(--van-pull-refresh-head-font-size);line-height:var(--van-pull-refresh-head-height);text-align:center;transform:translateY(-100%)}.van-pull-refresh__loading .van-loading__spinner{width:var(--van-pull-refresh-loading-icon-size);height:var(--van-pull-refresh-loading-icon-size)}
1
+ :root{--van-pull-refresh-head-height: 50px;--van-pull-refresh-head-font-size: var(--van-font-size-md);--van-pull-refresh-head-text-color: var(--van-text-color-2);--van-pull-refresh-loading-icon-size: 16px}.van-pull-refresh{overflow:hidden}.van-pull-refresh__track{position:relative;height:100%;transition-property:transform}.van-pull-refresh__head{position:absolute;left:0;width:100%;height:var(--van-pull-refresh-head-height);overflow:hidden;color:var(--van-pull-refresh-head-text-color);font-size:var(--van-pull-refresh-head-font-size);line-height:var(--van-pull-refresh-head-height);text-align:center;transform:translateY(-100%)}.van-pull-refresh__loading .van-loading__spinner{width:var(--van-pull-refresh-loading-icon-size);height:var(--van-pull-refresh-loading-icon-size)}
@@ -50,7 +50,9 @@ export declare const PullRefresh: import("../utils").WithInstall<import("vue").D
50
50
  successDuration: string | number;
51
51
  }>>;
52
52
  export default PullRefresh;
53
+ export { pullRefreshProps } from './PullRefresh';
53
54
  export type { PullRefreshProps } from './PullRefresh';
55
+ export type { PullRefreshThemeVars } from './types';
54
56
  declare module 'vue' {
55
57
  interface GlobalComponents {
56
58
  VanPullRefresh: typeof PullRefresh;
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _PullRefresh from "./PullRefresh.mjs";
3
3
  const PullRefresh = withInstall(_PullRefresh);
4
4
  var stdin_default = PullRefresh;
5
+ import { pullRefreshProps } from "./PullRefresh.mjs";
5
6
  export {
6
7
  PullRefresh,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ pullRefreshProps
8
10
  };
@@ -0,0 +1,6 @@
1
+ export declare type PullRefreshThemeVars = {
2
+ pullRefreshHeadHeight?: string;
3
+ pullRefreshHeadFontSize?: string;
4
+ pullRefreshHeadTextColor?: string;
5
+ pullRefreshLoadingIconSize?: string;
6
+ };
File without changes
@@ -1,8 +1,21 @@
1
1
  import { type ExtractPropTypes } from 'vue';
2
- import { checkerProps, CheckerShape, CheckerLabelPosition } from '../checkbox/Checker';
2
+ import { CheckerShape, CheckerLabelPosition } from '../checkbox/Checker';
3
+ export declare const radioProps: {
4
+ name: import("vue").PropType<unknown>;
5
+ shape: {
6
+ type: import("vue").PropType<CheckerShape>;
7
+ default: CheckerShape;
8
+ };
9
+ disabled: BooleanConstructor;
10
+ iconSize: (NumberConstructor | StringConstructor)[];
11
+ modelValue: import("vue").PropType<unknown>;
12
+ checkedColor: StringConstructor;
13
+ labelPosition: import("vue").PropType<CheckerLabelPosition>;
14
+ labelDisabled: BooleanConstructor;
15
+ };
3
16
  export declare type RadioShape = CheckerShape;
4
17
  export declare type RadioLabelPosition = CheckerLabelPosition;
5
- export declare type RadioProps = ExtractPropTypes<typeof checkerProps>;
18
+ export declare type RadioProps = ExtractPropTypes<typeof radioProps>;
6
19
  declare const _default: import("vue").DefineComponent<{
7
20
  name: import("vue").PropType<unknown>;
8
21
  shape: {
@@ -4,6 +4,7 @@ import { pick, createNamespace } from "../utils/index.mjs";
4
4
  import { RADIO_KEY } from "../radio-group/RadioGroup.mjs";
5
5
  import { useParent } from "@vant/use";
6
6
  import Checker, { checkerProps } from "../checkbox/Checker.mjs";
7
+ const radioProps = checkerProps;
7
8
  const [name, bem] = createNamespace("radio");
8
9
  var stdin_default = defineComponent({
9
10
  name,
@@ -37,5 +38,6 @@ var stdin_default = defineComponent({
37
38
  }
38
39
  });
39
40
  export {
40
- stdin_default as default
41
+ stdin_default as default,
42
+ radioProps
41
43
  };
@@ -1 +1 @@
1
- body{--van-radio-size: 20px;--van-radio-border-color: var(--van-gray-5);--van-radio-duration: var(--van-duration-fast);--van-radio-label-margin: var(--van-padding-xs);--van-radio-label-color: var(--van-text-color);--van-radio-checked-icon-color: var(--van-primary-color);--van-radio-disabled-icon-color: var(--van-gray-5);--van-radio-disabled-label-color: var(--van-text-color-3);--van-radio-disabled-background: var(--van-border-color)}.van-radio{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-radio--disabled{cursor:not-allowed}.van-radio--label-disabled{cursor:default}.van-radio--horizontal{margin-right:var(--van-padding-sm)}.van-radio__icon{flex:none;height:1em;font-size:var(--van-radio-size);line-height:1em;cursor:pointer}.van-radio__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid var(--van-radio-border-color);transition-duration:var(--van-radio-duration);transition-property:color,border-color,background-color}.van-radio__icon--round .van-icon{border-radius:100%}.van-radio__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-radio-checked-icon-color);border-color:var(--van-radio-checked-icon-color)}.van-radio__icon--disabled{cursor:not-allowed}.van-radio__icon--disabled .van-icon{background-color:var(--van-radio-disabled-background);border-color:var(--van-radio-disabled-icon-color)}.van-radio__icon--disabled.van-radio__icon--checked .van-icon{color:var(--van-radio-disabled-icon-color)}.van-radio__label{margin-left:var(--van-radio-label-margin);color:var(--van-radio-label-color);line-height:var(--van-radio-size)}.van-radio__label--left{margin:0 var(--van-radio-label-margin) 0 0}.van-radio__label--disabled{color:var(--van-radio-disabled-label-color)}
1
+ :root{--van-radio-size: 20px;--van-radio-border-color: var(--van-gray-5);--van-radio-duration: var(--van-duration-fast);--van-radio-label-margin: var(--van-padding-xs);--van-radio-label-color: var(--van-text-color);--van-radio-checked-icon-color: var(--van-primary-color);--van-radio-disabled-icon-color: var(--van-gray-5);--van-radio-disabled-label-color: var(--van-text-color-3);--van-radio-disabled-background: var(--van-border-color)}.van-radio{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-radio--disabled{cursor:not-allowed}.van-radio--label-disabled{cursor:default}.van-radio--horizontal{margin-right:var(--van-padding-sm)}.van-radio__icon{flex:none;height:1em;font-size:var(--van-radio-size);line-height:1em;cursor:pointer}.van-radio__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid var(--van-radio-border-color);transition-duration:var(--van-radio-duration);transition-property:color,border-color,background-color}.van-radio__icon--round .van-icon{border-radius:100%}.van-radio__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-radio-checked-icon-color);border-color:var(--van-radio-checked-icon-color)}.van-radio__icon--disabled{cursor:not-allowed}.van-radio__icon--disabled .van-icon{background-color:var(--van-radio-disabled-background);border-color:var(--van-radio-disabled-icon-color)}.van-radio__icon--disabled.van-radio__icon--checked .van-icon{color:var(--van-radio-disabled-icon-color)}.van-radio__label{margin-left:var(--van-radio-label-margin);color:var(--van-radio-label-color);line-height:var(--van-radio-size)}.van-radio__label--left{margin:0 var(--van-radio-label-margin) 0 0}.van-radio__label--disabled{color:var(--van-radio-disabled-label-color)}
@@ -30,7 +30,9 @@ export declare const Radio: import("../utils").WithInstall<import("vue").DefineC
30
30
  labelDisabled: boolean;
31
31
  }>>;
32
32
  export default Radio;
33
+ export { radioProps } from './Radio';
33
34
  export type { RadioProps, RadioShape, RadioLabelPosition } from './Radio';
35
+ export type { RadioThemeVars } from './types';
34
36
  declare module 'vue' {
35
37
  interface GlobalComponents {
36
38
  VanRadio: typeof Radio;
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _Radio from "./Radio.mjs";
3
3
  const Radio = withInstall(_Radio);
4
4
  var stdin_default = Radio;
5
+ import { radioProps } from "./Radio.mjs";
5
6
  export {
6
7
  Radio,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ radioProps
8
10
  };
@@ -0,0 +1,11 @@
1
+ export declare type RadioThemeVars = {
2
+ radioSize?: string;
3
+ radioBorderColor?: string;
4
+ radioDuration?: string;
5
+ radioLabelMargin?: string;
6
+ radioLabelColor?: string;
7
+ radioCheckedIconColor?: string;
8
+ radioDisabledIconColor?: string;
9
+ radioDisabledLabelColor?: string;
10
+ radioDisabledBackground?: string;
11
+ };
File without changes
@@ -1,7 +1,7 @@
1
1
  import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
2
2
  import type { CheckerDirection } from '../checkbox/Checker';
3
3
  export declare type RadioGroupDirection = CheckerDirection;
4
- declare const radioGroupProps: {
4
+ export declare const radioGroupProps: {
5
5
  disabled: BooleanConstructor;
6
6
  iconSize: (NumberConstructor | StringConstructor)[];
7
7
  direction: PropType<CheckerDirection>;
@@ -40,5 +40,6 @@ var stdin_default = defineComponent({
40
40
  });
41
41
  export {
42
42
  RADIO_KEY,
43
- stdin_default as default
43
+ stdin_default as default,
44
+ radioGroupProps
44
45
  };
@@ -17,6 +17,7 @@ export declare const RadioGroup: import("../utils").WithInstall<import("vue").De
17
17
  disabled: boolean;
18
18
  }>>;
19
19
  export default RadioGroup;
20
+ export { radioGroupProps } from './RadioGroup';
20
21
  export type { RadioGroupProps, RadioGroupDirection } from './RadioGroup';
21
22
  declare module 'vue' {
22
23
  interface GlobalComponents {
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _RadioGroup from "./RadioGroup.mjs";
3
3
  const RadioGroup = withInstall(_RadioGroup);
4
4
  var stdin_default = RadioGroup;
5
+ import { radioGroupProps } from "./RadioGroup.mjs";
5
6
  export {
6
7
  RadioGroup,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ radioGroupProps
8
10
  };
package/es/rate/Rate.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { type ExtractPropTypes } from 'vue';
2
- declare const rateProps: {
2
+ export declare const rateProps: {
3
3
  size: (NumberConstructor | StringConstructor)[];
4
4
  icon: {
5
5
  type: import("vue").PropType<string>;
package/es/rate/Rate.mjs CHANGED
@@ -215,5 +215,6 @@ var stdin_default = defineComponent({
215
215
  }
216
216
  });
217
217
  export {
218
- stdin_default as default
218
+ stdin_default as default,
219
+ rateProps
219
220
  };
package/es/rate/index.css CHANGED
@@ -1 +1 @@
1
- body{--van-rate-icon-size: 20px;--van-rate-icon-gutter: var(--van-padding-base);--van-rate-icon-void-color: var(--van-gray-5);--van-rate-icon-full-color: var(--van-danger-color);--van-rate-icon-disabled-color: var(--van-gray-5)}.van-rate{display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;flex-wrap:wrap}.van-rate__item{position:relative}.van-rate__item:not(:last-child){padding-right:var(--van-rate-icon-gutter)}.van-rate__icon{display:block;width:1em;color:var(--van-rate-icon-void-color);font-size:var(--van-rate-icon-size)}.van-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden}.van-rate__icon--full{color:var(--van-rate-icon-full-color)}.van-rate__icon--disabled{color:var(--van-rate-icon-disabled-color)}.van-rate--disabled{cursor:not-allowed}.van-rate--readonly{cursor:default}
1
+ :root{--van-rate-icon-size: 20px;--van-rate-icon-gutter: var(--van-padding-base);--van-rate-icon-void-color: var(--van-gray-5);--van-rate-icon-full-color: var(--van-danger-color);--van-rate-icon-disabled-color: var(--van-gray-5)}.van-rate{display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;flex-wrap:wrap}.van-rate__item{position:relative}.van-rate__item:not(:last-child){padding-right:var(--van-rate-icon-gutter)}.van-rate__icon{display:block;width:1em;color:var(--van-rate-icon-void-color);font-size:var(--van-rate-icon-size)}.van-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden}.van-rate__icon--full{color:var(--van-rate-icon-full-color)}.van-rate__icon--disabled{color:var(--van-rate-icon-disabled-color)}.van-rate--disabled{cursor:not-allowed}.van-rate--readonly{cursor:default}
@@ -72,7 +72,9 @@ export declare const Rate: import("../utils").WithInstall<import("vue").DefineCo
72
72
  allowHalf: boolean;
73
73
  }>>;
74
74
  export default Rate;
75
+ export { rateProps } from './Rate';
75
76
  export type { RateProps } from './Rate';
77
+ export type { RateThemeVars } from './types';
76
78
  declare module 'vue' {
77
79
  interface GlobalComponents {
78
80
  VanRate: typeof Rate;
package/es/rate/index.mjs CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _Rate from "./Rate.mjs";
3
3
  const Rate = withInstall(_Rate);
4
4
  var stdin_default = Rate;
5
+ import { rateProps } from "./Rate.mjs";
5
6
  export {
6
7
  Rate,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ rateProps
8
10
  };
@@ -0,0 +1,7 @@
1
+ export declare type RateThemeVars = {
2
+ rateIconSize?: string;
3
+ rateIconGutter?: string;
4
+ rateIconVoidColor?: string;
5
+ rateIconFullColor?: string;
6
+ rateIconDisabledColor?: string;
7
+ };
File without changes