@utrecht/component-library-css 1.0.0-alpha.520 → 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.
Files changed (2) hide show
  1. package/dist/index.css +33 -4
  2. 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%));
@@ -1523,21 +1552,21 @@ ol.utrecht-breadcrumb__list {
1523
1552
  }
1524
1553
 
1525
1554
  .utrecht-calendar__table-days-item-day--is-today {
1526
- --utrecht-calendar-button-font-weigh: var(--utrecht-calendar-table-days-item-day-is-today-font-weight);
1555
+ --utrecht-calendar-button-font-weight: var(--utrecht-calendar-table-days-item-day-is-today-font-weight);
1527
1556
  --utrecht-calendar-button-background-color: var(--utrecht-calendar-table-days-item-day-is-today-background-color);
1528
1557
  --utrecht-calendar-button-border-color: var(--utrecht-calendar-table-days-item-day-is-today-border-color);
1529
1558
  --utrecht-calendar-button-color: var(--utrecht-calendar-table-days-item-day-is-today-color);
1530
1559
  }
1531
1560
 
1532
1561
  .utrecht-calendar__table-days-item-day--emphasis {
1533
- --utrecht-calendar-button-font-weigh: var(--utrecht-calendar-table-days-item-day-emphasis-font-weight);
1562
+ --utrecht-calendar-button-font-weight: var(--utrecht-calendar-table-days-item-day-emphasis-font-weight);
1534
1563
  --utrecht-calendar-button-background-color: var(--utrecht-calendar-table-days-item-day-emphasis-background-color);
1535
1564
  --utrecht-calendar-button-border-color: var(--utrecht-calendar-table-days-item-day-emphasis-border-color);
1536
1565
  --utrecht-calendar-button-color: var(--utrecht-calendar-table-days-item-day-emphasis-color);
1537
1566
  }
1538
1567
 
1539
1568
  .utrecht-calendar__table-days-item-day--selected {
1540
- --utrecht-calendar-button-font-weigh: var(--utrecht-calendar-table-days-item-day-selected-font-weight);
1569
+ --utrecht-calendar-button-font-weight: var(--utrecht-calendar-table-days-item-day-selected-font-weight);
1541
1570
  --utrecht-calendar-button-background-color: var(--utrecht-calendar-table-days-item-day-selected-background-color);
1542
1571
  --utrecht-calendar-button-border-color: var(--utrecht-calendar-table-days-item-day-selected-border-color);
1543
1572
  --utrecht-calendar-button-color: var(--utrecht-calendar-table-days-item-day-selected-color);
@@ -1568,7 +1597,7 @@ ol.utrecht-breadcrumb__list {
1568
1597
  --utrecht-button-subtle-background-color: var(--utrecht-calendar-button-background-color, transparent);
1569
1598
  --utrecht-button-subtle-border-color: var(--utrecht-calendar-button-border-color, transparent);
1570
1599
  --utrecht-button-subtle-border-width: var(--utrecht-calendar-button-border-width);
1571
- --utrecht-button-font-weigh: var(--utrecht-calendar-button-font-weigh);
1600
+ --utrecht-button-font-weight: var(--utrecht-calendar-button-font-weight);
1572
1601
  --utrecht-button-subtle-focus-background-color: var(--utrecht-calendar-button-focus-background-color);
1573
1602
  --utrecht-button-subtle-focus-border-color: var(--utrecht-calendar-button-focus-border-color);
1574
1603
  --utrecht-button-subtle-focus-color: var(--utrecht-calendar-button-focus-color);
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.520",
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": "4966b8d4287dcba356e6a7652f5cb3306f173928"
29
+ "gitHead": "2655f0a2e1247f58b5e7ae9e4844f0bb1c7d5c91"
30
30
  }