nve-designsystem 4.3.0 → 4.5.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 +4 -4
- package/chunks/chunk.36O46B5H.js +2 -2
- package/chunks/chunk.4TUIT776.js +1 -1
- package/chunks/chunk.5JY5FUCG.js +325 -344
- package/chunks/chunk.5P45LHIX.js +2 -2
- package/chunks/chunk.6CTB5ZDJ.js +16 -4
- package/chunks/chunk.B4BZKR24.js +2 -2
- package/chunks/chunk.D5YQDJ7X.js +3 -3
- package/chunks/chunk.EA437WHD.js +1 -1
- package/chunks/chunk.GI7VDIWX.js +1 -1
- package/chunks/chunk.GMYPQTFK.js +1 -1
- package/chunks/chunk.HVTXQL7M.js +3 -3
- package/chunks/chunk.IKV4VH3T.js +3 -3
- package/chunks/chunk.IVVHNXMC.js +2 -2
- package/chunks/chunk.JHOXTQXA.js +3 -3
- package/chunks/chunk.JXOKFADN.js +3 -3
- package/chunks/chunk.K7JGTRV7.js +1 -1
- package/chunks/chunk.KPLQLAWP.js +3 -3
- package/chunks/chunk.LD4M4QGE.js +1 -1
- package/chunks/chunk.MSKEYBDI.js +3 -3
- package/chunks/chunk.NYIIDP5N.js +1 -1
- package/chunks/chunk.RWUUFNUL.js +2 -2
- package/chunks/chunk.SAPQLUO4.js +4 -4
- package/chunks/chunk.SI4ACBFK.js +1 -1
- package/chunks/chunk.TP2GB2HO.js +4 -4
- package/chunks/chunk.UDWRA64J.js +3 -3
- package/chunks/chunk.URTPIBTY.js +3 -3
- package/chunks/chunk.VESXC477.js +1 -1
- package/chunks/chunk.XA43ZQPC.js +3 -3
- package/chunks/chunk.XQ2OKYYA.js +3 -3
- package/chunks/chunk.XZNBUGX7.js +1 -1
- package/chunks/chunk.YHLNUJ7P.js +2 -2
- package/chunks/chunk.ZH2AND3P.js +8 -8
- package/chunks/chunk.ZL53POKZ.js +2 -2
- package/chunks/class-map.js +3 -3
- package/chunks/decorate.js +11 -11
- package/chunks/directive-helpers.js +3 -3
- package/chunks/if-defined.js +1 -1
- package/chunks/lit.js +88 -86
- package/chunks/live.js +8 -8
- package/chunks/nve-alert.component.js +9 -9
- package/chunks/nve-carousel-item.component.js +1 -1
- package/chunks/nve-checkbox-group.component.js +7 -7
- package/chunks/nve-label.component.js +1 -1
- package/chunks/nve-warning-level.component.js +4 -4
- package/chunks/ref.js +4 -4
- package/chunks/shoelace.js +771 -771
- package/chunks/static-html.js +4 -4
- package/chunks/unsafe-html.js +1 -1
- package/components/nve-accordion/nve-accordion.component.js +1 -1
- package/components/nve-aspect-rose/nve-aspect-rose.component.d.ts +40 -0
- package/components/nve-aspect-rose/nve-aspect-rose.component.js +90 -0
- package/components/nve-aspect-rose/nve-aspect-rose.styles.d.ts +2 -0
- package/components/nve-aspect-rose/nve-aspect-rose.styles.js +27 -0
- package/components/nve-badge/nve-badge.component.js +1 -1
- package/components/nve-carousel-thumbnail/nve-carousel-thumbnail.component.js +1 -1
- package/components/nve-combobox/nve-combobox.component.js +1 -1
- package/components/nve-darkmode-switch/nve-darkmode-switch.component.js +3 -2
- package/components/nve-icon/nve-icon.component.js +1 -1
- package/components/nve-link-card/nve-link-card.component.js +6 -6
- package/components/nve-message-card/nve-message-card.component.js +1 -1
- package/components/nve-navigation-card/nve-navigation-card.component.js +8 -8
- package/components/nve-paragraph/nve-paragraph.component.js +1 -1
- package/components/nve-stepper/nve-step/nve-step.component.js +21 -21
- package/components/nve-stepper/nve-stepper-mobile.component.js +1 -1
- package/components/nve-stepper/nve-stepper.component.js +1 -1
- package/components/nve-switch/nve-switch.component.js +1 -1
- package/components/nve-tab/nve-tab.component.js +1 -1
- package/components/nve-tab-group/nve-tab-group.component.js +6 -6
- package/components/nve-tab-panel/nve-tab-panel.component.js +1 -1
- package/components/nve-tag/nve-tag.component.js +6 -6
- package/components/nve-textarea/nve-textarea.component.js +12 -12
- package/css/nve.css +54 -45
- package/css/nve_dark.css +16 -7
- package/css/rme.css +54 -45
- package/css/rme_dark.css +16 -7
- package/css/varsom.css +54 -45
- package/css/varsom_dark.css +16 -7
- package/custom-elements.json +97 -1
- package/nve-designsystem.d.ts +2 -1
- package/nve-designsystem.js +43 -42
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e, n as t, t as n } from "./lit.js";
|
|
2
2
|
import { o as r, s as i, t as a } from "./decorate.js";
|
|
3
3
|
import { t as o } from "./class-map.js";
|
|
4
4
|
import { t as s } from "./if-defined.js";
|
|
@@ -18,7 +18,7 @@ var l = "data:image/svg+xml,%3csvg%20width='30'%20height='31'%20viewBox='0%200%2
|
|
|
18
18
|
return t === "button" || t === "a";
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return
|
|
21
|
+
return e`
|
|
22
22
|
<div
|
|
23
23
|
class=${o({
|
|
24
24
|
"warning-level": !0,
|
|
@@ -32,7 +32,7 @@ var l = "data:image/svg+xml,%3csvg%20width='30'%20height='31'%20viewBox='0%200%2
|
|
|
32
32
|
aria-label=${s(this.ariaLabel)}
|
|
33
33
|
>
|
|
34
34
|
${this.level === "unknown" ? "?" : this.level}
|
|
35
|
-
${this.warningBadge ?
|
|
35
|
+
${this.warningBadge ? e`
|
|
36
36
|
<img
|
|
37
37
|
part="warning-badge"
|
|
38
38
|
alt=""
|
|
@@ -43,7 +43,7 @@ var l = "data:image/svg+xml,%3csvg%20width='30'%20height='31'%20viewBox='0%200%2
|
|
|
43
43
|
})}
|
|
44
44
|
src=${this.warningBadge === "triangle" ? l : u}
|
|
45
45
|
/>
|
|
46
|
-
` :
|
|
46
|
+
` : t}
|
|
47
47
|
</div>
|
|
48
48
|
`;
|
|
49
49
|
}
|
package/chunks/ref.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./lit.js";
|
|
2
|
-
import {
|
|
2
|
+
import { r as t } from "./directive-helpers.js";
|
|
3
3
|
import { i as n, n as r, r as i } from "./class-map.js";
|
|
4
|
-
//#region node_modules/lit-html/async-directive.js
|
|
4
|
+
//#region .pnpm/lit-html@3.3.3/node_modules/lit-html/async-directive.js
|
|
5
5
|
var a = (e, t) => {
|
|
6
6
|
let n = e._$AN;
|
|
7
7
|
if (n === void 0) return !1;
|
|
@@ -57,10 +57,10 @@ var u = (e) => {
|
|
|
57
57
|
}
|
|
58
58
|
update(t, [n]) {
|
|
59
59
|
let r = n !== this.G;
|
|
60
|
-
return r && this.
|
|
60
|
+
return r && this.rt(void 0), (r || this.lt !== this.ct) && (this.G = n, this.ht = t.options?.host, this.rt(this.ct = t.element)), e;
|
|
61
61
|
}
|
|
62
62
|
rt(e) {
|
|
63
|
-
if (this.isConnected || (e = void 0), typeof this.G == "function") {
|
|
63
|
+
if (this.G !== void 0) if (this.isConnected || (e = void 0), typeof this.G == "function") {
|
|
64
64
|
let t = this.ht ?? globalThis, n = m.get(t);
|
|
65
65
|
n === void 0 && (n = /* @__PURE__ */ new WeakMap(), m.set(t, n)), n.get(this.G) !== void 0 && this.G.call(this.ht, void 0), n.set(this.G, e), e !== void 0 && this.G.call(this.ht, e);
|
|
66
66
|
} else this.G.value = e;
|