@utrecht/component-library-css 1.0.0-alpha.331 → 1.0.0-alpha.333

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 +56 -7
  2. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -1650,7 +1650,6 @@ ol.utrecht-breadcrumb__list {
1650
1650
  color: var(--utrecht-data-list-item-key-color);
1651
1651
  font-size: var(--utrecht-data-list-item-key-font-size);
1652
1652
  font-weight: var(--utrecht-data-list-item-key-font-weight);
1653
- grid-area: label;
1654
1653
  line-height: var(--utrecht-data-list-item-key-line-height);
1655
1654
  }
1656
1655
 
@@ -1659,9 +1658,8 @@ ol.utrecht-breadcrumb__list {
1659
1658
  color: var(--utrecht-data-list-item-value-color);
1660
1659
  font-size: var(--utrecht-data-list-item-value-font-size);
1661
1660
  font-weight: var(--utrecht-data-list-item-value-font-weight);
1662
- grid-area: value;
1663
- line-height: var(--utrecht-data-list-label-line-height);
1664
- min-block-size: var(--utrecht-data-list-label-line-height);
1661
+ line-height: var(--utrecht-data-list-item-value-line-height);
1662
+ min-block-size: calc(var(--utrecht-data-list-item-value-line-height) * 1rem);
1665
1663
  }
1666
1664
 
1667
1665
  .utrecht-data-list__actions--html-dd,
@@ -1675,13 +1673,25 @@ ol.utrecht-breadcrumb__list {
1675
1673
  }
1676
1674
 
1677
1675
  .utrecht-data-list--rows .utrecht-data-list__actions {
1678
- align-items: last baseline;
1676
+ align-items: baseline;
1679
1677
  display: flex;
1678
+ grid-column: -1;
1679
+ grid-row: 1;
1680
1680
  justify-content: flex-end;
1681
1681
  }
1682
1682
  .utrecht-data-list--rows .utrecht-data-list__item {
1683
+ --_utrecht-minmax: max(
1684
+ var(--utrecht-data-list-rows-column-min-inline-size, 25ch),
1685
+ var(--utrecht-data-list-rows-column-inline-size, 80%)
1686
+ );
1687
+ --_utrecht-auto-col: minmax(var(--_utrecht-minmax), max-content);
1688
+ border-bottom-color: var(--utrecht-data-list-rows-border-bottom-color, transparent);
1689
+ border-bottom-style: solid;
1690
+ border-bottom-width: var(--utrecht-data-list-rows-border-bottom-width, 0);
1683
1691
  display: grid;
1684
- grid-template-areas: "label actions" "value value";
1692
+ gap: 0 var(--utrecht-data-list-rows-gap);
1693
+ grid-auto-columns: 1fr;
1694
+ grid-template-columns: repeat(auto-fit, var(--_utrecht-auto-col));
1685
1695
  margin-block-start: var(--utrecht-data-list-rows-item-margin-block-start);
1686
1696
  }
1687
1697
  .utrecht-data-list--rows .utrecht-data-list__item:first-of-type {
@@ -2591,8 +2601,15 @@ however browsers don't seem to have implemented great looking supixel tweening y
2591
2601
  * @license EUPL-1.2
2592
2602
  * Copyright (c) 2021 Gemeente Utrecht
2593
2603
  */
2604
+ /**
2605
+ * @license EUPL-1.2
2606
+ * Copyright (c) 2021 Gemeente Utrecht
2607
+ * Copyright (c) 2021 Robbert Broersma
2608
+ */
2609
+ /* stylelint-disable-next-line block-no-empty */
2594
2610
  .utrecht-link-social {
2595
2611
  --utrecht-icon-size: var(--utrecht-link-social-icon-size);
2612
+ --utrecht-icon-color: currentColor;
2596
2613
  align-items: center;
2597
2614
  background-color: var(--utrecht-link-social-background-color);
2598
2615
  border-color: var(--utrecht-link-social-border-color);
@@ -2603,14 +2620,46 @@ however browsers don't seem to have implemented great looking supixel tweening y
2603
2620
  display: inline-flex;
2604
2621
  height: var(--utrecht-link-social-size);
2605
2622
  justify-content: center;
2606
- text-align: center;
2607
2623
  width: var(--utrecht-link-social-size);
2608
2624
  }
2609
2625
 
2626
+ .utrecht-link-social:hover {
2627
+ transform: scale(var(--utrecht-link-social-hover-scale));
2628
+ }
2629
+
2630
+ .utrecht-link-social:focus-visible {
2631
+ box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
2632
+ outline-color: var(--utrecht-focus-outline-color, transparent);
2633
+ outline-offset: var(--utrecht-focus-outline-offset, 0);
2634
+ outline-style: var(--utrecht-focus-outline-style, solid);
2635
+ outline-width: var(--utrecht-focus-outline-width, 0);
2636
+ }
2637
+
2610
2638
  .utrecht-link-social--distanced {
2611
2639
  margin-inline-start: var(--utrecht-link-social-margin-inline-start);
2612
2640
  }
2613
2641
 
2642
+ /**
2643
+ * @license EUPL-1.2
2644
+ * Copyright (c) 2021 The Knights Who Say NIH! B.V.
2645
+ * Copyright (c) 2021 Gemeente Utrecht
2646
+ */
2647
+ .utrecht-list-social {
2648
+ display: flex;
2649
+ margin-block-end: var(--utrecht-list-social-margin-block-end);
2650
+ margin-block-start: var(--utrecht-list-social-margin-block-start);
2651
+ padding-inline-end: var(--utrecht-list-social-padding-inline-end);
2652
+ padding-inline-start: var(--utrecht-list-social-padding-inline-start);
2653
+ }
2654
+
2655
+ .utrecht-list-social__item {
2656
+ list-style-type: none;
2657
+ margin-inline-end: var(--utrecht-list-social-item-margin-inline-end);
2658
+ }
2659
+ .utrecht-list-social__item:last-child {
2660
+ margin-inline-end: 0;
2661
+ }
2662
+
2614
2663
  /**
2615
2664
  * @license EUPL-1.2
2616
2665
  * Copyright (c) 2021 The Knights Who Say NIH! B.V.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.331",
2
+ "version": "1.0.0-alpha.333",
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": "3c443820c8adeea58bbedc71ca07f777c54ab028"
29
+ "gitHead": "daeb79236feddd37dcc9147d34b96955577cee90"
30
30
  }