nve-designsystem 3.1.0 → 3.3.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/chunks/chunk.2PCBEMQZ.js +163 -226
- package/chunks/chunk.36O46B5H.js +15 -15
- package/chunks/chunk.4TUIT776.js +78 -96
- package/chunks/chunk.5JY5FUCG.js +965 -1245
- package/chunks/chunk.5P45LHIX.js +668 -96
- package/chunks/chunk.6CTB5ZDJ.js +107 -100
- package/chunks/chunk.B4BZKR24.js +29 -39
- package/chunks/chunk.D5YQDJ7X.js +122 -166
- package/chunks/chunk.EA437WHD.js +5 -5
- package/chunks/chunk.GI7VDIWX.js +14 -15
- package/chunks/chunk.GMYPQTFK.js +18 -20
- package/chunks/chunk.HVTXQL7M.js +191 -215
- package/chunks/chunk.IKV4VH3T.js +18 -16
- package/chunks/chunk.IVVHNXMC.js +26 -27
- package/chunks/chunk.JHOXTQXA.js +65 -74
- package/chunks/chunk.JXOKFADN.js +63 -90
- package/chunks/chunk.K7JGTRV7.js +24 -23
- package/chunks/chunk.KPLQLAWP.js +132 -147
- package/chunks/chunk.LD4M4QGE.js +61 -74
- package/chunks/chunk.MSKEYBDI.js +53 -71
- package/chunks/chunk.NYIIDP5N.js +39 -45
- package/chunks/chunk.RWUUFNUL.js +91 -114
- package/chunks/chunk.SAPQLUO4.js +249 -228
- package/chunks/chunk.SI4ACBFK.js +139 -5
- package/chunks/chunk.TP2GB2HO.js +361 -460
- package/chunks/chunk.UDWRA64J.js +185 -223
- package/chunks/chunk.URTPIBTY.js +119 -151
- package/chunks/chunk.VESXC477.js +63 -66
- package/chunks/chunk.XA43ZQPC.js +198 -313
- package/chunks/chunk.XQ2OKYYA.js +25 -26
- package/chunks/chunk.XZNBUGX7.js +6 -6
- package/chunks/chunk.YHLNUJ7P.js +93 -116
- package/chunks/chunk.ZH2AND3P.js +340 -399
- package/chunks/chunk.ZL53POKZ.js +61 -156
- package/chunks/chunk.js +20 -0
- package/chunks/class-map.js +49 -45
- package/chunks/decorate.js +105 -0
- package/chunks/directive-helpers.js +5 -7
- package/chunks/if-defined.js +5 -5
- package/chunks/lit.js +525 -0
- package/chunks/live.js +24 -24
- package/chunks/nve-alert.component.js +163 -0
- package/chunks/nve-carousel-item.component.js +36 -0
- package/chunks/nve-carousel.component.js +41 -0
- package/chunks/nve-checkbox-group.component.js +114 -0
- package/chunks/nve-checkbox.component.js +28 -0
- package/chunks/nve-dialog.component.js +39 -0
- package/chunks/nve-divider.component.js +23 -0
- package/chunks/nve-drawer.component.js +40 -0
- package/chunks/nve-dropdown.component.js +83 -0
- package/chunks/nve-input.component.js +80 -0
- package/chunks/nve-label.component.js +89 -0
- package/chunks/nve-menu-item.component.js +35 -0
- package/chunks/nve-menu.component.js +17 -0
- package/chunks/nve-option.component.js +27 -0
- package/chunks/nve-popup.component.js +15 -0
- package/chunks/nve-radio-button.component.js +20 -0
- package/chunks/nve-radio-group.component.js +78 -0
- package/chunks/nve-radio.component.js +18 -0
- package/chunks/nve-select.component.js +58 -0
- package/chunks/nve-skeleton.component.js +20 -0
- package/chunks/nve-spinner.component.js +23 -0
- package/chunks/nve-tooltip.component.js +20 -0
- package/chunks/nve-warning-level.component.js +57 -0
- package/chunks/ref.js +75 -84
- package/chunks/shoelace.js +10006 -0
- package/chunks/static-html.js +27 -0
- package/chunks/unsafe-html.js +24 -20
- package/chunks/updateInvalidProperty.js +7 -7
- package/chunks/watch.js +20 -20
- package/components/nve-accordion/nve-accordion.component.js +24 -30
- package/components/nve-accordion-item/nve-accordion-item.component.js +30 -64
- package/components/nve-accordion-item/nve-accordion-item.styles.js +5 -5
- package/components/nve-alert/nve-alert.component.js +2 -227
- package/components/nve-alert/nve-alert.styles.js +45 -27
- package/components/nve-badge/nve-badge.component.js +41 -45
- package/components/nve-badge/nve-badge.styles.js +33 -31
- package/components/nve-button/nve-button.component.d.ts +110 -10
- package/components/nve-button/nve-button.component.js +146 -39
- package/components/nve-button/nve-button.styles.js +214 -157
- package/components/nve-carousel/nve-carousel.component.js +2 -47
- package/components/nve-carousel/nve-carousel.styles.js +6 -6
- package/components/nve-carousel-item/nve-carousel-item.component.js +2 -40
- package/components/nve-carousel-item/nve-carousel-item.styles.js +5 -5
- package/components/nve-carousel-thumbnail/nve-carousel-thumbnail.component.js +44 -54
- package/components/nve-carousel-thumbnail/nve-carousel-thumbnail.styles.js +5 -5
- package/components/nve-checkbox/nve-checkbox.component.js +2 -34
- package/components/nve-checkbox/nve-checkbox.styles.js +7 -7
- package/components/nve-checkbox-group/nve-checkbox-group.component.js +2 -152
- package/components/nve-checkbox-group/nve-checkbox-group.styles.js +5 -5
- package/components/nve-combobox/nve-combobox.component.js +222 -440
- package/components/nve-combobox/nve-combobox.styles.js +6 -6
- package/components/nve-darkmode-switch/nve-darkmode-switch.component.js +32 -38
- package/components/nve-dialog/nve-dialog-styles.js +6 -6
- package/components/nve-dialog/nve-dialog.component.js +2 -54
- package/components/nve-divider/nve-divider.component.js +2 -30
- package/components/nve-drawer/nve-drawer.component.js +2 -44
- package/components/nve-drawer/nve-drawer.styles.js +6 -6
- package/components/nve-dropdown/nve-dropdown.component.js +2 -79
- package/components/nve-dropdown/nve-dropdown.styles.js +5 -5
- package/components/nve-heading/nve-heading.component.d.ts +29 -0
- package/components/nve-heading/nve-heading.component.js +45 -0
- package/components/nve-heading/nve-heading.styles.d.ts +2 -0
- package/components/nve-heading/nve-heading.styles.js +41 -0
- package/components/nve-icon/nve-icon.component.js +145 -164
- package/components/nve-icon/nve-icon.styles.js +11 -6
- package/components/nve-icon/offline-icons.js +16 -13
- package/components/nve-input/nve-input.component.js +2 -100
- package/components/nve-input/nve-input.styles.js +5 -5
- package/components/nve-label/nve-label.component.js +2 -115
- package/components/nve-label/nve-label.styles.js +5 -5
- package/components/nve-link-card/nve-link-card.component.d.ts +5 -2
- package/components/nve-link-card/nve-link-card.component.js +44 -80
- package/components/nve-link-card/nve-link-card.styles.js +71 -66
- package/components/nve-menu/nve-menu.component.js +2 -22
- package/components/nve-menu/nve-menu.styles.js +5 -5
- package/components/nve-menu-item/nve-menu-item.component.js +2 -43
- package/components/nve-menu-item/nve-menu-item.styles.js +7 -7
- package/components/nve-message-card/nve-message-card.component.js +61 -91
- package/components/nve-message-card/nve-message-card.styles.js +24 -27
- package/components/nve-navigation-card/nve-navigation-card.component.d.ts +52 -0
- package/components/nve-navigation-card/nve-navigation-card.component.js +60 -0
- package/components/nve-navigation-card/nve-navigation-card.styles.d.ts +2 -0
- package/components/nve-navigation-card/nve-navigation-card.styles.js +112 -0
- package/components/nve-option/nve-option.component.js +2 -41
- package/components/nve-option/nve-option.styles.js +5 -5
- package/components/nve-paragraph/nve-paragraph.component.d.ts +26 -0
- package/components/nve-paragraph/nve-paragraph.component.js +26 -0
- package/components/nve-paragraph/nve-paragraph.styles.d.ts +2 -0
- package/components/nve-paragraph/nve-paragraph.styles.js +105 -0
- package/components/nve-popup/nve-popup.component.js +2 -22
- package/components/nve-radio/nve-radio.component.js +2 -23
- package/components/nve-radio/nve-radio.styles.js +5 -5
- package/components/nve-radio-button/nve-radio-button.component.js +2 -25
- package/components/nve-radio-button/nve-radio-button.styles.js +5 -5
- package/components/nve-radio-group/nve-radio-group.component.js +2 -119
- package/components/nve-radio-group/nve-radio-group.styles.js +5 -5
- package/components/nve-relative-time/nve-relative-time.component.js +21 -56
- package/components/nve-relative-time/nve-relative-time.styles.js +5 -5
- package/components/nve-select/nve-select.component.js +2 -80
- package/components/nve-select/nve-select.styles.js +6 -6
- package/components/nve-skeleton/nve-skeleton.component.js +2 -27
- package/components/nve-skeleton/nve-skeleton.styles.js +5 -5
- package/components/nve-spinner/nve-spinner.component.js +2 -31
- package/components/nve-stepper/nve-step/nve-step.component.js +113 -173
- package/components/nve-stepper/nve-step/nve-step.styles.js +12 -12
- package/components/nve-stepper/nve-stepper-mobile.component.js +37 -49
- package/components/nve-stepper/nve-stepper-mobile.styles.js +7 -7
- package/components/nve-stepper/nve-stepper.component.js +94 -139
- package/components/nve-stepper/nve-stepper.styles.js +5 -5
- package/components/nve-switch/nve-switch.component.js +75 -107
- package/components/nve-switch/nve-switch.styles.js +7 -7
- package/components/nve-tab/nve-tab.component.js +30 -42
- package/components/nve-tab/nve-tab.styles.js +7 -7
- package/components/nve-tab-group/nve-tab-group.component.js +180 -260
- package/components/nve-tab-group/nve-tab-group.styles.js +5 -5
- package/components/nve-tab-panel/nve-tab-panel.component.js +21 -31
- package/components/nve-tab-panel/nve-tab-panel.styles.js +5 -5
- package/components/nve-tag/nve-tag.component.d.ts +3 -3
- package/components/nve-tag/nve-tag.component.js +71 -72
- package/components/nve-tag/nve-tag.styles.js +23 -22
- package/components/nve-textarea/nve-textarea.component.d.ts +3 -1
- package/components/nve-textarea/nve-textarea.component.js +112 -173
- package/components/nve-textarea/nve-textarea.styles.js +10 -5
- package/components/nve-tooltip/nve-tooltip.component.js +2 -30
- package/components/nve-tooltip/nve-tooltip.styles.js +5 -5
- package/components/nve-warning-level/nve-warning-level.component.js +2 -78
- package/components/nve-warning-level/nve-warning-level.styles.js +7 -7
- package/css/global.css +13 -55
- package/css/nve.css +1048 -393
- package/css/nve_dark.css +406 -305
- package/css/rme.css +1050 -395
- package/css/rme_dark.css +408 -307
- package/css/shoelace-styles.css +539 -0
- package/css/varsom.css +1046 -391
- package/css/varsom_dark.css +404 -303
- package/custom-elements.json +2905 -12389
- package/fonts/LICENSE.txt +37 -0
- package/fonts/SourceSans3-VariableFont_wght.woff2 +0 -0
- package/interfaces/NveComponent.interface.js +0 -1
- package/nve-designsystem.d.ts +5 -0
- package/nve-designsystem.js +46 -86
- package/package.json +26 -8
- package/registerIcons/systemLibraryCustomization.js +23 -91
- package/vite-env.d.js +0 -1
- package/chunks/chunk.3RPBFEDE.js +0 -162
- package/chunks/chunk.JCXLDPQF.js +0 -225
- package/chunks/chunk.JQBT7BOV.js +0 -8446
- package/chunks/chunk.MAQXLKQ7.js +0 -598
- package/chunks/lit-element.js +0 -508
- package/chunks/property.js +0 -37
- package/chunks/query.js +0 -13
- package/chunks/state.js +0 -7
- package/chunks/static.js +0 -26
- package/nve-designsystem.css +0 -1
- package/vscode.css-custom-data.json +0 -621
- package/vscode.html-custom-data.json +0 -2354
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { u as e } from "../../chunks/lit.js";
|
|
2
|
+
//#region src/components/nve-paragraph/nve-paragraph.styles.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
.paragraph {
|
|
5
|
+
margin: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.leadLargeRegular {
|
|
9
|
+
font: var(--typography-lead-large-regular);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.leadLargeSemibold {
|
|
13
|
+
font: var(--typography-lead-large-semibold);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.leadMediumRegular {
|
|
17
|
+
font: var(--typography-lead-medium-regular);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.leadMediumSemibold {
|
|
21
|
+
font: var(--typography-lead-medium-semibold);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.leadSmallRegular {
|
|
25
|
+
font: var(--typography-lead-small-regular);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.leadSmallSemibold {
|
|
29
|
+
font: var(--typography-lead-small-semibold);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.bodyLarge {
|
|
33
|
+
font: var(--typography-body-large);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.bodyLargeUnderline {
|
|
37
|
+
font: var(--typography-body-large-underline);
|
|
38
|
+
text-decoration: underline;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.bodyMedium {
|
|
42
|
+
font: var(--typography-body-medium);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.bodyMediumUnderline {
|
|
46
|
+
font: var(--typography-body-medium-underline);
|
|
47
|
+
text-decoration: underline;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.bodySmall {
|
|
51
|
+
font: var(--typography-body-small);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.bodySmallUnderline {
|
|
55
|
+
font: var(--typography-body-small-underline);
|
|
56
|
+
text-decoration: underline;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.bodyXSmall {
|
|
60
|
+
font: var(--typography-body-x-small);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.bodyXSmallUnderline {
|
|
64
|
+
font: var(--typography-body-x-small-underline);
|
|
65
|
+
text-decoration: underline;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.bodyLargeCompact {
|
|
69
|
+
font: var(--typography-body-compact-large-compact);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.bodyLargeUnderlineCompact {
|
|
73
|
+
font: var(--typography-body-compact-large-underline-compact);
|
|
74
|
+
text-decoration: underline;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.bodyMediumCompact {
|
|
78
|
+
font: var(--typography-body-compact-medium-compact);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.bodyMediumUnderlineCompact {
|
|
82
|
+
font: var(--typography-body-compact-medium-underline-compact);
|
|
83
|
+
text-decoration: underline;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.bodySmallCompact {
|
|
87
|
+
font: var(--typography-body-compact-small-compact);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.bodySmallUnderlineCompact {
|
|
91
|
+
font: var(--typography-body-compact-small-underline-compact);
|
|
92
|
+
text-decoration: underline;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.bodyXSmallCompact {
|
|
96
|
+
font: var(--typography-body-compact-x-small-compact);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.bodyXSmallUnderlineCompact {
|
|
100
|
+
font: var(--typography-body-compact-x-small-underline-compact);
|
|
101
|
+
text-decoration: underline;
|
|
102
|
+
}
|
|
103
|
+
`;
|
|
104
|
+
//#endregion
|
|
105
|
+
export { t as default };
|
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
import { p as l } from "../../chunks/chunk.XZNBUGX7.js";
|
|
4
|
-
import "../../chunks/chunk.5JY5FUCG.js";
|
|
5
|
-
import "../../chunks/chunk.6CTB5ZDJ.js";
|
|
6
|
-
import "../../chunks/chunk.4TUIT776.js";
|
|
7
|
-
var v = Object.getOwnPropertyDescriptor, f = (t, e, a, o) => {
|
|
8
|
-
for (var r = o > 1 ? void 0 : o ? v(e, a) : e, p = t.length - 1, s; p >= 0; p--)
|
|
9
|
-
(s = t[p]) && (r = s(r) || r);
|
|
10
|
-
return r;
|
|
11
|
-
};
|
|
12
|
-
let u = class extends l {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
u = f([
|
|
18
|
-
m("nve-popup")
|
|
19
|
-
], u);
|
|
20
|
-
export {
|
|
21
|
-
u as default
|
|
22
|
-
};
|
|
1
|
+
import { t as e } from "../../chunks/nve-popup.component.js";
|
|
2
|
+
export { e as default };
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
import { r as l } from "../../chunks/chunk.MSKEYBDI.js";
|
|
4
|
-
import "../../chunks/chunk.YHLNUJ7P.js";
|
|
5
|
-
import "../../chunks/chunk.4TUIT776.js";
|
|
6
|
-
import f from "./nve-radio.styles.js";
|
|
7
|
-
var v = Object.getOwnPropertyDescriptor, n = (o, s, i, a) => {
|
|
8
|
-
for (var r = a > 1 ? void 0 : a ? v(s, i) : s, t = o.length - 1, p; t >= 0; t--)
|
|
9
|
-
(p = o[t]) && (r = p(r) || r);
|
|
10
|
-
return r;
|
|
11
|
-
};
|
|
12
|
-
let e = class extends l {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
e.styles = [l.styles, f];
|
|
18
|
-
e = n([
|
|
19
|
-
m("nve-radio")
|
|
20
|
-
], e);
|
|
21
|
-
export {
|
|
22
|
-
e as default
|
|
23
|
-
};
|
|
1
|
+
import { t as e } from "../../chunks/nve-radio.component.js";
|
|
2
|
+
export { e as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { u as e } from "../../chunks/lit.js";
|
|
2
|
+
//#region src/components/nve-radio/nve-radio.styles.ts
|
|
3
|
+
var t = e`
|
|
3
4
|
/* Vis hover effekt på control-delen */
|
|
4
5
|
:host(:hover)::part(control) {
|
|
5
6
|
color: var(--color-neutrals-foreground-subtle);
|
|
@@ -64,6 +65,5 @@ const a = r`
|
|
|
64
65
|
transform: scale(1.75);
|
|
65
66
|
}
|
|
66
67
|
`;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { t as default };
|
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import "../../chunks/chunk.MAQXLKQ7.js";
|
|
4
|
-
import "../../chunks/chunk.4TUIT776.js";
|
|
5
|
-
import m from "./nve-radio-button.styles.js";
|
|
6
|
-
var v = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, n = (l, r, s, e) => {
|
|
7
|
-
for (var t = e > 1 ? void 0 : e ? _(r, s) : r, p = l.length - 1, f; p >= 0; p--)
|
|
8
|
-
(f = l[p]) && (t = (e ? f(r, s, t) : f(t)) || t);
|
|
9
|
-
return e && t && v(r, s, t), t;
|
|
10
|
-
};
|
|
11
|
-
let o = class extends i {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(), this.testId = "";
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
o.styles = [i.styles, m];
|
|
17
|
-
n([
|
|
18
|
-
u({ reflect: !0, type: String })
|
|
19
|
-
], o.prototype, "testId", 2);
|
|
20
|
-
o = n([
|
|
21
|
-
a("nve-radio-button")
|
|
22
|
-
], o);
|
|
23
|
-
export {
|
|
24
|
-
o as default
|
|
25
|
-
};
|
|
1
|
+
import { t as e } from "../../chunks/nve-radio-button.component.js";
|
|
2
|
+
export { e as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { u as e } from "../../chunks/lit.js";
|
|
2
|
+
//#region src/components/nve-radio-button/nve-radio-button.styles.ts
|
|
3
|
+
var t = e`
|
|
3
4
|
:host {
|
|
4
5
|
--_active-color: var(--color-brand-background-primary);
|
|
5
6
|
--_active-text-color: var(--color-neutrals-background-primary);
|
|
@@ -42,6 +43,5 @@ const t = r`
|
|
|
42
43
|
border-bottom-right-radius: var(--_border-radius);
|
|
43
44
|
}
|
|
44
45
|
`;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
};
|
|
46
|
+
//#endregion
|
|
47
|
+
export { t as default };
|
|
@@ -1,119 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { r as c } from "../../chunks/chunk.2PCBEMQZ.js";
|
|
4
|
-
import "../../chunks/chunk.SI4ACBFK.js";
|
|
5
|
-
import "../../chunks/chunk.3RPBFEDE.js";
|
|
6
|
-
import "../../chunks/chunk.4TUIT776.js";
|
|
7
|
-
import p from "./nve-radio-group.styles.js";
|
|
8
|
-
import { w as m } from "../../chunks/watch.js";
|
|
9
|
-
import { t as h } from "../../chunks/updateInvalidProperty.js";
|
|
10
|
-
var b = Object.defineProperty, f = Object.getOwnPropertyDescriptor, r = (t, e, n, a) => {
|
|
11
|
-
for (var s = a > 1 ? void 0 : a ? f(e, n) : e, o = t.length - 1, l; o >= 0; o--)
|
|
12
|
-
(l = t[o]) && (s = (a ? l(e, n, s) : l(s)) || s);
|
|
13
|
-
return a && s && b(e, n, s), s;
|
|
14
|
-
};
|
|
15
|
-
let i = class extends c {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(), this.orientation = "vertical", this.disabled = !1, this.requiredLabel = "*Obligatorisk", this.testId = "", this.alreadyInvalid = !1, this.errorMessageCopy = "", this.preventInteraction = (t) => {
|
|
18
|
-
this.disabled && (t.stopImmediatePropagation(), t.preventDefault());
|
|
19
|
-
}, this.getAllRadios = function() {
|
|
20
|
-
return [
|
|
21
|
-
// @ts-expect-error - bruk av this i private metode
|
|
22
|
-
...this.querySelectorAll(
|
|
23
|
-
"sl-radio, sl-radio-button, nve-radio, nve-radio-button"
|
|
24
|
-
)
|
|
25
|
-
];
|
|
26
|
-
}, this.handleRadioClick = function(t) {
|
|
27
|
-
const e = t.target.closest("sl-radio, sl-radio-button, nve-radio, nve-radio-button"), n = this.getAllRadios(), a = this.value;
|
|
28
|
-
if (!e || e.disabled)
|
|
29
|
-
return;
|
|
30
|
-
const s = e.shadowRoot.querySelectorAll("span[part='base']");
|
|
31
|
-
s.length > 0 && s[0].focus(), this.value = e.value, n.forEach((o) => o.checked = o === e), this.value !== a && (this.emit("sl-change"), this.emit("sl-input"));
|
|
32
|
-
}, this.syncRadioElements = async () => {
|
|
33
|
-
const t = this.getAllRadios();
|
|
34
|
-
if (await Promise.all(
|
|
35
|
-
// Sync the checked state and size
|
|
36
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
37
|
-
t.map(async (e) => {
|
|
38
|
-
await e.updateComplete, e.checked = e.value === this.value, e.size = this.size;
|
|
39
|
-
})
|
|
40
|
-
), this.hasButtonGroup = t.some(
|
|
41
|
-
(e) => e.tagName.toLowerCase() === "sl-radio-button" || e.tagName.toLowerCase() === "nve-radio-button"
|
|
42
|
-
), !t.some((e) => e.checked))
|
|
43
|
-
if (this.hasButtonGroup) {
|
|
44
|
-
const e = t[0].shadowRoot?.querySelector("button");
|
|
45
|
-
e && (e.tabIndex = 0);
|
|
46
|
-
} else
|
|
47
|
-
t[0].tabIndex = 0;
|
|
48
|
-
if (this.hasButtonGroup) {
|
|
49
|
-
const e = this.shadowRoot?.querySelector("sl-button-group") || this.shadowRoot?.querySelector("nve-button-group");
|
|
50
|
-
e && (e.disableRole = !0);
|
|
51
|
-
}
|
|
52
|
-
}, this.syncRadios = function() {
|
|
53
|
-
if (customElements.get("sl-radio") && customElements.get("sl-radio-button") || // lagt til nve-radio og nve-radio-button
|
|
54
|
-
customElements.get("nve-radio") && customElements.get("nve-radio-button")) {
|
|
55
|
-
this.syncRadioElements();
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
customElements.get("sl-radio") || customElements.get("nve-radio") ? this.syncRadioElements() : customElements.whenDefined("sl-radio").then(() => this.syncRadios()), customElements.get("sl-radio-button") || customElements.get("nve-radio-button") ? this.syncRadioElements() : (customElements.whenDefined("sl-radio-button").then(() => this.syncRadios()), customElements.whenDefined("nve-radio-button").then(() => this.syncRadios()));
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
connectedCallback() {
|
|
62
|
-
super.connectedCallback(), this.errorMessageCopy = this.errorMessage || "", this.addEventListener("click", this.preventInteraction, !0), this.addEventListener("keydown", this.preventInteraction, !0), this.addEventListener("focus", this.preventInteraction, !0), this.addEventListener("mousedown", this.preventInteraction, !0), this.addEventListener("sl-invalid", (t) => {
|
|
63
|
-
t.preventDefault(), this.alreadyInvalid || this.makeInvalid();
|
|
64
|
-
}), this.addEventListener("sl-change", this.resetValidation.bind(this));
|
|
65
|
-
}
|
|
66
|
-
disconnectedCallback() {
|
|
67
|
-
super.disconnectedCallback(), this.removeEventListener("click", this.preventInteraction, !0), this.removeEventListener("keydown", this.preventInteraction, !0), this.removeEventListener("focus", this.preventInteraction, !0), this.removeEventListener("mousedown", this.preventInteraction, !0), this.removeEventListener("sl-invalid", this.makeInvalid), this.removeEventListener("sl-change", this.resetValidation);
|
|
68
|
-
}
|
|
69
|
-
updated(t) {
|
|
70
|
-
super.updated(t), t.has("requiredLabel") && this.style.setProperty("--sl-input-required-content", `"${this.requiredLabel}"`), this.hasAttribute("data-user-invalid") && !this.alreadyInvalid && this.makeInvalid(), !this.hasAttribute("data-invalid") && !this.hasAttribute("data-user-invalid") && this.resetValidation();
|
|
71
|
-
}
|
|
72
|
-
handlePropChange(t, e) {
|
|
73
|
-
const n = this.getAllRadios();
|
|
74
|
-
e !== t && (n.forEach((s) => {
|
|
75
|
-
s.was_disabled === void 0 ? s.was_disabled = s.disabled : t === !0 ? (s.disabled = s.was_disabled, s.tabIndex = 0, s.removeAttribute("aria-disabled"), s.removeAttribute("data-disabled")) : (s.was_disabled = s.disabled, s.disabled = !0, s.tabIndex = -1, s.setAttribute("aria-disabled", "true"), s.setAttribute("data-disabled", "true"));
|
|
76
|
-
}), e ? (this.setAttribute("data-disabled", "true"), this.setAttribute("aria-disabled", "true"), this.tabIndex = -1, this.addEventListener("click", this.preventInteraction, !0), this.addEventListener("keydown", this.preventInteraction, !0), this.addEventListener("focus", this.preventInteraction, !0), this.addEventListener("mousedown", this.preventInteraction, !0)) : (this.removeAttribute("data-disabled"), this.removeAttribute("aria-disabled"), this.tabIndex = 0, this.removeEventListener("click", this.preventInteraction, !0), this.removeEventListener("keydown", this.preventInteraction, !0), this.removeEventListener("focus", this.preventInteraction, !0), this.removeEventListener("mousedown", this.preventInteraction, !0)));
|
|
77
|
-
}
|
|
78
|
-
makeInvalid() {
|
|
79
|
-
if (this.disabled) return;
|
|
80
|
-
const t = this.getAllRadios();
|
|
81
|
-
h(t, !0, "data-invalid"), this.errorMessageCopy || (this.errorMessageCopy = this.validationMessage), this.setCustomValidity(this.errorMessageCopy), this.style.setProperty("--radio-group-error-message", `"${this.errorMessageCopy}"`);
|
|
82
|
-
}
|
|
83
|
-
resetValidation() {
|
|
84
|
-
if (this.disabled) return;
|
|
85
|
-
const t = this.getAllRadios();
|
|
86
|
-
this.errorMessageCopy = "", h(t, !1, "data-invalid"), this.setCustomValidity(""), this.style.removeProperty("--radio-group-error-message");
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
i.styles = [c.styles, p];
|
|
90
|
-
r([
|
|
91
|
-
d({ reflect: !0 })
|
|
92
|
-
], i.prototype, "orientation", 2);
|
|
93
|
-
r([
|
|
94
|
-
d({ type: Boolean, reflect: !0 })
|
|
95
|
-
], i.prototype, "disabled", 2);
|
|
96
|
-
r([
|
|
97
|
-
d({ reflect: !0 })
|
|
98
|
-
], i.prototype, "errorMessage", 2);
|
|
99
|
-
r([
|
|
100
|
-
d()
|
|
101
|
-
], i.prototype, "requiredLabel", 2);
|
|
102
|
-
r([
|
|
103
|
-
d({ reflect: !0, type: String })
|
|
104
|
-
], i.prototype, "testId", 2);
|
|
105
|
-
r([
|
|
106
|
-
u()
|
|
107
|
-
], i.prototype, "alreadyInvalid", 2);
|
|
108
|
-
r([
|
|
109
|
-
u()
|
|
110
|
-
], i.prototype, "errorMessageCopy", 2);
|
|
111
|
-
r([
|
|
112
|
-
m("disabled")
|
|
113
|
-
], i.prototype, "handlePropChange", 1);
|
|
114
|
-
i = r([
|
|
115
|
-
v("nve-radio-group")
|
|
116
|
-
], i);
|
|
117
|
-
export {
|
|
118
|
-
i as default
|
|
119
|
-
};
|
|
1
|
+
import { t as e } from "../../chunks/nve-radio-group.component.js";
|
|
2
|
+
export { e as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { u as e } from "../../chunks/lit.js";
|
|
2
|
+
//#region src/components/nve-radio-group/nve-radio-group.styles.ts
|
|
3
|
+
var t = e`
|
|
3
4
|
:host {
|
|
4
5
|
/* Overstyring av shoelace-token-verdier */
|
|
5
6
|
|
|
@@ -74,6 +75,5 @@ const t = r`
|
|
|
74
75
|
flex-direction: column;
|
|
75
76
|
}
|
|
76
77
|
`;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
};
|
|
78
|
+
//#endregion
|
|
79
|
+
export { t as default };
|
|
@@ -1,57 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import "
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
import "../../chunks/chunk.JXOKFADN.js";
|
|
13
|
-
import "../../chunks/chunk.XZNBUGX7.js";
|
|
14
|
-
import "../../chunks/chunk.XA43ZQPC.js";
|
|
15
|
-
import "../../chunks/chunk.JHOXTQXA.js";
|
|
16
|
-
import "../../chunks/chunk.HVTXQL7M.js";
|
|
17
|
-
import "../../chunks/lit-element.js";
|
|
18
|
-
import "../../chunks/chunk.IVVHNXMC.js";
|
|
19
|
-
import "../../chunks/chunk.SAPQLUO4.js";
|
|
20
|
-
import "../../chunks/chunk.UDWRA64J.js";
|
|
21
|
-
import "../../chunks/chunk.KPLQLAWP.js";
|
|
22
|
-
import "../../chunks/chunk.D5YQDJ7X.js";
|
|
23
|
-
import "../../chunks/chunk.SI4ACBFK.js";
|
|
24
|
-
import "../../chunks/chunk.5JY5FUCG.js";
|
|
25
|
-
import "../../chunks/chunk.ZH2AND3P.js";
|
|
26
|
-
import "../../chunks/chunk.IKV4VH3T.js";
|
|
27
|
-
import "../../chunks/chunk.JCXLDPQF.js";
|
|
28
|
-
import "../../chunks/chunk.36O46B5H.js";
|
|
29
|
-
import "../../chunks/chunk.MAQXLKQ7.js";
|
|
30
|
-
import "../../chunks/chunk.RWUUFNUL.js";
|
|
31
|
-
import "../../chunks/chunk.6CTB5ZDJ.js";
|
|
32
|
-
import "../../chunks/chunk.YHLNUJ7P.js";
|
|
33
|
-
import "../../chunks/chunk.4TUIT776.js";
|
|
34
|
-
var u = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, s = (l, o, i, p) => {
|
|
35
|
-
for (var t = p > 1 ? void 0 : p ? _(o, i) : o, e = l.length - 1, m; e >= 0; e--)
|
|
36
|
-
(m = l[e]) && (t = (p ? m(o, i, t) : m(t)) || t);
|
|
37
|
-
return p && t && u(o, i, t), t;
|
|
38
|
-
};
|
|
39
|
-
let r = class extends n {
|
|
40
|
-
/* (!) SlRelativeTime.styles finnes ikke, så trenger ikke arve derfra */
|
|
41
|
-
constructor() {
|
|
42
|
-
super(), this.testId = void 0, this.lang = "";
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
r.styles = [a];
|
|
46
|
-
s([
|
|
47
|
-
f({ reflect: !0, type: String })
|
|
48
|
-
], r.prototype, "testId", 2);
|
|
49
|
-
s([
|
|
50
|
-
f({ reflect: !0, type: String })
|
|
51
|
-
], r.prototype, "lang", 2);
|
|
52
|
-
r = s([
|
|
53
|
-
v("nve-relative-time")
|
|
54
|
-
], r);
|
|
55
|
-
export {
|
|
56
|
-
r as default
|
|
1
|
+
import { o as e, s as t, t as n } from "../../chunks/decorate.js";
|
|
2
|
+
import { n as r } from "../../chunks/shoelace.js";
|
|
3
|
+
import i from "./nve-relative-time.styles.js";
|
|
4
|
+
//#region src/components/nve-relative-time/nve-relative-time.component.ts
|
|
5
|
+
var a = class extends r {
|
|
6
|
+
static {
|
|
7
|
+
this.styles = [i];
|
|
8
|
+
}
|
|
9
|
+
constructor() {
|
|
10
|
+
super(), this.testId = void 0, this.lang = "";
|
|
11
|
+
}
|
|
57
12
|
};
|
|
13
|
+
n([e({
|
|
14
|
+
reflect: !0,
|
|
15
|
+
type: String
|
|
16
|
+
})], a.prototype, "testId", void 0), n([e({
|
|
17
|
+
reflect: !0,
|
|
18
|
+
type: String
|
|
19
|
+
})], a.prototype, "lang", void 0), a = n([t("nve-relative-time")], a);
|
|
20
|
+
var o = a;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { o as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
1
|
+
import { u as e } from "../../chunks/lit.js";
|
|
2
|
+
//#region src/components/nve-relative-time/nve-relative-time.styles.ts
|
|
3
|
+
var t = e``;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,80 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import "../../chunks/chunk.5JY5FUCG.js";
|
|
4
|
-
import "../../chunks/chunk.3RPBFEDE.js";
|
|
5
|
-
import "../../chunks/chunk.RWUUFNUL.js";
|
|
6
|
-
import "../../chunks/chunk.6CTB5ZDJ.js";
|
|
7
|
-
import "../../chunks/chunk.YHLNUJ7P.js";
|
|
8
|
-
import "../../chunks/chunk.4TUIT776.js";
|
|
9
|
-
import { n as p, t as h } from "../../chunks/property.js";
|
|
10
|
-
import { r as d } from "../../chunks/state.js";
|
|
11
|
-
import c from "./nve-select.styles.js";
|
|
12
|
-
var v = Object.defineProperty, f = Object.getOwnPropertyDescriptor, o = (e, t, s, i) => {
|
|
13
|
-
for (var r = i > 1 ? void 0 : i ? f(t, s) : t, a = e.length - 1, n; a >= 0; a--)
|
|
14
|
-
(n = e[a]) && (r = (i ? n(t, s, r) : n(r)) || r);
|
|
15
|
-
return i && r && v(t, s, r), r;
|
|
16
|
-
};
|
|
17
|
-
let l = class extends u {
|
|
18
|
-
constructor() {
|
|
19
|
-
super(), this.requiredLabel = "*Obligatorisk", this.hideCheckmark = !1, this.slInvalidEventListener = (e) => {
|
|
20
|
-
e.preventDefault();
|
|
21
|
-
}, this.valueHasChanged = !1;
|
|
22
|
-
}
|
|
23
|
-
connectedCallback() {
|
|
24
|
-
super.connectedCallback(), this.addEventListener("sl-invalid", this.slInvalidEventListener);
|
|
25
|
-
}
|
|
26
|
-
disconnectedCallback() {
|
|
27
|
-
super.disconnectedCallback(), this.removeEventListener("sl-invalid", this.slInvalidEventListener);
|
|
28
|
-
}
|
|
29
|
-
firstUpdated(e) {
|
|
30
|
-
super.firstUpdated(e), this.requiredLabel && this.style.setProperty("--sl-input-required-content", `"${this.requiredLabel}"`), this.shadowRoot?.querySelector("sl-popup")?.setAttribute("distance", "3");
|
|
31
|
-
}
|
|
32
|
-
updated(e) {
|
|
33
|
-
super.updated(e);
|
|
34
|
-
const t = this.hasAttribute("data-user-invalid");
|
|
35
|
-
t && (this.errorMessage || (this.errorMessage = this.validationMessage), this.style.setProperty("--nve-input-error-message", `"${this.errorMessage}"`)), t || this.style.setProperty("--nve-input-error-message", "");
|
|
36
|
-
}
|
|
37
|
-
focus() {
|
|
38
|
-
this.shadowRoot?.querySelector("sl-popup")?.classList.add("select--focused");
|
|
39
|
-
}
|
|
40
|
-
// @ts-expect-error overskriver private method
|
|
41
|
-
handleOptionClick(e) {
|
|
42
|
-
const s = e.target.closest("nve-option"), i = this.value;
|
|
43
|
-
s && !s.disabled && (this.multiple ? this.toggleOptionSelection(s) : this.setSelectedOptions(s), this.updateComplete.then(() => this.displayInput.focus({ preventScroll: !0 })), this.value !== i && (this.valueHasChanged = !0, this.updateComplete.then(() => {
|
|
44
|
-
this.emit("sl-input"), this.emit("sl-change");
|
|
45
|
-
})), this.multiple || (this.hide(), this.displayInput.focus({ preventScroll: !0 })));
|
|
46
|
-
}
|
|
47
|
-
//Lagt til nve-option
|
|
48
|
-
handleDefaultSlotChange() {
|
|
49
|
-
customElements.get("nve-option") || customElements.whenDefined("nve-option").then(() => this.handleDefaultSlotChange());
|
|
50
|
-
const e = this.getAllOptions(), t = this.valueHasChanged ? this.value : this.defaultValue, s = Array.isArray(t) ? t : [t];
|
|
51
|
-
this.setSelectedOptions(e.filter((i) => s.includes(i.value)));
|
|
52
|
-
}
|
|
53
|
-
//Lagt til nve-option
|
|
54
|
-
getAllOptions() {
|
|
55
|
-
return [...this.querySelectorAll("nve-option")];
|
|
56
|
-
}
|
|
57
|
-
// @ts-expect-error overskriver private method
|
|
58
|
-
getFirstOption() {
|
|
59
|
-
return this.querySelector("nve-option");
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
l.styles = [u.styles, c];
|
|
63
|
-
o([
|
|
64
|
-
p()
|
|
65
|
-
], l.prototype, "requiredLabel", 2);
|
|
66
|
-
o([
|
|
67
|
-
p({ type: Boolean })
|
|
68
|
-
], l.prototype, "hideCheckmark", 2);
|
|
69
|
-
o([
|
|
70
|
-
p({ reflect: !0 })
|
|
71
|
-
], l.prototype, "errorMessage", 2);
|
|
72
|
-
o([
|
|
73
|
-
d()
|
|
74
|
-
], l.prototype, "valueHasChanged", 2);
|
|
75
|
-
l = o([
|
|
76
|
-
h("nve-select")
|
|
77
|
-
], l);
|
|
78
|
-
export {
|
|
79
|
-
l as default
|
|
80
|
-
};
|
|
1
|
+
import { t as e } from "../../chunks/nve-select.component.js";
|
|
2
|
+
export { e as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { u as e } from "../../chunks/lit.js";
|
|
2
|
+
//#region src/components/nve-select/nve-select.styles.ts
|
|
3
|
+
var t = e`
|
|
3
4
|
:host {
|
|
4
5
|
--sl-input-required-content: '*Obligatorisk';
|
|
5
6
|
--sl-input-required-content-offset: -2px;
|
|
@@ -82,7 +83,7 @@ const t = r`
|
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
.form-control--has-label .form-control__label {
|
|
85
|
-
margin-bottom: var(--spacing-
|
|
86
|
+
margin-bottom: var(--spacing-2x-small);
|
|
86
87
|
font: var(--typography-label-small);
|
|
87
88
|
}
|
|
88
89
|
|
|
@@ -96,6 +97,5 @@ const t = r`
|
|
|
96
97
|
font-size: var(--font-size-medium);
|
|
97
98
|
}
|
|
98
99
|
`;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
};
|
|
100
|
+
//#endregion
|
|
101
|
+
export { t as default };
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { s as n } from "../../chunks/chunk.XQ2OKYYA.js";
|
|
4
|
-
import "../../chunks/chunk.4TUIT776.js";
|
|
5
|
-
var _ = Object.defineProperty, a = Object.getOwnPropertyDescriptor, v = (f, t, o, r) => {
|
|
6
|
-
for (var e = r > 1 ? void 0 : r ? a(t, o) : t, l = f.length - 1, p; l >= 0; l--)
|
|
7
|
-
(p = f[l]) && (e = (r ? p(t, o, e) : p(e)) || e);
|
|
8
|
-
return r && e && _(t, o, e), e;
|
|
9
|
-
};
|
|
10
|
-
let s = class extends n {
|
|
11
|
-
constructor() {
|
|
12
|
-
super(), this.testId = void 0;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
s.styles = [
|
|
16
|
-
n.styles,
|
|
17
|
-
u
|
|
18
|
-
];
|
|
19
|
-
v([
|
|
20
|
-
i({ reflect: !0, type: String })
|
|
21
|
-
], s.prototype, "testId", 2);
|
|
22
|
-
s = v([
|
|
23
|
-
m("nve-skeleton")
|
|
24
|
-
], s);
|
|
25
|
-
export {
|
|
26
|
-
s as default
|
|
27
|
-
};
|
|
1
|
+
import { t as e } from "../../chunks/nve-skeleton.component.js";
|
|
2
|
+
export { e as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { u as e } from "../../chunks/lit.js";
|
|
2
|
+
//#region src/components/nve-skeleton/nve-skeleton.styles.ts
|
|
3
|
+
var t = e`
|
|
3
4
|
:host {
|
|
4
5
|
border-radius: var(--border-radius-pill);
|
|
5
6
|
background: var(--color-shades-grey-200);
|
|
6
7
|
}
|
|
7
8
|
`;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { t as default };
|
|
@@ -1,31 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
import { s as a } from "../../chunks/chunk.EA437WHD.js";
|
|
4
|
-
import "../../chunks/chunk.36O46B5H.js";
|
|
5
|
-
import "../../chunks/chunk.6CTB5ZDJ.js";
|
|
6
|
-
import "../../chunks/chunk.4TUIT776.js";
|
|
7
|
-
var f = Object.getOwnPropertyDescriptor, v = (s, n, i, p) => {
|
|
8
|
-
for (var r = p > 1 ? void 0 : p ? f(n, i) : n, e = s.length - 1, o; e >= 0; e--)
|
|
9
|
-
(o = s[e]) && (r = o(r) || r);
|
|
10
|
-
return r;
|
|
11
|
-
};
|
|
12
|
-
let t = class extends a {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
t.styles = [
|
|
18
|
-
a.styles,
|
|
19
|
-
// Import Shoelace styles after your custom styles
|
|
20
|
-
m`
|
|
21
|
-
.spinner__track {
|
|
22
|
-
stroke: transparent;
|
|
23
|
-
}
|
|
24
|
-
`
|
|
25
|
-
];
|
|
26
|
-
t = v([
|
|
27
|
-
l("nve-spinner")
|
|
28
|
-
], t);
|
|
29
|
-
export {
|
|
30
|
-
t as default
|
|
31
|
-
};
|
|
1
|
+
import { t as e } from "../../chunks/nve-spinner.component.js";
|
|
2
|
+
export { e as default };
|