@utrecht/component-library-css 1.0.0-alpha.521 → 1.0.0-alpha.522
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/dist/index.css +29 -0
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -318,6 +318,11 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
318
318
|
* Copyright (c) 2020-2022 Gemeente Utrecht
|
|
319
319
|
* Copyright (c) 2020-2022 Frameless B.V.
|
|
320
320
|
*/
|
|
321
|
+
/**
|
|
322
|
+
* @license EUPL-1.2
|
|
323
|
+
* Copyright (c) 2020-2022 Gemeente Utrecht
|
|
324
|
+
* Copyright (c) 2020-2022 Frameless B.V.
|
|
325
|
+
*/
|
|
321
326
|
.utrecht-badge-counter {
|
|
322
327
|
/* Limit size to `max-content`, so the badge will not be stretched out of proportion inside a flexbox */
|
|
323
328
|
background-color: var(--utrecht-badge-counter-background-color, var(--utrecht-badge-background-color, hsl(0, 0%, 0%)));
|
|
@@ -341,6 +346,14 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
341
346
|
text-decoration: none; /* no inheritance */
|
|
342
347
|
white-space: nowrap;
|
|
343
348
|
}
|
|
349
|
+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active) {
|
|
350
|
+
.utrecht-badge-counter {
|
|
351
|
+
border-color: currentColor;
|
|
352
|
+
border-style: solid;
|
|
353
|
+
/* Warning: there layout difference because of the added 1px border */
|
|
354
|
+
border-width: 1px;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
344
357
|
|
|
345
358
|
/**
|
|
346
359
|
* @license EUPL-1.2
|
|
@@ -376,6 +389,14 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
376
389
|
letter-spacing: var(--utrecht-badge-data-letter-spacing, inherit);
|
|
377
390
|
text-transform: var(--utrecht-badge-data-text-transform, inherit);
|
|
378
391
|
}
|
|
392
|
+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active) {
|
|
393
|
+
.utrecht-badge-data {
|
|
394
|
+
border-color: currentColor;
|
|
395
|
+
border-style: solid;
|
|
396
|
+
/* Warning: there layout difference because of the added 1px border */
|
|
397
|
+
border-width: 1px;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
379
400
|
|
|
380
401
|
/**
|
|
381
402
|
* @license EUPL-1.2
|
|
@@ -422,6 +443,14 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
|
|
|
422
443
|
letter-spacing: var(--utrecht-badge-status-letter-spacing, inherit);
|
|
423
444
|
text-transform: var(--utrecht-badge-status-text-transform, inherit);
|
|
424
445
|
}
|
|
446
|
+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active) {
|
|
447
|
+
.utrecht-badge-status {
|
|
448
|
+
border-color: currentColor;
|
|
449
|
+
border-style: solid;
|
|
450
|
+
/* Warning: there layout difference because of the added 1px border */
|
|
451
|
+
border-width: 1px;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
425
454
|
|
|
426
455
|
.utrecht-badge-status--danger {
|
|
427
456
|
background-color: var(--utrecht-feedback-danger-fill-background-color, hsl(0, 100%, 40%));
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.0-alpha.
|
|
2
|
+
"version": "1.0.0-alpha.522",
|
|
3
3
|
"author": "Community for NL Design System",
|
|
4
4
|
"description": "Component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
|
|
5
5
|
"license": "EUPL-1.2",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"clean": "rimraf dist/"
|
|
27
27
|
},
|
|
28
28
|
"main": "dist/index.css",
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "2655f0a2e1247f58b5e7ae9e4844f0bb1c7d5c91"
|
|
30
30
|
}
|