@scalar/draggable
Advanced tools
Comparing version 0.1.1 to 0.1.2
# @scalar/draggable | ||
## 0.1.2 | ||
### Patch Changes | ||
- a2cb3c3: Migrate away from unintended peer dependencies | ||
## 0.1.1 | ||
@@ -4,0 +10,0 @@ |
@@ -33,4 +33,3 @@ import { ref as D, defineComponent as _, computed as p, openBlock as S, createElementBlock as T, normalizeClass as Y, withModifiers as v, unref as m, renderSlot as w } from "vue"; | ||
}), E = () => { | ||
if (!r.value || !o.value) | ||
return; | ||
if (!r.value || !o.value) return; | ||
const e = { ...o.value }, a = { ...r.value }; | ||
@@ -37,0 +36,0 @@ o.value = null, r.value = null, document.querySelectorAll("div.dragging").forEach((n) => n.classList.remove("dragging")), e.id !== a.id && l("onDragEnd", e, a); |
@@ -16,3 +16,3 @@ { | ||
], | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"engines": { | ||
@@ -36,2 +36,5 @@ "node": ">=18" | ||
"module": "dist/index.js", | ||
"dependencies": { | ||
"vue": "^3.4.22" | ||
}, | ||
"devDependencies": { | ||
@@ -46,5 +49,2 @@ "@vitejs/plugin-vue": "^5.0.4", | ||
}, | ||
"peerDependencies": { | ||
"vue": "^3.3.0" | ||
}, | ||
"scripts": { | ||
@@ -51,0 +51,0 @@ "build": "vite build && pnpm types:build && tsc-alias -p tsconfig.build.json", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
24871
188
+ Addedvue@^3.4.22