vant 4.0.0-rc.2 → 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 (397) hide show
  1. package/changelog.generated.md +29 -29
  2. package/es/action-bar/index.d.ts +1 -0
  3. package/es/action-bar/types.d.ts +4 -0
  4. package/es/action-bar/types.mjs +0 -0
  5. package/es/action-bar-button/index.d.ts +1 -0
  6. package/es/action-bar-button/types.d.ts +5 -0
  7. package/es/action-bar-button/types.mjs +0 -0
  8. package/es/action-bar-icon/index.d.ts +1 -0
  9. package/es/action-bar-icon/types.d.ts +10 -0
  10. package/es/action-bar-icon/types.mjs +0 -0
  11. package/es/action-sheet/index.d.ts +1 -0
  12. package/es/action-sheet/types.d.ts +23 -0
  13. package/es/action-sheet/types.mjs +0 -0
  14. package/es/address-edit/index.d.ts +1 -1
  15. package/es/address-edit/types.d.ts +6 -0
  16. package/es/address-list/index.d.ts +1 -0
  17. package/es/address-list/types.d.ts +15 -0
  18. package/es/address-list/types.mjs +0 -0
  19. package/es/badge/index.d.ts +1 -0
  20. package/es/badge/types.d.ts +12 -0
  21. package/es/badge/types.mjs +0 -0
  22. package/es/button/index.d.ts +1 -1
  23. package/es/button/types.d.ts +36 -0
  24. package/es/calendar/index.d.ts +1 -1
  25. package/es/calendar/types.d.ts +28 -0
  26. package/es/card/index.d.ts +1 -0
  27. package/es/card/types.d.ts +18 -0
  28. package/es/card/types.mjs +0 -0
  29. package/es/cascader/index.d.ts +1 -1
  30. package/es/cascader/types.d.ts +15 -0
  31. package/es/cell/index.d.ts +1 -0
  32. package/es/cell/types.d.ts +21 -0
  33. package/es/cell/types.mjs +0 -0
  34. package/es/cell-group/index.d.ts +1 -0
  35. package/es/cell-group/types.d.ts +10 -0
  36. package/es/cell-group/types.mjs +0 -0
  37. package/es/checkbox/index.d.ts +1 -1
  38. package/es/checkbox/types.d.ts +11 -0
  39. package/es/circle/index.d.ts +1 -0
  40. package/es/circle/types.d.ts +9 -0
  41. package/es/circle/types.mjs +0 -0
  42. package/es/collapse-item/index.d.ts +1 -1
  43. package/es/collapse-item/types.d.ts +9 -0
  44. package/es/config-provider/index.d.ts +1 -0
  45. package/es/config-provider/types.d.ts +1 -0
  46. package/es/config-provider/types.mjs +0 -0
  47. package/es/contact-card/index.d.ts +1 -0
  48. package/es/contact-card/types.d.ts +6 -0
  49. package/es/contact-card/types.mjs +0 -0
  50. package/es/contact-edit/index.d.ts +1 -0
  51. package/es/contact-edit/types.d.ts +8 -0
  52. package/es/contact-edit/types.mjs +0 -0
  53. package/es/contact-list/index.d.ts +1 -0
  54. package/es/contact-list/types.d.ts +6 -0
  55. package/es/contact-list/types.mjs +0 -0
  56. package/es/count-down/index.d.ts +1 -1
  57. package/es/count-down/types.d.ts +5 -0
  58. package/es/coupon/index.d.ts +1 -0
  59. package/es/coupon/types.d.ts +19 -0
  60. package/es/coupon/types.mjs +0 -0
  61. package/es/coupon-cell/index.d.ts +1 -0
  62. package/es/coupon-cell/types.d.ts +3 -0
  63. package/es/coupon-cell/types.mjs +0 -0
  64. package/es/coupon-list/index.d.ts +1 -0
  65. package/es/coupon-list/types.d.ts +9 -0
  66. package/es/coupon-list/types.mjs +0 -0
  67. package/es/dialog/index.d.ts +1 -1
  68. package/es/dialog/types.d.ts +21 -0
  69. package/es/divider/index.d.ts +1 -0
  70. package/es/divider/types.d.ts +10 -0
  71. package/es/divider/types.mjs +0 -0
  72. package/es/dropdown-item/index.d.ts +1 -1
  73. package/es/dropdown-item/types.d.ts +3 -0
  74. package/es/dropdown-menu/index.d.ts +1 -1
  75. package/es/dropdown-menu/types.d.ts +13 -0
  76. package/es/empty/index.d.ts +1 -0
  77. package/es/empty/types.d.ts +10 -0
  78. package/es/empty/types.mjs +0 -0
  79. package/es/field/index.d.ts +1 -1
  80. package/es/field/types.d.ts +21 -0
  81. package/es/grid-item/index.d.ts +1 -0
  82. package/es/grid-item/types.d.ts +8 -0
  83. package/es/grid-item/types.mjs +0 -0
  84. package/es/image/index.d.ts +1 -0
  85. package/es/image/types.d.ts +9 -0
  86. package/es/image/types.mjs +0 -0
  87. package/es/image-preview/index.d.ts +2 -2
  88. package/es/image-preview/types.d.ts +11 -0
  89. package/es/index-anchor/index.d.ts +1 -0
  90. package/es/index-anchor/types.d.ts +11 -0
  91. package/es/index-anchor/types.mjs +0 -0
  92. package/es/index-bar/index.d.ts +1 -1
  93. package/es/index-bar/types.d.ts +6 -0
  94. package/es/index.d.ts +1 -1
  95. package/es/index.mjs +1 -1
  96. package/es/list/index.d.ts +1 -1
  97. package/es/list/types.d.ts +6 -0
  98. package/es/loading/index.d.ts +1 -0
  99. package/es/loading/types.d.ts +7 -0
  100. package/es/loading/types.mjs +0 -0
  101. package/es/nav-bar/index.d.ts +1 -0
  102. package/es/nav-bar/types.d.ts +10 -0
  103. package/es/nav-bar/types.mjs +0 -0
  104. package/es/notice-bar/index.d.ts +1 -1
  105. package/es/notice-bar/types.d.ts +11 -0
  106. package/es/notify/Notify.mjs +1 -0
  107. package/es/notify/index.d.ts +2 -2
  108. package/es/notify/types.d.ts +10 -0
  109. package/es/number-keyboard/index.d.ts +1 -0
  110. package/es/number-keyboard/types.d.ts +17 -0
  111. package/es/number-keyboard/types.mjs +0 -0
  112. package/es/overlay/index.d.ts +1 -0
  113. package/es/overlay/types.d.ts +4 -0
  114. package/es/overlay/types.mjs +0 -0
  115. package/es/pagination/index.d.ts +1 -0
  116. package/es/pagination/types.d.ts +11 -0
  117. package/es/pagination/types.mjs +0 -0
  118. package/es/password-input/index.d.ts +1 -0
  119. package/es/password-input/types.d.ts +17 -0
  120. package/es/password-input/types.mjs +0 -0
  121. package/es/picker/index.d.ts +1 -1
  122. package/es/picker/types.d.ts +17 -0
  123. package/es/picker-group/index.d.ts +1 -0
  124. package/es/picker-group/types.d.ts +3 -0
  125. package/es/picker-group/types.mjs +0 -0
  126. package/es/popover/index.d.ts +1 -1
  127. package/es/popover/types.d.ts +15 -0
  128. package/es/popup/index.d.ts +1 -1
  129. package/es/popup/types.d.ts +9 -0
  130. package/es/progress/index.d.ts +1 -1
  131. package/es/progress/types.d.ts +11 -0
  132. package/es/pull-refresh/index.d.ts +1 -0
  133. package/es/pull-refresh/types.d.ts +6 -0
  134. package/es/pull-refresh/types.mjs +0 -0
  135. package/es/radio/index.d.ts +1 -0
  136. package/es/radio/types.d.ts +11 -0
  137. package/es/radio/types.mjs +0 -0
  138. package/es/rate/index.d.ts +1 -0
  139. package/es/rate/types.d.ts +7 -0
  140. package/es/rate/types.mjs +0 -0
  141. package/es/search/index.d.ts +1 -1
  142. package/es/search/types.d.ts +13 -0
  143. package/es/share-sheet/index.d.ts +1 -0
  144. package/es/share-sheet/types.d.ts +17 -0
  145. package/es/share-sheet/types.mjs +0 -0
  146. package/es/sidebar/index.d.ts +1 -0
  147. package/es/sidebar/types.d.ts +3 -0
  148. package/es/sidebar/types.mjs +0 -0
  149. package/es/sidebar-item/index.d.ts +1 -0
  150. package/es/sidebar-item/types.d.ts +15 -0
  151. package/es/sidebar-item/types.mjs +0 -0
  152. package/es/skeleton/index.d.ts +1 -0
  153. package/es/skeleton/types.d.ts +9 -0
  154. package/es/skeleton/types.mjs +0 -0
  155. package/es/slider/index.d.ts +1 -0
  156. package/es/slider/types.d.ts +11 -0
  157. package/es/slider/types.mjs +0 -0
  158. package/es/step/index.d.ts +1 -0
  159. package/es/step/types.d.ts +13 -0
  160. package/es/step/types.mjs +0 -0
  161. package/es/stepper/index.d.ts +1 -0
  162. package/es/stepper/types.d.ts +15 -0
  163. package/es/stepper/types.mjs +0 -0
  164. package/es/steps/index.d.ts +1 -0
  165. package/es/steps/types.d.ts +3 -0
  166. package/es/steps/types.mjs +0 -0
  167. package/es/sticky/index.d.ts +1 -0
  168. package/es/sticky/types.d.ts +3 -0
  169. package/es/sticky/types.mjs +0 -0
  170. package/es/submit-bar/index.d.ts +1 -0
  171. package/es/submit-bar/types.d.ts +21 -0
  172. package/es/submit-bar/types.mjs +0 -0
  173. package/es/swipe/index.d.ts +1 -1
  174. package/es/swipe/types.d.ts +8 -0
  175. package/es/switch/index.d.ts +1 -0
  176. package/es/switch/types.d.ts +12 -0
  177. package/es/switch/types.mjs +0 -0
  178. package/es/tabbar/index.d.ts +1 -0
  179. package/es/tabbar/types.d.ts +5 -0
  180. package/es/tabbar/types.mjs +0 -0
  181. package/es/tabbar-item/index.d.ts +1 -0
  182. package/es/tabbar-item/types.d.ts +9 -0
  183. package/es/tabbar-item/types.mjs +0 -0
  184. package/es/tabs/index.d.ts +1 -1
  185. package/es/tabs/types.d.ts +14 -0
  186. package/es/tag/Tag.d.ts +1 -2
  187. package/es/tag/index.d.ts +9 -8
  188. package/es/tag/types.d.ts +20 -0
  189. package/es/tag/types.mjs +0 -0
  190. package/es/toast/index.d.ts +6 -1
  191. package/es/toast/types.d.ts +17 -0
  192. package/es/tree-select/index.d.ts +1 -0
  193. package/es/tree-select/types.d.ts +10 -0
  194. package/es/tree-select/types.mjs +0 -0
  195. package/es/uploader/index.d.ts +1 -1
  196. package/es/uploader/types.d.ts +27 -0
  197. package/lib/action-bar/index.d.ts +1 -0
  198. package/lib/action-bar/types.d.ts +4 -0
  199. package/lib/action-bar/types.js +15 -0
  200. package/lib/action-bar-button/index.d.ts +1 -0
  201. package/lib/action-bar-button/types.d.ts +5 -0
  202. package/lib/action-bar-button/types.js +15 -0
  203. package/lib/action-bar-icon/index.d.ts +1 -0
  204. package/lib/action-bar-icon/types.d.ts +10 -0
  205. package/lib/action-bar-icon/types.js +15 -0
  206. package/lib/action-sheet/index.d.ts +1 -0
  207. package/lib/action-sheet/types.d.ts +23 -0
  208. package/lib/action-sheet/types.js +15 -0
  209. package/lib/address-edit/index.d.ts +1 -1
  210. package/lib/address-edit/types.d.ts +6 -0
  211. package/lib/address-list/index.d.ts +1 -0
  212. package/lib/address-list/types.d.ts +15 -0
  213. package/lib/address-list/types.js +15 -0
  214. package/lib/badge/index.d.ts +1 -0
  215. package/lib/badge/types.d.ts +12 -0
  216. package/lib/badge/types.js +15 -0
  217. package/lib/button/index.d.ts +1 -1
  218. package/lib/button/types.d.ts +36 -0
  219. package/lib/calendar/index.d.ts +1 -1
  220. package/lib/calendar/types.d.ts +28 -0
  221. package/lib/card/index.d.ts +1 -0
  222. package/lib/card/types.d.ts +18 -0
  223. package/lib/card/types.js +15 -0
  224. package/lib/cascader/index.d.ts +1 -1
  225. package/lib/cascader/types.d.ts +15 -0
  226. package/lib/cell/index.d.ts +1 -0
  227. package/lib/cell/types.d.ts +21 -0
  228. package/lib/cell/types.js +15 -0
  229. package/lib/cell-group/index.d.ts +1 -0
  230. package/lib/cell-group/types.d.ts +10 -0
  231. package/lib/cell-group/types.js +15 -0
  232. package/lib/checkbox/index.d.ts +1 -1
  233. package/lib/checkbox/types.d.ts +11 -0
  234. package/lib/circle/index.d.ts +1 -0
  235. package/lib/circle/types.d.ts +9 -0
  236. package/lib/circle/types.js +15 -0
  237. package/lib/collapse-item/index.d.ts +1 -1
  238. package/lib/collapse-item/types.d.ts +9 -0
  239. package/lib/config-provider/index.d.ts +1 -0
  240. package/lib/config-provider/types.d.ts +1 -0
  241. package/lib/config-provider/types.js +15 -0
  242. package/lib/contact-card/index.d.ts +1 -0
  243. package/lib/contact-card/types.d.ts +6 -0
  244. package/lib/contact-card/types.js +15 -0
  245. package/lib/contact-edit/index.d.ts +1 -0
  246. package/lib/contact-edit/types.d.ts +8 -0
  247. package/lib/contact-edit/types.js +15 -0
  248. package/lib/contact-list/index.d.ts +1 -0
  249. package/lib/contact-list/types.d.ts +6 -0
  250. package/lib/contact-list/types.js +15 -0
  251. package/lib/count-down/index.d.ts +1 -1
  252. package/lib/count-down/types.d.ts +5 -0
  253. package/lib/coupon/index.d.ts +1 -0
  254. package/lib/coupon/types.d.ts +19 -0
  255. package/lib/coupon/types.js +15 -0
  256. package/lib/coupon-cell/index.d.ts +1 -0
  257. package/lib/coupon-cell/types.d.ts +3 -0
  258. package/lib/coupon-cell/types.js +15 -0
  259. package/lib/coupon-list/index.d.ts +1 -0
  260. package/lib/coupon-list/types.d.ts +9 -0
  261. package/lib/coupon-list/types.js +15 -0
  262. package/lib/dialog/index.d.ts +1 -1
  263. package/lib/dialog/types.d.ts +21 -0
  264. package/lib/divider/index.d.ts +1 -0
  265. package/lib/divider/types.d.ts +10 -0
  266. package/lib/divider/types.js +15 -0
  267. package/lib/dropdown-item/index.d.ts +1 -1
  268. package/lib/dropdown-item/types.d.ts +3 -0
  269. package/lib/dropdown-menu/index.d.ts +1 -1
  270. package/lib/dropdown-menu/types.d.ts +13 -0
  271. package/lib/empty/index.d.ts +1 -0
  272. package/lib/empty/types.d.ts +10 -0
  273. package/lib/empty/types.js +15 -0
  274. package/lib/field/index.d.ts +1 -1
  275. package/lib/field/types.d.ts +21 -0
  276. package/lib/grid-item/index.d.ts +1 -0
  277. package/lib/grid-item/types.d.ts +8 -0
  278. package/lib/grid-item/types.js +15 -0
  279. package/lib/image/index.d.ts +1 -0
  280. package/lib/image/types.d.ts +9 -0
  281. package/lib/image/types.js +15 -0
  282. package/lib/image-preview/index.d.ts +2 -2
  283. package/lib/image-preview/types.d.ts +11 -0
  284. package/lib/index-anchor/index.d.ts +1 -0
  285. package/lib/index-anchor/types.d.ts +11 -0
  286. package/lib/index-anchor/types.js +15 -0
  287. package/lib/index-bar/index.d.ts +1 -1
  288. package/lib/index-bar/types.d.ts +6 -0
  289. package/lib/index.d.ts +1 -1
  290. package/lib/index.js +1 -1
  291. package/lib/list/index.d.ts +1 -1
  292. package/lib/list/types.d.ts +6 -0
  293. package/lib/loading/index.d.ts +1 -0
  294. package/lib/loading/types.d.ts +7 -0
  295. package/lib/loading/types.js +15 -0
  296. package/lib/nav-bar/index.d.ts +1 -0
  297. package/lib/nav-bar/types.d.ts +10 -0
  298. package/lib/nav-bar/types.js +15 -0
  299. package/lib/notice-bar/index.d.ts +1 -1
  300. package/lib/notice-bar/types.d.ts +11 -0
  301. package/lib/notify/Notify.js +1 -0
  302. package/lib/notify/index.d.ts +2 -2
  303. package/lib/notify/types.d.ts +10 -0
  304. package/lib/number-keyboard/index.d.ts +1 -0
  305. package/lib/number-keyboard/types.d.ts +17 -0
  306. package/lib/number-keyboard/types.js +15 -0
  307. package/lib/overlay/index.d.ts +1 -0
  308. package/lib/overlay/types.d.ts +4 -0
  309. package/lib/overlay/types.js +15 -0
  310. package/lib/pagination/index.d.ts +1 -0
  311. package/lib/pagination/types.d.ts +11 -0
  312. package/lib/pagination/types.js +15 -0
  313. package/lib/password-input/index.d.ts +1 -0
  314. package/lib/password-input/types.d.ts +17 -0
  315. package/lib/password-input/types.js +15 -0
  316. package/lib/picker/index.d.ts +1 -1
  317. package/lib/picker/types.d.ts +17 -0
  318. package/lib/picker-group/index.d.ts +1 -0
  319. package/lib/picker-group/types.d.ts +3 -0
  320. package/lib/picker-group/types.js +15 -0
  321. package/lib/popover/index.d.ts +1 -1
  322. package/lib/popover/types.d.ts +15 -0
  323. package/lib/popup/index.d.ts +1 -1
  324. package/lib/popup/types.d.ts +9 -0
  325. package/lib/progress/index.d.ts +1 -1
  326. package/lib/progress/types.d.ts +11 -0
  327. package/lib/pull-refresh/index.d.ts +1 -0
  328. package/lib/pull-refresh/types.d.ts +6 -0
  329. package/lib/pull-refresh/types.js +15 -0
  330. package/lib/radio/index.d.ts +1 -0
  331. package/lib/radio/types.d.ts +11 -0
  332. package/lib/radio/types.js +15 -0
  333. package/lib/rate/index.d.ts +1 -0
  334. package/lib/rate/types.d.ts +7 -0
  335. package/lib/rate/types.js +15 -0
  336. package/lib/search/index.d.ts +1 -1
  337. package/lib/search/types.d.ts +13 -0
  338. package/lib/share-sheet/index.d.ts +1 -0
  339. package/lib/share-sheet/types.d.ts +17 -0
  340. package/lib/share-sheet/types.js +15 -0
  341. package/lib/sidebar/index.d.ts +1 -0
  342. package/lib/sidebar/types.d.ts +3 -0
  343. package/lib/sidebar/types.js +15 -0
  344. package/lib/sidebar-item/index.d.ts +1 -0
  345. package/lib/sidebar-item/types.d.ts +15 -0
  346. package/lib/sidebar-item/types.js +15 -0
  347. package/lib/skeleton/index.d.ts +1 -0
  348. package/lib/skeleton/types.d.ts +9 -0
  349. package/lib/skeleton/types.js +15 -0
  350. package/lib/slider/index.d.ts +1 -0
  351. package/lib/slider/types.d.ts +11 -0
  352. package/lib/slider/types.js +15 -0
  353. package/lib/step/index.d.ts +1 -0
  354. package/lib/step/types.d.ts +13 -0
  355. package/lib/step/types.js +15 -0
  356. package/lib/stepper/index.d.ts +1 -0
  357. package/lib/stepper/types.d.ts +15 -0
  358. package/lib/stepper/types.js +15 -0
  359. package/lib/steps/index.d.ts +1 -0
  360. package/lib/steps/types.d.ts +3 -0
  361. package/lib/steps/types.js +15 -0
  362. package/lib/sticky/index.d.ts +1 -0
  363. package/lib/sticky/types.d.ts +3 -0
  364. package/lib/sticky/types.js +15 -0
  365. package/lib/submit-bar/index.d.ts +1 -0
  366. package/lib/submit-bar/types.d.ts +21 -0
  367. package/lib/submit-bar/types.js +15 -0
  368. package/lib/swipe/index.d.ts +1 -1
  369. package/lib/swipe/types.d.ts +8 -0
  370. package/lib/switch/index.d.ts +1 -0
  371. package/lib/switch/types.d.ts +12 -0
  372. package/lib/switch/types.js +15 -0
  373. package/lib/tabbar/index.d.ts +1 -0
  374. package/lib/tabbar/types.d.ts +5 -0
  375. package/lib/tabbar/types.js +15 -0
  376. package/lib/tabbar-item/index.d.ts +1 -0
  377. package/lib/tabbar-item/types.d.ts +9 -0
  378. package/lib/tabbar-item/types.js +15 -0
  379. package/lib/tabs/index.d.ts +1 -1
  380. package/lib/tabs/types.d.ts +14 -0
  381. package/lib/tag/Tag.d.ts +1 -2
  382. package/lib/tag/index.d.ts +9 -8
  383. package/lib/tag/types.d.ts +20 -0
  384. package/lib/tag/types.js +15 -0
  385. package/lib/toast/index.d.ts +6 -1
  386. package/lib/toast/types.d.ts +17 -0
  387. package/lib/tree-select/index.d.ts +1 -0
  388. package/lib/tree-select/types.d.ts +10 -0
  389. package/lib/tree-select/types.js +15 -0
  390. package/lib/uploader/index.d.ts +1 -1
  391. package/lib/uploader/types.d.ts +27 -0
  392. package/lib/vant.cjs.js +2 -1
  393. package/lib/vant.es.js +2 -1
  394. package/lib/vant.js +2 -1
  395. package/lib/vant.min.js +1 -1
  396. package/lib/web-types.json +1573 -1533
  397. package/package.json +1 -1
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -71,6 +71,7 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
71
71
  export default Image;
72
72
  export { imageProps } from './Image';
73
73
  export type { ImageFit, ImageProps } from './Image';
74
+ export type { ImageThemeVars } from './types';
74
75
  declare module 'vue' {
75
76
  interface GlobalComponents {
76
77
  VanImage: typeof Image;
@@ -0,0 +1,9 @@
1
+ export declare type ImageThemeVars = {
2
+ imagePlaceholderTextColor?: string;
3
+ imagePlaceholderFontSize?: string;
4
+ imagePlaceholderBackground?: string;
5
+ imageLoadingIconSize?: string;
6
+ imageLoadingIconColor?: string;
7
+ imageErrorIconSize?: string;
8
+ imageErrorIconColor?: string;
9
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -131,9 +131,9 @@ export default ImagePreview;
131
131
  export { imagePreviewProps } from './ImagePreview';
132
132
  export { showImagePreview } from './function-call';
133
133
  export type { ImagePreviewProps };
134
- export type { ImagePreviewOptions, ImagePreviewInstance, ImagePreviewScaleEventParams, } from './types';
134
+ export type { ImagePreviewOptions, ImagePreviewInstance, ImagePreviewThemeVars, ImagePreviewScaleEventParams, } from './types';
135
135
  declare module 'vue' {
136
136
  interface GlobalComponents {
137
- VanImagePreview: typeof ImagePreview.Component;
137
+ VanImagePreview: typeof ImagePreview;
138
138
  }
139
139
  }
@@ -37,3 +37,14 @@ export declare type ImagePreviewExpose = {
37
37
  swipeTo: (index: number, options?: SwipeToOptions) => void;
38
38
  };
39
39
  export declare type ImagePreviewInstance = ComponentPublicInstance<ImagePreviewProps, ImagePreviewExpose>;
40
+ export declare type ImagePreviewThemeVars = {
41
+ imagePreviewIndexTextColor?: string;
42
+ imagePreviewIndexFontSize?: string;
43
+ imagePreviewIndexLineHeight?: number | string;
44
+ imagePreviewIndexTextShadow?: string;
45
+ imagePreviewOverlayBackground?: string;
46
+ imagePreviewCloseIconSize?: string;
47
+ imagePreviewCloseIconColor?: string;
48
+ imagePreviewCloseIconMargin?: string;
49
+ imagePreviewCloseIconZIndex?: number | string;
50
+ };
@@ -6,6 +6,7 @@ export declare const IndexAnchor: import("../utils").WithInstall<import("vue").D
6
6
  export default IndexAnchor;
7
7
  export { indexAnchorProps } from './IndexAnchor';
8
8
  export type { IndexAnchorProps } from './IndexAnchor';
9
+ export type { IndexAnchorThemeVars } from './types';
9
10
  declare module 'vue' {
10
11
  interface GlobalComponents {
11
12
  VanIndexAnchor: typeof IndexAnchor;
@@ -0,0 +1,11 @@
1
+ export declare type IndexAnchorThemeVars = {
2
+ indexAnchorZIndex?: number | string;
3
+ indexAnchorPadding?: string;
4
+ indexAnchorTextColor?: string;
5
+ indexAnchorFontWeight?: string;
6
+ indexAnchorFontSize?: string;
7
+ indexAnchorLineHeight?: number | string;
8
+ indexAnchorBackground?: string;
9
+ indexAnchorStickyTextColor?: string;
10
+ indexAnchorStickyBackground?: string;
11
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -42,7 +42,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
42
42
  export default IndexBar;
43
43
  export { indexBarProps } from './IndexBar';
44
44
  export type { IndexBarProps };
45
- export type { IndexBarInstance } from './types';
45
+ export type { IndexBarInstance, IndexBarThemeVars } from './types';
46
46
  declare module 'vue' {
47
47
  interface GlobalComponents {
48
48
  VanIndexBar: typeof IndexBar;
@@ -8,3 +8,9 @@ export declare type IndexBarExpose = {
8
8
  scrollTo: (index: Numeric) => void;
9
9
  };
10
10
  export declare type IndexBarInstance = ComponentPublicInstance<IndexBarProps, IndexBarExpose>;
11
+ export declare type IndexBarThemeVars = {
12
+ indexBarSidebarZIndex?: number | string;
13
+ indexBarIndexFontSize?: string;
14
+ indexBarIndexLineHeight?: number | string;
15
+ indexBarIndexActiveColor?: string;
16
+ };
package/lib/index.d.ts CHANGED
@@ -93,4 +93,4 @@ declare namespace _default {
93
93
  }
94
94
  export default _default;
95
95
  export function install(app: any): void;
96
- export const version: "4.0.0-rc.2";
96
+ export const version: "4.0.0-rc.3";
package/lib/index.js CHANGED
@@ -200,7 +200,7 @@ __reExport(stdin_exports, require("./time-picker"), module.exports);
200
200
  __reExport(stdin_exports, require("./toast"), module.exports);
201
201
  __reExport(stdin_exports, require("./tree-select"), module.exports);
202
202
  __reExport(stdin_exports, require("./uploader"), module.exports);
203
- const version = "4.0.0-rc.2";
203
+ const version = "4.0.0-rc.3";
204
204
  function install(app) {
205
205
  const components = [
206
206
  import_action_bar.ActionBar,
@@ -52,7 +52,7 @@ export declare const List: import("../utils").WithInstall<import("vue").DefineCo
52
52
  export default List;
53
53
  export { listProps } from './List';
54
54
  export type { ListProps };
55
- export type { ListInstance, ListDirection } from './types';
55
+ export type { ListInstance, ListDirection, ListThemeVars } from './types';
56
56
  declare module 'vue' {
57
57
  interface GlobalComponents {
58
58
  VanList: typeof List;
@@ -5,3 +5,9 @@ export declare type ListExpose = {
5
5
  check: () => void;
6
6
  };
7
7
  export declare type ListInstance = ComponentPublicInstance<ListProps, ListExpose>;
8
+ export declare type ListThemeVars = {
9
+ listTextColor?: string;
10
+ listTextFontSize?: string;
11
+ listTextLineHeight?: number | string;
12
+ listLoadingIconSize?: string;
13
+ };
@@ -25,6 +25,7 @@ export declare const Loading: import("../utils").WithInstall<import("vue").Defin
25
25
  export default Loading;
26
26
  export { loadingProps } from './Loading';
27
27
  export type { LoadingType, LoadingProps } from './Loading';
28
+ export type { LoadingThemeVars } from './types';
28
29
  declare module 'vue' {
29
30
  interface GlobalComponents {
30
31
  VanLoading: typeof Loading;
@@ -0,0 +1,7 @@
1
+ export declare type LoadingThemeVars = {
2
+ loadingTextColor?: string;
3
+ loadingTextFontSize?: string;
4
+ loadingSpinnerColor?: string;
5
+ loadingSpinnerSize?: string;
6
+ loadingSpinnerDuration?: string;
7
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -37,6 +37,7 @@ export declare const NavBar: import("../utils").WithInstall<import("vue").Define
37
37
  export default NavBar;
38
38
  export { navBarProps } from './NavBar';
39
39
  export type { NavBarProps } from './NavBar';
40
+ export type { NavBarThemeVars } from './types';
40
41
  declare module 'vue' {
41
42
  interface GlobalComponents {
42
43
  VanNavBar: typeof NavBar;
@@ -0,0 +1,10 @@
1
+ export declare type NavBarThemeVars = {
2
+ navBarHeight?: string;
3
+ navBarBackground?: string;
4
+ navBarArrowSize?: string;
5
+ navBarIconColor?: string;
6
+ navBarTextColor?: string;
7
+ navBarTitleFontSize?: string;
8
+ navBarTitleTextColor?: string;
9
+ navBarZIndex?: number | string;
10
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -49,7 +49,7 @@ export declare const NoticeBar: import("../utils").WithInstall<import("vue").Def
49
49
  export default NoticeBar;
50
50
  export { noticeBarProps } from './NoticeBar';
51
51
  export type { NoticeBarProps };
52
- export type { NoticeBarMode, NoticeBarInstance } from './types';
52
+ export type { NoticeBarMode, NoticeBarInstance, NoticeBarThemeVars, } from './types';
53
53
  declare module 'vue' {
54
54
  interface GlobalComponents {
55
55
  VanNoticeBar: typeof NoticeBar;
@@ -5,3 +5,14 @@ export declare type NoticeBarExpose = {
5
5
  reset: () => void;
6
6
  };
7
7
  export declare type NoticeBarInstance = ComponentPublicInstance<NoticeBarProps, NoticeBarExpose>;
8
+ export declare type NoticeBarThemeVars = {
9
+ noticeBarHeight?: string;
10
+ noticeBarPadding?: string;
11
+ noticeBarWrapablePadding?: string;
12
+ noticeBarTextColor?: string;
13
+ noticeBarFontSize?: string;
14
+ noticeBarLineHeight?: number | string;
15
+ noticeBarBackground?: string;
16
+ noticeBarIconSize?: string;
17
+ noticeBarIconMinWidth?: string;
18
+ };
@@ -53,6 +53,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
53
53
  background: props.background
54
54
  },
55
55
  "overlay": false,
56
+ "zIndex": props.zIndex,
56
57
  "position": props.position,
57
58
  "duration": 0.2,
58
59
  "lockScroll": props.lockScroll,
@@ -92,9 +92,9 @@ export default Notify;
92
92
  export { notifyProps } from './Notify';
93
93
  export { showNotify, closeNotify, setNotifyDefaultOptions, resetNotifyDefaultOptions, } from './function-call';
94
94
  export type { NotifyProps } from './Notify';
95
- export type { NotifyType, NotifyOptions } from './types';
95
+ export type { NotifyType, NotifyOptions, NotifyThemeVars } from './types';
96
96
  declare module 'vue' {
97
97
  interface GlobalComponents {
98
- VanNotify: typeof Notify.Component;
98
+ VanNotify: typeof Notify;
99
99
  }
100
100
  }
@@ -15,3 +15,13 @@ export declare type NotifyOptions = {
15
15
  onClose?: () => void;
16
16
  onOpened?: () => void;
17
17
  };
18
+ export declare type NotifyThemeVars = {
19
+ notifyTextColor?: string;
20
+ notifyPadding?: string;
21
+ notifyFontSize?: string;
22
+ notifyLineHeight?: number | string;
23
+ notifyPrimaryBackground?: string;
24
+ notifySuccessBackground?: string;
25
+ notifyDangerBackground?: string;
26
+ notifyWarningBackground?: string;
27
+ };
@@ -113,6 +113,7 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
113
113
  export default NumberKeyboard;
114
114
  export { numberKeyboardProps } from './NumberKeyboard';
115
115
  export type { NumberKeyboardProps, NumberKeyboardTheme, } from './NumberKeyboard';
116
+ export type { NumberKeyboardThemeVars } from './types';
116
117
  declare module 'vue' {
117
118
  interface GlobalComponents {
118
119
  VanNumberKeyboard: typeof NumberKeyboard;
@@ -0,0 +1,17 @@
1
+ export declare type NumberKeyboardThemeVars = {
2
+ numberKeyboardBackground?: string;
3
+ numberKeyboardKeyHeight?: string;
4
+ numberKeyboardKeyFontSize?: string;
5
+ numberKeyboardKeyActiveColor?: string;
6
+ numberKeyboardKeyBackground?: string;
7
+ numberKeyboardDeleteFontSize?: string;
8
+ numberKeyboardTitleColor?: string;
9
+ numberKeyboardTitleHeight?: string;
10
+ numberKeyboardTitleFontSize?: string;
11
+ numberKeyboardClosePadding?: string;
12
+ numberKeyboardCloseColor?: string;
13
+ numberKeyboardCloseFontSize?: string;
14
+ numberKeyboardButtonTextColor?: string;
15
+ numberKeyboardButtonBackground?: string;
16
+ numberKeyboardZIndex?: number | string;
17
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -34,6 +34,7 @@ export declare const Overlay: import("../utils").WithInstall<import("vue").Defin
34
34
  export default Overlay;
35
35
  export { overlayProps } from './Overlay';
36
36
  export type { OverlayProps } from './Overlay';
37
+ export type { OverlayThemeVars } from './types';
37
38
  declare module 'vue' {
38
39
  interface GlobalComponents {
39
40
  VanOverlay: typeof Overlay;
@@ -0,0 +1,4 @@
1
+ export declare type OverlayThemeVars = {
2
+ overlayZIndex?: number | string;
3
+ overlayBackground?: string;
4
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -69,6 +69,7 @@ export declare const Pagination: import("../utils").WithInstall<import("vue").De
69
69
  export default Pagination;
70
70
  export { paginationProps } from './Pagination';
71
71
  export type { PaginationMode, PaginationProps } from './Pagination';
72
+ export type { PaginationThemeVars } from './types';
72
73
  declare module 'vue' {
73
74
  interface GlobalComponents {
74
75
  VanPagination: typeof Pagination;
@@ -0,0 +1,11 @@
1
+ export declare type PaginationThemeVars = {
2
+ paginationHeight?: string;
3
+ paginationFontSize?: string;
4
+ paginationItemWidth?: string;
5
+ paginationItemDefaultColor?: string;
6
+ paginationItemDisabledColor?: string;
7
+ paginationItemDisabledBackground?: string;
8
+ paginationBackground?: string;
9
+ paginationDescColor?: string;
10
+ paginationDisabledOpacity?: number | string;
11
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -43,6 +43,7 @@ export declare const PasswordInput: import("../utils").WithInstall<import("vue")
43
43
  export default PasswordInput;
44
44
  export { passwordInputProps } from './PasswordInput';
45
45
  export type { PasswordInputProps } from './PasswordInput';
46
+ export type { PasswordInputThemeVars } from './types';
46
47
  declare module 'vue' {
47
48
  interface GlobalComponents {
48
49
  VanPasswordInput: typeof PasswordInput;
@@ -0,0 +1,17 @@
1
+ export declare type PasswordInputThemeVars = {
2
+ passwordInputHeight?: string;
3
+ passwordInputMargin?: string;
4
+ passwordInputFontSize?: string;
5
+ passwordInputRadius?: string;
6
+ passwordInputBackground?: string;
7
+ passwordInputInfoColor?: string;
8
+ passwordInputInfoFontSize?: string;
9
+ passwordInputErrorInfoColor?: string;
10
+ passwordInputDotSize?: string;
11
+ passwordInputDotColor?: string;
12
+ passwordInputTextColor?: string;
13
+ passwordInputCursorColor?: string;
14
+ passwordInputCursorWidth?: string;
15
+ passwordInputCursorHeight?: string;
16
+ passwordInputCursorDuration?: string;
17
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -96,7 +96,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
96
96
  export default Picker;
97
97
  export { pickerProps } from './Picker';
98
98
  export type { PickerProps };
99
- 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';
100
100
  declare module 'vue' {
101
101
  interface GlobalComponents {
102
102
  VanPicker: typeof Picker;
@@ -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
+ };
@@ -26,6 +26,7 @@ export declare const PickerGroup: import("../utils").WithInstall<import("vue").D
26
26
  export default PickerGroup;
27
27
  export { pickerGroupProps } from './PickerGroup';
28
28
  export type { PickerGroupProps };
29
+ export type { PickerGroupThemeVars } from './types';
29
30
  declare module 'vue' {
30
31
  interface GlobalComponents {
31
32
  VanPickerGroup: typeof PickerGroup;
@@ -0,0 +1,3 @@
1
+ export declare type PickerGroupThemeVars = {
2
+ pickerGroupBackground?: string;
3
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -113,7 +113,7 @@ export declare const Popover: import("../utils").WithInstall<import("vue").Defin
113
113
  export default Popover;
114
114
  export { popoverProps } from './Popover';
115
115
  export type { PopoverProps } from './Popover';
116
- export type { PopoverTheme, PopoverAction, PopoverTrigger, PopoverPlacement, } from './types';
116
+ export type { PopoverTheme, PopoverAction, PopoverTrigger, PopoverThemeVars, PopoverPlacement, } from './types';
117
117
  declare module 'vue' {
118
118
  interface GlobalComponents {
119
119
  VanPopover: typeof Popover;
@@ -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
+ };
@@ -116,7 +116,7 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
116
116
  export default Popup;
117
117
  export { popupProps } from './Popup';
118
118
  export type { PopupProps } from './Popup';
119
- export type { PopupPosition, PopupInstance, PopupCloseIconPosition, } from './types';
119
+ export type { PopupPosition, PopupInstance, PopupThemeVars, PopupCloseIconPosition, } from './types';
120
120
  declare module 'vue' {
121
121
  interface GlobalComponents {
122
122
  VanPopup: typeof Popup;
@@ -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
+ };
@@ -41,7 +41,7 @@ export declare const Progress: import("../utils").WithInstall<import("vue").Defi
41
41
  export default Progress;
42
42
  export { progressProps } from './Progress';
43
43
  export type { ProgressProps };
44
- export type { ProgressInstance } from './types';
44
+ export type { ProgressInstance, ProgressThemeVars } from './types';
45
45
  declare module 'vue' {
46
46
  interface GlobalComponents {
47
47
  VanProgress: typeof Progress;
@@ -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
+ };
@@ -52,6 +52,7 @@ export declare const PullRefresh: import("../utils").WithInstall<import("vue").D
52
52
  export default PullRefresh;
53
53
  export { pullRefreshProps } from './PullRefresh';
54
54
  export type { PullRefreshProps } from './PullRefresh';
55
+ export type { PullRefreshThemeVars } from './types';
55
56
  declare module 'vue' {
56
57
  interface GlobalComponents {
57
58
  VanPullRefresh: typeof PullRefresh;
@@ -0,0 +1,6 @@
1
+ export declare type PullRefreshThemeVars = {
2
+ pullRefreshHeadHeight?: string;
3
+ pullRefreshHeadFontSize?: string;
4
+ pullRefreshHeadTextColor?: string;
5
+ pullRefreshLoadingIconSize?: string;
6
+ };