@proximus/lavender 2.0.0-alpha.75 → 2.0.0-alpha.77
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 +13 -3
- package/dist/lavender.umd.js +1 -1
- package/package.json +1 -1
package/dist/lavender.es.js
CHANGED
|
@@ -11351,8 +11351,13 @@ hideMobileMenu_fn = function() {
|
|
|
11351
11351
|
if (__privateGet(this, _Header_instances, $mobileMenu_get)) {
|
|
11352
11352
|
__privateGet(this, _Header_instances, $mobileMenu_get).$megaDropDown.hidden = true;
|
|
11353
11353
|
this.$burgerMenu.setAttribute("aria-expanded", "false");
|
|
11354
|
-
|
|
11355
|
-
|
|
11354
|
+
const anyMDDOpen = Array.from(__privateGet(this, _Header_instances, $megaDropdowns_get)).some(
|
|
11355
|
+
(mdd) => !mdd.hidden
|
|
11356
|
+
);
|
|
11357
|
+
if (!anyMDDOpen) {
|
|
11358
|
+
document.body.style.overflow = "auto";
|
|
11359
|
+
this.$backdropFilter.style.display = "none";
|
|
11360
|
+
}
|
|
11356
11361
|
}
|
|
11357
11362
|
};
|
|
11358
11363
|
hidePanel_fn = function() {
|
|
@@ -15150,7 +15155,12 @@ const _StatusCard = class _StatusCard extends PxElement {
|
|
|
15150
15155
|
this.shadowRoot.innerHTML = this.template();
|
|
15151
15156
|
}
|
|
15152
15157
|
static get observedAttributes() {
|
|
15153
|
-
return [
|
|
15158
|
+
return [
|
|
15159
|
+
...super.observedAttributes,
|
|
15160
|
+
"state",
|
|
15161
|
+
"inverted",
|
|
15162
|
+
"status-icon-aria-label"
|
|
15163
|
+
];
|
|
15154
15164
|
}
|
|
15155
15165
|
connectedCallback() {
|
|
15156
15166
|
this.$closeButtonSlot.addEventListener("click", () => {
|