@schukai/monster 4.124.0 → 4.124.2

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.
@@ -532,7 +532,8 @@ function queueDismissEvent(event) {
532
532
  return;
533
533
  }
534
534
 
535
- const path = typeof event.composedPath === "function" ? event.composedPath() : [];
535
+ const path =
536
+ typeof event.composedPath === "function" ? event.composedPath() : [];
536
537
  this[dismissQueueSymbol].push({
537
538
  path,
538
539
  target: event.target || null,
@@ -617,7 +618,11 @@ function registerDismissable(entry) {
617
618
  : Number.isFinite(record.priority)
618
619
  ? record.priority
619
620
  : 0;
620
- record.options = Object.assign({}, record.options || {}, normalized.options || {});
621
+ record.options = Object.assign(
622
+ {},
623
+ record.options || {},
624
+ normalized.options || {},
625
+ );
621
626
  record.sequence = ++this[dismissSequenceSymbol];
622
627
 
623
628
  this[dismissablesSymbol].set(record.element, record);
@@ -25,7 +25,10 @@ import {
25
25
  registerCustomElement,
26
26
  } from "../../dom/customelement.mjs";
27
27
  import { fireCustomEvent } from "../../dom/events.mjs";
28
- import { findElementWithSelectorUpwards, getDocument } from "../../dom/util.mjs";
28
+ import {
29
+ findElementWithSelectorUpwards,
30
+ getDocument,
31
+ } from "../../dom/util.mjs";
29
32
  import { DeadMansSwitch } from "../../util/deadmansswitch.mjs";
30
33
  import { STYLE_DISPLAY_MODE_BLOCK } from "../form/constants.mjs";
31
34
  import { positionPopper } from "../form/util/floating-ui.mjs";