@utrecht/component-library-css 9.0.3 → 9.0.5

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/index.css CHANGED
@@ -546,10 +546,6 @@
546
546
  }
547
547
  .utrecht-body {
548
548
  block-size: 100%;
549
- font-family: var(--utrecht-body-font-family, inherit);
550
- font-size: var(--utrecht-body-font-size, inherit);
551
- font-weight: var(--utrecht-body-font-weight, inherit);
552
- line-height: var(--utrecht-body-line-height, inherit);
553
549
  margin-block-end: 0;
554
550
  margin-block-start: 0;
555
551
  margin-inline-end: 0;
@@ -7314,11 +7310,12 @@
7314
7310
  .utrecht-root {
7315
7311
  -webkit-font-smoothing: auto !important;
7316
7312
  -moz-osx-font-smoothing: auto !important;
7317
- background-color: var(--utrecht-root-background-color);
7313
+ background-color: var(--utrecht-root-background-color, Canvas);
7318
7314
  block-size: 100%;
7319
- color: var(--utrecht-root-color);
7315
+ color: var(--utrecht-root-color, CanvasText);
7320
7316
  font-family: var(--utrecht-root-font-family);
7321
7317
  font-size-adjust: var(--utrecht-root-font-size-adjust, 0.5);
7318
+ font-weight: var(--utrecht-root-font-weight, var(--utrecht-body-font-weight));
7322
7319
  -webkit-hyphens: auto;
7323
7320
  -moz-hyphens: auto;
7324
7321
  -ms-hyphens: auto;
@@ -7333,6 +7330,11 @@
7333
7330
  text-size-adjust: none;
7334
7331
  word-break: break-word;
7335
7332
  }
7333
+ @media (prefers-reduced-motion: no-preference) {
7334
+ .utrecht-root {
7335
+ scroll-behavior: smooth;
7336
+ }
7337
+ }
7336
7338
  :where(.utrecht-root) :where(:focus-visible) {
7337
7339
  --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
7338
7340
  var(--utrecht-focus-inverse-outline-color, transparent);
@@ -7343,6 +7345,14 @@
7343
7345
  outline-width: var(--utrecht-focus-outline-width, revert);
7344
7346
  z-index: 1;
7345
7347
  }
7348
+ :where(.utrecht-root) :where(:not(:root):fullscreen)::backdrop {
7349
+ background-color: var(--utrecht-root-background-color, Canvas);
7350
+ }
7351
+ .utrecht-root:where(:root) > *,
7352
+ .utrecht-root:where(:not(:root)) {
7353
+ font-size: var(--utrecht-root-font-size, var(--utrecht-body-font-size));
7354
+ line-height: var(--utrecht-root-line-height, var(--utrecht-body-line-height));
7355
+ }
7346
7356
  .utrecht-search-bar {
7347
7357
  --utrecht-button-border-color: var(--utrecht-search-bar-button-border-color);
7348
7358
  --utrecht-button-hover-scale: var(--utrecht-search-bar-hover-scale);
@@ -511,10 +511,6 @@
511
511
  }
512
512
  .utrecht-body {
513
513
  height: 100%;
514
- font-family: var(--utrecht-body-font-family, inherit);
515
- font-size: var(--utrecht-body-font-size, inherit);
516
- font-weight: var(--utrecht-body-font-weight, inherit);
517
- line-height: var(--utrecht-body-line-height, inherit);
518
514
  margin-bottom: 0;
519
515
  margin-top: 0;
520
516
  margin-right: 0;
@@ -7170,11 +7166,12 @@
7170
7166
  .utrecht-root {
7171
7167
  -webkit-font-smoothing: auto !important;
7172
7168
  -moz-osx-font-smoothing: auto !important;
7173
- background-color: var(--utrecht-root-background-color);
7169
+ background-color: var(--utrecht-root-background-color, Canvas);
7174
7170
  height: 100%;
7175
- color: var(--utrecht-root-color);
7171
+ color: var(--utrecht-root-color, CanvasText);
7176
7172
  font-family: var(--utrecht-root-font-family);
7177
7173
  font-size-adjust: var(--utrecht-root-font-size-adjust, 0.5);
7174
+ font-weight: var(--utrecht-root-font-weight, var(--utrecht-body-font-weight));
7178
7175
  -webkit-hyphens: auto;
7179
7176
  -moz-hyphens: auto;
7180
7177
  -ms-hyphens: auto;
@@ -7199,6 +7196,14 @@
7199
7196
  outline-width: var(--utrecht-focus-outline-width, revert);
7200
7197
  z-index: 1;
7201
7198
  }
7199
+ :where(.utrecht-root) :where(:not(:root):fullscreen)[prince-xml-ignore-pseudo-element-backdrop] {
7200
+ background-color: var(--utrecht-root-background-color, Canvas);
7201
+ }
7202
+ .utrecht-root:where(:root) > *,
7203
+ .utrecht-root:where(:not(:root)) {
7204
+ font-size: var(--utrecht-root-font-size, var(--utrecht-body-font-size));
7205
+ line-height: var(--utrecht-root-line-height, var(--utrecht-body-line-height));
7206
+ }
7202
7207
  .utrecht-search-bar {
7203
7208
  --utrecht-button-border-color: var(--utrecht-search-bar-button-border-color);
7204
7209
  --utrecht-button-hover-scale: var(--utrecht-search-bar-hover-scale);
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "9.0.3",
2
+ "version": "9.0.5",
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",
@@ -21,8 +21,6 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@utrecht/accordion-css": "3.0.1",
24
- "@utrecht/action-group-css": "3.0.1",
25
- "@utrecht/alert-css": "3.0.1",
26
24
  "@utrecht/alert-dialog-css": "2.0.1",
27
25
  "@utrecht/alternate-lang-nav-css": "2.0.1",
28
26
  "@utrecht/article-css": "2.0.1",
@@ -30,7 +28,7 @@
30
28
  "@utrecht/badge-counter-css": "2.0.1",
31
29
  "@utrecht/badge-list-css": "3.0.1",
32
30
  "@utrecht/blockquote-css": "2.0.1",
33
- "@utrecht/body-css": "2.0.1",
31
+ "@utrecht/body-css": "3.0.0",
34
32
  "@utrecht/breadcrumb-nav-css": "2.1.0",
35
33
  "@utrecht/button-css": "3.1.0",
36
34
  "@utrecht/button-group-css": "2.0.1",
@@ -55,8 +53,8 @@
55
53
  "@utrecht/form-css": "2.0.1",
56
54
  "@utrecht/form-field-css": "2.0.1",
57
55
  "@utrecht/form-field-description-css": "2.0.1",
58
- "@utrecht/form-field-error-message-css": "2.0.1",
59
56
  "@utrecht/form-fieldset-css": "2.0.1",
57
+ "@utrecht/form-field-error-message-css": "2.0.1",
60
58
  "@utrecht/form-label-css": "2.0.1",
61
59
  "@utrecht/form-toggle-css": "2.0.1",
62
60
  "@utrecht/grid-css": "1.0.0",
@@ -65,7 +63,6 @@
65
63
  "@utrecht/heading-3-css": "2.0.1",
66
64
  "@utrecht/heading-4-css": "2.0.1",
67
65
  "@utrecht/heading-5-css": "2.0.1",
68
- "@utrecht/heading-6-css": "2.0.1",
69
66
  "@utrecht/heading-group-css": "2.0.1",
70
67
  "@utrecht/html-content-css": "2.1.0",
71
68
  "@utrecht/iban-data-css": "2.0.1",
@@ -102,7 +99,7 @@
102
99
  "@utrecht/preserve-data-css": "2.0.1",
103
100
  "@utrecht/radio-button-css": "2.0.1",
104
101
  "@utrecht/rich-text-css": "2.1.0",
105
- "@utrecht/root-css": "3.0.0",
102
+ "@utrecht/root-css": "3.1.1",
106
103
  "@utrecht/search-bar-css": "3.0.1",
107
104
  "@utrecht/select-css": "2.0.1",
108
105
  "@utrecht/separator-css": "2.0.1",
@@ -119,7 +116,10 @@
119
116
  "@utrecht/top-task-nav-css": "1.3.2",
120
117
  "@utrecht/unordered-list-css": "2.0.1",
121
118
  "@utrecht/url-data-css": "2.0.1",
122
- "@utrecht/youtube-video-css": "2.0.1"
119
+ "@utrecht/youtube-video-css": "2.0.1",
120
+ "@utrecht/action-group-css": "3.0.1",
121
+ "@utrecht/alert-css": "3.0.1",
122
+ "@utrecht/heading-6-css": "2.0.1"
123
123
  },
124
124
  "devDependencies": {
125
125
  "postcss": "8.4.49",