@zag-js/vue
Advanced tools
Comparing version 0.0.0-dev-20220513103837 to 0.0.0-dev-20220514160702
@@ -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.0.0-dev-20220513103837", | ||
"version": "0.0.0-dev-20220514160702", | ||
"description": "The vue wrapper for zag", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/core": "0.0.0-dev-20220513103837", | ||
"@zag-js/core": "0.0.0-dev-20220514160702", | ||
"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
39927
343
+ Added@zag-js/core@0.0.0-dev-20220514160702(transitive)
- Removed@zag-js/core@0.0.0-dev-20220513103837(transitive)