fubi 1.0.0-beta.15 → 1.0.0-beta.16

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.es.js CHANGED
@@ -22766,7 +22766,7 @@ function Settings2($$anchor, $$props) {
22766
22766
  append($$anchor4, fragment_3);
22767
22767
  });
22768
22768
  var div = sibling(node_2, 2);
22769
- div.textContent = `Version ${"1.0.0-beta.15"}`;
22769
+ div.textContent = `Version ${"1.0.0-beta.16"}`;
22770
22770
  append($$anchor3, fragment_2);
22771
22771
  },
22772
22772
  $$slots: { default: true }
@@ -23534,6 +23534,7 @@ class Hover extends Module {
23534
23534
  }
23535
23535
  handleMouseMove(e2) {
23536
23536
  if (this.modules.environment.touch) return;
23537
+ if (this.modules.win.uiOpened) return;
23537
23538
  this.mouse = { x: e2.clientX, y: e2.clientY };
23538
23539
  const target = e2.composedPath()[0];
23539
23540
  this.insideFubi = this.can.ignoreHoverTarget(target);
@@ -23548,6 +23549,7 @@ class Hover extends Module {
23548
23549
  handleMouseOver(e2) {
23549
23550
  if (this.modules.environment.touch) return;
23550
23551
  if (this.mode.type !== "idle" && this.mode.type !== "tracking") return;
23552
+ if (this.modules.win.uiOpened) return;
23551
23553
  const target = e2.composedPath()[0];
23552
23554
  if (this.shouldIgnore(target)) return;
23553
23555
  this.handleHoverElement(target);
@@ -23558,10 +23560,6 @@ class Hover extends Module {
23558
23560
  this.handleHoverElement(target, 0);
23559
23561
  return;
23560
23562
  }
23561
- if (this.modules.win.uiOpened) {
23562
- this.log.info("Click on html (Bits UI backdrop), ignoring.");
23563
- return;
23564
- }
23565
23563
  if ((this.mode.type === "isolated" || this.mode.type === "replying") && this.can.dismissIsolation && !this.insideFubi) {
23566
23564
  this.mouse = { x: e2.clientX, y: e2.clientY };
23567
23565
  this.dismissIsolation();
@@ -23584,6 +23582,7 @@ class Hover extends Module {
23584
23582
  handleMouseDown(e2) {
23585
23583
  if (!this.enabled) return;
23586
23584
  if (this.modules.environment.touch) return;
23585
+ if (this.modules.win.uiOpened) return;
23587
23586
  const actualTarget = e2.composedPath()[0];
23588
23587
  this.ignoreNextClick = this.shouldIgnore(actualTarget);
23589
23588
  if (this.ignoreNextClick) {
@@ -23652,6 +23651,7 @@ class Hover extends Module {
23652
23651
  return this.ignoreSelectors.some((selector) => !!el.closest(selector));
23653
23652
  }
23654
23653
  handleHoverElement(el, timeout = this.hoverDelay) {
23654
+ if (this.modules.win.uiOpened) return;
23655
23655
  if (!el) {
23656
23656
  this.clearHoverTimeout();
23657
23657
  this.previous = null;