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.
Files changed (82) hide show
  1. package/chunks/chunk.2PCBEMQZ.js +4 -4
  2. package/chunks/chunk.36O46B5H.js +2 -2
  3. package/chunks/chunk.4TUIT776.js +1 -1
  4. package/chunks/chunk.5JY5FUCG.js +325 -344
  5. package/chunks/chunk.5P45LHIX.js +2 -2
  6. package/chunks/chunk.6CTB5ZDJ.js +16 -4
  7. package/chunks/chunk.B4BZKR24.js +2 -2
  8. package/chunks/chunk.D5YQDJ7X.js +3 -3
  9. package/chunks/chunk.EA437WHD.js +1 -1
  10. package/chunks/chunk.GI7VDIWX.js +1 -1
  11. package/chunks/chunk.GMYPQTFK.js +1 -1
  12. package/chunks/chunk.HVTXQL7M.js +3 -3
  13. package/chunks/chunk.IKV4VH3T.js +3 -3
  14. package/chunks/chunk.IVVHNXMC.js +2 -2
  15. package/chunks/chunk.JHOXTQXA.js +3 -3
  16. package/chunks/chunk.JXOKFADN.js +3 -3
  17. package/chunks/chunk.K7JGTRV7.js +1 -1
  18. package/chunks/chunk.KPLQLAWP.js +3 -3
  19. package/chunks/chunk.LD4M4QGE.js +1 -1
  20. package/chunks/chunk.MSKEYBDI.js +3 -3
  21. package/chunks/chunk.NYIIDP5N.js +1 -1
  22. package/chunks/chunk.RWUUFNUL.js +2 -2
  23. package/chunks/chunk.SAPQLUO4.js +4 -4
  24. package/chunks/chunk.SI4ACBFK.js +1 -1
  25. package/chunks/chunk.TP2GB2HO.js +4 -4
  26. package/chunks/chunk.UDWRA64J.js +3 -3
  27. package/chunks/chunk.URTPIBTY.js +3 -3
  28. package/chunks/chunk.VESXC477.js +1 -1
  29. package/chunks/chunk.XA43ZQPC.js +3 -3
  30. package/chunks/chunk.XQ2OKYYA.js +3 -3
  31. package/chunks/chunk.XZNBUGX7.js +1 -1
  32. package/chunks/chunk.YHLNUJ7P.js +2 -2
  33. package/chunks/chunk.ZH2AND3P.js +8 -8
  34. package/chunks/chunk.ZL53POKZ.js +2 -2
  35. package/chunks/class-map.js +3 -3
  36. package/chunks/decorate.js +11 -11
  37. package/chunks/directive-helpers.js +3 -3
  38. package/chunks/if-defined.js +1 -1
  39. package/chunks/lit.js +88 -86
  40. package/chunks/live.js +8 -8
  41. package/chunks/nve-alert.component.js +9 -9
  42. package/chunks/nve-carousel-item.component.js +1 -1
  43. package/chunks/nve-checkbox-group.component.js +7 -7
  44. package/chunks/nve-label.component.js +1 -1
  45. package/chunks/nve-warning-level.component.js +4 -4
  46. package/chunks/ref.js +4 -4
  47. package/chunks/shoelace.js +771 -771
  48. package/chunks/static-html.js +4 -4
  49. package/chunks/unsafe-html.js +1 -1
  50. package/components/nve-accordion/nve-accordion.component.js +1 -1
  51. package/components/nve-aspect-rose/nve-aspect-rose.component.d.ts +40 -0
  52. package/components/nve-aspect-rose/nve-aspect-rose.component.js +90 -0
  53. package/components/nve-aspect-rose/nve-aspect-rose.styles.d.ts +2 -0
  54. package/components/nve-aspect-rose/nve-aspect-rose.styles.js +27 -0
  55. package/components/nve-badge/nve-badge.component.js +1 -1
  56. package/components/nve-carousel-thumbnail/nve-carousel-thumbnail.component.js +1 -1
  57. package/components/nve-combobox/nve-combobox.component.js +1 -1
  58. package/components/nve-darkmode-switch/nve-darkmode-switch.component.js +3 -2
  59. package/components/nve-icon/nve-icon.component.js +1 -1
  60. package/components/nve-link-card/nve-link-card.component.js +6 -6
  61. package/components/nve-message-card/nve-message-card.component.js +1 -1
  62. package/components/nve-navigation-card/nve-navigation-card.component.js +8 -8
  63. package/components/nve-paragraph/nve-paragraph.component.js +1 -1
  64. package/components/nve-stepper/nve-step/nve-step.component.js +21 -21
  65. package/components/nve-stepper/nve-stepper-mobile.component.js +1 -1
  66. package/components/nve-stepper/nve-stepper.component.js +1 -1
  67. package/components/nve-switch/nve-switch.component.js +1 -1
  68. package/components/nve-tab/nve-tab.component.js +1 -1
  69. package/components/nve-tab-group/nve-tab-group.component.js +6 -6
  70. package/components/nve-tab-panel/nve-tab-panel.component.js +1 -1
  71. package/components/nve-tag/nve-tag.component.js +6 -6
  72. package/components/nve-textarea/nve-textarea.component.js +12 -12
  73. package/css/nve.css +54 -45
  74. package/css/nve_dark.css +16 -7
  75. package/css/rme.css +54 -45
  76. package/css/rme_dark.css +16 -7
  77. package/css/varsom.css +54 -45
  78. package/css/varsom_dark.css +16 -7
  79. package/custom-elements.json +97 -1
  80. package/nve-designsystem.d.ts +2 -1
  81. package/nve-designsystem.js +43 -42
  82. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- import { n as e, s as t, t as n } from "./lit.js";
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 t`
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 ? t`
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
- ` : e}
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 { n as t } from "./directive-helpers.js";
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.G !== void 0 && this.rt(void 0), (r || this.lt !== this.ct) && (this.G = n, this.ht = t.options?.host, this.rt(this.ct = t.element)), e;
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;