@utrecht/component-library-css 1.0.0-alpha.307 → 1.0.0-alpha.308

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
@@ -418,6 +418,7 @@
418
418
  --utrecht-button-border-bottom-width,
419
419
  var(--utrecht-button-border-width, 0)
420
420
  );
421
+ --utrecht-icon-size: var(--utrecht-button-icon-size, 1em);
421
422
  align-items: center;
422
423
  background-color: var(--_utrecht-button-background-color);
423
424
  border-color: var(--_utrecht-button-border-color);
@@ -432,6 +433,7 @@
432
433
  font-family: var(--utrecht-button-font-family, var(--utrecht-document-font-family));
433
434
  font-size: var(--utrecht-button-font-size, var(--utrecht-document-font-family));
434
435
  font-weight: var(--utrecht-button-font-weight);
436
+ gap: var(--utrecht-button-icon-gap);
435
437
  inline-size: var(--utrecht-button-inline-size, auto);
436
438
  justify-content: center;
437
439
  letter-spacing: var(--utrecht-button-letter-spacing);
package/dist/index.css CHANGED
@@ -432,6 +432,7 @@ ol.utrecht-breadcrumb__list {
432
432
  --utrecht-button-border-bottom-width,
433
433
  var(--utrecht-button-border-width, 0)
434
434
  );
435
+ --utrecht-icon-size: var(--utrecht-button-icon-size, 1em);
435
436
  align-items: center;
436
437
  background-color: var(--_utrecht-button-background-color);
437
438
  border-color: var(--_utrecht-button-border-color);
@@ -446,6 +447,7 @@ ol.utrecht-breadcrumb__list {
446
447
  font-family: var(--utrecht-button-font-family, var(--utrecht-document-font-family));
447
448
  font-size: var(--utrecht-button-font-size, var(--utrecht-document-font-family));
448
449
  font-weight: var(--utrecht-button-font-weight);
450
+ gap: var(--utrecht-button-icon-gap);
449
451
  inline-size: var(--utrecht-button-inline-size, auto);
450
452
  justify-content: center;
451
453
  letter-spacing: var(--utrecht-button-letter-spacing);
@@ -701,6 +703,7 @@ ol.utrecht-breadcrumb__list {
701
703
  --utrecht-button-border-bottom-width,
702
704
  var(--utrecht-button-border-width, 0)
703
705
  );
706
+ --utrecht-icon-size: var(--utrecht-button-icon-size, 1em);
704
707
  align-items: center;
705
708
  background-color: var(--_utrecht-button-background-color);
706
709
  border-color: var(--_utrecht-button-border-color);
@@ -715,6 +718,7 @@ ol.utrecht-breadcrumb__list {
715
718
  font-family: var(--utrecht-button-font-family, var(--utrecht-document-font-family));
716
719
  font-size: var(--utrecht-button-font-size, var(--utrecht-document-font-family));
717
720
  font-weight: var(--utrecht-button-font-weight);
721
+ gap: var(--utrecht-button-icon-gap);
718
722
  inline-size: var(--utrecht-button-inline-size, auto);
719
723
  justify-content: center;
720
724
  letter-spacing: var(--utrecht-button-letter-spacing);
@@ -1946,6 +1950,25 @@ ol.utrecht-breadcrumb__list {
1946
1950
  margin-block-start: var(--utrecht-heading-6-margin-block-start);
1947
1951
  }
1948
1952
 
1953
+ /**
1954
+ * @license EUPL-1.2
1955
+ * Copyright (c) 2021-2022 Gemeente Utrecht
1956
+ * Copyright (c) 2021-2022 Frameless B.V.
1957
+ */
1958
+ /**
1959
+ * @license EUPL-1.2
1960
+ * Copyright (c) 2021-2022 Gemeente Utrecht
1961
+ * Copyright (c) 2021-2022 Frameless B.V.
1962
+ */
1963
+ .utrecht-icon {
1964
+ color: var(--utrecht-icon-color);
1965
+ display: inline-block;
1966
+ height: var(--utrecht-icon-size);
1967
+ inset-block-start: var(--utrecht-icon-inset-block-start, 0);
1968
+ position: relative;
1969
+ width: var(--utrecht-icon-size);
1970
+ }
1971
+
1949
1972
  /**
1950
1973
  * @license EUPL-1.2
1951
1974
  * Copyright (c) 2020-2022 Gemeente Utrecht
@@ -2121,13 +2144,18 @@ however browsers don't seem to have implemented great looking supixel tweening y
2121
2144
  text-decoration-skip-ink: all;
2122
2145
  text-decoration-thickness: max(var(--utrecht-link-text-decoration-thickness), 1px);
2123
2146
  text-underline-offset: var(--utrecht-link-text-underline-offset);
2147
+ --utrecht-icon-size: var(--utrecht-button-icon-size, 1em);
2148
+ align-items: center;
2124
2149
  cursor: pointer;
2125
2150
  display: inline-flex;
2126
2151
  font-family: var(--utrecht-button-font-family, var(--utrecht-document-font-family));
2127
2152
  font-size: var(--utrecht-button-font-size, var(--utrecht-document-font-family));
2128
2153
  font-weight: var(--utrecht-button-font-weight);
2154
+ gap: var(--utrecht-button-icon-gap);
2129
2155
  inline-size: var(--utrecht-button-inline-size, auto);
2156
+ justify-content: center;
2130
2157
  letter-spacing: var(--utrecht-button-letter-spacing);
2158
+ line-height: inherit;
2131
2159
  min-block-size: var(--utrecht-button-min-block-size, 44px);
2132
2160
  min-inline-size: var(--utrecht-button-min-inline-size, 44px);
2133
2161
  padding-block-end: var(--utrecht-button-padding-block-end);
@@ -2168,6 +2196,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
2168
2196
  }
2169
2197
 
2170
2198
  .utrecht-link-button--inline {
2199
+ --utrecht-icon-inset-block-start: var(--utrecht-icon-baseline-inset-block-start);
2171
2200
  min-block-size: auto;
2172
2201
  min-inline-size: auto;
2173
2202
  padding-block-end: 0;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.307",
2
+ "version": "1.0.0-alpha.308",
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",
@@ -16,7 +16,7 @@
16
16
  "url": "git@github.com:nl-design-system/utrecht.git"
17
17
  },
18
18
  "devDependencies": {
19
- "@utrecht/design-tokens": "1.0.0-alpha.300",
19
+ "@utrecht/design-tokens": "1.0.0-alpha.301",
20
20
  "node-sass-package-importer": "5.3.2",
21
21
  "rimraf": "3.0.2",
22
22
  "sass": "1.54.0"
@@ -27,5 +27,5 @@
27
27
  "clean": "rimraf dist/"
28
28
  },
29
29
  "main": "dist/index.css",
30
- "gitHead": "5b5af09a97a4d80406c3befbe73c9c3852845870"
30
+ "gitHead": "5c31ea600fbee226c7d49b4e1cf10d026884fb66"
31
31
  }
package/src/index.scss CHANGED
@@ -49,6 +49,7 @@
49
49
  @import "../../../components/heading-4/css";
50
50
  @import "../../../components/heading-5/css";
51
51
  @import "../../../components/heading-6/css";
52
+ @import "../../../components/icon/css";
52
53
  @import "../../../components/img/css";
53
54
  @import "../../../components/link-list/css";
54
55
  @import "../../../components/link-button/css";