@proximus/lavender 1.0.0-alpha.16 → 1.0.0-alpha.17
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/lavender.cjs.js +1 -1
- package/dist/lavender.es.js +6 -4
- package/dist/lavender.umd.js +1 -1
- package/package.json +2 -2
package/dist/lavender.es.js
CHANGED
|
@@ -3486,11 +3486,13 @@ class Modal extends HTMLElement {
|
|
|
3486
3486
|
event.stopPropagation();
|
|
3487
3487
|
};
|
|
3488
3488
|
});
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3489
|
+
this.addEventListener("click", (event) => {
|
|
3490
|
+
const targetElement = event.target.closest(
|
|
3491
|
+
'px-button[slot="footer"]'
|
|
3492
|
+
);
|
|
3493
|
+
if (targetElement) {
|
|
3492
3494
|
this._hidePopover();
|
|
3493
|
-
}
|
|
3495
|
+
}
|
|
3494
3496
|
});
|
|
3495
3497
|
if (this.autoShow != null) {
|
|
3496
3498
|
(_a = this.showPopover) == null ? void 0 : _a.call(this);
|