@ndwnu/design-system 1.0.3 → 1.1.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.
- 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/card/card-content/card-content.component.d.ts +5 -0
- package/components/card/card-content/index.d.ts +1 -0
- package/components/card/card-footer/card-footer.component.d.ts +6 -0
- package/components/card/card-footer/index.d.ts +1 -0
- package/components/card/card-header/card-header.component.d.ts +8 -0
- package/components/card/card-header/index.d.ts +1 -0
- package/components/card/card.component.d.ts +8 -2
- package/components/card/index.d.ts +3 -0
- package/components/dropdown/dropdown.component.d.ts +11 -4
- package/components/dropdown/index.d.ts +0 -1
- package/components/form-field/checkbox/checkbox.component.d.ts +1 -2
- package/components/form-field/checkbox-group/checkbox-group.component.d.ts +3 -1
- package/components/form-field/form-field.component.d.ts +3 -3
- 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 +8 -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/modal/index.d.ts +1 -0
- package/components/modal/modal-trigger.directive.d.ts +8 -12
- package/components/modal/modal.service.d.ts +16 -0
- package/components/multi-select/checkbox-data.interface.d.ts +5 -0
- package/components/multi-select/index.d.ts +3 -0
- package/components/multi-select/multi-select.component.d.ts +27 -0
- package/components/multi-select/select-all-text.interface.d.ts +4 -0
- package/components/popover/index.d.ts +1 -0
- package/components/popover/popover-trigger.directive.d.ts +27 -0
- package/components/removable-pill/index.d.ts +1 -0
- package/components/removable-pill/removable-pill.component.d.ts +7 -0
- package/components/router-breadcrumbs/index.d.ts +1 -0
- package/components/router-breadcrumbs/router-breadcrumbs.component.d.ts +15 -0
- package/components/tooltip/tooltip.directive.d.ts +3 -2
- package/core/styles/ndw-styles.scss +184 -120
- package/core/styles/nwb-styles.scss +146 -114
- 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/card/card-content/card-content.component.mjs +11 -0
- package/esm2022/components/card/card-content/index.mjs +2 -0
- package/esm2022/components/card/card-footer/card-footer.component.mjs +14 -0
- package/esm2022/components/card/card-footer/index.mjs +2 -0
- package/esm2022/components/card/card-header/card-header.component.mjs +20 -0
- package/esm2022/components/card/card-header/index.mjs +2 -0
- package/esm2022/components/card/card.component.mjs +22 -5
- package/esm2022/components/card/index.mjs +4 -1
- package/esm2022/components/collapsible/collapsible.animation.mjs +3 -3
- package/esm2022/components/collapsible/collapsible.component.mjs +3 -3
- package/esm2022/components/dropdown/dropdown.component.mjs +27 -7
- package/esm2022/components/dropdown/index.mjs +1 -2
- package/esm2022/components/form-field/checkbox/checkbox.component.mjs +4 -11
- package/esm2022/components/form-field/checkbox-group/checkbox-group.component.mjs +7 -3
- package/esm2022/components/form-field/error/error.component.mjs +3 -3
- package/esm2022/components/form-field/form-field.component.mjs +10 -10
- 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 +33 -16
- package/esm2022/components/icon/index.mjs +1 -3
- package/esm2022/components/index.mjs +9 -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/modal/index.mjs +2 -1
- package/esm2022/components/modal/modal-trigger.directive.mjs +23 -54
- package/esm2022/components/modal/modal.service.mjs +57 -0
- package/esm2022/components/multi-select/checkbox-data.interface.mjs +2 -0
- package/esm2022/components/multi-select/index.mjs +4 -0
- package/esm2022/components/multi-select/multi-select.component.mjs +76 -0
- package/esm2022/components/multi-select/select-all-text.interface.mjs +2 -0
- package/esm2022/components/popover/index.mjs +2 -0
- package/esm2022/components/popover/popover-trigger.directive.mjs +183 -0
- package/esm2022/components/removable-pill/index.mjs +2 -0
- package/esm2022/components/removable-pill/removable-pill.component.mjs +21 -0
- 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/esm2022/components/tooltip/tooltip.directive.mjs +4 -3
- package/fesm2022/ndwnu-design-system.mjs +642 -202
- package/fesm2022/ndwnu-design-system.mjs.map +1 -1
- package/package.json +4 -7
- package/assets/icons/icons.json +0 -878
- package/components/dropdown/dropdown-trigger.directive.d.ts +0 -23
- package/components/icon/icon.model.d.ts +0 -5
- package/components/icon/icon.service.d.ts +0 -9
- package/esm2022/components/dropdown/dropdown-trigger.directive.mjs +0 -95
- 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;
|
|
@@ -198,125 +245,120 @@
|
|
|
198
245
|
--ndw-border-radius-md: 0.5rem;
|
|
199
246
|
--ndw-border-radius-lg: 1.5rem;
|
|
200
247
|
/* Elevation */
|
|
201
|
-
--ndw-elevation-info: 0 0 0.5rem 0 hsla(var(--
|
|
248
|
+
--ndw-elevation-info: 0 0 0.5rem 0 hsla(var(--_link-500), 0.25);
|
|
202
249
|
--ndw-elevation-content: 0 0.125rem 0.125rem 0 hsla(var(--_grey-600), 0.05);
|
|
203
250
|
--ndw-elevation-dropdown: 0 0.25rem 1rem hsla(var(--_grey-600), 0.125);
|
|
204
|
-
--ndw-
|
|
251
|
+
--ndw-elevation-popover: 0 0.5rem 1.25rem hsla(var(--_grey-600), 0.125);
|
|
252
|
+
--ndw-backdrop-color: var(--ndw-alpha-black-040);
|
|
205
253
|
/* Animation */
|
|
254
|
+
--ndw-animation-speed-very-fast: 100ms;
|
|
206
255
|
--ndw-animation-speed-fast: 200ms;
|
|
207
256
|
--ndw-animation-speed-default: 300ms;
|
|
208
257
|
--ndw-animation-speed-slow: 500ms;
|
|
209
258
|
/* Icon Size */
|
|
210
259
|
--ndw-icon-size-md: 1rem;
|
|
211
260
|
--ndw-icon-size-lg: 1.5rem;
|
|
261
|
+
/* Mult-select Size */
|
|
262
|
+
--multi-select-default-width: 18.75rem;
|
|
212
263
|
/* Typography */
|
|
213
|
-
--ndw-font-family: "
|
|
264
|
+
--ndw-font-family-body: "Nunito Sans", sans-serif;
|
|
265
|
+
--ndw-font-family-heading: "DM Sans", sans-serif;
|
|
214
266
|
--ndw-base-font-size: 16px;
|
|
215
267
|
--ndw-font-size-xs: 0.6875rem;
|
|
216
268
|
--ndw-font-size-sm: 0.8125rem;
|
|
217
269
|
--ndw-font-size-md: 1.125rem;
|
|
218
270
|
--ndw-font-size-lg: 1.25rem;
|
|
219
271
|
--ndw-font-size-xl: 1.5rem;
|
|
220
|
-
--ndw-font-weight-regular:
|
|
221
|
-
--ndw-font-weight-bold:
|
|
272
|
+
--ndw-font-weight-regular: 400;
|
|
273
|
+
--ndw-font-weight-bold: 650;
|
|
274
|
+
--ndw-line-height-sm: 1.375em;
|
|
222
275
|
--ndw-line-height-md: 1.5em;
|
|
223
276
|
/* Transform */
|
|
224
277
|
--ndw-rotate-half: rotate(180deg);
|
|
225
278
|
}
|
|
226
279
|
|
|
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
|
-
}
|
|
280
|
+
/* Screen sizes */
|
|
239
281
|
/* Mixins */
|
|
240
282
|
/* Classes */
|
|
241
283
|
.ndw-heading-xl {
|
|
242
|
-
font-family: var(--ndw-font-family);
|
|
284
|
+
font-family: var(--ndw-font-family-heading);
|
|
243
285
|
font-size: 2.5rem;
|
|
244
286
|
font-weight: var(--ndw-font-weight-bold);
|
|
245
287
|
line-height: 150%;
|
|
246
288
|
}
|
|
247
289
|
|
|
248
290
|
.ndw-heading-lg {
|
|
249
|
-
font-family: var(--ndw-font-family);
|
|
291
|
+
font-family: var(--ndw-font-family-heading);
|
|
250
292
|
font-size: 2rem;
|
|
251
293
|
font-weight: var(--ndw-font-weight-bold);
|
|
252
294
|
line-height: 150%;
|
|
253
295
|
}
|
|
254
296
|
|
|
255
297
|
.ndw-heading-md {
|
|
256
|
-
font-family: var(--ndw-font-family);
|
|
298
|
+
font-family: var(--ndw-font-family-heading);
|
|
257
299
|
font-size: 1.5rem;
|
|
258
300
|
font-weight: var(--ndw-font-weight-bold);
|
|
259
301
|
line-height: 150%;
|
|
260
302
|
}
|
|
261
303
|
|
|
262
304
|
.ndw-heading-sm {
|
|
263
|
-
font-family: var(--ndw-font-family);
|
|
305
|
+
font-family: var(--ndw-font-family-heading);
|
|
264
306
|
font-size: 1.25rem;
|
|
265
307
|
font-weight: var(--ndw-font-weight-bold);
|
|
266
308
|
line-height: 150%;
|
|
267
309
|
}
|
|
268
310
|
|
|
269
311
|
.ndw-paragraph-bold-xl {
|
|
270
|
-
font-family: var(--ndw-font-family);
|
|
312
|
+
font-family: var(--ndw-font-family-body);
|
|
271
313
|
font-size: 1.125rem;
|
|
272
314
|
font-weight: var(--ndw-font-weight-bold);
|
|
273
315
|
line-height: 150%;
|
|
274
316
|
}
|
|
275
317
|
|
|
276
318
|
.ndw-paragraph-xl {
|
|
277
|
-
font-family: var(--ndw-font-family);
|
|
319
|
+
font-family: var(--ndw-font-family-body);
|
|
278
320
|
font-size: 1.125rem;
|
|
279
321
|
font-weight: var(--ndw-font-weight-regular);
|
|
280
322
|
line-height: 150%;
|
|
281
323
|
}
|
|
282
324
|
|
|
283
325
|
.ndw-paragraph-bold-lg {
|
|
284
|
-
font-family: var(--ndw-font-family);
|
|
326
|
+
font-family: var(--ndw-font-family-body);
|
|
285
327
|
font-size: 1rem;
|
|
286
328
|
font-weight: var(--ndw-font-weight-bold);
|
|
287
329
|
line-height: 150%;
|
|
288
330
|
}
|
|
289
331
|
|
|
290
332
|
.ndw-paragraph-lg {
|
|
291
|
-
font-family: var(--ndw-font-family);
|
|
333
|
+
font-family: var(--ndw-font-family-body);
|
|
292
334
|
font-size: 1rem;
|
|
293
335
|
font-weight: var(--ndw-font-weight-regular);
|
|
294
336
|
line-height: 150%;
|
|
295
337
|
}
|
|
296
338
|
|
|
297
339
|
.ndw-paragraph-bold-md {
|
|
298
|
-
font-family: var(--ndw-font-family);
|
|
340
|
+
font-family: var(--ndw-font-family-body);
|
|
299
341
|
font-size: 0.8125rem;
|
|
300
342
|
font-weight: var(--ndw-font-weight-bold);
|
|
301
343
|
line-height: 150%;
|
|
302
344
|
}
|
|
303
345
|
|
|
304
346
|
.ndw-paragraph-md {
|
|
305
|
-
font-family: var(--ndw-font-family);
|
|
347
|
+
font-family: var(--ndw-font-family-body);
|
|
306
348
|
font-size: 0.8125rem;
|
|
307
349
|
font-weight: var(--ndw-font-weight-regular);
|
|
308
350
|
line-height: 150%;
|
|
309
351
|
}
|
|
310
352
|
|
|
311
353
|
.ndw-paragraph-bold-sm {
|
|
312
|
-
font-family: var(--ndw-font-family);
|
|
354
|
+
font-family: var(--ndw-font-family-body);
|
|
313
355
|
font-size: 0.6875rem;
|
|
314
356
|
font-weight: var(--ndw-font-weight-bold);
|
|
315
357
|
line-height: 150%;
|
|
316
358
|
}
|
|
317
359
|
|
|
318
360
|
.ndw-paragraph-sm {
|
|
319
|
-
font-family: var(--ndw-font-family);
|
|
361
|
+
font-family: var(--ndw-font-family-body);
|
|
320
362
|
font-size: 0.6875rem;
|
|
321
363
|
font-weight: var(--ndw-font-weight-regular);
|
|
322
364
|
line-height: 150%;
|
|
@@ -534,11 +576,14 @@
|
|
|
534
576
|
border-radius: var(--ndw-border-radius-sm);
|
|
535
577
|
transition: color 200ms ease-out, background-color 200ms ease-out, border-color 200ms ease-out;
|
|
536
578
|
color: var(--ndw-foreground-primary);
|
|
537
|
-
font-family: var(--ndw-font-family);
|
|
579
|
+
font-family: var(--ndw-font-family-body);
|
|
538
580
|
font-size: var(--ndw-font-size-sm);
|
|
539
581
|
font-weight: var(--ndw-font-weight-regular);
|
|
540
582
|
text-align: start;
|
|
541
583
|
}
|
|
584
|
+
[ndwButton] ndw-icon {
|
|
585
|
+
font-size: var(--ndw-spacing-md);
|
|
586
|
+
}
|
|
542
587
|
[ndwButton]:hover {
|
|
543
588
|
background-color: var(--ndw-background-primary-hover);
|
|
544
589
|
border-color: var(--ndw-background-primary-hover);
|
|
@@ -566,17 +611,17 @@
|
|
|
566
611
|
}
|
|
567
612
|
[ndwButton][secondary] {
|
|
568
613
|
background-color: transparent;
|
|
569
|
-
border-color: var(--ndw-color-grey-
|
|
570
|
-
color: var(--ndw-color-grey-
|
|
614
|
+
border-color: var(--ndw-color-grey-300);
|
|
615
|
+
color: var(--ndw-color-grey-700);
|
|
571
616
|
}
|
|
572
617
|
[ndwButton][secondary]:hover {
|
|
573
|
-
background-color: var(--ndw-color-grey-
|
|
574
|
-
border-color: var(--ndw-color-grey-
|
|
618
|
+
background-color: var(--ndw-color-grey-500);
|
|
619
|
+
border-color: var(--ndw-color-grey-500);
|
|
575
620
|
color: var(--ndw-color-white);
|
|
576
621
|
}
|
|
577
622
|
[ndwButton][secondary]:active {
|
|
578
|
-
background-color: var(--ndw-color-grey-
|
|
579
|
-
border-color: var(--ndw-color-grey-
|
|
623
|
+
background-color: var(--ndw-color-grey-700);
|
|
624
|
+
border-color: var(--ndw-color-grey-700);
|
|
580
625
|
color: var(--ndw-color-white);
|
|
581
626
|
}
|
|
582
627
|
[ndwButton][large] {
|
|
@@ -584,9 +629,9 @@
|
|
|
584
629
|
padding-inline: var(--ndw-spacing-sm);
|
|
585
630
|
}
|
|
586
631
|
[ndwButton][disabled] {
|
|
587
|
-
background-color: var(--ndw-color-grey-
|
|
588
|
-
border-color: var(--ndw-color-grey-
|
|
589
|
-
color: var(--ndw-color-grey-
|
|
632
|
+
background-color: var(--ndw-color-grey-300);
|
|
633
|
+
border-color: var(--ndw-color-grey-300);
|
|
634
|
+
color: var(--ndw-color-grey-700);
|
|
590
635
|
pointer-events: none;
|
|
591
636
|
user-select: none;
|
|
592
637
|
}
|
|
@@ -599,46 +644,43 @@
|
|
|
599
644
|
opacity: 1;
|
|
600
645
|
}
|
|
601
646
|
}
|
|
602
|
-
.cdk-overlay-pane.ndw-dropdown-panel {
|
|
603
|
-
animation: show var(--ndw-animation-speed-default) ease-in;
|
|
604
|
-
background-color: var(--ndw-color-white);
|
|
605
|
-
border-radius: var(--ndw-border-radius-md);
|
|
606
|
-
box-shadow: var(--ndw-elevation-dropdown);
|
|
607
|
-
display: grid;
|
|
608
|
-
padding: var(--ndw-spacing-sm);
|
|
609
|
-
}
|
|
610
|
-
|
|
611
647
|
[ndwButton][filter] {
|
|
612
648
|
background-color: var(--ndw-color-white);
|
|
613
|
-
border-color: var(--ndw-color-grey-
|
|
614
|
-
color: var(--ndw-color-grey-
|
|
649
|
+
border-color: var(--ndw-color-grey-300);
|
|
650
|
+
color: var(--ndw-color-grey-700);
|
|
615
651
|
height: var(--ndw-spacing-2xl);
|
|
616
652
|
}
|
|
617
|
-
[ndwButton][filter] ndw-icon {
|
|
653
|
+
[ndwButton][filter] ndw-icon.button-icon {
|
|
618
654
|
color: var(--ndw-color-primary);
|
|
619
655
|
}
|
|
656
|
+
[ndwButton][filter] ndw-icon.prefix-icon {
|
|
657
|
+
color: var(--ndw-color-grey-300);
|
|
658
|
+
}
|
|
620
659
|
[ndwButton][filter]:hover {
|
|
621
660
|
border-color: var(--ndw-color-primary);
|
|
622
661
|
}
|
|
623
|
-
[ndwButton][filter]:active {
|
|
624
|
-
|
|
662
|
+
[ndwButton][filter]:active, [ndwButton][filter]:focus, [ndwButton][filter]:focus-visible {
|
|
663
|
+
border-color: var(--ndw-color-secondary-500);
|
|
664
|
+
box-shadow: var(--ndw-elevation-info);
|
|
665
|
+
outline-color: var(--ndw-color-secondary-500);
|
|
625
666
|
}
|
|
626
667
|
[ndwButton][filter][disabled] {
|
|
627
668
|
background-color: var(--ndw-color-grey-100);
|
|
628
|
-
color: var(--ndw-color-grey-
|
|
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
|
-
[ndwInput][disabled] {
|
|
723
|
+
[ndwInput][disabled], [ndwInput][readonly] {
|
|
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
|
}
|
|
@@ -754,11 +806,28 @@ a[ndwLink][disabled] {
|
|
|
754
806
|
background-color: var(--ndw-backdrop-color);
|
|
755
807
|
}
|
|
756
808
|
|
|
809
|
+
@keyframes show {
|
|
810
|
+
from {
|
|
811
|
+
opacity: 0;
|
|
812
|
+
}
|
|
813
|
+
to {
|
|
814
|
+
opacity: 1;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
.cdk-overlay-pane.ndw-popover-panel {
|
|
818
|
+
animation: show var(--ndw-animation-speed-default) ease-in;
|
|
819
|
+
background-color: var(--ndw-color-white);
|
|
820
|
+
border-radius: var(--ndw-border-radius-md);
|
|
821
|
+
box-shadow: var(--ndw-elevation-popover);
|
|
822
|
+
display: grid;
|
|
823
|
+
padding: var(--ndw-spacing-sm);
|
|
824
|
+
}
|
|
825
|
+
|
|
757
826
|
[ndwButton][menu] {
|
|
758
827
|
background-color: transparent;
|
|
759
828
|
border-color: transparent;
|
|
760
829
|
border-radius: 0;
|
|
761
|
-
color: var(--ndw-color-grey-
|
|
830
|
+
color: var(--ndw-color-grey-400);
|
|
762
831
|
gap: var(--ndw-spacing-xs);
|
|
763
832
|
height: 2.625rem;
|
|
764
833
|
padding-inline: 0;
|
|
@@ -766,8 +835,8 @@ a[ndwLink][disabled] {
|
|
|
766
835
|
width: 100%;
|
|
767
836
|
}
|
|
768
837
|
[ndwButton][menu]:hover {
|
|
769
|
-
background-color: var(--ndw-color-grey-
|
|
770
|
-
border-color: var(--ndw-color-grey-
|
|
838
|
+
background-color: var(--ndw-color-grey-600);
|
|
839
|
+
border-color: var(--ndw-color-grey-600);
|
|
771
840
|
color: var(--ndw-color-white);
|
|
772
841
|
}
|
|
773
842
|
[ndwButton][menu]:active {
|
|
@@ -775,8 +844,3 @@ a[ndwLink][disabled] {
|
|
|
775
844
|
border-color: transparent;
|
|
776
845
|
color: var(--ndw-color-white);
|
|
777
846
|
}
|
|
778
|
-
|
|
779
|
-
.cdk-overlay-pane.tooltip-bottom ndw-tooltip::before {
|
|
780
|
-
bottom: auto;
|
|
781
|
-
top: calc(var(--ndw-spacing-2xs) * -1);
|
|
782
|
-
}
|