@zag-js/popover 1.7.0 → 1.8.1

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 CHANGED
@@ -162,6 +162,7 @@ function connect(service, normalize) {
162
162
  "aria-label": "close",
163
163
  onClick(event) {
164
164
  if (event.defaultPrevented) return;
165
+ event.stopPropagation();
165
166
  send({ type: "CLOSE" });
166
167
  }
167
168
  });
package/dist/index.mjs CHANGED
@@ -160,6 +160,7 @@ function connect(service, normalize) {
160
160
  "aria-label": "close",
161
161
  onClick(event) {
162
162
  if (event.defaultPrevented) return;
163
+ event.stopPropagation();
163
164
  send({ type: "CLOSE" });
164
165
  }
165
166
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/popover",
3
- "version": "1.7.0",
3
+ "version": "1.8.1",
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.7.0",
30
- "@zag-js/aria-hidden": "1.7.0",
31
- "@zag-js/core": "1.7.0",
32
- "@zag-js/dom-query": "1.7.0",
33
- "@zag-js/utils": "1.7.0",
34
- "@zag-js/dismissable": "1.7.0",
35
- "@zag-js/popper": "1.7.0",
36
- "@zag-js/remove-scroll": "1.7.0",
37
- "@zag-js/types": "1.7.0",
38
- "@zag-js/focus-trap": "1.7.0"
29
+ "@zag-js/anatomy": "1.8.1",
30
+ "@zag-js/aria-hidden": "1.8.1",
31
+ "@zag-js/core": "1.8.1",
32
+ "@zag-js/dom-query": "1.8.1",
33
+ "@zag-js/utils": "1.8.1",
34
+ "@zag-js/dismissable": "1.8.1",
35
+ "@zag-js/popper": "1.8.1",
36
+ "@zag-js/remove-scroll": "1.8.1",
37
+ "@zag-js/types": "1.8.1",
38
+ "@zag-js/focus-trap": "1.8.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "clean-package": "2.2.0"