@nivaro/react 0.1.41 → 0.1.42

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -13457,8 +13457,9 @@ function Ry({
13457
13457
  if (Ee(() => {
13458
13458
  if (!s) return;
13459
13459
  const b = (h) => {
13460
- var O;
13461
- (O = c.current) != null && O.contains(h.target) || l(!1);
13460
+ var _, g;
13461
+ const O = h.target;
13462
+ (_ = O == null ? void 0 : O.closest) != null && _.call(O, '[data-radix-popper-content-wrapper], [role="listbox"]') || (g = c.current) != null && g.contains(h.target) || l(!1);
13462
13463
  };
13463
13464
  return window.addEventListener("mousedown", b), () => window.removeEventListener("mousedown", b);
13464
13465
  }, [s]), !f || !p) return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nivaro/react",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "React hooks and components for Nivaro CMS forms",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",