@zag-js/popover 1.3.0 → 1.3.2
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -55,7 +55,8 @@ function connect(service, normalize) {
|
|
|
55
55
|
portalled,
|
|
56
56
|
open,
|
|
57
57
|
setOpen(nextOpen) {
|
|
58
|
-
|
|
58
|
+
const open2 = state.matches("open");
|
|
59
|
+
if (open2 === nextOpen) return;
|
|
59
60
|
send({ type: nextOpen ? "OPEN" : "CLOSE" });
|
|
60
61
|
},
|
|
61
62
|
reposition(options = {}) {
|
package/dist/index.mjs
CHANGED
|
@@ -53,7 +53,8 @@ function connect(service, normalize) {
|
|
|
53
53
|
portalled,
|
|
54
54
|
open,
|
|
55
55
|
setOpen(nextOpen) {
|
|
56
|
-
|
|
56
|
+
const open2 = state.matches("open");
|
|
57
|
+
if (open2 === nextOpen) return;
|
|
57
58
|
send({ type: nextOpen ? "OPEN" : "CLOSE" });
|
|
58
59
|
},
|
|
59
60
|
reposition(options = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/popover",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Core logic for the popover widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@zag-js/anatomy": "1.3.
|
|
30
|
-
"@zag-js/aria-hidden": "1.3.
|
|
31
|
-
"@zag-js/core": "1.3.
|
|
32
|
-
"@zag-js/dom-query": "1.3.
|
|
33
|
-
"@zag-js/utils": "1.3.
|
|
34
|
-
"@zag-js/dismissable": "1.3.
|
|
35
|
-
"@zag-js/popper": "1.3.
|
|
36
|
-
"@zag-js/remove-scroll": "1.3.
|
|
37
|
-
"@zag-js/types": "1.3.
|
|
38
|
-
"@zag-js/focus-trap": "1.3.
|
|
29
|
+
"@zag-js/anatomy": "1.3.2",
|
|
30
|
+
"@zag-js/aria-hidden": "1.3.2",
|
|
31
|
+
"@zag-js/core": "1.3.2",
|
|
32
|
+
"@zag-js/dom-query": "1.3.2",
|
|
33
|
+
"@zag-js/utils": "1.3.2",
|
|
34
|
+
"@zag-js/dismissable": "1.3.2",
|
|
35
|
+
"@zag-js/popper": "1.3.2",
|
|
36
|
+
"@zag-js/remove-scroll": "1.3.2",
|
|
37
|
+
"@zag-js/types": "1.3.2",
|
|
38
|
+
"@zag-js/focus-trap": "1.3.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"clean-package": "2.2.0"
|