Comparing version 4.8.3 to 4.8.4
@@ -109,2 +109,2 @@ export * from "./action-bar"; | ||
export function install(app: any): void; | ||
export const version: "4.8.3"; | ||
export const version: "4.8.4"; |
@@ -111,3 +111,3 @@ var __defProp = Object.defineProperty; | ||
titleClass | ||
} = item; | ||
} = (0, import_vue2.toRaw)(item.$props); | ||
return (0, import_vue.createVNode)("div", { | ||
@@ -114,0 +114,0 @@ "id": `${id}-${index}`, |
@@ -109,2 +109,2 @@ export * from "./action-bar"; | ||
export function install(app: any): void; | ||
export const version: "4.8.3"; | ||
export const version: "4.8.4"; |
@@ -229,3 +229,3 @@ var __defProp = Object.defineProperty; | ||
__reExport(stdin_exports, require("./watermark"), module.exports); | ||
const version = "4.8.3"; | ||
const version = "4.8.4"; | ||
function install(app) { | ||
@@ -232,0 +232,0 @@ const components = [ |
@@ -59,3 +59,7 @@ var __defProp = Object.defineProperty; | ||
const renderCancel = () => { | ||
const text = props.cancelButtonText || (0, import_utils.t)("cancel"); | ||
var _a; | ||
const text = (_a = props.cancelButtonText) != null ? _a : (0, import_utils.t)("cancel"); | ||
if (!slots.cancel && !text) { | ||
return; | ||
} | ||
return (0, import_vue.createVNode)("button", { | ||
@@ -68,3 +72,7 @@ "type": "button", | ||
const renderConfirm = () => { | ||
const text = props.confirmButtonText || (0, import_utils.t)("confirm"); | ||
var _a; | ||
const text = (_a = props.confirmButtonText) != null ? _a : (0, import_utils.t)("confirm"); | ||
if (!slots.confirm && !text) { | ||
return; | ||
} | ||
return (0, import_vue.createVNode)("button", { | ||
@@ -71,0 +79,0 @@ "type": "button", |
@@ -107,3 +107,3 @@ var __defProp = Object.defineProperty; | ||
const difference = containerRect.bottom - offset.value - state.height; | ||
state.fixed = offset.value >= rootRect.top && containerRect.bottom > 0; | ||
state.fixed = offset.value > rootRect.top && containerRect.bottom > 0; | ||
state.transform = difference < 0 ? difference : 0; | ||
@@ -110,0 +110,0 @@ } else { |
{ | ||
"name": "vant", | ||
"version": "4.8.3", | ||
"version": "4.8.4", | ||
"description": "Mobile UI Components built on Vue", | ||
@@ -59,6 +59,6 @@ "main": "lib/vant.cjs.js", | ||
"vue-router": "^4.1.6", | ||
"@vant/area-data": "1.5.1", | ||
"@vant/cli": "6.2.0", | ||
"@vant/eslint-config": "4.0.0", | ||
"@vant/area-data": "1.5.1", | ||
"@vant/icons": "3.0.2" | ||
"@vant/icons": "3.0.2", | ||
"@vant/eslint-config": "4.0.0" | ||
}, | ||
@@ -65,0 +65,0 @@ "sideEffects": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5839990
152339