@nivaro/react 0.1.160 → 0.1.161

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10641,7 +10641,7 @@ function v5({
10641
10641
  if (!Ze || q) return;
10642
10642
  const V = (ie) => {
10643
10643
  const fe = ie.target;
10644
- fe && (fe.closest("[data-o2m-editing]") || fe.closest("[data-radix-popper-content-wrapper]") || fe.closest("[data-nvr-combobox-panel]") || fe.closest('[role="dialog"]') || fe.closest("[data-omx-overlay]") || (Rt.current && (clearTimeout(Rt.current), Rt.current = null), _a()));
10644
+ fe && fe.isConnected && (fe.closest("[data-o2m-editing]") || fe.closest("[data-radix-popper-content-wrapper]") || fe.closest("[data-nvr-combobox-panel]") || fe.closest('[role="dialog"]') || fe.closest("[data-omx-overlay]") || (Rt.current && (clearTimeout(Rt.current), Rt.current = null), _a()));
10645
10645
  };
10646
10646
  return document.addEventListener("mousedown", V), () => document.removeEventListener("mousedown", V);
10647
10647
  }, [Ze, q]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nivaro/react",
3
- "version": "0.1.160",
3
+ "version": "0.1.161",
4
4
  "description": "React hooks and components for Nivaro CMS forms",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",