vant 4.9.1 → 4.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/es/action-bar-button/ActionBarButton.d.ts +3 -3
  2. package/es/action-bar-button/index.d.ts +2 -2
  3. package/es/action-bar-icon/ActionBarIcon.d.ts +3 -3
  4. package/es/action-bar-icon/index.d.ts +2 -2
  5. package/es/button/Button.d.ts +3 -3
  6. package/es/button/index.d.ts +2 -2
  7. package/es/card/Card.mjs +3 -3
  8. package/es/cell/Cell.d.ts +3 -3
  9. package/es/cell/index.d.ts +2 -2
  10. package/es/composables/use-route.d.ts +1 -2
  11. package/es/form/Form.d.ts +3 -0
  12. package/es/form/Form.mjs +9 -2
  13. package/es/form/index.d.ts +2 -0
  14. package/es/grid-item/GridItem.d.ts +3 -3
  15. package/es/grid-item/index.d.ts +2 -2
  16. package/es/index.d.ts +1 -1
  17. package/es/index.mjs +1 -1
  18. package/es/notify/types.d.ts +3 -0
  19. package/es/sidebar-item/SidebarItem.d.ts +3 -3
  20. package/es/sidebar-item/index.d.ts +2 -2
  21. package/es/tab/Tab.d.ts +3 -3
  22. package/es/tab/index.d.ts +2 -2
  23. package/es/tabbar-item/TabbarItem.d.ts +3 -3
  24. package/es/tabbar-item/index.d.ts +2 -2
  25. package/es/tabs/utils.mjs +3 -1
  26. package/es/uploader/index.d.ts +1 -1
  27. package/lib/action-bar-button/ActionBarButton.d.ts +3 -3
  28. package/lib/action-bar-button/index.d.ts +2 -2
  29. package/lib/action-bar-icon/ActionBarIcon.d.ts +3 -3
  30. package/lib/action-bar-icon/index.d.ts +2 -2
  31. package/lib/button/Button.d.ts +3 -3
  32. package/lib/button/index.d.ts +2 -2
  33. package/lib/card/Card.js +2 -2
  34. package/lib/cell/Cell.d.ts +3 -3
  35. package/lib/cell/index.d.ts +2 -2
  36. package/lib/composables/use-route.d.ts +1 -2
  37. package/lib/form/Form.d.ts +3 -0
  38. package/lib/form/Form.js +9 -2
  39. package/lib/form/index.d.ts +2 -0
  40. package/lib/grid-item/GridItem.d.ts +3 -3
  41. package/lib/grid-item/index.d.ts +2 -2
  42. package/lib/index.d.ts +1 -1
  43. package/lib/index.js +1 -1
  44. package/lib/notify/types.d.ts +3 -0
  45. package/lib/sidebar-item/SidebarItem.d.ts +3 -3
  46. package/lib/sidebar-item/index.d.ts +2 -2
  47. package/lib/tab/Tab.d.ts +3 -3
  48. package/lib/tab/index.d.ts +2 -2
  49. package/lib/tabbar-item/TabbarItem.d.ts +3 -3
  50. package/lib/tabbar-item/index.d.ts +2 -2
  51. package/lib/tabs/utils.js +3 -1
  52. package/lib/uploader/index.d.ts +1 -1
  53. package/lib/vant.cjs.js +15 -6
  54. package/lib/vant.es.js +15 -6
  55. package/lib/vant.js +16 -7
  56. package/lib/vant.min.js +2 -2
  57. package/lib/web-types.json +1 -1
  58. package/package.json +12 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vant",
3
- "version": "4.9.1",
3
+ "version": "4.9.2",
4
4
  "description": "Mobile UI Components built on Vue",
5
5
  "main": "lib/vant.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -41,24 +41,24 @@
41
41
  "vue": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@types/node": "^18.19.33",
44
+ "@types/node": "^18.19.34",
45
45
  "@vitejs/plugin-vue": "^5.0.5",
46
- "@vitejs/plugin-vue-jsx": "^3.1.0",
47
- "@vitest/coverage-istanbul": "^1.5.3",
48
- "@vue/runtime-core": "^3.4.27",
46
+ "@vitejs/plugin-vue-jsx": "^4.0.0",
47
+ "@vitest/coverage-istanbul": "^1.6.0",
48
+ "@vue/runtime-core": "^3.4.29",
49
49
  "@vue/test-utils": "^2.4.6",
50
50
  "csstype": "^3.1.3",
51
51
  "diffable-html": "^5.0.0",
52
- "jsdom": "^22.1.0",
52
+ "jsdom": "^24.1.0",
53
53
  "typescript": "^5.4.5",
54
- "vite": "^5.2.12",
55
- "vitest": "^1.5.3",
54
+ "vite": "^5.3.1",
55
+ "vitest": "^1.6.0",
56
56
  "vitest-canvas-mock": "^0.3.3",
57
- "vue": "^3.4.27",
58
- "vue-router": "^4.3.2",
59
- "@vant/cli": "7.0.3",
60
- "@vant/eslint-config": "4.0.0",
57
+ "vue": "^3.4.29",
58
+ "vue-router": "^4.4.0",
61
59
  "@vant/area-data": "1.5.1",
60
+ "@vant/eslint-config": "4.0.0",
61
+ "@vant/cli": "7.0.3",
62
62
  "@vant/icons": "3.0.2"
63
63
  },
64
64
  "sideEffects": [