@utrecht/web-component-library-stencil 4.1.0 → 4.2.0
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/cjs/index-df3f0e01.js +10 -18
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utrecht-action-group_46.cjs.entry.js → utrecht-action-group_48.cjs.entry.js} +75 -44
- package/dist/cjs/utrecht-action-group_48.cjs.entry.js.map +1 -0
- package/dist/cjs/utrecht-body.cjs.entry.js +4 -4
- package/dist/cjs/utrecht-body.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-data-list-item.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-document.cjs.entry.js +22 -0
- package/dist/cjs/utrecht-document.cjs.entry.js.map +1 -0
- package/dist/cjs/utrecht-form-toggle.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-html-content.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-html-content.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-page-content.cjs.entry.js +22 -0
- package/dist/cjs/utrecht-page-content.cjs.entry.js.map +1 -0
- package/dist/cjs/utrecht-page.cjs.entry.js +22 -0
- package/dist/cjs/utrecht-page.cjs.entry.js.map +1 -0
- package/dist/cjs/utrecht-progress-list-item.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-progress-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-progress-list.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-progress-list.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-progress-sublist-item.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-progress-sublist-item.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-table-caption.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-caption.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-table-container.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-container.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-table-header.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-header.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-table-row.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-row.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht.cjs.js +1 -1
- package/dist/collection/components/alert.css +4 -0
- package/dist/collection/components/alert.js +3 -2
- package/dist/collection/components/alert.js.map +1 -1
- package/dist/collection/components/body.css +0 -4
- package/dist/collection/components/body.js +1 -1
- package/dist/collection/components/body.js.map +1 -1
- package/dist/collection/components/breadcrumb-nav.css +6 -0
- package/dist/collection/components/button-link.css +7 -1
- package/dist/collection/components/button.css +7 -1
- package/dist/collection/components/checkbox.css +6 -0
- package/dist/collection/components/contact-card-template.css +6 -0
- package/dist/collection/components/custom-checkbox.css +6 -0
- package/dist/collection/components/data-list-item.css +1 -1
- package/dist/collection/components/form-field-checkbox.css +6 -1
- package/dist/collection/components/form-field-textarea.css +6 -1
- package/dist/collection/components/form-field-textbox.css +6 -1
- package/dist/collection/components/form-toggle.css +10 -2
- package/dist/collection/components/heading-1.css +3 -3
- package/dist/collection/components/heading-2.css +3 -3
- package/dist/collection/components/heading-3.css +3 -3
- package/dist/collection/components/heading-4.css +3 -3
- package/dist/collection/components/heading-5.css +3 -3
- package/dist/collection/components/heading-6.css +3 -3
- package/dist/collection/components/heading.css +18 -18
- package/dist/collection/components/html-content.css +135 -26
- package/dist/collection/components/link-button.css +6 -0
- package/dist/collection/components/link.css +6 -0
- package/dist/collection/components/nav-bar.css +7 -0
- package/dist/collection/components/nav-bar.js +26 -1
- package/dist/collection/components/nav-bar.js.map +1 -1
- package/dist/collection/components/number-data.css +4 -0
- package/dist/collection/components/page-layout.css +1 -1
- package/dist/collection/components/pagination.css +6 -0
- package/dist/collection/components/progress-list.css +9 -4
- package/dist/collection/components/root.css +131 -8
- package/dist/collection/components/sidenav.css +6 -0
- package/dist/collection/components/skip-link.css +6 -0
- package/dist/collection/components/spotlight-section.css +3 -0
- package/dist/collection/components/table-caption.css +3 -3
- package/dist/collection/components/table-container.css +1 -3
- package/dist/collection/components/table-header.css +0 -1
- package/dist/collection/components/table-row.css +0 -1
- package/dist/collection/components/textarea.css +6 -0
- package/dist/collection/components/textbox.css +6 -0
- package/dist/collection/components/top-task-link.css +6 -0
- package/dist/collection/components/url-data.css +0 -1
- package/dist/components/p-145331fd.js +143 -0
- package/dist/components/{p-50d20687.js.map → p-145331fd.js.map} +1 -1
- package/dist/components/{p-6cc7a0ab.js → p-903009d4.js} +2 -2
- package/dist/components/{p-6cc7a0ab.js.map → p-903009d4.js.map} +1 -1
- package/dist/components/{p-8b0c8650.js → p-b99c32b3.js} +2 -2
- package/dist/components/{p-8b0c8650.js.map → p-b99c32b3.js.map} +1 -1
- package/dist/components/utrecht-alert.js +5 -3
- package/dist/components/utrecht-alert.js.map +1 -1
- package/dist/components/utrecht-body.js +4 -4
- package/dist/components/utrecht-body.js.map +1 -1
- package/dist/components/utrecht-button-link.js +1 -1
- package/dist/components/utrecht-button-link.js.map +1 -1
- package/dist/components/utrecht-button.js +1 -1
- package/dist/components/utrecht-contact-card-template.js +2 -2
- package/dist/components/utrecht-data-list-item.js +1 -1
- package/dist/components/utrecht-form-field-checkbox.js +1 -1
- package/dist/components/utrecht-form-field-checkbox.js.map +1 -1
- package/dist/components/utrecht-form-field-textarea.js +1 -1
- package/dist/components/utrecht-form-field-textarea.js.map +1 -1
- package/dist/components/utrecht-form-field-textbox.js +1 -1
- package/dist/components/utrecht-form-field-textbox.js.map +1 -1
- package/dist/components/utrecht-form-toggle.js +1 -1
- package/dist/components/utrecht-form-toggle.js.map +1 -1
- package/dist/components/utrecht-heading-1.js +1 -1
- package/dist/components/utrecht-heading-1.js.map +1 -1
- package/dist/components/utrecht-heading-2.js +1 -1
- package/dist/components/utrecht-heading-3.js +1 -1
- package/dist/components/utrecht-heading-4.js +1 -1
- package/dist/components/utrecht-heading-4.js.map +1 -1
- package/dist/components/utrecht-heading-5.js +1 -1
- package/dist/components/utrecht-heading-5.js.map +1 -1
- package/dist/components/utrecht-heading-6.js +1 -1
- package/dist/components/utrecht-heading-6.js.map +1 -1
- package/dist/components/utrecht-heading.js +1 -1
- package/dist/components/utrecht-heading.js.map +1 -1
- package/dist/components/utrecht-html-content.js +1 -1
- package/dist/components/utrecht-html-content.js.map +1 -1
- package/dist/components/utrecht-nav-bar.js +6 -3
- package/dist/components/utrecht-nav-bar.js.map +1 -1
- package/dist/components/utrecht-page-layout.js +1 -1
- package/dist/components/utrecht-page-layout.js.map +1 -1
- package/dist/components/utrecht-progress-list-item.js +2 -2
- package/dist/components/utrecht-progress-list-item.js.map +1 -1
- package/dist/components/utrecht-progress-list.js +1 -1
- package/dist/components/utrecht-progress-list.js.map +1 -1
- package/dist/components/utrecht-progress-sublist-item.js +1 -1
- package/dist/components/utrecht-progress-sublist-item.js.map +1 -1
- package/dist/components/utrecht-root.js +1 -1
- package/dist/components/utrecht-root.js.map +1 -1
- package/dist/components/utrecht-spotlight-section.js +1 -1
- package/dist/components/utrecht-spotlight-section.js.map +1 -1
- package/dist/components/utrecht-table-caption.js +1 -1
- package/dist/components/utrecht-table-caption.js.map +1 -1
- package/dist/components/utrecht-table-container.js +1 -1
- package/dist/components/utrecht-table-container.js.map +1 -1
- package/dist/components/utrecht-table-header.js +1 -1
- package/dist/components/utrecht-table-header.js.map +1 -1
- package/dist/components/utrecht-table-row.js +1 -1
- package/dist/components/utrecht-table-row.js.map +1 -1
- package/dist/components/utrecht-url-data.js +1 -1
- package/dist/components/utrecht-url-data.js.map +1 -1
- package/dist/esm/index-6be72d1f.js +10 -18
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utrecht-action-group_46.entry.js → utrecht-action-group_48.entry.js} +71 -42
- package/dist/esm/utrecht-action-group_48.entry.js.map +1 -0
- package/dist/esm/utrecht-body.entry.js +4 -4
- package/dist/esm/utrecht-body.entry.js.map +1 -1
- package/dist/esm/utrecht-data-list-item.entry.js +1 -1
- package/dist/esm/utrecht-document.entry.js +18 -0
- package/dist/esm/utrecht-document.entry.js.map +1 -0
- package/dist/esm/utrecht-form-toggle.entry.js +1 -1
- package/dist/esm/utrecht-form-toggle.entry.js.map +1 -1
- package/dist/esm/utrecht-html-content.entry.js +1 -1
- package/dist/esm/utrecht-html-content.entry.js.map +1 -1
- package/dist/esm/utrecht-page-content.entry.js +18 -0
- package/dist/esm/utrecht-page-content.entry.js.map +1 -0
- package/dist/esm/utrecht-page.entry.js +18 -0
- package/dist/esm/utrecht-page.entry.js.map +1 -0
- package/dist/esm/utrecht-progress-list-item.entry.js +1 -1
- package/dist/esm/utrecht-progress-list-item.entry.js.map +1 -1
- package/dist/esm/utrecht-progress-list.entry.js +1 -1
- package/dist/esm/utrecht-progress-list.entry.js.map +1 -1
- package/dist/esm/utrecht-progress-sublist-item.entry.js +1 -1
- package/dist/esm/utrecht-progress-sublist-item.entry.js.map +1 -1
- package/dist/esm/utrecht-table-caption.entry.js +1 -1
- package/dist/esm/utrecht-table-caption.entry.js.map +1 -1
- package/dist/esm/utrecht-table-container.entry.js +1 -1
- package/dist/esm/utrecht-table-container.entry.js.map +1 -1
- package/dist/esm/utrecht-table-header.entry.js +1 -1
- package/dist/esm/utrecht-table-header.entry.js.map +1 -1
- package/dist/esm/utrecht-table-row.entry.js +1 -1
- package/dist/esm/utrecht-table-row.entry.js.map +1 -1
- package/dist/esm/utrecht.js +1 -1
- package/dist/types/components/body.d.ts +1 -1
- package/dist/types/components/nav-bar.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/utrecht/p-017a87d7.entry.js +2 -0
- package/dist/utrecht/p-017a87d7.entry.js.map +1 -0
- package/dist/utrecht/p-0f1d450b.entry.js +2 -0
- package/dist/utrecht/p-0f1d450b.entry.js.map +1 -0
- package/dist/utrecht/p-111bc630.entry.js +2 -0
- package/dist/utrecht/{p-b78c917c.entry.js.map → p-111bc630.entry.js.map} +1 -1
- package/dist/utrecht/p-159b7585.entry.js +2 -0
- package/dist/utrecht/{p-82fddfe5.entry.js.map → p-159b7585.entry.js.map} +1 -1
- package/dist/utrecht/p-161ae02f.entry.js +2 -0
- package/dist/utrecht/{p-9bbd5241.entry.js.map → p-161ae02f.entry.js.map} +1 -1
- package/dist/utrecht/p-1c7451c7.entry.js +2 -0
- package/dist/utrecht/{p-9dd388f5.entry.js.map → p-1c7451c7.entry.js.map} +1 -1
- package/dist/utrecht/p-39f7b42b.entry.js +2 -0
- package/dist/utrecht/p-39f7b42b.entry.js.map +1 -0
- package/dist/utrecht/p-54afb1bf.entry.js +2 -0
- package/dist/utrecht/{p-8061ad92.entry.js.map → p-54afb1bf.entry.js.map} +1 -1
- package/dist/utrecht/{p-a2f05439.entry.js → p-867b57d2.entry.js} +2 -2
- package/dist/utrecht/{p-a2f05439.entry.js.map → p-867b57d2.entry.js.map} +1 -1
- package/dist/utrecht/p-8be41005.entry.js +2 -0
- package/dist/utrecht/p-8be41005.entry.js.map +1 -0
- package/dist/utrecht/p-b06b325e.entry.js +2 -0
- package/dist/utrecht/{p-fc013486.entry.js.map → p-b06b325e.entry.js.map} +1 -1
- package/dist/utrecht/{p-57bd3d72.entry.js → p-d5053155.entry.js} +2 -2
- package/dist/utrecht/p-e26c28d0.entry.js +2 -0
- package/dist/utrecht/{p-c68c6594.entry.js.map → p-e26c28d0.entry.js.map} +1 -1
- package/dist/utrecht/p-e2d5f0a5.entry.js +2 -0
- package/dist/utrecht/{p-e31537c7.entry.js.map → p-e2d5f0a5.entry.js.map} +1 -1
- package/dist/utrecht/p-edc6473f.entry.js +2 -0
- package/dist/utrecht/p-edc6473f.entry.js.map +1 -0
- package/dist/utrecht/utrecht.esm.js +1 -1
- package/dist/utrecht/utrecht.esm.js.map +1 -1
- package/package.json +86 -86
- package/dist/cjs/utrecht-action-group_46.cjs.entry.js.map +0 -1
- package/dist/cjs/utrecht-nav-bar.cjs.entry.js +0 -22
- package/dist/cjs/utrecht-nav-bar.cjs.entry.js.map +0 -1
- package/dist/cjs/utrecht-page-body.cjs.entry.js +0 -22
- package/dist/cjs/utrecht-page-body.cjs.entry.js.map +0 -1
- package/dist/cjs/utrecht-page-footer.cjs.entry.js +0 -22
- package/dist/cjs/utrecht-page-footer.cjs.entry.js.map +0 -1
- package/dist/cjs/utrecht-page-layout.cjs.entry.js +0 -22
- package/dist/cjs/utrecht-page-layout.cjs.entry.js.map +0 -1
- package/dist/cjs/utrecht-root.cjs.entry.js +0 -22
- package/dist/cjs/utrecht-root.cjs.entry.js.map +0 -1
- package/dist/components/p-50d20687.js +0 -143
- package/dist/esm/utrecht-action-group_46.entry.js.map +0 -1
- package/dist/esm/utrecht-nav-bar.entry.js +0 -18
- package/dist/esm/utrecht-nav-bar.entry.js.map +0 -1
- package/dist/esm/utrecht-page-body.entry.js +0 -18
- package/dist/esm/utrecht-page-body.entry.js.map +0 -1
- package/dist/esm/utrecht-page-footer.entry.js +0 -18
- package/dist/esm/utrecht-page-footer.entry.js.map +0 -1
- package/dist/esm/utrecht-page-layout.entry.js +0 -18
- package/dist/esm/utrecht-page-layout.entry.js.map +0 -1
- package/dist/esm/utrecht-root.entry.js +0 -18
- package/dist/esm/utrecht-root.entry.js.map +0 -1
- package/dist/utrecht/p-2af9fcf9.entry.js +0 -2
- package/dist/utrecht/p-2af9fcf9.entry.js.map +0 -1
- package/dist/utrecht/p-510d3f77.entry.js +0 -2
- package/dist/utrecht/p-510d3f77.entry.js.map +0 -1
- package/dist/utrecht/p-5a2b91cf.entry.js +0 -2
- package/dist/utrecht/p-5a2b91cf.entry.js.map +0 -1
- package/dist/utrecht/p-8061ad92.entry.js +0 -2
- package/dist/utrecht/p-82fddfe5.entry.js +0 -2
- package/dist/utrecht/p-9bbd5241.entry.js +0 -2
- package/dist/utrecht/p-9dd388f5.entry.js +0 -2
- package/dist/utrecht/p-aee3361b.entry.js +0 -2
- package/dist/utrecht/p-aee3361b.entry.js.map +0 -1
- package/dist/utrecht/p-b3dbf1ca.entry.js +0 -2
- package/dist/utrecht/p-b3dbf1ca.entry.js.map +0 -1
- package/dist/utrecht/p-b78c917c.entry.js +0 -2
- package/dist/utrecht/p-c68c6594.entry.js +0 -2
- package/dist/utrecht/p-e04057c0.entry.js +0 -2
- package/dist/utrecht/p-e04057c0.entry.js.map +0 -1
- package/dist/utrecht/p-e31537c7.entry.js +0 -2
- package/dist/utrecht/p-f9f49c15.entry.js +0 -2
- package/dist/utrecht/p-f9f49c15.entry.js.map +0 -1
- package/dist/utrecht/p-fc013486.entry.js +0 -2
- /package/dist/utrecht/{p-57bd3d72.entry.js.map → p-d5053155.entry.js.map} +0 -0
|
@@ -25,6 +25,12 @@
|
|
|
25
25
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
26
26
|
*/
|
|
27
27
|
/* stylelint-disable-next-line block-no-empty */
|
|
28
|
+
/* Override the browser focus ring with our own focus ring.
|
|
29
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
30
|
+
*/
|
|
31
|
+
/* Override the browser focus ring with our own focus ring.
|
|
32
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
33
|
+
*/
|
|
28
34
|
/*
|
|
29
35
|
|
|
30
36
|
# CSS implementation
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
16
16
|
*/
|
|
17
17
|
/* stylelint-disable-next-line block-no-empty */
|
|
18
|
+
/* Override the browser focus ring with our own focus ring.
|
|
19
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
20
|
+
*/
|
|
21
|
+
/* Override the browser focus ring with our own focus ring.
|
|
22
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
23
|
+
*/
|
|
18
24
|
/**
|
|
19
25
|
* @license EUPL-1.2
|
|
20
26
|
* Copyright (c) 2020-2024 Frameless B.V.
|
|
@@ -35,4 +35,11 @@ div {
|
|
|
35
35
|
|
|
36
36
|
:host([hidden]) {
|
|
37
37
|
display: none !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host([sticky]) {
|
|
41
|
+
background-color: var(--utrecht-nav-bar-background-color, Canvas);
|
|
42
|
+
color: var(--utrecht-nav-bar-color, CanvasText);
|
|
43
|
+
inset-block-start: 0;
|
|
44
|
+
position: sticky;
|
|
38
45
|
}
|
|
@@ -5,8 +5,11 @@ import { h } from "@stencil/core";
|
|
|
5
5
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
6
6
|
*/
|
|
7
7
|
export class NavBar {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.sticky = false;
|
|
10
|
+
}
|
|
8
11
|
render() {
|
|
9
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: '77525d5333f5b21f82d6fe12c05e8aa3d7630d4c' }, h("slot", { key: '0eee79b3ce4c2a7b786b55aa7dbbb6fb0687e915' })));
|
|
10
13
|
}
|
|
11
14
|
static get is() { return "utrecht-nav-bar"; }
|
|
12
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -20,5 +23,27 @@ export class NavBar {
|
|
|
20
23
|
"$": ["nav-bar.css"]
|
|
21
24
|
};
|
|
22
25
|
}
|
|
26
|
+
static get properties() {
|
|
27
|
+
return {
|
|
28
|
+
"sticky": {
|
|
29
|
+
"type": "boolean",
|
|
30
|
+
"mutable": false,
|
|
31
|
+
"complexType": {
|
|
32
|
+
"original": "boolean",
|
|
33
|
+
"resolved": "boolean",
|
|
34
|
+
"references": {}
|
|
35
|
+
},
|
|
36
|
+
"required": false,
|
|
37
|
+
"optional": false,
|
|
38
|
+
"docs": {
|
|
39
|
+
"tags": [],
|
|
40
|
+
"text": ""
|
|
41
|
+
},
|
|
42
|
+
"attribute": "sticky",
|
|
43
|
+
"reflect": false,
|
|
44
|
+
"defaultValue": "false"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
23
48
|
}
|
|
24
49
|
//# sourceMappingURL=nav-bar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nav-bar.js","sourceRoot":"","sources":["../../src/components/nav-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"nav-bar.js","sourceRoot":"","sources":["../../src/components/nav-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;GAIG;AAOH,MAAM,OAAO,MAAM;;sBACS,KAAK;;IAE/B,MAAM;QACJ,OAAO,CACL;YACE,8DAAa,CACT,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @license EUPL-1.2\n * Copyright (c) 2020-2024 Frameless B.V.\n * Copyright (c) 2021-2024 Gemeente Utrecht\n */\n\n@Component({\n tag: 'utrecht-nav-bar',\n styleUrl: 'nav-bar.scss',\n shadow: true,\n})\nexport class NavBar {\n @Prop() sticky: boolean = false;\n\n render() {\n return (\n <div>\n <slot></slot>\n </div>\n );\n }\n}\n"]}
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
* Copyright (c) 2020-2024 Frameless B.V.
|
|
9
9
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
10
10
|
*/
|
|
11
|
+
/**
|
|
12
|
+
* Source:
|
|
13
|
+
* https://github.com/nl-design-system/candidate/blob/a0246970175883a874aacc9431a1596c429e6319/packages/components-css/number-badge-css/src/_mixin.scss#L5-L16
|
|
14
|
+
*/
|
|
11
15
|
:host {
|
|
12
16
|
display: inline;
|
|
13
17
|
font-variant-numeric: lining-nums tabular-nums;
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
15
15
|
*/
|
|
16
16
|
/* stylelint-disable-next-line block-no-empty */
|
|
17
|
+
/* Override the browser focus ring with our own focus ring.
|
|
18
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
19
|
+
*/
|
|
20
|
+
/* Override the browser focus ring with our own focus ring.
|
|
21
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
22
|
+
*/
|
|
17
23
|
/**
|
|
18
24
|
* @license EUPL-1.2
|
|
19
25
|
* Copyright (c) 2020-2024 Frameless B.V.
|
|
@@ -31,6 +31,9 @@
|
|
|
31
31
|
align-items: var(--denhaag-process-steps-step-header-align-items);
|
|
32
32
|
gap: 16px;
|
|
33
33
|
}
|
|
34
|
+
.denhaag-process-steps__step-header--nested {
|
|
35
|
+
gap: 24px;
|
|
36
|
+
}
|
|
34
37
|
|
|
35
38
|
.denhaag-process-steps__step-header-toggle {
|
|
36
39
|
--utrecht-button-subtle-font-size: inherit;
|
|
@@ -119,12 +122,14 @@
|
|
|
119
122
|
color: var(--denhaag-process-steps-step-meta-date-color, var(--denhaag-process-steps-step-meta-color));
|
|
120
123
|
}
|
|
121
124
|
|
|
125
|
+
.denhaag-process-steps__step-meta--nested {
|
|
126
|
+
font-size: var(--denhaag-process-steps-step-meta-nested-font-size, var(--denhaag-process-steps-step-meta-font-size));
|
|
127
|
+
margin-block-start: var(--denhaag-process-steps-step-meta-nested-margin-block-start);
|
|
128
|
+
margin-inline-start: 48px;
|
|
129
|
+
}
|
|
130
|
+
|
|
122
131
|
.denhaag-process-steps__sub-step {
|
|
123
132
|
position: relative;
|
|
124
|
-
align-items: baseline;
|
|
125
|
-
display: flex;
|
|
126
|
-
flex-direction: row;
|
|
127
|
-
gap: 23px;
|
|
128
133
|
margin-block-start: var(--denhaag-process-steps-sub-step-distance);
|
|
129
134
|
}
|
|
130
135
|
|
|
@@ -8,10 +8,54 @@
|
|
|
8
8
|
* Copyright (c) 2020-2024 Frameless B.V.
|
|
9
9
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
10
10
|
*/
|
|
11
|
+
/**
|
|
12
|
+
* @license EUPL-1.2
|
|
13
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
14
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
15
|
+
*/
|
|
16
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
17
|
+
/* Override the browser focus ring with our own focus ring.
|
|
18
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
19
|
+
*/
|
|
20
|
+
/* Override the browser focus ring with our own focus ring.
|
|
21
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* Only use this on Root components with an explicit height, that is not calculated based on its children.
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Use this mixin for `<html class="utrecht-root">`.
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Use this mixin for `<body class="utrecht-root">`.
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* The focus indicator should be applied to all elements that have the `:focus-visible` state.
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* Avoid setting `font-size` on `:root` if you want to keep `1rem` at `16px` for most users.
|
|
37
|
+
* Set `line-height` on the same element as `font-size`, to support font-relative line heights,
|
|
38
|
+
* even though they are discouraged.
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* Ensure enough contrast with `var(--utrecht-root-color)`, by overriding the
|
|
42
|
+
* browser black default background color of full screen elements.
|
|
43
|
+
*
|
|
44
|
+
* You can test this by opening any element inside the Root component with the
|
|
45
|
+
* following JavaScript, for example the Heading 1:
|
|
46
|
+
*
|
|
47
|
+
* document.querySelector('h1').requestFullscreen()
|
|
48
|
+
*
|
|
49
|
+
* In dark mode there might be enough contrast, but dark text on a black background
|
|
50
|
+
* would become unreadable in full screen.
|
|
51
|
+
*
|
|
52
|
+
* Use `:where()` so this background color can be overriden by a CSS selector
|
|
53
|
+
* with a higher specificity than (0,0,1).
|
|
54
|
+
*/
|
|
11
55
|
:host {
|
|
12
56
|
/*
|
|
13
57
|
* Goals:
|
|
14
|
-
*
|
|
58
|
+
*
|
|
15
59
|
* - take up 100% of the space, both horizontally and vertically.
|
|
16
60
|
* - create a scrollable viewport experience both on `<html>` in the root,
|
|
17
61
|
* as well as on a `<div>` somewhere in a document.
|
|
@@ -20,27 +64,106 @@
|
|
|
20
64
|
* outside the normal document flow (`absolute`, `fixed` and `sticky`)
|
|
21
65
|
* are positioned relative to the root component.
|
|
22
66
|
* - ensure text content fits at 400% zoom by enabling hypenation.
|
|
67
|
+
* - do not influence the `rem` unit by avoiding `font-size` on the root element.
|
|
68
|
+
* - reset `body` element styles for `margin`
|
|
69
|
+
* - reset `dialog` element styles for `border`, `margin` and `padding`
|
|
23
70
|
*/
|
|
24
|
-
/*
|
|
71
|
+
/* Prevent a less accessible page with lower text contrast, because other CSS is downgrading from `subpixel-antialiased` to `antialiased`.
|
|
72
|
+
* Reset `font-smoothing: antialiasing` to `auto`, and prefer automatic (`subpixel-antialiasing`) behavior for high-dpi screens. */
|
|
25
73
|
-webkit-font-smoothing: auto !important;
|
|
26
74
|
-moz-osx-font-smoothing: auto !important;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
75
|
+
/* For some new properties, temporarily provide the `utrecht.body.*` design tokens as fallback for backwards compatibility. */
|
|
76
|
+
/**
|
|
77
|
+
* When the Root component is positioned above another content,
|
|
78
|
+
* the text must remain legible. Avoid a transparent background,
|
|
79
|
+
* causing underlying content to interfere with contents of Root.
|
|
80
|
+
*
|
|
81
|
+
* When no `background-color` design token is specified, fallback
|
|
82
|
+
* to the system `Canvas` color.
|
|
83
|
+
*/
|
|
84
|
+
background-color: var(--utrecht-root-background-color, Canvas);
|
|
85
|
+
/* Avoid `border` on a `dialog` element. */
|
|
86
|
+
border: 0;
|
|
87
|
+
/*
|
|
88
|
+
* Avoid overflowing scroll container because of a `border` or `padding`,
|
|
89
|
+
* by configuring `box-sizing: border-box`.
|
|
90
|
+
*/
|
|
91
|
+
box-sizing: border-box;
|
|
92
|
+
/**
|
|
93
|
+
* Prevent there is insufficient color contrast for text, when no design tokens
|
|
94
|
+
* for `color` and `background-color` are specified. In that case use
|
|
95
|
+
* the system default colors `Canvas` and `CanvasText`.
|
|
96
|
+
*/
|
|
97
|
+
color: var(--utrecht-root-color, CanvasText);
|
|
30
98
|
font-family: var(--utrecht-root-font-family);
|
|
99
|
+
font-size-adjust: var(--utrecht-root-font-size-adjust, 0.5);
|
|
100
|
+
font-weight: var(--utrecht-root-font-weight, var(--utrecht-body-font-weight));
|
|
101
|
+
/* Avoid changing the meaning of text by adding word-breaks without hyphenation,
|
|
102
|
+
* in languages where this is appropriate. Browsers will hyphenate based on the language of the text
|
|
103
|
+
* as specified in the `lang` HTML-attribute.
|
|
104
|
+
*/
|
|
31
105
|
-webkit-hyphens: auto;
|
|
32
106
|
-moz-hyphens: auto;
|
|
33
107
|
-ms-hyphens: auto;
|
|
34
108
|
hyphens: auto;
|
|
35
109
|
inline-size: 100%;
|
|
36
|
-
|
|
37
|
-
|
|
110
|
+
/* Avoid `margin` on the `body` and `dialog` element. */
|
|
111
|
+
/* stylelint-disable-next-line property-disallowed-list */
|
|
112
|
+
margin: 0;
|
|
113
|
+
min-block-size: 100%;
|
|
114
|
+
overflow-wrap: break-word;
|
|
115
|
+
/* Avoid `padding` on the `dialog` element. */
|
|
116
|
+
/* stylelint-disable-next-line property-disallowed-list */
|
|
117
|
+
padding: 0;
|
|
118
|
+
/* Position fixed and sticky elements relative to the Root component,
|
|
119
|
+
* such as the Skip Link or a Sticky Navigation Bar.
|
|
120
|
+
*
|
|
121
|
+
* While the `html` element supports this out-of-the-box,
|
|
122
|
+
* adding `position: relative` adds support for elements such as `div` and `dialog`.
|
|
123
|
+
*/
|
|
38
124
|
position: relative;
|
|
125
|
+
/* Prefer legibility over rendering speed, for all font-sizes.
|
|
126
|
+
*
|
|
127
|
+
* When user tests and metrics indicate slow performance, we should reconsider this choice.
|
|
128
|
+
*
|
|
129
|
+
* For specific parts of the page that require high performance, this setting should
|
|
130
|
+
* be disabled locally using `text-rendering: auto`.
|
|
131
|
+
*
|
|
132
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-rendering
|
|
133
|
+
*/
|
|
39
134
|
text-rendering: optimizeLegibility;
|
|
135
|
+
/* Ensure the font-size is rendered predictably on mobile screens,
|
|
136
|
+
* by disabling the `text-size-adjust` text inflation algorithm.
|
|
137
|
+
*
|
|
138
|
+
* The responsibility now shifts to configuring the design tokens with
|
|
139
|
+
* sufficiently large font-sizes.
|
|
140
|
+
*
|
|
141
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-size-adjust
|
|
142
|
+
*/
|
|
40
143
|
-moz-text-size-adjust: none;
|
|
41
144
|
-webkit-text-size-adjust: none;
|
|
42
145
|
text-size-adjust: none;
|
|
43
|
-
|
|
146
|
+
/* Provide a built-in name for page transitions. */
|
|
147
|
+
view-transition-name: root;
|
|
148
|
+
}
|
|
149
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
150
|
+
:host {
|
|
151
|
+
/* Provide a better user experience for keyboard users, by enabling smooth scrolling.
|
|
152
|
+
* With smooth scrolling it is easier to track where the next focusable item is in relation
|
|
153
|
+
* to the previous position.
|
|
154
|
+
*
|
|
155
|
+
* Avoid this extra motion for users with specific motion preferences, by only enabling this feature
|
|
156
|
+
* when no preference is specified.
|
|
157
|
+
*
|
|
158
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/scroll-behavior
|
|
159
|
+
*/
|
|
160
|
+
scroll-behavior: smooth;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
:host {
|
|
164
|
+
/* For some new properties, temporarily provide the `utrecht.body.*` design tokens as fallback for backwards compatibility. */
|
|
165
|
+
font-size: var(--utrecht-root-font-size, var(--utrecht-body-font-size));
|
|
166
|
+
line-height: var(--utrecht-root-line-height, var(--utrecht-body-line-height));
|
|
44
167
|
}
|
|
45
168
|
|
|
46
169
|
:host([hidden]) {
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
15
15
|
*/
|
|
16
16
|
/* stylelint-disable-next-line block-no-empty */
|
|
17
|
+
/* Override the browser focus ring with our own focus ring.
|
|
18
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
19
|
+
*/
|
|
20
|
+
/* Override the browser focus ring with our own focus ring.
|
|
21
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
22
|
+
*/
|
|
17
23
|
.utrecht-sidenav {
|
|
18
24
|
--utrecht-sidenav-connection-color: var(--utrecht-sidenav-item-marker-color);
|
|
19
25
|
--utrecht-sidenav-connection-inline-size: 2px;
|
|
@@ -19,6 +19,12 @@
|
|
|
19
19
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
20
20
|
*/
|
|
21
21
|
/* stylelint-disable-next-line block-no-empty */
|
|
22
|
+
/* Override the browser focus ring with our own focus ring.
|
|
23
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
24
|
+
*/
|
|
25
|
+
/* Override the browser focus ring with our own focus ring.
|
|
26
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
27
|
+
*/
|
|
22
28
|
/* stylelint-disable-next-line block-no-empty */
|
|
23
29
|
.utrecht-skip-link {
|
|
24
30
|
/* Use `ButtonFace` as default `background-color`
|
|
@@ -20,12 +20,15 @@
|
|
|
20
20
|
border-style: solid;
|
|
21
21
|
border-width: var(--_utrecht-spotlight-section-border-width, var(--utrecht-spotlight-section-border-width, 0));
|
|
22
22
|
color: var(--_utrecht-spotlight-section-color, var(--utrecht-spotlight-section-color));
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
23
25
|
margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-spotlight-section-margin-block-end, 0));
|
|
24
26
|
margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-spotlight-section-margin-block-start, 0));
|
|
25
27
|
padding-block-end: var(--utrecht-spotlight-section-padding-block-end);
|
|
26
28
|
padding-block-start: var(--utrecht-spotlight-section-padding-block-start);
|
|
27
29
|
padding-inline-end: var(--utrecht-spotlight-section-padding-inline-end);
|
|
28
30
|
padding-inline-start: var(--utrecht-spotlight-section-padding-inline-start);
|
|
31
|
+
row-gap: var(--utrecht-spotlight-section-row-gap);
|
|
29
32
|
}
|
|
30
33
|
|
|
31
34
|
.utrecht-spotlight-section--info {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
/* stylelint-disable-next-line block-no-empty */
|
|
12
12
|
/* stylelint-disable-next-line block-no-empty */
|
|
13
13
|
:host {
|
|
14
|
+
break-after: avoid;
|
|
14
15
|
break-inside: avoid;
|
|
15
16
|
color: var(--utrecht-table-caption-color);
|
|
16
17
|
font-family: var(--utrecht-table-caption-font-family);
|
|
@@ -18,9 +19,8 @@
|
|
|
18
19
|
font-weight: var(--utrecht-table-caption-font-weight);
|
|
19
20
|
line-height: var(--utrecht-table-caption-line-height);
|
|
20
21
|
margin-block-end: var(--utrecht-table-caption-margin-block-end);
|
|
21
|
-
page-break-after: avoid;
|
|
22
22
|
text-align: var(--utrecht-table-caption-text-align, center);
|
|
23
|
+
break-after: avoid;
|
|
24
|
+
break-inside: avoid;
|
|
23
25
|
display: table-caption;
|
|
24
|
-
page-break-after: avoid;
|
|
25
|
-
page-break-inside: avoid;
|
|
26
26
|
}
|
|
@@ -21,6 +21,7 @@ utrecht-table-container {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
utrecht-table-container table > caption {
|
|
24
|
+
break-after: avoid;
|
|
24
25
|
break-inside: avoid;
|
|
25
26
|
color: var(--utrecht-table-caption-color);
|
|
26
27
|
font-family: var(--utrecht-table-caption-font-family);
|
|
@@ -28,7 +29,6 @@ utrecht-table-container table > caption {
|
|
|
28
29
|
font-weight: var(--utrecht-table-caption-font-weight);
|
|
29
30
|
line-height: var(--utrecht-table-caption-line-height);
|
|
30
31
|
margin-block-end: var(--utrecht-table-caption-margin-block-end);
|
|
31
|
-
page-break-after: avoid;
|
|
32
32
|
text-align: var(--utrecht-table-caption-text-align, center);
|
|
33
33
|
}
|
|
34
34
|
utrecht-table-container table > thead {
|
|
@@ -38,7 +38,6 @@ utrecht-table-container table > thead {
|
|
|
38
38
|
break-inside: avoid;
|
|
39
39
|
color: var(--utrecht-table-header-color);
|
|
40
40
|
font-weight: var(--utrecht-table-header-font-weight);
|
|
41
|
-
page-break-inside: avoid;
|
|
42
41
|
text-transform: var(--utrecht-table-header-text-transform);
|
|
43
42
|
}
|
|
44
43
|
utrecht-table-container table > tbody {
|
|
@@ -46,7 +45,6 @@ utrecht-table-container table > tbody {
|
|
|
46
45
|
}
|
|
47
46
|
utrecht-table-container table > tr, utrecht-table-container table > thead > tr, utrecht-table-container table > tbody > tr, utrecht-table-container table > tfoot > tr {
|
|
48
47
|
break-inside: avoid;
|
|
49
|
-
page-break-inside: avoid;
|
|
50
48
|
}
|
|
51
49
|
utrecht-table-container table > thead > tr:last-of-type {
|
|
52
50
|
border-block-end-color: var(--utrecht-table-header-border-block-end-color, transparent);
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
15
15
|
*/
|
|
16
16
|
/* stylelint-disable-next-line block-no-empty */
|
|
17
|
+
/* Override the browser focus ring with our own focus ring.
|
|
18
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
19
|
+
*/
|
|
20
|
+
/* Override the browser focus ring with our own focus ring.
|
|
21
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
22
|
+
*/
|
|
17
23
|
/**
|
|
18
24
|
* @license EUPL-1.2
|
|
19
25
|
* Copyright (c) 2020-2024 Frameless B.V.
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
15
15
|
*/
|
|
16
16
|
/* stylelint-disable-next-line block-no-empty */
|
|
17
|
+
/* Override the browser focus ring with our own focus ring.
|
|
18
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
19
|
+
*/
|
|
20
|
+
/* Override the browser focus ring with our own focus ring.
|
|
21
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
22
|
+
*/
|
|
17
23
|
/**
|
|
18
24
|
* @license EUPL-1.2
|
|
19
25
|
* Copyright (c) 2020-2024 Frameless B.V.
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
15
15
|
*/
|
|
16
16
|
/* stylelint-disable-next-line block-no-empty */
|
|
17
|
+
/* Override the browser focus ring with our own focus ring.
|
|
18
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
19
|
+
*/
|
|
20
|
+
/* Override the browser focus ring with our own focus ring.
|
|
21
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
22
|
+
*/
|
|
17
23
|
.utrecht-toptask-link {
|
|
18
24
|
--utrecht-icon-color: currentColor;
|
|
19
25
|
--utrecht-icon-size: var(--utrecht-toptask-link-icon-size);
|