@oslokommune/punkt-react 13.3.0 → 13.4.0
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
|
@@ -22309,7 +22309,7 @@ var ZW = Object.defineProperty, JW = Object.getOwnPropertyDescriptor, $v = (e, t
|
|
|
22309
22309
|
return o && u && ZW(t, a, u), u;
|
|
22310
22310
|
};
|
|
22311
22311
|
window.pktFetch = window.pktFetch === void 0 ? fetch : window.pktFetch;
|
|
22312
|
-
window.pktIconPath = window.pktIconPath || "https://punkt-cdn.oslo.kommune.no/13.
|
|
22312
|
+
window.pktIconPath = window.pktIconPath || "https://punkt-cdn.oslo.kommune.no/13.4/icons/";
|
|
22313
22313
|
const QW = (e) => new Promise((t) => setTimeout(t, e)), vS = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', fC = {}, e8 = async (e, t) => {
|
|
22314
22314
|
let a = 0;
|
|
22315
22315
|
for (; fC[t + e + ".svg"] === "fetching" && (a++, !(a > 50)); )
|
|
@@ -22651,7 +22651,7 @@ var c8 = Object.defineProperty, d8 = Object.getOwnPropertyDescriptor, Jo = (e, t
|
|
|
22651
22651
|
(f = e[d]) && (u = (o ? f(t, a, u) : f(u)) || u);
|
|
22652
22652
|
return o && u && c8(t, a, u), u;
|
|
22653
22653
|
};
|
|
22654
|
-
window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.
|
|
22654
|
+
window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.4/animations/";
|
|
22655
22655
|
let vo = class extends ka {
|
|
22656
22656
|
constructor() {
|
|
22657
22657
|
super(), this.defaultSlot = gn(), this.iconName = "user", this.secondIconName = "user", this.mode = "light", this.size = "medium", this.skin = "primary", this.variant = "label-only", this.state = "normal", this.type = "button", this.form = void 0, this.isLoading = !1, this.disabled = !1, this.loadingAnimationPath = window.pktAnimationPath, this.slotController = new ni(this, this.defaultSlot);
|
|
@@ -27818,7 +27818,7 @@ var d6 = Object.defineProperty, p6 = Object.getOwnPropertyDescriptor, Ed = (e, t
|
|
|
27818
27818
|
(f = e[d]) && (u = (o ? f(t, a, u) : f(u)) || u);
|
|
27819
27819
|
return o && u && d6(t, a, u), u;
|
|
27820
27820
|
};
|
|
27821
|
-
window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.
|
|
27821
|
+
window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.4/animations/";
|
|
27822
27822
|
let pu = class extends ka {
|
|
27823
27823
|
constructor() {
|
|
27824
27824
|
super(), this.defaultSlot = gn(), this.delay = 0, this.inline = !1, this.isLoading = !0, this.message = null, this.size = "medium", this.variant = "shapes", this.loadingAnimationPath = window.pktAnimationPath, this._shouldDisplayLoader = !1, this.slotController = new ni(this, this.defaultSlot);
|
|
@@ -28977,7 +28977,7 @@ const F6 = yr(
|
|
|
28977
28977
|
] });
|
|
28978
28978
|
}
|
|
28979
28979
|
);
|
|
28980
|
-
window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.
|
|
28980
|
+
window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.4/animations/";
|
|
28981
28981
|
const Xo = yr(
|
|
28982
28982
|
({
|
|
28983
28983
|
children: e,
|
|
@@ -29448,7 +29448,7 @@ const hu = /* @__PURE__ */ Pv(j6), z6 = yr(
|
|
|
29448
29448
|
name: "oslologo",
|
|
29449
29449
|
className: "pkt-header__logo-svg",
|
|
29450
29450
|
"aria-hidden": "true",
|
|
29451
|
-
path: "https://punkt-cdn.oslo.kommune.no/13.
|
|
29451
|
+
path: "https://punkt-cdn.oslo.kommune.no/13.4/logos/"
|
|
29452
29452
|
}
|
|
29453
29453
|
) }) : /* @__PURE__ */ O.jsx(
|
|
29454
29454
|
"button",
|
|
@@ -29462,7 +29462,7 @@ const hu = /* @__PURE__ */ Pv(j6), z6 = yr(
|
|
|
29462
29462
|
name: "oslologo",
|
|
29463
29463
|
className: "pkt-header__logo-svg",
|
|
29464
29464
|
"aria-hidden": "true",
|
|
29465
|
-
path: "https://punkt-cdn.oslo.kommune.no/13.
|
|
29465
|
+
path: "https://punkt-cdn.oslo.kommune.no/13.4/logos/"
|
|
29466
29466
|
}
|
|
29467
29467
|
)
|
|
29468
29468
|
}
|
|
@@ -57874,7 +57874,7 @@ const sN = yr(
|
|
|
57874
57874
|
{
|
|
57875
57875
|
id: "backpack",
|
|
57876
57876
|
fn: "backpack.svg",
|
|
57877
|
-
cat: "
|
|
57877
|
+
cat: "objects"
|
|
57878
57878
|
},
|
|
57879
57879
|
{
|
|
57880
57880
|
id: "ball-sports",
|