@flexilla/offcanvas
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -19,5 +19,5 @@ var E = Object.defineProperty; | ||
}) => { | ||
const n = getComputedStyle(e), i = s === "transition" ? n.transition : n.animation; | ||
const n = getComputedStyle(e), i = n.transition; | ||
if (i !== "none" && i !== "" && !a.includes(i)) { | ||
const l = s === "transition" ? "transitionend" : "animationend", f = () => { | ||
const l = "transitionend", f = () => { | ||
e.removeEventListener(l, f), t(); | ||
@@ -24,0 +24,0 @@ }; |
{ | ||
"name": "@flexilla/offcanvas", | ||
"private": false, | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"type": "module", | ||
@@ -38,7 +38,5 @@ "description": "An offcanvas component for creating responsive and off-screen navigation panels in web applications.", | ||
"build": "tsc && vite build", | ||
"preview": "vite preview", | ||
"format": "biome format --write ./src" | ||
"preview": "vite preview" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.5.1", | ||
"@flexilla/utilities": "latest", | ||
@@ -68,4 +66,3 @@ "typescript": "^5.2.2", | ||
"license": "MIT", | ||
"author": "johnkat-mj", | ||
"gitHead": "645c56a48c9495587cd958f6bf6285291f1d485c" | ||
"author": "johnkat-mj" | ||
} |
Sorry, the diff of this file is not supported yet
4
16308