@proximus/lavender-header 2.0.0-alpha.42 → 2.0.0-alpha.43
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 +4 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -467,7 +467,7 @@ class ce extends Z {
|
|
|
467
467
|
<px-spacer></px-spacer>
|
|
468
468
|
<px-hstack gap--mobile="none" gap="default">
|
|
469
469
|
<slot name="header-actions"></slot>
|
|
470
|
-
<px-button-icon variant="naked" aria-label="${this.burgerMenuAriaLabel ?? "Open menu"}"
|
|
470
|
+
<px-button-icon id="burger-menu" variant="naked" aria-label="${this.burgerMenuAriaLabel ?? "Open menu"}"
|
|
471
471
|
aria-expanded="false" aria-controls="__lavender_mobile_menu" hidden--tablet hidden--laptop
|
|
472
472
|
hidden--desktop>
|
|
473
473
|
<px-icon name="burger_menu" from="lavender"></px-icon>
|
|
@@ -505,8 +505,8 @@ class ce extends Z {
|
|
|
505
505
|
this.$backdropFilter.style.display = "block", d(this, a, C).forEach((e) => {
|
|
506
506
|
e.checked = !1;
|
|
507
507
|
}), b(this, a, U).call(this);
|
|
508
|
-
}), this.
|
|
509
|
-
|
|
508
|
+
}), this.$burgerMenu.addEventListener("click", () => {
|
|
509
|
+
this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this, a, U).call(this);
|
|
510
510
|
}), this.addEventListener("close-panel", () => {
|
|
511
511
|
b(this, a, Y).call(this), this.$burgerMenu.setAttribute("aria-expanded", "false");
|
|
512
512
|
}), this.addEventListener(
|
|
@@ -555,7 +555,7 @@ class ce extends Z {
|
|
|
555
555
|
return this.shadowRoot.querySelector("#backdrop-filter");
|
|
556
556
|
}
|
|
557
557
|
get $burgerMenu() {
|
|
558
|
-
return this.shadowRoot.querySelector("
|
|
558
|
+
return this.shadowRoot.querySelector("#burger-menu");
|
|
559
559
|
}
|
|
560
560
|
get $slotMain() {
|
|
561
561
|
return this.querySelector('[slot="main"]');
|