@utrecht/component-library-css 1.0.0-alpha.521 → 1.0.0-alpha.523
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/html.css +4 -2
- package/dist/index.css +37 -3
- package/package.json +2 -2
package/dist/html.css
CHANGED
|
@@ -1034,7 +1034,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1034
1034
|
white-space: nowrap;
|
|
1035
1035
|
}
|
|
1036
1036
|
.utrecht-html ol {
|
|
1037
|
-
/* Configure `
|
|
1037
|
+
/* Configure `box-sizing` and `text-align` for `--center` */
|
|
1038
|
+
box-sizing: border-box;
|
|
1038
1039
|
font-family: var(--utrecht-document-font-family, inherit);
|
|
1039
1040
|
font-size: var(--utrecht-ordered-list-font-size, var(--utrecht-unordered-list-font-size, var(--utrecht-document-font-size, inherit)));
|
|
1040
1041
|
line-height: var(--utrecht-ordered-list-font-size, var(--utrecht-unordered-list-line-height, var(--utrecht-document-line-height, inherit)));
|
|
@@ -1042,7 +1043,6 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1042
1043
|
margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-ordered-list-margin-block-start, var(--utrecht-unordered-list-margin-block-start, 0)));
|
|
1043
1044
|
padding-inline-start: var(--utrecht-ordered-list-padding-inline-start, var(--utrecht-unordered-list-padding-inline-start, 2ch));
|
|
1044
1045
|
text-align: start;
|
|
1045
|
-
width: max-content;
|
|
1046
1046
|
--utrecht-space-around: 1;
|
|
1047
1047
|
}
|
|
1048
1048
|
.utrecht-html ol > li {
|
|
@@ -1735,6 +1735,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1735
1735
|
font-variant-ligatures: none;
|
|
1736
1736
|
}
|
|
1737
1737
|
.utrecht-html ul {
|
|
1738
|
+
/* Configure `box-sizing` and `text-align` for `--center` */
|
|
1739
|
+
box-sizing: border-box;
|
|
1738
1740
|
font-family: var(--utrecht-document-font-family, inherit);
|
|
1739
1741
|
font-size: var(--utrecht-unordered-list-font-size, var(--utrecht-document-font-size, inherit));
|
|
1740
1742
|
line-height: var(--utrecht-unordered-list-line-height, var(--utrecht-document-line-height, inherit));
|
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%));
|
|
@@ -4226,7 +4255,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
4226
4255
|
*/
|
|
4227
4256
|
.utrecht-ordered-list,
|
|
4228
4257
|
.utrecht-ordered-list--html-content ol {
|
|
4229
|
-
/* Configure `
|
|
4258
|
+
/* Configure `box-sizing` and `text-align` for `--center` */
|
|
4259
|
+
box-sizing: border-box;
|
|
4230
4260
|
font-family: var(--utrecht-document-font-family, inherit);
|
|
4231
4261
|
font-size: var(--utrecht-ordered-list-font-size, var(--utrecht-unordered-list-font-size, var(--utrecht-document-font-size, inherit)));
|
|
4232
4262
|
line-height: var(--utrecht-ordered-list-font-size, var(--utrecht-unordered-list-line-height, var(--utrecht-document-line-height, inherit)));
|
|
@@ -4234,12 +4264,13 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
4234
4264
|
margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-ordered-list-margin-block-start, var(--utrecht-unordered-list-margin-block-start, 0)));
|
|
4235
4265
|
padding-inline-start: var(--utrecht-ordered-list-padding-inline-start, var(--utrecht-unordered-list-padding-inline-start, 2ch));
|
|
4236
4266
|
text-align: start;
|
|
4237
|
-
width: max-content;
|
|
4238
4267
|
}
|
|
4239
4268
|
|
|
4240
4269
|
.utrecht-ordered-list--center {
|
|
4270
|
+
inline-size: max-content;
|
|
4241
4271
|
margin-inline-end: auto;
|
|
4242
4272
|
margin-inline-start: auto;
|
|
4273
|
+
max-inline-size: 100%;
|
|
4243
4274
|
}
|
|
4244
4275
|
|
|
4245
4276
|
.utrecht-ordered-list--distanced {
|
|
@@ -5828,6 +5859,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
5828
5859
|
*/
|
|
5829
5860
|
.utrecht-unordered-list,
|
|
5830
5861
|
.utrecht-unordered-list--html-content ul {
|
|
5862
|
+
/* Configure `box-sizing` and `text-align` for `--center` */
|
|
5863
|
+
box-sizing: border-box;
|
|
5831
5864
|
font-family: var(--utrecht-document-font-family, inherit);
|
|
5832
5865
|
font-size: var(--utrecht-unordered-list-font-size, var(--utrecht-document-font-size, inherit));
|
|
5833
5866
|
line-height: var(--utrecht-unordered-list-line-height, var(--utrecht-document-line-height, inherit));
|
|
@@ -5838,9 +5871,10 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
5838
5871
|
}
|
|
5839
5872
|
|
|
5840
5873
|
.utrecht-unordered-list--center {
|
|
5874
|
+
inline-size: max-content;
|
|
5841
5875
|
margin-inline-end: auto;
|
|
5842
5876
|
margin-inline-start: auto;
|
|
5843
|
-
|
|
5877
|
+
max-inline-size: 100%;
|
|
5844
5878
|
}
|
|
5845
5879
|
|
|
5846
5880
|
.utrecht-unordered-list--distanced {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.0-alpha.
|
|
2
|
+
"version": "1.0.0-alpha.523",
|
|
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": "74fc6f880f17cabc3ddfcc9096ab998ce908d6ae"
|
|
30
30
|
}
|