@ndwnu/design-system 5.0.0 → 6.0.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 (181) hide show
  1. package/components/alert/alert.model.d.ts +1 -6
  2. package/components/banner/banner.model.d.ts +1 -4
  3. package/components/card/card-header/card-header.component.d.ts +7 -1
  4. package/components/card/card.animation.d.ts +1 -0
  5. package/components/card/card.component.d.ts +15 -2
  6. package/components/card/index.d.ts +2 -2
  7. package/components/dropdown/dropdown.component.d.ts +1 -1
  8. package/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.d.ts +3 -3
  9. package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.d.ts +7 -7
  10. package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.d.ts +5 -2
  11. package/components/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.d.ts +5 -6
  12. package/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.d.ts +12 -14
  13. package/components/form-field/autosuggest/autosuggest.directive.d.ts +7 -8
  14. package/components/form-field/clear-search-button/clear-search-button.component.d.ts +2 -1
  15. package/components/form-field/form-field.component.d.ts +2 -1
  16. package/components/form-field/input/input.model.d.ts +1 -11
  17. package/components/form-field/picker-button/picker-button.component.d.ts +1 -0
  18. package/components/form-field/textarea/auto-grow.directive.d.ts +6 -3
  19. package/components/form-field/textarea/index.d.ts +1 -0
  20. package/components/form-field/textarea/max-char.directive.d.ts +15 -0
  21. package/components/icon/action-icon/action-icon.component.d.ts +2 -2
  22. package/components/index.d.ts +1 -0
  23. package/components/layout/layout.component.d.ts +5 -2
  24. package/components/main-navigation/main-navigation.imports.d.ts +1 -1
  25. package/components/main-navigation/main-navigation.model.d.ts +1 -4
  26. package/components/modal/modal.component.d.ts +1 -2
  27. package/components/multi-select/multi-select.component.d.ts +3 -3
  28. package/components/pill/pill.model.d.ts +1 -8
  29. package/components/router-breadcrumbs/router-breadcrumbs.component.d.ts +2 -2
  30. package/components/summary-card/index.d.ts +10 -0
  31. package/components/summary-card/summary-card-action/summary-card-action.component.d.ts +11 -0
  32. package/components/summary-card/summary-card-actions/summary-card-actions.component.d.ts +9 -0
  33. package/components/summary-card/summary-card-avatar/summary-card-avatar.component.d.ts +8 -0
  34. package/components/summary-card/summary-card-content/summary-card-content.component.d.ts +5 -0
  35. package/components/summary-card/summary-card-header/summary-card-header.component.d.ts +5 -0
  36. package/components/summary-card/summary-card-subtitle/summary-card-subtitle.component.d.ts +5 -0
  37. package/components/summary-card/summary-card-tag/summary-card-tag.component.d.ts +5 -0
  38. package/components/summary-card/summary-card-tags/summary-card-tags.component.d.ts +5 -0
  39. package/components/summary-card/summary-card.component.d.ts +5 -0
  40. package/components/summary-card/summary-card.model.d.ts +2 -0
  41. package/components/tag/tag.component.d.ts +2 -2
  42. package/core/style/styles.css +217 -11
  43. package/core/style/styles.scss +217 -11
  44. package/fesm2022/ndwnu-design-system.mjs +608 -334
  45. package/fesm2022/ndwnu-design-system.mjs.map +1 -1
  46. package/package.json +5 -7
  47. package/esm2022/components/accordion/accordion.component.mjs +0 -32
  48. package/esm2022/components/accordion/accordion.service.mjs +0 -17
  49. package/esm2022/components/accordion/index.mjs +0 -3
  50. package/esm2022/components/alert/alert.component.mjs +0 -42
  51. package/esm2022/components/alert/alert.model.mjs +0 -8
  52. package/esm2022/components/alert/index.mjs +0 -3
  53. package/esm2022/components/badge/badge.component.mjs +0 -21
  54. package/esm2022/components/badge/index.mjs +0 -2
  55. package/esm2022/components/banner/banner.component.mjs +0 -61
  56. package/esm2022/components/banner/banner.model.mjs +0 -6
  57. package/esm2022/components/banner/index.mjs +0 -3
  58. package/esm2022/components/breadcrumb/breadcrumb.component.mjs +0 -15
  59. package/esm2022/components/breadcrumb/index.mjs +0 -2
  60. package/esm2022/components/breadcrumb-group/breadcrumb-group.component.mjs +0 -21
  61. package/esm2022/components/breadcrumb-group/index.mjs +0 -2
  62. package/esm2022/components/button/button.directive.mjs +0 -37
  63. package/esm2022/components/button/index.mjs +0 -2
  64. package/esm2022/components/card/card-content/card-content.component.mjs +0 -11
  65. package/esm2022/components/card/card-content/index.mjs +0 -2
  66. package/esm2022/components/card/card-footer/card-footer.component.mjs +0 -11
  67. package/esm2022/components/card/card-footer/index.mjs +0 -2
  68. package/esm2022/components/card/card-header/card-header.component.mjs +0 -11
  69. package/esm2022/components/card/card-header/index.mjs +0 -2
  70. package/esm2022/components/card/card.component.mjs +0 -11
  71. package/esm2022/components/card/index.mjs +0 -15
  72. package/esm2022/components/collapsible/collapsible.animation.mjs +0 -26
  73. package/esm2022/components/collapsible/collapsible.component.mjs +0 -34
  74. package/esm2022/components/collapsible/index.mjs +0 -2
  75. package/esm2022/components/dashboard-card/dashboard-card.component.mjs +0 -32
  76. package/esm2022/components/dashboard-card/index.mjs +0 -2
  77. package/esm2022/components/dropdown/dropdown.component.mjs +0 -57
  78. package/esm2022/components/dropdown/index.mjs +0 -2
  79. package/esm2022/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.mjs +0 -29
  80. package/esm2022/components/form-field/autosuggest/autosuggest-add-option/index.mjs +0 -2
  81. package/esm2022/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.mjs +0 -45
  82. package/esm2022/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.mjs +0 -2
  83. package/esm2022/components/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.mjs +0 -85
  84. package/esm2022/components/form-field/autosuggest/autosuggest-option/index.mjs +0 -3
  85. package/esm2022/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.mjs +0 -82
  86. package/esm2022/components/form-field/autosuggest/autosuggest.directive.mjs +0 -411
  87. package/esm2022/components/form-field/autosuggest/index.mjs +0 -6
  88. package/esm2022/components/form-field/autosuggest/match-bold.pipe.mjs +0 -21
  89. package/esm2022/components/form-field/checkbox/checkbox.component.mjs +0 -62
  90. package/esm2022/components/form-field/checkbox/index.mjs +0 -2
  91. package/esm2022/components/form-field/checkbox-group/checkbox-group.component.mjs +0 -15
  92. package/esm2022/components/form-field/checkbox-group/index.mjs +0 -2
  93. package/esm2022/components/form-field/clear-search-button/clear-search-button.component.mjs +0 -37
  94. package/esm2022/components/form-field/error/error.component.mjs +0 -12
  95. package/esm2022/components/form-field/error/index.mjs +0 -2
  96. package/esm2022/components/form-field/file-upload/file-upload-text.interface.mjs +0 -2
  97. package/esm2022/components/form-field/file-upload/file-upload.component.mjs +0 -172
  98. package/esm2022/components/form-field/file-upload/index.mjs +0 -3
  99. package/esm2022/components/form-field/form-field.component.mjs +0 -81
  100. package/esm2022/components/form-field/form-field.constant.mjs +0 -2
  101. package/esm2022/components/form-field/form-field.model.mjs +0 -8
  102. package/esm2022/components/form-field/index.mjs +0 -17
  103. package/esm2022/components/form-field/info/index.mjs +0 -2
  104. package/esm2022/components/form-field/info/info.component.mjs +0 -11
  105. package/esm2022/components/form-field/input/index.mjs +0 -3
  106. package/esm2022/components/form-field/input/input.directive.mjs +0 -68
  107. package/esm2022/components/form-field/input/input.model.mjs +0 -13
  108. package/esm2022/components/form-field/input-button/index.mjs +0 -2
  109. package/esm2022/components/form-field/input-button/input-button.component.mjs +0 -23
  110. package/esm2022/components/form-field/input-icon/index.mjs +0 -2
  111. package/esm2022/components/form-field/input-icon/input-icon.component.mjs +0 -12
  112. package/esm2022/components/form-field/month-input/index.mjs +0 -2
  113. package/esm2022/components/form-field/month-input/month-input-utils.mjs +0 -13
  114. package/esm2022/components/form-field/month-input/month-input.component.mjs +0 -154
  115. package/esm2022/components/form-field/option-group/index.mjs +0 -4
  116. package/esm2022/components/form-field/option-group/option-group.component.mjs +0 -64
  117. package/esm2022/components/form-field/option-group/option-group.model.mjs +0 -2
  118. package/esm2022/components/form-field/option-group/option.component.mjs +0 -22
  119. package/esm2022/components/form-field/picker-button/picker-button.component.mjs +0 -45
  120. package/esm2022/components/form-field/radio-button/index.mjs +0 -2
  121. package/esm2022/components/form-field/radio-button/radio-button.component.mjs +0 -63
  122. package/esm2022/components/form-field/radio-group/index.mjs +0 -2
  123. package/esm2022/components/form-field/radio-group/radio-group.component.mjs +0 -70
  124. package/esm2022/components/form-field/success/index.mjs +0 -2
  125. package/esm2022/components/form-field/success/success.component.mjs +0 -12
  126. package/esm2022/components/form-field/textarea/auto-grow.directive.mjs +0 -45
  127. package/esm2022/components/form-field/textarea/index.mjs +0 -2
  128. package/esm2022/components/icon/action-icon/action-icon.component.mjs +0 -40
  129. package/esm2022/components/icon/action-icon/index.mjs +0 -2
  130. package/esm2022/components/icon/icon.component.mjs +0 -36
  131. package/esm2022/components/icon/index.mjs +0 -3
  132. package/esm2022/components/index.mjs +0 -28
  133. package/esm2022/components/layout/index.mjs +0 -2
  134. package/esm2022/components/layout/layout.component.mjs +0 -20
  135. package/esm2022/components/layout-banners/index.mjs +0 -2
  136. package/esm2022/components/layout-banners/layout-banners.component.mjs +0 -11
  137. package/esm2022/components/loader/index.mjs +0 -2
  138. package/esm2022/components/loader/loader.component.mjs +0 -11
  139. package/esm2022/components/main-navigation/index.mjs +0 -3
  140. package/esm2022/components/main-navigation/main-navigation.component.mjs +0 -165
  141. package/esm2022/components/main-navigation/main-navigation.imports.mjs +0 -20
  142. package/esm2022/components/main-navigation/main-navigation.model.mjs +0 -6
  143. package/esm2022/components/main-navigation-menu/index.mjs +0 -2
  144. package/esm2022/components/main-navigation-menu/main-navigation-menu.component.mjs +0 -20
  145. package/esm2022/components/modal/index.mjs +0 -16
  146. package/esm2022/components/modal/modal-content/index.mjs +0 -2
  147. package/esm2022/components/modal/modal-content/modal-content.component.mjs +0 -11
  148. package/esm2022/components/modal/modal-footer/index.mjs +0 -2
  149. package/esm2022/components/modal/modal-footer/modal-footer.component.mjs +0 -11
  150. package/esm2022/components/modal/modal-header/index.mjs +0 -2
  151. package/esm2022/components/modal/modal-header/modal-header.component.mjs +0 -18
  152. package/esm2022/components/modal/modal-ref.mjs +0 -4
  153. package/esm2022/components/modal/modal.component.mjs +0 -19
  154. package/esm2022/components/modal/modal.service.mjs +0 -31
  155. package/esm2022/components/multi-select/checkbox-data.interface.mjs +0 -2
  156. package/esm2022/components/multi-select/index.mjs +0 -4
  157. package/esm2022/components/multi-select/multi-select.component.mjs +0 -76
  158. package/esm2022/components/multi-select/select-all-text.interface.mjs +0 -2
  159. package/esm2022/components/pill/index.mjs +0 -3
  160. package/esm2022/components/pill/pill.component.mjs +0 -25
  161. package/esm2022/components/pill/pill.model.mjs +0 -2
  162. package/esm2022/components/popover/index.mjs +0 -2
  163. package/esm2022/components/popover/popover-trigger.directive.mjs +0 -182
  164. package/esm2022/components/router-breadcrumbs/index.mjs +0 -2
  165. package/esm2022/components/router-breadcrumbs/router-breadcrumbs.component.mjs +0 -37
  166. package/esm2022/components/tab/index.mjs +0 -2
  167. package/esm2022/components/tab/tab.component.mjs +0 -32
  168. package/esm2022/components/tab-group/index.mjs +0 -2
  169. package/esm2022/components/tab-group/tab-group.component.mjs +0 -34
  170. package/esm2022/components/tag/index.mjs +0 -2
  171. package/esm2022/components/tag/tag.component.mjs +0 -29
  172. package/esm2022/components/toast/index.mjs +0 -3
  173. package/esm2022/components/toast/toast.component.mjs +0 -77
  174. package/esm2022/components/toast/toast.service.mjs +0 -43
  175. package/esm2022/components/tooltip/index.mjs +0 -3
  176. package/esm2022/components/tooltip/tooltip.component.mjs +0 -16
  177. package/esm2022/components/tooltip/tooltip.directive.mjs +0 -89
  178. package/esm2022/models/aria.model.mjs +0 -2
  179. package/esm2022/models/index.mjs +0 -2
  180. package/esm2022/ndwnu-design-system.mjs +0 -5
  181. package/esm2022/public-api.mjs +0 -5
@@ -292,10 +292,10 @@
292
292
  position: absolute;
293
293
  pointer-events: auto;
294
294
  box-sizing: border-box;
295
- z-index: 1000;
296
295
  display: flex;
297
296
  max-width: 100%;
298
297
  max-height: 100%;
298
+ z-index: 1000;
299
299
  }
300
300
 
301
301
  .cdk-overlay-backdrop {
@@ -304,21 +304,22 @@
304
304
  bottom: 0;
305
305
  left: 0;
306
306
  right: 0;
307
- z-index: 1000;
308
307
  pointer-events: auto;
309
308
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
310
- transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
311
309
  opacity: 0;
310
+ z-index: 1000;
311
+ transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
312
312
  }
313
313
 
314
- .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
314
+ .cdk-overlay-backdrop-showing {
315
315
  opacity: 1;
316
316
  }
317
317
 
318
- .cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
319
- opacity: 0.6;
318
+ @media (forced-colors: active) {
319
+ .cdk-overlay-backdrop-showing {
320
+ opacity: 0.6;
321
+ }
320
322
  }
321
-
322
323
  .cdk-overlay-dark-backdrop {
323
324
  background: rgba(0, 0, 0, 0.32);
324
325
  }
@@ -329,7 +330,7 @@
329
330
  opacity: 1;
330
331
  }
331
332
 
332
- .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {
333
+ .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
333
334
  opacity: 0;
334
335
  visibility: visible;
335
336
  }
@@ -340,11 +341,11 @@
340
341
 
341
342
  .cdk-overlay-connected-position-bounding-box {
342
343
  position: absolute;
343
- z-index: 1000;
344
344
  display: flex;
345
345
  flex-direction: column;
346
346
  min-width: 1px;
347
347
  min-height: 1px;
348
+ z-index: 1000;
348
349
  }
349
350
 
350
351
  .cdk-global-scrollblock {
@@ -910,6 +911,10 @@ hr[noMargin] {
910
911
  color: var(--ndw-color-grey-500);
911
912
  }
912
913
 
914
+ .input-container:has(> select[ndwInput]) {
915
+ padding-inline-end: var(--ndw-spacing-xs);
916
+ }
917
+
913
918
  .input-container:has(> [ndwInput]) {
914
919
  display: flex;
915
920
  align-items: center;
@@ -920,7 +925,6 @@ hr[noMargin] {
920
925
  outline: var(--ndw-border-size-sm) solid transparent;
921
926
  outline-offset: calc(var(--ndw-border-size-sm) * -1);
922
927
  transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out, outline-color 150ms ease-in-out;
923
- padding-inline: var(--ndw-spacing-xs);
924
928
  gap: var(--ndw-spacing-xs);
925
929
  }
926
930
  .input-container:has(> [ndwInput]):has([ndwInput]:hover) {
@@ -964,6 +968,12 @@ hr[noMargin] {
964
968
  .input-container:has(> [ndwInput])[disabled] ndw-icon, .input-container:has(> [ndwInput])[readonly] ndw-icon {
965
969
  color: var(--ndw-color-grey-300);
966
970
  }
971
+ .input-container:has(> [ndwInput]):has(> ndw-input-icon) {
972
+ padding-inline: var(--ndw-spacing-xs);
973
+ }
974
+ .input-container:has(> [ndwInput]):has(> ndw-picker-button) {
975
+ padding-inline-end: var(--ndw-spacing-xs);
976
+ }
967
977
  .input-container:has(> [ndwInput]) > *:has(~ [ndwInput]) {
968
978
  color: var(--ndw-color-grey-400);
969
979
  }
@@ -973,9 +983,12 @@ hr[noMargin] {
973
983
  .input-container:has(> [ndwInput]) [ndwInput]:has(+ *) {
974
984
  padding-inline-end: 0;
975
985
  }
976
- .input-container:has(> [ndwInput]) select[ndwInput]:has(+ *) {
986
+ .input-container:has(> [ndwInput]) [ndwInput]:is(textarea) {
977
987
  padding-inline-end: var(--ndw-spacing-sm);
978
988
  }
989
+ .input-container:has(> [ndwInput]) select[ndwInput]:has(+ *) {
990
+ padding-inline-end: 0;
991
+ }
979
992
  .input-container:has(> [ndwInput]) [ndwInput] {
980
993
  border: none;
981
994
  outline: none;
@@ -984,6 +997,9 @@ hr[noMargin] {
984
997
  border: none;
985
998
  outline: none;
986
999
  }
1000
+ .input-container:has(> [ndwInput]):has(textarea) {
1001
+ padding-inline: 0;
1002
+ }
987
1003
 
988
1004
  [ndwInput] {
989
1005
  display: flex;
@@ -1073,6 +1089,9 @@ select[ndwInput] option:not([disabled]) {
1073
1089
  textarea[ndwInput] {
1074
1090
  min-height: 4rem;
1075
1091
  padding-block: calc(var(--ndw-spacing-xs) + var(--ndw-border-size-sm));
1092
+ padding-inline: var(--ndw-spacing-sm);
1093
+ line-height: normal;
1094
+ white-space: pre-wrap;
1076
1095
  resize: vertical;
1077
1096
  }
1078
1097
 
@@ -1172,3 +1191,190 @@ textarea[ndwInput] {
1172
1191
  display: grid;
1173
1192
  padding: var(--ndw-spacing-sm);
1174
1193
  }
1194
+
1195
+ .ndw-summary-card {
1196
+ display: block;
1197
+ }
1198
+ .ndw-summary-card__wrapper {
1199
+ position: relative;
1200
+ overflow: hidden;
1201
+ display: grid;
1202
+ gap: var(--ndw-spacing-md);
1203
+ height: 100%;
1204
+ align-items: start;
1205
+ box-sizing: border-box;
1206
+ }
1207
+ .ndw-summary-card__wrapper:has(ndw-summary-card-avatar) {
1208
+ grid-template-columns: max-content 1fr;
1209
+ }
1210
+ .ndw-summary-card__wrapper:has(a:focus:not(:active)) {
1211
+ outline: var(--ndw-border-size-sm) solid var(--ndw-color-secondary-500);
1212
+ }
1213
+ .ndw-summary-card__content {
1214
+ display: grid;
1215
+ gap: var(--ndw-spacing-xs);
1216
+ }
1217
+ .ndw-summary-card .ndw-summary-card-tags {
1218
+ display: flex;
1219
+ flex-wrap: wrap;
1220
+ gap: var(--ndw-spacing-xs);
1221
+ }
1222
+ .ndw-summary-card .ndw-summary-card-tag {
1223
+ display: flex;
1224
+ flex-wrap: nowrap;
1225
+ gap: var(--ndw-spacing-2xs);
1226
+ align-items: center;
1227
+ border: 1px solid var(--ndw-color-grey-100);
1228
+ border-radius: var(--ndw-border-radius-xs);
1229
+ padding: var(--ndw-spacing-2xs);
1230
+ color: var(--ndw-color-grey-500);
1231
+ font-size: var(--ndw-font-size-xs);
1232
+ }
1233
+ .ndw-summary-card .ndw-summary-card-tag ndw-icon {
1234
+ font-size: var(--ndw-font-size-sm);
1235
+ }
1236
+ .ndw-summary-card .ndw-summary-card-tag img {
1237
+ display: block;
1238
+ height: var(--ndw-font-size-sm);
1239
+ }
1240
+ .ndw-summary-card .ndw-summary-card-subtitle {
1241
+ display: grid;
1242
+ grid-template-columns: max-content 1fr;
1243
+ align-items: center;
1244
+ gap: var(--ndw-spacing-3xs);
1245
+ color: var(--ndw-color-grey-500);
1246
+ font-size: var(--ndw-font-size-xs);
1247
+ }
1248
+ .ndw-summary-card .ndw-summary-card-subtitle ndw-icon {
1249
+ font-size: var(--ndw-font-size-sm);
1250
+ }
1251
+ .ndw-summary-card .ndw-summary-card-subtitle__text {
1252
+ overflow: hidden;
1253
+ text-overflow: ellipsis;
1254
+ white-space: nowrap;
1255
+ }
1256
+ .ndw-summary-card .ndw-summary-card-header {
1257
+ display: flex;
1258
+ gap: var(--ndw-spacing-xs);
1259
+ }
1260
+ .ndw-summary-card .ndw-summary-card-header__wrapper {
1261
+ display: grid;
1262
+ gap: var(--ndw-spacing-2xs);
1263
+ justify-items: left;
1264
+ }
1265
+ .ndw-summary-card .ndw-summary-card-header__title {
1266
+ width: 100%;
1267
+ white-space: nowrap;
1268
+ overflow: hidden;
1269
+ text-overflow: ellipsis;
1270
+ margin: 0;
1271
+ font-size: var(--ndw-base-font-size);
1272
+ font-weight: var(--ndw-font-weight-bold);
1273
+ font-family: var(--ndw-font-family-heading);
1274
+ }
1275
+ .ndw-summary-card .ndw-summary-card-header__title a {
1276
+ color: inherit;
1277
+ text-decoration: none;
1278
+ font-family: var(--ndw-font-family-heading);
1279
+ }
1280
+ .ndw-summary-card .ndw-summary-card-header__title a:hover {
1281
+ text-decoration: underline;
1282
+ }
1283
+ .ndw-summary-card .ndw-summary-card-header__title a:after {
1284
+ content: "";
1285
+ position: absolute;
1286
+ inset: 0;
1287
+ }
1288
+ .ndw-summary-card .ndw-summary-card-header__title a:focus {
1289
+ outline: 0;
1290
+ }
1291
+ .ndw-summary-card .ndw-summary-card-content {
1292
+ overflow: hidden;
1293
+ text-overflow: ellipsis;
1294
+ display: -webkit-box;
1295
+ -webkit-line-clamp: 2;
1296
+ -webkit-box-orient: vertical;
1297
+ font-family: var(--ndw-font-family-body);
1298
+ font-size: var(--ndw-font-size-sm);
1299
+ color: var(--ndw-color-grey-500);
1300
+ }
1301
+ .ndw-summary-card .ndw-summary-card-avatar {
1302
+ display: grid;
1303
+ place-content: center;
1304
+ position: relative;
1305
+ width: 30px;
1306
+ aspect-ratio: 1/1;
1307
+ border-radius: 50%;
1308
+ font-size: var(--ndw-font-size-sm);
1309
+ }
1310
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--default {
1311
+ color: var(--ndw-color-grey-700);
1312
+ background-color: var(--ndw-color-grey-300);
1313
+ }
1314
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--orange {
1315
+ color: var(--ndw-color-primary-700);
1316
+ background-color: var(--ndw-color-primary-050);
1317
+ }
1318
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--blue {
1319
+ color: var(--ndw-color-info-500);
1320
+ background-color: var(--ndw-color-info-100);
1321
+ }
1322
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--green {
1323
+ color: var(--ndw-color-positive-500);
1324
+ background-color: var(--ndw-color-positive-100);
1325
+ }
1326
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--red {
1327
+ color: var(--ndw-color-critical-500);
1328
+ background-color: var(--ndw-color-critical-100);
1329
+ }
1330
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--yellow {
1331
+ color: var(--ndw-color-warning-500);
1332
+ background-color: var(--ndw-color-warning-100);
1333
+ }
1334
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--purple {
1335
+ color: var(--ndw-color-alternative-500);
1336
+ background-color: var(--ndw-color-alternative-100);
1337
+ }
1338
+ .ndw-summary-card .ndw-summary-card-avatar > img {
1339
+ display: block;
1340
+ width: 100%;
1341
+ height: 100%;
1342
+ object-fit: cover;
1343
+ border-radius: 50%;
1344
+ }
1345
+ .ndw-summary-card .ndw-summary-card-avatar ndw-icon {
1346
+ font-size: var(--ndw-font-size-lg);
1347
+ }
1348
+ .ndw-summary-card .ndw-summary-card-actions {
1349
+ flex: 1;
1350
+ display: flex;
1351
+ justify-content: flex-end;
1352
+ }
1353
+ .ndw-summary-card .ndw-summary-card-actions--auto {
1354
+ container-type: inline-size;
1355
+ }
1356
+ .ndw-summary-card .ndw-summary-card-actions .actions {
1357
+ gap: var(--ndw-spacing-2xs);
1358
+ }
1359
+ .ndw-summary-card .ndw-summary-card-actions .actions--popover {
1360
+ display: grid;
1361
+ }
1362
+ .ndw-summary-card .ndw-summary-card-actions .actions--visible, .ndw-summary-card .ndw-summary-card-actions .actions--auto {
1363
+ display: flex;
1364
+ }
1365
+ .ndw-summary-card .ndw-summary-card-actions .popover-wrapper {
1366
+ display: block;
1367
+ }
1368
+ @container (width > 140px) {
1369
+ .ndw-summary-card .ndw-summary-card-actions .popover-wrapper {
1370
+ display: none;
1371
+ }
1372
+ }
1373
+ .ndw-summary-card .ndw-summary-card-actions .regular-wrapper {
1374
+ display: none;
1375
+ }
1376
+ @container (width > 140px) {
1377
+ .ndw-summary-card .ndw-summary-card-actions .regular-wrapper {
1378
+ display: block;
1379
+ }
1380
+ }
@@ -292,10 +292,10 @@
292
292
  position: absolute;
293
293
  pointer-events: auto;
294
294
  box-sizing: border-box;
295
- z-index: 1000;
296
295
  display: flex;
297
296
  max-width: 100%;
298
297
  max-height: 100%;
298
+ z-index: 1000;
299
299
  }
300
300
 
301
301
  .cdk-overlay-backdrop {
@@ -304,21 +304,22 @@
304
304
  bottom: 0;
305
305
  left: 0;
306
306
  right: 0;
307
- z-index: 1000;
308
307
  pointer-events: auto;
309
308
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
310
- transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
311
309
  opacity: 0;
310
+ z-index: 1000;
311
+ transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
312
312
  }
313
313
 
314
- .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
314
+ .cdk-overlay-backdrop-showing {
315
315
  opacity: 1;
316
316
  }
317
317
 
318
- .cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
319
- opacity: 0.6;
318
+ @media (forced-colors: active) {
319
+ .cdk-overlay-backdrop-showing {
320
+ opacity: 0.6;
321
+ }
320
322
  }
321
-
322
323
  .cdk-overlay-dark-backdrop {
323
324
  background: rgba(0, 0, 0, 0.32);
324
325
  }
@@ -329,7 +330,7 @@
329
330
  opacity: 1;
330
331
  }
331
332
 
332
- .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {
333
+ .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
333
334
  opacity: 0;
334
335
  visibility: visible;
335
336
  }
@@ -340,11 +341,11 @@
340
341
 
341
342
  .cdk-overlay-connected-position-bounding-box {
342
343
  position: absolute;
343
- z-index: 1000;
344
344
  display: flex;
345
345
  flex-direction: column;
346
346
  min-width: 1px;
347
347
  min-height: 1px;
348
+ z-index: 1000;
348
349
  }
349
350
 
350
351
  .cdk-global-scrollblock {
@@ -910,6 +911,10 @@ hr[noMargin] {
910
911
  color: var(--ndw-color-grey-500);
911
912
  }
912
913
 
914
+ .input-container:has(> select[ndwInput]) {
915
+ padding-inline-end: var(--ndw-spacing-xs);
916
+ }
917
+
913
918
  .input-container:has(> [ndwInput]) {
914
919
  display: flex;
915
920
  align-items: center;
@@ -920,7 +925,6 @@ hr[noMargin] {
920
925
  outline: var(--ndw-border-size-sm) solid transparent;
921
926
  outline-offset: calc(var(--ndw-border-size-sm) * -1);
922
927
  transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out, outline-color 150ms ease-in-out;
923
- padding-inline: var(--ndw-spacing-xs);
924
928
  gap: var(--ndw-spacing-xs);
925
929
  }
926
930
  .input-container:has(> [ndwInput]):has([ndwInput]:hover) {
@@ -964,6 +968,12 @@ hr[noMargin] {
964
968
  .input-container:has(> [ndwInput])[disabled] ndw-icon, .input-container:has(> [ndwInput])[readonly] ndw-icon {
965
969
  color: var(--ndw-color-grey-300);
966
970
  }
971
+ .input-container:has(> [ndwInput]):has(> ndw-input-icon) {
972
+ padding-inline: var(--ndw-spacing-xs);
973
+ }
974
+ .input-container:has(> [ndwInput]):has(> ndw-picker-button) {
975
+ padding-inline-end: var(--ndw-spacing-xs);
976
+ }
967
977
  .input-container:has(> [ndwInput]) > *:has(~ [ndwInput]) {
968
978
  color: var(--ndw-color-grey-400);
969
979
  }
@@ -973,9 +983,12 @@ hr[noMargin] {
973
983
  .input-container:has(> [ndwInput]) [ndwInput]:has(+ *) {
974
984
  padding-inline-end: 0;
975
985
  }
976
- .input-container:has(> [ndwInput]) select[ndwInput]:has(+ *) {
986
+ .input-container:has(> [ndwInput]) [ndwInput]:is(textarea) {
977
987
  padding-inline-end: var(--ndw-spacing-sm);
978
988
  }
989
+ .input-container:has(> [ndwInput]) select[ndwInput]:has(+ *) {
990
+ padding-inline-end: 0;
991
+ }
979
992
  .input-container:has(> [ndwInput]) [ndwInput] {
980
993
  border: none;
981
994
  outline: none;
@@ -984,6 +997,9 @@ hr[noMargin] {
984
997
  border: none;
985
998
  outline: none;
986
999
  }
1000
+ .input-container:has(> [ndwInput]):has(textarea) {
1001
+ padding-inline: 0;
1002
+ }
987
1003
 
988
1004
  [ndwInput] {
989
1005
  display: flex;
@@ -1073,6 +1089,9 @@ select[ndwInput] option:not([disabled]) {
1073
1089
  textarea[ndwInput] {
1074
1090
  min-height: 4rem;
1075
1091
  padding-block: calc(var(--ndw-spacing-xs) + var(--ndw-border-size-sm));
1092
+ padding-inline: var(--ndw-spacing-sm);
1093
+ line-height: normal;
1094
+ white-space: pre-wrap;
1076
1095
  resize: vertical;
1077
1096
  }
1078
1097
 
@@ -1172,3 +1191,190 @@ textarea[ndwInput] {
1172
1191
  display: grid;
1173
1192
  padding: var(--ndw-spacing-sm);
1174
1193
  }
1194
+
1195
+ .ndw-summary-card {
1196
+ display: block;
1197
+ }
1198
+ .ndw-summary-card__wrapper {
1199
+ position: relative;
1200
+ overflow: hidden;
1201
+ display: grid;
1202
+ gap: var(--ndw-spacing-md);
1203
+ height: 100%;
1204
+ align-items: start;
1205
+ box-sizing: border-box;
1206
+ }
1207
+ .ndw-summary-card__wrapper:has(ndw-summary-card-avatar) {
1208
+ grid-template-columns: max-content 1fr;
1209
+ }
1210
+ .ndw-summary-card__wrapper:has(a:focus:not(:active)) {
1211
+ outline: var(--ndw-border-size-sm) solid var(--ndw-color-secondary-500);
1212
+ }
1213
+ .ndw-summary-card__content {
1214
+ display: grid;
1215
+ gap: var(--ndw-spacing-xs);
1216
+ }
1217
+ .ndw-summary-card .ndw-summary-card-tags {
1218
+ display: flex;
1219
+ flex-wrap: wrap;
1220
+ gap: var(--ndw-spacing-xs);
1221
+ }
1222
+ .ndw-summary-card .ndw-summary-card-tag {
1223
+ display: flex;
1224
+ flex-wrap: nowrap;
1225
+ gap: var(--ndw-spacing-2xs);
1226
+ align-items: center;
1227
+ border: 1px solid var(--ndw-color-grey-100);
1228
+ border-radius: var(--ndw-border-radius-xs);
1229
+ padding: var(--ndw-spacing-2xs);
1230
+ color: var(--ndw-color-grey-500);
1231
+ font-size: var(--ndw-font-size-xs);
1232
+ }
1233
+ .ndw-summary-card .ndw-summary-card-tag ndw-icon {
1234
+ font-size: var(--ndw-font-size-sm);
1235
+ }
1236
+ .ndw-summary-card .ndw-summary-card-tag img {
1237
+ display: block;
1238
+ height: var(--ndw-font-size-sm);
1239
+ }
1240
+ .ndw-summary-card .ndw-summary-card-subtitle {
1241
+ display: grid;
1242
+ grid-template-columns: max-content 1fr;
1243
+ align-items: center;
1244
+ gap: var(--ndw-spacing-3xs);
1245
+ color: var(--ndw-color-grey-500);
1246
+ font-size: var(--ndw-font-size-xs);
1247
+ }
1248
+ .ndw-summary-card .ndw-summary-card-subtitle ndw-icon {
1249
+ font-size: var(--ndw-font-size-sm);
1250
+ }
1251
+ .ndw-summary-card .ndw-summary-card-subtitle__text {
1252
+ overflow: hidden;
1253
+ text-overflow: ellipsis;
1254
+ white-space: nowrap;
1255
+ }
1256
+ .ndw-summary-card .ndw-summary-card-header {
1257
+ display: flex;
1258
+ gap: var(--ndw-spacing-xs);
1259
+ }
1260
+ .ndw-summary-card .ndw-summary-card-header__wrapper {
1261
+ display: grid;
1262
+ gap: var(--ndw-spacing-2xs);
1263
+ justify-items: left;
1264
+ }
1265
+ .ndw-summary-card .ndw-summary-card-header__title {
1266
+ width: 100%;
1267
+ white-space: nowrap;
1268
+ overflow: hidden;
1269
+ text-overflow: ellipsis;
1270
+ margin: 0;
1271
+ font-size: var(--ndw-base-font-size);
1272
+ font-weight: var(--ndw-font-weight-bold);
1273
+ font-family: var(--ndw-font-family-heading);
1274
+ }
1275
+ .ndw-summary-card .ndw-summary-card-header__title a {
1276
+ color: inherit;
1277
+ text-decoration: none;
1278
+ font-family: var(--ndw-font-family-heading);
1279
+ }
1280
+ .ndw-summary-card .ndw-summary-card-header__title a:hover {
1281
+ text-decoration: underline;
1282
+ }
1283
+ .ndw-summary-card .ndw-summary-card-header__title a:after {
1284
+ content: "";
1285
+ position: absolute;
1286
+ inset: 0;
1287
+ }
1288
+ .ndw-summary-card .ndw-summary-card-header__title a:focus {
1289
+ outline: 0;
1290
+ }
1291
+ .ndw-summary-card .ndw-summary-card-content {
1292
+ overflow: hidden;
1293
+ text-overflow: ellipsis;
1294
+ display: -webkit-box;
1295
+ -webkit-line-clamp: 2;
1296
+ -webkit-box-orient: vertical;
1297
+ font-family: var(--ndw-font-family-body);
1298
+ font-size: var(--ndw-font-size-sm);
1299
+ color: var(--ndw-color-grey-500);
1300
+ }
1301
+ .ndw-summary-card .ndw-summary-card-avatar {
1302
+ display: grid;
1303
+ place-content: center;
1304
+ position: relative;
1305
+ width: 30px;
1306
+ aspect-ratio: 1/1;
1307
+ border-radius: 50%;
1308
+ font-size: var(--ndw-font-size-sm);
1309
+ }
1310
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--default {
1311
+ color: var(--ndw-color-grey-700);
1312
+ background-color: var(--ndw-color-grey-300);
1313
+ }
1314
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--orange {
1315
+ color: var(--ndw-color-primary-700);
1316
+ background-color: var(--ndw-color-primary-050);
1317
+ }
1318
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--blue {
1319
+ color: var(--ndw-color-info-500);
1320
+ background-color: var(--ndw-color-info-100);
1321
+ }
1322
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--green {
1323
+ color: var(--ndw-color-positive-500);
1324
+ background-color: var(--ndw-color-positive-100);
1325
+ }
1326
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--red {
1327
+ color: var(--ndw-color-critical-500);
1328
+ background-color: var(--ndw-color-critical-100);
1329
+ }
1330
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--yellow {
1331
+ color: var(--ndw-color-warning-500);
1332
+ background-color: var(--ndw-color-warning-100);
1333
+ }
1334
+ .ndw-summary-card .ndw-summary-card-avatar.ndw-summary-card-avatar--purple {
1335
+ color: var(--ndw-color-alternative-500);
1336
+ background-color: var(--ndw-color-alternative-100);
1337
+ }
1338
+ .ndw-summary-card .ndw-summary-card-avatar > img {
1339
+ display: block;
1340
+ width: 100%;
1341
+ height: 100%;
1342
+ object-fit: cover;
1343
+ border-radius: 50%;
1344
+ }
1345
+ .ndw-summary-card .ndw-summary-card-avatar ndw-icon {
1346
+ font-size: var(--ndw-font-size-lg);
1347
+ }
1348
+ .ndw-summary-card .ndw-summary-card-actions {
1349
+ flex: 1;
1350
+ display: flex;
1351
+ justify-content: flex-end;
1352
+ }
1353
+ .ndw-summary-card .ndw-summary-card-actions--auto {
1354
+ container-type: inline-size;
1355
+ }
1356
+ .ndw-summary-card .ndw-summary-card-actions .actions {
1357
+ gap: var(--ndw-spacing-2xs);
1358
+ }
1359
+ .ndw-summary-card .ndw-summary-card-actions .actions--popover {
1360
+ display: grid;
1361
+ }
1362
+ .ndw-summary-card .ndw-summary-card-actions .actions--visible, .ndw-summary-card .ndw-summary-card-actions .actions--auto {
1363
+ display: flex;
1364
+ }
1365
+ .ndw-summary-card .ndw-summary-card-actions .popover-wrapper {
1366
+ display: block;
1367
+ }
1368
+ @container (width > 140px) {
1369
+ .ndw-summary-card .ndw-summary-card-actions .popover-wrapper {
1370
+ display: none;
1371
+ }
1372
+ }
1373
+ .ndw-summary-card .ndw-summary-card-actions .regular-wrapper {
1374
+ display: none;
1375
+ }
1376
+ @container (width > 140px) {
1377
+ .ndw-summary-card .ndw-summary-card-actions .regular-wrapper {
1378
+ display: block;
1379
+ }
1380
+ }