@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.
- package/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/source/components/datatable/datatable.mjs +6 -4
- package/source/components/datatable/save-button.mjs +10 -16
- package/source/components/datatable/style/datatable.pcss +6 -1
- package/source/components/datatable/stylesheet/datatable.mjs +1 -1
- package/source/components/form/digits.mjs +41 -16
- package/source/components/form/login.mjs +3 -2
- package/source/components/form/popper-button.mjs +4 -1
- package/source/components/form/select.mjs +3546 -3544
- package/source/components/form/toggle-switch.mjs +465 -465
- package/source/components/host/host.mjs +7 -2
- package/source/components/layout/popper.mjs +4 -1
|
@@ -532,7 +532,8 @@ function queueDismissEvent(event) {
|
|
|
532
532
|
return;
|
|
533
533
|
}
|
|
534
534
|
|
|
535
|
-
const path =
|
|
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(
|
|
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 {
|
|
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";
|