@zag-js/vue
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -157,5 +157,7 @@ var __defProp = Object.defineProperty; | ||
Promise.resolve().then(() => { | ||
var _a, _b; | ||
const doc = (_b = (_a = nodeRef.value) == null ? void 0 : _a.ownerDocument) != null ? _b : document; | ||
send({ type: "SETUP", doc, id: (0, import_vue4.isRef)(id) ? id.value : id }); | ||
const el = nodeRef.value; | ||
const doc = el == null ? void 0 : el.ownerDocument; | ||
const root = el == null ? void 0 : el.getRootNode(); | ||
const uid = (0, import_vue4.isRef)(id) ? id.value : id; | ||
send({ type: "SETUP", doc, root, id: uid }); | ||
}); | ||
@@ -162,0 +164,0 @@ }); |
{ | ||
"name": "@zag-js/vue", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "The vue wrapper for zag", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/core": "0.1.3", | ||
"@zag-js/core": "0.1.4", | ||
"valtio": "^1.6.0" | ||
@@ -34,0 +34,0 @@ }, |
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
39889
343
+ Added@zag-js/core@0.1.4(transitive)
- Removed@zag-js/core@0.1.3(transitive)
Updated@zag-js/core@0.1.4