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.
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/pagination/Pagination.d.ts +26 -0
- package/es/pagination/Pagination.mjs +14 -4
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.d.ts +18 -0
- package/es/picker/Picker.d.ts +2 -1
- package/es/picker/Picker.mjs +16 -6
- package/es/picker/PickerColumn.d.ts +2 -1
- package/es/picker/PickerColumn.mjs +10 -4
- package/es/picker/index.d.ts +2 -1
- package/es/sticky/Sticky.mjs +20 -4
- package/es/tab/Tab.mjs +24 -6
- package/es/{tabs/TabsTitle.d.ts → tab/TabTitle.d.ts} +1 -2
- package/es/{tabs/TabsTitle.mjs → tab/TabTitle.mjs} +2 -2
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.mjs +15 -30
- package/es/tabs/index.d.ts +1 -1
- package/es/tabs/style/index.mjs +0 -1
- package/es/tabs/types.d.ts +3 -1
- package/es/watermark/Watermark.mjs +3 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/pagination/Pagination.d.ts +26 -0
- package/lib/pagination/Pagination.js +13 -3
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.d.ts +18 -0
- package/lib/picker/Picker.d.ts +2 -1
- package/lib/picker/Picker.js +16 -6
- package/lib/picker/PickerColumn.d.ts +2 -1
- package/lib/picker/PickerColumn.js +9 -3
- package/lib/picker/index.d.ts +2 -1
- package/lib/sticky/Sticky.js +18 -2
- package/lib/tab/Tab.js +21 -3
- package/lib/{tabs/TabsTitle.d.ts → tab/TabTitle.d.ts} +1 -2
- package/lib/{tabs/TabsTitle.js → tab/TabTitle.js} +2 -2
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +13 -28
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tabs/style/index.js +0 -1
- package/lib/tabs/types.d.ts +3 -1
- package/lib/vant.cjs.js +227 -180
- package/lib/vant.es.js +227 -180
- package/lib/vant.js +227 -180
- package/lib/vant.min.js +1 -1
- package/lib/watermark/Watermark.js +3 -1
- package/lib/web-types.json +1 -1
- 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
|
111
|
+
type: "image/svg+xml"
|
110
112
|
});
|
111
113
|
return URL.createObjectURL(svgBlob);
|
112
114
|
};
|