@proximus/lavender-light 2.0.0-alpha.103 → 2.0.0-alpha.104
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.
|
@@ -4683,7 +4683,6 @@ class HeaderItem extends WithExtraAttributes {
|
|
|
4683
4683
|
this.shadowRoot.innerHTML = this.template();
|
|
4684
4684
|
this.shadowRoot.adoptedStyleSheets = [stylesheet$1];
|
|
4685
4685
|
this.internals = (_a = this.attachInternals) == null ? void 0 : _a.call(this);
|
|
4686
|
-
this.role = "listitem";
|
|
4687
4686
|
if (this.internals) {
|
|
4688
4687
|
this.internals.role = "listitem";
|
|
4689
4688
|
}
|
|
@@ -4692,6 +4691,7 @@ class HeaderItem extends WithExtraAttributes {
|
|
|
4692
4691
|
return ["for", "href", "current"];
|
|
4693
4692
|
}
|
|
4694
4693
|
connectedCallback() {
|
|
4694
|
+
this.role = "listitem";
|
|
4695
4695
|
this.setAttribute("slot", "header-entries");
|
|
4696
4696
|
if (this.$button) {
|
|
4697
4697
|
this.setupButtonA11y();
|
|
@@ -5374,12 +5374,12 @@ class Header extends WithExtraAttributes {
|
|
|
5374
5374
|
});
|
|
5375
5375
|
this.shadowRoot.innerHTML = this.template;
|
|
5376
5376
|
this.internals = (_a = this.attachInternals) == null ? void 0 : _a.call(this);
|
|
5377
|
-
this.role = "navigation";
|
|
5378
5377
|
if (this.internals) {
|
|
5379
5378
|
this.internals.role = "navigation";
|
|
5380
5379
|
}
|
|
5381
5380
|
}
|
|
5382
5381
|
connectedCallback() {
|
|
5382
|
+
this.role = "navigation";
|
|
5383
5383
|
this.addEventListener("click", (event) => {
|
|
5384
5384
|
const targetElement = event.target.closest(
|
|
5385
5385
|
"px-header-item"
|