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

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 +16 -6
  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 {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.331",
2
+ "version": "1.0.0-alpha.332",
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": "f4b233616da6c7fcf43a46a9908f6b56141c3424"
30
30
  }