@ndwnu/design-system 1.0.3 → 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.
- package/components/alert/alert.component.d.ts +13 -0
- package/components/alert/alert.model.d.ts +6 -0
- package/components/alert/index.d.ts +2 -0
- package/components/breadcrumb/breadcrumb.component.d.ts +8 -0
- package/components/breadcrumb/index.d.ts +1 -0
- package/components/breadcrumb-group/breadcrumb-group.component.d.ts +7 -0
- package/components/breadcrumb-group/index.d.ts +1 -0
- package/components/dropdown/dropdown.component.d.ts +1 -1
- package/components/form-field/checkbox/checkbox.component.d.ts +1 -2
- package/components/form-field/input/input.directive.d.ts +6 -0
- package/components/form-field/radio-button/radio-button.component.d.ts +7 -4
- package/components/form-field/radio-group/radio-group.component.d.ts +9 -1
- package/components/icon/icon.component.d.ts +9 -6
- package/components/icon/index.d.ts +0 -2
- package/components/index.d.ts +5 -2
- package/components/main-navigation/main-navigation.model.d.ts +1 -0
- package/components/main-navigation-menu/main-navigation-menu.component.d.ts +1 -3
- package/components/router-breadcrumbs/index.d.ts +1 -0
- package/components/router-breadcrumbs/router-breadcrumbs.component.d.ts +15 -0
- package/core/styles/ndw-styles.scss +154 -102
- package/core/styles/nwb-styles.scss +116 -96
- package/esm2022/components/alert/alert.component.mjs +34 -0
- package/esm2022/components/alert/alert.model.mjs +8 -0
- package/esm2022/components/alert/index.mjs +3 -0
- package/esm2022/components/badge/badge.component.mjs +2 -2
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +15 -0
- package/esm2022/components/breadcrumb/index.mjs +2 -0
- package/esm2022/components/breadcrumb-group/breadcrumb-group.component.mjs +21 -0
- package/esm2022/components/breadcrumb-group/index.mjs +2 -0
- package/esm2022/components/collapsible/collapsible.component.mjs +3 -3
- package/esm2022/components/dropdown/dropdown.component.mjs +4 -4
- package/esm2022/components/form-field/checkbox/checkbox.component.mjs +4 -11
- package/esm2022/components/form-field/error/error.component.mjs +3 -3
- package/esm2022/components/form-field/form-field.component.mjs +5 -5
- package/esm2022/components/form-field/info/info.component.mjs +2 -2
- package/esm2022/components/form-field/input/input.directive.mjs +33 -2
- package/esm2022/components/form-field/radio-button/radio-button.component.mjs +28 -10
- package/esm2022/components/form-field/radio-group/radio-group.component.mjs +45 -5
- package/esm2022/components/icon/icon.component.mjs +31 -16
- package/esm2022/components/icon/index.mjs +1 -3
- package/esm2022/components/index.mjs +6 -3
- package/esm2022/components/main-navigation/main-navigation.component.mjs +3 -3
- package/esm2022/components/main-navigation/main-navigation.model.mjs +1 -1
- package/esm2022/components/main-navigation-menu/main-navigation-menu.component.mjs +4 -8
- package/esm2022/components/router-breadcrumbs/index.mjs +2 -0
- package/esm2022/components/router-breadcrumbs/router-breadcrumbs.component.mjs +37 -0
- package/esm2022/components/tab/tab.component.mjs +2 -2
- package/esm2022/components/tooltip/tooltip.component.mjs +2 -2
- package/fesm2022/ndwnu-design-system.mjs +326 -160
- package/fesm2022/ndwnu-design-system.mjs.map +1 -1
- package/package.json +4 -7
- package/assets/icons/icons.json +0 -878
- package/components/icon/icon.model.d.ts +0 -5
- package/components/icon/icon.service.d.ts +0 -9
- package/esm2022/components/icon/icon.model.mjs +0 -2
- package/esm2022/components/icon/icon.service.mjs +0 -26
|
@@ -1,13 +1,24 @@
|
|
|
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: 19, 100%;
|
|
3
|
-
--_primary-
|
|
4
|
+
--_primary-050: var(--_primary), 95%;
|
|
5
|
+
--_primary-100: var(--_primary), 80%;
|
|
6
|
+
--_primary-200: var(--_primary), 73%;
|
|
7
|
+
--_primary-300: var(--_primary), 62%;
|
|
8
|
+
--_primary-400: var(--_primary), 50%;
|
|
9
|
+
--_primary-500: var(--_primary), 40%;
|
|
4
10
|
--_primary-600: var(--_primary), 35%;
|
|
5
|
-
--_primary-
|
|
6
|
-
--_primary-
|
|
7
|
-
--ndw-color-primary-
|
|
8
|
-
--ndw-color-primary-600: hsl(var(--_primary-600));
|
|
9
|
-
--ndw-color-primary-500: hsl(var(--_primary-500));
|
|
11
|
+
--_primary-700: var(--_primary), 27%;
|
|
12
|
+
--_primary-800: var(--_primary), 15%;
|
|
13
|
+
--ndw-color-primary-050: hsl(var(--_primary-050));
|
|
10
14
|
--ndw-color-primary-100: hsl(var(--_primary-100));
|
|
15
|
+
--ndw-color-primary-200: hsl(var(--_primary-200));
|
|
16
|
+
--ndw-color-primary-300: hsl(var(--_primary-300));
|
|
17
|
+
--ndw-color-primary-400: hsl(var(--_primary-400));
|
|
18
|
+
--ndw-color-primary-500: hsl(var(--_primary-500));
|
|
19
|
+
--ndw-color-primary-600: hsl(var(--_primary-600));
|
|
20
|
+
--ndw-color-primary-700: hsl(var(--_primary-700));
|
|
21
|
+
--ndw-color-primary-800: hsl(var(--_primary-800));
|
|
11
22
|
--ndw-color-primary: var(--ndw-color-primary-500);
|
|
12
23
|
--ndw-color-primary-hover: var(--ndw-color-primary-600);
|
|
13
24
|
--ndw-color-primary-active: var(--ndw-color-primary-700);
|
|
@@ -18,6 +29,30 @@
|
|
|
18
29
|
--ndw-foreground-primary-hover: var(--ndw-color-white);
|
|
19
30
|
--ndw-foreground-primary-active: var(--ndw-color-white);
|
|
20
31
|
--ndw-text-primary: var(--ndw-color-primary);
|
|
32
|
+
--_secondary: 209, 100%;
|
|
33
|
+
--_secondary-050: var(--_secondary), 96%;
|
|
34
|
+
--_secondary-100: 209, 85%, 91%;
|
|
35
|
+
--_secondary-200: 209, 85%, 78%;
|
|
36
|
+
--_secondary-300: 209, 85%, 69%;
|
|
37
|
+
--_secondary-400: var(--_secondary), 46%;
|
|
38
|
+
--_secondary-500: var(--_secondary), 41%;
|
|
39
|
+
--_secondary-600: var(--_secondary), 32%;
|
|
40
|
+
--_secondary-700: var(--_secondary), 18%;
|
|
41
|
+
--ndw-color-secondary-050: hsl(var(--_secondary-050));
|
|
42
|
+
--ndw-color-secondary-100: hsl(var(--_secondary-100));
|
|
43
|
+
--ndw-color-secondary-200: hsl(var(--_secondary-200));
|
|
44
|
+
--ndw-color-secondary-300: hsl(var(--_secondary-300));
|
|
45
|
+
--ndw-color-secondary-400: hsl(var(--_secondary-400));
|
|
46
|
+
--ndw-color-secondary-500: hsl(var(--_secondary-500));
|
|
47
|
+
--ndw-color-secondary-600: hsl(var(--_secondary-600));
|
|
48
|
+
--ndw-color-secondary-700: hsl(var(--_secondary-700));
|
|
49
|
+
--_tertiary: 43, 100%;
|
|
50
|
+
--_tertiary-400: var(--_tertiary), 50%;
|
|
51
|
+
--_tertiary-500: var(--_tertiary), 43%;
|
|
52
|
+
--ndw-color-tertiary-400: hsl(var(--_tertiary-400));
|
|
53
|
+
--ndw-color-tertiary-500: hsl(var(--_tertiary-500));
|
|
54
|
+
--ndw-alpha-primary-007: hsla(var(--_primary-500), var(--_alpha-007));
|
|
55
|
+
--ndw-alpha-primary-015: hsla(var(--_primary-500), var(--_alpha-015));
|
|
21
56
|
}
|
|
22
57
|
|
|
23
58
|
.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
|
@@ -110,14 +145,15 @@
|
|
|
110
145
|
|
|
111
146
|
:root {
|
|
112
147
|
/* Colors */
|
|
113
|
-
--_grey:
|
|
114
|
-
--_grey-600:
|
|
115
|
-
--_grey-500:
|
|
116
|
-
--_grey-400:
|
|
117
|
-
--_grey-300:
|
|
118
|
-
--_grey-200:
|
|
119
|
-
--_grey-100:
|
|
120
|
-
--_white:
|
|
148
|
+
--_grey-700: 195, 100%, 10%;
|
|
149
|
+
--_grey-600: 196, 13%, 29%;
|
|
150
|
+
--_grey-500: 197, 7%, 40%;
|
|
151
|
+
--_grey-400: 204, 2%, 54%;
|
|
152
|
+
--_grey-300: 192, 5%, 82%;
|
|
153
|
+
--_grey-200: 204, 11%, 91%;
|
|
154
|
+
--_grey-100: 200, 16%, 96%;
|
|
155
|
+
--_white: 0, 0%, 100%;
|
|
156
|
+
--ndw-color-grey-700: hsl(var(--_grey-700));
|
|
121
157
|
--ndw-color-grey-600: hsl(var(--_grey-600));
|
|
122
158
|
--ndw-color-grey-500: hsl(var(--_grey-500));
|
|
123
159
|
--ndw-color-grey-400: hsl(var(--_grey-400));
|
|
@@ -125,28 +161,35 @@
|
|
|
125
161
|
--ndw-color-grey-200: hsl(var(--_grey-200));
|
|
126
162
|
--ndw-color-grey-100: hsl(var(--_grey-100));
|
|
127
163
|
--ndw-color-white: hsl(var(--_white));
|
|
128
|
-
--
|
|
129
|
-
--
|
|
130
|
-
--
|
|
131
|
-
--
|
|
164
|
+
--_link: 208, 100%;
|
|
165
|
+
--_link-400: var(--_link), 41%;
|
|
166
|
+
--_link-500: var(--_link), 32%;
|
|
167
|
+
--ndw-color-link-400: hsl(var(--_link-400));
|
|
168
|
+
--ndw-color-link-500: hsl(var(--_link-500));
|
|
132
169
|
--_positive: 133, 92%;
|
|
133
|
-
--_positive-600: var(--_positive), 24%;
|
|
134
|
-
--_positive-500: var(--_positive), 33%;
|
|
135
170
|
--_positive-100: 117, 56%, 92%;
|
|
136
|
-
--
|
|
137
|
-
--
|
|
138
|
-
--
|
|
139
|
-
--
|
|
140
|
-
--
|
|
141
|
-
--
|
|
142
|
-
--
|
|
143
|
-
--
|
|
144
|
-
--
|
|
171
|
+
--_positive-500: var(--_positive), 33%;
|
|
172
|
+
--_positive-600: var(--_positive), 24%;
|
|
173
|
+
--_warning: 43, 93%;
|
|
174
|
+
--_warning-100: 44, 100%, 94%;
|
|
175
|
+
--_warning-500: var(--_warning), 43%;
|
|
176
|
+
--_warning-600: 42, 83%, 32%;
|
|
177
|
+
--_alternative: 292, 100%;
|
|
178
|
+
--_alternative-100: var(--_alternative), 95%;
|
|
179
|
+
--_alternative-500: 292, 95%, 33%;
|
|
180
|
+
--_critical: 0, 100%;
|
|
181
|
+
--_critical-100: var(--_critical), 98%;
|
|
182
|
+
--_critical-500: var(--_critical), 46%;
|
|
145
183
|
--ndw-color-positive-100: hsl(var(--_positive-100));
|
|
146
|
-
--ndw-color-
|
|
147
|
-
--ndw-color-
|
|
148
|
-
--ndw-color-
|
|
149
|
-
--ndw-color-
|
|
184
|
+
--ndw-color-positive-500: hsl(var(--_positive-500));
|
|
185
|
+
--ndw-color-positive-600: hsl(var(--_positive-600));
|
|
186
|
+
--ndw-color-warning-100: hsl(var(--_warning-100));
|
|
187
|
+
--ndw-color-warning-500: hsl(var(--_warning-500));
|
|
188
|
+
--ndw-color-warning-600: hsl(var(--_warning-600));
|
|
189
|
+
--ndw-color-alternative-100: hsl(var(--_alternative-100));
|
|
190
|
+
--ndw-color-alternative-500: hsl(var(--_alternative-500));
|
|
191
|
+
--ndw-color-critical-100: hsl(var(--_critical-100));
|
|
192
|
+
--ndw-color-critical-500: hsl(var(--_critical-500));
|
|
150
193
|
--ndw-color-notification: hsl(19, 100%, 35%);
|
|
151
194
|
--_data-a-500: 133, 100%, 21%;
|
|
152
195
|
--_data-a-100: 101, 61%, 81%;
|
|
@@ -173,9 +216,13 @@
|
|
|
173
216
|
--ndw-color-data-f-500: hsl(var(--_data-f-500));
|
|
174
217
|
--ndw-color-data-f-100: hsl(var(--_data-f-100));
|
|
175
218
|
/* Alpha */
|
|
176
|
-
--
|
|
177
|
-
--
|
|
178
|
-
--
|
|
219
|
+
--_alpha-black: 0, 0%, 0%;
|
|
220
|
+
--_alpha-007: 0.07;
|
|
221
|
+
--_alpha-015: 0.15;
|
|
222
|
+
--_alpha-040: 0.4;
|
|
223
|
+
--ndw-alpha-black-007: hsla(var(--_alpha-black), var(--_alpha-007));
|
|
224
|
+
--ndw-alpha-black-015: hsla(var(--_alpha-black), var(--_alpha-015));
|
|
225
|
+
--ndw-alpha-black-040: hsla(var(--_alpha-black), var(--_alpha-040));
|
|
179
226
|
/* Spacing */
|
|
180
227
|
--ndw-spacing-3xs: 0.125rem;
|
|
181
228
|
--ndw-spacing-2xs: 0.25rem;
|
|
@@ -210,113 +257,104 @@
|
|
|
210
257
|
--ndw-icon-size-md: 1rem;
|
|
211
258
|
--ndw-icon-size-lg: 1.5rem;
|
|
212
259
|
/* Typography */
|
|
213
|
-
--ndw-font-family: "
|
|
260
|
+
--ndw-font-family-body: "Nunito Sans", sans-serif;
|
|
261
|
+
--ndw-font-family-heading: "DM Sans", sans-serif;
|
|
214
262
|
--ndw-base-font-size: 16px;
|
|
215
263
|
--ndw-font-size-xs: 0.6875rem;
|
|
216
264
|
--ndw-font-size-sm: 0.8125rem;
|
|
217
265
|
--ndw-font-size-md: 1.125rem;
|
|
218
266
|
--ndw-font-size-lg: 1.25rem;
|
|
219
267
|
--ndw-font-size-xl: 1.5rem;
|
|
220
|
-
--ndw-font-weight-regular:
|
|
221
|
-
--ndw-font-weight-bold:
|
|
268
|
+
--ndw-font-weight-regular: 400;
|
|
269
|
+
--ndw-font-weight-bold: 650;
|
|
270
|
+
--ndw-line-height-sm: 1.375em;
|
|
222
271
|
--ndw-line-height-md: 1.5em;
|
|
223
272
|
/* Transform */
|
|
224
273
|
--ndw-rotate-half: rotate(180deg);
|
|
225
274
|
}
|
|
226
275
|
|
|
227
|
-
|
|
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
|
-
}
|
|
276
|
+
/* Screen sizes */
|
|
239
277
|
/* Mixins */
|
|
240
278
|
/* Classes */
|
|
241
279
|
.ndw-heading-xl {
|
|
242
|
-
font-family: var(--ndw-font-family);
|
|
280
|
+
font-family: var(--ndw-font-family-heading);
|
|
243
281
|
font-size: 2.5rem;
|
|
244
282
|
font-weight: var(--ndw-font-weight-bold);
|
|
245
283
|
line-height: 150%;
|
|
246
284
|
}
|
|
247
285
|
|
|
248
286
|
.ndw-heading-lg {
|
|
249
|
-
font-family: var(--ndw-font-family);
|
|
287
|
+
font-family: var(--ndw-font-family-heading);
|
|
250
288
|
font-size: 2rem;
|
|
251
289
|
font-weight: var(--ndw-font-weight-bold);
|
|
252
290
|
line-height: 150%;
|
|
253
291
|
}
|
|
254
292
|
|
|
255
293
|
.ndw-heading-md {
|
|
256
|
-
font-family: var(--ndw-font-family);
|
|
294
|
+
font-family: var(--ndw-font-family-heading);
|
|
257
295
|
font-size: 1.5rem;
|
|
258
296
|
font-weight: var(--ndw-font-weight-bold);
|
|
259
297
|
line-height: 150%;
|
|
260
298
|
}
|
|
261
299
|
|
|
262
300
|
.ndw-heading-sm {
|
|
263
|
-
font-family: var(--ndw-font-family);
|
|
301
|
+
font-family: var(--ndw-font-family-heading);
|
|
264
302
|
font-size: 1.25rem;
|
|
265
303
|
font-weight: var(--ndw-font-weight-bold);
|
|
266
304
|
line-height: 150%;
|
|
267
305
|
}
|
|
268
306
|
|
|
269
307
|
.ndw-paragraph-bold-xl {
|
|
270
|
-
font-family: var(--ndw-font-family);
|
|
308
|
+
font-family: var(--ndw-font-family-body);
|
|
271
309
|
font-size: 1.125rem;
|
|
272
310
|
font-weight: var(--ndw-font-weight-bold);
|
|
273
311
|
line-height: 150%;
|
|
274
312
|
}
|
|
275
313
|
|
|
276
314
|
.ndw-paragraph-xl {
|
|
277
|
-
font-family: var(--ndw-font-family);
|
|
315
|
+
font-family: var(--ndw-font-family-body);
|
|
278
316
|
font-size: 1.125rem;
|
|
279
317
|
font-weight: var(--ndw-font-weight-regular);
|
|
280
318
|
line-height: 150%;
|
|
281
319
|
}
|
|
282
320
|
|
|
283
321
|
.ndw-paragraph-bold-lg {
|
|
284
|
-
font-family: var(--ndw-font-family);
|
|
322
|
+
font-family: var(--ndw-font-family-body);
|
|
285
323
|
font-size: 1rem;
|
|
286
324
|
font-weight: var(--ndw-font-weight-bold);
|
|
287
325
|
line-height: 150%;
|
|
288
326
|
}
|
|
289
327
|
|
|
290
328
|
.ndw-paragraph-lg {
|
|
291
|
-
font-family: var(--ndw-font-family);
|
|
329
|
+
font-family: var(--ndw-font-family-body);
|
|
292
330
|
font-size: 1rem;
|
|
293
331
|
font-weight: var(--ndw-font-weight-regular);
|
|
294
332
|
line-height: 150%;
|
|
295
333
|
}
|
|
296
334
|
|
|
297
335
|
.ndw-paragraph-bold-md {
|
|
298
|
-
font-family: var(--ndw-font-family);
|
|
336
|
+
font-family: var(--ndw-font-family-body);
|
|
299
337
|
font-size: 0.8125rem;
|
|
300
338
|
font-weight: var(--ndw-font-weight-bold);
|
|
301
339
|
line-height: 150%;
|
|
302
340
|
}
|
|
303
341
|
|
|
304
342
|
.ndw-paragraph-md {
|
|
305
|
-
font-family: var(--ndw-font-family);
|
|
343
|
+
font-family: var(--ndw-font-family-body);
|
|
306
344
|
font-size: 0.8125rem;
|
|
307
345
|
font-weight: var(--ndw-font-weight-regular);
|
|
308
346
|
line-height: 150%;
|
|
309
347
|
}
|
|
310
348
|
|
|
311
349
|
.ndw-paragraph-bold-sm {
|
|
312
|
-
font-family: var(--ndw-font-family);
|
|
350
|
+
font-family: var(--ndw-font-family-body);
|
|
313
351
|
font-size: 0.6875rem;
|
|
314
352
|
font-weight: var(--ndw-font-weight-bold);
|
|
315
353
|
line-height: 150%;
|
|
316
354
|
}
|
|
317
355
|
|
|
318
356
|
.ndw-paragraph-sm {
|
|
319
|
-
font-family: var(--ndw-font-family);
|
|
357
|
+
font-family: var(--ndw-font-family-body);
|
|
320
358
|
font-size: 0.6875rem;
|
|
321
359
|
font-weight: var(--ndw-font-weight-regular);
|
|
322
360
|
line-height: 150%;
|
|
@@ -534,11 +572,14 @@
|
|
|
534
572
|
border-radius: var(--ndw-border-radius-sm);
|
|
535
573
|
transition: color 200ms ease-out, background-color 200ms ease-out, border-color 200ms ease-out;
|
|
536
574
|
color: var(--ndw-foreground-primary);
|
|
537
|
-
font-family: var(--ndw-font-family);
|
|
575
|
+
font-family: var(--ndw-font-family-body);
|
|
538
576
|
font-size: var(--ndw-font-size-sm);
|
|
539
577
|
font-weight: var(--ndw-font-weight-regular);
|
|
540
578
|
text-align: start;
|
|
541
579
|
}
|
|
580
|
+
[ndwButton] ndw-icon {
|
|
581
|
+
font-size: var(--ndw-spacing-md);
|
|
582
|
+
}
|
|
542
583
|
[ndwButton]:hover {
|
|
543
584
|
background-color: var(--ndw-background-primary-hover);
|
|
544
585
|
border-color: var(--ndw-background-primary-hover);
|
|
@@ -566,17 +607,17 @@
|
|
|
566
607
|
}
|
|
567
608
|
[ndwButton][secondary] {
|
|
568
609
|
background-color: transparent;
|
|
569
|
-
border-color: var(--ndw-color-grey-
|
|
570
|
-
color: var(--ndw-color-grey-
|
|
610
|
+
border-color: var(--ndw-color-grey-300);
|
|
611
|
+
color: var(--ndw-color-grey-700);
|
|
571
612
|
}
|
|
572
613
|
[ndwButton][secondary]:hover {
|
|
573
|
-
background-color: var(--ndw-color-grey-
|
|
574
|
-
border-color: var(--ndw-color-grey-
|
|
614
|
+
background-color: var(--ndw-color-grey-500);
|
|
615
|
+
border-color: var(--ndw-color-grey-500);
|
|
575
616
|
color: var(--ndw-color-white);
|
|
576
617
|
}
|
|
577
618
|
[ndwButton][secondary]:active {
|
|
578
|
-
background-color: var(--ndw-color-grey-
|
|
579
|
-
border-color: var(--ndw-color-grey-
|
|
619
|
+
background-color: var(--ndw-color-grey-700);
|
|
620
|
+
border-color: var(--ndw-color-grey-700);
|
|
580
621
|
color: var(--ndw-color-white);
|
|
581
622
|
}
|
|
582
623
|
[ndwButton][large] {
|
|
@@ -584,9 +625,9 @@
|
|
|
584
625
|
padding-inline: var(--ndw-spacing-sm);
|
|
585
626
|
}
|
|
586
627
|
[ndwButton][disabled] {
|
|
587
|
-
background-color: var(--ndw-color-grey-
|
|
588
|
-
border-color: var(--ndw-color-grey-
|
|
589
|
-
color: var(--ndw-color-grey-
|
|
628
|
+
background-color: var(--ndw-color-grey-300);
|
|
629
|
+
border-color: var(--ndw-color-grey-300);
|
|
630
|
+
color: var(--ndw-color-grey-700);
|
|
590
631
|
pointer-events: none;
|
|
591
632
|
user-select: none;
|
|
592
633
|
}
|
|
@@ -610,8 +651,8 @@
|
|
|
610
651
|
|
|
611
652
|
[ndwButton][filter] {
|
|
612
653
|
background-color: var(--ndw-color-white);
|
|
613
|
-
border-color: var(--ndw-color-grey-
|
|
614
|
-
color: var(--ndw-color-grey-
|
|
654
|
+
border-color: var(--ndw-color-grey-300);
|
|
655
|
+
color: var(--ndw-color-grey-700);
|
|
615
656
|
height: var(--ndw-spacing-2xl);
|
|
616
657
|
}
|
|
617
658
|
[ndwButton][filter] ndw-icon {
|
|
@@ -621,24 +662,25 @@
|
|
|
621
662
|
border-color: var(--ndw-color-primary);
|
|
622
663
|
}
|
|
623
664
|
[ndwButton][filter]:active {
|
|
624
|
-
background-color: var(--ndw-color-primary-
|
|
665
|
+
background-color: var(--ndw-color-primary-050);
|
|
625
666
|
}
|
|
626
667
|
[ndwButton][filter][disabled] {
|
|
627
|
-
background-color: var(--ndw-color-grey-
|
|
628
|
-
color: var(--ndw-color-grey-
|
|
668
|
+
background-color: var(--ndw-color-grey-300);
|
|
669
|
+
color: var(--ndw-color-grey-500);
|
|
629
670
|
pointer-events: none;
|
|
630
671
|
user-select: none;
|
|
631
672
|
}
|
|
632
673
|
[ndwButton][filter][disabled] ndw-icon {
|
|
633
|
-
color: var(--ndw-color-grey-
|
|
674
|
+
color: var(--ndw-color-grey-500);
|
|
634
675
|
}
|
|
635
676
|
|
|
636
677
|
[ndwInput] {
|
|
637
678
|
background-color: var(--ndw-color-white);
|
|
638
|
-
border: var(--ndw-border-size-sm) solid var(--ndw-color-grey-
|
|
679
|
+
border: var(--ndw-border-size-sm) solid var(--ndw-color-grey-300);
|
|
639
680
|
border-radius: var(--ndw-border-radius-sm);
|
|
640
681
|
box-sizing: border-box;
|
|
641
|
-
color: var(--ndw-color-grey-
|
|
682
|
+
color: var(--ndw-color-grey-700);
|
|
683
|
+
font-family: var(--ndw-font-family-body);
|
|
642
684
|
font-size: var(--ndw-font-size-sm);
|
|
643
685
|
height: var(--ndw-spacing-2xl);
|
|
644
686
|
line-height: var(--ndw-line-height-md);
|
|
@@ -649,15 +691,15 @@
|
|
|
649
691
|
transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out, outline-color 150ms ease-in-out;
|
|
650
692
|
}
|
|
651
693
|
[ndwInput]:hover {
|
|
652
|
-
border-color: var(--ndw-color-grey-
|
|
694
|
+
border-color: var(--ndw-color-grey-400);
|
|
653
695
|
}
|
|
654
696
|
[ndwInput]:active, [ndwInput]:focus, [ndwInput]:focus-visible {
|
|
655
697
|
border-color: transparent;
|
|
656
698
|
box-shadow: var(--ndw-elevation-info);
|
|
657
|
-
outline-color: var(--ndw-color-
|
|
699
|
+
outline-color: var(--ndw-color-secondary-500);
|
|
658
700
|
}
|
|
659
701
|
[ndwInput]::placeholder {
|
|
660
|
-
color: var(--ndw-color-grey-
|
|
702
|
+
color: var(--ndw-color-grey-400);
|
|
661
703
|
}
|
|
662
704
|
[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 {
|
|
663
705
|
display: none;
|
|
@@ -667,8 +709,8 @@
|
|
|
667
709
|
opacity: 0;
|
|
668
710
|
}
|
|
669
711
|
[ndwInput][error] {
|
|
670
|
-
background-color: var(--ndw-color-
|
|
671
|
-
border-color: var(--ndw-color-
|
|
712
|
+
background-color: var(--ndw-color-critical-100);
|
|
713
|
+
border-color: var(--ndw-color-critical-500);
|
|
672
714
|
}
|
|
673
715
|
[ndwInput][error]:hover {
|
|
674
716
|
border-color: var(--ndw-color-grey-300);
|
|
@@ -676,12 +718,12 @@
|
|
|
676
718
|
[ndwInput][error]:active, [ndwInput][error]:focus, [ndwInput][error]:focus-visible {
|
|
677
719
|
background-color: var(--ndw-color-white);
|
|
678
720
|
border-color: transparent;
|
|
679
|
-
outline-color: var(--ndw-color-
|
|
721
|
+
outline-color: var(--ndw-color-secondary-500);
|
|
680
722
|
}
|
|
681
723
|
[ndwInput][disabled] {
|
|
682
724
|
background-color: var(--ndw-color-grey-100);
|
|
683
|
-
border-color: var(--ndw-color-grey-
|
|
684
|
-
color: var(--ndw-color-grey-
|
|
725
|
+
border-color: var(--ndw-color-grey-300);
|
|
726
|
+
color: var(--ndw-color-grey-500);
|
|
685
727
|
pointer-events: none;
|
|
686
728
|
}
|
|
687
729
|
[ndwInput].prefix-icon {
|
|
@@ -697,12 +739,16 @@ select[ndwInput] {
|
|
|
697
739
|
white-space: nowrap;
|
|
698
740
|
padding-right: var(--ndw-spacing-xl);
|
|
699
741
|
}
|
|
700
|
-
select[ndwInput]
|
|
701
|
-
|
|
742
|
+
select[ndwInput][ndw-placeholder],
|
|
743
|
+
select[ndwInput] option[disabled] {
|
|
744
|
+
color: var(--ndw-color-grey-400);
|
|
745
|
+
}
|
|
746
|
+
select[ndwInput] option:not([disabled]) {
|
|
747
|
+
color: var(--ndw-color-grey-700);
|
|
702
748
|
}
|
|
703
749
|
|
|
704
750
|
textarea[ndwInput] {
|
|
705
|
-
min-height:
|
|
751
|
+
min-height: 4rem;
|
|
706
752
|
padding-top: calc(var(--ndw-spacing-xs) + var(--ndw-border-size-sm));
|
|
707
753
|
resize: vertical;
|
|
708
754
|
}
|
|
@@ -711,9 +757,9 @@ textarea[ndwInput] {
|
|
|
711
757
|
align-content: center;
|
|
712
758
|
align-items: center;
|
|
713
759
|
display: grid;
|
|
714
|
-
font-family: var(--ndw-font-family);
|
|
760
|
+
font-family: var(--ndw-font-family-body);
|
|
715
761
|
font-size: var(--ndw-font-size-sm);
|
|
716
|
-
font-weight: var(--ndw-font-weight-
|
|
762
|
+
font-weight: var(--ndw-font-weight-bold);
|
|
717
763
|
gap: var(--ndw-spacing-3xs);
|
|
718
764
|
grid-template-columns: repeat(3, auto);
|
|
719
765
|
height: 1.5rem;
|
|
@@ -721,16 +767,17 @@ textarea[ndwInput] {
|
|
|
721
767
|
line-height: 100%;
|
|
722
768
|
}
|
|
723
769
|
[ndwLabel] ndw-icon {
|
|
724
|
-
color: var(--ndw-color-grey-
|
|
770
|
+
color: var(--ndw-color-grey-400);
|
|
771
|
+
font-size: var(--ndw-icon-size-md);
|
|
725
772
|
margin-top: calc(var(--ndw-spacing-3xs) * -1);
|
|
726
773
|
}
|
|
727
774
|
[ndwLabel] .required {
|
|
728
|
-
color: var(--ndw-color-grey-
|
|
775
|
+
color: var(--ndw-color-grey-400);
|
|
729
776
|
}
|
|
730
777
|
|
|
731
778
|
a[ndwLink] {
|
|
732
779
|
align-items: baseline;
|
|
733
|
-
color: var(--ndw-color-
|
|
780
|
+
color: var(--ndw-color-link-400);
|
|
734
781
|
display: inline-flex;
|
|
735
782
|
font-size: inherit;
|
|
736
783
|
gap: var(--ndw-spacing-2xs);
|
|
@@ -741,11 +788,16 @@ a[ndwLink] {
|
|
|
741
788
|
a[ndwLink] > * {
|
|
742
789
|
align-self: center;
|
|
743
790
|
}
|
|
791
|
+
a[ndwLink] ndw-icon {
|
|
792
|
+
font-size: 1.25em;
|
|
793
|
+
overflow: hidden;
|
|
794
|
+
}
|
|
744
795
|
a[ndwLink]:hover {
|
|
745
|
-
|
|
796
|
+
color: var(--ndw-color-link-500);
|
|
797
|
+
text-decoration-color: var(--ndw-color-link-500);
|
|
746
798
|
}
|
|
747
799
|
a[ndwLink][disabled] {
|
|
748
|
-
color: var(--ndw-color-grey-
|
|
800
|
+
color: var(--ndw-color-grey-400);
|
|
749
801
|
pointer-events: none;
|
|
750
802
|
user-select: none;
|
|
751
803
|
}
|
|
@@ -758,7 +810,7 @@ a[ndwLink][disabled] {
|
|
|
758
810
|
background-color: transparent;
|
|
759
811
|
border-color: transparent;
|
|
760
812
|
border-radius: 0;
|
|
761
|
-
color: var(--ndw-color-grey-
|
|
813
|
+
color: var(--ndw-color-grey-400);
|
|
762
814
|
gap: var(--ndw-spacing-xs);
|
|
763
815
|
height: 2.625rem;
|
|
764
816
|
padding-inline: 0;
|
|
@@ -766,8 +818,8 @@ a[ndwLink][disabled] {
|
|
|
766
818
|
width: 100%;
|
|
767
819
|
}
|
|
768
820
|
[ndwButton][menu]:hover {
|
|
769
|
-
background-color: var(--ndw-color-grey-
|
|
770
|
-
border-color: var(--ndw-color-grey-
|
|
821
|
+
background-color: var(--ndw-color-grey-600);
|
|
822
|
+
border-color: var(--ndw-color-grey-600);
|
|
771
823
|
color: var(--ndw-color-white);
|
|
772
824
|
}
|
|
773
825
|
[ndwButton][menu]:active {
|