@utrecht/component-library-css 9.0.8 → 9.0.9

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
@@ -213,6 +213,8 @@
213
213
  .utrecht-alert-dialog__message {
214
214
  --utrecht-heading-color: var(--utrecht-alert-color);
215
215
  --utrecht-paragraph-color: var(--utrecht-alert-color);
216
+ display: flex;
217
+ flex-direction: column;
216
218
  row-gap: var(--utrecht-alert-message-row-gap);
217
219
  }
218
220
 
@@ -264,12 +266,16 @@
264
266
  }
265
267
 
266
268
  .utrecht-alert__content {
269
+ display: flex;
270
+ flex-direction: column;
267
271
  row-gap: var(--utrecht-alert-content-row-gap);
268
272
  }
269
273
 
270
274
  .utrecht-alert__message {
271
275
  --utrecht-heading-color: var(--utrecht-alert-color);
272
276
  --utrecht-paragraph-color: var(--utrecht-alert-color);
277
+ display: flex;
278
+ flex-direction: column;
273
279
  row-gap: var(--utrecht-alert-message-row-gap);
274
280
  }
275
281
 
@@ -4266,6 +4272,13 @@
4266
4272
  }
4267
4273
  }
4268
4274
 
4275
+ .utrecht-nav-bar--sticky {
4276
+ background-color: var(--utrecht-nav-bar-background-color, Canvas);
4277
+ color: var(--utrecht-nav-bar-color, CanvasText);
4278
+ inset-block-start: 0;
4279
+ position: sticky;
4280
+ }
4281
+
4269
4282
  .utrecht-nav-bar__heading {
4270
4283
  display: none;
4271
4284
  }
@@ -4791,12 +4804,19 @@
4791
4804
  }
4792
4805
  .utrecht-page-layout {
4793
4806
  align-items: flex-start;
4794
- block-size: 100%;
4807
+ box-sizing: border-box;
4795
4808
  display: flex;
4796
4809
  flex-direction: column;
4797
4810
  inline-size: 100%;
4798
4811
  justify-content: flex-start;
4799
4812
  }
4813
+
4814
+ .utrecht-page-layout--stretch {
4815
+ min-block-size: 100%;
4816
+ min-block-size: -moz-available;
4817
+ min-block-size: -webkit-fill-available;
4818
+ min-block-size: stretch;
4819
+ }
4800
4820
  .utrecht-page {
4801
4821
  margin-inline-end: auto;
4802
4822
  margin-inline-start: auto;
@@ -7313,7 +7333,8 @@
7313
7333
  -webkit-font-smoothing: auto !important;
7314
7334
  -moz-osx-font-smoothing: auto !important;
7315
7335
  background-color: var(--utrecht-root-background-color, Canvas);
7316
- block-size: 100%;
7336
+ border: 0;
7337
+ box-sizing: border-box;
7317
7338
  color: var(--utrecht-root-color, CanvasText);
7318
7339
  font-family: var(--utrecht-root-font-family);
7319
7340
  font-size-adjust: var(--utrecht-root-font-size-adjust, 0.5);
@@ -7323,14 +7344,16 @@
7323
7344
  -ms-hyphens: auto;
7324
7345
  hyphens: auto;
7325
7346
  inline-size: 100%;
7326
- overflow-block: auto;
7327
- overflow-inline: auto;
7347
+ margin: 0;
7348
+ min-block-size: 100%;
7328
7349
  overflow-wrap: break-word;
7350
+ padding: 0;
7329
7351
  position: relative;
7330
7352
  text-rendering: optimizeLegibility;
7331
7353
  -moz-text-size-adjust: none;
7332
7354
  -webkit-text-size-adjust: none;
7333
7355
  text-size-adjust: none;
7356
+ view-transition-name: root;
7334
7357
  }
7335
7358
  @media (prefers-reduced-motion: no-preference) {
7336
7359
  .utrecht-root {
@@ -7347,14 +7370,49 @@
7347
7370
  outline-width: var(--utrecht-focus-outline-width, revert);
7348
7371
  z-index: 1;
7349
7372
  }
7350
- :where(.utrecht-root) :where(:not(:root):fullscreen)::backdrop {
7373
+ :where(.utrecht-root) :where(:fullscreen)::backdrop {
7351
7374
  background-color: var(--utrecht-root-background-color, Canvas);
7352
7375
  }
7376
+ :where(.utrecht-root):lang(ar), :where(.utrecht-root) :lang(ar) {
7377
+ letter-spacing: 0;
7378
+ }
7379
+ :where(.utrecht-root):lang(nl), :where(.utrecht-root) :lang(nl) {
7380
+ hyphenate-limit-chars: 12 8 4;
7381
+ }
7382
+
7383
+ .utrecht-root:where(:root) {
7384
+ display: flex;
7385
+ flex-direction: column;
7386
+ container-name: root;
7387
+ container-type: size scroll-state;
7388
+ }
7389
+
7390
+ .utrecht-root:where(body) {
7391
+ margin: 0;
7392
+ }
7393
+ @media screen {
7394
+ .utrecht-root:where(body) {
7395
+ min-block-size: 100vh;
7396
+ min-block-size: 100vb;
7397
+ }
7398
+ }
7353
7399
  .utrecht-root:where(:root) > *,
7354
7400
  .utrecht-root:where(:not(:root)) {
7355
7401
  font-size: var(--utrecht-root-font-size, var(--utrecht-body-font-size));
7356
7402
  line-height: var(--utrecht-root-line-height, var(--utrecht-body-line-height));
7357
7403
  }
7404
+
7405
+ .utrecht-root:where(:root) > :where(body) {
7406
+ margin: 0;
7407
+ flex-grow: 1;
7408
+ }
7409
+
7410
+ .utrecht-root--scroll {
7411
+ container-name: root;
7412
+ container-type: size scroll-state;
7413
+ overflow-block: auto;
7414
+ overflow-inline: auto;
7415
+ }
7358
7416
  .utrecht-search-bar {
7359
7417
  --utrecht-button-border-color: var(--utrecht-search-bar-button-border-color);
7360
7418
  --utrecht-button-hover-scale: var(--utrecht-search-bar-hover-scale);
@@ -7610,12 +7668,15 @@
7610
7668
  border-style: solid;
7611
7669
  border-width: var(--_utrecht-spotlight-section-border-width, var(--utrecht-spotlight-section-border-width, 0));
7612
7670
  color: var(--_utrecht-spotlight-section-color, var(--utrecht-spotlight-section-color));
7671
+ display: flex;
7672
+ flex-direction: column;
7613
7673
  margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-spotlight-section-margin-block-end, 0));
7614
7674
  margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-spotlight-section-margin-block-start, 0));
7615
7675
  padding-block-end: var(--utrecht-spotlight-section-padding-block-end);
7616
7676
  padding-block-start: var(--utrecht-spotlight-section-padding-block-start);
7617
7677
  padding-inline-end: var(--utrecht-spotlight-section-padding-inline-end);
7618
7678
  padding-inline-start: var(--utrecht-spotlight-section-padding-inline-start);
7679
+ row-gap: var(--utrecht-spotlight-section-row-gap);
7619
7680
  }
7620
7681
 
7621
7682
  .utrecht-spotlight-section--info {
@@ -202,6 +202,8 @@
202
202
  .utrecht-alert-dialog__message {
203
203
  --utrecht-heading-color: var(--utrecht-alert-color);
204
204
  --utrecht-paragraph-color: var(--utrecht-alert-color);
205
+ display: flex;
206
+ flex-direction: column;
205
207
  row-gap: var(--utrecht-alert-message-row-gap);
206
208
  }
207
209
 
@@ -253,12 +255,16 @@
253
255
  }
254
256
 
255
257
  .utrecht-alert__content {
258
+ display: flex;
259
+ flex-direction: column;
256
260
  row-gap: var(--utrecht-alert-content-row-gap);
257
261
  }
258
262
 
259
263
  .utrecht-alert__message {
260
264
  --utrecht-heading-color: var(--utrecht-alert-color);
261
265
  --utrecht-paragraph-color: var(--utrecht-alert-color);
266
+ display: flex;
267
+ flex-direction: column;
262
268
  row-gap: var(--utrecht-alert-message-row-gap);
263
269
  }
264
270
 
@@ -4128,6 +4134,13 @@
4128
4134
  width: 100%;
4129
4135
  }
4130
4136
 
4137
+ .utrecht-nav-bar--sticky {
4138
+ background-color: var(--utrecht-nav-bar-background-color, Canvas);
4139
+ color: var(--utrecht-nav-bar-color, CanvasText);
4140
+ top: 0;
4141
+ position: sticky;
4142
+ }
4143
+
4131
4144
  .utrecht-nav-bar__heading {
4132
4145
  display: none;
4133
4146
  }
@@ -4649,12 +4662,19 @@
4649
4662
  }
4650
4663
  .utrecht-page-layout {
4651
4664
  align-items: flex-start;
4652
- height: 100%;
4665
+ box-sizing: border-box;
4653
4666
  display: flex;
4654
4667
  flex-direction: column;
4655
4668
  width: 100%;
4656
4669
  justify-content: flex-start;
4657
4670
  }
4671
+
4672
+ .utrecht-page-layout--stretch {
4673
+ min-height: 100%;
4674
+ min-height: -moz-available;
4675
+ min-height: -webkit-fill-available;
4676
+ min-height: stretch;
4677
+ }
4658
4678
  .utrecht-page {
4659
4679
  margin-right: auto;
4660
4680
  margin-left: auto;
@@ -7169,7 +7189,8 @@
7169
7189
  -webkit-font-smoothing: auto !important;
7170
7190
  -moz-osx-font-smoothing: auto !important;
7171
7191
  background-color: var(--utrecht-root-background-color, Canvas);
7172
- height: 100%;
7192
+ border: 0;
7193
+ box-sizing: border-box;
7173
7194
  color: var(--utrecht-root-color, CanvasText);
7174
7195
  font-family: var(--utrecht-root-font-family);
7175
7196
  font-size-adjust: var(--utrecht-root-font-size-adjust, 0.5);
@@ -7179,14 +7200,16 @@
7179
7200
  -ms-hyphens: auto;
7180
7201
  hyphens: auto;
7181
7202
  width: 100%;
7182
- overflow-block: auto;
7183
- overflow-inline: auto;
7203
+ margin: 0;
7204
+ min-height: 100%;
7184
7205
  overflow-wrap: break-word;
7206
+ padding: 0;
7185
7207
  position: relative;
7186
7208
  text-rendering: optimizeLegibility;
7187
7209
  -moz-text-size-adjust: none;
7188
7210
  -webkit-text-size-adjust: none;
7189
7211
  text-size-adjust: none;
7212
+ view-transition-name: root;
7190
7213
  }
7191
7214
  :where(.utrecht-root) :where([prince-xml-ignore-pseudo-class-focus-visible]) {
7192
7215
  --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
@@ -7198,14 +7221,49 @@
7198
7221
  outline-width: var(--utrecht-focus-outline-width, revert);
7199
7222
  z-index: 1;
7200
7223
  }
7201
- :where(.utrecht-root) :where(:not(:root):fullscreen)[prince-xml-ignore-pseudo-element-backdrop] {
7224
+ :where(.utrecht-root) :where(:fullscreen)[prince-xml-ignore-pseudo-element-backdrop] {
7202
7225
  background-color: var(--utrecht-root-background-color, Canvas);
7203
7226
  }
7227
+ :where(.utrecht-root):lang(ar), :where(.utrecht-root) :lang(ar) {
7228
+ letter-spacing: 0;
7229
+ }
7230
+ :where(.utrecht-root):lang(nl), :where(.utrecht-root) :lang(nl) {
7231
+ hyphenate-limit-chars: 12 8 4;
7232
+ }
7233
+
7234
+ .utrecht-root:where(:root) {
7235
+ display: flex;
7236
+ flex-direction: column;
7237
+ container-name: root;
7238
+ container-type: size scroll-state;
7239
+ }
7240
+
7241
+ .utrecht-root:where(body) {
7242
+ margin: 0;
7243
+ }
7244
+ @media screen {
7245
+ .utrecht-root:where(body) {
7246
+ min-height: 100vh;
7247
+ min-height: 100vb;
7248
+ }
7249
+ }
7204
7250
  .utrecht-root:where(:root) > *,
7205
7251
  .utrecht-root:where(:not(:root)) {
7206
7252
  font-size: var(--utrecht-root-font-size, var(--utrecht-body-font-size));
7207
7253
  line-height: var(--utrecht-root-line-height, var(--utrecht-body-line-height));
7208
7254
  }
7255
+
7256
+ .utrecht-root:where(:root) > :where(body) {
7257
+ margin: 0;
7258
+ flex-grow: 1;
7259
+ }
7260
+
7261
+ .utrecht-root--scroll {
7262
+ container-name: root;
7263
+ container-type: size scroll-state;
7264
+ overflow-block: auto;
7265
+ overflow-inline: auto;
7266
+ }
7209
7267
  .utrecht-search-bar {
7210
7268
  --utrecht-button-border-color: var(--utrecht-search-bar-button-border-color);
7211
7269
  --utrecht-button-hover-scale: var(--utrecht-search-bar-hover-scale);
@@ -7461,12 +7519,15 @@
7461
7519
  border-style: solid;
7462
7520
  border-width: var(--_utrecht-spotlight-section-border-width, var(--utrecht-spotlight-section-border-width, 0));
7463
7521
  color: var(--_utrecht-spotlight-section-color, var(--utrecht-spotlight-section-color));
7522
+ display: flex;
7523
+ flex-direction: column;
7464
7524
  margin-bottom: calc(var(--utrecht-space-around, 0) * var(--utrecht-spotlight-section-margin-block-end, 0));
7465
7525
  margin-top: calc(var(--utrecht-space-around, 0) * var(--utrecht-spotlight-section-margin-block-start, 0));
7466
7526
  padding-bottom: var(--utrecht-spotlight-section-padding-block-end);
7467
7527
  padding-top: var(--utrecht-spotlight-section-padding-block-start);
7468
7528
  padding-right: var(--utrecht-spotlight-section-padding-inline-end);
7469
7529
  padding-left: var(--utrecht-spotlight-section-padding-inline-start);
7530
+ row-gap: var(--utrecht-spotlight-section-row-gap);
7470
7531
  }
7471
7532
 
7472
7533
  .utrecht-spotlight-section--info {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "9.0.8",
2
+ "version": "9.0.9",
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",
@@ -22,46 +22,47 @@
22
22
  "dependencies": {
23
23
  "@utrecht/accordion-css": "4.0.0",
24
24
  "@utrecht/action-group-css": "4.0.0",
25
- "@utrecht/alert-css": "4.0.0",
25
+ "@utrecht/alert-css": "4.0.1",
26
26
  "@utrecht/alert-dialog-css": "3.0.0",
27
27
  "@utrecht/alternate-lang-nav-css": "3.0.0",
28
28
  "@utrecht/article-css": "3.0.0",
29
29
  "@utrecht/backdrop-css": "3.0.0",
30
30
  "@utrecht/badge-counter-css": "3.0.0",
31
+ "@utrecht/badge-list-css": "4.0.0",
31
32
  "@utrecht/blockquote-css": "3.0.0",
32
33
  "@utrecht/body-css": "4.0.0",
33
34
  "@utrecht/breadcrumb-nav-css": "3.0.0",
34
35
  "@utrecht/button-css": "4.0.0",
35
- "@utrecht/button-link-css": "3.0.0",
36
36
  "@utrecht/button-group-css": "3.0.0",
37
+ "@utrecht/button-link-css": "3.0.0",
37
38
  "@utrecht/calendar-css": "3.0.0",
38
39
  "@utrecht/checkbox-css": "3.0.0",
39
- "@utrecht/badge-list-css": "4.0.0",
40
40
  "@utrecht/code-block-css": "3.0.0",
41
41
  "@utrecht/code-css": "3.0.0",
42
42
  "@utrecht/color-sample-css": "3.0.0",
43
43
  "@utrecht/column-layout-css": "3.0.0",
44
44
  "@utrecht/combobox-css": "3.0.0",
45
+ "@utrecht/currency-data-css": "3.0.0",
45
46
  "@utrecht/custom-checkbox-css": "3.0.0",
46
47
  "@utrecht/data-badge-css": "3.0.0",
47
48
  "@utrecht/data-list-css": "3.0.0",
48
- "@utrecht/currency-data-css": "3.0.0",
49
+ "@utrecht/data-placeholder-css": "3.0.0",
49
50
  "@utrecht/digid-button-css": "2.0.0",
50
51
  "@utrecht/document-css": "3.0.0",
51
- "@utrecht/data-placeholder-css": "3.0.0",
52
52
  "@utrecht/drawer-css": "3.0.0",
53
53
  "@utrecht/emphasis-css": "3.0.0",
54
- "@utrecht/form-css": "3.0.0",
55
54
  "@utrecht/figure-css": "3.0.0",
55
+ "@utrecht/form-css": "3.0.0",
56
+ "@utrecht/form-field-css": "3.0.0",
56
57
  "@utrecht/form-field-description-css": "3.0.0",
57
58
  "@utrecht/form-field-error-message-css": "3.0.0",
58
- "@utrecht/form-field-css": "3.0.0",
59
59
  "@utrecht/form-fieldset-css": "3.0.0",
60
+ "@utrecht/form-label-css": "3.0.0",
60
61
  "@utrecht/form-toggle-css": "3.0.0",
61
62
  "@utrecht/grid-css": "2.0.0",
62
63
  "@utrecht/heading-1-css": "3.0.0",
64
+ "@utrecht/heading-2-css": "3.0.0",
63
65
  "@utrecht/heading-3-css": "3.0.0",
64
- "@utrecht/form-label-css": "3.0.0",
65
66
  "@utrecht/heading-4-css": "3.0.0",
66
67
  "@utrecht/heading-5-css": "3.0.0",
67
68
  "@utrecht/heading-6-css": "3.0.0",
@@ -69,7 +70,6 @@
69
70
  "@utrecht/html-content-css": "3.0.0",
70
71
  "@utrecht/iban-data-css": "3.0.0",
71
72
  "@utrecht/icon-css": "4.0.0",
72
- "@utrecht/heading-2-css": "3.0.0",
73
73
  "@utrecht/img-css": "3.0.0",
74
74
  "@utrecht/index-char-nav-css": "3.0.0",
75
75
  "@utrecht/link-button-css": "3.0.0",
@@ -80,12 +80,12 @@
80
80
  "@utrecht/listbox-css": "3.0.0",
81
81
  "@utrecht/logo-button-css": "2.0.0",
82
82
  "@utrecht/logo-css": "3.0.0",
83
+ "@utrecht/logo-image-css": "2.0.0",
83
84
  "@utrecht/map-marker-css": "3.0.0",
84
85
  "@utrecht/mark-css": "3.0.0",
85
86
  "@utrecht/multiline-data-css": "3.0.0",
86
- "@utrecht/nav-bar-css": "3.0.0",
87
+ "@utrecht/nav-bar-css": "3.1.0",
87
88
  "@utrecht/nav-list-css": "2.0.0",
88
- "@utrecht/logo-image-css": "2.0.0",
89
89
  "@utrecht/navigation-css": "2.0.0",
90
90
  "@utrecht/number-badge-css": "4.0.0",
91
91
  "@utrecht/number-data-css": "3.0.0",
@@ -95,19 +95,19 @@
95
95
  "@utrecht/page-css": "3.0.0",
96
96
  "@utrecht/page-footer-css": "4.0.0",
97
97
  "@utrecht/page-header-css": "3.0.0",
98
+ "@utrecht/page-layout-css": "4.0.0",
98
99
  "@utrecht/pagination-css": "3.0.0",
99
- "@utrecht/page-layout-css": "3.0.0",
100
100
  "@utrecht/paragraph-css": "4.0.0",
101
101
  "@utrecht/pre-heading-css": "3.0.0",
102
102
  "@utrecht/preserve-data-css": "3.0.0",
103
- "@utrecht/rich-text-css": "3.0.0",
104
103
  "@utrecht/radio-button-css": "3.0.0",
105
- "@utrecht/root-css": "4.0.0",
104
+ "@utrecht/rich-text-css": "3.0.0",
105
+ "@utrecht/root-css": "4.1.0",
106
106
  "@utrecht/search-bar-css": "4.0.0",
107
107
  "@utrecht/select-css": "3.0.0",
108
108
  "@utrecht/separator-css": "3.0.0",
109
109
  "@utrecht/skip-link-css": "3.0.0",
110
- "@utrecht/spotlight-section-css": "3.0.0",
110
+ "@utrecht/spotlight-section-css": "3.0.1",
111
111
  "@utrecht/status-badge-css": "2.0.0",
112
112
  "@utrecht/surface-css": "3.0.0",
113
113
  "@utrecht/table-css": "3.0.0",
@@ -115,24 +115,43 @@
115
115
  "@utrecht/textarea-css": "4.0.0",
116
116
  "@utrecht/textbox-css": "4.0.0",
117
117
  "@utrecht/tooltip-css": "3.0.0",
118
+ "@utrecht/top-task-link-css": "3.0.0",
118
119
  "@utrecht/top-task-nav-css": "2.0.0",
119
120
  "@utrecht/unordered-list-css": "3.1.0",
120
121
  "@utrecht/url-data-css": "3.0.0",
121
- "@utrecht/youtube-video-css": "3.0.0",
122
- "@utrecht/top-task-link-css": "3.0.0"
122
+ "@utrecht/youtube-video-css": "3.0.0"
123
123
  },
124
124
  "devDependencies": {
125
+ "@nl-design-system/tsconfig": "1.0.5",
126
+ "@vitest/browser-playwright": "4.0.12",
127
+ "@vitest/coverage-v8": "4.0.12",
128
+ "@vitest/ui": "4.0.12",
129
+ "colorjs.io": "0.6.1",
130
+ "http-server": "14.1.1",
131
+ "playwright": "1.56.1",
125
132
  "postcss": "8.4.49",
126
133
  "postcss-discard-duplicates": "7.0.2",
127
134
  "postcss-logical": "7.0.1",
128
- "rimraf": "5.0.10",
135
+ "rimraf": "6.0.1",
129
136
  "rollup": "4.18.1",
130
137
  "rollup-plugin-postcss": "4.0.2",
131
- "@utrecht/build-utils-css": "0.0.4"
138
+ "sass-embedded": "1.99.0",
139
+ "tslib": "2.8.1",
140
+ "typescript": "5.9.3",
141
+ "vite": "7.1.12",
142
+ "vitest": "4.0.12",
143
+ "@utrecht/build-utils-css": "0.0.4",
144
+ "@utrecht/design-tokens": "6.1.1",
145
+ "@utrecht/focus-ring-css": "4.0.0"
132
146
  },
133
147
  "main": "dist/index.css",
134
148
  "scripts": {
135
149
  "build": "rollup --config ./rollup.config.mjs",
136
- "clean": "rimraf dist"
150
+ "clean": "rimraf dist",
151
+ "dev": "vite",
152
+ "lint": "tsc --noEmit",
153
+ "start": "cp test-dist.html dist/index.html && http-server dist/",
154
+ "test-e2e": "vitest --coverage --config vitest.e2e.config.ts",
155
+ "ui": "vitest --coverage --config vitest.e2e.config.ts --ui"
137
156
  }
138
157
  }