@utrecht/component-library-css 9.0.8 → 9.0.10

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,14 @@
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
+ z-index: var(--utrecht-nav-bar-sticky-z-index, 1);
4281
+ }
4282
+
4269
4283
  .utrecht-nav-bar__heading {
4270
4284
  display: none;
4271
4285
  }
@@ -4791,12 +4805,19 @@
4791
4805
  }
4792
4806
  .utrecht-page-layout {
4793
4807
  align-items: flex-start;
4794
- block-size: 100%;
4808
+ box-sizing: border-box;
4795
4809
  display: flex;
4796
4810
  flex-direction: column;
4797
4811
  inline-size: 100%;
4798
4812
  justify-content: flex-start;
4799
4813
  }
4814
+
4815
+ .utrecht-page-layout--stretch {
4816
+ min-block-size: 100%;
4817
+ min-block-size: -moz-available;
4818
+ min-block-size: -webkit-fill-available;
4819
+ min-block-size: stretch;
4820
+ }
4800
4821
  .utrecht-page {
4801
4822
  margin-inline-end: auto;
4802
4823
  margin-inline-start: auto;
@@ -7313,7 +7334,8 @@
7313
7334
  -webkit-font-smoothing: auto !important;
7314
7335
  -moz-osx-font-smoothing: auto !important;
7315
7336
  background-color: var(--utrecht-root-background-color, Canvas);
7316
- block-size: 100%;
7337
+ border: 0;
7338
+ box-sizing: border-box;
7317
7339
  color: var(--utrecht-root-color, CanvasText);
7318
7340
  font-family: var(--utrecht-root-font-family);
7319
7341
  font-size-adjust: var(--utrecht-root-font-size-adjust, 0.5);
@@ -7323,14 +7345,16 @@
7323
7345
  -ms-hyphens: auto;
7324
7346
  hyphens: auto;
7325
7347
  inline-size: 100%;
7326
- overflow-block: auto;
7327
- overflow-inline: auto;
7348
+ margin: 0;
7349
+ min-block-size: 100%;
7328
7350
  overflow-wrap: break-word;
7351
+ padding: 0;
7329
7352
  position: relative;
7330
7353
  text-rendering: optimizeLegibility;
7331
7354
  -moz-text-size-adjust: none;
7332
7355
  -webkit-text-size-adjust: none;
7333
7356
  text-size-adjust: none;
7357
+ view-transition-name: root;
7334
7358
  }
7335
7359
  @media (prefers-reduced-motion: no-preference) {
7336
7360
  .utrecht-root {
@@ -7347,14 +7371,51 @@
7347
7371
  outline-width: var(--utrecht-focus-outline-width, revert);
7348
7372
  z-index: 1;
7349
7373
  }
7350
- :where(.utrecht-root) :where(:not(:root):fullscreen)::backdrop {
7374
+ :where(.utrecht-root) :where(:fullscreen)::backdrop {
7351
7375
  background-color: var(--utrecht-root-background-color, Canvas);
7352
7376
  }
7377
+ :where(.utrecht-root):lang(ar), :where(.utrecht-root) :lang(ar) {
7378
+ letter-spacing: 0;
7379
+ }
7380
+ :where(.utrecht-root):lang(nl), :where(.utrecht-root) :lang(nl) {
7381
+ -webkit-hyphenate-limit-after: 4;
7382
+ -webkit-hyphenate-limit-before: 8;
7383
+ hyphenate-limit-chars: 12 8 4;
7384
+ }
7385
+
7386
+ .utrecht-root:where(:root) {
7387
+ display: flex;
7388
+ flex-direction: column;
7389
+ container-name: root;
7390
+ container-type: size scroll-state;
7391
+ }
7392
+
7393
+ .utrecht-root:where(body) {
7394
+ margin: 0;
7395
+ }
7396
+ @media screen {
7397
+ .utrecht-root:where(body) {
7398
+ min-block-size: 100vh;
7399
+ min-block-size: 100vb;
7400
+ }
7401
+ }
7353
7402
  .utrecht-root:where(:root) > *,
7354
7403
  .utrecht-root:where(:not(:root)) {
7355
7404
  font-size: var(--utrecht-root-font-size, var(--utrecht-body-font-size));
7356
7405
  line-height: var(--utrecht-root-line-height, var(--utrecht-body-line-height));
7357
7406
  }
7407
+
7408
+ .utrecht-root:where(:root) > :where(body) {
7409
+ margin: 0;
7410
+ flex-grow: 1;
7411
+ }
7412
+
7413
+ .utrecht-root--scroll {
7414
+ container-name: root;
7415
+ container-type: size scroll-state;
7416
+ overflow-block: auto;
7417
+ overflow-inline: auto;
7418
+ }
7358
7419
  .utrecht-search-bar {
7359
7420
  --utrecht-button-border-color: var(--utrecht-search-bar-button-border-color);
7360
7421
  --utrecht-button-hover-scale: var(--utrecht-search-bar-hover-scale);
@@ -7610,12 +7671,15 @@
7610
7671
  border-style: solid;
7611
7672
  border-width: var(--_utrecht-spotlight-section-border-width, var(--utrecht-spotlight-section-border-width, 0));
7612
7673
  color: var(--_utrecht-spotlight-section-color, var(--utrecht-spotlight-section-color));
7674
+ display: flex;
7675
+ flex-direction: column;
7613
7676
  margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-spotlight-section-margin-block-end, 0));
7614
7677
  margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-spotlight-section-margin-block-start, 0));
7615
7678
  padding-block-end: var(--utrecht-spotlight-section-padding-block-end);
7616
7679
  padding-block-start: var(--utrecht-spotlight-section-padding-block-start);
7617
7680
  padding-inline-end: var(--utrecht-spotlight-section-padding-inline-end);
7618
7681
  padding-inline-start: var(--utrecht-spotlight-section-padding-inline-start);
7682
+ row-gap: var(--utrecht-spotlight-section-row-gap);
7619
7683
  }
7620
7684
 
7621
7685
  .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,14 @@
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
+ z-index: var(--utrecht-nav-bar-sticky-z-index, 1);
4143
+ }
4144
+
4131
4145
  .utrecht-nav-bar__heading {
4132
4146
  display: none;
4133
4147
  }
@@ -4649,12 +4663,19 @@
4649
4663
  }
4650
4664
  .utrecht-page-layout {
4651
4665
  align-items: flex-start;
4652
- height: 100%;
4666
+ box-sizing: border-box;
4653
4667
  display: flex;
4654
4668
  flex-direction: column;
4655
4669
  width: 100%;
4656
4670
  justify-content: flex-start;
4657
4671
  }
4672
+
4673
+ .utrecht-page-layout--stretch {
4674
+ min-height: 100%;
4675
+ min-height: -moz-available;
4676
+ min-height: -webkit-fill-available;
4677
+ min-height: stretch;
4678
+ }
4658
4679
  .utrecht-page {
4659
4680
  margin-right: auto;
4660
4681
  margin-left: auto;
@@ -7169,7 +7190,8 @@
7169
7190
  -webkit-font-smoothing: auto !important;
7170
7191
  -moz-osx-font-smoothing: auto !important;
7171
7192
  background-color: var(--utrecht-root-background-color, Canvas);
7172
- height: 100%;
7193
+ border: 0;
7194
+ box-sizing: border-box;
7173
7195
  color: var(--utrecht-root-color, CanvasText);
7174
7196
  font-family: var(--utrecht-root-font-family);
7175
7197
  font-size-adjust: var(--utrecht-root-font-size-adjust, 0.5);
@@ -7179,14 +7201,16 @@
7179
7201
  -ms-hyphens: auto;
7180
7202
  hyphens: auto;
7181
7203
  width: 100%;
7182
- overflow-block: auto;
7183
- overflow-inline: auto;
7204
+ margin: 0;
7205
+ min-height: 100%;
7184
7206
  overflow-wrap: break-word;
7207
+ padding: 0;
7185
7208
  position: relative;
7186
7209
  text-rendering: optimizeLegibility;
7187
7210
  -moz-text-size-adjust: none;
7188
7211
  -webkit-text-size-adjust: none;
7189
7212
  text-size-adjust: none;
7213
+ view-transition-name: root;
7190
7214
  }
7191
7215
  :where(.utrecht-root) :where([prince-xml-ignore-pseudo-class-focus-visible]) {
7192
7216
  --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
@@ -7198,14 +7222,51 @@
7198
7222
  outline-width: var(--utrecht-focus-outline-width, revert);
7199
7223
  z-index: 1;
7200
7224
  }
7201
- :where(.utrecht-root) :where(:not(:root):fullscreen)[prince-xml-ignore-pseudo-element-backdrop] {
7225
+ :where(.utrecht-root) :where(:fullscreen)[prince-xml-ignore-pseudo-element-backdrop] {
7202
7226
  background-color: var(--utrecht-root-background-color, Canvas);
7203
7227
  }
7228
+ :where(.utrecht-root):lang(ar), :where(.utrecht-root) :lang(ar) {
7229
+ letter-spacing: 0;
7230
+ }
7231
+ :where(.utrecht-root):lang(nl), :where(.utrecht-root) :lang(nl) {
7232
+ -webkit-hyphenate-limit-after: 4;
7233
+ -webkit-hyphenate-limit-before: 8;
7234
+ hyphenate-limit-chars: 12 8 4;
7235
+ }
7236
+
7237
+ .utrecht-root:where(:root) {
7238
+ display: flex;
7239
+ flex-direction: column;
7240
+ container-name: root;
7241
+ container-type: size scroll-state;
7242
+ }
7243
+
7244
+ .utrecht-root:where(body) {
7245
+ margin: 0;
7246
+ }
7247
+ @media screen {
7248
+ .utrecht-root:where(body) {
7249
+ min-height: 100vh;
7250
+ min-height: 100vb;
7251
+ }
7252
+ }
7204
7253
  .utrecht-root:where(:root) > *,
7205
7254
  .utrecht-root:where(:not(:root)) {
7206
7255
  font-size: var(--utrecht-root-font-size, var(--utrecht-body-font-size));
7207
7256
  line-height: var(--utrecht-root-line-height, var(--utrecht-body-line-height));
7208
7257
  }
7258
+
7259
+ .utrecht-root:where(:root) > :where(body) {
7260
+ margin: 0;
7261
+ flex-grow: 1;
7262
+ }
7263
+
7264
+ .utrecht-root--scroll {
7265
+ container-name: root;
7266
+ container-type: size scroll-state;
7267
+ overflow-block: auto;
7268
+ overflow-inline: auto;
7269
+ }
7209
7270
  .utrecht-search-bar {
7210
7271
  --utrecht-button-border-color: var(--utrecht-search-bar-button-border-color);
7211
7272
  --utrecht-button-hover-scale: var(--utrecht-search-bar-hover-scale);
@@ -7461,12 +7522,15 @@
7461
7522
  border-style: solid;
7462
7523
  border-width: var(--_utrecht-spotlight-section-border-width, var(--utrecht-spotlight-section-border-width, 0));
7463
7524
  color: var(--_utrecht-spotlight-section-color, var(--utrecht-spotlight-section-color));
7525
+ display: flex;
7526
+ flex-direction: column;
7464
7527
  margin-bottom: calc(var(--utrecht-space-around, 0) * var(--utrecht-spotlight-section-margin-block-end, 0));
7465
7528
  margin-top: calc(var(--utrecht-space-around, 0) * var(--utrecht-spotlight-section-margin-block-start, 0));
7466
7529
  padding-bottom: var(--utrecht-spotlight-section-padding-block-end);
7467
7530
  padding-top: var(--utrecht-spotlight-section-padding-block-start);
7468
7531
  padding-right: var(--utrecht-spotlight-section-padding-inline-end);
7469
7532
  padding-left: var(--utrecht-spotlight-section-padding-inline-start);
7533
+ row-gap: var(--utrecht-spotlight-section-row-gap);
7470
7534
  }
7471
7535
 
7472
7536
  .utrecht-spotlight-section--info {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "9.0.8",
2
+ "version": "9.0.10",
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
+ "@utrecht/currency-data-css": "3.0.0",
44
45
  "@utrecht/combobox-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/digid-button-css": "2.0.0",
50
- "@utrecht/document-css": "3.0.0",
51
49
  "@utrecht/data-placeholder-css": "3.0.0",
50
+ "@utrecht/document-css": "3.0.0",
51
+ "@utrecht/digid-button-css": "2.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",
56
- "@utrecht/form-field-description-css": "3.0.0",
57
- "@utrecht/form-field-error-message-css": "3.0.0",
55
+ "@utrecht/form-css": "3.0.0",
58
56
  "@utrecht/form-field-css": "3.0.0",
57
+ "@utrecht/form-field-description-css": "3.0.0",
59
58
  "@utrecht/form-fieldset-css": "3.0.0",
59
+ "@utrecht/form-field-error-message-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.2.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.1",
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.2.0",
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
  }