@oslokommune/punkt-react 12.29.8 → 12.30.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 +40 -10
- package/dist/punkt-react.umd.js +21 -21
- package/package.json +5 -5
package/dist/punkt-react.es.js
CHANGED
|
@@ -22761,7 +22761,7 @@ var wO = Object.defineProperty, DO = Object.getOwnPropertyDescriptor, fy = (n, r
|
|
|
22761
22761
|
return u && f && wO(r, o, f), f;
|
|
22762
22762
|
};
|
|
22763
22763
|
window.pktFetch = window.pktFetch === void 0 ? fetch : window.pktFetch;
|
|
22764
|
-
window.pktIconPath = window.pktIconPath || "https://punkt-cdn.oslo.kommune.no/12.
|
|
22764
|
+
window.pktIconPath = window.pktIconPath || "https://punkt-cdn.oslo.kommune.no/12.30/icons/";
|
|
22765
22765
|
const SO = (n) => new Promise((r) => setTimeout(r, n)), P0 = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', Sw = {}, CO = async (n, r) => {
|
|
22766
22766
|
let o = 0;
|
|
22767
22767
|
for (; Sw[r + n + ".svg"] === "fetching" && (o++, !(o > 50)); )
|
|
@@ -22986,7 +22986,7 @@ let po = class extends ti {
|
|
|
22986
22986
|
${this.isLoading ? He`<pkt-icon
|
|
22987
22987
|
class="pkt-btn__icon pkt-btn__spinner"
|
|
22988
22988
|
name="spinner-blue"
|
|
22989
|
-
path="https://punkt-cdn.oslo.kommune.no/12.
|
|
22989
|
+
path="https://punkt-cdn.oslo.kommune.no/12.30/animations/"
|
|
22990
22990
|
></pkt-icon>` : kt}
|
|
22991
22991
|
${this.variant !== "label-only" ? He`<pkt-icon class="pkt-btn__icon pkt-icon" name=${this.iconName}></pkt-icon>` : kt}
|
|
22992
22992
|
<span class="pkt-btn__text" ${Pn(this.defaultSlot)}></span>
|
|
@@ -26796,7 +26796,7 @@ let Cu = class extends ti {
|
|
|
26796
26796
|
${this.isLoading && this._shouldDisplayLoader ? He`<div class="pkt-loader__spinner">
|
|
26797
26797
|
<pkt-icon
|
|
26798
26798
|
name=${this.getVariant(this.variant)}
|
|
26799
|
-
path="https://punkt-cdn.oslo.kommune.no/12.
|
|
26799
|
+
path="https://punkt-cdn.oslo.kommune.no/12.30/animations/"
|
|
26800
26800
|
class="pkt-loader__svg pkt-loader__${this.variant}"
|
|
26801
26801
|
></pkt-icon>
|
|
26802
26802
|
${this.message && He`<p>${this.message}</p>`}
|
|
@@ -28239,7 +28239,7 @@ const CH = ({
|
|
|
28239
28239
|
name: "oslologo",
|
|
28240
28240
|
className: "pkt-header__logo-svg",
|
|
28241
28241
|
"aria-hidden": "true",
|
|
28242
|
-
path: "https://punkt-cdn.oslo.kommune.no/12.
|
|
28242
|
+
path: "https://punkt-cdn.oslo.kommune.no/12.30/logos/"
|
|
28243
28243
|
}
|
|
28244
28244
|
) }) : /* @__PURE__ */ O.jsx(
|
|
28245
28245
|
"button",
|
|
@@ -28253,7 +28253,7 @@ const CH = ({
|
|
|
28253
28253
|
name: "oslologo",
|
|
28254
28254
|
className: "pkt-header__logo-svg",
|
|
28255
28255
|
"aria-hidden": "true",
|
|
28256
|
-
path: "https://punkt-cdn.oslo.kommune.no/12.
|
|
28256
|
+
path: "https://punkt-cdn.oslo.kommune.no/12.30/logos/"
|
|
28257
28257
|
}
|
|
28258
28258
|
)
|
|
28259
28259
|
}
|
|
@@ -36940,6 +36940,11 @@ const IU = [
|
|
|
36940
36940
|
fn: "arrow-circle.svg",
|
|
36941
36941
|
cat: "ui"
|
|
36942
36942
|
},
|
|
36943
|
+
{
|
|
36944
|
+
id: "arrow-return",
|
|
36945
|
+
fn: "arrow-return.svg",
|
|
36946
|
+
cat: "arrows"
|
|
36947
|
+
},
|
|
36943
36948
|
{
|
|
36944
36949
|
id: "arrow",
|
|
36945
36950
|
fn: "arrow.svg",
|
|
@@ -37090,6 +37095,11 @@ const IU = [
|
|
|
37090
37095
|
fn: "chevron-up.svg",
|
|
37091
37096
|
cat: "arrows"
|
|
37092
37097
|
},
|
|
37098
|
+
{
|
|
37099
|
+
id: "clock-history",
|
|
37100
|
+
fn: "clock-history.svg",
|
|
37101
|
+
cat: "ui"
|
|
37102
|
+
},
|
|
37093
37103
|
{
|
|
37094
37104
|
id: "clock",
|
|
37095
37105
|
fn: "clock.svg",
|
|
@@ -37310,11 +37320,6 @@ const IU = [
|
|
|
37310
37320
|
fn: "filter.svg",
|
|
37311
37321
|
cat: "ui"
|
|
37312
37322
|
},
|
|
37313
|
-
{
|
|
37314
|
-
id: "fire-emblem",
|
|
37315
|
-
fn: "fire-emblem.svg",
|
|
37316
|
-
cat: "services"
|
|
37317
|
-
},
|
|
37318
37323
|
{
|
|
37319
37324
|
id: "fire-safety",
|
|
37320
37325
|
fn: "fire-safety.svg",
|
|
@@ -37475,6 +37480,11 @@ const IU = [
|
|
|
37475
37480
|
fn: "map.svg",
|
|
37476
37481
|
cat: "ui"
|
|
37477
37482
|
},
|
|
37483
|
+
{
|
|
37484
|
+
id: "medicine-cabinet",
|
|
37485
|
+
fn: "medicine-cabinet.svg",
|
|
37486
|
+
cat: "ui"
|
|
37487
|
+
},
|
|
37478
37488
|
{
|
|
37479
37489
|
id: "menu",
|
|
37480
37490
|
fn: "menu.svg",
|
|
@@ -37550,6 +37560,11 @@ const IU = [
|
|
|
37550
37560
|
fn: "palette.svg",
|
|
37551
37561
|
cat: "ui"
|
|
37552
37562
|
},
|
|
37563
|
+
{
|
|
37564
|
+
id: "paragraph",
|
|
37565
|
+
fn: "paragraph.svg",
|
|
37566
|
+
cat: "ui"
|
|
37567
|
+
},
|
|
37553
37568
|
{
|
|
37554
37569
|
id: "park",
|
|
37555
37570
|
fn: "park.svg",
|
|
@@ -37670,6 +37685,16 @@ const IU = [
|
|
|
37670
37685
|
fn: "share.svg",
|
|
37671
37686
|
cat: "ui"
|
|
37672
37687
|
},
|
|
37688
|
+
{
|
|
37689
|
+
id: "shield-fire",
|
|
37690
|
+
fn: "shield-fire.svg",
|
|
37691
|
+
cat: "services"
|
|
37692
|
+
},
|
|
37693
|
+
{
|
|
37694
|
+
id: "shield-law-paragraph",
|
|
37695
|
+
fn: "shield-law-paragraph.svg",
|
|
37696
|
+
cat: "ui"
|
|
37697
|
+
},
|
|
37673
37698
|
{
|
|
37674
37699
|
id: "slack",
|
|
37675
37700
|
fn: "slack.svg",
|
|
@@ -37725,6 +37750,11 @@ const IU = [
|
|
|
37725
37750
|
fn: "table.svg",
|
|
37726
37751
|
cat: "ui"
|
|
37727
37752
|
},
|
|
37753
|
+
{
|
|
37754
|
+
id: "tap",
|
|
37755
|
+
fn: "tap.svg",
|
|
37756
|
+
cat: "ui"
|
|
37757
|
+
},
|
|
37728
37758
|
{
|
|
37729
37759
|
id: "target",
|
|
37730
37760
|
fn: "target.svg",
|