@zag-js/interact-outside 1.48.0 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -2,9 +2,9 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_frame_utils = require("./frame-utils.js");
|
|
6
5
|
let _zag_js_dom_query = require("@zag-js/dom-query");
|
|
7
6
|
let _zag_js_utils = require("@zag-js/utils");
|
|
7
|
+
const require_frame_utils = require("./frame-utils.js");
|
|
8
8
|
// src/index.ts
|
|
9
9
|
const POINTER_OUTSIDE_EVENT = "pointerdown.outside";
|
|
10
10
|
const FOCUS_OUTSIDE_EVENT = "focus.outside";
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getParentWindow, getWindowFrames } from "./frame-utils.mjs";
|
|
2
1
|
import { AnimationFrame, addDomEvent, contains, getDocument, getEventTarget, getNearestOverflowAncestor, getWindow, isContextMenuEvent, isControlledElement, isFocusable, isHTMLElement, isShadowRoot, isTouchDevice, raf } from "@zag-js/dom-query";
|
|
3
2
|
import { callAll } from "@zag-js/utils";
|
|
3
|
+
import { getParentWindow, getWindowFrames } from "./frame-utils.mjs";
|
|
4
4
|
// src/index.ts
|
|
5
5
|
const POINTER_OUTSIDE_EVENT = "pointerdown.outside";
|
|
6
6
|
const FOCUS_OUTSIDE_EVENT = "focus.outside";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/interact-outside",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.49.0",
|
|
4
4
|
"description": "Track interactions or focus outside an element",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@zag-js/dom-query": "1.
|
|
23
|
-
"@zag-js/utils": "1.
|
|
22
|
+
"@zag-js/dom-query": "1.49.0",
|
|
23
|
+
"@zag-js/utils": "1.49.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"clean-package": "2.2.0"
|