nve-designsystem 1.6.3 → 1.6.5
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/components/nve-message-card/nve-message-card.styles.js +18 -5
- package/components/nve-stepper/nve-step/nve-step.component.d.ts +4 -1
- package/components/nve-stepper/nve-step/nve-step.component.js +41 -36
- package/components/nve-stepper/nve-step/nve-step.styles.js +5 -0
- package/components/nve-stepper/nve-stepper.component.d.ts +4 -0
- package/components/nve-stepper/nve-stepper.component.js +27 -23
- package/custom-elements.json +21 -4
- package/package.json +1 -1
|
@@ -40,7 +40,9 @@ const r = e`
|
|
|
40
40
|
align-items: center;
|
|
41
41
|
gap: 8px;
|
|
42
42
|
width: 100%;
|
|
43
|
-
|
|
43
|
+
padding: 2px 0;
|
|
44
|
+
font: var(--header-small);
|
|
45
|
+
line-height: 140%;
|
|
44
46
|
:is(span) {
|
|
45
47
|
overflow: hidden;
|
|
46
48
|
text-overflow: ellipsis;
|
|
@@ -49,7 +51,7 @@ const r = e`
|
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
.message-card__body {
|
|
52
|
-
font: var(--body-
|
|
54
|
+
font: var(--body-large);
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
.message-card__close-btn {
|
|
@@ -74,7 +76,7 @@ const r = e`
|
|
|
74
76
|
|
|
75
77
|
nve-icon::part(icon) {
|
|
76
78
|
display: unset;
|
|
77
|
-
font-size:
|
|
79
|
+
font-size: 22px
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
/** Varianter */
|
|
@@ -165,11 +167,22 @@ const r = e`
|
|
|
165
167
|
gap: var(--spacing-x-small);
|
|
166
168
|
}
|
|
167
169
|
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
:host([size='compact']) .message-card__header-title {
|
|
173
|
+
font: var(--label-medium);
|
|
174
|
+
}
|
|
175
|
+
|
|
168
176
|
:host([size='simple']) .message-card__header-title {
|
|
169
|
-
font: var(--label-
|
|
177
|
+
font: var(--label-medium-light);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
:host([size='compact']) .message-card__body {
|
|
181
|
+
font: var(--body-small);
|
|
170
182
|
}
|
|
171
183
|
|
|
172
|
-
:host([size='simple']) nve-icon::part(icon)
|
|
184
|
+
:host([size='simple']) nve-icon::part(icon),
|
|
185
|
+
:host([size='compact']) nve-icon::part(icon) {
|
|
173
186
|
font-size: 20px;
|
|
174
187
|
}
|
|
175
188
|
`;
|
|
@@ -16,6 +16,7 @@ export interface StepProps {
|
|
|
16
16
|
readyForEntrance: boolean;
|
|
17
17
|
orientation?: string;
|
|
18
18
|
hideStateText?: boolean;
|
|
19
|
+
hideDescriptions?: boolean;
|
|
19
20
|
}
|
|
20
21
|
/** Komponent for et enkelt steg i en stepper */
|
|
21
22
|
export default class NveStep extends LitElement {
|
|
@@ -24,7 +25,7 @@ export default class NveStep extends LitElement {
|
|
|
24
25
|
/** Indeks for steget */
|
|
25
26
|
index: number;
|
|
26
27
|
/** Beskrivelse av steget */
|
|
27
|
-
description
|
|
28
|
+
description?: string;
|
|
28
29
|
/**
|
|
29
30
|
* Stegets tilstand: Ikke startet, påbegynt, fullført eller feilet
|
|
30
31
|
* @type {StepState}
|
|
@@ -42,6 +43,8 @@ export default class NveStep extends LitElement {
|
|
|
42
43
|
orientation: 'horizontal' | 'vertical';
|
|
43
44
|
/** Angir om stateText skal skjules */
|
|
44
45
|
hideStateText: boolean;
|
|
46
|
+
/** Angir om beskrivelser skal skjules */
|
|
47
|
+
hideDescriptions: boolean;
|
|
45
48
|
/** Brukes for å justere høyden for den vertikale skilleveggen blir så høy som nær Step har en description. */
|
|
46
49
|
descriptionElement: HTMLElement;
|
|
47
50
|
/** Metode som kjøres første gang komponenten er lagt til i DOM */
|
|
@@ -2,14 +2,14 @@ import { r as h, x as c } from "../../../chunks/lit-element.js";
|
|
|
2
2
|
import { n as s, t as p } from "../../../chunks/property.js";
|
|
3
3
|
import { e as v } from "../../../chunks/query.js";
|
|
4
4
|
import u from "./nve-step.styles.js";
|
|
5
|
-
var f = Object.defineProperty, y = Object.getOwnPropertyDescriptor, r = (t,
|
|
6
|
-
for (var
|
|
7
|
-
(d = t[l]) && (
|
|
8
|
-
return
|
|
5
|
+
var f = Object.defineProperty, y = Object.getOwnPropertyDescriptor, r = (t, i, n, o) => {
|
|
6
|
+
for (var a = o > 1 ? void 0 : o ? y(i, n) : i, l = t.length - 1, d; l >= 0; l--)
|
|
7
|
+
(d = t[l]) && (a = (o ? d(i, n, a) : d(a)) || a);
|
|
8
|
+
return o && a && f(i, n, a), a;
|
|
9
9
|
}, g = /* @__PURE__ */ ((t) => (t[t.NotStarted = 0] = "NotStarted", t[t.Started = 1] = "Started", t[t.Active = 2] = "Active", t[t.Done = 3] = "Done", t[t.Error = 4] = "Error", t))(g || {});
|
|
10
|
-
let
|
|
10
|
+
let e = class extends h {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this.title = "", this.index = 0, this.
|
|
12
|
+
super(...arguments), this.title = "", this.index = 0, this.state = 0, this.selectedStepIndex = 0, this.isSelected = !1, this.isLast = !1, this.entranceAllowed = !1, this.orientation = "horizontal", this.hideStateText = !1, this.hideDescriptions = !1;
|
|
13
13
|
}
|
|
14
14
|
/** Metode som kjøres første gang komponenten er lagt til i DOM */
|
|
15
15
|
firstUpdated() {
|
|
@@ -23,28 +23,28 @@ let i = class extends h {
|
|
|
23
23
|
return this.orientation === "vertical";
|
|
24
24
|
}
|
|
25
25
|
iconForState(t) {
|
|
26
|
-
let
|
|
26
|
+
let i = "";
|
|
27
27
|
switch (t) {
|
|
28
28
|
case 0:
|
|
29
|
-
|
|
29
|
+
i = "circle";
|
|
30
30
|
break;
|
|
31
31
|
case 2:
|
|
32
|
-
|
|
32
|
+
i = "radio_button_checked";
|
|
33
33
|
break;
|
|
34
34
|
case 1:
|
|
35
|
-
|
|
35
|
+
i = "trip_origin";
|
|
36
36
|
break;
|
|
37
37
|
case 3:
|
|
38
|
-
|
|
38
|
+
i = "check_circle";
|
|
39
39
|
break;
|
|
40
40
|
case 4:
|
|
41
|
-
|
|
41
|
+
i = "error";
|
|
42
42
|
break;
|
|
43
43
|
default:
|
|
44
|
-
|
|
44
|
+
i = "check_circle";
|
|
45
45
|
break;
|
|
46
46
|
}
|
|
47
|
-
return
|
|
47
|
+
return i;
|
|
48
48
|
}
|
|
49
49
|
getStateText(t) {
|
|
50
50
|
switch (t) {
|
|
@@ -111,15 +111,17 @@ let i = class extends h {
|
|
|
111
111
|
</div>`;
|
|
112
112
|
}
|
|
113
113
|
renderDescription() {
|
|
114
|
-
return this.isDescriptionValid(this.description) ? c`<div class="step-description ${this.orientation === "vertical" ? "step-description-max-width-vertical" : "step-description-max-width-horizontal"}">${this.description}</div>` : ""
|
|
114
|
+
return this.isDescriptionValid(this.description) ? c`<div class="step-description ${this.orientation === "vertical" ? "step-description-max-width-vertical" : "step-description-max-width-horizontal"}">${this.description}</div>` : c`<div class="step-description empty-description ${this.orientation === "vertical" ? "step-description-max-width-vertical" : "step-description-max-width-horizontal"}"></div>`;
|
|
115
115
|
}
|
|
116
116
|
isDescriptionValid(t) {
|
|
117
|
-
return t.trim().length > 0;
|
|
117
|
+
return !!t && (t == null ? void 0 : t.trim().length) > 0;
|
|
118
118
|
}
|
|
119
119
|
/** Brukes for beregning av riktig høyde før divider. Description elementet har padding, så høyden før divider var for kort, så bruk denne funksjonen for regner ut riktig høyde. */
|
|
120
120
|
updateVerticalDividerHeight() {
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
let n = 34;
|
|
122
|
+
this.descriptionElement && (n = this.descriptionElement.offsetHeight + 24);
|
|
123
|
+
const o = this.shadowRoot.querySelector(".vertical-divider-container .divider-vertical");
|
|
124
|
+
o && (o.style.height = `${n}px`);
|
|
123
125
|
}
|
|
124
126
|
renderVerticalStep() {
|
|
125
127
|
return c`
|
|
@@ -138,7 +140,7 @@ let i = class extends h {
|
|
|
138
140
|
${this.hideStateText ? "" : this.getStateText(this.state)}
|
|
139
141
|
</div>
|
|
140
142
|
<div>
|
|
141
|
-
|
|
143
|
+
${this.hideDescriptions ? "" : this.renderDescription()}
|
|
142
144
|
</div>
|
|
143
145
|
</div>
|
|
144
146
|
</div>
|
|
@@ -157,51 +159,54 @@ let i = class extends h {
|
|
|
157
159
|
<div class="${this.isLast ? "" : "text-container"}">
|
|
158
160
|
<div class="step-title ${this.getTitleClass(this.state)}">${this.title}</div>
|
|
159
161
|
<div class="step-state ${this.getStateColorClass(this.state)}">
|
|
160
|
-
|
|
162
|
+
${this.hideStateText ? "" : this.getStateText(this.state)}
|
|
161
163
|
</div>
|
|
162
|
-
|
|
164
|
+
${this.hideDescriptions ? "" : this.renderDescription()}
|
|
163
165
|
</div>
|
|
164
166
|
`;
|
|
165
167
|
}
|
|
166
168
|
};
|
|
167
|
-
|
|
169
|
+
e.styles = [u];
|
|
168
170
|
r([
|
|
169
171
|
s({ reflect: !0 })
|
|
170
|
-
],
|
|
172
|
+
], e.prototype, "title", 2);
|
|
171
173
|
r([
|
|
172
174
|
s({ type: Number })
|
|
173
|
-
],
|
|
175
|
+
], e.prototype, "index", 2);
|
|
174
176
|
r([
|
|
175
177
|
s({ type: String })
|
|
176
|
-
],
|
|
178
|
+
], e.prototype, "description", 2);
|
|
177
179
|
r([
|
|
178
180
|
s({ type: Number })
|
|
179
|
-
],
|
|
181
|
+
], e.prototype, "state", 2);
|
|
180
182
|
r([
|
|
181
183
|
s({ type: Number })
|
|
182
|
-
],
|
|
184
|
+
], e.prototype, "selectedStepIndex", 2);
|
|
183
185
|
r([
|
|
184
186
|
s({ type: Boolean, reflect: !0 })
|
|
185
|
-
],
|
|
187
|
+
], e.prototype, "isSelected", 2);
|
|
186
188
|
r([
|
|
187
189
|
s({ type: Boolean })
|
|
188
|
-
],
|
|
190
|
+
], e.prototype, "isLast", 2);
|
|
189
191
|
r([
|
|
190
192
|
s({ type: Boolean })
|
|
191
|
-
],
|
|
193
|
+
], e.prototype, "entranceAllowed", 2);
|
|
192
194
|
r([
|
|
193
195
|
s()
|
|
194
|
-
],
|
|
196
|
+
], e.prototype, "orientation", 2);
|
|
197
|
+
r([
|
|
198
|
+
s({ type: Boolean })
|
|
199
|
+
], e.prototype, "hideStateText", 2);
|
|
195
200
|
r([
|
|
196
201
|
s({ type: Boolean })
|
|
197
|
-
],
|
|
202
|
+
], e.prototype, "hideDescriptions", 2);
|
|
198
203
|
r([
|
|
199
204
|
v(".step-description")
|
|
200
|
-
],
|
|
201
|
-
|
|
205
|
+
], e.prototype, "descriptionElement", 2);
|
|
206
|
+
e = r([
|
|
202
207
|
p("nve-step")
|
|
203
|
-
],
|
|
208
|
+
], e);
|
|
204
209
|
export {
|
|
205
210
|
g as StepState,
|
|
206
|
-
|
|
211
|
+
e as default
|
|
207
212
|
};
|
|
@@ -77,6 +77,11 @@ const r = e`
|
|
|
77
77
|
padding-top: 0.625rem; /*10px; */
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
.empty-description {
|
|
81
|
+
min-height: 1rem; /* Set a minimum height for empty descriptions */
|
|
82
|
+
padding-top: 0.625rem; /* Match the padding of regular descriptions */
|
|
83
|
+
}
|
|
84
|
+
|
|
80
85
|
.step-description-max-width-vertical {
|
|
81
86
|
max-width: 430px;
|
|
82
87
|
padding-bottom: var(--spacing-large, 1.5rem);
|
|
@@ -28,6 +28,8 @@ export interface INveStepper {
|
|
|
28
28
|
displayMobileVersion?: boolean;
|
|
29
29
|
/** Angir om stateText skal skjules for alle trinn */
|
|
30
30
|
hideStateText?: boolean;
|
|
31
|
+
/** Skjuler beskrivelser for alle trinn */
|
|
32
|
+
hideDescriptions?: boolean;
|
|
31
33
|
}
|
|
32
34
|
/**
|
|
33
35
|
* En stepper-komponent brukes for å bryte ned en kompleks prosess i flere mindre, håndterbare trinn.
|
|
@@ -51,6 +53,8 @@ export default class NveStepper extends LitElement {
|
|
|
51
53
|
displayMobileVersion: boolean;
|
|
52
54
|
/** Angir om stateText skal skjules for alle trinn */
|
|
53
55
|
hideStateText: boolean;
|
|
56
|
+
/** Skjuler beskrivelser for alle trinn */
|
|
57
|
+
hideDescriptions: boolean;
|
|
54
58
|
private selectedStepIndex;
|
|
55
59
|
/**
|
|
56
60
|
* Ved endring av props, re-render komponenten eksternt med document.querySelector("nve-stepper")?.reRender();
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { r as u, x as
|
|
2
|
-
import { n
|
|
1
|
+
import { r as u, x as p } from "../../chunks/lit-element.js";
|
|
2
|
+
import { n, t as c } from "../../chunks/property.js";
|
|
3
3
|
import { StepState as h } from "./nve-step/nve-step.component.js";
|
|
4
|
-
import
|
|
4
|
+
import S from "./nve-stepper.styles.js";
|
|
5
5
|
import "./nve-stepper-mobile.component.js";
|
|
6
6
|
var v = Object.defineProperty, f = Object.getOwnPropertyDescriptor, i = (e, t, a, o) => {
|
|
7
|
-
for (var
|
|
8
|
-
(l = e[d]) && (
|
|
9
|
-
return o &&
|
|
7
|
+
for (var r = o > 1 ? void 0 : o ? f(t, a) : t, d = e.length - 1, l; d >= 0; d--)
|
|
8
|
+
(l = e[d]) && (r = (o ? l(t, a, r) : l(r)) || r);
|
|
9
|
+
return o && r && v(t, a, r), r;
|
|
10
10
|
};
|
|
11
11
|
function x() {
|
|
12
12
|
return /Mobi|Android/i.test(navigator.userAgent);
|
|
13
13
|
}
|
|
14
14
|
let s = class extends u {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this.orientation = "horizontal", this.endButtonText = "Sende", this.steps = [], this.hideStepButtons = !1, this.hideMobileStepButtons = !1, this.displayMobileVersion = !1, this.hideStateText = !1, this.selectedStepIndex = { value: 0 };
|
|
16
|
+
super(...arguments), this.orientation = "horizontal", this.endButtonText = "Sende", this.steps = [], this.hideStepButtons = !1, this.hideMobileStepButtons = !1, this.displayMobileVersion = !1, this.hideStateText = !1, this.hideDescriptions = !1, this.selectedStepIndex = { value: 0 };
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Ved endring av props, re-render komponenten eksternt med document.querySelector("nve-stepper")?.reRender();
|
|
@@ -69,7 +69,7 @@ let s = class extends u {
|
|
|
69
69
|
this.prevStep();
|
|
70
70
|
}
|
|
71
71
|
renderBackButton() {
|
|
72
|
-
return this.hideStepButtons ? "" :
|
|
72
|
+
return this.hideStepButtons ? "" : p`
|
|
73
73
|
<nve-button
|
|
74
74
|
.disabled=${this.getExtremes() === "start"}
|
|
75
75
|
size="medium"
|
|
@@ -85,7 +85,7 @@ let s = class extends u {
|
|
|
85
85
|
return this.orientation === "vertical";
|
|
86
86
|
}
|
|
87
87
|
renderForwardButton() {
|
|
88
|
-
return this.hideStepButtons ? "" : this.getExtremes() === "end" ?
|
|
88
|
+
return this.hideStepButtons ? "" : this.getExtremes() === "end" ? p`
|
|
89
89
|
<nve-button
|
|
90
90
|
size="medium"
|
|
91
91
|
variant="primary"
|
|
@@ -94,7 +94,7 @@ let s = class extends u {
|
|
|
94
94
|
<nve-icon slot="suffix" name="done"></nve-icon>
|
|
95
95
|
${this.endButtonText}
|
|
96
96
|
</nve-button>
|
|
97
|
-
` :
|
|
97
|
+
` : p`
|
|
98
98
|
<nve-button
|
|
99
99
|
.disabled=${this.getExtremes() === "end"}
|
|
100
100
|
size="medium"
|
|
@@ -107,7 +107,7 @@ let s = class extends u {
|
|
|
107
107
|
`;
|
|
108
108
|
}
|
|
109
109
|
renderVerticalButtons() {
|
|
110
|
-
return this.hideStepButtons ? "" :
|
|
110
|
+
return this.hideStepButtons ? "" : p`
|
|
111
111
|
<div class="vertical-btn-container">
|
|
112
112
|
${this.renderBackButton()}
|
|
113
113
|
${this.renderForwardButton()}
|
|
@@ -116,7 +116,7 @@ let s = class extends u {
|
|
|
116
116
|
}
|
|
117
117
|
/** Hoved render-metode */
|
|
118
118
|
render() {
|
|
119
|
-
return x() || this.displayMobileVersion ?
|
|
119
|
+
return x() || this.displayMobileVersion ? p`
|
|
120
120
|
<nve-stepper-mobile
|
|
121
121
|
.steps=${this.steps}
|
|
122
122
|
.selectedStepIndex=${this.selectedStepIndex}
|
|
@@ -124,12 +124,12 @@ let s = class extends u {
|
|
|
124
124
|
@next-step=${this.handleMobileNextStep}
|
|
125
125
|
@prev-step=${this.handleMobilePrevStep}
|
|
126
126
|
></nve-stepper-mobile>
|
|
127
|
-
` :
|
|
127
|
+
` : p`
|
|
128
128
|
<div class="stepper ${this.orientation}">
|
|
129
129
|
${this.isOrientationVertical() ? "" : this.renderBackButton()}
|
|
130
130
|
<div class="steps-container ${this.orientation} ${this.hideStepButtons ? "" : "steps-container-with-buttons"}">
|
|
131
131
|
${this.steps.map(
|
|
132
|
-
(e, t) =>
|
|
132
|
+
(e, t) => p`
|
|
133
133
|
<nve-step
|
|
134
134
|
.title=${e.title}
|
|
135
135
|
.description=${e.description}
|
|
@@ -141,6 +141,7 @@ let s = class extends u {
|
|
|
141
141
|
.readyForEntrance=${e.readyForEntrance}
|
|
142
142
|
.orientation=${this.orientation}
|
|
143
143
|
.hideStateText=${this.hideStateText}
|
|
144
|
+
.hideDescriptions=${this.hideDescriptions}
|
|
144
145
|
>
|
|
145
146
|
</nve-step>
|
|
146
147
|
`
|
|
@@ -152,30 +153,33 @@ let s = class extends u {
|
|
|
152
153
|
`;
|
|
153
154
|
}
|
|
154
155
|
};
|
|
155
|
-
s.styles = [
|
|
156
|
+
s.styles = [S];
|
|
156
157
|
i([
|
|
157
|
-
|
|
158
|
+
n()
|
|
158
159
|
], s.prototype, "orientation", 2);
|
|
159
160
|
i([
|
|
160
|
-
|
|
161
|
+
n({ type: String })
|
|
161
162
|
], s.prototype, "endButtonText", 2);
|
|
162
163
|
i([
|
|
163
|
-
|
|
164
|
+
n({ type: Array })
|
|
164
165
|
], s.prototype, "steps", 2);
|
|
165
166
|
i([
|
|
166
|
-
|
|
167
|
+
n({ type: Boolean })
|
|
167
168
|
], s.prototype, "hideStepButtons", 2);
|
|
168
169
|
i([
|
|
169
|
-
|
|
170
|
+
n({ type: Boolean })
|
|
170
171
|
], s.prototype, "hideMobileStepButtons", 2);
|
|
171
172
|
i([
|
|
172
|
-
|
|
173
|
+
n({ type: Boolean })
|
|
173
174
|
], s.prototype, "displayMobileVersion", 2);
|
|
174
175
|
i([
|
|
175
|
-
|
|
176
|
+
n({ type: Boolean })
|
|
176
177
|
], s.prototype, "hideStateText", 2);
|
|
178
|
+
i([
|
|
179
|
+
n({ type: Boolean })
|
|
180
|
+
], s.prototype, "hideDescriptions", 2);
|
|
177
181
|
s = i([
|
|
178
|
-
|
|
182
|
+
c("nve-stepper")
|
|
179
183
|
], s);
|
|
180
184
|
export {
|
|
181
185
|
s as default
|
package/custom-elements.json
CHANGED
|
@@ -10906,6 +10906,15 @@
|
|
|
10906
10906
|
"default": "false",
|
|
10907
10907
|
"description": "Angir om stateText skal skjules for alle trinn"
|
|
10908
10908
|
},
|
|
10909
|
+
{
|
|
10910
|
+
"kind": "field",
|
|
10911
|
+
"name": "hideDescriptions",
|
|
10912
|
+
"type": {
|
|
10913
|
+
"text": "boolean"
|
|
10914
|
+
},
|
|
10915
|
+
"default": "false",
|
|
10916
|
+
"description": "Skjuler beskrivelser for alle trinn"
|
|
10917
|
+
},
|
|
10909
10918
|
{
|
|
10910
10919
|
"kind": "field",
|
|
10911
10920
|
"name": "selectedStepIndex",
|
|
@@ -12390,9 +12399,8 @@
|
|
|
12390
12399
|
"kind": "field",
|
|
12391
12400
|
"name": "description",
|
|
12392
12401
|
"type": {
|
|
12393
|
-
"text": "string"
|
|
12402
|
+
"text": "string | undefined"
|
|
12394
12403
|
},
|
|
12395
|
-
"default": "''",
|
|
12396
12404
|
"description": "Beskrivelse av steget"
|
|
12397
12405
|
},
|
|
12398
12406
|
{
|
|
@@ -12457,6 +12465,15 @@
|
|
|
12457
12465
|
"default": "false",
|
|
12458
12466
|
"description": "Angir om stateText skal skjules"
|
|
12459
12467
|
},
|
|
12468
|
+
{
|
|
12469
|
+
"kind": "field",
|
|
12470
|
+
"name": "hideDescriptions",
|
|
12471
|
+
"type": {
|
|
12472
|
+
"text": "boolean"
|
|
12473
|
+
},
|
|
12474
|
+
"default": "false",
|
|
12475
|
+
"description": "Angir om beskrivelser skal skjules"
|
|
12476
|
+
},
|
|
12460
12477
|
{
|
|
12461
12478
|
"kind": "field",
|
|
12462
12479
|
"name": "descriptionElement",
|
|
@@ -12638,7 +12655,7 @@
|
|
|
12638
12655
|
{
|
|
12639
12656
|
"name": "description",
|
|
12640
12657
|
"type": {
|
|
12641
|
-
"text": "string"
|
|
12658
|
+
"text": "string | undefined"
|
|
12642
12659
|
}
|
|
12643
12660
|
}
|
|
12644
12661
|
]
|
|
@@ -12699,7 +12716,7 @@
|
|
|
12699
12716
|
"package": {
|
|
12700
12717
|
"name": "nve-designsystem",
|
|
12701
12718
|
"description": "Designsystem for NVE",
|
|
12702
|
-
"version": "1.6.
|
|
12719
|
+
"version": "1.6.4",
|
|
12703
12720
|
"author": {
|
|
12704
12721
|
"name": "NVE",
|
|
12705
12722
|
"email": "nve@nve.no"
|