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
package/es/tag/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  export declare const Tag: import("../utils").WithInstall<import("vue").DefineComponent<{
2
- size: import("vue").PropType<import("./Tag").TagSize>;
2
+ size: import("vue").PropType<import("./types").TagSize>;
3
3
  mark: BooleanConstructor;
4
4
  show: {
5
5
  type: BooleanConstructor;
6
6
  default: true;
7
7
  };
8
8
  type: {
9
- type: import("vue").PropType<import("./Tag").TagType>;
10
- default: import("./Tag").TagType;
9
+ type: import("vue").PropType<import("./types").TagType>;
10
+ default: import("./types").TagType;
11
11
  };
12
12
  color: StringConstructor;
13
13
  plain: BooleanConstructor;
@@ -15,15 +15,15 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineCom
15
15
  textColor: StringConstructor;
16
16
  closeable: BooleanConstructor;
17
17
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- size: import("vue").PropType<import("./Tag").TagSize>;
18
+ size: import("vue").PropType<import("./types").TagSize>;
19
19
  mark: BooleanConstructor;
20
20
  show: {
21
21
  type: BooleanConstructor;
22
22
  default: true;
23
23
  };
24
24
  type: {
25
- type: import("vue").PropType<import("./Tag").TagType>;
26
- default: import("./Tag").TagType;
25
+ type: import("vue").PropType<import("./types").TagType>;
26
+ default: import("./types").TagType;
27
27
  };
28
28
  color: StringConstructor;
29
29
  plain: BooleanConstructor;
@@ -33,7 +33,7 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineCom
33
33
  }>> & {
34
34
  onClose?: ((...args: any[]) => any) | undefined;
35
35
  }, {
36
- type: import("./Tag").TagType;
36
+ type: import("./types").TagType;
37
37
  mark: boolean;
38
38
  round: boolean;
39
39
  show: boolean;
@@ -42,7 +42,8 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineCom
42
42
  }>>;
43
43
  export default Tag;
44
44
  export { tagProps } from './Tag';
45
- export type { TagSize, TagType, TagProps } from './Tag';
45
+ export type { TagProps } from './Tag';
46
+ export type { TagSize, TagType, TagThemeVars } from './types';
46
47
  declare module 'vue' {
47
48
  interface GlobalComponents {
48
49
  VanTag: typeof Tag;
@@ -0,0 +1,20 @@
1
+ export declare type TagSize = 'large' | 'medium';
2
+ export declare type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
3
+ export declare type TagThemeVars = {
4
+ tagPadding?: string;
5
+ tagTextColor?: string;
6
+ tagFontSize?: string;
7
+ tagRadius?: string;
8
+ tagLineHeight?: number | string;
9
+ tagMediumPadding?: string;
10
+ tagLargePadding?: string;
11
+ tagLargeRadius?: string;
12
+ tagLargeFontSize?: string;
13
+ tagRoundRadius?: string;
14
+ tagDangerColor?: string;
15
+ tagPrimaryColor?: string;
16
+ tagSuccessColor?: string;
17
+ tagWarningColor?: string;
18
+ tagDefaultColor?: string;
19
+ tagPlainBackground?: string;
20
+ };
File without changes
@@ -77,4 +77,9 @@ export default Toast;
77
77
  export { toastProps } from './Toast';
78
78
  export { showToast, closeToast, showFailToast, showLoadingToast, showSuccessToast, allowMultipleToast, setToastDefaultOptions, resetToastDefaultOptions, } from './function-call';
79
79
  export type { ToastProps } from './Toast';
80
- export type { ToastType, ToastOptions, ToastPosition } from './types';
80
+ export type { ToastType, ToastOptions, ToastPosition, ToastThemeVars, } from './types';
81
+ declare module 'vue' {
82
+ interface GlobalComponents {
83
+ VanToast: typeof Toast;
84
+ }
85
+ }
@@ -34,3 +34,20 @@ export declare type ToastWrapperInstance = ComponentPublicInstance<{
34
34
  */
35
35
  open: (props: Record<string, any>) => void;
36
36
  }>;
37
+ export declare type ToastThemeVars = {
38
+ toastMaxWidth?: string;
39
+ toastFontSize?: string;
40
+ toastTextColor?: string;
41
+ toastLoadingIconColor?: string;
42
+ toastLineHeight?: number | string;
43
+ toastRadius?: string;
44
+ toastBackground?: string;
45
+ toastIconSize?: string;
46
+ toastTextMinWidth?: string;
47
+ toastTextPadding?: string;
48
+ toastDefaultPadding?: string;
49
+ toastDefaultWidth?: string;
50
+ toastDefaultMinHeight?: string;
51
+ toastPositionTopDistance?: string;
52
+ toastPositionBottomDistance?: string;
53
+ };
@@ -64,6 +64,7 @@ export declare const TreeSelect: import("../utils").WithInstall<import("vue").De
64
64
  export default TreeSelect;
65
65
  export { treeSelectProps } from './TreeSelect';
66
66
  export type { TreeSelectItem, TreeSelectChild, TreeSelectProps, } from './TreeSelect';
67
+ export type { TreeSelectThemeVars } from './types';
67
68
  declare module 'vue' {
68
69
  interface GlobalComponents {
69
70
  VanTreeSelect: typeof TreeSelect;
@@ -0,0 +1,10 @@
1
+ export declare type TreeSelectThemeVars = {
2
+ treeSelectFontSize?: string;
3
+ treeSelectNavBackground?: string;
4
+ treeSelectContentBackground?: string;
5
+ treeSelectNavItemPadding?: string;
6
+ treeSelectItemHeight?: string;
7
+ treeSelectItemActiveColor?: string;
8
+ treeSelectItemDisabledColor?: string;
9
+ treeSelectItemSelectedSize?: string;
10
+ };
File without changes
@@ -147,7 +147,7 @@ export declare const Uploader: import("../utils").WithInstall<import("vue").Defi
147
147
  export default Uploader;
148
148
  export { uploaderProps } from './Uploader';
149
149
  export type { UploaderProps };
150
- export type { UploaderInstance, UploaderResultType, UploaderFileListItem, } from './types';
150
+ export type { UploaderInstance, UploaderThemeVars, UploaderResultType, UploaderFileListItem, } from './types';
151
151
  declare module 'vue' {
152
152
  interface GlobalComponents {
153
153
  VanUploader: typeof Uploader;
@@ -29,3 +29,30 @@ export declare type UploaderExpose = {
29
29
  closeImagePreview: () => void;
30
30
  };
31
31
  export declare type UploaderInstance = ComponentPublicInstance<UploaderProps, UploaderExpose>;
32
+ export declare type UploaderThemeVars = {
33
+ uploaderSize?: string;
34
+ uploaderIconSize?: string;
35
+ uploaderIconColor?: string;
36
+ uploaderTextColor?: string;
37
+ uploaderTextFontSize?: string;
38
+ uploaderUploadBackground?: string;
39
+ uploaderUploadActiveColor?: string;
40
+ uploaderDeleteColor?: string;
41
+ uploaderDeleteIconSize?: string;
42
+ uploaderDeleteBackground?: string;
43
+ uploaderFileBackground?: string;
44
+ uploaderFileIconSize?: string;
45
+ uploaderFileIconColor?: string;
46
+ uploaderFileNamePadding?: string;
47
+ uploaderFileNameMarginTop?: string;
48
+ uploaderFileNameFontSize?: string;
49
+ uploaderFileNameTextColor?: string;
50
+ uploaderMaskTextColor?: string;
51
+ uploaderMaskBackground?: string;
52
+ uploaderMaskIconSize?: string;
53
+ uploaderMaskMessageFontSize?: string;
54
+ uploaderMaskMessageLineHeight?: number | string;
55
+ uploaderLoadingIconSize?: string;
56
+ uploaderLoadingIconColor?: string;
57
+ uploaderDisabledOpacity?: number | string;
58
+ };
@@ -17,6 +17,7 @@ export declare const ActionBar: import("../utils").WithInstall<import("vue").Def
17
17
  export default ActionBar;
18
18
  export { actionBarProps } from './ActionBar';
19
19
  export type { ActionBarProps } from './ActionBar';
20
+ export type { ActionBarThemeVars } from './types';
20
21
  declare module 'vue' {
21
22
  interface GlobalComponents {
22
23
  VanActionBar: typeof ActionBar;
@@ -0,0 +1,4 @@
1
+ export declare type ActionBarThemeVars = {
2
+ actionBarBackground?: string;
3
+ actionBarHeight?: 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);
@@ -28,6 +28,7 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
28
28
  export default ActionBarButton;
29
29
  export { actionBarButtonProps } from './ActionBarButton';
30
30
  export type { ActionBarButtonProps } from './ActionBarButton';
31
+ export type { ActionBarButtonThemeVars } from './types';
31
32
  declare module 'vue' {
32
33
  interface GlobalComponents {
33
34
  VanActionBarButton: typeof ActionBarButton;
@@ -0,0 +1,5 @@
1
+ export declare type ActionBarButtonThemeVars = {
2
+ actionBarButtonHeight?: string;
3
+ actionBarButtonWarningColor?: string;
4
+ actionBarButtonDangerColor?: string;
5
+ };
@@ -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);
@@ -31,6 +31,7 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
31
31
  export default ActionBarIcon;
32
32
  export { actionBarIconProps } from './ActionBarIcon';
33
33
  export type { ActionBarIconProps } from './ActionBarIcon';
34
+ export type { ActionBarIconThemeVars } from './types';
34
35
  declare module 'vue' {
35
36
  interface GlobalComponents {
36
37
  VanActionBarIcon: typeof ActionBarIcon;
@@ -0,0 +1,10 @@
1
+ export declare type ActionBarIconThemeVars = {
2
+ actionBarIconWidth?: string;
3
+ actionBarIconHeight?: string;
4
+ actionBarIconColor?: string;
5
+ actionBarIconSize?: string;
6
+ actionBarIconFontSize?: string;
7
+ actionBarIconActiveColor?: string;
8
+ actionBarIconTextColor?: string;
9
+ actionBarIconBackground?: 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);
@@ -128,6 +128,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
128
128
  export default ActionSheet;
129
129
  export { actionSheetProps } from './ActionSheet';
130
130
  export type { ActionSheetProps, ActionSheetAction } from './ActionSheet';
131
+ export type { ActionSheetThemeVars } from './types';
131
132
  declare module 'vue' {
132
133
  interface GlobalComponents {
133
134
  VanActionSheet: typeof ActionSheet;
@@ -0,0 +1,23 @@
1
+ export declare type ActionSheetThemeVars = {
2
+ actionSheetMaxHeight?: string;
3
+ actionSheetHeaderHeight?: string;
4
+ actionSheetHeaderFontSize?: string;
5
+ actionSheetDescriptionColor?: string;
6
+ actionSheetDescriptionFontSize?: string;
7
+ actionSheetDescriptionLineHeight?: number | string;
8
+ actionSheetItemBackground?: string;
9
+ actionSheetItemFontSize?: string;
10
+ actionSheetItemLineHeight?: number | string;
11
+ actionSheetItemTextColor?: string;
12
+ actionSheetItemDisabledTextColor?: string;
13
+ actionSheetSubnameColor?: string;
14
+ actionSheetSubnameFontSize?: string;
15
+ actionSheetSubnameLineHeight?: number | string;
16
+ actionSheetCloseIconSize?: string;
17
+ actionSheetCloseIconColor?: string;
18
+ actionSheetCloseIconPadding?: string;
19
+ actionSheetCancelTextColor?: string;
20
+ actionSheetCancelPaddingTop?: string;
21
+ actionSheetCancelPaddingColor?: string;
22
+ actionSheetLoadingIconSize?: string;
23
+ };
@@ -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);
@@ -110,7 +110,7 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
110
110
  export default AddressEdit;
111
111
  export { addressEditProps } from './AddressEdit';
112
112
  export type { AddressEditProps };
113
- export type { AddressEditInfo, AddressEditInstance, AddressEditSearchItem, } from './types';
113
+ export type { AddressEditInfo, AddressEditInstance, AddressEditThemeVars, AddressEditSearchItem, } from './types';
114
114
  declare module 'vue' {
115
115
  interface GlobalComponents {
116
116
  VanAddressEdit: typeof AddressEdit;
@@ -20,3 +20,9 @@ export declare type AddressEditExpose = {
20
20
  setAddressDetail: (value: string) => void;
21
21
  };
22
22
  export declare type AddressEditInstance = ComponentPublicInstance<AddressEditProps, AddressEditExpose>;
23
+ export declare type AddressEditThemeVars = {
24
+ addressEditPadding?: string;
25
+ addressEditButtonsPadding?: string;
26
+ addressEditButtonMarginBottom?: string;
27
+ addressEditButtonFontSize?: string;
28
+ };
@@ -49,6 +49,7 @@ export default AddressList;
49
49
  export { addressListProps } from './AddressList';
50
50
  export type { AddressListProps } from './AddressList';
51
51
  export type { AddressListAddress } from './AddressListItem';
52
+ export type { AddressListThemeVars } from './types';
52
53
  declare module 'vue' {
53
54
  interface GlobalComponents {
54
55
  VanAddressList: typeof AddressList;
@@ -0,0 +1,15 @@
1
+ export declare type AddressListThemeVars = {
2
+ addressListPadding?: string;
3
+ addressListDisabledTextColor?: string;
4
+ addressListDisabledTextPadding?: string;
5
+ addressListDisabledTextFontSize?: string;
6
+ addressListDisabledTextLineHeight?: number | string;
7
+ addressListAddButtonZIndex?: number | string;
8
+ addressListItemPadding?: string;
9
+ addressListItemTextColor?: string;
10
+ addressListItemDisabledTextColor?: string;
11
+ addressListItemFontSize?: string;
12
+ addressListItemLineHeight?: number | string;
13
+ addressListRadioColor?: string;
14
+ addressListEditIconSize?: string;
15
+ };
@@ -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 Badge: import("../utils").WithInstall<import("vue").DefineC
43
43
  export default Badge;
44
44
  export { badgeProps } from './Badge';
45
45
  export type { BadgeProps, BadgePosition } from './Badge';
46
+ export type { BadgeThemeVars } from './types';
46
47
  declare module 'vue' {
47
48
  interface GlobalComponents {
48
49
  VanBadge: typeof Badge;
@@ -0,0 +1,12 @@
1
+ export declare type BadgeThemeVars = {
2
+ badgeSize?: string;
3
+ badgeColor?: string;
4
+ badgePadding?: string;
5
+ badgeFontSize?: string;
6
+ badgeFontWeight?: string;
7
+ badgeBorderWidth?: string;
8
+ badgeBackground?: string;
9
+ badgeDotColor?: string;
10
+ badgeDotSize?: string;
11
+ badgeFont?: string;
12
+ };
@@ -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 Button: import("../utils").WithInstall<import("vue").Define
96
96
  export default Button;
97
97
  export { buttonProps } from './Button';
98
98
  export type { ButtonProps } from './Button';
99
- export type { ButtonType, ButtonSize, ButtonNativeType, ButtonIconPosition, } from './types';
99
+ export type { ButtonType, ButtonSize, ButtonThemeVars, ButtonNativeType, ButtonIconPosition, } from './types';
100
100
  declare module 'vue' {
101
101
  interface GlobalComponents {
102
102
  VanButton: typeof Button;
@@ -3,3 +3,39 @@ export declare type ButtonType = 'default' | 'primary' | 'success' | 'warning' |
3
3
  export declare type ButtonSize = 'large' | 'normal' | 'small' | 'mini';
4
4
  export declare type ButtonNativeType = NonNullable<ButtonHTMLAttributes['type']>;
5
5
  export declare type ButtonIconPosition = 'left' | 'right';
6
+ export declare type ButtonThemeVars = {
7
+ buttonMiniHeight?: string;
8
+ buttonMiniPadding?: string;
9
+ buttonMiniFontSize?: string;
10
+ buttonSmallHeight?: string;
11
+ buttonSmallPadding?: string;
12
+ buttonSmallFontSize?: string;
13
+ buttonNormalPadding?: string;
14
+ buttonNormalFontSize?: string;
15
+ buttonLargeHeight?: string;
16
+ buttonDefaultHeight?: string;
17
+ buttonDefaultLineHeight?: number | string;
18
+ buttonDefaultFontSize?: string;
19
+ buttonDefaultColor?: string;
20
+ buttonDefaultBackground?: string;
21
+ buttonDefaultBorderColor?: string;
22
+ buttonPrimaryColor?: string;
23
+ buttonPrimaryBackground?: string;
24
+ buttonPrimaryBorderColor?: string;
25
+ buttonSuccessColor?: string;
26
+ buttonSuccessBackground?: string;
27
+ buttonSuccessBorderColor?: string;
28
+ buttonDangerColor?: string;
29
+ buttonDangerBackground?: string;
30
+ buttonDangerBorderColor?: string;
31
+ buttonWarningColor?: string;
32
+ buttonWarningBackground?: string;
33
+ buttonWarningBorderColor?: string;
34
+ buttonBorderWidth?: string;
35
+ buttonRadius?: string;
36
+ buttonRoundRadius?: string;
37
+ buttonPlainBackground?: string;
38
+ buttonDisabledOpacity?: number | string;
39
+ buttonIconSize?: string;
40
+ buttonLoadingIconSize?: string;
41
+ };
@@ -202,7 +202,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
202
202
  export default Calendar;
203
203
  export { calendarProps } from './Calendar';
204
204
  export type { CalendarProps } from './Calendar';
205
- export type { CalendarType, CalendarDayItem, CalendarDayType, CalendarInstance, } from './types';
205
+ export type { CalendarType, CalendarDayItem, CalendarDayType, CalendarInstance, CalendarThemeVars, } from './types';
206
206
  declare module 'vue' {
207
207
  interface GlobalComponents {
208
208
  VanCalendar: typeof Calendar;
@@ -26,3 +26,31 @@ export declare type CalendarMonthInstance = ComponentPublicInstance<CalendarMont
26
26
  scrollToDate: (body: Element, targetDate: Date) => void;
27
27
  disabledDays: Ref<ComputedRef<CalendarDayItem[]>>;
28
28
  }>;
29
+ export declare type CalendarThemeVars = {
30
+ calendarBackground?: string;
31
+ calendarPopupHeight?: string;
32
+ calendarHeaderShadow?: string;
33
+ calendarHeaderTitleHeight?: string;
34
+ calendarHeaderTitleFontSize?: string;
35
+ calendarHeaderSubtitleFontSize?: string;
36
+ calendarWeekdaysHeight?: string;
37
+ calendarWeekdaysFontSize?: string;
38
+ calendarMonthTitleFontSize?: string;
39
+ calendarMonthMarkColor?: string;
40
+ calendarMonthMarkFontSize?: string;
41
+ calendarDayHeight?: string;
42
+ calendarDayFontSize?: string;
43
+ calendarDayMarginBottom?: string;
44
+ calendarRangeEdgeColor?: string;
45
+ calendarRangeEdgeBackground?: string;
46
+ calendarRangeMiddleColor?: string;
47
+ calendarRangeMiddleBackgroundOpacity?: number | string;
48
+ calendarSelectedDaySize?: string;
49
+ calendarSelectedDayColor?: string;
50
+ calendarInfoFontSize?: string;
51
+ calendarInfoLineHeight?: number | string;
52
+ calendarSelectedDayBackground?: string;
53
+ calendarDayDisabledColor?: string;
54
+ calendarConfirmButtonHeight?: string;
55
+ calendarConfirmButtonMargin?: string;
56
+ };
@@ -38,6 +38,7 @@ export declare const Card: import("../utils").WithInstall<import("vue").DefineCo
38
38
  export default Card;
39
39
  export { cardProps } from './Card';
40
40
  export type { CardProps } from './Card';
41
+ export type { CardThemeVars } from './types';
41
42
  declare module 'vue' {
42
43
  interface GlobalComponents {
43
44
  VanCard: typeof Card;
@@ -0,0 +1,18 @@
1
+ export declare type CardThemeVars = {
2
+ cardPadding?: string;
3
+ cardFontSize?: string;
4
+ cardTextColor?: string;
5
+ cardBackground?: string;
6
+ cardThumbSize?: string;
7
+ cardThumbRadius?: string;
8
+ cardTitleLineHeight?: number | string;
9
+ cardDescColor?: string;
10
+ cardDescLineHeight?: number | string;
11
+ cardPriceColor?: string;
12
+ cardOriginPriceColor?: string;
13
+ cardNumColor?: string;
14
+ cardOriginPriceFontSize?: string;
15
+ cardPriceFontSize?: string;
16
+ cardPriceIntegerFontSize?: string;
17
+ cardPriceFont?: string;
18
+ };
@@ -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);
@@ -66,7 +66,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
66
66
  export default Cascader;
67
67
  export { cascaderProps } from './Cascader';
68
68
  export type { CascaderProps } from './Cascader';
69
- export type { CascaderOption, CascaderFieldNames } from './types';
69
+ export type { CascaderOption, CascaderThemeVars, CascaderFieldNames, } from './types';
70
70
  declare module 'vue' {
71
71
  interface GlobalComponents {
72
72
  VanCascader: typeof Cascader;
@@ -17,3 +17,18 @@ export declare type CascaderFieldNames = {
17
17
  value?: string;
18
18
  children?: string;
19
19
  };
20
+ export declare type CascaderThemeVars = {
21
+ cascaderHeaderHeight?: string;
22
+ cascaderHeaderPadding?: string;
23
+ cascaderTitleFontSize?: string;
24
+ cascaderTitleLineHeight?: number | string;
25
+ cascaderCloseIconSize?: string;
26
+ cascaderCloseIconColor?: string;
27
+ cascaderSelectedIconSize?: string;
28
+ cascaderTabsHeight?: string;
29
+ cascaderActiveColor?: string;
30
+ cascaderOptionsHeight?: string;
31
+ cascaderOptionDisabledColor?: string;
32
+ cascaderTabColor?: string;
33
+ cascaderUnselectedTabColor?: string;
34
+ };
@@ -63,6 +63,7 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
63
63
  export default Cell;
64
64
  export { cellProps } from './Cell';
65
65
  export type { CellSize, CellProps, CellArrowDirection } from './Cell';
66
+ export type { CellThemeVars } from './types';
66
67
  declare module 'vue' {
67
68
  interface GlobalComponents {
68
69
  VanCell: typeof Cell;
@@ -0,0 +1,21 @@
1
+ export declare type CellThemeVars = {
2
+ cellFontSize?: string;
3
+ cellLineHeight?: number | string;
4
+ cellVerticalPadding?: string;
5
+ cellHorizontalPadding?: string;
6
+ cellTextColor?: string;
7
+ cellBackground?: string;
8
+ cellBorderColor?: string;
9
+ cellActiveColor?: string;
10
+ cellRequiredColor?: string;
11
+ cellLabelColor?: string;
12
+ cellLabelFontSize?: string;
13
+ cellLabelLineHeight?: number | string;
14
+ cellLabelMarginTop?: string;
15
+ cellValueColor?: string;
16
+ cellIconSize?: string;
17
+ cellRightIconColor?: string;
18
+ cellLargeVerticalPadding?: string;
19
+ cellLargeTitleFontSize?: string;
20
+ cellLargeLabelFontSize?: string;
21
+ };