@utrecht/component-library-css 1.0.0-alpha.365 → 1.0.0-alpha.367

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 CHANGED
@@ -705,6 +705,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
705
705
  .utrecht-html fieldset {
706
706
  margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-margin-block-end, 0));
707
707
  margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-margin-block-start, 0));
708
+ all: revert;
708
709
  border: 0;
709
710
  margin-inline-end: 0;
710
711
  margin-inline-start: 0;
@@ -736,6 +737,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
736
737
  page-break-after: avoid;
737
738
  page-break-inside: avoid;
738
739
  text-transform: var(--utrecht-form-fieldset-legend-text-transform);
740
+ display: table;
739
741
  inline-size: 100%;
740
742
  padding-inline-end: 0;
741
743
  padding-inline-start: 0;
package/dist/index.css CHANGED
@@ -1720,6 +1720,7 @@ ol.utrecht-breadcrumb__list {
1720
1720
  * Copyright (c) 2021 Robbert Broersma
1721
1721
  */
1722
1722
  /* stylelint-disable-next-line block-no-empty */
1723
+ .utrecht-checkbox--custom,
1723
1724
  .utrecht-custom-checkbox {
1724
1725
  -webkit-appearance: none;
1725
1726
  -moz-appearance: none;
@@ -1739,6 +1740,7 @@ ol.utrecht-breadcrumb__list {
1739
1740
  width: var(--utrecht-custom-checkbox-size);
1740
1741
  }
1741
1742
 
1743
+ .utrecht-checkbox--custom.utrecht-checkbox--checked,
1742
1744
  .utrecht-custom-checkbox--checked {
1743
1745
  background-color: var(--utrecht-custom-checkbox-checked-background-color, var(--utrecht-custom-checkbox-background-color));
1744
1746
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
@@ -1746,19 +1748,23 @@ ol.utrecht-breadcrumb__list {
1746
1748
  border-width: var(--utrecht-custom-checkbox-checked-border-width, var(--utrecht-custom-checkbox-border-width));
1747
1749
  }
1748
1750
 
1751
+ .utrecht-checkbox--custom.utrecht-checkbox--disabled,
1749
1752
  .utrecht-custom-checkbox--disabled {
1750
1753
  border-color: var(--utrecht-custom-checkbox-disabled-border-color, var(--utrecht-custom-checkbox-border-color));
1751
1754
  border-width: var(--utrecht-custom-checkbox-disabled-border-width, var(--utrecht-custom-checkbox-border-width));
1752
1755
  cursor: var(--utrecht-action-disabled-cursor);
1753
1756
  }
1757
+ .utrecht-checkbox--custom.utrecht-checkbox--disabled:checked,
1754
1758
  .utrecht-custom-checkbox--disabled:checked {
1755
1759
  background-color: var(--utrecht-custom-checkbox-disabled-background-color, var(--utrecht-custom-checkbox-background-color));
1756
1760
  border-color: var(--utrecht-custom-checkbox-disabled-border-color, var(--utrecht-custom-checkbox-border-color));
1757
1761
  }
1762
+ .utrecht-checkbox--custom.utrecht-checkbox--disabled:active,
1758
1763
  .utrecht-custom-checkbox--disabled:active {
1759
1764
  border-color: var(--utrecht-custom-checkbox-disabled-border-color, var(--utrecht-custom-checkbox-border-color));
1760
1765
  }
1761
1766
 
1767
+ .utrecht-checkbox--custom.utrecht-checkbox--indeterminate,
1762
1768
  .utrecht-custom-checkbox--indeterminate {
1763
1769
  background-color: var(--utrecht-custom-checkbox-indeterminate-background-color, var(--utrecht-custom-checkbox-background-color));
1764
1770
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
@@ -1767,11 +1773,13 @@ ol.utrecht-breadcrumb__list {
1767
1773
  color: var(--utrecht-custom-checkbox-indeterminate-color, var(--utrecht-custom-checkbox-color));
1768
1774
  }
1769
1775
 
1776
+ .utrecht-checkbox--custom.utrecht-checkbox--invalid,
1770
1777
  .utrecht-custom-checkbox--invalid {
1771
1778
  border-color: var(--utrecht-custom-checkbox-invalid-border-color, var(--utrecht-custom-checkbox-border-color));
1772
1779
  border-width: var(--utrecht-custom-checkbox-invalid-border-width, var(--utrecht-custom-checkbox-border-width));
1773
1780
  }
1774
1781
 
1782
+ .utrecht-checkbox--custom.utrecht-checkbox--active,
1775
1783
  .utrecht-custom-checkbox--active {
1776
1784
  background-color: var(--utrecht-custom-checkbox-active-background-color, var(--utrecht-custom-checkbox-background-color));
1777
1785
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
@@ -1780,6 +1788,7 @@ ol.utrecht-breadcrumb__list {
1780
1788
  color: var(--utrecht-custom-checkbox-active-color, var(--utrecht-custom-checkbox-color));
1781
1789
  }
1782
1790
 
1791
+ .utrecht-checkbox--custom.utrecht-checkbox--focus,
1783
1792
  .utrecht-custom-checkbox--focus {
1784
1793
  background-color: var(--utrecht-custom-checkbox-focus-background-color, var(--utrecht-custom-checkbox-background-color));
1785
1794
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
@@ -1787,6 +1796,7 @@ ol.utrecht-breadcrumb__list {
1787
1796
  border-width: var(--utrecht-custom-checkbox-focus-border-width, var(--utrecht-custom-checkbox-border-width));
1788
1797
  }
1789
1798
 
1799
+ .utrecht-checkbox--custom.utrecht-checkbox--focus-visible,
1790
1800
  .utrecht-custom-checkbox--focus-visible {
1791
1801
  box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);
1792
1802
  outline-color: var(--utrecht-focus-outline-color, transparent);
@@ -1795,24 +1805,29 @@ ol.utrecht-breadcrumb__list {
1795
1805
  outline-width: var(--utrecht-focus-outline-width, 0);
1796
1806
  }
1797
1807
 
1808
+ .utrecht-checkbox--custom.utrecht-checkbox--html-input:disabled,
1798
1809
  .utrecht-custom-checkbox--html-input:disabled {
1799
1810
  border-color: var(--utrecht-custom-checkbox-disabled-border-color, var(--utrecht-custom-checkbox-border-color));
1800
1811
  border-width: var(--utrecht-custom-checkbox-disabled-border-width, var(--utrecht-custom-checkbox-border-width));
1801
1812
  cursor: var(--utrecht-action-disabled-cursor);
1802
1813
  }
1814
+ .utrecht-checkbox--custom.utrecht-checkbox--html-input:disabled:checked,
1803
1815
  .utrecht-custom-checkbox--html-input:disabled:checked {
1804
1816
  background-color: var(--utrecht-custom-checkbox-disabled-background-color, var(--utrecht-custom-checkbox-background-color));
1805
1817
  border-color: var(--utrecht-custom-checkbox-disabled-border-color, var(--utrecht-custom-checkbox-border-color));
1806
1818
  }
1819
+ .utrecht-checkbox--custom.utrecht-checkbox--html-input:disabled:active,
1807
1820
  .utrecht-custom-checkbox--html-input:disabled:active {
1808
1821
  border-color: var(--utrecht-custom-checkbox-disabled-border-color, var(--utrecht-custom-checkbox-border-color));
1809
1822
  }
1823
+ .utrecht-checkbox--custom.utrecht-checkbox--html-input:focus,
1810
1824
  .utrecht-custom-checkbox--html-input:focus {
1811
1825
  background-color: var(--utrecht-custom-checkbox-focus-background-color, var(--utrecht-custom-checkbox-background-color));
1812
1826
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
1813
1827
  border-color: var(--utrecht-custom-checkbox-focus-border-color, var(--utrecht-custom-checkbox-border-color));
1814
1828
  border-width: var(--utrecht-custom-checkbox-focus-border-width, var(--utrecht-custom-checkbox-border-width));
1815
1829
  }
1830
+ .utrecht-checkbox--custom.utrecht-checkbox--html-input:focus-visible,
1816
1831
  .utrecht-custom-checkbox--html-input:focus-visible {
1817
1832
  box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);
1818
1833
  outline-color: var(--utrecht-focus-outline-color, transparent);
@@ -1820,10 +1835,13 @@ ol.utrecht-breadcrumb__list {
1820
1835
  outline-style: var(--utrecht-focus-outline-style, solid);
1821
1836
  outline-width: var(--utrecht-focus-outline-width, 0);
1822
1837
  }
1823
- .utrecht-custom-checkbox--html-input:invalid, .utrecht-custom-checkbox--html-input[aria-invalid=true] {
1838
+ .utrecht-checkbox--custom.utrecht-checkbox--html-input:invalid, .utrecht-checkbox--custom.utrecht-checkbox--html-input[aria-invalid=true],
1839
+ .utrecht-custom-checkbox--html-input:invalid,
1840
+ .utrecht-custom-checkbox--html-input[aria-invalid=true] {
1824
1841
  border-color: var(--utrecht-custom-checkbox-invalid-border-color, var(--utrecht-custom-checkbox-border-color));
1825
1842
  border-width: var(--utrecht-custom-checkbox-invalid-border-width, var(--utrecht-custom-checkbox-border-width));
1826
1843
  }
1844
+ .utrecht-checkbox--custom.utrecht-checkbox--html-input:active,
1827
1845
  .utrecht-custom-checkbox--html-input:active {
1828
1846
  background-color: var(--utrecht-custom-checkbox-active-background-color, var(--utrecht-custom-checkbox-background-color));
1829
1847
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
@@ -1831,12 +1849,14 @@ ol.utrecht-breadcrumb__list {
1831
1849
  border-width: var(--utrecht-custom-checkbox-active-border-width, var(--utrecht-custom-checkbox-border-width));
1832
1850
  color: var(--utrecht-custom-checkbox-active-color, var(--utrecht-custom-checkbox-color));
1833
1851
  }
1852
+ .utrecht-checkbox--custom.utrecht-checkbox--html-input:checked,
1834
1853
  .utrecht-custom-checkbox--html-input:checked {
1835
1854
  background-color: var(--utrecht-custom-checkbox-checked-background-color, var(--utrecht-custom-checkbox-background-color));
1836
1855
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
1837
1856
  border-color: var(--utrecht-custom-checkbox-checked-border-color, var(--utrecht-custom-checkbox-border-color));
1838
1857
  border-width: var(--utrecht-custom-checkbox-checked-border-width, var(--utrecht-custom-checkbox-border-width));
1839
1858
  }
1859
+ .utrecht-checkbox--custom.utrecht-checkbox--html-input:indeterminate,
1840
1860
  .utrecht-custom-checkbox--html-input:indeterminate {
1841
1861
  background-color: var(--utrecht-custom-checkbox-indeterminate-background-color, var(--utrecht-custom-checkbox-background-color));
1842
1862
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
@@ -1860,6 +1880,7 @@ ol.utrecht-breadcrumb__list {
1860
1880
  */
1861
1881
  /* stylelint-disable-next-line block-no-empty */
1862
1882
  /* stylelint-disable-next-line block-no-empty */
1883
+ .utrecht-radio-button--custom,
1863
1884
  .utrecht-custom-radio-button {
1864
1885
  -webkit-appearance: none;
1865
1886
  -moz-appearance: none;
@@ -1881,6 +1902,7 @@ ol.utrecht-breadcrumb__list {
1881
1902
  width: var(--utrecht-custom-radio-button-size);
1882
1903
  }
1883
1904
 
1905
+ .utrecht-radio-button--custom.utrecht-radio-button--checked,
1884
1906
  .utrecht-custom-radio-button--checked {
1885
1907
  background-color: var(--utrecht-custom-radio-button-checked-background-color, var(--utrecht-custom-radio-button-background-color));
1886
1908
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-4 -4 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
@@ -1889,6 +1911,7 @@ ol.utrecht-breadcrumb__list {
1889
1911
  color: var(--utrecht-custom-radio-button-checked-color, var(--utrecht-custom-radio-button-color));
1890
1912
  }
1891
1913
 
1914
+ .utrecht-radio-button--custom.utrecht-radio-button--active,
1892
1915
  .utrecht-custom-radio-button--active {
1893
1916
  background-color: var(--utrecht-custom-radio-button-active-background-color, var(--utrecht-custom-radio-button-background-color));
1894
1917
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-4 -4 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
@@ -1897,6 +1920,7 @@ ol.utrecht-breadcrumb__list {
1897
1920
  color: var(--utrecht-custom-radio-button-active-color, var(--utrecht-custom-radio-button-color));
1898
1921
  }
1899
1922
 
1923
+ .utrecht-radio-button--custom.utrecht-radio-button--focus,
1900
1924
  .utrecht-custom-radio-button--focus {
1901
1925
  background-color: var(--utrecht-custom-radio-button-focus-background-color, var(--utrecht-custom-radio-button-background-color));
1902
1926
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-4 -4 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
@@ -1905,6 +1929,7 @@ ol.utrecht-breadcrumb__list {
1905
1929
  color: var(--utrecht-custom-radio-button-focus-color, var(--utrecht-custom-radio-button-color));
1906
1930
  }
1907
1931
 
1932
+ .utrecht-radio-button--custom.utrecht-radio-button--focus-visible,
1908
1933
  .utrecht-custom-radio-button--focus-visible {
1909
1934
  box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);
1910
1935
  outline-color: var(--utrecht-focus-outline-color, transparent);
@@ -1913,39 +1938,47 @@ ol.utrecht-breadcrumb__list {
1913
1938
  outline-width: var(--utrecht-focus-outline-width, 0);
1914
1939
  }
1915
1940
 
1941
+ .utrecht-radio-button--custom.utrecht-radio-button--disabled,
1916
1942
  .utrecht-custom-radio-button--disabled {
1917
1943
  border-color: var(--utrecht-custom-radio-button-disabled-border-color, var(--utrecht-custom-radio-button-border-color));
1918
1944
  border-width: var(--utrecht-custom-radio-button-disabled-border-width, var(--utrecht-custom-radio-button-border-width));
1919
1945
  color: var(--utrecht-custom-radio-button-disabled-color, var(--utrecht-custom-radio-button-color));
1920
1946
  cursor: var(--utrecht-action-disabled-cursor);
1921
1947
  }
1948
+ .utrecht-radio-button--custom.utrecht-radio-button--disabled:checked,
1922
1949
  .utrecht-custom-radio-button--disabled:checked {
1923
1950
  background-color: var(--utrecht-custom-radio-button-disabled-background-color, var(--utrecht-custom-radio-button-background-color));
1924
1951
  border-color: var(--utrecht-custom-radio-button-disabled-border-color, var(--utrecht-custom-radio-button-border-color));
1925
1952
  }
1953
+ .utrecht-radio-button--custom.utrecht-radio-button--disabled:active,
1926
1954
  .utrecht-custom-radio-button--disabled:active {
1927
1955
  border-color: var(--utrecht-custom-radio-button-disabled-border-color, var(--utrecht-custom-radio-button-border-color));
1928
1956
  }
1929
1957
 
1958
+ .utrecht-radio-button--custom.utrecht-radio-button--invalid,
1930
1959
  .utrecht-custom-radio-button--invalid {
1931
1960
  border-color: var(--utrecht-custom-radio-button-invalid-border-color, var(--utrecht-custom-radio-button-border-color));
1932
1961
  border-width: var(--utrecht-custom-radio-button-invalid-border-width, var(--utrecht-custom-radio-button-border-width));
1933
1962
  color: var(--utrecht-custom-radio-button-invalid-color, var(--utrecht-custom-radio-button-color));
1934
1963
  }
1935
1964
 
1965
+ .utrecht-radio-button--custom.utrecht-radio-button--html-input:disabled,
1936
1966
  .utrecht-custom-radio-button--html-input:disabled {
1937
1967
  border-color: var(--utrecht-custom-radio-button-disabled-border-color, var(--utrecht-custom-radio-button-border-color));
1938
1968
  border-width: var(--utrecht-custom-radio-button-disabled-border-width, var(--utrecht-custom-radio-button-border-width));
1939
1969
  color: var(--utrecht-custom-radio-button-disabled-color, var(--utrecht-custom-radio-button-color));
1940
1970
  cursor: var(--utrecht-action-disabled-cursor);
1941
1971
  }
1972
+ .utrecht-radio-button--custom.utrecht-radio-button--html-input:disabled:checked,
1942
1973
  .utrecht-custom-radio-button--html-input:disabled:checked {
1943
1974
  background-color: var(--utrecht-custom-radio-button-disabled-background-color, var(--utrecht-custom-radio-button-background-color));
1944
1975
  border-color: var(--utrecht-custom-radio-button-disabled-border-color, var(--utrecht-custom-radio-button-border-color));
1945
1976
  }
1977
+ .utrecht-radio-button--custom.utrecht-radio-button--html-input:disabled:active,
1946
1978
  .utrecht-custom-radio-button--html-input:disabled:active {
1947
1979
  border-color: var(--utrecht-custom-radio-button-disabled-border-color, var(--utrecht-custom-radio-button-border-color));
1948
1980
  }
1981
+ .utrecht-radio-button--custom.utrecht-radio-button--html-input:focus,
1949
1982
  .utrecht-custom-radio-button--html-input:focus {
1950
1983
  background-color: var(--utrecht-custom-radio-button-focus-background-color, var(--utrecht-custom-radio-button-background-color));
1951
1984
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-4 -4 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
@@ -1953,6 +1986,7 @@ ol.utrecht-breadcrumb__list {
1953
1986
  border-width: var(--utrecht-custom-radio-button-focus-border-width, var(--utrecht-custom-radio-button-border-width));
1954
1987
  color: var(--utrecht-custom-radio-button-focus-color, var(--utrecht-custom-radio-button-color));
1955
1988
  }
1989
+ .utrecht-radio-button--custom.utrecht-radio-button--html-input:focus-visible,
1956
1990
  .utrecht-custom-radio-button--html-input:focus-visible {
1957
1991
  box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);
1958
1992
  outline-color: var(--utrecht-focus-outline-color, transparent);
@@ -1960,11 +1994,14 @@ ol.utrecht-breadcrumb__list {
1960
1994
  outline-style: var(--utrecht-focus-outline-style, solid);
1961
1995
  outline-width: var(--utrecht-focus-outline-width, 0);
1962
1996
  }
1963
- .utrecht-custom-radio-button--html-input:invalid, .utrecht-custom-radio-button--html-input[aria-invalid=true] {
1997
+ .utrecht-radio-button--custom.utrecht-radio-button--html-input:invalid, .utrecht-radio-button--custom.utrecht-radio-button--html-input[aria-invalid=true],
1998
+ .utrecht-custom-radio-button--html-input:invalid,
1999
+ .utrecht-custom-radio-button--html-input[aria-invalid=true] {
1964
2000
  border-color: var(--utrecht-custom-radio-button-invalid-border-color, var(--utrecht-custom-radio-button-border-color));
1965
2001
  border-width: var(--utrecht-custom-radio-button-invalid-border-width, var(--utrecht-custom-radio-button-border-width));
1966
2002
  color: var(--utrecht-custom-radio-button-invalid-color, var(--utrecht-custom-radio-button-color));
1967
2003
  }
2004
+ .utrecht-radio-button--custom.utrecht-radio-button--html-input:active,
1968
2005
  .utrecht-custom-radio-button--html-input:active {
1969
2006
  background-color: var(--utrecht-custom-radio-button-active-background-color, var(--utrecht-custom-radio-button-background-color));
1970
2007
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-4 -4 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
@@ -1972,6 +2009,7 @@ ol.utrecht-breadcrumb__list {
1972
2009
  border-width: var(--utrecht-custom-radio-button-active-border-width, var(--utrecht-custom-radio-button-border-width));
1973
2010
  color: var(--utrecht-custom-radio-button-active-color, var(--utrecht-custom-radio-button-color));
1974
2011
  }
2012
+ .utrecht-radio-button--custom.utrecht-radio-button--html-input:checked,
1975
2013
  .utrecht-custom-radio-button--html-input:checked {
1976
2014
  background-color: var(--utrecht-custom-radio-button-checked-background-color, var(--utrecht-custom-radio-button-background-color));
1977
2015
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-4 -4 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
@@ -2123,28 +2161,39 @@ ol.utrecht-breadcrumb__list {
2123
2161
 
2124
2162
  /**
2125
2163
  * @license EUPL-1.2
2126
- * Copyright (c) 2021 Gemeente Utrecht
2127
2164
  * Copyright (c) 2021 Robbert Broersma
2128
2165
  */
2129
2166
  /**
2130
2167
  * @license EUPL-1.2
2131
- * Copyright (c) 2021 Gemeente Utrecht
2132
2168
  * Copyright (c) 2021 Robbert Broersma
2133
2169
  */
2134
- .utrecht-form-field-checkbox-group {
2170
+ .utrecht-form-field-description {
2171
+ --utrecht-document-color: currentColor;
2172
+ color: var(--utrecht-form-field-description-color);
2135
2173
  font-family: var(--utrecht-document-font-family, inherit);
2136
- font-size: var(--utrecht-paragraph-font-size);
2137
- margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));
2138
- margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)));
2174
+ font-size: var(--utrecht-form-field-description-font-size, inherit);
2175
+ font-style: var(--utrecht-form-field-description-font-style);
2176
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-description-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));
2177
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-description-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)));
2178
+ }
2179
+ .utrecht-form-field-description > * {
2180
+ --utrecht-space-around: 1;
2139
2181
  }
2140
2182
 
2141
- .utrecht-form-field-checkbox-group--distanced {
2183
+ .utrecht-form-field-description--distanced {
2142
2184
  --utrecht-space-around: 1;
2143
2185
  }
2144
2186
 
2145
- .utrecht-form-field-checkbox-group__label {
2146
- margin-block-end: var(--utrecht-paragraph-margin-block-end);
2147
- margin-block-start: var(--utrecht-paragraph-margin-block-start);
2187
+ .utrecht-form-field-description--invalid {
2188
+ color: var(--utrecht-form-field-description-invalid-color, var(--utrecht-feedback-invalid-color, var(--utrecht-feedback-danger-color)));
2189
+ }
2190
+
2191
+ .utrecht-form-field-description--valid {
2192
+ color: var(--utrecht-form-field-description-valid-color, var(--utrecht-feedback-valid-color, var(--utrecht-feedback-safe-color)));
2193
+ }
2194
+
2195
+ .utrecht-form-field-description--warning {
2196
+ color: var(--utrecht-form-field-description-warning-color, var(--utrecht-feedback-warning-color));
2148
2197
  }
2149
2198
 
2150
2199
  /**
@@ -2155,10 +2204,7 @@ ol.utrecht-breadcrumb__list {
2155
2204
  * @license EUPL-1.2
2156
2205
  * Copyright (c) 2021 Robbert Broersma
2157
2206
  */
2158
- /**
2159
- * @license EUPL-1.2
2160
- * Copyright (c) 2021 Robbert Broersma
2161
- */
2207
+ /* stylelint-disable-next-line block-no-empty */
2162
2208
  .utrecht-form-field {
2163
2209
  font-family: var(--utrecht-document-font-family, inherit);
2164
2210
  margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-margin-block-end, 0));
@@ -2171,108 +2217,91 @@ ol.utrecht-breadcrumb__list {
2171
2217
  --utrecht-space-around: 1;
2172
2218
  }
2173
2219
 
2174
- .utrecht-form-field__label--checkbox {
2175
- margin-inline-start: 1ch;
2220
+ .utrecht-form-field--invalid {
2221
+ border-inline-start-color: var(--utrecht-form-field-invalid-border-inline-start-color);
2222
+ border-inline-start-style: solid;
2223
+ border-inline-start-width: var(--utrecht-form-field-invalid-border-inline-start-width);
2224
+ padding-inline-start: var(--utrecht-form-field-invalid-padding-inline-start);
2176
2225
  }
2177
2226
 
2178
- /**
2179
- * @license EUPL-1.2
2180
- * Copyright (c) 2021 Robbert Broersma
2181
- */
2182
- /**
2183
- * @license EUPL-1.2
2184
- * Copyright (c) 2021 Robbert Broersma
2185
- */
2186
- .utrecht-form-field-description {
2187
- color: var(--utrecht-form-field-description-color);
2188
- font-family: var(--utrecht-document-font-family, inherit);
2189
- font-size: var(--utrecht-form-field-description-font-size, inherit);
2190
- font-style: var(--utrecht-form-field-description-font-style);
2191
- margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-description-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));
2192
- margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-description-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)));
2227
+ .utrecht-form-field--checkbox {
2228
+ display: grid;
2229
+ gap: 0 var(--utrecht-custom-checkbox-margin-inline-end, 12px);
2230
+ grid-template-areas: "input label" "input description" "input description-invalid";
2231
+ grid-template-columns: var(--utrecht-custom-checkbox-size) 100fr;
2232
+ /*
2233
+ .utrecht-form-field__label .utrecht-form-field__input {
2234
+ margin-inline-start: calc(
2235
+ -1 * (var(--utrecht-custom-checkbox-size) + var(--utrecht-custom-checkbox-margin-inline-end, 12px))
2236
+ );
2237
+ margin-inline-end: var(--utrecht-custom-checkbox-margin-inline-end, 12px);
2238
+ }
2239
+ */
2193
2240
  }
2194
-
2195
- .utrecht-form-field-description--distanced {
2196
- --utrecht-space-around: 1;
2241
+ .utrecht-form-field--checkbox .utrecht-form-field__label:has(.utrecht-form-field__input) {
2242
+ margin-inline-start: calc(-1 * (var(--utrecht-custom-checkbox-size) + var(--utrecht-custom-checkbox-margin-inline-end, 12px)));
2197
2243
  }
2198
-
2199
- .utrecht-form-field-description--invalid {
2200
- color: var(--utrecht-form-field-description-invalid-color, var(--utrecht-feedback-invalid-color, var(--utrecht-feedback-danger-color)));
2244
+ .utrecht-form-field--checkbox .utrecht-form-field__label .utrecht-form-field__input {
2245
+ margin-inline-end: var(--utrecht-custom-checkbox-margin-inline-end, 12px);
2201
2246
  }
2202
2247
 
2203
- .utrecht-form-field-description--valid {
2204
- color: var(--utrecht-form-field-description-valid-color, var(--utrecht-feedback-valid-color, var(--utrecht-feedback-safe-color)));
2205
- }
2206
-
2207
- .utrecht-form-field-description--warning {
2208
- color: var(--utrecht-form-field-description-warning-color, var(--utrecht-feedback-warning-color));
2209
- }
2210
-
2211
- /**
2212
- * @license EUPL-1.2
2213
- * Copyright (c) 2021 Robbert Broersma
2214
- */
2215
- .utrecht-form-field-radio-group {
2216
- font-family: var(--utrecht-document-font-family, inherit);
2217
- font-size: var(--utrecht-paragraph-font-size);
2218
- margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));
2219
- margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)));
2248
+ .utrecht-form-field--radio {
2249
+ display: grid;
2250
+ gap: 0 var(--utrecht-custom-radio-button-margin-inline-end, 12px);
2251
+ grid-template-areas: "input label" "input description" "input description-invalid";
2252
+ grid-template-columns: var(--utrecht-custom-radio-button-size) 100fr;
2253
+ /*
2254
+ .utrecht-form-field__label .utrecht-form-field__input {
2255
+ margin-inline-start: calc(
2256
+ -1 * (var(--utrecht-custom-checkbox-size) + var(--utrecht-custom-checkbox-margin-inline-end, 12px))
2257
+ );
2258
+ margin-inline-end: var(--utrecht-custom-checkbox-margin-inline-end, 12px);
2259
+ }
2260
+ */
2220
2261
  }
2221
-
2222
- .utrecht-form-field-radio-group--distanced {
2223
- --utrecht-space-around: 1;
2262
+ .utrecht-form-field--radio .utrecht-form-field__label:has(.utrecht-form-field__input) {
2263
+ margin-inline-start: calc(-1 * (var(--utrecht-custom-radio-button-size) + var(--utrecht-custom-radio-button-margin-inline-end, 12px)));
2224
2264
  }
2225
-
2226
- .utrecht-form-field-radio-group__label {
2227
- margin-block-end: var(--utrecht-paragraph-margin-block-end);
2228
- margin-block-start: var(--utrecht-paragraph-margin-block-start);
2265
+ .utrecht-form-field--radio .utrecht-form-field__label .utrecht-form-field__input {
2266
+ margin-inline-end: var(--utrecht-custom-radio-button-margin-inline-end, 12px);
2229
2267
  }
2230
2268
 
2231
- /**
2232
- * @license EUPL-1.2
2233
- * Copyright (c) 2021 Robbert Broersma
2234
- */
2235
- .utrecht-form-field-radio {
2236
- font-family: var(--utrecht-document-font-family, inherit);
2237
- font-size: var(--utrecht-paragraph-font-size);
2238
- margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));
2239
- margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)));
2269
+ .utrecht-form-field__input {
2270
+ grid-area: input;
2271
+ order: 5;
2240
2272
  }
2241
2273
 
2242
- .utrecht-form-field-radio--distanced {
2243
- --utrecht-space-around: 1;
2274
+ .utrecht-form-field__label {
2275
+ /* Assign the margin-block-end to padding instead, so the clickable area of the label increases
2276
+ and we avoid a small gap between the label and input that cannot be clicked to focus the input. */
2277
+ grid-area: label;
2278
+ margin-block-end: var(--utrecht-form-field-label-margin-block-end);
2279
+ margin-block-start: 0;
2280
+ order: 1;
2244
2281
  }
2245
2282
 
2246
- .utrecht-form-field-radio__label {
2247
- margin-inline-start: 1ch;
2283
+ .utrecht-form-field .utrecht-form-field-description {
2284
+ grid-area: description;
2285
+ margin-block-end: var(--utrecht-form-field-description-margin-block-end);
2286
+ margin-block-start: var(--utrecht-form-field-description-margin-block-start);
2287
+ order: 2;
2248
2288
  }
2249
2289
 
2250
- /**
2251
- * @license EUPL-1.2
2252
- * Copyright (c) 2021 Robbert Broersma
2253
- */
2254
- .utrecht-form-field-textbox {
2255
- font-family: var(--utrecht-document-font-family, inherit);
2290
+ .utrecht-form-field .utrecht-form-field-description--invalid {
2291
+ grid-area: description-invalid;
2292
+ order: 3;
2256
2293
  }
2257
2294
 
2258
- /**
2259
- * @license EUPL-1.2
2260
- * Copyright (c) 2021 Robbert Broersma
2261
- */
2262
- /**
2263
- * @license EUPL-1.2
2264
- * Copyright (c) 2021 Robbert Broersma
2265
- */
2266
- .utrecht-form-field {
2267
- font-family: var(--utrecht-document-font-family, inherit);
2268
- margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-margin-block-end, 0));
2269
- margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-field-margin-block-start, 0));
2270
- max-inline-size: var(--utrecht-form-field-max-inline-size);
2271
- page-break-inside: avoid;
2295
+ .utrecht-form-field__description {
2296
+ grid-area: description;
2297
+ margin-block-end: var(--utrecht-form-field-description-margin-block-end);
2298
+ margin-block-start: var(--utrecht-form-field-description-margin-block-start);
2299
+ order: 2;
2272
2300
  }
2273
2301
 
2274
- .utrecht-form-field--distanced {
2275
- --utrecht-space-around: 1;
2302
+ .utrecht-form-field__description--before {
2303
+ grid-area: description-before;
2304
+ order: 4;
2276
2305
  }
2277
2306
 
2278
2307
  /**
@@ -2290,6 +2319,7 @@ ol.utrecht-breadcrumb__list {
2290
2319
  }
2291
2320
 
2292
2321
  .utrecht-form-fieldset--html-fieldset {
2322
+ all: revert;
2293
2323
  border: 0;
2294
2324
  margin-inline-end: 0;
2295
2325
  margin-inline-start: 0;
@@ -2301,6 +2331,7 @@ ol.utrecht-breadcrumb__list {
2301
2331
  }
2302
2332
 
2303
2333
  .utrecht-form-fieldset__legend--html-legend {
2334
+ display: table;
2304
2335
  inline-size: 100%;
2305
2336
  padding-inline-end: 0;
2306
2337
  padding-inline-start: 0;
@@ -2310,6 +2341,11 @@ ol.utrecht-breadcrumb__list {
2310
2341
  --utrecht-space-around: 1;
2311
2342
  }
2312
2343
 
2344
+ .utrecht-form-fieldset--section {
2345
+ background-color: var(--utrecht-form-fieldset-section-background-color);
2346
+ color: var(--utrecht-form-fieldset-section-color);
2347
+ }
2348
+
2313
2349
  .utrecht-form-fieldset__legend {
2314
2350
  color: var(--utrecht-form-fieldset-legend-color, var(--utrecht-document-color, inherit));
2315
2351
  font-family: var(--utrecht-form-fieldset-legend-font-family, var(--utrecht-document-font-family));
@@ -2330,6 +2366,13 @@ ol.utrecht-breadcrumb__list {
2330
2366
  margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-legend-margin-block-start, 0));
2331
2367
  }
2332
2368
 
2369
+ .utrecht-form-fieldset--invalid {
2370
+ border-inline-start-color: var(--utrecht-form-fieldset-invalid-border-inline-start-color, var(--utrecht-form-field-invalid-border-inline-start-color));
2371
+ border-inline-start-style: solid;
2372
+ border-inline-start-width: var(--utrecht-form-fieldset-invalid-border-inline-start-width, var(--utrecht-form-field-invalid-border-inline-start-width));
2373
+ padding-inline-start: var(--utrecht-form-fieldset-invalid-padding-inline-start, var(--utrecht-form-field-invalid-padding-inline-start));
2374
+ }
2375
+
2333
2376
  /**
2334
2377
  * @license EUPL-1.2
2335
2378
  * Copyright (c) 2021 Robbert Broersma
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.365",
2
+ "version": "1.0.0-alpha.367",
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": "e13e9c6c1ce7f570c69754464081cf4ca9b0d55c"
29
+ "gitHead": "6595bc1d83cc41d3538a3db6b5bf2b64904384e4"
30
30
  }