vant 4.0.0-rc.2 → 4.0.0-rc.4

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 (406) hide show
  1. package/README.md +4 -5
  2. package/changelog.generated.md +38 -26
  3. package/es/action-bar/index.d.ts +1 -0
  4. package/es/action-bar/types.d.ts +4 -0
  5. package/es/action-bar/types.mjs +0 -0
  6. package/es/action-bar-button/index.d.ts +1 -0
  7. package/es/action-bar-button/types.d.ts +5 -0
  8. package/es/action-bar-button/types.mjs +0 -0
  9. package/es/action-bar-icon/index.d.ts +1 -0
  10. package/es/action-bar-icon/types.d.ts +10 -0
  11. package/es/action-bar-icon/types.mjs +0 -0
  12. package/es/action-sheet/index.d.ts +1 -0
  13. package/es/action-sheet/types.d.ts +23 -0
  14. package/es/action-sheet/types.mjs +0 -0
  15. package/es/address-edit/index.d.ts +1 -1
  16. package/es/address-edit/types.d.ts +6 -0
  17. package/es/address-list/index.d.ts +1 -0
  18. package/es/address-list/types.d.ts +15 -0
  19. package/es/address-list/types.mjs +0 -0
  20. package/es/badge/index.d.ts +1 -0
  21. package/es/badge/types.d.ts +12 -0
  22. package/es/badge/types.mjs +0 -0
  23. package/es/button/index.d.ts +1 -1
  24. package/es/button/types.d.ts +36 -0
  25. package/es/calendar/index.d.ts +1 -1
  26. package/es/calendar/types.d.ts +28 -0
  27. package/es/card/index.d.ts +1 -0
  28. package/es/card/types.d.ts +18 -0
  29. package/es/card/types.mjs +0 -0
  30. package/es/cascader/index.d.ts +1 -1
  31. package/es/cascader/types.d.ts +15 -0
  32. package/es/cell/index.d.ts +1 -0
  33. package/es/cell/types.d.ts +21 -0
  34. package/es/cell/types.mjs +0 -0
  35. package/es/cell-group/index.d.ts +1 -0
  36. package/es/cell-group/types.d.ts +10 -0
  37. package/es/cell-group/types.mjs +0 -0
  38. package/es/checkbox/index.d.ts +1 -1
  39. package/es/checkbox/types.d.ts +11 -0
  40. package/es/circle/index.d.ts +1 -0
  41. package/es/circle/types.d.ts +9 -0
  42. package/es/circle/types.mjs +0 -0
  43. package/es/collapse-item/index.d.ts +1 -1
  44. package/es/collapse-item/types.d.ts +9 -0
  45. package/es/config-provider/index.d.ts +1 -0
  46. package/es/config-provider/types.d.ts +1 -0
  47. package/es/config-provider/types.mjs +0 -0
  48. package/es/contact-card/index.d.ts +1 -0
  49. package/es/contact-card/types.d.ts +6 -0
  50. package/es/contact-card/types.mjs +0 -0
  51. package/es/contact-edit/index.d.ts +1 -0
  52. package/es/contact-edit/types.d.ts +8 -0
  53. package/es/contact-edit/types.mjs +0 -0
  54. package/es/contact-list/index.d.ts +1 -0
  55. package/es/contact-list/types.d.ts +6 -0
  56. package/es/contact-list/types.mjs +0 -0
  57. package/es/count-down/index.d.ts +1 -1
  58. package/es/count-down/types.d.ts +5 -0
  59. package/es/coupon/index.d.ts +1 -0
  60. package/es/coupon/types.d.ts +19 -0
  61. package/es/coupon/types.mjs +0 -0
  62. package/es/coupon-cell/index.d.ts +1 -0
  63. package/es/coupon-cell/types.d.ts +3 -0
  64. package/es/coupon-cell/types.mjs +0 -0
  65. package/es/coupon-list/index.d.ts +1 -0
  66. package/es/coupon-list/types.d.ts +9 -0
  67. package/es/coupon-list/types.mjs +0 -0
  68. package/es/dialog/index.d.ts +1 -1
  69. package/es/dialog/types.d.ts +21 -0
  70. package/es/divider/index.d.ts +1 -0
  71. package/es/divider/types.d.ts +10 -0
  72. package/es/divider/types.mjs +0 -0
  73. package/es/dropdown-item/index.d.ts +1 -1
  74. package/es/dropdown-item/types.d.ts +3 -0
  75. package/es/dropdown-menu/index.d.ts +1 -1
  76. package/es/dropdown-menu/types.d.ts +13 -0
  77. package/es/empty/index.d.ts +1 -0
  78. package/es/empty/types.d.ts +10 -0
  79. package/es/empty/types.mjs +0 -0
  80. package/es/field/Field.mjs +2 -1
  81. package/es/field/index.d.ts +1 -1
  82. package/es/field/types.d.ts +21 -0
  83. package/es/grid-item/index.d.ts +1 -0
  84. package/es/grid-item/types.d.ts +8 -0
  85. package/es/grid-item/types.mjs +0 -0
  86. package/es/image/index.d.ts +1 -0
  87. package/es/image/types.d.ts +9 -0
  88. package/es/image/types.mjs +0 -0
  89. package/es/image-preview/index.d.ts +2 -2
  90. package/es/image-preview/types.d.ts +11 -0
  91. package/es/index-anchor/index.d.ts +1 -0
  92. package/es/index-anchor/types.d.ts +11 -0
  93. package/es/index-anchor/types.mjs +0 -0
  94. package/es/index-bar/index.d.ts +1 -1
  95. package/es/index-bar/types.d.ts +6 -0
  96. package/es/index.d.ts +1 -1
  97. package/es/index.mjs +1 -1
  98. package/es/list/index.d.ts +1 -1
  99. package/es/list/types.d.ts +6 -0
  100. package/es/loading/index.d.ts +1 -0
  101. package/es/loading/types.d.ts +7 -0
  102. package/es/loading/types.mjs +0 -0
  103. package/es/nav-bar/index.d.ts +1 -0
  104. package/es/nav-bar/types.d.ts +10 -0
  105. package/es/nav-bar/types.mjs +0 -0
  106. package/es/notice-bar/index.d.ts +1 -1
  107. package/es/notice-bar/types.d.ts +11 -0
  108. package/es/notify/Notify.mjs +1 -0
  109. package/es/notify/function-call.mjs +1 -1
  110. package/es/notify/index.d.ts +2 -2
  111. package/es/notify/types.d.ts +10 -0
  112. package/es/number-keyboard/index.d.ts +1 -0
  113. package/es/number-keyboard/types.d.ts +17 -0
  114. package/es/number-keyboard/types.mjs +0 -0
  115. package/es/overlay/index.d.ts +1 -0
  116. package/es/overlay/types.d.ts +4 -0
  117. package/es/overlay/types.mjs +0 -0
  118. package/es/pagination/index.d.ts +1 -0
  119. package/es/pagination/types.d.ts +11 -0
  120. package/es/pagination/types.mjs +0 -0
  121. package/es/password-input/index.d.ts +1 -0
  122. package/es/password-input/types.d.ts +17 -0
  123. package/es/password-input/types.mjs +0 -0
  124. package/es/picker/index.d.ts +1 -1
  125. package/es/picker/types.d.ts +17 -0
  126. package/es/picker-group/index.d.ts +1 -0
  127. package/es/picker-group/types.d.ts +3 -0
  128. package/es/picker-group/types.mjs +0 -0
  129. package/es/popover/index.d.ts +1 -1
  130. package/es/popover/types.d.ts +15 -0
  131. package/es/popup/index.d.ts +1 -1
  132. package/es/popup/types.d.ts +9 -0
  133. package/es/progress/index.d.ts +1 -1
  134. package/es/progress/types.d.ts +11 -0
  135. package/es/pull-refresh/index.d.ts +1 -0
  136. package/es/pull-refresh/types.d.ts +6 -0
  137. package/es/pull-refresh/types.mjs +0 -0
  138. package/es/radio/index.d.ts +1 -0
  139. package/es/radio/types.d.ts +11 -0
  140. package/es/radio/types.mjs +0 -0
  141. package/es/rate/index.d.ts +1 -0
  142. package/es/rate/types.d.ts +7 -0
  143. package/es/rate/types.mjs +0 -0
  144. package/es/search/index.d.ts +1 -1
  145. package/es/search/types.d.ts +13 -0
  146. package/es/share-sheet/index.d.ts +1 -0
  147. package/es/share-sheet/types.d.ts +17 -0
  148. package/es/share-sheet/types.mjs +0 -0
  149. package/es/sidebar/index.d.ts +1 -0
  150. package/es/sidebar/types.d.ts +3 -0
  151. package/es/sidebar/types.mjs +0 -0
  152. package/es/sidebar-item/index.d.ts +1 -0
  153. package/es/sidebar-item/types.d.ts +15 -0
  154. package/es/sidebar-item/types.mjs +0 -0
  155. package/es/skeleton/index.d.ts +1 -0
  156. package/es/skeleton/types.d.ts +9 -0
  157. package/es/skeleton/types.mjs +0 -0
  158. package/es/slider/index.d.ts +1 -0
  159. package/es/slider/types.d.ts +11 -0
  160. package/es/slider/types.mjs +0 -0
  161. package/es/step/index.d.ts +1 -0
  162. package/es/step/types.d.ts +13 -0
  163. package/es/step/types.mjs +0 -0
  164. package/es/stepper/index.d.ts +1 -0
  165. package/es/stepper/types.d.ts +15 -0
  166. package/es/stepper/types.mjs +0 -0
  167. package/es/steps/index.d.ts +1 -0
  168. package/es/steps/types.d.ts +3 -0
  169. package/es/steps/types.mjs +0 -0
  170. package/es/sticky/index.d.ts +1 -0
  171. package/es/sticky/types.d.ts +3 -0
  172. package/es/sticky/types.mjs +0 -0
  173. package/es/submit-bar/index.d.ts +1 -0
  174. package/es/submit-bar/types.d.ts +21 -0
  175. package/es/submit-bar/types.mjs +0 -0
  176. package/es/swipe/index.d.ts +1 -1
  177. package/es/swipe/types.d.ts +8 -0
  178. package/es/switch/index.d.ts +1 -0
  179. package/es/switch/types.d.ts +12 -0
  180. package/es/switch/types.mjs +0 -0
  181. package/es/tab/Tab.mjs +12 -2
  182. package/es/tabbar/index.d.ts +1 -0
  183. package/es/tabbar/types.d.ts +5 -0
  184. package/es/tabbar/types.mjs +0 -0
  185. package/es/tabbar-item/index.d.ts +1 -0
  186. package/es/tabbar-item/types.d.ts +9 -0
  187. package/es/tabbar-item/types.mjs +0 -0
  188. package/es/tabs/Tabs.mjs +11 -11
  189. package/es/tabs/index.d.ts +1 -1
  190. package/es/tabs/types.d.ts +14 -0
  191. package/es/tag/Tag.d.ts +1 -2
  192. package/es/tag/index.d.ts +9 -8
  193. package/es/tag/types.d.ts +20 -0
  194. package/es/tag/types.mjs +0 -0
  195. package/es/toast/index.d.ts +6 -1
  196. package/es/toast/types.d.ts +17 -0
  197. package/es/tree-select/index.d.ts +1 -0
  198. package/es/tree-select/types.d.ts +10 -0
  199. package/es/tree-select/types.mjs +0 -0
  200. package/es/uploader/index.d.ts +1 -1
  201. package/es/uploader/types.d.ts +27 -0
  202. package/lib/action-bar/index.d.ts +1 -0
  203. package/lib/action-bar/types.d.ts +4 -0
  204. package/lib/action-bar/types.js +15 -0
  205. package/lib/action-bar-button/index.d.ts +1 -0
  206. package/lib/action-bar-button/types.d.ts +5 -0
  207. package/lib/action-bar-button/types.js +15 -0
  208. package/lib/action-bar-icon/index.d.ts +1 -0
  209. package/lib/action-bar-icon/types.d.ts +10 -0
  210. package/lib/action-bar-icon/types.js +15 -0
  211. package/lib/action-sheet/index.d.ts +1 -0
  212. package/lib/action-sheet/types.d.ts +23 -0
  213. package/lib/action-sheet/types.js +15 -0
  214. package/lib/address-edit/index.d.ts +1 -1
  215. package/lib/address-edit/types.d.ts +6 -0
  216. package/lib/address-list/index.d.ts +1 -0
  217. package/lib/address-list/types.d.ts +15 -0
  218. package/lib/address-list/types.js +15 -0
  219. package/lib/badge/index.d.ts +1 -0
  220. package/lib/badge/types.d.ts +12 -0
  221. package/lib/badge/types.js +15 -0
  222. package/lib/button/index.d.ts +1 -1
  223. package/lib/button/types.d.ts +36 -0
  224. package/lib/calendar/index.d.ts +1 -1
  225. package/lib/calendar/types.d.ts +28 -0
  226. package/lib/card/index.d.ts +1 -0
  227. package/lib/card/types.d.ts +18 -0
  228. package/lib/card/types.js +15 -0
  229. package/lib/cascader/index.d.ts +1 -1
  230. package/lib/cascader/types.d.ts +15 -0
  231. package/lib/cell/index.d.ts +1 -0
  232. package/lib/cell/types.d.ts +21 -0
  233. package/lib/cell/types.js +15 -0
  234. package/lib/cell-group/index.d.ts +1 -0
  235. package/lib/cell-group/types.d.ts +10 -0
  236. package/lib/cell-group/types.js +15 -0
  237. package/lib/checkbox/index.d.ts +1 -1
  238. package/lib/checkbox/types.d.ts +11 -0
  239. package/lib/circle/index.d.ts +1 -0
  240. package/lib/circle/types.d.ts +9 -0
  241. package/lib/circle/types.js +15 -0
  242. package/lib/collapse-item/index.d.ts +1 -1
  243. package/lib/collapse-item/types.d.ts +9 -0
  244. package/lib/config-provider/index.d.ts +1 -0
  245. package/lib/config-provider/types.d.ts +1 -0
  246. package/lib/config-provider/types.js +15 -0
  247. package/lib/contact-card/index.d.ts +1 -0
  248. package/lib/contact-card/types.d.ts +6 -0
  249. package/lib/contact-card/types.js +15 -0
  250. package/lib/contact-edit/index.d.ts +1 -0
  251. package/lib/contact-edit/types.d.ts +8 -0
  252. package/lib/contact-edit/types.js +15 -0
  253. package/lib/contact-list/index.d.ts +1 -0
  254. package/lib/contact-list/types.d.ts +6 -0
  255. package/lib/contact-list/types.js +15 -0
  256. package/lib/count-down/index.d.ts +1 -1
  257. package/lib/count-down/types.d.ts +5 -0
  258. package/lib/coupon/index.d.ts +1 -0
  259. package/lib/coupon/types.d.ts +19 -0
  260. package/lib/coupon/types.js +15 -0
  261. package/lib/coupon-cell/index.d.ts +1 -0
  262. package/lib/coupon-cell/types.d.ts +3 -0
  263. package/lib/coupon-cell/types.js +15 -0
  264. package/lib/coupon-list/index.d.ts +1 -0
  265. package/lib/coupon-list/types.d.ts +9 -0
  266. package/lib/coupon-list/types.js +15 -0
  267. package/lib/dialog/index.d.ts +1 -1
  268. package/lib/dialog/types.d.ts +21 -0
  269. package/lib/divider/index.d.ts +1 -0
  270. package/lib/divider/types.d.ts +10 -0
  271. package/lib/divider/types.js +15 -0
  272. package/lib/dropdown-item/index.d.ts +1 -1
  273. package/lib/dropdown-item/types.d.ts +3 -0
  274. package/lib/dropdown-menu/index.d.ts +1 -1
  275. package/lib/dropdown-menu/types.d.ts +13 -0
  276. package/lib/empty/index.d.ts +1 -0
  277. package/lib/empty/types.d.ts +10 -0
  278. package/lib/empty/types.js +15 -0
  279. package/lib/field/Field.js +2 -1
  280. package/lib/field/index.d.ts +1 -1
  281. package/lib/field/types.d.ts +21 -0
  282. package/lib/grid-item/index.d.ts +1 -0
  283. package/lib/grid-item/types.d.ts +8 -0
  284. package/lib/grid-item/types.js +15 -0
  285. package/lib/image/index.d.ts +1 -0
  286. package/lib/image/types.d.ts +9 -0
  287. package/lib/image/types.js +15 -0
  288. package/lib/image-preview/index.d.ts +2 -2
  289. package/lib/image-preview/types.d.ts +11 -0
  290. package/lib/index-anchor/index.d.ts +1 -0
  291. package/lib/index-anchor/types.d.ts +11 -0
  292. package/lib/index-anchor/types.js +15 -0
  293. package/lib/index-bar/index.d.ts +1 -1
  294. package/lib/index-bar/types.d.ts +6 -0
  295. package/lib/index.d.ts +1 -1
  296. package/lib/index.js +1 -1
  297. package/lib/list/index.d.ts +1 -1
  298. package/lib/list/types.d.ts +6 -0
  299. package/lib/loading/index.d.ts +1 -0
  300. package/lib/loading/types.d.ts +7 -0
  301. package/lib/loading/types.js +15 -0
  302. package/lib/nav-bar/index.d.ts +1 -0
  303. package/lib/nav-bar/types.d.ts +10 -0
  304. package/lib/nav-bar/types.js +15 -0
  305. package/lib/notice-bar/index.d.ts +1 -1
  306. package/lib/notice-bar/types.d.ts +11 -0
  307. package/lib/notify/Notify.js +1 -0
  308. package/lib/notify/function-call.js +1 -1
  309. package/lib/notify/index.d.ts +2 -2
  310. package/lib/notify/types.d.ts +10 -0
  311. package/lib/number-keyboard/index.d.ts +1 -0
  312. package/lib/number-keyboard/types.d.ts +17 -0
  313. package/lib/number-keyboard/types.js +15 -0
  314. package/lib/overlay/index.d.ts +1 -0
  315. package/lib/overlay/types.d.ts +4 -0
  316. package/lib/overlay/types.js +15 -0
  317. package/lib/pagination/index.d.ts +1 -0
  318. package/lib/pagination/types.d.ts +11 -0
  319. package/lib/pagination/types.js +15 -0
  320. package/lib/password-input/index.d.ts +1 -0
  321. package/lib/password-input/types.d.ts +17 -0
  322. package/lib/password-input/types.js +15 -0
  323. package/lib/picker/index.d.ts +1 -1
  324. package/lib/picker/types.d.ts +17 -0
  325. package/lib/picker-group/index.d.ts +1 -0
  326. package/lib/picker-group/types.d.ts +3 -0
  327. package/lib/picker-group/types.js +15 -0
  328. package/lib/popover/index.d.ts +1 -1
  329. package/lib/popover/types.d.ts +15 -0
  330. package/lib/popup/index.d.ts +1 -1
  331. package/lib/popup/types.d.ts +9 -0
  332. package/lib/progress/index.d.ts +1 -1
  333. package/lib/progress/types.d.ts +11 -0
  334. package/lib/pull-refresh/index.d.ts +1 -0
  335. package/lib/pull-refresh/types.d.ts +6 -0
  336. package/lib/pull-refresh/types.js +15 -0
  337. package/lib/radio/index.d.ts +1 -0
  338. package/lib/radio/types.d.ts +11 -0
  339. package/lib/radio/types.js +15 -0
  340. package/lib/rate/index.d.ts +1 -0
  341. package/lib/rate/types.d.ts +7 -0
  342. package/lib/rate/types.js +15 -0
  343. package/lib/search/index.d.ts +1 -1
  344. package/lib/search/types.d.ts +13 -0
  345. package/lib/share-sheet/index.d.ts +1 -0
  346. package/lib/share-sheet/types.d.ts +17 -0
  347. package/lib/share-sheet/types.js +15 -0
  348. package/lib/sidebar/index.d.ts +1 -0
  349. package/lib/sidebar/types.d.ts +3 -0
  350. package/lib/sidebar/types.js +15 -0
  351. package/lib/sidebar-item/index.d.ts +1 -0
  352. package/lib/sidebar-item/types.d.ts +15 -0
  353. package/lib/sidebar-item/types.js +15 -0
  354. package/lib/skeleton/index.d.ts +1 -0
  355. package/lib/skeleton/types.d.ts +9 -0
  356. package/lib/skeleton/types.js +15 -0
  357. package/lib/slider/index.d.ts +1 -0
  358. package/lib/slider/types.d.ts +11 -0
  359. package/lib/slider/types.js +15 -0
  360. package/lib/step/index.d.ts +1 -0
  361. package/lib/step/types.d.ts +13 -0
  362. package/lib/step/types.js +15 -0
  363. package/lib/stepper/index.d.ts +1 -0
  364. package/lib/stepper/types.d.ts +15 -0
  365. package/lib/stepper/types.js +15 -0
  366. package/lib/steps/index.d.ts +1 -0
  367. package/lib/steps/types.d.ts +3 -0
  368. package/lib/steps/types.js +15 -0
  369. package/lib/sticky/index.d.ts +1 -0
  370. package/lib/sticky/types.d.ts +3 -0
  371. package/lib/sticky/types.js +15 -0
  372. package/lib/submit-bar/index.d.ts +1 -0
  373. package/lib/submit-bar/types.d.ts +21 -0
  374. package/lib/submit-bar/types.js +15 -0
  375. package/lib/swipe/index.d.ts +1 -1
  376. package/lib/swipe/types.d.ts +8 -0
  377. package/lib/switch/index.d.ts +1 -0
  378. package/lib/switch/types.d.ts +12 -0
  379. package/lib/switch/types.js +15 -0
  380. package/lib/tab/Tab.js +11 -1
  381. package/lib/tabbar/index.d.ts +1 -0
  382. package/lib/tabbar/types.d.ts +5 -0
  383. package/lib/tabbar/types.js +15 -0
  384. package/lib/tabbar-item/index.d.ts +1 -0
  385. package/lib/tabbar-item/types.d.ts +9 -0
  386. package/lib/tabbar-item/types.js +15 -0
  387. package/lib/tabs/Tabs.js +11 -11
  388. package/lib/tabs/index.d.ts +1 -1
  389. package/lib/tabs/types.d.ts +14 -0
  390. package/lib/tag/Tag.d.ts +1 -2
  391. package/lib/tag/index.d.ts +9 -8
  392. package/lib/tag/types.d.ts +20 -0
  393. package/lib/tag/types.js +15 -0
  394. package/lib/toast/index.d.ts +6 -1
  395. package/lib/toast/types.d.ts +17 -0
  396. package/lib/tree-select/index.d.ts +1 -0
  397. package/lib/tree-select/types.d.ts +10 -0
  398. package/lib/tree-select/types.js +15 -0
  399. package/lib/uploader/index.d.ts +1 -1
  400. package/lib/uploader/types.d.ts +27 -0
  401. package/lib/vant.cjs.js +27 -15
  402. package/lib/vant.es.js +27 -15
  403. package/lib/vant.js +27 -15
  404. package/lib/vant.min.js +1 -1
  405. package/lib/web-types.json +1332 -1292
  406. package/package.json +4 -4
@@ -0,0 +1,8 @@
1
+ export declare type ContactEditThemeVars = {
2
+ contactEditPadding?: string;
3
+ contactEditFieldsRadius?: string;
4
+ contactEditButtonsPadding?: string;
5
+ contactEditButtonMarginBottom?: string;
6
+ contactEditButtonFontSize?: string;
7
+ contactEditFieldLabelWidth?: string;
8
+ };
File without changes
@@ -17,6 +17,7 @@ export declare const ContactList: import("../utils").WithInstall<import("vue").D
17
17
  export default ContactList;
18
18
  export { contactListProps } from './ContactList';
19
19
  export type { ContactListItem, ContactListProps } from './ContactList';
20
+ export type { ContactListThemeVars } from './types';
20
21
  declare module 'vue' {
21
22
  interface GlobalComponents {
22
23
  VanContactList: typeof ContactList;
@@ -0,0 +1,6 @@
1
+ export declare type ContactListThemeVars = {
2
+ contactListEditIconSize?: string;
3
+ contactListAddButtonZIndex?: number | string;
4
+ contactListRadioColor?: string;
5
+ contactListItemPadding?: string;
6
+ };
File without changes
@@ -38,7 +38,7 @@ export declare const CountDown: import("../utils").WithInstall<import("vue").Def
38
38
  export default CountDown;
39
39
  export { countDownProps } from './CountDown';
40
40
  export type { CountDownProps } from './CountDown';
41
- export type { CountDownInstance, CountDownCurrentTime } from './types';
41
+ export type { CountDownInstance, CountDownThemeVars, CountDownCurrentTime, } from './types';
42
42
  declare module 'vue' {
43
43
  interface GlobalComponents {
44
44
  VanCountDown: typeof CountDown;
@@ -8,4 +8,9 @@ declare type CountDownExpose = {
8
8
  };
9
9
  export declare type CountDownInstance = ComponentPublicInstance<CountDownProps, CountDownExpose>;
10
10
  export declare type CountDownCurrentTime = CurrentTime;
11
+ export declare type CountDownThemeVars = {
12
+ countDownTextColor?: string;
13
+ countDownFontSize?: string;
14
+ countDownLineHeight?: number | string;
15
+ };
11
16
  export {};
@@ -27,6 +27,7 @@ export declare const Coupon: import("../utils").WithInstall<import("vue").Define
27
27
  }>>;
28
28
  export default Coupon;
29
29
  export type { CouponInfo } from './Coupon';
30
+ export type { CouponThemeVars } from './types';
30
31
  declare module 'vue' {
31
32
  interface GlobalComponents {
32
33
  VanCoupon: typeof Coupon;
@@ -0,0 +1,19 @@
1
+ export declare type CouponThemeVars = {
2
+ couponMargin?: string;
3
+ couponContentHeight?: string;
4
+ couponContentPadding?: string;
5
+ couponContentTextColor?: string;
6
+ couponBackground?: string;
7
+ couponActiveBackground?: string;
8
+ couponRadius?: string;
9
+ couponShadow?: string;
10
+ couponHeadWidth?: string;
11
+ couponAmountColor?: string;
12
+ couponAmountFontSize?: string;
13
+ couponCurrencyFontSize?: string;
14
+ couponNameFontSize?: string;
15
+ couponDisabledTextColor?: string;
16
+ couponDescriptionPadding?: string;
17
+ couponDescriptionBorderColor?: string;
18
+ couponCheckboxColor?: string;
19
+ };
File without changes
@@ -52,6 +52,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
52
52
  export default CouponCell;
53
53
  export { couponCellProps } from './CouponCell';
54
54
  export type { CouponCellProps } from './CouponCell';
55
+ export type { CouponCellThemeVars } from './types';
55
56
  declare module 'vue' {
56
57
  interface GlobalComponents {
57
58
  VanCouponCell: typeof CouponCell;
@@ -0,0 +1,3 @@
1
+ export declare type CouponCellThemeVars = {
2
+ couponCellSelectedTextColor?: string;
3
+ };
File without changes
@@ -117,6 +117,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
117
117
  export default CouponList;
118
118
  export { couponListProps } from './CouponList';
119
119
  export type { CouponListProps } from './CouponList';
120
+ export type { CouponListThemeVars } from './types';
120
121
  declare module 'vue' {
121
122
  interface GlobalComponents {
122
123
  VanCouponList: typeof CouponList;
@@ -0,0 +1,9 @@
1
+ export declare type CouponListThemeVars = {
2
+ couponListBackground?: string;
3
+ couponListFieldPadding?: string;
4
+ couponListExchangeButtonHeight?: string;
5
+ couponListCloseButtonHeight?: string;
6
+ couponListEmptyTipColor?: string;
7
+ couponListEmptyTipFontSize?: string;
8
+ couponListEmptyTipLineHeight?: number | string;
9
+ };
File without changes
@@ -130,7 +130,7 @@ export default Dialog;
130
130
  export { dialogProps } from './Dialog';
131
131
  export { showDialog, closeDialog, showConfirmDialog, setDialogDefaultOptions, resetDialogDefaultOptions, } from './function-call';
132
132
  export type { DialogProps } from './Dialog';
133
- export type { DialogTheme, DialogMessage, DialogOptions, DialogMessageAlign, } from './types';
133
+ export type { DialogTheme, DialogMessage, DialogOptions, DialogThemeVars, DialogMessageAlign, } from './types';
134
134
  declare module 'vue' {
135
135
  interface GlobalComponents {
136
136
  VanDialog: typeof Dialog;
@@ -30,3 +30,24 @@ export declare type DialogOptions = {
30
30
  confirmButtonDisabled?: boolean;
31
31
  closeOnClickOverlay?: boolean;
32
32
  };
33
+ export declare type DialogThemeVars = {
34
+ dialogWidth?: string;
35
+ dialogSmallScreenWidth?: string;
36
+ dialogFontSize?: string;
37
+ dialogTransition?: string;
38
+ dialogRadius?: string;
39
+ dialogBackground?: string;
40
+ dialogHeaderFontWeight?: string;
41
+ dialogHeaderLineHeight?: number | string;
42
+ dialogHeaderPaddingTop?: string;
43
+ dialogHeaderIsolatedPadding?: string;
44
+ dialogMessagePadding?: string;
45
+ dialogMessageFontSize?: string;
46
+ dialogMessageLineHeight?: number | string;
47
+ dialogMessageMaxHeight?: string;
48
+ dialogHasTitleMessageTextColor?: string;
49
+ dialogHasTitleMessagePaddingTop?: string;
50
+ dialogButtonHeight?: string;
51
+ dialogRoundButtonHeight?: string;
52
+ dialogConfirmButtonTextColor?: string;
53
+ };
@@ -26,6 +26,7 @@ export declare const Divider: import("../utils").WithInstall<import("vue").Defin
26
26
  export default Divider;
27
27
  export { dividerProps } from './Divider';
28
28
  export type { DividerProps, DividerContentPosition } from './Divider';
29
+ export type { DividerThemeVars } from './types';
29
30
  declare module 'vue' {
30
31
  interface GlobalComponents {
31
32
  VanDivider: typeof Divider;
@@ -0,0 +1,10 @@
1
+ export declare type DividerThemeVars = {
2
+ dividerMargin?: string;
3
+ dividerTextColor?: string;
4
+ dividerFontSize?: string;
5
+ dividerLineHeight?: number | string;
6
+ dividerBorderColor?: string;
7
+ dividerContentPadding?: string;
8
+ dividerContentLeftWidth?: string;
9
+ dividerContentRightWidth?: string;
10
+ };
File without changes
@@ -42,7 +42,7 @@ export declare const DropdownItem: import("../utils").WithInstall<import("vue").
42
42
  export default DropdownItem;
43
43
  export { dropdownItemProps } from './DropdownItem';
44
44
  export type { DropdownItemProps };
45
- export type { DropdownItemInstance, DropdownItemOption } from './types';
45
+ export type { DropdownItemOption, DropdownItemInstance, DropdownItemThemeVars, } from './types';
46
46
  declare module 'vue' {
47
47
  interface GlobalComponents {
48
48
  VanDropdownItem: typeof DropdownItem;
@@ -20,3 +20,6 @@ export declare type DropdownItemExpose = {
20
20
  renderTitle: () => string | VNode[];
21
21
  };
22
22
  export declare type DropdownItemInstance = ComponentPublicInstance<DropdownItemProps, DropdownItemExpose>;
23
+ export declare type DropdownItemThemeVars = {
24
+ dropdownItemZIndex?: number | string;
25
+ };
@@ -55,7 +55,7 @@ export declare const DropdownMenu: import("../utils").WithInstall<import("vue").
55
55
  export default DropdownMenu;
56
56
  export { dropdownMenuProps } from './DropdownMenu';
57
57
  export type { DropdownMenuProps };
58
- export type { DropdownMenuDirection } from './types';
58
+ export type { DropdownMenuDirection, DropdownMenuThemeVars } from './types';
59
59
  declare module 'vue' {
60
60
  interface GlobalComponents {
61
61
  VanDropdownMenu: typeof DropdownMenu;
@@ -6,3 +6,16 @@ export declare type DropdownMenuProvide = {
6
6
  props: DropdownMenuProps;
7
7
  offset: Ref<number>;
8
8
  };
9
+ export declare type DropdownMenuThemeVars = {
10
+ dropdownMenuHeight?: string;
11
+ dropdownMenuBackground?: string;
12
+ dropdownMenuShadow?: string;
13
+ dropdownMenuTitleFontSize?: string;
14
+ dropdownMenuTitleTextColor?: string;
15
+ dropdownMenuTitleActiveTextColor?: string;
16
+ dropdownMenuTitleDisabledTextColor?: string;
17
+ dropdownMenuTitlePadding?: string;
18
+ dropdownMenuTitleLineHeight?: number | string;
19
+ dropdownMenuOptionActiveColor?: string;
20
+ dropdownMenuContentMaxHeight?: string;
21
+ };
@@ -18,6 +18,7 @@ export declare const Empty: import("../utils").WithInstall<import("vue").DefineC
18
18
  export default Empty;
19
19
  export { emptyProps } from './Empty';
20
20
  export type { EmptyProps } from './Empty';
21
+ export type { EmptyThemeVars } from './types';
21
22
  declare module 'vue' {
22
23
  interface GlobalComponents {
23
24
  VanEmpty: typeof Empty;
@@ -0,0 +1,10 @@
1
+ export declare type EmptyThemeVars = {
2
+ emptyPadding?: string;
3
+ emptyImageSize?: string;
4
+ emptyDescriptionMarginTop?: string;
5
+ emptyDescriptionPadding?: string;
6
+ emptyDescriptionColor?: string;
7
+ emptyDescriptionFontSize?: string;
8
+ emptyDescriptionLineHeight?: number | string;
9
+ emptyBottomMarginTop?: string;
10
+ };
File without changes
@@ -137,7 +137,8 @@ var stdin_default = defineComponent({
137
137
  state.validateMessage = "";
138
138
  };
139
139
  const endValidate = () => emit("endValidate", {
140
- status: state.status
140
+ status: state.status,
141
+ message: state.validateMessage
141
142
  });
142
143
  const validate = (rules = props.rules) => new Promise((resolve) => {
143
144
  resetValidation();
@@ -196,7 +196,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
196
196
  export default Field;
197
197
  export { fieldProps } from './Field';
198
198
  export type { FieldProps };
199
- export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FiledRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, } from './types';
199
+ export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldThemeVars, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FiledRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, } from './types';
200
200
  declare module 'vue' {
201
201
  interface GlobalComponents {
202
202
  VanField: typeof Field;
@@ -42,3 +42,24 @@ declare global {
42
42
  composing?: boolean;
43
43
  }
44
44
  }
45
+ export declare type FieldThemeVars = {
46
+ fieldLabelWidth?: string;
47
+ fieldLabelColor?: string;
48
+ fieldLabelMarginRight?: string;
49
+ fieldInputTextColor?: string;
50
+ fieldInputErrorTextColor?: string;
51
+ fieldInputDisabledTextColor?: string;
52
+ fieldPlaceholderTextColor?: string;
53
+ fieldIconSize?: string;
54
+ fieldClearIconSize?: string;
55
+ fieldClearIconColor?: string;
56
+ fieldRightIconColor?: string;
57
+ fieldErrorMessageColor?: string;
58
+ fieldErrorMessageFontSize?: string;
59
+ fieldTextAreaMinHeight?: string;
60
+ fieldWordLimitColor?: string;
61
+ fieldWordLimitFontSize?: string;
62
+ fieldWordLimitLineHeight?: number | string;
63
+ fieldDisabledTextColor?: string;
64
+ fieldRequiredMarkColor?: string;
65
+ };
@@ -29,6 +29,7 @@ export declare const GridItem: import("../utils").WithInstall<import("vue").Defi
29
29
  export default GridItem;
30
30
  export { gridItemProps } from './GridItem';
31
31
  export type { GridItemProps } from './GridItem';
32
+ export type { GridItemThemeVars } from './types';
32
33
  declare module 'vue' {
33
34
  interface GlobalComponents {
34
35
  VanGridItem: typeof GridItem;
@@ -0,0 +1,8 @@
1
+ export declare type GridItemThemeVars = {
2
+ gridItemContentPadding?: string;
3
+ gridItemContentBackground?: string;
4
+ gridItemContentActiveColor?: string;
5
+ gridItemIconSize?: string;
6
+ gridItemTextColor?: string;
7
+ gridItemTextFontSize?: string;
8
+ };
File without changes
@@ -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
+ };
File without changes
@@ -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
+ };
File without changes
@@ -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/es/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.4";
package/es/index.mjs CHANGED
@@ -86,7 +86,7 @@ import { TimePicker } from "./time-picker/index.mjs";
86
86
  import { Toast } from "./toast/index.mjs";
87
87
  import { TreeSelect } from "./tree-select/index.mjs";
88
88
  import { Uploader } from "./uploader/index.mjs";
89
- const version = "4.0.0-rc.2";
89
+ const version = "4.0.0-rc.4";
90
90
  function install(app) {
91
91
  const components = [
92
92
  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
+ };
File without changes
@@ -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
+ };
File without changes
@@ -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
+ };
@@ -30,6 +30,7 @@ var stdin_default = defineComponent({
30
30
  background: props.background
31
31
  },
32
32
  "overlay": false,
33
+ "zIndex": props.zIndex,
33
34
  "position": props.position,
34
35
  "duration": 0.2,
35
36
  "lockScroll": props.lockScroll,
@@ -52,7 +52,7 @@ function showNotify(options) {
52
52
  instance.open(options);
53
53
  clearTimeout(timer);
54
54
  if (options.duration > 0) {
55
- timer = window.setTimeout(closeNotify, options.duration);
55
+ timer = setTimeout(closeNotify, options.duration);
56
56
  }
57
57
  return instance;
58
58
  }
@@ -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
+ };
File without changes
@@ -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
+ };
File without changes