@oslokommune/punkt-elements 16.6.1 → 16.7.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/CHANGELOG.md +35 -0
- package/dist/{accordionitem-D7sWqDM_.cjs → accordionitem-D1Agl1bB.cjs} +1 -1
- package/dist/{accordionitem-Cj74XruR.js → accordionitem-ZlaXvjt5.js} +5 -5
- package/dist/{alert-ca_hFi-u.js → alert-BuAXrnKl.js} +6 -6
- package/dist/{alert-C95U_RZ0.cjs → alert-DFkFNTxh.cjs} +1 -1
- package/dist/{async-directive-CKx6pubI.js → async-directive-CMzWMlZ5.js} +1 -1
- package/dist/{async-directive-B158h3ba.cjs → async-directive-DoMuclel.cjs} +1 -1
- package/dist/{backlink-CQoNgoa-.cjs → backlink-EiAXUUZP.cjs} +1 -1
- package/dist/{backlink-C68H4Z3b.js → backlink-V4DAt17e.js} +3 -3
- package/dist/{button-BRovt5nm.js → button-DEyvt1LI.js} +5 -5
- package/dist/{button-BXN_JPaH.cjs → button-DYv5Dg4M.cjs} +1 -1
- package/dist/{calendar-43Y_6FD8.cjs → calendar-HIE9nxcc.cjs} +1 -1
- package/dist/{calendar-B5Xwl8mV.js → calendar-S63oreVW.js} +4 -4
- package/dist/{card-DfHo45CG.cjs → card-CyeH6l1c.cjs} +1 -1
- package/dist/{card-DvgCTN4B.js → card-DDiLfuO4.js} +7 -7
- package/dist/{checkbox-mmn3v9ry.cjs → checkbox-BLlwTABj.cjs} +1 -1
- package/dist/{checkbox-CbIUMIYt.js → checkbox-ejBUa5qQ.js} +4 -4
- package/dist/{class-map-3ADKve8g.js → class-map-CEnykyO_.js} +1 -1
- package/dist/{class-map-Bokp1SoS.cjs → class-map-CsENJXf1.cjs} +1 -1
- package/dist/{combobox-CwW0md6G.js → combobox-BmxSecfE.js} +13 -13
- package/dist/{combobox-TKL44xnV.cjs → combobox-Hb2V-fPX.cjs} +1 -1
- package/dist/{consent-CgS1L1xF.js → consent-iXyx5v6J.js} +3 -3
- package/dist/{consent-CIhFwuFO.cjs → consent-ruWAEVXW.cjs} +1 -1
- package/dist/{datepicker-qRWWzmbo.js → datepicker-CZl7b8Na.js} +12 -12
- package/dist/{datepicker-oN9L0Wnm.cjs → datepicker-D2H7U6MS.cjs} +1 -1
- package/dist/{directive-helpers-B3Vpl3xV.cjs → directive-helpers-BP2WOx60.cjs} +1 -1
- package/dist/{directive-helpers-CyPtA1_i.js → directive-helpers-rm-28gIj.js} +1 -1
- package/dist/{element-CV9utnHJ.js → element-CPpT3rFQ.js} +68 -67
- package/dist/{element-CMTfByxQ.cjs → element-gR_VtSiD.cjs} +6 -6
- package/dist/{element-with-slot-1djk8KXi.js → element-with-slot-Dqk6-TRR.js} +2 -2
- package/dist/{element-with-slot-yT8k1Z37.cjs → element-with-slot-ZX-up7jO.cjs} +1 -1
- package/dist/{heading-D9R5UBcv.js → heading-CKt7cVn7.js} +1 -1
- package/dist/{heading-B0XRE0lq.cjs → heading-Cvz8m1xL.cjs} +1 -1
- package/dist/{helptext-B366oeR9.cjs → helptext-5Mzp65-F.cjs} +1 -1
- package/dist/{helptext-DepcDYFV.js → helptext-jIoWRcCF.js} +5 -5
- package/dist/{icon-D0IQAVwS.js → icon-BlKA8YuW.js} +1 -1
- package/dist/{icon-Dj0oZZSa.cjs → icon-Bqj9oBbl.cjs} +1 -1
- package/dist/{if-defined-rXcLNTzN.js → if-defined-B0krMLad.js} +1 -1
- package/dist/{if-defined-hKKmbsI8.cjs → if-defined-BOW3ODSj.cjs} +1 -1
- package/dist/index.d.ts +93 -1
- package/dist/{input-element-n5U38pZ1.js → input-element-8nLwuQS4.js} +3 -3
- package/dist/{input-element-Xe9FTi2a.cjs → input-element-DdVhUvva.cjs} +1 -1
- package/dist/{input-wrapper-BdFdJU-k.cjs → input-wrapper-B0MkQ0IZ.cjs} +1 -1
- package/dist/{input-wrapper-B__6jW4U.js → input-wrapper-B2JpK016.js} +7 -7
- package/dist/{link-DLjXMpvi.cjs → link-R_lNhViF.cjs} +1 -1
- package/dist/{link-oGYvBLYL.js → link-Z_GizclR.js} +4 -4
- package/dist/{linkcard-BhVIc18n.js → linkcard-BlQvdB1a.js} +4 -4
- package/dist/{linkcard-C20WC6Nw.cjs → linkcard-C7HbSLlX.cjs} +1 -1
- package/dist/{listbox-CS4WQOuf.js → listbox-BQKDZvZn.js} +5 -5
- package/dist/{listbox-OAVh_U7u.cjs → listbox-CGgV9MAe.cjs} +1 -1
- package/dist/{loader-BHt9i5Xp.js → loader-Ci3CHU8k.js} +5 -5
- package/dist/{loader-DxAGCcNF.cjs → loader-e2gs_1xz.cjs} +1 -1
- package/dist/{messagebox-DkspcMQg.js → messagebox-Bf-XMlvW.js} +5 -5
- package/dist/{messagebox-B8LW0PSQ.cjs → messagebox-D67w71VX.cjs} +1 -1
- package/dist/{modal-mWn5pjs8.cjs → modal-CyvEkbfQ.cjs} +1 -1
- package/dist/{modal-D3u6ueP5.js → modal-DzGe1g8Z.js} +6 -6
- package/dist/pkt-accordion.cjs +1 -1
- package/dist/pkt-accordion.js +2 -2
- package/dist/pkt-alert.cjs +1 -1
- package/dist/pkt-alert.js +1 -1
- package/dist/pkt-backlink.cjs +1 -1
- package/dist/pkt-backlink.js +1 -1
- package/dist/pkt-breadcrumbs.cjs +1 -1
- package/dist/pkt-breadcrumbs.js +2 -2
- package/dist/pkt-button.cjs +1 -1
- package/dist/pkt-button.js +1 -1
- package/dist/pkt-calendar.cjs +1 -1
- package/dist/pkt-calendar.js +1 -1
- package/dist/pkt-card.cjs +1 -1
- package/dist/pkt-card.js +1 -1
- package/dist/pkt-checkbox.cjs +1 -1
- package/dist/pkt-checkbox.js +1 -1
- package/dist/pkt-combobox.cjs +1 -1
- package/dist/pkt-combobox.js +1 -1
- package/dist/pkt-consent.cjs +1 -1
- package/dist/pkt-consent.js +1 -1
- package/dist/pkt-datepicker.cjs +1 -1
- package/dist/pkt-datepicker.js +2 -2
- package/dist/pkt-header.cjs +31 -32
- package/dist/pkt-header.js +130 -130
- package/dist/pkt-heading.cjs +1 -1
- package/dist/pkt-heading.js +1 -1
- package/dist/pkt-helptext.cjs +1 -1
- package/dist/pkt-helptext.js +1 -1
- package/dist/pkt-icon.cjs +1 -1
- package/dist/pkt-icon.js +1 -1
- package/dist/pkt-index.cjs +1 -1
- package/dist/pkt-index.js +33 -31
- package/dist/pkt-input-wrapper.cjs +1 -1
- package/dist/pkt-input-wrapper.js +1 -1
- package/dist/pkt-link.cjs +1 -1
- package/dist/pkt-link.js +1 -1
- package/dist/pkt-linkcard.cjs +1 -1
- package/dist/pkt-linkcard.js +1 -1
- package/dist/pkt-listbox.cjs +1 -1
- package/dist/pkt-listbox.js +1 -1
- package/dist/pkt-loader.cjs +1 -1
- package/dist/pkt-loader.js +1 -1
- package/dist/pkt-messagebox.cjs +1 -1
- package/dist/pkt-messagebox.js +1 -1
- package/dist/pkt-modal.cjs +1 -1
- package/dist/pkt-modal.js +1 -1
- package/dist/{pkt-options-controller-DIeKSpWv.cjs → pkt-options-controller-5LXbEzuk.cjs} +1 -1
- package/dist/{pkt-options-controller-W4ITGQy9.js → pkt-options-controller-B5YalfCb.js} +1 -1
- package/dist/pkt-progressbar.cjs +1 -1
- package/dist/pkt-progressbar.js +2 -2
- package/dist/pkt-radiobutton.cjs +1 -1
- package/dist/pkt-radiobutton.js +1 -1
- package/dist/pkt-select.cjs +1 -1
- package/dist/pkt-select.js +1 -1
- package/dist/pkt-tabs.cjs +1 -1
- package/dist/pkt-tabs.js +2 -2
- package/dist/pkt-tag.cjs +1 -1
- package/dist/pkt-tag.js +1 -1
- package/dist/pkt-textarea.cjs +1 -1
- package/dist/pkt-textarea.js +1 -1
- package/dist/pkt-textinput.cjs +1 -1
- package/dist/pkt-textinput.js +1 -1
- package/dist/pkt-timepicker.cjs +188 -0
- package/dist/pkt-timepicker.js +552 -0
- package/dist/{progressbar-CcX-xiPI.js → progressbar-By7e0lEI.js} +5 -5
- package/dist/{progressbar-CC9Qr82_.cjs → progressbar-DsJ2B9Vm.cjs} +1 -1
- package/dist/{radiobutton-RW3h0tJj.js → radiobutton-6frNG9J_.js} +5 -5
- package/dist/{radiobutton-BUDQYAH-.cjs → radiobutton-Bv-BZ1Hw.cjs} +1 -1
- package/dist/{ref-DBGHvw2G.js → ref-Bg_Swj5w.js} +2 -2
- package/dist/{ref-DahIePMT.cjs → ref-CL-Xk9Xm.cjs} +1 -1
- package/dist/{repeat-DnlRNf63.js → repeat-BD8TKgJb.js} +2 -2
- package/dist/{repeat-C-FJ2vfy.cjs → repeat-Cfq8CDlf.cjs} +1 -1
- package/dist/{select-iXKeM3yz.js → select-CXZt1nHS.js} +8 -8
- package/dist/{select-PuEeK4jQ.cjs → select-WFhS4Vfp.cjs} +1 -1
- package/dist/{state-l4hGZdFJ.js → state-C_1EOo3D.js} +1 -1
- package/dist/{state-BNgpvY-A.cjs → state-Dg-53wQ8.cjs} +1 -1
- package/dist/{tabitem-DZSzwag2.js → tabitem-CB8wkKmv.js} +5 -5
- package/dist/{tabitem-Jenus4Qd.cjs → tabitem-DZpspU4Q.cjs} +1 -1
- package/dist/{tag-CIWBLpjv.js → tag-BuCpqaks.js} +6 -6
- package/dist/{tag-DeE1OpmF.cjs → tag-X6xdjR0N.cjs} +1 -1
- package/dist/{textarea-DR9lVDN-.js → textarea-Bzuymclz.js} +10 -10
- package/dist/{textarea-DtiYQWjy.cjs → textarea-DoeHJ7HR.cjs} +1 -1
- package/dist/{textinput-0Bttvt9V.js → textinput-9lHjs4ce.js} +9 -9
- package/dist/{textinput-cKrjvbJW.cjs → textinput-BNsLd26i.cjs} +1 -1
- package/dist/timepicker.d.ts +1 -0
- package/package.json +2 -3
- package/src/components/header/header-service.ts +39 -35
- package/src/components/header/header.ts +4 -2
- package/src/components/index.ts +3 -0
- package/src/components/timepicker/index.ts +2 -0
- package/src/components/timepicker/timepicker.test.ts +453 -0
- package/src/components/timepicker/timepicker.ts +787 -0
package/dist/pkt-header.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { P as M, s as S } from "./element-with-slot-
|
|
2
|
-
import { P as C, A as
|
|
3
|
-
import { o as $ } from "./if-defined-
|
|
1
|
+
import { P as M, s as S } from "./element-with-slot-Dqk6-TRR.js";
|
|
2
|
+
import { P as C, A as l, b as n, n as s, t as _ } from "./element-CPpT3rFQ.js";
|
|
3
|
+
import { o as $ } from "./if-defined-B0krMLad.js";
|
|
4
4
|
import { b as d } from "./booleanish-C9R0tdXH.js";
|
|
5
|
-
import { r as k } from "./state-
|
|
6
|
-
import { e as g } from "./class-map-
|
|
7
|
-
import { e as f, n as y } from "./ref-
|
|
8
|
-
import "./button-
|
|
9
|
-
import "./icon-
|
|
10
|
-
import "./link-
|
|
11
|
-
import "./textinput-
|
|
5
|
+
import { r as k } from "./state-C_1EOo3D.js";
|
|
6
|
+
import { e as g } from "./class-map-CEnykyO_.js";
|
|
7
|
+
import { e as f, n as y } from "./ref-Bg_Swj5w.js";
|
|
8
|
+
import "./button-DEyvt1LI.js";
|
|
9
|
+
import "./icon-BlKA8YuW.js";
|
|
10
|
+
import "./link-Z_GizclR.js";
|
|
11
|
+
import "./textinput-9lHjs4ce.js";
|
|
12
12
|
const L = (e) => typeof e.target == "string" ? { title: e.title, iconName: e.iconName, href: e.target } : { title: e.title, iconName: e.iconName, onClick: e.target }, w = (e) => L(e), O = (e) => {
|
|
13
13
|
if (!e) return;
|
|
14
14
|
const t = typeof e == "string" ? new Date(e) : e;
|
|
@@ -21,10 +21,10 @@ const L = (e) => typeof e.target == "string" ? { title: e.title, iconName: e.ico
|
|
|
21
21
|
minute: "2-digit"
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
|
-
var R = Object.defineProperty, B = Object.getOwnPropertyDescriptor, b = (e, t, i,
|
|
25
|
-
for (var a =
|
|
26
|
-
(m = e[p]) && (a = (
|
|
27
|
-
return
|
|
24
|
+
var R = Object.defineProperty, B = Object.getOwnPropertyDescriptor, b = (e, t, i, u) => {
|
|
25
|
+
for (var a = u > 1 ? void 0 : u ? B(t, i) : t, p = e.length - 1, m; p >= 0; p--)
|
|
26
|
+
(m = e[p]) && (a = (u ? m(t, i, a) : m(a)) || a);
|
|
27
|
+
return u && a && R(t, i, a), a;
|
|
28
28
|
};
|
|
29
29
|
let v = class extends C {
|
|
30
30
|
constructor() {
|
|
@@ -50,7 +50,7 @@ let v = class extends C {
|
|
|
50
50
|
"onClick" in e && typeof e.onClick == "function" && e.onClick();
|
|
51
51
|
}
|
|
52
52
|
renderLinkOrButton(e, t) {
|
|
53
|
-
const i = "href" in e,
|
|
53
|
+
const i = "href" in e, u = g({
|
|
54
54
|
"pkt-user-menu__link": !0,
|
|
55
55
|
"pkt-link-button": !i,
|
|
56
56
|
"pkt-link": !i,
|
|
@@ -59,7 +59,7 @@ let v = class extends C {
|
|
|
59
59
|
});
|
|
60
60
|
return i ? n`
|
|
61
61
|
<pkt-link
|
|
62
|
-
icon-name=${e.iconName ||
|
|
62
|
+
icon-name=${e.iconName || l}
|
|
63
63
|
href=${e.href}
|
|
64
64
|
aria-hidden="true"
|
|
65
65
|
class="pkt-user-menu__link ${t || ""}"
|
|
@@ -67,12 +67,12 @@ let v = class extends C {
|
|
|
67
67
|
${e.title}
|
|
68
68
|
</pkt-link>
|
|
69
69
|
` : n`
|
|
70
|
-
<button class=${
|
|
70
|
+
<button class=${u} type="button" @click=${() => this.handleMenuItemClick(e)}>
|
|
71
71
|
${e.iconName ? n`<pkt-icon
|
|
72
72
|
name=${e.iconName}
|
|
73
73
|
class="pkt-link__icon"
|
|
74
74
|
aria-hidden="true"
|
|
75
|
-
></pkt-icon>` :
|
|
75
|
+
></pkt-icon>` : l}
|
|
76
76
|
${e.title}
|
|
77
77
|
</button>
|
|
78
78
|
`;
|
|
@@ -103,14 +103,14 @@ let v = class extends C {
|
|
|
103
103
|
<div class="pkt-user-menu__last-logged-in">
|
|
104
104
|
Sist pålogget: <time>${this.formattedLastLoggedIn}</time>
|
|
105
105
|
</div>
|
|
106
|
-
` :
|
|
106
|
+
` : l}
|
|
107
107
|
</li>
|
|
108
|
-
` :
|
|
108
|
+
` : l}
|
|
109
109
|
|
|
110
110
|
<!-- User menu items -->
|
|
111
111
|
${e && e.length > 0 ? n`
|
|
112
112
|
<li class="pkt-user-menu__item">${this.renderLinkSection(e)}</li>
|
|
113
|
-
` :
|
|
113
|
+
` : l}
|
|
114
114
|
|
|
115
115
|
<!-- Representing section -->
|
|
116
116
|
${this.representing ? n`
|
|
@@ -119,7 +119,7 @@ let v = class extends C {
|
|
|
119
119
|
<div class="pkt-user-menu__name" translate="no">${this.representing.name}</div>
|
|
120
120
|
${this.representing.orgNumber ? n`<div class="pkt-user-menu__org-number">
|
|
121
121
|
Org.nr. ${this.representing.orgNumber}
|
|
122
|
-
</div>` :
|
|
122
|
+
</div>` : l}
|
|
123
123
|
${this.canChangeRepresentation ? n`
|
|
124
124
|
<ul class="pkt-user-menu__sublist mt-size-16">
|
|
125
125
|
<li class="pkt-user-menu__subitem">
|
|
@@ -130,9 +130,9 @@ let v = class extends C {
|
|
|
130
130
|
})}
|
|
131
131
|
</li>
|
|
132
132
|
</ul>
|
|
133
|
-
` :
|
|
133
|
+
` : l}
|
|
134
134
|
</li>
|
|
135
|
-
` :
|
|
135
|
+
` : l}
|
|
136
136
|
|
|
137
137
|
<!-- Change representation without representing object -->
|
|
138
138
|
${!this.representing && this.canChangeRepresentation ? n`
|
|
@@ -147,7 +147,7 @@ let v = class extends C {
|
|
|
147
147
|
</li>
|
|
148
148
|
</ul>
|
|
149
149
|
</li>
|
|
150
|
-
` :
|
|
150
|
+
` : l}
|
|
151
151
|
|
|
152
152
|
<!-- Logout -->
|
|
153
153
|
${this.logoutOnClick ? n`
|
|
@@ -158,7 +158,7 @@ let v = class extends C {
|
|
|
158
158
|
onClick: () => this.handleLogout()
|
|
159
159
|
})}
|
|
160
160
|
</li>
|
|
161
|
-
` :
|
|
161
|
+
` : l}
|
|
162
162
|
</ul>
|
|
163
163
|
</nav>
|
|
164
164
|
`;
|
|
@@ -189,10 +189,10 @@ b([
|
|
|
189
189
|
v = b([
|
|
190
190
|
_("pkt-header-user-menu")
|
|
191
191
|
], v);
|
|
192
|
-
var E = Object.defineProperty, P = Object.getOwnPropertyDescriptor, r = (e, t, i,
|
|
193
|
-
for (var a =
|
|
194
|
-
(m = e[p]) && (a = (
|
|
195
|
-
return
|
|
192
|
+
var E = Object.defineProperty, P = Object.getOwnPropertyDescriptor, r = (e, t, i, u) => {
|
|
193
|
+
for (var a = u > 1 ? void 0 : u ? P(t, i) : t, p = e.length - 1, m; p >= 0; p--)
|
|
194
|
+
(m = e[p]) && (a = (u ? m(t, i, a) : m(a)) || a);
|
|
195
|
+
return u && a && E(t, i, a), a;
|
|
196
196
|
};
|
|
197
197
|
const x = "https://punkt-cdn.oslo.kommune.no/latest/logos/";
|
|
198
198
|
let o = class extends M {
|
|
@@ -206,21 +206,21 @@ let o = class extends M {
|
|
|
206
206
|
this.user && this.openMenu === "user" && !t.closest(".pkt-header-service__user-container") && (this.openMenu = "none"), this.openMenu === "slot" && !t.closest(".pkt-header-service__slot-container") && (this.openMenu = "none"), this.openMenu === "search" && !t.closest(".pkt-header-service__search-container") && !t.closest(".pkt-header-service__search-input") && (this.openMenu = "none");
|
|
207
207
|
}, this.handleFocusOut = (e, t) => {
|
|
208
208
|
const i = e.relatedTarget;
|
|
209
|
-
let
|
|
209
|
+
let u;
|
|
210
210
|
switch (t) {
|
|
211
211
|
case "user":
|
|
212
|
-
|
|
212
|
+
u = this.userContainerRef;
|
|
213
213
|
break;
|
|
214
214
|
case "slot":
|
|
215
|
-
|
|
215
|
+
u = this.slotContainerRef;
|
|
216
216
|
break;
|
|
217
217
|
case "search":
|
|
218
|
-
|
|
218
|
+
u = this.searchContainerRef;
|
|
219
219
|
break;
|
|
220
220
|
default:
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
|
-
const a =
|
|
223
|
+
const a = u.value;
|
|
224
224
|
a && (!i || !a.contains(i)) && (this.openMenu = "none");
|
|
225
225
|
}, this.handleEscapeKey = (e) => {
|
|
226
226
|
e.key === "Escape" && this.openMenu !== "none" && (e.preventDefault(), this.shouldRestoreFocus = !0, this.openMenu = "none");
|
|
@@ -280,7 +280,7 @@ let o = class extends M {
|
|
|
280
280
|
checkDropdownAlignment(e) {
|
|
281
281
|
const t = e === "slot" ? this.slotContainerRef : this.searchContainerRef, i = e === "slot" ? this.slotContentRef : this.searchMenuRef;
|
|
282
282
|
if (!t.value || !i.value || !this.isTablet || this.isMobile) return;
|
|
283
|
-
const
|
|
283
|
+
const u = t.value.getBoundingClientRect(), a = i.value.offsetWidth, p = u.left + a > window.innerWidth;
|
|
284
284
|
e === "slot" ? this.alignSlotRight = p : this.alignSearchRight = p;
|
|
285
285
|
}
|
|
286
286
|
handleMenuToggle(e) {
|
|
@@ -354,7 +354,7 @@ let o = class extends M {
|
|
|
354
354
|
return this.hasLogOut && (this.logOutButtonPlacement === "userMenu" || this.logOutButtonPlacement === "both");
|
|
355
355
|
}
|
|
356
356
|
renderLogo() {
|
|
357
|
-
if (this.hideLogo) return
|
|
357
|
+
if (this.hideLogo) return l;
|
|
358
358
|
const e = n`
|
|
359
359
|
<pkt-icon name="oslologo" aria-hidden="true" path=${x}></pkt-icon>
|
|
360
360
|
`;
|
|
@@ -402,9 +402,10 @@ let o = class extends M {
|
|
|
402
402
|
<span class="pkt-header-service__service-name" @click=${this.handleServiceClick}>
|
|
403
403
|
<span class="pkt-header-service__service-link">${this.serviceName}</span>
|
|
404
404
|
</span>
|
|
405
|
-
` :
|
|
405
|
+
` : l;
|
|
406
406
|
}
|
|
407
407
|
renderSlotContainer() {
|
|
408
|
+
if (!this.hasSlotContent()) return l;
|
|
408
409
|
const e = g({
|
|
409
410
|
"pkt-header-service__slot-container": !0,
|
|
410
411
|
"is-open": this.openMenu === "slot"
|
|
@@ -432,12 +433,12 @@ let o = class extends M {
|
|
|
432
433
|
>
|
|
433
434
|
${this.slotMenuText}
|
|
434
435
|
</pkt-button>
|
|
435
|
-
` :
|
|
436
|
+
` : l}
|
|
436
437
|
<div
|
|
437
438
|
class=${t}
|
|
438
439
|
id="mobile-slot-menu"
|
|
439
|
-
role=${this.isTablet ? "menu" :
|
|
440
|
-
aria-label=${this.isTablet ? "Meny" :
|
|
440
|
+
role=${this.isTablet ? "menu" : l}
|
|
441
|
+
aria-label=${this.isTablet ? "Meny" : l}
|
|
441
442
|
${y(this.slotContentRef)}
|
|
442
443
|
>
|
|
443
444
|
${S(this)}
|
|
@@ -446,7 +447,7 @@ let o = class extends M {
|
|
|
446
447
|
`;
|
|
447
448
|
}
|
|
448
449
|
renderSearch() {
|
|
449
|
-
if (!this.showSearch) return
|
|
450
|
+
if (!this.showSearch) return l;
|
|
450
451
|
if (this.isTablet) {
|
|
451
452
|
const e = g({
|
|
452
453
|
"pkt-header-service__search-container": !0,
|
|
@@ -492,7 +493,7 @@ let o = class extends M {
|
|
|
492
493
|
i.key === "Enter" && this.handleSearch(i.target.value);
|
|
493
494
|
}}
|
|
494
495
|
></pkt-textinput>
|
|
495
|
-
` :
|
|
496
|
+
` : l}
|
|
496
497
|
</div>
|
|
497
498
|
</div>
|
|
498
499
|
`;
|
|
@@ -513,7 +514,7 @@ let o = class extends M {
|
|
|
513
514
|
}
|
|
514
515
|
renderUserButton() {
|
|
515
516
|
var t;
|
|
516
|
-
if (!this.user) return
|
|
517
|
+
if (!this.user) return l;
|
|
517
518
|
const e = g({
|
|
518
519
|
"pkt-header-service__user-menu": this.isMobile === !1,
|
|
519
520
|
"pkt-header-service__mobile-menu": this.isMobile === !0,
|
|
@@ -545,7 +546,7 @@ let o = class extends M {
|
|
|
545
546
|
<div class=${e}>
|
|
546
547
|
<pkt-header-user-menu
|
|
547
548
|
.user=${this.user}
|
|
548
|
-
formatted-last-logged-in=${this.formattedLastLoggedIn ||
|
|
549
|
+
formatted-last-logged-in=${this.formattedLastLoggedIn || l}
|
|
549
550
|
.representing=${this.representing}
|
|
550
551
|
.userMenu=${this.userMenu}
|
|
551
552
|
?can-change-representation=${this.canChangeRepresentation}
|
|
@@ -556,7 +557,7 @@ let o = class extends M {
|
|
|
556
557
|
@log-out=${this.handleLogout}
|
|
557
558
|
></pkt-header-user-menu>
|
|
558
559
|
</div>
|
|
559
|
-
` :
|
|
560
|
+
` : l}
|
|
560
561
|
</div>
|
|
561
562
|
`;
|
|
562
563
|
}
|
|
@@ -577,35 +578,34 @@ let o = class extends M {
|
|
|
577
578
|
<header class=${e} ${y(this.headerRef)}>
|
|
578
579
|
<div class=${t}>${this.renderLogo()} ${this.renderServiceName()}</div>
|
|
579
580
|
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
</div>
|
|
581
|
+
${this.hasSlotContent() || this.showSearch || this.showLogoutInHeader ? n`<div class="pkt-header-service__content">
|
|
582
|
+
${this.renderSlotContainer()} ${this.renderSearch()}
|
|
583
|
+
${this.isTablet && this.showLogoutInHeader ? n`
|
|
584
|
+
<pkt-button
|
|
585
|
+
skin="secondary"
|
|
586
|
+
size=${this.isMobile ? "small" : "medium"}
|
|
587
|
+
variant="icon-only"
|
|
588
|
+
iconName="exit"
|
|
589
|
+
@click=${this.handleLogout}
|
|
590
|
+
>
|
|
591
|
+
Logg ut
|
|
592
|
+
</pkt-button>
|
|
593
|
+
` : l}
|
|
594
|
+
</div>` : l}
|
|
595
|
+
${this.user || !this.isTablet && this.showLogoutInHeader ? n`<div class="pkt-header-service__user">
|
|
596
|
+
${this.renderUserButton()}
|
|
597
|
+
${!this.isTablet && this.showLogoutInHeader ? n`
|
|
598
|
+
<pkt-button
|
|
599
|
+
skin="tertiary"
|
|
600
|
+
size="medium"
|
|
601
|
+
variant="icon-right"
|
|
602
|
+
iconName="exit"
|
|
603
|
+
@click=${this.handleLogout}
|
|
604
|
+
>
|
|
605
|
+
Logg ut
|
|
606
|
+
</pkt-button>
|
|
607
|
+
` : l}
|
|
608
|
+
</div>` : l}
|
|
609
609
|
</header>
|
|
610
610
|
`;
|
|
611
611
|
}
|
|
@@ -719,12 +719,12 @@ r([
|
|
|
719
719
|
o = r([
|
|
720
720
|
_("pkt-header-service")
|
|
721
721
|
], o);
|
|
722
|
-
var N = Object.defineProperty, T = Object.getOwnPropertyDescriptor,
|
|
723
|
-
for (var a =
|
|
724
|
-
(m = e[p]) && (a = (
|
|
725
|
-
return
|
|
722
|
+
var N = Object.defineProperty, T = Object.getOwnPropertyDescriptor, c = (e, t, i, u) => {
|
|
723
|
+
for (var a = u > 1 ? void 0 : u ? T(t, i) : t, p = e.length - 1, m; p >= 0; p--)
|
|
724
|
+
(m = e[p]) && (a = (u ? m(t, i, a) : m(a)) || a);
|
|
725
|
+
return u && a && N(t, i, a), a;
|
|
726
726
|
};
|
|
727
|
-
let
|
|
727
|
+
let h = class extends M {
|
|
728
728
|
constructor() {
|
|
729
729
|
super(...arguments), this.searchPlaceholder = "Søk", this.searchValue = "", this.mobileBreakpoint = 768, this.tabletBreakpoint = 1280, this.openedMenu = "none", this.logOutButtonPlacement = "none", this.position = "fixed", this.scrollBehavior = "hide", this.slotMenuVariant = "icon-only", this.slotMenuText = "Meny", this.hideLogo = !1, this.compact = !1, this.showSearch = !1, this.canChangeRepresentation = !1, this.hasLogOut = !1;
|
|
730
730
|
}
|
|
@@ -766,89 +766,89 @@ let l = class extends M {
|
|
|
766
766
|
.userMenu=${this.effectiveUserMenu}
|
|
767
767
|
.representing=${this.representing}
|
|
768
768
|
>
|
|
769
|
-
|
|
769
|
+
${this.hasSlotContent() ? n`<div class="pkt-contents">${S(this)}</div>` : l}
|
|
770
770
|
</pkt-header-service>
|
|
771
771
|
`;
|
|
772
772
|
}
|
|
773
773
|
};
|
|
774
|
-
|
|
774
|
+
c([
|
|
775
775
|
s({ type: String, attribute: "service-name" })
|
|
776
|
-
],
|
|
777
|
-
|
|
776
|
+
], h.prototype, "serviceName", 2);
|
|
777
|
+
c([
|
|
778
778
|
s({ type: String, attribute: "service-link" })
|
|
779
|
-
],
|
|
780
|
-
|
|
779
|
+
], h.prototype, "serviceLink", 2);
|
|
780
|
+
c([
|
|
781
781
|
s({ type: String, attribute: "logo-link" })
|
|
782
|
-
],
|
|
783
|
-
|
|
782
|
+
], h.prototype, "logoLink", 2);
|
|
783
|
+
c([
|
|
784
784
|
s({ type: String, attribute: "search-placeholder" })
|
|
785
|
-
],
|
|
786
|
-
|
|
785
|
+
], h.prototype, "searchPlaceholder", 2);
|
|
786
|
+
c([
|
|
787
787
|
s({ type: String, attribute: "search-value" })
|
|
788
|
-
],
|
|
789
|
-
|
|
788
|
+
], h.prototype, "searchValue", 2);
|
|
789
|
+
c([
|
|
790
790
|
s({ type: Number, attribute: "mobile-breakpoint" })
|
|
791
|
-
],
|
|
792
|
-
|
|
791
|
+
], h.prototype, "mobileBreakpoint", 2);
|
|
792
|
+
c([
|
|
793
793
|
s({ type: Number, attribute: "tablet-breakpoint" })
|
|
794
|
-
],
|
|
795
|
-
|
|
794
|
+
], h.prototype, "tabletBreakpoint", 2);
|
|
795
|
+
c([
|
|
796
796
|
s({ type: String, attribute: "opened-menu" })
|
|
797
|
-
],
|
|
798
|
-
|
|
797
|
+
], h.prototype, "openedMenu", 2);
|
|
798
|
+
c([
|
|
799
799
|
s({ type: String, attribute: "log-out-button-placement" })
|
|
800
|
-
],
|
|
801
|
-
|
|
800
|
+
], h.prototype, "logOutButtonPlacement", 2);
|
|
801
|
+
c([
|
|
802
802
|
s({ type: String })
|
|
803
|
-
],
|
|
804
|
-
|
|
803
|
+
], h.prototype, "position", 2);
|
|
804
|
+
c([
|
|
805
805
|
s({ type: String, attribute: "scroll-behavior" })
|
|
806
|
-
],
|
|
807
|
-
|
|
806
|
+
], h.prototype, "scrollBehavior", 2);
|
|
807
|
+
c([
|
|
808
808
|
s({ type: String, attribute: "slot-menu-variant" })
|
|
809
|
-
],
|
|
810
|
-
|
|
809
|
+
], h.prototype, "slotMenuVariant", 2);
|
|
810
|
+
c([
|
|
811
811
|
s({ type: String, attribute: "slot-menu-text" })
|
|
812
|
-
],
|
|
813
|
-
|
|
812
|
+
], h.prototype, "slotMenuText", 2);
|
|
813
|
+
c([
|
|
814
814
|
s({ type: Boolean, attribute: "hide-logo", converter: d })
|
|
815
|
-
],
|
|
816
|
-
|
|
815
|
+
], h.prototype, "hideLogo", 2);
|
|
816
|
+
c([
|
|
817
817
|
s({ type: Boolean, converter: d })
|
|
818
|
-
],
|
|
819
|
-
|
|
818
|
+
], h.prototype, "compact", 2);
|
|
819
|
+
c([
|
|
820
820
|
s({ type: Boolean, attribute: "show-search", converter: d })
|
|
821
|
-
],
|
|
822
|
-
|
|
821
|
+
], h.prototype, "showSearch", 2);
|
|
822
|
+
c([
|
|
823
823
|
s({
|
|
824
824
|
type: Boolean,
|
|
825
825
|
attribute: "can-change-representation",
|
|
826
826
|
converter: d
|
|
827
827
|
})
|
|
828
|
-
],
|
|
829
|
-
|
|
828
|
+
], h.prototype, "canChangeRepresentation", 2);
|
|
829
|
+
c([
|
|
830
830
|
s({ type: Boolean, attribute: "has-log-out", converter: d })
|
|
831
|
-
],
|
|
832
|
-
|
|
831
|
+
], h.prototype, "hasLogOut", 2);
|
|
832
|
+
c([
|
|
833
833
|
s({ type: Object })
|
|
834
|
-
],
|
|
835
|
-
|
|
834
|
+
], h.prototype, "user", 2);
|
|
835
|
+
c([
|
|
836
836
|
s({ type: Array, attribute: "user-menu" })
|
|
837
|
-
],
|
|
838
|
-
|
|
837
|
+
], h.prototype, "userMenu", 2);
|
|
838
|
+
c([
|
|
839
839
|
s({ type: Object })
|
|
840
|
-
],
|
|
841
|
-
|
|
840
|
+
], h.prototype, "representing", 2);
|
|
841
|
+
c([
|
|
842
842
|
s({ type: Array, attribute: "user-menu-footer" })
|
|
843
|
-
],
|
|
844
|
-
|
|
843
|
+
], h.prototype, "userMenuFooter", 2);
|
|
844
|
+
c([
|
|
845
845
|
s({ type: Array, attribute: "user-options" })
|
|
846
|
-
],
|
|
847
|
-
|
|
846
|
+
], h.prototype, "userOptions", 2);
|
|
847
|
+
h = c([
|
|
848
848
|
_("pkt-header")
|
|
849
|
-
],
|
|
849
|
+
], h);
|
|
850
850
|
export {
|
|
851
|
-
|
|
851
|
+
h as PktHeader,
|
|
852
852
|
o as PktHeaderService,
|
|
853
853
|
v as PktHeaderUserMenu,
|
|
854
854
|
O as formatLastLoggedIn
|
package/dist/pkt-heading.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./heading-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./heading-Cvz8m1xL.cjs"),t=e.PktHeading;Object.defineProperty(exports,"PktHeading",{enumerable:!0,get:()=>e.PktHeading});exports.default=t;
|
package/dist/pkt-heading.js
CHANGED
package/dist/pkt-helptext.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./helptext-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./helptext-5Mzp65-F.cjs"),t=e.PktHelptext;Object.defineProperty(exports,"PktHelptext",{enumerable:!0,get:()=>e.PktHelptext});exports.default=t;
|
package/dist/pkt-helptext.js
CHANGED
package/dist/pkt-icon.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./icon-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./icon-Bqj9oBbl.cjs"),t=e.PktIcon;Object.defineProperty(exports,"PktIcon",{enumerable:!0,get:()=>e.PktIcon});exports.default=t;
|
package/dist/pkt-icon.js
CHANGED
package/dist/pkt-index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./alert-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./alert-DFkFNTxh.cjs"),t=require("./accordionitem-D1Agl1bB.cjs"),a=require("./backlink-EiAXUUZP.cjs"),P=require("./pkt-breadcrumbs.cjs"),i=require("./button-DYv5Dg4M.cjs"),c=require("./calendar-HIE9nxcc.cjs"),b=require("./card-CyeH6l1c.cjs"),k=require("./combobox-Hb2V-fPX.cjs"),d=require("./consent-ruWAEVXW.cjs"),s=require("./checkbox-BLlwTABj.cjs"),r=require("./datepicker-D2H7U6MS.cjs"),e=require("./pkt-header.cjs"),l=require("./helptext-5Mzp65-F.cjs"),p=require("./heading-Cvz8m1xL.cjs"),m=require("./icon-Bqj9oBbl.cjs"),g=require("./input-wrapper-B0MkQ0IZ.cjs"),f=require("./link-R_lNhViF.cjs"),y=require("./linkcard-C7HbSLlX.cjs"),j=require("./loader-e2gs_1xz.cjs"),O=require("./messagebox-D67w71VX.cjs"),q=require("./modal-CyvEkbfQ.cjs"),x=require("./progressbar-DsJ2B9Vm.cjs"),n=require("./radiobutton-Bv-BZ1Hw.cjs"),T=require("./tag-X6xdjR0N.cjs"),o=require("./tabitem-DZpspU4Q.cjs"),C=require("./textarea-DoeHJ7HR.cjs"),H=require("./textinput-BNsLd26i.cjs"),B=require("./select-WFhS4Vfp.cjs"),I=require("./pkt-timepicker.cjs");Object.defineProperty(exports,"PktAlert",{enumerable:!0,get:()=>u.PktAlert});exports.PktAccordion=t.PktAccordion;exports.PktAccordionItem=t.PktAccordionItem_default;Object.defineProperty(exports,"PktBackLink",{enumerable:!0,get:()=>a.PktBackLink});Object.defineProperty(exports,"PktBreadcrumbs",{enumerable:!0,get:()=>P.PktBreadcrumbs});Object.defineProperty(exports,"PktButton",{enumerable:!0,get:()=>i.PktButton});Object.defineProperty(exports,"PktCalendar",{enumerable:!0,get:()=>c.PktCalendar});Object.defineProperty(exports,"PktCard",{enumerable:!0,get:()=>b.PktCard});Object.defineProperty(exports,"PktCombobox",{enumerable:!0,get:()=>k.PktCombobox});Object.defineProperty(exports,"PktConsent",{enumerable:!0,get:()=>d.PktConsent});Object.defineProperty(exports,"PktCheckbox",{enumerable:!0,get:()=>s.PktCheckbox});Object.defineProperty(exports,"PktDateTags",{enumerable:!0,get:()=>r.PktDateTags});Object.defineProperty(exports,"PktDatepicker",{enumerable:!0,get:()=>r.PktDatepicker});Object.defineProperty(exports,"PktHeader",{enumerable:!0,get:()=>e.PktHeader});Object.defineProperty(exports,"PktHeaderService",{enumerable:!0,get:()=>e.PktHeaderService});Object.defineProperty(exports,"PktHeaderUserMenu",{enumerable:!0,get:()=>e.PktHeaderUserMenu});Object.defineProperty(exports,"PktHelptext",{enumerable:!0,get:()=>l.PktHelptext});Object.defineProperty(exports,"PktHeading",{enumerable:!0,get:()=>p.PktHeading});Object.defineProperty(exports,"PktIcon",{enumerable:!0,get:()=>m.PktIcon});Object.defineProperty(exports,"PktInputWrapper",{enumerable:!0,get:()=>g.PktInputWrapper});Object.defineProperty(exports,"PktLink",{enumerable:!0,get:()=>f.PktLink});Object.defineProperty(exports,"PktLinkCard",{enumerable:!0,get:()=>y.PktLinkCard});Object.defineProperty(exports,"PktLoader",{enumerable:!0,get:()=>j.PktLoader});Object.defineProperty(exports,"PktMessagebox",{enumerable:!0,get:()=>O.PktMessagebox});Object.defineProperty(exports,"PktModal",{enumerable:!0,get:()=>q.PktModal});Object.defineProperty(exports,"PktProgressbar",{enumerable:!0,get:()=>x.PktProgressbar});Object.defineProperty(exports,"PktRadioButton",{enumerable:!0,get:()=>n.PktRadioButton});Object.defineProperty(exports,"PktRadiobutton",{enumerable:!0,get:()=>n.PktRadioButton});Object.defineProperty(exports,"PktTag",{enumerable:!0,get:()=>T.PktTag});exports.PktTabItem=o.PktTabItem_default;exports.PktTabs=o.PktTabs;Object.defineProperty(exports,"PktTextarea",{enumerable:!0,get:()=>C.PktTextarea});Object.defineProperty(exports,"PktTextinput",{enumerable:!0,get:()=>H.PktTextinput});Object.defineProperty(exports,"PktSelect",{enumerable:!0,get:()=>B.PktSelect});Object.defineProperty(exports,"PktTimepicker",{enumerable:!0,get:()=>I.PktTimepicker});
|
package/dist/pkt-index.js
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import { P as o } from "./alert-
|
|
2
|
-
import { P
|
|
3
|
-
import { P as s } from "./backlink-
|
|
1
|
+
import { P as o } from "./alert-BuAXrnKl.js";
|
|
2
|
+
import { P, a } from "./accordionitem-ZlaXvjt5.js";
|
|
3
|
+
import { P as s } from "./backlink-V4DAt17e.js";
|
|
4
4
|
import { PktBreadcrumbs as x } from "./pkt-breadcrumbs.js";
|
|
5
|
-
import { P as f } from "./button-
|
|
6
|
-
import { P as d } from "./calendar-
|
|
7
|
-
import { P as
|
|
8
|
-
import { P as u } from "./combobox-
|
|
9
|
-
import { P as
|
|
10
|
-
import { P as l } from "./checkbox-
|
|
11
|
-
import { P as B, a as I } from "./datepicker-
|
|
5
|
+
import { P as f } from "./button-DEyvt1LI.js";
|
|
6
|
+
import { P as d } from "./calendar-S63oreVW.js";
|
|
7
|
+
import { P as c } from "./card-DDiLfuO4.js";
|
|
8
|
+
import { P as u } from "./combobox-BmxSecfE.js";
|
|
9
|
+
import { P as C } from "./consent-iXyx5v6J.js";
|
|
10
|
+
import { P as l } from "./checkbox-ejBUa5qQ.js";
|
|
11
|
+
import { P as B, a as I } from "./datepicker-CZl7b8Na.js";
|
|
12
12
|
import { PktHeader as A, PktHeaderService as M, PktHeaderUserMenu as D } from "./pkt-header.js";
|
|
13
|
-
import { P as S } from "./helptext-
|
|
14
|
-
import { P as v } from "./heading-
|
|
15
|
-
import { P as W } from "./icon-
|
|
16
|
-
import { P as q } from "./input-wrapper-
|
|
17
|
-
import { P as y } from "./link-
|
|
18
|
-
import { P as E } from "./linkcard-
|
|
19
|
-
import { P as G } from "./loader-
|
|
20
|
-
import { P as K } from "./messagebox-
|
|
21
|
-
import { P as O } from "./modal-
|
|
22
|
-
import { P as V } from "./progressbar-
|
|
23
|
-
import { P as Y, P as Z } from "./radiobutton-
|
|
24
|
-
import { P as $ } from "./tag-
|
|
25
|
-
import { P as rt, a as ot } from "./tabitem-
|
|
26
|
-
import { P as
|
|
27
|
-
import { P as kt } from "./textinput-
|
|
28
|
-
import { P as pt } from "./select-
|
|
13
|
+
import { P as S } from "./helptext-jIoWRcCF.js";
|
|
14
|
+
import { P as v } from "./heading-CKt7cVn7.js";
|
|
15
|
+
import { P as W } from "./icon-BlKA8YuW.js";
|
|
16
|
+
import { P as q } from "./input-wrapper-B2JpK016.js";
|
|
17
|
+
import { P as y } from "./link-Z_GizclR.js";
|
|
18
|
+
import { P as E } from "./linkcard-BlQvdB1a.js";
|
|
19
|
+
import { P as G } from "./loader-Ci3CHU8k.js";
|
|
20
|
+
import { P as K } from "./messagebox-Bf-XMlvW.js";
|
|
21
|
+
import { P as O } from "./modal-DzGe1g8Z.js";
|
|
22
|
+
import { P as V } from "./progressbar-By7e0lEI.js";
|
|
23
|
+
import { P as Y, P as Z } from "./radiobutton-6frNG9J_.js";
|
|
24
|
+
import { P as $ } from "./tag-BuCpqaks.js";
|
|
25
|
+
import { P as rt, a as ot } from "./tabitem-CB8wkKmv.js";
|
|
26
|
+
import { P as Pt } from "./textarea-Bzuymclz.js";
|
|
27
|
+
import { P as kt } from "./textinput-9lHjs4ce.js";
|
|
28
|
+
import { P as pt } from "./select-CXZt1nHS.js";
|
|
29
|
+
import { PktTimepicker as mt } from "./pkt-timepicker.js";
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
P as PktAccordion,
|
|
31
32
|
a as PktAccordionItem,
|
|
32
33
|
o as PktAlert,
|
|
33
34
|
s as PktBackLink,
|
|
34
35
|
x as PktBreadcrumbs,
|
|
35
36
|
f as PktButton,
|
|
36
37
|
d as PktCalendar,
|
|
37
|
-
|
|
38
|
+
c as PktCard,
|
|
38
39
|
l as PktCheckbox,
|
|
39
40
|
u as PktCombobox,
|
|
40
|
-
|
|
41
|
+
C as PktConsent,
|
|
41
42
|
B as PktDateTags,
|
|
42
43
|
I as PktDatepicker,
|
|
43
44
|
A as PktHeader,
|
|
@@ -59,6 +60,7 @@ export {
|
|
|
59
60
|
rt as PktTabItem,
|
|
60
61
|
ot as PktTabs,
|
|
61
62
|
$ as PktTag,
|
|
62
|
-
|
|
63
|
-
kt as PktTextinput
|
|
63
|
+
Pt as PktTextarea,
|
|
64
|
+
kt as PktTextinput,
|
|
65
|
+
mt as PktTimepicker
|
|
64
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./input-wrapper-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./input-wrapper-B0MkQ0IZ.cjs"),t=e.PktInputWrapper;Object.defineProperty(exports,"PktInputWrapper",{enumerable:!0,get:()=>e.PktInputWrapper});exports.default=t;
|
package/dist/pkt-link.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./link-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./link-R_lNhViF.cjs"),t=e.PktLink;Object.defineProperty(exports,"PktLink",{enumerable:!0,get:()=>e.PktLink});exports.default=t;
|
package/dist/pkt-link.js
CHANGED