fubi 1.0.0-beta.17 → 1.0.0-beta.19

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
@@ -22759,7 +22759,7 @@ function Settings2($$anchor, $$props) {
22759
22759
  append($$anchor4, fragment_3);
22760
22760
  });
22761
22761
  var div = sibling(node_2, 2);
22762
- div.textContent = `Version ${"1.0.0-beta.17"}`;
22762
+ div.textContent = `Version ${"1.0.0-beta.19"}`;
22763
22763
  append($$anchor3, fragment_2);
22764
22764
  },
22765
22765
  $$slots: { default: true }
@@ -23492,7 +23492,10 @@ class Hover extends Module {
23492
23492
  this.highlightVisible = true;
23493
23493
  }
23494
23494
  unfocus() {
23495
- if (this.mode.type === "focused") this.mode = { type: "idle" };
23495
+ if (this.mode.type === "focused") {
23496
+ this.mode = { type: "idle" };
23497
+ if (!this.enabled) this.highlightVisible = false;
23498
+ }
23496
23499
  }
23497
23500
  isolate(element) {
23498
23501
  const allowed = this.modules.elements.getClosestAllowed(element);
@@ -23537,6 +23540,7 @@ class Hover extends Module {
23537
23540
  this.mode = { type: "idle" };
23538
23541
  return;
23539
23542
  }
23543
+ if (!this.enabled) return;
23540
23544
  this.handleHoverElement(target);
23541
23545
  }
23542
23546
  handleMouseOver(e2) {
@@ -26007,6 +26011,7 @@ function Debug($$anchor, $$props) {
26007
26011
  ["enabled", hover == null ? void 0 : hover.enabled],
26008
26012
  ["mode", hover == null ? void 0 : hover.mode.type],
26009
26013
  ["selector", (_c2 = hover == null ? void 0 : hover.mode) == null ? void 0 : _c2.selector],
26014
+ ["highlightVisible", JSON.stringify(hover == null ? void 0 : hover.highlightVisible)],
26010
26015
  ["isolated", hover == null ? void 0 : hover.isIsolated],
26011
26016
  ["inside", hover == null ? void 0 : hover.insideFubi],
26012
26017
  [