@ndwnu/design-system 1.0.2 → 1.0.4

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 (69) hide show
  1. package/components/alert/alert.component.d.ts +13 -0
  2. package/components/alert/alert.model.d.ts +6 -0
  3. package/components/alert/index.d.ts +2 -0
  4. package/components/breadcrumb/breadcrumb.component.d.ts +8 -0
  5. package/components/breadcrumb/index.d.ts +1 -0
  6. package/components/breadcrumb-group/breadcrumb-group.component.d.ts +7 -0
  7. package/components/breadcrumb-group/index.d.ts +1 -0
  8. package/components/dropdown/dropdown.component.d.ts +1 -1
  9. package/components/form-field/checkbox/checkbox.component.d.ts +1 -2
  10. package/components/form-field/input/input.directive.d.ts +6 -0
  11. package/components/form-field/input/input.model.d.ts +3 -1
  12. package/components/form-field/radio-button/radio-button.component.d.ts +7 -4
  13. package/components/form-field/radio-group/radio-group.component.d.ts +9 -1
  14. package/components/icon/icon.component.d.ts +9 -6
  15. package/components/icon/index.d.ts +0 -2
  16. package/components/index.d.ts +5 -2
  17. package/components/main-navigation/main-navigation.component.d.ts +3 -3
  18. package/components/main-navigation/main-navigation.model.d.ts +1 -0
  19. package/components/main-navigation-menu/main-navigation-menu.component.d.ts +1 -3
  20. package/components/router-breadcrumbs/index.d.ts +1 -0
  21. package/components/router-breadcrumbs/router-breadcrumbs.component.d.ts +15 -0
  22. package/core/styles/ndw-styles.scss +353 -103
  23. package/core/styles/nwb-styles.scss +315 -97
  24. package/esm2022/components/accordion/accordion.component.mjs +3 -3
  25. package/esm2022/components/accordion/accordion.service.mjs +3 -3
  26. package/esm2022/components/alert/alert.component.mjs +34 -0
  27. package/esm2022/components/alert/alert.model.mjs +8 -0
  28. package/esm2022/components/alert/index.mjs +3 -0
  29. package/esm2022/components/badge/badge.component.mjs +4 -4
  30. package/esm2022/components/breadcrumb/breadcrumb.component.mjs +15 -0
  31. package/esm2022/components/breadcrumb/index.mjs +2 -0
  32. package/esm2022/components/breadcrumb-group/breadcrumb-group.component.mjs +21 -0
  33. package/esm2022/components/breadcrumb-group/index.mjs +2 -0
  34. package/esm2022/components/button/button.directive.mjs +3 -3
  35. package/esm2022/components/card/card.component.mjs +3 -3
  36. package/esm2022/components/collapsible/collapsible.component.mjs +5 -5
  37. package/esm2022/components/dropdown/dropdown-trigger.directive.mjs +3 -3
  38. package/esm2022/components/dropdown/dropdown.component.mjs +6 -6
  39. package/esm2022/components/form-field/checkbox/checkbox.component.mjs +6 -13
  40. package/esm2022/components/form-field/checkbox-group/checkbox-group.component.mjs +3 -3
  41. package/esm2022/components/form-field/error/error.component.mjs +5 -5
  42. package/esm2022/components/form-field/form-field.component.mjs +8 -8
  43. package/esm2022/components/form-field/info/info.component.mjs +4 -4
  44. package/esm2022/components/form-field/input/input.directive.mjs +36 -5
  45. package/esm2022/components/form-field/input/input.model.mjs +3 -1
  46. package/esm2022/components/form-field/radio-button/radio-button.component.mjs +30 -12
  47. package/esm2022/components/form-field/radio-group/radio-group.component.mjs +47 -7
  48. package/esm2022/components/icon/icon.component.mjs +33 -18
  49. package/esm2022/components/icon/index.mjs +1 -3
  50. package/esm2022/components/index.mjs +6 -3
  51. package/esm2022/components/main-navigation/main-navigation.component.mjs +8 -9
  52. package/esm2022/components/main-navigation/main-navigation.model.mjs +1 -1
  53. package/esm2022/components/main-navigation-menu/main-navigation-menu.component.mjs +6 -10
  54. package/esm2022/components/modal/modal-trigger.directive.mjs +3 -3
  55. package/esm2022/components/pill/pill.component.mjs +3 -3
  56. package/esm2022/components/router-breadcrumbs/index.mjs +2 -0
  57. package/esm2022/components/router-breadcrumbs/router-breadcrumbs.component.mjs +37 -0
  58. package/esm2022/components/tab/tab.component.mjs +4 -4
  59. package/esm2022/components/tab-group/tab-group.component.mjs +3 -3
  60. package/esm2022/components/tooltip/tooltip.component.mjs +4 -4
  61. package/esm2022/components/tooltip/tooltip.directive.mjs +3 -3
  62. package/fesm2022/ndwnu-design-system.mjs +389 -222
  63. package/fesm2022/ndwnu-design-system.mjs.map +1 -1
  64. package/package.json +4 -7
  65. package/assets/icons/icons.json +0 -878
  66. package/components/icon/icon.model.d.ts +0 -5
  67. package/components/icon/icon.service.d.ts +0 -9
  68. package/esm2022/components/icon/icon.model.mjs +0 -2
  69. package/esm2022/components/icon/icon.service.mjs +0 -26
@@ -1,3 +1,4 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..650;1,9..40,400..650&family=Material+Symbols+Rounded:opsz,wght@20..48,400&family=Nunito+Sans:ital,opsz,wght@0,6..12,400..650;1,6..12,400..650&display=block");
1
2
  :root {
2
3
  --_primary: 177, 23%;
3
4
  --_primary-700: var(--_primary), 54%;
@@ -18,6 +19,8 @@
18
19
  --ndw-foreground-primary-hover: var(--ndw-color-white);
19
20
  --ndw-foreground-primary-active: var(--ndw-color-white);
20
21
  --ndw-text-primary: var(--ndw-color-grey-600);
22
+ --ndw-alpha-primary-007: hsla(var(--_primary-500), var(--_alpha-007));
23
+ --ndw-alpha-primary-015: hsla(var(--_primary-500), var(--_alpha-015));
21
24
  }
22
25
 
23
26
  .cdk-overlay-container, .cdk-global-overlay-wrapper {
@@ -110,14 +113,15 @@
110
113
 
111
114
  :root {
112
115
  /* Colors */
113
- --_grey: 0, 0%;
114
- --_grey-600: 210, 9%, 17%;
115
- --_grey-500: var(--_grey), 27%;
116
- --_grey-400: var(--_grey), 40%;
117
- --_grey-300: var(--_grey), 57%;
118
- --_grey-200: var(--_grey), 81%;
119
- --_grey-100: var(--_grey), 96%;
120
- --_white: var(--_grey), 100%;
116
+ --_grey-700: 195, 100%, 10%;
117
+ --_grey-600: 196, 13%, 29%;
118
+ --_grey-500: 197, 7%, 40%;
119
+ --_grey-400: 204, 2%, 54%;
120
+ --_grey-300: 192, 5%, 82%;
121
+ --_grey-200: 204, 11%, 91%;
122
+ --_grey-100: 200, 16%, 96%;
123
+ --_white: 0, 0%, 100%;
124
+ --ndw-color-grey-700: hsl(var(--_grey-700));
121
125
  --ndw-color-grey-600: hsl(var(--_grey-600));
122
126
  --ndw-color-grey-500: hsl(var(--_grey-500));
123
127
  --ndw-color-grey-400: hsl(var(--_grey-400));
@@ -125,28 +129,35 @@
125
129
  --ndw-color-grey-200: hsl(var(--_grey-200));
126
130
  --ndw-color-grey-100: hsl(var(--_grey-100));
127
131
  --ndw-color-white: hsl(var(--_white));
128
- --_info: 210, 100%;
129
- --_info-500: var(--_info), 43%;
130
- --_info-200: var(--_info), 91%;
131
- --_info-100: var(--_info), 95%;
132
+ --_link: 208, 100%;
133
+ --_link-400: var(--_link), 41%;
134
+ --_link-500: var(--_link), 32%;
135
+ --ndw-color-link-400: hsl(var(--_link-400));
136
+ --ndw-color-link-500: hsl(var(--_link-500));
132
137
  --_positive: 133, 92%;
133
- --_positive-600: var(--_positive), 24%;
134
- --_positive-500: var(--_positive), 33%;
135
138
  --_positive-100: 117, 56%, 92%;
136
- --_negative: 0, 100%;
137
- --_negative-700: var(--_negative), 46%;
138
- --_negative-500: var(--_negative), 59%;
139
- --_negative-100: var(--_negative), 98%;
140
- --ndw-color-info-500: hsl(var(--_info-500));
141
- --ndw-color-info-200: hsl(var(--_info-200));
142
- --ndw-color-info-100: hsl(var(--_info-100));
143
- --ndw-color-positive-600: hsl(var(--_positive-600));
144
- --ndw-color-positive-500: hsl(var(--_positive-500));
139
+ --_positive-500: var(--_positive), 33%;
140
+ --_positive-600: var(--_positive), 24%;
141
+ --_warning: 43, 93%;
142
+ --_warning-100: 44, 100%, 94%;
143
+ --_warning-500: var(--_warning), 43%;
144
+ --_warning-600: 42, 83%, 32%;
145
+ --_alternative: 292, 100%;
146
+ --_alternative-100: var(--_alternative), 95%;
147
+ --_alternative-500: 292, 95%, 33%;
148
+ --_critical: 0, 100%;
149
+ --_critical-100: var(--_critical), 98%;
150
+ --_critical-500: var(--_critical), 46%;
145
151
  --ndw-color-positive-100: hsl(var(--_positive-100));
146
- --ndw-color-negative-700: hsl(var(--_negative-700));
147
- --ndw-color-negative-500: hsl(var(--_negative-500));
148
- --ndw-color-negative-100: hsl(var(--_negative-100));
149
- --ndw-color-info-alpha-40: hsla(var(--_info-500), var(--ndw-alpha-40));
152
+ --ndw-color-positive-500: hsl(var(--_positive-500));
153
+ --ndw-color-positive-600: hsl(var(--_positive-600));
154
+ --ndw-color-warning-100: hsl(var(--_warning-100));
155
+ --ndw-color-warning-500: hsl(var(--_warning-500));
156
+ --ndw-color-warning-600: hsl(var(--_warning-600));
157
+ --ndw-color-alternative-100: hsl(var(--_alternative-100));
158
+ --ndw-color-alternative-500: hsl(var(--_alternative-500));
159
+ --ndw-color-critical-100: hsl(var(--_critical-100));
160
+ --ndw-color-critical-500: hsl(var(--_critical-500));
150
161
  --ndw-color-notification: hsl(19, 100%, 35%);
151
162
  --_data-a-500: 133, 100%, 21%;
152
163
  --_data-a-100: 101, 61%, 81%;
@@ -173,9 +184,13 @@
173
184
  --ndw-color-data-f-500: hsl(var(--_data-f-500));
174
185
  --ndw-color-data-f-100: hsl(var(--_data-f-100));
175
186
  /* Alpha */
176
- --ndw-alpha-40: 0.4;
177
- --ndw-alpha-15: 0.15;
178
- --ndw-alpha-7: 0.07;
187
+ --_alpha-black: 0, 0%, 0%;
188
+ --_alpha-007: 0.07;
189
+ --_alpha-015: 0.15;
190
+ --_alpha-040: 0.4;
191
+ --ndw-alpha-black-007: hsla(var(--_alpha-black), var(--_alpha-007));
192
+ --ndw-alpha-black-015: hsla(var(--_alpha-black), var(--_alpha-015));
193
+ --ndw-alpha-black-040: hsla(var(--_alpha-black), var(--_alpha-040));
179
194
  /* Spacing */
180
195
  --ndw-spacing-3xs: 0.125rem;
181
196
  --ndw-spacing-2xs: 0.25rem;
@@ -210,118 +225,307 @@
210
225
  --ndw-icon-size-md: 1rem;
211
226
  --ndw-icon-size-lg: 1.5rem;
212
227
  /* Typography */
213
- --ndw-font-family: "Object Sans", sans-serif;
228
+ --ndw-font-family-body: "Nunito Sans", sans-serif;
229
+ --ndw-font-family-heading: "DM Sans", sans-serif;
214
230
  --ndw-base-font-size: 16px;
215
231
  --ndw-font-size-xs: 0.6875rem;
216
232
  --ndw-font-size-sm: 0.8125rem;
217
233
  --ndw-font-size-md: 1.125rem;
218
234
  --ndw-font-size-lg: 1.25rem;
219
235
  --ndw-font-size-xl: 1.5rem;
220
- --ndw-font-weight-regular: 500;
221
- --ndw-font-weight-bold: 600;
236
+ --ndw-font-weight-regular: 400;
237
+ --ndw-font-weight-bold: 650;
238
+ --ndw-line-height-sm: 1.375em;
222
239
  --ndw-line-height-md: 1.5em;
223
240
  /* Transform */
224
241
  --ndw-rotate-half: rotate(180deg);
225
242
  }
226
243
 
227
- @font-face {
228
- font-family: "Object Sans";
229
- font-weight: 500;
230
- font-style: normal;
231
- src: url("../../assets/fonts/ObjectSans-Regular.woff2") format("woff2");
232
- }
233
- @font-face {
234
- font-family: "Object Sans";
235
- font-weight: 600;
236
- font-style: normal;
237
- src: url("../../assets/fonts/ObjectSans-Bold.woff2") format("woff2");
238
- }
244
+ /* Screen sizes */
239
245
  /* Mixins */
240
246
  /* Classes */
241
247
  .ndw-heading-xl {
242
- font-family: var(--ndw-font-family);
248
+ font-family: var(--ndw-font-family-heading);
243
249
  font-size: 2.5rem;
244
250
  font-weight: var(--ndw-font-weight-bold);
245
251
  line-height: 150%;
246
252
  }
247
253
 
248
254
  .ndw-heading-lg {
249
- font-family: var(--ndw-font-family);
255
+ font-family: var(--ndw-font-family-heading);
250
256
  font-size: 2rem;
251
257
  font-weight: var(--ndw-font-weight-bold);
252
258
  line-height: 150%;
253
259
  }
254
260
 
255
261
  .ndw-heading-md {
256
- font-family: var(--ndw-font-family);
262
+ font-family: var(--ndw-font-family-heading);
257
263
  font-size: 1.5rem;
258
264
  font-weight: var(--ndw-font-weight-bold);
259
265
  line-height: 150%;
260
266
  }
261
267
 
262
268
  .ndw-heading-sm {
263
- font-family: var(--ndw-font-family);
269
+ font-family: var(--ndw-font-family-heading);
264
270
  font-size: 1.25rem;
265
271
  font-weight: var(--ndw-font-weight-bold);
266
272
  line-height: 150%;
267
273
  }
268
274
 
269
275
  .ndw-paragraph-bold-xl {
270
- font-family: var(--ndw-font-family);
276
+ font-family: var(--ndw-font-family-body);
271
277
  font-size: 1.125rem;
272
278
  font-weight: var(--ndw-font-weight-bold);
273
279
  line-height: 150%;
274
280
  }
275
281
 
276
282
  .ndw-paragraph-xl {
277
- font-family: var(--ndw-font-family);
283
+ font-family: var(--ndw-font-family-body);
278
284
  font-size: 1.125rem;
279
285
  font-weight: var(--ndw-font-weight-regular);
280
286
  line-height: 150%;
281
287
  }
282
288
 
283
289
  .ndw-paragraph-bold-lg {
284
- font-family: var(--ndw-font-family);
290
+ font-family: var(--ndw-font-family-body);
285
291
  font-size: 1rem;
286
292
  font-weight: var(--ndw-font-weight-bold);
287
293
  line-height: 150%;
288
294
  }
289
295
 
290
296
  .ndw-paragraph-lg {
291
- font-family: var(--ndw-font-family);
297
+ font-family: var(--ndw-font-family-body);
292
298
  font-size: 1rem;
293
299
  font-weight: var(--ndw-font-weight-regular);
294
300
  line-height: 150%;
295
301
  }
296
302
 
297
303
  .ndw-paragraph-bold-md {
298
- font-family: var(--ndw-font-family);
304
+ font-family: var(--ndw-font-family-body);
299
305
  font-size: 0.8125rem;
300
306
  font-weight: var(--ndw-font-weight-bold);
301
307
  line-height: 150%;
302
308
  }
303
309
 
304
310
  .ndw-paragraph-md {
305
- font-family: var(--ndw-font-family);
311
+ font-family: var(--ndw-font-family-body);
306
312
  font-size: 0.8125rem;
307
313
  font-weight: var(--ndw-font-weight-regular);
308
314
  line-height: 150%;
309
315
  }
310
316
 
311
317
  .ndw-paragraph-bold-sm {
312
- font-family: var(--ndw-font-family);
318
+ font-family: var(--ndw-font-family-body);
313
319
  font-size: 0.6875rem;
314
320
  font-weight: var(--ndw-font-weight-bold);
315
321
  line-height: 150%;
316
322
  }
317
323
 
318
324
  .ndw-paragraph-sm {
319
- font-family: var(--ndw-font-family);
325
+ font-family: var(--ndw-font-family-body);
320
326
  font-size: 0.6875rem;
321
327
  font-weight: var(--ndw-font-weight-regular);
322
328
  line-height: 150%;
323
329
  }
324
330
 
331
+ .grid {
332
+ display: grid;
333
+ justify-items: stretch;
334
+ grid-template-columns: repeat(var(--grid-columns), minmax(1rem, 1fr));
335
+ gap: var(--grid-spacing);
336
+ padding: 0 var(--grid-spacing);
337
+ margin: 0 auto;
338
+ width: 100%;
339
+ min-width: min-content;
340
+ max-width: 1440px;
341
+ }
342
+ .grid .column-1 {
343
+ grid-column: span min(1, var(--grid-columns));
344
+ overflow: auto;
345
+ }
346
+ .grid .column-2 {
347
+ grid-column: span min(2, var(--grid-columns));
348
+ overflow: auto;
349
+ }
350
+ .grid .column-3 {
351
+ grid-column: span min(3, var(--grid-columns));
352
+ overflow: auto;
353
+ }
354
+ .grid .column-4 {
355
+ grid-column: span min(4, var(--grid-columns));
356
+ overflow: auto;
357
+ }
358
+ .grid .column-5 {
359
+ grid-column: span min(5, var(--grid-columns));
360
+ overflow: auto;
361
+ }
362
+ .grid .column-6 {
363
+ grid-column: span min(6, var(--grid-columns));
364
+ overflow: auto;
365
+ }
366
+ .grid .column-7 {
367
+ grid-column: span min(7, var(--grid-columns));
368
+ overflow: auto;
369
+ }
370
+ .grid .column-8 {
371
+ grid-column: span min(8, var(--grid-columns));
372
+ overflow: auto;
373
+ }
374
+ .grid .column-9 {
375
+ grid-column: span min(9, var(--grid-columns));
376
+ overflow: auto;
377
+ }
378
+ .grid .column-10 {
379
+ grid-column: span min(10, var(--grid-columns));
380
+ overflow: auto;
381
+ }
382
+ .grid .column-11 {
383
+ grid-column: span min(11, var(--grid-columns));
384
+ overflow: auto;
385
+ }
386
+ .grid .column-12 {
387
+ grid-column: span min(12, var(--grid-columns));
388
+ overflow: auto;
389
+ }
390
+ @media screen and (max-width: 1024px) {
391
+ .grid {
392
+ --grid-columns: 6;
393
+ --grid-spacing: var(--ndw-spacing-md);
394
+ }
395
+ .grid .column-md-1 {
396
+ display: none;
397
+ }
398
+ .grid .column-md-2 {
399
+ display: none;
400
+ }
401
+ .grid .column-md-3 {
402
+ display: none;
403
+ }
404
+ .grid .column-md-4 {
405
+ display: none;
406
+ }
407
+ .grid .column-md-5 {
408
+ display: none;
409
+ }
410
+ .grid .column-md-6 {
411
+ display: none;
412
+ }
413
+ .grid .column-md-7 {
414
+ display: none;
415
+ }
416
+ .grid .column-md-8 {
417
+ display: none;
418
+ }
419
+ .grid .column-md-9 {
420
+ display: none;
421
+ }
422
+ .grid .column-md-10 {
423
+ display: none;
424
+ }
425
+ .grid .column-md-11 {
426
+ display: none;
427
+ }
428
+ .grid .column-md-12 {
429
+ display: none;
430
+ }
431
+ .grid .column-sm-1 {
432
+ grid-column: span 1;
433
+ overflow: auto;
434
+ display: block;
435
+ }
436
+ .grid .column-sm-2 {
437
+ grid-column: span 2;
438
+ overflow: auto;
439
+ display: block;
440
+ }
441
+ .grid .column-sm-3 {
442
+ grid-column: span 3;
443
+ overflow: auto;
444
+ display: block;
445
+ }
446
+ .grid .column-sm-4 {
447
+ grid-column: span 4;
448
+ overflow: auto;
449
+ display: block;
450
+ }
451
+ .grid .column-sm-5 {
452
+ grid-column: span 5;
453
+ overflow: auto;
454
+ display: block;
455
+ }
456
+ .grid .column-sm-6 {
457
+ grid-column: span 6;
458
+ overflow: auto;
459
+ display: block;
460
+ }
461
+ }
462
+ @media screen and (min-width: 1025px) {
463
+ .grid {
464
+ --grid-columns: 12;
465
+ --grid-spacing: var(--ndw-spacing-lg);
466
+ }
467
+ .grid .column-md-1 {
468
+ grid-column: span 1;
469
+ overflow: auto;
470
+ display: block;
471
+ }
472
+ .grid .column-md-2 {
473
+ grid-column: span 2;
474
+ overflow: auto;
475
+ display: block;
476
+ }
477
+ .grid .column-md-3 {
478
+ grid-column: span 3;
479
+ overflow: auto;
480
+ display: block;
481
+ }
482
+ .grid .column-md-4 {
483
+ grid-column: span 4;
484
+ overflow: auto;
485
+ display: block;
486
+ }
487
+ .grid .column-md-5 {
488
+ grid-column: span 5;
489
+ overflow: auto;
490
+ display: block;
491
+ }
492
+ .grid .column-md-6 {
493
+ grid-column: span 6;
494
+ overflow: auto;
495
+ display: block;
496
+ }
497
+ .grid .column-md-7 {
498
+ grid-column: span 7;
499
+ overflow: auto;
500
+ display: block;
501
+ }
502
+ .grid .column-md-8 {
503
+ grid-column: span 8;
504
+ overflow: auto;
505
+ display: block;
506
+ }
507
+ .grid .column-md-9 {
508
+ grid-column: span 9;
509
+ overflow: auto;
510
+ display: block;
511
+ }
512
+ .grid .column-md-10 {
513
+ grid-column: span 10;
514
+ overflow: auto;
515
+ display: block;
516
+ }
517
+ .grid .column-md-11 {
518
+ grid-column: span 11;
519
+ overflow: auto;
520
+ display: block;
521
+ }
522
+ .grid .column-md-12 {
523
+ grid-column: span 12;
524
+ overflow: auto;
525
+ display: block;
526
+ }
527
+ }
528
+
325
529
  [ndwButton] {
326
530
  box-sizing: border-box;
327
531
  display: flex;
@@ -336,11 +540,14 @@
336
540
  border-radius: var(--ndw-border-radius-sm);
337
541
  transition: color 200ms ease-out, background-color 200ms ease-out, border-color 200ms ease-out;
338
542
  color: var(--ndw-foreground-primary);
339
- font-family: var(--ndw-font-family);
543
+ font-family: var(--ndw-font-family-body);
340
544
  font-size: var(--ndw-font-size-sm);
341
545
  font-weight: var(--ndw-font-weight-regular);
342
546
  text-align: start;
343
547
  }
548
+ [ndwButton] ndw-icon {
549
+ font-size: var(--ndw-spacing-md);
550
+ }
344
551
  [ndwButton]:hover {
345
552
  background-color: var(--ndw-background-primary-hover);
346
553
  border-color: var(--ndw-background-primary-hover);
@@ -368,17 +575,17 @@
368
575
  }
369
576
  [ndwButton][secondary] {
370
577
  background-color: transparent;
371
- border-color: var(--ndw-color-grey-200);
372
- color: var(--ndw-color-grey-600);
578
+ border-color: var(--ndw-color-grey-300);
579
+ color: var(--ndw-color-grey-700);
373
580
  }
374
581
  [ndwButton][secondary]:hover {
375
- background-color: var(--ndw-color-grey-300);
376
- border-color: var(--ndw-color-grey-300);
582
+ background-color: var(--ndw-color-grey-500);
583
+ border-color: var(--ndw-color-grey-500);
377
584
  color: var(--ndw-color-white);
378
585
  }
379
586
  [ndwButton][secondary]:active {
380
- background-color: var(--ndw-color-grey-400);
381
- border-color: var(--ndw-color-grey-400);
587
+ background-color: var(--ndw-color-grey-700);
588
+ border-color: var(--ndw-color-grey-700);
382
589
  color: var(--ndw-color-white);
383
590
  }
384
591
  [ndwButton][large] {
@@ -386,9 +593,9 @@
386
593
  padding-inline: var(--ndw-spacing-sm);
387
594
  }
388
595
  [ndwButton][disabled] {
389
- background-color: var(--ndw-color-grey-200);
390
- border-color: var(--ndw-color-grey-200);
391
- color: var(--ndw-color-grey-600);
596
+ background-color: var(--ndw-color-grey-300);
597
+ border-color: var(--ndw-color-grey-300);
598
+ color: var(--ndw-color-grey-700);
392
599
  pointer-events: none;
393
600
  user-select: none;
394
601
  }
@@ -412,8 +619,8 @@
412
619
 
413
620
  [ndwButton][filter] {
414
621
  background-color: var(--ndw-color-white);
415
- border-color: var(--ndw-color-grey-200);
416
- color: var(--ndw-color-grey-600);
622
+ border-color: var(--ndw-color-grey-300);
623
+ color: var(--ndw-color-grey-700);
417
624
  height: var(--ndw-spacing-2xl);
418
625
  }
419
626
  [ndwButton][filter] ndw-icon {
@@ -423,24 +630,25 @@
423
630
  border-color: var(--ndw-color-primary);
424
631
  }
425
632
  [ndwButton][filter]:active {
426
- background-color: var(--ndw-color-primary-100);
633
+ background-color: var(--ndw-color-primary-050);
427
634
  }
428
635
  [ndwButton][filter][disabled] {
429
- background-color: var(--ndw-color-grey-100);
430
- color: var(--ndw-color-grey-400);
636
+ background-color: var(--ndw-color-grey-300);
637
+ color: var(--ndw-color-grey-500);
431
638
  pointer-events: none;
432
639
  user-select: none;
433
640
  }
434
641
  [ndwButton][filter][disabled] ndw-icon {
435
- color: var(--ndw-color-grey-400);
642
+ color: var(--ndw-color-grey-500);
436
643
  }
437
644
 
438
645
  [ndwInput] {
439
646
  background-color: var(--ndw-color-white);
440
- border: var(--ndw-border-size-sm) solid var(--ndw-color-grey-200);
647
+ border: var(--ndw-border-size-sm) solid var(--ndw-color-grey-300);
441
648
  border-radius: var(--ndw-border-radius-sm);
442
649
  box-sizing: border-box;
443
- color: var(--ndw-color-grey-600);
650
+ color: var(--ndw-color-grey-700);
651
+ font-family: var(--ndw-font-family-body);
444
652
  font-size: var(--ndw-font-size-sm);
445
653
  height: var(--ndw-spacing-2xl);
446
654
  line-height: var(--ndw-line-height-md);
@@ -451,26 +659,26 @@
451
659
  transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out, outline-color 150ms ease-in-out;
452
660
  }
453
661
  [ndwInput]:hover {
454
- border-color: var(--ndw-color-grey-300);
662
+ border-color: var(--ndw-color-grey-400);
455
663
  }
456
664
  [ndwInput]:active, [ndwInput]:focus, [ndwInput]:focus-visible {
457
665
  border-color: transparent;
458
666
  box-shadow: var(--ndw-elevation-info);
459
- outline-color: var(--ndw-color-info-500);
667
+ outline-color: var(--ndw-color-secondary-500);
460
668
  }
461
669
  [ndwInput]::placeholder {
462
- color: var(--ndw-color-grey-300);
670
+ color: var(--ndw-color-grey-400);
463
671
  }
464
672
  [ndwInput][type=search]::-webkit-search-decoration, [ndwInput][type=search]::-webkit-search-cancel-button, [ndwInput][type=search]::-webkit-search-results-button, [ndwInput][type=search]::-webkit-search-results-decoration {
465
673
  display: none;
466
674
  }
467
- [ndwInput][type=date]::-webkit-calendar-picker-indicator, [ndwInput][type=time]::-webkit-calendar-picker-indicator {
675
+ [ndwInput][type=date]::-webkit-calendar-picker-indicator, [ndwInput][type=month]::-webkit-calendar-picker-indicator, [ndwInput][type=time]::-webkit-calendar-picker-indicator, [ndwInput][type=week]::-webkit-calendar-picker-indicator {
468
676
  cursor: pointer;
469
677
  opacity: 0;
470
678
  }
471
679
  [ndwInput][error] {
472
- background-color: var(--ndw-color-negative-100);
473
- border-color: var(--ndw-color-negative-500);
680
+ background-color: var(--ndw-color-critical-100);
681
+ border-color: var(--ndw-color-critical-500);
474
682
  }
475
683
  [ndwInput][error]:hover {
476
684
  border-color: var(--ndw-color-grey-300);
@@ -478,12 +686,12 @@
478
686
  [ndwInput][error]:active, [ndwInput][error]:focus, [ndwInput][error]:focus-visible {
479
687
  background-color: var(--ndw-color-white);
480
688
  border-color: transparent;
481
- outline-color: var(--ndw-color-info-500);
689
+ outline-color: var(--ndw-color-secondary-500);
482
690
  }
483
691
  [ndwInput][disabled] {
484
692
  background-color: var(--ndw-color-grey-100);
485
- border-color: var(--ndw-color-grey-200);
486
- color: var(--ndw-color-grey-400);
693
+ border-color: var(--ndw-color-grey-300);
694
+ color: var(--ndw-color-grey-500);
487
695
  pointer-events: none;
488
696
  }
489
697
  [ndwInput].prefix-icon {
@@ -499,12 +707,16 @@ select[ndwInput] {
499
707
  white-space: nowrap;
500
708
  padding-right: var(--ndw-spacing-xl);
501
709
  }
502
- select[ndwInput]:not([ndw-changed]) {
503
- color: var(--ndw-color-grey-300);
710
+ select[ndwInput][ndw-placeholder],
711
+ select[ndwInput] option[disabled] {
712
+ color: var(--ndw-color-grey-400);
713
+ }
714
+ select[ndwInput] option:not([disabled]) {
715
+ color: var(--ndw-color-grey-700);
504
716
  }
505
717
 
506
718
  textarea[ndwInput] {
507
- min-height: 6.5rem;
719
+ min-height: 4rem;
508
720
  padding-top: calc(var(--ndw-spacing-xs) + var(--ndw-border-size-sm));
509
721
  resize: vertical;
510
722
  }
@@ -513,9 +725,9 @@ textarea[ndwInput] {
513
725
  align-content: center;
514
726
  align-items: center;
515
727
  display: grid;
516
- font-family: var(--ndw-font-family);
728
+ font-family: var(--ndw-font-family-body);
517
729
  font-size: var(--ndw-font-size-sm);
518
- font-weight: var(--ndw-font-weight-regular);
730
+ font-weight: var(--ndw-font-weight-bold);
519
731
  gap: var(--ndw-spacing-3xs);
520
732
  grid-template-columns: repeat(3, auto);
521
733
  height: 1.5rem;
@@ -523,16 +735,17 @@ textarea[ndwInput] {
523
735
  line-height: 100%;
524
736
  }
525
737
  [ndwLabel] ndw-icon {
526
- color: var(--ndw-color-grey-300);
738
+ color: var(--ndw-color-grey-400);
739
+ font-size: var(--ndw-icon-size-md);
527
740
  margin-top: calc(var(--ndw-spacing-3xs) * -1);
528
741
  }
529
742
  [ndwLabel] .required {
530
- color: var(--ndw-color-grey-300);
743
+ color: var(--ndw-color-grey-400);
531
744
  }
532
745
 
533
746
  a[ndwLink] {
534
747
  align-items: baseline;
535
- color: var(--ndw-color-info-500);
748
+ color: var(--ndw-color-link-400);
536
749
  display: inline-flex;
537
750
  font-size: inherit;
538
751
  gap: var(--ndw-spacing-2xs);
@@ -543,11 +756,16 @@ a[ndwLink] {
543
756
  a[ndwLink] > * {
544
757
  align-self: center;
545
758
  }
759
+ a[ndwLink] ndw-icon {
760
+ font-size: 1.25em;
761
+ overflow: hidden;
762
+ }
546
763
  a[ndwLink]:hover {
547
- text-decoration-color: var(--ndw-color-info-500);
764
+ color: var(--ndw-color-link-500);
765
+ text-decoration-color: var(--ndw-color-link-500);
548
766
  }
549
767
  a[ndwLink][disabled] {
550
- color: var(--ndw-color-grey-300);
768
+ color: var(--ndw-color-grey-400);
551
769
  pointer-events: none;
552
770
  user-select: none;
553
771
  }
@@ -560,7 +778,7 @@ a[ndwLink][disabled] {
560
778
  background-color: transparent;
561
779
  border-color: transparent;
562
780
  border-radius: 0;
563
- color: var(--ndw-color-grey-300);
781
+ color: var(--ndw-color-grey-400);
564
782
  gap: var(--ndw-spacing-xs);
565
783
  height: 2.625rem;
566
784
  padding-inline: 0;
@@ -568,8 +786,8 @@ a[ndwLink][disabled] {
568
786
  width: 100%;
569
787
  }
570
788
  [ndwButton][menu]:hover {
571
- background-color: var(--ndw-color-grey-500);
572
- border-color: var(--ndw-color-grey-500);
789
+ background-color: var(--ndw-color-grey-600);
790
+ border-color: var(--ndw-color-grey-600);
573
791
  color: var(--ndw-color-white);
574
792
  }
575
793
  [ndwButton][menu]:active {
@@ -18,10 +18,10 @@ export class AccordionComponent {
18
18
  });
19
19
  });
20
20
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.0.1", type: AccordionComponent, isStandalone: true, selector: "ndw-accordion", inputs: { collapseOthers: { classPropertyName: "collapseOthers", publicName: "collapseOthers", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "collapsibles", predicate: CollapsibleComponent, isSignal: true }], ngImport: i0, template: "<ng-content />\n", styles: [""] }); }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.0.3", type: AccordionComponent, isStandalone: true, selector: "ndw-accordion", inputs: { collapseOthers: { classPropertyName: "collapseOthers", publicName: "collapseOthers", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "collapsibles", predicate: CollapsibleComponent, isSignal: true }], ngImport: i0, template: "<ng-content />\n", styles: [""] }); }
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AccordionComponent, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: AccordionComponent, decorators: [{
25
25
  type: Component,
26
26
  args: [{ selector: 'ndw-accordion', standalone: true, imports: [], template: "<ng-content />\n" }]
27
27
  }] });