vant 4.2.0 → 4.2.1

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 (49) hide show
  1. package/es/index.d.ts +1 -1
  2. package/es/index.mjs +1 -1
  3. package/es/pagination/Pagination.d.ts +26 -0
  4. package/es/pagination/Pagination.mjs +14 -4
  5. package/es/pagination/index.css +1 -1
  6. package/es/pagination/index.d.ts +18 -0
  7. package/es/picker/Picker.d.ts +2 -1
  8. package/es/picker/Picker.mjs +16 -6
  9. package/es/picker/PickerColumn.d.ts +2 -1
  10. package/es/picker/PickerColumn.mjs +10 -4
  11. package/es/picker/index.d.ts +2 -1
  12. package/es/sticky/Sticky.mjs +20 -4
  13. package/es/tab/Tab.mjs +24 -6
  14. package/es/{tabs/TabsTitle.d.ts → tab/TabTitle.d.ts} +1 -2
  15. package/es/{tabs/TabsTitle.mjs → tab/TabTitle.mjs} +2 -2
  16. package/es/tabs/Tabs.d.ts +1 -1
  17. package/es/tabs/Tabs.mjs +15 -30
  18. package/es/tabs/index.d.ts +1 -1
  19. package/es/tabs/style/index.mjs +0 -1
  20. package/es/tabs/types.d.ts +3 -1
  21. package/es/watermark/Watermark.mjs +3 -1
  22. package/lib/index.css +1 -1
  23. package/lib/index.d.ts +1 -1
  24. package/lib/index.js +1 -1
  25. package/lib/pagination/Pagination.d.ts +26 -0
  26. package/lib/pagination/Pagination.js +13 -3
  27. package/lib/pagination/index.css +1 -1
  28. package/lib/pagination/index.d.ts +18 -0
  29. package/lib/picker/Picker.d.ts +2 -1
  30. package/lib/picker/Picker.js +16 -6
  31. package/lib/picker/PickerColumn.d.ts +2 -1
  32. package/lib/picker/PickerColumn.js +9 -3
  33. package/lib/picker/index.d.ts +2 -1
  34. package/lib/sticky/Sticky.js +18 -2
  35. package/lib/tab/Tab.js +21 -3
  36. package/lib/{tabs/TabsTitle.d.ts → tab/TabTitle.d.ts} +1 -2
  37. package/lib/{tabs/TabsTitle.js → tab/TabTitle.js} +2 -2
  38. package/lib/tabs/Tabs.d.ts +1 -1
  39. package/lib/tabs/Tabs.js +13 -28
  40. package/lib/tabs/index.d.ts +1 -1
  41. package/lib/tabs/style/index.js +0 -1
  42. package/lib/tabs/types.d.ts +3 -1
  43. package/lib/vant.cjs.js +227 -180
  44. package/lib/vant.es.js +227 -180
  45. package/lib/vant.js +227 -180
  46. package/lib/vant.min.js +1 -1
  47. package/lib/watermark/Watermark.js +3 -1
  48. package/lib/web-types.json +1 -1
  49. package/package.json +1 -1
@@ -56,6 +56,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
56
56
  if (props.image && !slots.content) {
57
57
  return (0, import_vue.createVNode)("image", {
58
58
  "href": imageBase64.value,
59
+ "xlink:href": imageBase64.value,
59
60
  "x": "0",
60
61
  "y": "0",
61
62
  "width": props.width,
@@ -84,6 +85,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
84
85
  "width": svgWidth,
85
86
  "height": svgHeight,
86
87
  "xmlns": "http://www.w3.org/2000/svg",
88
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
87
89
  "style": {
88
90
  padding: `0 ${props.gapX}px ${props.gapY}px 0`,
89
91
  opacity: props.opacity
@@ -106,7 +108,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
106
108
  };
107
109
  const makeSvgToBlobUrl = (svgStr) => {
108
110
  const svgBlob = new Blob([svgStr], {
109
- type: "image/svg+xml;charset=utf-8"
111
+ type: "image/svg+xml"
110
112
  });
111
113
  return URL.createObjectURL(svgBlob);
112
114
  };