@oslokommune/punkt-react 16.6.0 → 16.6.1
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/punkt-react.es.js
CHANGED
|
@@ -8697,7 +8697,9 @@ let Te = class extends _t {
|
|
|
8697
8697
|
role=${this.isTablet ? "menu" : S}
|
|
8698
8698
|
aria-label=${this.isTablet ? "Meny" : S}
|
|
8699
8699
|
${Ce(this.slotContentRef)}
|
|
8700
|
-
|
|
8700
|
+
>
|
|
8701
|
+
${Ze(this)}
|
|
8702
|
+
</div>
|
|
8701
8703
|
</div>
|
|
8702
8704
|
`;
|
|
8703
8705
|
}
|
|
@@ -8795,7 +8797,7 @@ let Te = class extends _t {
|
|
|
8795
8797
|
@click=${() => this.handleMenuToggle("user")}
|
|
8796
8798
|
>
|
|
8797
8799
|
<span class="pkt-sr-only">Brukermeny: </span>
|
|
8798
|
-
|
|
8800
|
+
<span>${((e = this.representing) == null ? void 0 : e.name) || this.user.name}</span>
|
|
8799
8801
|
</pkt-button>
|
|
8800
8802
|
${this.openMenu === "user" && this.user ? k`
|
|
8801
8803
|
<div class=${t}>
|
package/dist/punkt-react.umd.js
CHANGED
|
@@ -1303,7 +1303,9 @@
|
|
|
1303
1303
|
role=${this.isTablet?"menu":C}
|
|
1304
1304
|
aria-label=${this.isTablet?"Meny":C}
|
|
1305
1305
|
${we(this.slotContentRef)}
|
|
1306
|
-
|
|
1306
|
+
>
|
|
1307
|
+
${ze(this)}
|
|
1308
|
+
</div>
|
|
1307
1309
|
</div>
|
|
1308
1310
|
`}renderSearch(){if(!this.showSearch)return C;if(this.isTablet){const e=X({"pkt-header-service__search-container":!0,"is-open":this.openMenu==="search"}),t=X({"pkt-header-service__mobile-menu":!0,"is-open":this.openMenu==="search","align-right":this.alignSearchRight});return y`
|
|
1309
1311
|
<div
|
|
@@ -1371,7 +1373,7 @@
|
|
|
1371
1373
|
@click=${()=>this.handleMenuToggle("user")}
|
|
1372
1374
|
>
|
|
1373
1375
|
<span class="pkt-sr-only">Brukermeny: </span>
|
|
1374
|
-
|
|
1376
|
+
<span>${((e=this.representing)==null?void 0:e.name)||this.user.name}</span>
|
|
1375
1377
|
</pkt-button>
|
|
1376
1378
|
${this.openMenu==="user"&&this.user?y`
|
|
1377
1379
|
<div class=${t}>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-react",
|
|
3
|
-
"version": "16.6.
|
|
3
|
+
"version": "16.6.1",
|
|
4
4
|
"description": "React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo",
|
|
5
5
|
"homepage": "https://punkt.oslo.kommune.no",
|
|
6
6
|
"author": "Team Designsystem, Oslo Origo",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@lit-labs/ssr-dom-shim": "^1.2.1",
|
|
41
41
|
"@lit/react": "^1.0.7",
|
|
42
|
-
"@oslokommune/punkt-elements": "^16.6.
|
|
42
|
+
"@oslokommune/punkt-elements": "^16.6.1",
|
|
43
43
|
"classnames": "^2.5.1",
|
|
44
44
|
"prettier": "^3.3.3",
|
|
45
45
|
"react-hook-form": "^7.53.0"
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"url": "https://github.com/oslokommune/punkt/issues"
|
|
110
110
|
},
|
|
111
111
|
"license": "MIT",
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "a56b9180a633f3fa8b16e9b37c56ffc8255f9b4e"
|
|
113
113
|
}
|