@oslokommune/punkt-vue 12.32.0 → 12.32.7
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/{Alert-R-eAFCdz.js → Alert-DHRKJRVL.js} +2 -2
- package/dist/{Button-BlX9N6dr.js → Button-Bm6X0lD8.js} +2 -2
- package/dist/{Helptext-x_AJJvxR.js → Helptext-BoMRhm0N.js} +4 -4
- package/dist/{Icon-DdXdUxP2.js → Icon-Z84h32lN.js} +2 -2
- package/dist/{InputWrapper-CXY8O_cJ.js → InputWrapper-D2jCo3f8.js} +14 -14
- package/dist/{Tag-BpTGJPw9.js → Tag-CK-y1m3h.js} +2 -2
- package/dist/punkt-vue-accordion.js +6 -6
- package/dist/punkt-vue-alert.js +1 -1
- package/dist/punkt-vue-backlink.js +2 -2
- package/dist/punkt-vue-breadcrumbs.js +2 -2
- package/dist/punkt-vue-button.js +1 -1
- package/dist/punkt-vue-checkbox.js +10 -10
- package/dist/punkt-vue-footer.js +11 -11
- package/dist/punkt-vue-footersimple.js +4 -4
- package/dist/punkt-vue-header.js +3 -3
- package/dist/punkt-vue-helptext.js +1 -1
- package/dist/punkt-vue-icon.js +1 -1
- package/dist/punkt-vue-index.js +6 -6
- package/dist/punkt-vue-inputwrapper.js +1 -1
- package/dist/punkt-vue-linkcard.js +3 -3
- package/dist/punkt-vue-loader.js +8 -8
- package/dist/punkt-vue-messagebox.js +2 -2
- package/dist/punkt-vue-progressbar.cjs +1 -1
- package/dist/punkt-vue-progressbar.js +8 -8
- package/dist/punkt-vue-radiobutton.js +3 -3
- package/dist/punkt-vue-searchinput.js +14 -14
- package/dist/punkt-vue-select.js +6 -6
- package/dist/punkt-vue-stepper.js +3 -3
- package/dist/punkt-vue-table.js +7 -7
- package/dist/punkt-vue-tabs.js +3 -3
- package/dist/punkt-vue-tag.js +1 -1
- package/dist/punkt-vue-textarea.js +6 -6
- package/dist/punkt-vue-textinput.js +4 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,41 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [12.32.4](https://github.com/oslokommune/punkt/compare/12.32.3...12.32.4) (2025-04-11)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* Oppdaterer Vite. Kanskje det fikser byggeproblemer? (#2405).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [12.32.2](https://github.com/oslokommune/punkt/compare/12.32.1...12.32.2) (2025-04-11)
|
|
27
|
+
|
|
28
|
+
### ⚠ BREAKING CHANGES
|
|
29
|
+
Ingen
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
Ingen
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
Ingen
|
|
36
|
+
|
|
37
|
+
### Chores
|
|
38
|
+
Ingen
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
|
|
8
43
|
## [12.25.0](https://github.com/oslokommune/punkt/compare/12.24.4...12.25.0) (2025-03-07)
|
|
9
44
|
|
|
10
45
|
### ⚠ BREAKING CHANGES
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@oslokommune/punkt-elements/dist/pkt-alert";
|
|
2
|
-
import {
|
|
2
|
+
import { createElementBlock as a, openBlock as r, renderSlot as i } from "vue";
|
|
3
3
|
import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const o = {
|
|
5
5
|
name: "PktAlert",
|
|
@@ -37,7 +37,7 @@ const o = {
|
|
|
37
37
|
}
|
|
38
38
|
}, n = ["skin", "closeAlert", "title", "date", "ariaLive", "compact"];
|
|
39
39
|
function c(t, s, e, d, f, u) {
|
|
40
|
-
return
|
|
40
|
+
return r(), a("pkt-alert", {
|
|
41
41
|
skin: e.skin,
|
|
42
42
|
closeAlert: e.closeAlert,
|
|
43
43
|
title: e.title,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as d } from "./Icon-
|
|
2
|
-
import { resolveComponent as u,
|
|
1
|
+
import { P as d } from "./Icon-Z84h32lN.js";
|
|
2
|
+
import { resolveComponent as u, createElementBlock as c, openBlock as s, mergeProps as m, withKeys as k, createBlock as a, createCommentVNode as l, createElementVNode as p, renderSlot as y, createTextVNode as b, toDisplayString as f } from "vue";
|
|
3
3
|
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const h = {
|
|
5
5
|
name: "PktButton",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@oslokommune/punkt-elements/dist/pkt-helptext";
|
|
2
|
-
import {
|
|
2
|
+
import { createElementBlock as l, createCommentVNode as n, openBlock as d, createElementVNode as x } from "vue";
|
|
3
3
|
import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const i = {
|
|
5
5
|
name: "pktHelptext",
|
|
@@ -39,15 +39,15 @@ const i = {
|
|
|
39
39
|
}
|
|
40
40
|
}, h = { key: 0 }, u = ["forId", "helptext", "helptextDropdown", "helptextDropdownButton"];
|
|
41
41
|
function a(o, p, e, m, g, t) {
|
|
42
|
-
return e.helptext || e.helptextDropdown ? (
|
|
43
|
-
|
|
42
|
+
return e.helptext || e.helptextDropdown ? (d(), l("div", h, [
|
|
43
|
+
x("pkt-helptext", {
|
|
44
44
|
forId: e.forId,
|
|
45
45
|
helptext: e.helptext,
|
|
46
46
|
helptextDropdown: e.helptextDropdown,
|
|
47
47
|
helptextDropdownButton: t.dropdownButton,
|
|
48
48
|
"on:toggleHelpText": p[0] || (p[0] = (...r) => t.toggleHelpText && t.toggleHelpText(...r))
|
|
49
49
|
}, null, 40, u)
|
|
50
|
-
])) :
|
|
50
|
+
])) : n("", !0);
|
|
51
51
|
}
|
|
52
52
|
const H = /* @__PURE__ */ s(i, [["render", a]]);
|
|
53
53
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@oslokommune/punkt-elements/dist/pkt-icon";
|
|
2
|
-
import {
|
|
2
|
+
import { createElementBlock as t, openBlock as n, mergeProps as o } from "vue";
|
|
3
3
|
import { _ as r } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const a = {
|
|
5
5
|
name: "PktIcon",
|
|
@@ -16,7 +16,7 @@ const a = {
|
|
|
16
16
|
}
|
|
17
17
|
}, c = ["name"];
|
|
18
18
|
function p(i, m, e, d, s, _) {
|
|
19
|
-
return
|
|
19
|
+
return n(), t("pkt-icon", o({ name: e.name }, e.path && { path: e.path }), null, 16, c);
|
|
20
20
|
}
|
|
21
21
|
const h = /* @__PURE__ */ r(a, [["render", p]]);
|
|
22
22
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as b } from "./Alert-
|
|
2
|
-
import { P as k } from "./Helptext-
|
|
3
|
-
import { resolveComponent as u,
|
|
1
|
+
import { P as b } from "./Alert-DHRKJRVL.js";
|
|
2
|
+
import { P as k } from "./Helptext-BoMRhm0N.js";
|
|
3
|
+
import { resolveComponent as u, createElementBlock as a, openBlock as r, normalizeClass as s, createBlock as p, createCommentVNode as l, resolveDynamicComponent as f, withCtx as n, createVNode as h, renderSlot as c, createTextVNode as d, toDisplayString as i, Fragment as g, createElementVNode as _ } from "vue";
|
|
4
4
|
import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const T = {
|
|
6
6
|
name: "pktInputwrapper",
|
|
@@ -150,11 +150,11 @@ function H(o, I, e, S, v, t) {
|
|
|
150
150
|
id: `${e.forId}-label`
|
|
151
151
|
}, {
|
|
152
152
|
default: n(() => [
|
|
153
|
-
d(
|
|
153
|
+
d(i(e.label), 1),
|
|
154
154
|
t.tagText !== "" ? (r(), a("span", {
|
|
155
155
|
key: 0,
|
|
156
156
|
class: s(t.tagClass)
|
|
157
|
-
},
|
|
157
|
+
}, i(t.tagText), 3)) : l("", !0)
|
|
158
158
|
]),
|
|
159
159
|
_: 1
|
|
160
160
|
}, 8, ["class", "id"])),
|
|
@@ -165,31 +165,31 @@ function H(o, I, e, S, v, t) {
|
|
|
165
165
|
helptextDropdownButton: e.helptextDropdownButton,
|
|
166
166
|
helptextDropdown: e.helptextDropdown
|
|
167
167
|
}, null, 8, ["forId", "onToggleHelpText", "helptext", "helptextDropdownButton", "helptextDropdown"]),
|
|
168
|
-
e.hasFieldset ?
|
|
168
|
+
e.hasFieldset ? l("", !0) : (r(), a("label", {
|
|
169
169
|
key: 0,
|
|
170
170
|
for: e.forId,
|
|
171
171
|
class: "pkt-sr-only",
|
|
172
172
|
"aria-describedby": t.describedBy
|
|
173
|
-
},
|
|
173
|
+
}, i(e.label), 9, w)),
|
|
174
174
|
c(o.$slots, "default")
|
|
175
175
|
]),
|
|
176
176
|
_: 3
|
|
177
177
|
}, 8, ["for", "class", "aria-describedby"])) : (r(), a(g, { key: 1 }, [
|
|
178
|
-
e.hasFieldset ?
|
|
178
|
+
e.hasFieldset ? l("", !0) : (r(), a("label", {
|
|
179
179
|
key: 0,
|
|
180
180
|
for: e.forId,
|
|
181
181
|
class: "pkt-sr-only",
|
|
182
182
|
"aria-describedby": t.describedBy,
|
|
183
183
|
id: `${e.forId}-label`
|
|
184
|
-
},
|
|
184
|
+
}, i(e.label), 9, D)),
|
|
185
185
|
c(o.$slots, "default")
|
|
186
186
|
], 64)),
|
|
187
187
|
e.counter ? (r(), a("div", q, [
|
|
188
|
-
d(
|
|
188
|
+
d(i(e.counterCurrent || 0), 1),
|
|
189
189
|
e.counterMaxLength ? (r(), a(g, { key: 0 }, [
|
|
190
|
-
d("/" +
|
|
191
|
-
], 64)) :
|
|
192
|
-
])) :
|
|
190
|
+
d("/" + i(e.counterMaxLength), 1)
|
|
191
|
+
], 64)) : l("", !0)
|
|
192
|
+
])) : l("", !0),
|
|
193
193
|
e.hasError && e.errorMessage ? (r(), a("div", B, [
|
|
194
194
|
h(x, {
|
|
195
195
|
skin: "error",
|
|
@@ -205,7 +205,7 @@ function H(o, I, e, S, v, t) {
|
|
|
205
205
|
]),
|
|
206
206
|
_: 1
|
|
207
207
|
}, 8, ["id"])
|
|
208
|
-
])) :
|
|
208
|
+
])) : l("", !0)
|
|
209
209
|
], 2);
|
|
210
210
|
}
|
|
211
211
|
const E = /* @__PURE__ */ m(T, [["render", H]]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@oslokommune/punkt-elements/dist/pkt-tag";
|
|
2
|
-
import {
|
|
2
|
+
import { createElementBlock as a, openBlock as l, renderSlot as i } from "vue";
|
|
3
3
|
import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const r = {
|
|
5
5
|
name: "PktTag",
|
|
@@ -45,7 +45,7 @@ const r = {
|
|
|
45
45
|
}
|
|
46
46
|
}, o = ["skin", "textStyle", "size", "closeTag", "iconName", "type", "ariaLabel"];
|
|
47
47
|
function s(e, u, t, c, d, m) {
|
|
48
|
-
return
|
|
48
|
+
return l(), a("pkt-tag", {
|
|
49
49
|
skin: t.skin,
|
|
50
50
|
textStyle: t.textStyle,
|
|
51
51
|
size: t.size,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as b, a as c } from "./plugins-DQVoaMd9.js";
|
|
2
|
-
import { defineComponent as p, watchEffect as v, ref as m, computed as r,
|
|
3
|
-
import { P as y } from "./Icon-
|
|
2
|
+
import { defineComponent as p, watchEffect as v, ref as m, computed as r, createElementBlock as u, openBlock as f, normalizeClass as k, renderSlot as g, unref as l, createElementVNode as d, createTextVNode as h, createVNode as P, toDisplayString as $ } from "vue";
|
|
3
|
+
import { P as y } from "./Icon-Z84h32lN.js";
|
|
4
4
|
const C = /* @__PURE__ */ p({
|
|
5
5
|
__name: "Accordion",
|
|
6
6
|
props: {
|
|
@@ -21,7 +21,7 @@ const C = /* @__PURE__ */ p({
|
|
|
21
21
|
o.compact && "pkt-accordion--compact",
|
|
22
22
|
o.skin && `pkt-accordion--${o.skin}`
|
|
23
23
|
].filter(Boolean).join(" "));
|
|
24
|
-
return (i, s) => (
|
|
24
|
+
return (i, s) => (f(), u("div", {
|
|
25
25
|
class: k(a.value),
|
|
26
26
|
ref_key: "accordionRef",
|
|
27
27
|
ref: n
|
|
@@ -53,7 +53,7 @@ const C = /* @__PURE__ */ p({
|
|
|
53
53
|
"pkt-accordion-item--open": a.value
|
|
54
54
|
}
|
|
55
55
|
]);
|
|
56
|
-
return (e, A) => (
|
|
56
|
+
return (e, A) => (f(), u("details", {
|
|
57
57
|
"aria-controls": `pkt-accordion-item-content-${e.id}`,
|
|
58
58
|
"aria-expanded": l(a),
|
|
59
59
|
class: k(_.value),
|
|
@@ -66,8 +66,8 @@ const C = /* @__PURE__ */ p({
|
|
|
66
66
|
id: `pkt-accordion-item-summary-${e.id}`,
|
|
67
67
|
onClick: s
|
|
68
68
|
}, [
|
|
69
|
-
h(
|
|
70
|
-
|
|
69
|
+
h($(e.title) + " ", 1),
|
|
70
|
+
P(y, {
|
|
71
71
|
name: "chevron-thin-down",
|
|
72
72
|
class: "pkt-accordion-item__icon",
|
|
73
73
|
"aria-hidden": "true"
|
package/dist/punkt-vue-alert.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as f } from "./Icon-
|
|
2
|
-
import { resolveComponent as s, openBlock as n,
|
|
1
|
+
import { P as f } from "./Icon-Z84h32lN.js";
|
|
2
|
+
import { resolveComponent as s, createElementBlock as a, openBlock as n, createBlock as p, createVNode as c, createElementVNode as i, renderSlot as l, createTextVNode as k, toDisplayString as r, withCtx as m } from "vue";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { u as d, a as u } from "./plugins-DQVoaMd9.js";
|
|
5
5
|
const x = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as _ } from "./Icon-
|
|
2
|
-
import { resolveComponent as b,
|
|
1
|
+
import { P as _ } from "./Icon-Z84h32lN.js";
|
|
2
|
+
import { resolveComponent as b, createElementBlock as c, openBlock as t, createElementVNode as r, Fragment as p, renderList as h, createBlock as u, toDisplayString as l, resolveDynamicComponent as d, withCtx as k, createVNode as m } from "vue";
|
|
3
3
|
import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { u as y, a as g } from "./plugins-DQVoaMd9.js";
|
|
5
5
|
const v = {
|
package/dist/punkt-vue-button.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as l, openBlock as i, createElementVNode as s, normalizeClass as d, createCommentVNode as a, withDirectives as k, createTextVNode as u, toDisplayString as c, mergeProps as r, vModelCheckbox as _ } from "vue";
|
|
2
2
|
import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
import { u as b, a as p } from "./plugins-DQVoaMd9.js";
|
|
4
4
|
const m = {
|
|
@@ -69,7 +69,7 @@ const m = {
|
|
|
69
69
|
class: "pkt-input-check__input-helptext"
|
|
70
70
|
};
|
|
71
71
|
function S(t, n, e, H, E, o) {
|
|
72
|
-
return
|
|
72
|
+
return i(), l("div", y, [
|
|
73
73
|
s("div", {
|
|
74
74
|
class: d([
|
|
75
75
|
"pkt-input-check__input",
|
|
@@ -77,14 +77,14 @@ function S(t, n, e, H, E, o) {
|
|
|
77
77
|
{ "pkt-input-check__input--tile-disabled": e.disabled && e.hasTile }
|
|
78
78
|
])
|
|
79
79
|
}, [
|
|
80
|
-
e.label && e.labelPosition === "left" ? (
|
|
80
|
+
e.label && e.labelPosition === "left" ? (i(), l("label", {
|
|
81
81
|
key: 0,
|
|
82
82
|
class: d(["pkt-input-check__input-label", { "pkt-sr-only": e.hideLabel }]),
|
|
83
83
|
for: e.id
|
|
84
84
|
}, [
|
|
85
|
-
u(
|
|
86
|
-
e.checkHelptext ? (
|
|
87
|
-
], 10, x)) :
|
|
85
|
+
u(c(e.label) + " ", 1),
|
|
86
|
+
e.checkHelptext ? (i(), l("div", C, c(e.checkHelptext), 1)) : a("", !0)
|
|
87
|
+
], 10, x)) : a("", !0),
|
|
88
88
|
k(s("input", r(t.$attrs, {
|
|
89
89
|
class: ["pkt-input-check__input-checkbox", { "pkt-input-check__input-checkbox--error": e.hasError }],
|
|
90
90
|
type: "checkbox",
|
|
@@ -95,14 +95,14 @@ function S(t, n, e, H, E, o) {
|
|
|
95
95
|
}), null, 16, g), [
|
|
96
96
|
[_, o.computedChecked]
|
|
97
97
|
]),
|
|
98
|
-
e.label && e.labelPosition === "right" ? (
|
|
98
|
+
e.label && e.labelPosition === "right" ? (i(), l("label", {
|
|
99
99
|
key: 1,
|
|
100
100
|
class: d(["pkt-input-check__input-label", { "pkt-sr-only": e.hideLabel }]),
|
|
101
101
|
for: e.id
|
|
102
102
|
}, [
|
|
103
|
-
u(
|
|
104
|
-
e.checkHelptext ? (
|
|
105
|
-
], 10, B)) :
|
|
103
|
+
u(c(e.label) + " ", 1),
|
|
104
|
+
e.checkHelptext ? (i(), l("div", P, c(e.checkHelptext), 1)) : a("", !0)
|
|
105
|
+
], 10, B)) : a("", !0)
|
|
106
106
|
], 2)
|
|
107
107
|
]);
|
|
108
108
|
}
|
package/dist/punkt-vue-footer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as m } from "./Icon-
|
|
2
|
-
import { resolveComponent as b,
|
|
1
|
+
import { P as m } from "./Icon-Z84h32lN.js";
|
|
2
|
+
import { resolveComponent as b, createElementBlock as s, openBlock as a, createElementVNode as n, createCommentVNode as k, toDisplayString as i, Fragment as c, renderList as p, normalizeClass as h, createVNode as f, createTextVNode as d } from "vue";
|
|
3
3
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { u as N, a as I } from "./plugins-DQVoaMd9.js";
|
|
5
5
|
const y = {
|
|
@@ -59,14 +59,14 @@ const y = {
|
|
|
59
59
|
}, J = ["href", "aria-label", "target", "rel"], K = { class: "pkt-footer__social-icons" }, M = ["href", "aria-label", "target", "rel"];
|
|
60
60
|
function Q(r, o, e, u, g, W) {
|
|
61
61
|
const _ = b("PktIcon");
|
|
62
|
-
return
|
|
62
|
+
return a(), s("footer", T, [
|
|
63
63
|
n("div", L, [
|
|
64
64
|
n("div", v, [
|
|
65
65
|
n("div", x, [
|
|
66
66
|
n("h2", j, i(e.columnOne.title), 1),
|
|
67
67
|
n("ul", O, [
|
|
68
|
-
e.columnOne.text ? (
|
|
69
|
-
(
|
|
68
|
+
e.columnOne.text ? (a(), s("li", P, i(e.columnOne.text), 1)) : k("", !0),
|
|
69
|
+
(a(!0), s(c, null, p(e.columnOne.links, (t, l) => (a(), s("li", {
|
|
70
70
|
class: "pkt-footer__list-item",
|
|
71
71
|
key: `links-${l}`
|
|
72
72
|
}, [
|
|
@@ -88,7 +88,7 @@ function Q(r, o, e, u, g, W) {
|
|
|
88
88
|
n("div", A, [
|
|
89
89
|
n("h2", C, i(e.columnTwo.title), 1),
|
|
90
90
|
n("ul", F, [
|
|
91
|
-
(
|
|
91
|
+
(a(!0), s(c, null, p(e.columnTwo.links, (t, l) => (a(), s("li", {
|
|
92
92
|
class: "pkt-footer__list-item",
|
|
93
93
|
key: `links-${l}`
|
|
94
94
|
}, [
|
|
@@ -141,9 +141,9 @@ function Q(r, o, e, u, g, W) {
|
|
|
141
141
|
])
|
|
142
142
|
])
|
|
143
143
|
]),
|
|
144
|
-
e.socialLinks ? (
|
|
145
|
-
(
|
|
146
|
-
t.language ? (
|
|
144
|
+
e.socialLinks ? (a(), s("div", G, [
|
|
145
|
+
(a(!0), s(c, null, p(e.socialLinks, (t, l) => (a(), s(c, null, [
|
|
146
|
+
t.language ? (a(), s("div", {
|
|
147
147
|
key: `language-${l}`,
|
|
148
148
|
class: "pkt-footer__social-language"
|
|
149
149
|
}, [
|
|
@@ -156,8 +156,8 @@ function Q(r, o, e, u, g, W) {
|
|
|
156
156
|
])) : k("", !0)
|
|
157
157
|
], 64))), 256)),
|
|
158
158
|
n("div", K, [
|
|
159
|
-
(
|
|
160
|
-
t.iconName ? (
|
|
159
|
+
(a(!0), s(c, null, p(e.socialLinks, (t, l) => (a(), s(c, null, [
|
|
160
|
+
t.iconName ? (a(), s("a", {
|
|
161
161
|
key: `sociallinks-${l}`,
|
|
162
162
|
href: t.href,
|
|
163
163
|
"aria-label": `til ${t.iconName}`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as _ } from "./Icon-
|
|
2
|
-
import { resolveComponent as k,
|
|
1
|
+
import { P as _ } from "./Icon-Z84h32lN.js";
|
|
2
|
+
import { resolveComponent as k, createElementBlock as l, openBlock as i, createElementVNode as t, Fragment as m, renderList as c, normalizeClass as d, createVNode as a, createTextVNode as f, toDisplayString as g } from "vue";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { u, a as w } from "./plugins-DQVoaMd9.js";
|
|
5
5
|
const I = {
|
|
@@ -35,10 +35,10 @@ const I = {
|
|
|
35
35
|
}, L = { class: "pkt-footer-simple__container" }, N = { class: "pkt-footer-simple__list" }, v = ["href", "target", "rel"], T = { class: "pkt-footer-simple__list-item" }, y = ["href", "target", "rel"], x = { class: "pkt-footer-simple__list-item" }, P = ["href", "target", "rel"];
|
|
36
36
|
function j(r, n, e, q, B, C) {
|
|
37
37
|
const s = k("PktIcon");
|
|
38
|
-
return
|
|
38
|
+
return i(), l("footer", b, [
|
|
39
39
|
t("div", L, [
|
|
40
40
|
t("ul", N, [
|
|
41
|
-
(
|
|
41
|
+
(i(!0), l(m, null, c(e.links, (o, p) => (i(), l("li", {
|
|
42
42
|
class: "pkt-footer-simple__list-item",
|
|
43
43
|
key: `links-${p}`
|
|
44
44
|
}, [
|
package/dist/punkt-vue-header.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as S } from "./Icon-
|
|
2
|
-
import { P as I } from "./Button-
|
|
3
|
-
import { resolveComponent as N,
|
|
1
|
+
import { P as S } from "./Icon-Z84h32lN.js";
|
|
2
|
+
import { P as I } from "./Button-Bm6X0lD8.js";
|
|
3
|
+
import { resolveComponent as N, createElementBlock as o, openBlock as t, normalizeClass as B, createElementVNode as i, createCommentVNode as r, createVNode as d, toDisplayString as a, withCtx as P, createTextVNode as k, Fragment as _, renderList as p, createBlock as h } from "vue";
|
|
4
4
|
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import { u as E, a as R } from "./plugins-DQVoaMd9.js";
|
|
6
6
|
const T = {
|
package/dist/punkt-vue-icon.js
CHANGED
package/dist/punkt-vue-index.js
CHANGED
|
@@ -40,12 +40,12 @@ import A from "./punkt-vue-textinput.js";
|
|
|
40
40
|
import { PktTextinput as zo } from "./punkt-vue-textinput.js";
|
|
41
41
|
import { u as C, r as I } from "./plugins-DQVoaMd9.js";
|
|
42
42
|
import { PktStep as qo, PktStepper as Eo } from "./punkt-vue-stepper.js";
|
|
43
|
-
import { P as Jo } from "./Alert-
|
|
44
|
-
import { P as Qo } from "./Button-
|
|
45
|
-
import { P as Vo } from "./Helptext-
|
|
46
|
-
import { P as Yo } from "./Icon-
|
|
47
|
-
import { P as or } from "./InputWrapper-
|
|
48
|
-
import { T as tr } from "./Tag-
|
|
43
|
+
import { P as Jo } from "./Alert-DHRKJRVL.js";
|
|
44
|
+
import { P as Qo } from "./Button-Bm6X0lD8.js";
|
|
45
|
+
import { P as Vo } from "./Helptext-BoMRhm0N.js";
|
|
46
|
+
import { P as Yo } from "./Icon-Z84h32lN.js";
|
|
47
|
+
import { P as or } from "./InputWrapper-D2jCo3f8.js";
|
|
48
|
+
import { T as tr } from "./Tag-CK-y1m3h.js";
|
|
49
49
|
const t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
50
50
|
__proto__: null,
|
|
51
51
|
Accordion: r,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as l } from "./Icon-
|
|
2
|
-
import { resolveComponent as o,
|
|
1
|
+
import { P as l } from "./Icon-Z84h32lN.js";
|
|
2
|
+
import { resolveComponent as o, createElementBlock as i, openBlock as s, normalizeClass as n, createVNode as c, createElementVNode as a, toDisplayString as d, renderSlot as k } from "vue";
|
|
3
3
|
import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { u as m, a as p } from "./plugins-DQVoaMd9.js";
|
|
5
5
|
const u = {
|
|
@@ -40,7 +40,7 @@ const u = {
|
|
|
40
40
|
}, _ = ["href", "target", "rel"], g = { class: "pkt-linkcard__text" };
|
|
41
41
|
function y(t, N, e, P, x, I) {
|
|
42
42
|
const r = o("PktIcon");
|
|
43
|
-
return
|
|
43
|
+
return s(), i("a", {
|
|
44
44
|
href: e.href,
|
|
45
45
|
class: n(["pkt-linkcard pkt-link", e.skin ? `pkt-linkcard--${this.skin}` : "normal"]),
|
|
46
46
|
target: e.openInNewTab ? "_blank" : "_self",
|
package/dist/punkt-vue-loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toRefs as u, ref as m,
|
|
2
|
-
import { P as y } from "./Icon-
|
|
1
|
+
import { toRefs as u, ref as m, createElementBlock as t, openBlock as l, normalizeClass as n, renderSlot as c, Fragment as p, createCommentVNode as r, unref as g, createVNode as f, toDisplayString as k } from "vue";
|
|
2
|
+
import { P as y } from "./Icon-Z84h32lN.js";
|
|
3
3
|
import { u as v, a as b } from "./plugins-DQVoaMd9.js";
|
|
4
4
|
const h = ["aria-busy"], L = { key: 0 }, S = {
|
|
5
5
|
__name: "Loader",
|
|
@@ -33,27 +33,27 @@ const h = ["aria-busy"], L = { key: 0 }, S = {
|
|
|
33
33
|
let i = m(!(s.value > 0));
|
|
34
34
|
return s.value > 0 && setTimeout(() => {
|
|
35
35
|
i.value = !0;
|
|
36
|
-
}, s.value), (a, P) => (
|
|
36
|
+
}, s.value), (a, P) => (l(), t("div", {
|
|
37
37
|
role: "status",
|
|
38
38
|
"aria-live": "polite",
|
|
39
39
|
"aria-busy": e.isLoading,
|
|
40
40
|
class: n(`pkt-loader--${e.inline ? "inline" : "box"}`)
|
|
41
41
|
}, [
|
|
42
|
-
e.isLoading ? (
|
|
43
|
-
|
|
42
|
+
e.isLoading ? (l(), t(p, { key: 0 }, [
|
|
43
|
+
g(i) ? (l(), t("div", {
|
|
44
44
|
key: 0,
|
|
45
45
|
class: n(`pkt-loader pkt-loader--${o.size}`),
|
|
46
46
|
"data-testid": "pkt-loader"
|
|
47
47
|
}, [
|
|
48
|
-
|
|
48
|
+
f(y, {
|
|
49
49
|
name: d(e.variant),
|
|
50
50
|
"aria-label": "loading",
|
|
51
51
|
path: "https://punkt-cdn.oslo.kommune.no/12.32/animations/",
|
|
52
52
|
class: n(`pkt-loader__svg pkt-loader__${e.variant}`)
|
|
53
53
|
}, null, 8, ["name", "class"]),
|
|
54
|
-
e.message ? (
|
|
54
|
+
e.message ? (l(), t("p", L, k(e.message), 1)) : r("", !0)
|
|
55
55
|
], 2)) : r("", !0)
|
|
56
|
-
], 64)) :
|
|
56
|
+
], 64)) : c(a.$slots, "default", { key: 1 })
|
|
57
57
|
], 10, h));
|
|
58
58
|
}
|
|
59
59
|
}, B = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@oslokommune/punkt-elements/dist/pkt-messagebox";
|
|
2
|
-
import {
|
|
2
|
+
import { createElementBlock as o, openBlock as a, renderSlot as s } from "vue";
|
|
3
3
|
import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { u as n, a as c } from "./plugins-DQVoaMd9.js";
|
|
5
5
|
const i = {
|
|
@@ -27,7 +27,7 @@ const i = {
|
|
|
27
27
|
}
|
|
28
28
|
}, r = ["skin", "title", "compact", "closable"];
|
|
29
29
|
function m(e, u, t, d, b, g) {
|
|
30
|
-
return
|
|
30
|
+
return a(), o("pkt-messagebox", {
|
|
31
31
|
skin: t.skin,
|
|
32
32
|
title: t.title,
|
|
33
33
|
compact: t.compact,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),v=require("./plugins-CMydO4oi.cjs");var l=[];for(var o=0;o<256;++o)l.push((o+256).toString(16).slice(1));function M(e,t=0){return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}var u,P=new Uint8Array(16);function U(){if(!u&&(u=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!u))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return u(P)}var V=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const p={randomUUID:V};function N(e,t,n){if(p.randomUUID&&!
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),v=require("./plugins-CMydO4oi.cjs");var l=[];for(var o=0;o<256;++o)l.push((o+256).toString(16).slice(1));function M(e,t=0){return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}var u,P=new Uint8Array(16);function U(){if(!u&&(u=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!u))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return u(P)}var V=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const p={randomUUID:V};function N(e,t,n){if(p.randomUUID&&!e)return p.randomUUID();e=e||{};var r=e.random||(e.rng||U)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,M(r)}const B=["id"],R=["id"],T=["role","aria-valuemin","aria-valuemax","aria-valuenow","aria-labelledby","aria-label","aria-valuetext"],m={__name:"Progressbar",props:{valueCurrent:{type:Number,required:!0},valueMax:{type:Number,default:100},valueMin:{type:Number,default:0},skin:{type:String,default:"dark-blue",validator:e=>["dark-blue","light-blue","green","red"].includes(e)},title:{type:String},titlePosition:{type:String,default:"left",validator:e=>["left","center"].includes(e)},statusType:{type:String,default:"none",validator:e=>["none","percentage","fraction"].includes(e)},statusPlacement:{type:String,default:"following",validator:e=>["center","left","following"].includes(e)},id:{type:String},ariaLabel:{type:String},ariaLabelledby:{type:String},ariaValueText:{type:String},role:{type:String,default:"progressbar",validator:e=>["progressbar","meter"].includes(e)},className:{type:String}},setup(e){const t=e,n=a.ref(null),r=a.ref(0);a.onMounted(()=>{n.value&&(r.value=n.value.getBoundingClientRect().width)}),a.watch(()=>t.valueCurrent,(c,d)=>{c!==d&&n.value&&(r.value=n.value.getBoundingClientRect().width)});const b=a.computed(()=>t.valueMax-t.valueMin),y=a.computed(()=>t.valueCurrent/b.value*100),i=a.computed(()=>t.valueMax!==100||t.valueMin!==0?Math.round(y.value):t.valueCurrent),k=a.computed(()=>`${t.valueCurrent} av ${t.valueMax}`),S=a.computed(()=>t.statusType!=="none"&&t.role==="progressbar"),s=a.computed(()=>t.id||N()),C=a.computed(()=>t.ariaLabelledby||t.title&&`${s.value}-title`),x=a.computed(()=>`pkt-progressbar__bar pkt-progressbar__bar--${t.skin}`),f=a.computed(()=>({"pkt-progressbar__title":!0,"pkt-progressbar__title-center":t.titlePosition==="center"})),h=a.computed(()=>({"pkt-progressbar__status":!0,"pkt-progressbar__status--center":t.statusPlacement==="center"})),_=a.computed(()=>({"pkt-progressbar__status-placement--following":t.statusPlacement==="following","pkt-progressbar__status-placement--center":t.statusPlacement==="center","pkt-progressbar__status-placement--left":t.statusPlacement==="left"})),w=a.computed(()=>({"--pkt-progress-label-width":`${r.value}px`,"--pkt-progress-width":`${i.value}%`}));return(c,d)=>(a.openBlock(),a.createElementBlock("div",{id:s.value,class:a.normalizeClass(["pkt-progressbar__container",e.className]),style:a.normalizeStyle(w.value)},[e.title?(a.openBlock(),a.createElementBlock("p",{key:0,id:`${s.value}-title`,class:a.normalizeClass(f.value)},a.toDisplayString(e.title),11,R)):a.createCommentVNode("",!0),a.createElementVNode("div",{role:e.role,class:"pkt-progressbar__bar-wrapper","aria-valuemin":e.valueMin,"aria-valuemax":e.valueMax,"aria-valuenow":e.valueCurrent,"aria-labelledby":C.value,"aria-label":e.ariaLabel,"aria-valuetext":e.ariaValueText},[a.createElementVNode("div",{class:a.normalizeClass(x.value)},null,2)],8,T),S.value?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(h.value)},[a.createElementVNode("span",{class:a.normalizeClass(_.value),ref_key:"labelRef",ref:n},a.toDisplayString(e.statusType==="percentage"?`${i.value}%`:k.value),3)],2)):a.createCommentVNode("",!0)],14,B))}},g={install(e){v.registerComponent(e,m)}};v.use(g);exports.PktProgressbar=m;exports.default=g;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as m, onMounted as V, watch as $, computed as r,
|
|
1
|
+
import { ref as m, onMounted as V, watch as $, computed as r, createElementBlock as o, openBlock as c, normalizeStyle as N, normalizeClass as s, createCommentVNode as y, createElementVNode as d, toDisplayString as k } from "vue";
|
|
2
2
|
import { u as T, a as D } from "./plugins-DQVoaMd9.js";
|
|
3
3
|
var a = [];
|
|
4
4
|
for (var p = 0; p < 256; ++p)
|
|
@@ -17,7 +17,7 @@ const x = {
|
|
|
17
17
|
randomUUID: E
|
|
18
18
|
};
|
|
19
19
|
function z(e, t, n) {
|
|
20
|
-
if (x.randomUUID && !
|
|
20
|
+
if (x.randomUUID && !e)
|
|
21
21
|
return x.randomUUID();
|
|
22
22
|
e = e || {};
|
|
23
23
|
var l = e.random || (e.rng || B)();
|
|
@@ -108,16 +108,16 @@ const A = ["id"], j = ["id"], q = ["role", "aria-valuemin", "aria-valuemax", "ar
|
|
|
108
108
|
"--pkt-progress-label-width": `${l.value}px`,
|
|
109
109
|
"--pkt-progress-width": `${v.value}%`
|
|
110
110
|
}));
|
|
111
|
-
return (g, b) => (
|
|
111
|
+
return (g, b) => (c(), o("div", {
|
|
112
112
|
id: i.value,
|
|
113
113
|
class: s(["pkt-progressbar__container", e.className]),
|
|
114
114
|
style: N(R.value)
|
|
115
115
|
}, [
|
|
116
|
-
e.title ? (
|
|
116
|
+
e.title ? (c(), o("p", {
|
|
117
117
|
key: 0,
|
|
118
118
|
id: `${i.value}-title`,
|
|
119
119
|
class: s(P.value)
|
|
120
|
-
},
|
|
120
|
+
}, k(e.title), 11, j)) : y("", !0),
|
|
121
121
|
d("div", {
|
|
122
122
|
role: e.role,
|
|
123
123
|
class: "pkt-progressbar__bar-wrapper",
|
|
@@ -132,7 +132,7 @@ const A = ["id"], j = ["id"], q = ["role", "aria-valuemin", "aria-valuemax", "ar
|
|
|
132
132
|
class: s(_.value)
|
|
133
133
|
}, null, 2)
|
|
134
134
|
], 8, q),
|
|
135
|
-
w.value ? (
|
|
135
|
+
w.value ? (c(), o("div", {
|
|
136
136
|
key: 1,
|
|
137
137
|
class: s(M.value)
|
|
138
138
|
}, [
|
|
@@ -140,8 +140,8 @@ const A = ["id"], j = ["id"], q = ["role", "aria-valuemin", "aria-valuemax", "ar
|
|
|
140
140
|
class: s(U.value),
|
|
141
141
|
ref_key: "labelRef",
|
|
142
142
|
ref: n
|
|
143
|
-
},
|
|
144
|
-
], 2)) :
|
|
143
|
+
}, k(e.statusType === "percentage" ? `${v.value}%` : h.value), 3)
|
|
144
|
+
], 2)) : y("", !0)
|
|
145
145
|
], 14, A));
|
|
146
146
|
}
|
|
147
147
|
}, O = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as r, openBlock as d, createElementVNode as l, normalizeClass as c, withDirectives as o, mergeProps as s, vModelRadio as h, createTextVNode as p, createCommentVNode as m, toDisplayString as u } from "vue";
|
|
2
2
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
import { u as _, a as f } from "./plugins-DQVoaMd9.js";
|
|
4
4
|
const b = {
|
|
@@ -64,7 +64,7 @@ const b = {
|
|
|
64
64
|
class: "pkt-input-check__input-helptext"
|
|
65
65
|
};
|
|
66
66
|
function x(t, i, e, S, B, a) {
|
|
67
|
-
return
|
|
67
|
+
return d(), r("div", g, [
|
|
68
68
|
l("div", {
|
|
69
69
|
class: c([{ "pkt-input-check__input--tile": e.hasTile }, "pkt-input-check__input"])
|
|
70
70
|
}, [
|
|
@@ -86,7 +86,7 @@ function x(t, i, e, S, B, a) {
|
|
|
86
86
|
for: e.id
|
|
87
87
|
}, [
|
|
88
88
|
p(u(e.label) + " ", 1),
|
|
89
|
-
e.checkHelptext ? (
|
|
89
|
+
e.checkHelptext ? (d(), r("div", q, u(e.checkHelptext), 1)) : m("", !0)
|
|
90
90
|
], 8, y)
|
|
91
91
|
], 2)
|
|
92
92
|
]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as v } from "./Button-
|
|
2
|
-
import { P as S } from "./Icon-
|
|
3
|
-
import { resolveComponent as C,
|
|
1
|
+
import { P as v } from "./Button-Bm6X0lD8.js";
|
|
2
|
+
import { P as S } from "./Icon-Z84h32lN.js";
|
|
3
|
+
import { resolveComponent as C, createBlock as c, openBlock as n, resolveDynamicComponent as m, normalizeClass as o, withCtx as r, createElementBlock as i, createCommentVNode as d, createElementVNode as p, Fragment as y, createTextVNode as g, toDisplayString as u, createVNode as V, mergeProps as w, withKeys as f, withModifiers as k, renderList as P } from "vue";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import { u as q, a as I } from "./plugins-DQVoaMd9.js";
|
|
6
6
|
const K = {
|
|
@@ -90,13 +90,13 @@ function A(a, l, e, M, T, h) {
|
|
|
90
90
|
class: o({ "pkt-inputwrapper__label": e.label })
|
|
91
91
|
}, {
|
|
92
92
|
default: r(() => [
|
|
93
|
-
e.label ? (n(), i(
|
|
94
|
-
|
|
95
|
-
], 64)) :
|
|
96
|
-
|
|
93
|
+
e.label ? (n(), i(y, { key: 0 }, [
|
|
94
|
+
g(u(e.label), 1)
|
|
95
|
+
], 64)) : d("", !0),
|
|
96
|
+
p("div", {
|
|
97
97
|
class: o(e.appearance === "local" ? "pkt-input__container" : "pkt-searchinput__field")
|
|
98
98
|
}, [
|
|
99
|
-
|
|
99
|
+
p("input", w(a.$attrs, {
|
|
100
100
|
onInput: l[0] || (l[0] = (t) => a.$emit("update:modelValue", t.target.value)),
|
|
101
101
|
class: { "pkt-input": !0, "pkt-input--fullwidth": e.fullwidth },
|
|
102
102
|
type: "search",
|
|
@@ -110,7 +110,7 @@ function A(a, l, e, M, T, h) {
|
|
|
110
110
|
"aria-autocomplete": "list",
|
|
111
111
|
"aria-controls": `${e.id}-suggestions`
|
|
112
112
|
}), null, 16, N),
|
|
113
|
-
|
|
113
|
+
V(b, {
|
|
114
114
|
class: o({ "pkt-searchinput__button": !0, "pkt-input-icon": e.appearance === "local" }),
|
|
115
115
|
variant: "icon-only",
|
|
116
116
|
iconName: "magnifying-glass-big",
|
|
@@ -122,7 +122,7 @@ function A(a, l, e, M, T, h) {
|
|
|
122
122
|
onKeypress: l[3] || (l[3] = f(k((t) => a.$emit("onSearch", e.modelValue), ["prevent"]), ["enter"]))
|
|
123
123
|
}, {
|
|
124
124
|
default: r(() => [
|
|
125
|
-
|
|
125
|
+
g(u(e.label || e.placeholder), 1)
|
|
126
126
|
]),
|
|
127
127
|
_: 1
|
|
128
128
|
}, 8, ["class", "skin", "color", "disabled"])
|
|
@@ -136,7 +136,7 @@ function A(a, l, e, M, T, h) {
|
|
|
136
136
|
class: "pkt-searchinput__suggestions",
|
|
137
137
|
"aria-live": "assertive"
|
|
138
138
|
}, [
|
|
139
|
-
(n(!0), i(
|
|
139
|
+
(n(!0), i(y, null, P(e.suggestions, (t, s) => (n(), i("li", {
|
|
140
140
|
key: `search-suggestion-${s}`
|
|
141
141
|
}, [
|
|
142
142
|
(n(), c(m(t.href ? "a" : t.onClick ? "button" : "div"), {
|
|
@@ -151,13 +151,13 @@ function A(a, l, e, M, T, h) {
|
|
|
151
151
|
onKeypress: f((_) => h.handleSuggestionClick(t.onClick, s), ["enter"])
|
|
152
152
|
}, {
|
|
153
153
|
default: r(() => [
|
|
154
|
-
t.title ? (n(), i("h3", E,
|
|
155
|
-
t.text ? (n(), i("p", z,
|
|
154
|
+
t.title ? (n(), i("h3", E, u(t.title), 1)) : d("", !0),
|
|
155
|
+
t.text ? (n(), i("p", z, u(t.text), 1)) : d("", !0)
|
|
156
156
|
]),
|
|
157
157
|
_: 2
|
|
158
158
|
}, 1064, ["href", "class", "type", "onClick", "onKeypress"]))
|
|
159
159
|
]))), 128))
|
|
160
|
-
], 8, D)) :
|
|
160
|
+
], 8, D)) : d("", !0)
|
|
161
161
|
]),
|
|
162
162
|
_: 1
|
|
163
163
|
}, 40, ["class", "action", "method"]);
|
package/dist/punkt-vue-select.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as d } from "./Icon-
|
|
2
|
-
import { P as o } from "./Alert-
|
|
3
|
-
import { P as n } from "./Button-
|
|
4
|
-
import { P as s } from "./InputWrapper-
|
|
5
|
-
import { resolveComponent as u,
|
|
1
|
+
import { P as d } from "./Icon-Z84h32lN.js";
|
|
2
|
+
import { P as o } from "./Alert-DHRKJRVL.js";
|
|
3
|
+
import { P as n } from "./Button-Bm6X0lD8.js";
|
|
4
|
+
import { P as s } from "./InputWrapper-D2jCo3f8.js";
|
|
5
|
+
import { resolveComponent as u, createBlock as p, openBlock as f, normalizeClass as m, withCtx as g, createElementVNode as b, mergeProps as y, renderSlot as q } from "vue";
|
|
6
6
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import { u as x, a as c } from "./plugins-DQVoaMd9.js";
|
|
8
8
|
const T = {
|
|
@@ -100,7 +100,7 @@ const T = {
|
|
|
100
100
|
}, B = ["aria-invalid", "aria-errormessage", "aria-labelledby", "disabled", "id", "name", "value"];
|
|
101
101
|
function S(t, r, e, w, D, l) {
|
|
102
102
|
const i = u("PktInputWrapper");
|
|
103
|
-
return
|
|
103
|
+
return f(), p(i, {
|
|
104
104
|
class: m(["pkt-select", t.$attrs.class]),
|
|
105
105
|
forId: e.id,
|
|
106
106
|
label: e.label,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as g, a as c } from "./plugins-DQVoaMd9.js";
|
|
2
|
-
import { defineComponent as h, ref as w, computed as i, provide as d,
|
|
2
|
+
import { defineComponent as h, ref as w, computed as i, provide as d, createElementBlock as _, openBlock as f, normalizeClass as v, renderSlot as m, inject as u, createElementVNode as e, toDisplayString as C } from "vue";
|
|
3
3
|
const N = /* @__PURE__ */ h({
|
|
4
4
|
__name: "Stepper",
|
|
5
5
|
props: {
|
|
@@ -14,7 +14,7 @@ const N = /* @__PURE__ */ h({
|
|
|
14
14
|
"pkt-stepper",
|
|
15
15
|
t.orientation === "horizontal" ? "pkt-stepper--horizontal" : "pkt-stepper--vertical"
|
|
16
16
|
].filter(Boolean).join(" "));
|
|
17
|
-
return d("hideNonActiveStepsContent", t.hideNonActiveStepsContent), d("hideNonActiveSteps", t.hideNonActiveSteps), (o, r) => (
|
|
17
|
+
return d("hideNonActiveStepsContent", t.hideNonActiveStepsContent), d("hideNonActiveSteps", t.hideNonActiveSteps), (o, r) => (f(), _("ol", {
|
|
18
18
|
class: v(p.value),
|
|
19
19
|
ref_key: "stepperRef",
|
|
20
20
|
ref: l
|
|
@@ -46,7 +46,7 @@ const N = /* @__PURE__ */ h({
|
|
|
46
46
|
return H;
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
return (a, n) => (
|
|
49
|
+
return (a, n) => (f(), _("li", {
|
|
50
50
|
class: v(S.value),
|
|
51
51
|
"data-testid": "pkt-step"
|
|
52
52
|
}, [
|
package/dist/punkt-vue-table.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, watchEffect as _, computed as c,
|
|
1
|
+
import { defineComponent as o, watchEffect as _, computed as c, createElementBlock as r, openBlock as n, normalizeClass as p, renderSlot as b } from "vue";
|
|
2
2
|
import { u as d, a as t } from "./plugins-DQVoaMd9.js";
|
|
3
3
|
const m = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Table",
|
|
@@ -23,7 +23,7 @@ const m = /* @__PURE__ */ o({
|
|
|
23
23
|
},
|
|
24
24
|
a.className
|
|
25
25
|
]);
|
|
26
|
-
return (s, u) => (
|
|
26
|
+
return (s, u) => (n(), r("table", {
|
|
27
27
|
class: p(l.value),
|
|
28
28
|
role: "table"
|
|
29
29
|
}, [
|
|
@@ -37,7 +37,7 @@ const m = /* @__PURE__ */ o({
|
|
|
37
37
|
},
|
|
38
38
|
setup(e) {
|
|
39
39
|
const a = e, l = c(() => [a.className, "pkt-table__header"]);
|
|
40
|
-
return (s, u) => (
|
|
40
|
+
return (s, u) => (n(), r("thead", {
|
|
41
41
|
class: p(l.value),
|
|
42
42
|
role: "rowgroup"
|
|
43
43
|
}, [
|
|
@@ -52,7 +52,7 @@ const m = /* @__PURE__ */ o({
|
|
|
52
52
|
},
|
|
53
53
|
setup(e) {
|
|
54
54
|
const a = e, l = c(() => [a.className, "pkt-table__header-cell"]);
|
|
55
|
-
return (s, u) => (
|
|
55
|
+
return (s, u) => (n(), r("th", {
|
|
56
56
|
class: p(l.value),
|
|
57
57
|
scope: s.scope,
|
|
58
58
|
role: "columnheader"
|
|
@@ -67,7 +67,7 @@ const m = /* @__PURE__ */ o({
|
|
|
67
67
|
},
|
|
68
68
|
setup(e) {
|
|
69
69
|
const a = e, l = c(() => [a.className, "pkt-table__row"]);
|
|
70
|
-
return (s, u) => (
|
|
70
|
+
return (s, u) => (n(), r("tr", {
|
|
71
71
|
class: p(l.value),
|
|
72
72
|
role: "row"
|
|
73
73
|
}, [
|
|
@@ -82,7 +82,7 @@ const m = /* @__PURE__ */ o({
|
|
|
82
82
|
},
|
|
83
83
|
setup(e) {
|
|
84
84
|
const a = e, l = c(() => [a.className, "pkt-table__data-cell"]);
|
|
85
|
-
return (s, u) => (
|
|
85
|
+
return (s, u) => (n(), r("td", {
|
|
86
86
|
class: p(l.value),
|
|
87
87
|
"data-label": s.dataLabel,
|
|
88
88
|
role: "cell"
|
|
@@ -97,7 +97,7 @@ const m = /* @__PURE__ */ o({
|
|
|
97
97
|
},
|
|
98
98
|
setup(e) {
|
|
99
99
|
const a = e, l = c(() => [a.className, "pkt-table__body"]);
|
|
100
|
-
return (s, u) => (
|
|
100
|
+
return (s, u) => (n(), r("tbody", {
|
|
101
101
|
class: p(l.value),
|
|
102
102
|
role: "rowgroup"
|
|
103
103
|
}, [
|
package/dist/punkt-vue-tabs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as p,
|
|
2
|
-
import { T as _ } from "./Tag-
|
|
3
|
-
import { P as C } from "./Icon-
|
|
1
|
+
import { ref as p, createElementBlock as k, openBlock as s, createElementVNode as v, Fragment as g, renderList as w, createBlock as f, resolveDynamicComponent as T, normalizeClass as N, withCtx as d, createCommentVNode as m, createTextVNode as y, toDisplayString as b } from "vue";
|
|
2
|
+
import { T as _ } from "./Tag-CK-y1m3h.js";
|
|
3
|
+
import { P as C } from "./Icon-Z84h32lN.js";
|
|
4
4
|
import { u as P, a as A } from "./plugins-DQVoaMd9.js";
|
|
5
5
|
const B = { class: "pkt-tabs" }, S = ["role"], j = {
|
|
6
6
|
__name: "Tabs",
|
package/dist/punkt-vue-tag.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as d } from "./Icon-
|
|
2
|
-
import { P as u } from "./Alert-
|
|
3
|
-
import { P as s } from "./Button-
|
|
4
|
-
import { P as f } from "./InputWrapper-
|
|
5
|
-
import { resolveComponent as g,
|
|
1
|
+
import { P as d } from "./Icon-Z84h32lN.js";
|
|
2
|
+
import { P as u } from "./Alert-DHRKJRVL.js";
|
|
3
|
+
import { P as s } from "./Button-Bm6X0lD8.js";
|
|
4
|
+
import { P as f } from "./InputWrapper-D2jCo3f8.js";
|
|
5
|
+
import { resolveComponent as g, createBlock as p, openBlock as m, normalizeClass as h, withCtx as c, createElementVNode as x, mergeProps as y } from "vue";
|
|
6
6
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import { u as q, a as T } from "./plugins-DQVoaMd9.js";
|
|
8
8
|
const B = {
|
|
@@ -117,7 +117,7 @@ const B = {
|
|
|
117
117
|
function k(t, r, e, D, M, i) {
|
|
118
118
|
var l;
|
|
119
119
|
const n = g("PktInputWrapper");
|
|
120
|
-
return
|
|
120
|
+
return m(), p(n, {
|
|
121
121
|
class: h(["pkt-textarea", t.$attrs.class]),
|
|
122
122
|
forId: e.id,
|
|
123
123
|
label: e.label,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as g } from "./Icon-
|
|
2
|
-
import { P as m } from "./Alert-
|
|
3
|
-
import { P as h } from "./InputWrapper-
|
|
4
|
-
import { resolveComponent as d,
|
|
1
|
+
import { P as g } from "./Icon-Z84h32lN.js";
|
|
2
|
+
import { P as m } from "./Alert-DHRKJRVL.js";
|
|
3
|
+
import { P as h } from "./InputWrapper-D2jCo3f8.js";
|
|
4
|
+
import { resolveComponent as d, createBlock as i, openBlock as r, normalizeClass as y, withCtx as x, createElementVNode as s, createElementBlock as c, createCommentVNode as o, toDisplayString as f, mergeProps as b, createTextVNode as q } from "vue";
|
|
5
5
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
import { u as S, a as T } from "./plugins-DQVoaMd9.js";
|
|
7
7
|
const B = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-vue",
|
|
3
|
-
"version": "12.32.
|
|
3
|
+
"version": "12.32.7",
|
|
4
4
|
"description": "Vue komponentbibliotek til Punkt, et designsystem laget av Oslo Origo",
|
|
5
5
|
"homepage": "https://punkt.oslo.kommune.no",
|
|
6
6
|
"author": "Team Designsystem, Oslo Origo",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@oslokommune/punkt-assets": "^12.30.1",
|
|
30
|
-
"@oslokommune/punkt-css": "^12.32.
|
|
31
|
-
"@oslokommune/punkt-elements": "^12.32.
|
|
30
|
+
"@oslokommune/punkt-css": "^12.32.1",
|
|
31
|
+
"@oslokommune/punkt-elements": "^12.32.7",
|
|
32
32
|
"@vitejs/plugin-vue": "^5.1.3",
|
|
33
33
|
"edit-json-file": "^1.8.0",
|
|
34
34
|
"sass": "^1.78.0",
|
|
35
|
-
"vite": "^5.4.
|
|
35
|
+
"vite": "^5.4.18",
|
|
36
36
|
"vue": "^3.5.4",
|
|
37
37
|
"vue-router": "^4.4.4"
|
|
38
38
|
},
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"url": "https://github.com/oslokommune/punkt/issues"
|
|
68
68
|
},
|
|
69
69
|
"license": "MIT",
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "001ce7fd764b33b5f4c7d90ad5418a62a4d780a6"
|
|
71
71
|
}
|