nve-designsystem 4.2.0 → 4.4.2

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 (86) 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 +3 -3
  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 +3 -3
  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 +16 -13
  49. package/chunks/unsafe-html.js +1 -1
  50. package/components/nve-accordion/nve-accordion.component.js +1 -1
  51. package/components/nve-badge/nve-badge.component.js +1 -1
  52. package/components/nve-button/nve-button.component.js +1 -1
  53. package/components/nve-carousel-thumbnail/nve-carousel-thumbnail.component.js +1 -1
  54. package/components/nve-combobox/nve-combobox.component.js +1 -1
  55. package/components/nve-darkmode-switch/nve-darkmode-switch.component.js +3 -2
  56. package/components/nve-heading/nve-heading.component.d.ts +29 -0
  57. package/components/nve-heading/nve-heading.component.js +45 -0
  58. package/components/nve-heading/nve-heading.styles.d.ts +2 -0
  59. package/components/nve-heading/nve-heading.styles.js +41 -0
  60. package/components/nve-icon/nve-icon.component.js +1 -1
  61. package/components/nve-link-card/nve-link-card.component.js +6 -6
  62. package/components/nve-message-card/nve-message-card.component.js +1 -1
  63. package/components/nve-navigation-card/nve-navigation-card.component.js +8 -8
  64. package/components/nve-paragraph/nve-paragraph.component.d.ts +26 -0
  65. package/components/nve-paragraph/nve-paragraph.component.js +26 -0
  66. package/components/nve-paragraph/nve-paragraph.styles.d.ts +2 -0
  67. package/components/nve-paragraph/nve-paragraph.styles.js +105 -0
  68. package/components/nve-stepper/nve-step/nve-step.component.js +21 -21
  69. package/components/nve-stepper/nve-stepper-mobile.component.js +1 -1
  70. package/components/nve-stepper/nve-stepper.component.js +1 -1
  71. package/components/nve-switch/nve-switch.component.js +1 -1
  72. package/components/nve-tab/nve-tab.component.js +1 -1
  73. package/components/nve-tab-group/nve-tab-group.component.js +6 -6
  74. package/components/nve-tab-panel/nve-tab-panel.component.js +1 -1
  75. package/components/nve-tag/nve-tag.component.js +6 -6
  76. package/components/nve-textarea/nve-textarea.component.js +12 -12
  77. package/css/nve.css +54 -45
  78. package/css/nve_dark.css +16 -7
  79. package/css/rme.css +54 -45
  80. package/css/rme_dark.css +16 -7
  81. package/css/varsom.css +54 -45
  82. package/css/varsom_dark.css +16 -7
  83. package/custom-elements.json +170 -1
  84. package/nve-designsystem.d.ts +3 -1
  85. package/nve-designsystem.js +23 -21
  86. package/package.json +15 -7
package/css/varsom.css CHANGED
@@ -112,6 +112,15 @@
112
112
  --color-shades-functional-red-999: #411616;
113
113
  --color-shades-functional-red-000: #ffebee;
114
114
  --color-shades-functional-red-050: #ffd8de;
115
+ --color-shades-functional-danger-100: #ffb8b8;
116
+ --color-shades-functional-danger-200: #ff8f8f;
117
+ --color-shades-functional-danger-400: #ff3333;
118
+ --color-shades-functional-danger-600: #e50000;
119
+ --color-shades-functional-danger-800: #b20000;
120
+ --color-shades-functional-danger-900: #800000;
121
+ --color-shades-functional-danger-999: #4d0000;
122
+ --color-shades-functional-danger-050: #ffd6d6;
123
+ --color-shades-functional-danger-000: #ffebeb;
115
124
  --color-shades-functional-orange-100: #ffe3c2;
116
125
  --color-shades-functional-orange-150: #ffd9ad;
117
126
  --color-shades-functional-orange-200: #ffc98a;
@@ -253,7 +262,7 @@
253
262
  --box-shadow-none: 0 0 0 0 rgba(0,0,0,0);
254
263
  --box-shadow-soft: -59px 104px 33px 0 rgba(0,0,0,0.00), -38px 67px 31px 0 rgba(0,0,0,0.00), -21px 37px 26px 0 rgba(0,0,0,0.01), -9px 17px 19px 0 rgba(0,0,0,0.02), -2px 4px 11px 0 rgba(0,0,0,0.03);
255
264
  --box-shadow-hard: -45px 80px 26px 0 rgba(0,0,0,0.00), -29px 51px 23px 0 rgba(0,0,0,0.01), -16px 29px 20px 0 rgba(0,0,0,0.02), -7px 13px 15px 0 rgba(0,0,0,0.03), -2px 3px 8px 0 rgba(0,0,0,0.04);
256
- --box-shadow-header: 0 4px 032px 0 rgba(0,0,0,0.02);
265
+ --box-shadow-header: 0 4px 32px 0 rgba(0,0,0,0.02);
257
266
  --box-shadow-dropdown: 0 54px 15px 0 rgba(0,0,0,0.00), 0 35px 14px 0 rgba(0,0,0,0.00), 0 19px 12px 0 rgba(0,0,0,0.02), 0 9px 9px 0 rgba(0,0,0,0.03), 0 2px 5px 0 rgba(0,0,0,0.03);
258
267
  --boolean-brand-nve: false;
259
268
  --boolean-brand-varsom: true;
@@ -389,18 +398,18 @@
389
398
  --color-dangerlevel-background-default-level1: var(--color-shades-functional-green-500);
390
399
  --color-dangerlevel-background-default-level2: var(--color-shades-functional-yellow-500);
391
400
  --color-dangerlevel-background-default-level3: var(--color-shades-functional-orange-400);
392
- --color-dangerlevel-background-default-level4: var(--color-shades-functional-red-500);
393
- --color-dangerlevel-background-default-level5: var(--color-shades-functional-neutralgrey-950);
401
+ --color-dangerlevel-background-default-level4: var(--color-shades-functional-danger-400);
402
+ --color-dangerlevel-background-default-level5: var(--color-shades-functional-danger-900);
394
403
  --color-dangerlevel-background-mute-level1: var(--color-shades-functional-green-150);
395
404
  --color-dangerlevel-background-mute-level2: var(--color-shades-functional-yellow-200);
396
405
  --color-dangerlevel-background-mute-level3: var(--color-shades-functional-orange-150);
397
- --color-dangerlevel-background-mute-level4: var(--color-shades-functional-red-050);
398
- --color-dangerlevel-background-mute-level5: var(--color-shades-functional-neutralgrey-200);
406
+ --color-dangerlevel-background-mute-level4: var(--color-shades-functional-danger-050);
407
+ --color-dangerlevel-background-mute-level5: var(--color-shades-functional-danger-200);
399
408
  --color-dangerlevel-background-subtle-level1: var(--color-shades-functional-green-100);
400
409
  --color-dangerlevel-background-subtle-level2: var(--color-shades-functional-yellow-100);
401
410
  --color-dangerlevel-background-subtle-level3: var(--color-shades-functional-orange-050);
402
- --color-dangerlevel-background-subtle-level4: var(--color-shades-functional-red-000);
403
- --color-dangerlevel-background-subtle-level5: var(--color-shades-functional-neutralgrey-150);
411
+ --color-dangerlevel-background-subtle-level4: var(--color-shades-functional-danger-000);
412
+ --color-dangerlevel-background-subtle-level5: var(--color-shades-functional-danger-200);
404
413
  --color-dangerlevel-foreground-default-level1: var(--color-shades-functional-neutralgrey-999);
405
414
  --color-dangerlevel-foreground-default-level2: var(--color-shades-functional-neutralgrey-999);
406
415
  --color-dangerlevel-foreground-default-level3: var(--color-shades-functional-neutralgrey-999);
@@ -660,48 +669,48 @@
660
669
  --sizing-fixed-sizing-2x-large: var(--dimension-14x);
661
670
  --sizing-fixed-sizing-3x-large: var(--dimension-16x);
662
671
  --typography-heading-x-large: var(--font-weight-semibold) var(--font-size-3x-large)/var(--line-height-0) var(--font-family-primary-family);
663
- --typography-heading-large: var(--font-weight-semibold) var(--font-size-2x-large)/var(--line-height-1) var(--font-family-primary-family);
672
+ --typography-heading-large: var(--font-weight-semibold) var(--font-size-2x-large)/1.2 var(--font-family-primary-family);
664
673
  --typography-heading-medium: var(--font-weight-semibold) var(--font-size-x-large)/var(--line-height-2) var(--font-family-primary-family);
665
- --typography-heading-small: var(--font-weight-semibold) var(--font-size-large)/var(--line-height-3) var(--font-family-primary-family);
666
- --typography-heading-x-small: var(--font-weight-semibold) var(--font-size-medium)/var(--line-height-3) var(--font-family-primary-family);
667
- --typography-subheading-large: var(--font-weight-regular) var(--font-size-2x-large)/var(--line-height-1) var(--font-family-primary-family);
674
+ --typography-heading-small: var(--font-weight-semibold) var(--font-size-large)/1.3 var(--font-family-primary-family);
675
+ --typography-heading-x-small: var(--font-weight-semibold) var(--font-size-medium)/1.3 var(--font-family-primary-family);
676
+ --typography-subheading-large: var(--font-weight-regular) var(--font-size-2x-large)/1.2 var(--font-family-primary-family);
668
677
  --typography-subheading-medium: var(--font-weight-regular) var(--font-size-x-large)/var(--line-height-2) var(--font-family-primary-family);
669
- --typography-subheading-small: var(--font-weight-regular) var(--font-size-large)/var(--line-height-3) var(--font-family-primary-family);
670
- --typography-lead-large-regular: var(--font-weight-regular) var(--font-size-large)/var(--line-height-4) var(--font-family-primary-family);
671
- --typography-lead-large-semibold: var(--font-weight-semibold) var(--font-size-large)/var(--line-height-4) var(--font-family-primary-family);
672
- --typography-lead-medium-regular: var(--font-weight-regular) var(--font-size-medium)/var(--line-height-5) var(--font-family-primary-family);
673
- --typography-lead-medium-semibold: var(--font-weight-semibold) var(--font-size-medium)/var(--line-height-5) var(--font-family-primary-family);
678
+ --typography-subheading-small: var(--font-weight-regular) var(--font-size-large)/1.3 var(--font-family-primary-family);
679
+ --typography-lead-large-regular: var(--font-weight-regular) var(--font-size-large)/1.4 var(--font-family-primary-family);
680
+ --typography-lead-large-semibold: var(--font-weight-semibold) var(--font-size-large)/1.4 var(--font-family-primary-family);
681
+ --typography-lead-medium-regular: var(--font-weight-regular) var(--font-size-medium)/1.5 var(--font-family-primary-family);
682
+ --typography-lead-medium-semibold: var(--font-weight-semibold) var(--font-size-medium)/1.5 var(--font-family-primary-family);
674
683
  --font-size-small: var(--dimension-4-5x); /** 16 px */
675
- --typography-lead-small-regular: var(--font-weight-regular) var(--font-size-small)/var(--line-height-5) var(--font-family-primary-family);
676
- --typography-lead-small-semibold: var(--font-weight-semibold) var(--font-size-small)/var(--line-height-5) var(--font-family-primary-family);
677
- --typography-body-large: var(--font-weight-regular) var(--font-size-medium)/var(--line-height-5) var(--font-family-primary-family);
678
- --typography-body-large-underline: var(--font-weight-regular) var(--font-size-medium)/var(--line-height-5) var(--font-family-primary-family);
679
- --typography-body-medium: var(--font-weight-regular) var(--font-size-small)/var(--line-height-5) var(--font-family-primary-family);
680
- --typography-body-medium-underline: var(--font-weight-regular) var(--font-size-small)/var(--line-height-5) var(--font-family-primary-family);
681
- --typography-body-small: var(--font-weight-regular) var(--font-size-x-small)/var(--line-height-5) var(--font-family-primary-family);
682
- --typography-body-small-underline: var(--font-weight-regular) var(--font-size-x-small)/var(--line-height-5) var(--font-family-primary-family);
683
- --typography-body-x-small: var(--font-weight-regular) var(--font-size-2x-small)/var(--line-height-5) var(--font-family-primary-family);
684
- --typography-body-x-small-underline: var(--font-weight-regular) var(--font-size-2x-small)/var(--line-height-5) var(--font-family-primary-family);
685
- --typography-body-compact-large-compact: var(--font-weight-regular) var(--font-size-medium)/var(--line-height-1) var(--font-family-primary-family);
686
- --typography-body-compact-large-underline-compact: var(--font-weight-regular) var(--font-size-medium)/var(--line-height-1) var(--font-family-primary-family);
687
- --typography-body-compact-medium-compact: var(--font-weight-regular) var(--font-size-small)/var(--line-height-1) var(--font-family-primary-family);
688
- --typography-body-compact-medium-underline-compact: var(--font-weight-regular) var(--font-size-small)/var(--line-height-1) var(--font-family-primary-family);
689
- --typography-body-compact-small-compact: var(--font-weight-regular) var(--font-size-x-small)/var(--line-height-1) var(--font-family-primary-family);
690
- --typography-body-compact-small-underline-compact: var(--font-weight-regular) var(--font-size-x-small)/var(--line-height-1) var(--font-family-primary-family);
691
- --typography-body-compact-x-small-compact: var(--font-weight-regular) var(--font-size-2x-small)/var(--line-height-1) var(--font-family-primary-family);
692
- --typography-body-compact-x-small-underline-compact: var(--font-weight-regular) var(--font-size-2x-small)/var(--line-height-1) var(--font-family-primary-family);
693
- --typography-detailtext-caption: var(--font-weight-regular) var(--font-size-2x-small)/var(--line-height-5) var(--font-family-primary-family);
694
- --typography-detailtext-caps-large: var(--font-weight-semibold) var(--font-size-medium)/var(--line-height-5) var(--font-family-primary-family);
695
- --typography-detailtext-caps-small: var(--font-weight-semibold) var(--font-size-x-small)/var(--line-height-5) var(--font-family-primary-family);
696
- --typography-label-large: var(--font-weight-semibold) var(--font-size-medium)/var(--line-height-6) var(--font-family-primary-family);
697
- --typography-label-large-light: var(--font-weight-regular) var(--font-size-medium)/var(--line-height-6) var(--font-family-primary-family);
698
- --typography-label-medium: var(--font-weight-semibold) var(--font-size-small)/var(--line-height-6) var(--font-family-primary-family);
699
- --typography-label-medium-light: var(--font-weight-regular) var(--font-size-small)/var(--line-height-6) var(--font-family-primary-family);
700
- --typography-label-small: var(--font-weight-semibold) var(--font-size-x-small)/var(--line-height-6) var(--font-family-primary-family);
701
- --typography-label-small-light: var(--font-weight-regular) var(--font-size-x-small)/var(--line-height-6) var(--font-family-primary-family);
684
+ --typography-lead-small-regular: var(--font-weight-regular) var(--font-size-small)/1.5 var(--font-family-primary-family);
685
+ --typography-lead-small-semibold: var(--font-weight-semibold) var(--font-size-small)/1.5 var(--font-family-primary-family);
686
+ --typography-body-large: var(--font-weight-regular) var(--font-size-medium)/1.5 var(--font-family-primary-family);
687
+ --typography-body-large-underline: var(--font-weight-regular) var(--font-size-medium)/1.5 var(--font-family-primary-family);
688
+ --typography-body-medium: var(--font-weight-regular) var(--font-size-small)/1.5 var(--font-family-primary-family);
689
+ --typography-body-medium-underline: var(--font-weight-regular) var(--font-size-small)/1.5 var(--font-family-primary-family);
690
+ --typography-body-small: var(--font-weight-regular) var(--font-size-x-small)/1.5 var(--font-family-primary-family);
691
+ --typography-body-small-underline: var(--font-weight-regular) var(--font-size-x-small)/1.5 var(--font-family-primary-family);
692
+ --typography-body-x-small: var(--font-weight-regular) var(--font-size-2x-small)/1.5 var(--font-family-primary-family);
693
+ --typography-body-x-small-underline: var(--font-weight-regular) var(--font-size-2x-small)/1.5 var(--font-family-primary-family);
694
+ --typography-body-compact-large-compact: var(--font-weight-regular) var(--font-size-medium)/1.2 var(--font-family-primary-family);
695
+ --typography-body-compact-large-underline-compact: var(--font-weight-regular) var(--font-size-medium)/1.2 var(--font-family-primary-family);
696
+ --typography-body-compact-medium-compact: var(--font-weight-regular) var(--font-size-small)/1.2 var(--font-family-primary-family);
697
+ --typography-body-compact-medium-underline-compact: var(--font-weight-regular) var(--font-size-small)/1.2 var(--font-family-primary-family);
698
+ --typography-body-compact-small-compact: var(--font-weight-regular) var(--font-size-x-small)/1.2 var(--font-family-primary-family);
699
+ --typography-body-compact-small-underline-compact: var(--font-weight-regular) var(--font-size-x-small)/1.2 var(--font-family-primary-family);
700
+ --typography-body-compact-x-small-compact: var(--font-weight-regular) var(--font-size-2x-small)/1.2 var(--font-family-primary-family);
701
+ --typography-body-compact-x-small-underline-compact: var(--font-weight-regular) var(--font-size-2x-small)/1.2 var(--font-family-primary-family);
702
+ --typography-detailtext-caption: var(--font-weight-regular) var(--font-size-2x-small)/1.5 var(--font-family-primary-family);
703
+ --typography-detailtext-caps-large: var(--font-weight-semibold) var(--font-size-medium)/1.5 var(--font-family-primary-family);
704
+ --typography-detailtext-caps-small: var(--font-weight-semibold) var(--font-size-x-small)/1.5 var(--font-family-primary-family);
705
+ --typography-label-large: var(--font-weight-semibold) var(--font-size-medium)/1.1 var(--font-family-primary-family);
706
+ --typography-label-large-light: var(--font-weight-regular) var(--font-size-medium)/1.1 var(--font-family-primary-family);
707
+ --typography-label-medium: var(--font-weight-semibold) var(--font-size-small)/1.1 var(--font-family-primary-family);
708
+ --typography-label-medium-light: var(--font-weight-regular) var(--font-size-small)/1.1 var(--font-family-primary-family);
709
+ --typography-label-small: var(--font-weight-semibold) var(--font-size-x-small)/1.1 var(--font-family-primary-family);
710
+ --typography-label-small-light: var(--font-weight-regular) var(--font-size-x-small)/1.1 var(--font-family-primary-family);
702
711
  --font-size-2x-small: var(--dimension-3-5x); /** 12 px */
703
- --typography-label-x-small: var(--font-weight-semibold) var(--font-size-2x-small)/var(--line-height-6) var(--font-family-primary-family);
704
- --typography-label-x-small-light: var(--font-weight-regular) var(--font-size-2x-small)/var(--line-height-6) var(--font-family-primary-family);
712
+ --typography-label-x-small: var(--font-weight-semibold) var(--font-size-2x-small)/1.1 var(--font-family-primary-family);
713
+ --typography-label-x-small-light: var(--font-weight-regular) var(--font-size-2x-small)/1.1 var(--font-family-primary-family);
705
714
  --font-size-x-small: var(--dimension-4x); /** 14 px */
706
715
  --font-size-medium: var(--dimension-5x); /** 18 px */
707
716
  --font-size-large: var(--dimension-6x); /** 20 px */
@@ -112,6 +112,15 @@
112
112
  --color-shades-functional-red-999: #411616;
113
113
  --color-shades-functional-red-000: #ffebee;
114
114
  --color-shades-functional-red-050: #ffd8de;
115
+ --color-shades-functional-danger-100: #ffb8b8;
116
+ --color-shades-functional-danger-200: #ff8f8f;
117
+ --color-shades-functional-danger-400: #ff3333;
118
+ --color-shades-functional-danger-600: #e50000;
119
+ --color-shades-functional-danger-800: #b20000;
120
+ --color-shades-functional-danger-900: #800000;
121
+ --color-shades-functional-danger-999: #4d0000;
122
+ --color-shades-functional-danger-050: #ffd6d6;
123
+ --color-shades-functional-danger-000: #ffebeb;
115
124
  --color-shades-functional-orange-100: #ffe3c2;
116
125
  --color-shades-functional-orange-150: #ffd9ad;
117
126
  --color-shades-functional-orange-200: #ffc98a;
@@ -253,7 +262,7 @@
253
262
  --box-shadow-none: 0 0 0 0 rgba(0,0,0,0);
254
263
  --box-shadow-soft: -59px 104px 33px 0 rgba(0,0,0,0.00), -38px 67px 31px 0 rgba(0,0,0,0.00), -21px 37px 26px 0 rgba(0,0,0,0.01), -9px 17px 19px 0 rgba(0,0,0,0.02), -2px 4px 11px 0 rgba(0,0,0,0.03);
255
264
  --box-shadow-hard: -45px 80px 26px 0 rgba(0,0,0,0.00), -29px 51px 23px 0 rgba(0,0,0,0.01), -16px 29px 20px 0 rgba(0,0,0,0.02), -7px 13px 15px 0 rgba(0,0,0,0.03), -2px 3px 8px 0 rgba(0,0,0,0.04);
256
- --box-shadow-header: 0 4px 032px 0 rgba(0,0,0,0.02);
265
+ --box-shadow-header: 0 4px 32px 0 rgba(0,0,0,0.02);
257
266
  --box-shadow-dropdown: 0 54px 15px 0 rgba(0,0,0,0.00), 0 35px 14px 0 rgba(0,0,0,0.00), 0 19px 12px 0 rgba(0,0,0,0.02), 0 9px 9px 0 rgba(0,0,0,0.03), 0 2px 5px 0 rgba(0,0,0,0.03);
258
267
  --boolean-brand-nve: false;
259
268
  --boolean-brand-varsom: true;
@@ -389,18 +398,18 @@
389
398
  --color-dangerlevel-background-default-level1: var(--color-shades-functional-green-500);
390
399
  --color-dangerlevel-background-default-level2: var(--color-shades-functional-yellow-500);
391
400
  --color-dangerlevel-background-default-level3: var(--color-shades-functional-orange-400);
392
- --color-dangerlevel-background-default-level4: var(--color-shades-functional-red-500);
393
- --color-dangerlevel-background-default-level5: var(--color-shades-functional-neutralgrey-950);
401
+ --color-dangerlevel-background-default-level4: var(--color-shades-functional-danger-400);
402
+ --color-dangerlevel-background-default-level5: var(--color-shades-functional-danger-900);
394
403
  --color-dangerlevel-background-mute-level1: var(--color-shades-functional-green-150);
395
404
  --color-dangerlevel-background-mute-level2: var(--color-shades-functional-yellow-200);
396
405
  --color-dangerlevel-background-mute-level3: var(--color-shades-functional-orange-150);
397
- --color-dangerlevel-background-mute-level4: var(--color-shades-functional-red-050);
398
- --color-dangerlevel-background-mute-level5: var(--color-shades-functional-neutralgrey-200);
406
+ --color-dangerlevel-background-mute-level4: var(--color-shades-functional-danger-050);
407
+ --color-dangerlevel-background-mute-level5: var(--color-shades-functional-danger-200);
399
408
  --color-dangerlevel-background-subtle-level1: var(--color-shades-functional-green-100);
400
409
  --color-dangerlevel-background-subtle-level2: var(--color-shades-functional-yellow-100);
401
410
  --color-dangerlevel-background-subtle-level3: var(--color-shades-functional-orange-050);
402
- --color-dangerlevel-background-subtle-level4: var(--color-shades-functional-red-000);
403
- --color-dangerlevel-background-subtle-level5: var(--color-shades-functional-neutralgrey-150);
411
+ --color-dangerlevel-background-subtle-level4: var(--color-shades-functional-danger-000);
412
+ --color-dangerlevel-background-subtle-level5: var(--color-shades-functional-danger-200);
404
413
  --color-dangerlevel-foreground-default-level1: var(--color-shades-functional-neutralgrey-999);
405
414
  --color-dangerlevel-foreground-default-level2: var(--color-shades-functional-neutralgrey-999);
406
415
  --color-dangerlevel-foreground-default-level3: var(--color-shades-functional-neutralgrey-999);
@@ -2133,6 +2133,99 @@
2133
2133
  }
2134
2134
  ]
2135
2135
  },
2136
+ {
2137
+ "kind": "javascript-module",
2138
+ "path": "components/nve-heading/nve-heading.js",
2139
+ "declarations": [
2140
+ {
2141
+ "kind": "class",
2142
+ "description": "nve-heading gir semantisk og tilgjengelig overskrift med riktig typografi fra designsystemet. Brukes for å sikre korrekt heading-hierarki (h1–h6) og typografi, og kan overstyres med variant for heading eller subheading.",
2143
+ "name": "NveHeading",
2144
+ "slots": [
2145
+ {
2146
+ "description": "tekst - Selve overskriften (innholdet).",
2147
+ "name": "-"
2148
+ }
2149
+ ],
2150
+ "cssParts": [
2151
+ {
2152
+ "name": "nve-heading",
2153
+ "description": "Hele heading-elementet Se designsystemet for alle varianter og tokens."
2154
+ }
2155
+ ],
2156
+ "members": [
2157
+ {
2158
+ "kind": "field",
2159
+ "name": "testId",
2160
+ "type": {
2161
+ "text": "string | undefined"
2162
+ },
2163
+ "default": "undefined"
2164
+ },
2165
+ {
2166
+ "kind": "field",
2167
+ "name": "level",
2168
+ "type": {
2169
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2170
+ },
2171
+ "default": "1",
2172
+ "description": "Heading level - Hvilket nivå overskriften skal ha (h1-h6)"
2173
+ },
2174
+ {
2175
+ "kind": "field",
2176
+ "name": "size",
2177
+ "type": {
2178
+ "text": "| 'headingXlarge'\n | 'headingLarge'\n | 'headingMedium'\n | 'headingSmall'\n | 'headingXsmall'\n | 'subheadingLarge'\n | 'subheadingMedium'\n | 'subheadingSmall'"
2179
+ },
2180
+ "description": "Typografitype - Kan overstyre det som er standard typografi basert på nivå"
2181
+ }
2182
+ ],
2183
+ "attributes": [
2184
+ {
2185
+ "name": "testId",
2186
+ "type": {
2187
+ "text": "string | undefined"
2188
+ }
2189
+ },
2190
+ {
2191
+ "name": "level",
2192
+ "type": {
2193
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2194
+ },
2195
+ "description": "Heading level - Hvilket nivå overskriften skal ha (h1-h6)",
2196
+ "reflects": true
2197
+ },
2198
+ {
2199
+ "name": "size",
2200
+ "type": {
2201
+ "text": "| 'headingXlarge'\n | 'headingLarge'\n | 'headingMedium'\n | 'headingSmall'\n | 'headingXsmall'\n | 'subheadingLarge'\n | 'subheadingMedium'\n | 'subheadingSmall'"
2202
+ },
2203
+ "description": "Typografitype - Kan overstyre det som er standard typografi basert på nivå",
2204
+ "reflects": true
2205
+ }
2206
+ ],
2207
+ "superclass": {
2208
+ "name": "LitElement",
2209
+ "package": "lit"
2210
+ },
2211
+ "tagNameWithoutPrefix": "heading",
2212
+ "tagName": "nve-heading",
2213
+ "customElement": true,
2214
+ "jsDoc": "/**\n * nve-heading gir semantisk og tilgjengelig overskrift med riktig typografi fra designsystemet.\n * Brukes for å sikre korrekt heading-hierarki (h1–h6) og typografi, og kan overstyres med variant for heading eller subheading.\n *\n * @slot - tekst - Selve overskriften (innholdet).\n *\n * @csspart nve-heading Hele heading-elementet\n *\n * Se designsystemet for alle varianter og tokens.\n */",
2215
+ "modulePath": "src/components/nve-heading/nve-heading.component.ts"
2216
+ }
2217
+ ],
2218
+ "exports": [
2219
+ {
2220
+ "kind": "js",
2221
+ "name": "default",
2222
+ "declaration": {
2223
+ "name": "NveHeading",
2224
+ "module": "components/nve-heading/nve-heading.js"
2225
+ }
2226
+ }
2227
+ ]
2228
+ },
2136
2229
  {
2137
2230
  "kind": "javascript-module",
2138
2231
  "path": "components/nve-icon/nve-icon.js",
@@ -2223,7 +2316,7 @@
2223
2316
  "tagNameWithoutPrefix": "icon",
2224
2317
  "tagName": "nve-icon",
2225
2318
  "customElement": true,
2226
- "jsDoc": "/**\n * Et ikon.\n * Vi bruker ikoner fra Material Symbols, men det er også mulig å bruke ikoner fra eget repo. \n * Vi anbefaler å bruke Material-ikonene.\n * Strektykkelsen skal være 400, uavhengig av ikonets størrelse, og kun stilene Sharp og Outlined skal brukes.\n * Fill-stilen bør unngås, da den fyller hele ikonet med farge i stedet for å bruke kun konturer\n * @see https://fonts.google.com/icons\n * @csspart icon - Selve ikon span-element.\n * @cssproperty --icon-size - Størrelse på ikonet. 16px er standard.\n */",
2319
+ "jsDoc": "/**\n * Et ikon.\n * Vi bruker ikoner fra Material Symbols, men det er også mulig å bruke ikoner fra eget repo.\n * Vi anbefaler å bruke Material-ikonene.\n * Strektykkelsen skal være 400, uavhengig av ikonets størrelse, og kun stilene Sharp og Outlined skal brukes.\n * Fill-stilen bør unngås, da den fyller hele ikonet med farge i stedet for å bruke kun konturer\n * @see https://fonts.google.com/icons\n * @csspart icon - Selve ikon span-element.\n * @cssproperty --icon-size - Størrelse på ikonet. 16px er standard.\n */",
2227
2320
  "modulePath": "src/components/nve-icon/nve-icon.component.ts"
2228
2321
  }
2229
2322
  ],
@@ -3151,6 +3244,82 @@
3151
3244
  }
3152
3245
  ]
3153
3246
  },
3247
+ {
3248
+ "kind": "javascript-module",
3249
+ "path": "components/nve-paragraph/nve-paragraph.js",
3250
+ "declarations": [
3251
+ {
3252
+ "kind": "class",
3253
+ "description": "nve-paragraph gir fleksibel og tilgjengelig typografi for avsnitt i designsystemet. Brukes til brødtekst, mengdetekst og ingress (lead), og gir riktig styling basert på designsystemets tokens. Du styrer typografivariant med size-prop, og kan velge mellom ulike varianter for brødtekst (body), ingress (lead) og kompakt tekst (body-compact).",
3254
+ "name": "NveParagraph",
3255
+ "slots": [
3256
+ {
3257
+ "description": "tekst - Selve avsnittet (innholdet).",
3258
+ "name": "-"
3259
+ }
3260
+ ],
3261
+ "cssParts": [
3262
+ {
3263
+ "name": "paragraph",
3264
+ "description": "Hele paragraph-elementet Se designsystemet for alle varianter og tokens."
3265
+ }
3266
+ ],
3267
+ "members": [
3268
+ {
3269
+ "kind": "field",
3270
+ "name": "testId",
3271
+ "type": {
3272
+ "text": "string | undefined"
3273
+ },
3274
+ "default": "undefined"
3275
+ },
3276
+ {
3277
+ "kind": "field",
3278
+ "name": "size",
3279
+ "type": {
3280
+ "text": "| 'leadLargeRegular'\n | 'leadLargeSemibold'\n | 'leadMediumRegular'\n | 'leadMediumSemibold'\n | 'leadSmallRegular'\n | 'leadSmallSemibold'\n | 'bodyLarge'\n | 'bodyLargeUnderline'\n | 'bodyMedium'\n | 'bodyMediumUnderline'\n | 'bodySmall'\n | 'bodySmallUnderline'\n | 'bodyXSmall'\n | 'bodyXSmallUnderline'\n | 'bodyLargeCompact'\n | 'bodyLargeUnderlineCompact'\n | 'bodyMediumCompact'\n | 'bodyMediumUnderlineCompact'\n | 'bodySmallCompact'\n | 'bodySmallUnderlineCompact'\n | 'bodyXSmallCompact'\n | 'bodyXSmallUnderlineCompact'"
3281
+ },
3282
+ "description": "Typografivariant for paragrafen"
3283
+ }
3284
+ ],
3285
+ "attributes": [
3286
+ {
3287
+ "name": "testId",
3288
+ "type": {
3289
+ "text": "string | undefined"
3290
+ }
3291
+ },
3292
+ {
3293
+ "name": "size",
3294
+ "type": {
3295
+ "text": "| 'leadLargeRegular'\n | 'leadLargeSemibold'\n | 'leadMediumRegular'\n | 'leadMediumSemibold'\n | 'leadSmallRegular'\n | 'leadSmallSemibold'\n | 'bodyLarge'\n | 'bodyLargeUnderline'\n | 'bodyMedium'\n | 'bodyMediumUnderline'\n | 'bodySmall'\n | 'bodySmallUnderline'\n | 'bodyXSmall'\n | 'bodyXSmallUnderline'\n | 'bodyLargeCompact'\n | 'bodyLargeUnderlineCompact'\n | 'bodyMediumCompact'\n | 'bodyMediumUnderlineCompact'\n | 'bodySmallCompact'\n | 'bodySmallUnderlineCompact'\n | 'bodyXSmallCompact'\n | 'bodyXSmallUnderlineCompact'"
3296
+ },
3297
+ "description": "Typografivariant for paragrafen",
3298
+ "reflects": true
3299
+ }
3300
+ ],
3301
+ "superclass": {
3302
+ "name": "LitElement",
3303
+ "package": "lit"
3304
+ },
3305
+ "tagNameWithoutPrefix": "paragraph",
3306
+ "tagName": "nve-paragraph",
3307
+ "customElement": true,
3308
+ "jsDoc": "/**\n * nve-paragraph gir fleksibel og tilgjengelig typografi for avsnitt i designsystemet.\n * Brukes til brødtekst, mengdetekst og ingress (lead), og gir riktig styling basert på designsystemets tokens.\n *\n * Du styrer typografivariant med size-prop, og kan velge mellom ulike varianter for brødtekst (body), ingress (lead) og kompakt tekst (body-compact).\n *\n * @slot - tekst - Selve avsnittet (innholdet).\n *\n * @csspart paragraph Hele paragraph-elementet\n *\n * Se designsystemet for alle varianter og tokens.\n */",
3309
+ "modulePath": "src/components/nve-paragraph/nve-paragraph.component.ts"
3310
+ }
3311
+ ],
3312
+ "exports": [
3313
+ {
3314
+ "kind": "js",
3315
+ "name": "default",
3316
+ "declaration": {
3317
+ "name": "NveParagraph",
3318
+ "module": "components/nve-paragraph/nve-paragraph.js"
3319
+ }
3320
+ }
3321
+ ]
3322
+ },
3154
3323
  {
3155
3324
  "kind": "javascript-module",
3156
3325
  "path": "components/nve-popup/nve-popup.js",
@@ -1,5 +1,5 @@
1
1
  /** Alle komponenter som er tilgjengelige, i alfabetisk rekkefølge. */
2
- /** Denne filen blir genererert av npm run add-component */
2
+ /** Denne filen blir genererert av pnpm run add-component */
3
3
  export { default as NveAccordion } from './components/nve-accordion/nve-accordion.component';
4
4
  export { default as NveAccordionItem } from './components/nve-accordion-item/nve-accordion-item.component';
5
5
  export { default as NveAlert } from './components/nve-alert/nve-alert.component';
@@ -16,6 +16,7 @@ export { default as NveDialog } from './components/nve-dialog/nve-dialog.compone
16
16
  export { default as NveDivider } from './components/nve-divider/nve-divider.component';
17
17
  export { default as NveDrawer } from './components/nve-drawer/nve-drawer.component';
18
18
  export { default as NveDropdown } from './components/nve-dropdown/nve-dropdown.component';
19
+ export { default as NveHeading } from './components/nve-heading/nve-heading.component';
19
20
  export { default as NveIcon } from './components/nve-icon/nve-icon.component';
20
21
  export { default as NveInput } from './components/nve-input/nve-input.component';
21
22
  export { default as NveLabel } from './components/nve-label/nve-label.component';
@@ -25,6 +26,7 @@ export { default as NveMenuItem } from './components/nve-menu-item/nve-menu-item
25
26
  export { default as NveMessageCard } from './components/nve-message-card/nve-message-card.component';
26
27
  export { default as NveNavigationCard } from './components/nve-navigation-card/nve-navigation-card.component';
27
28
  export { default as NveOption } from './components/nve-option/nve-option.component';
29
+ export { default as NveParagraph } from './components/nve-paragraph/nve-paragraph.component';
28
30
  export { default as NvePopup } from './components/nve-popup/nve-popup.component';
29
31
  export { default as NveRadio } from './components/nve-radio/nve-radio.component';
30
32
  export { default as NveRadioButton } from './components/nve-radio-button/nve-radio-button.component';
@@ -21,24 +21,26 @@ import { t as y } from "./chunks/nve-dialog.component.js";
21
21
  import { t as b } from "./chunks/nve-divider.component.js";
22
22
  import { t as x } from "./chunks/nve-drawer.component.js";
23
23
  import { t as S } from "./chunks/nve-dropdown.component.js";
24
- import C from "./components/nve-link-card/nve-link-card.component.js";
25
- import { t as w } from "./chunks/nve-menu-item.component.js";
26
- import T from "./components/nve-message-card/nve-message-card.component.js";
27
- import E from "./components/nve-navigation-card/nve-navigation-card.component.js";
28
- import { t as D } from "./chunks/nve-radio.component.js";
29
- import { t as O } from "./chunks/nve-radio-button.component.js";
30
- import { t as k } from "./chunks/nve-radio-group.component.js";
31
- import A from "./components/nve-relative-time/nve-relative-time.component.js";
32
- import { t as j } from "./chunks/nve-select.component.js";
33
- import { t as M } from "./chunks/nve-skeleton.component.js";
34
- import { t as N } from "./chunks/nve-spinner.component.js";
35
- import P from "./components/nve-stepper/nve-step/nve-step.component.js";
36
- import F from "./components/nve-stepper/nve-stepper.component.js";
37
- import I from "./components/nve-switch/nve-switch.component.js";
38
- import L from "./components/nve-tab/nve-tab.component.js";
39
- import R from "./components/nve-tab-group/nve-tab-group.component.js";
40
- import z from "./components/nve-tab-panel/nve-tab-panel.component.js";
41
- import B from "./components/nve-tag/nve-tag.component.js";
42
- import V from "./components/nve-textarea/nve-textarea.component.js";
43
- import { t as H } from "./chunks/nve-warning-level.component.js";
44
- export { e as NveAccordion, t as NveAccordionItem, n as NveAlert, i as NveBadge, a as NveButton, o as NveCarousel, s as NveCarouselItem, c as NveCarouselThumbnail, l as NveCheckbox, f as NveCheckboxGroup, _ as NveCombobox, v as NveDarkmodeSwitch, y as NveDialog, b as NveDivider, x as NveDrawer, S as NveDropdown, r as NveIcon, m as NveInput, u as NveLabel, C as NveLinkCard, h as NveMenu, w as NveMenuItem, T as NveMessageCard, E as NveNavigationCard, g as NveOption, p as NvePopup, D as NveRadio, O as NveRadioButton, k as NveRadioGroup, A as NveRelativeTime, j as NveSelect, M as NveSkeleton, N as NveSpinner, P as NveStep, F as NveStepper, I as NveSwitch, L as NveTab, R as NveTabGroup, z as NveTabPanel, B as NveTag, V as NveTextarea, d as NveTooltip, H as NveWarningLevel };
24
+ import C from "./components/nve-heading/nve-heading.component.js";
25
+ import w from "./components/nve-link-card/nve-link-card.component.js";
26
+ import { t as T } from "./chunks/nve-menu-item.component.js";
27
+ import E from "./components/nve-message-card/nve-message-card.component.js";
28
+ import D from "./components/nve-navigation-card/nve-navigation-card.component.js";
29
+ import O from "./components/nve-paragraph/nve-paragraph.component.js";
30
+ import { t as k } from "./chunks/nve-radio.component.js";
31
+ import { t as A } from "./chunks/nve-radio-button.component.js";
32
+ import { t as j } from "./chunks/nve-radio-group.component.js";
33
+ import M from "./components/nve-relative-time/nve-relative-time.component.js";
34
+ import { t as N } from "./chunks/nve-select.component.js";
35
+ import { t as P } from "./chunks/nve-skeleton.component.js";
36
+ import { t as F } from "./chunks/nve-spinner.component.js";
37
+ import I from "./components/nve-stepper/nve-step/nve-step.component.js";
38
+ import L from "./components/nve-stepper/nve-stepper.component.js";
39
+ import R from "./components/nve-switch/nve-switch.component.js";
40
+ import z from "./components/nve-tab/nve-tab.component.js";
41
+ import B from "./components/nve-tab-group/nve-tab-group.component.js";
42
+ import V from "./components/nve-tab-panel/nve-tab-panel.component.js";
43
+ import H from "./components/nve-tag/nve-tag.component.js";
44
+ import U from "./components/nve-textarea/nve-textarea.component.js";
45
+ import { t as W } from "./chunks/nve-warning-level.component.js";
46
+ export { e as NveAccordion, t as NveAccordionItem, n as NveAlert, i as NveBadge, a as NveButton, o as NveCarousel, s as NveCarouselItem, c as NveCarouselThumbnail, l as NveCheckbox, f as NveCheckboxGroup, _ as NveCombobox, v as NveDarkmodeSwitch, y as NveDialog, b as NveDivider, x as NveDrawer, S as NveDropdown, C as NveHeading, r as NveIcon, m as NveInput, u as NveLabel, w as NveLinkCard, h as NveMenu, T as NveMenuItem, E as NveMessageCard, D as NveNavigationCard, g as NveOption, O as NveParagraph, p as NvePopup, k as NveRadio, A as NveRadioButton, j as NveRadioGroup, M as NveRelativeTime, N as NveSelect, P as NveSkeleton, F as NveSpinner, I as NveStep, L as NveStepper, R as NveSwitch, z as NveTab, B as NveTabGroup, V as NveTabPanel, H as NveTag, U as NveTextarea, d as NveTooltip, W as NveWarningLevel };
package/package.json CHANGED
@@ -11,8 +11,11 @@
11
11
  },
12
12
  "license": "MIT",
13
13
  "homepage": "https://github.com/NVE/Designsystem/",
14
- "version": "4.2.0",
14
+ "version": "4.4.2",
15
15
  "customElements": "dist/custom-elements.json",
16
+ "engines": {
17
+ "node": "^24.16.0"
18
+ },
16
19
  "exports": {
17
20
  ".": {
18
21
  "import": "./nve-designsystem.js",
@@ -28,15 +31,14 @@
28
31
  },
29
32
  "type": "module",
30
33
  "types": "nve-designsystem.d.ts",
31
- "scripts": {},
32
34
  "dependencies": {
33
35
  "@shoelace-style/shoelace": "^2.20.1",
34
36
  "fontfaceobserver": "^2.3.0",
35
- "lit": "^3.3.2"
37
+ "lit": "^3.3.3"
36
38
  },
37
39
  "devDependencies": {},
38
40
  "optionalDependencies": {
39
- "@rollup/rollup-linux-x64-gnu": "^4.60.3"
41
+ "@rollup/rollup-linux-x64-gnu": "^4.61.1"
40
42
  },
41
43
  "config": {
42
44
  "commitizen": {
@@ -46,7 +48,13 @@
46
48
  "overrides": {
47
49
  "minimatch": ">=10.2.1",
48
50
  "minimist": ">=1.2.6",
49
- "lodash": ">=4.17.23",
50
- "tmp": ">=0.2.4"
51
- }
51
+ "lodash": ">=4.18.0",
52
+ "tmp": ">=0.2.4",
53
+ "@vue/eslint-config-typescript": {
54
+ "@typescript-eslint/utils": "8.59.3",
55
+ "typescript-eslint": "8.59.3"
56
+ },
57
+ "koa": "2.16.4"
58
+ },
59
+ "scripts": {}
52
60
  }