dso-toolkit 62.25.0 → 62.27.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/CHANGELOG.md +30 -0
- package/dist/dso.css +1606 -1442
- package/dist/dso.css.map +1 -1
- package/dist/dso.min.css +1 -1
- package/dist/dso.min.css.map +1 -1
- package/dist/index.js +9 -9
- package/package.json +4 -4
- package/src/components/accordion/accordion-theme-compact.scss +18 -18
- package/src/components/accordion/accordion-theme-default.scss +2 -2
- package/src/components/accordion/accordion.scss +48 -34
- package/src/components/accordion/accordion.variables.scss +4 -4
- package/src/components/action-list/action-list.scss +9 -5
- package/src/components/action-list/action-list.variables.scss +1 -1
- package/src/components/action-list/components/action-list-item.variables.scss +1 -1
- package/src/components/advanced-select/advanced-select.variables.scss +4 -4
- package/src/components/alert/alert.mixins.scss +46 -18
- package/src/components/alert/alert.scss +25 -6
- package/src/components/alert/alert.variables.scss +8 -8
- package/src/components/anchor/anchor.variables.scss +1 -1
- package/src/components/application-heading/application-heading.mixins.scss +5 -5
- package/src/components/badge/badge.mixins.scss +3 -2
- package/src/components/banner/banner.mixins.scss +13 -11
- package/src/components/banner/banner.scss +10 -10
- package/src/components/banner/banner.variables.scss +2 -2
- package/src/components/blockquote/blockquote.scss +4 -3
- package/src/components/body/body.scss +1 -1
- package/src/components/breadcrumbs/breadcrumbs.mixins.scss +9 -7
- package/src/components/button/button.mixins.scss +47 -44
- package/src/components/button/button.scss +2 -2
- package/src/components/button/button.variables.scss +4 -4
- package/src/components/button-row/button-row.scss +1 -1
- package/src/components/card/card.mixins.scss +6 -5
- package/src/components/card/card.scss +15 -15
- package/src/components/card-container/card-container.scss +1 -1
- package/src/components/card-list/card-list.scss +3 -3
- package/src/components/code/code.scss +2 -1
- package/src/components/context/context.scss +10 -10
- package/src/components/definition-list/definition-list.scss +47 -47
- package/src/components/definition-list/definition-list.variables.scss +3 -3
- package/src/components/description/description.mixins.scss +20 -18
- package/src/components/document-component/document-component.scss +6 -6
- package/src/components/document-component-list/document-component-list.scss +1 -1
- package/src/components/document-header/document-header.scss +36 -32
- package/src/components/document-list/document-list.scss +14 -11
- package/src/components/dropdown-menu/dropdown-menu.mixins.scss +14 -11
- package/src/components/dropdown-menu/dropdown-menu.scss +13 -12
- package/src/components/dropdown-menu/dropdown-menu.variables.scss +1 -1
- package/src/components/field-label/field-label.scss +2 -2
- package/src/components/footer/footer.scss +8 -8
- package/src/components/footnotes/footnotes.mixins.scss +2 -2
- package/src/components/form/fieldset.scss +10 -10
- package/src/components/form/form-buttons/form-buttons.scss +5 -5
- package/src/components/form/form-group.scss +35 -33
- package/src/components/form/form-groups/checkboxes/form-group-checkboxes.scss +1 -1
- package/src/components/form/form-groups/confirm/form-group-confirm.scss +2 -2
- package/src/components/form/form-groups/files/form-group-files.scss +18 -13
- package/src/components/form/form-groups/input-number/form-group-input-number.scss +1 -1
- package/src/components/form/form-groups/radios/form-group-radios.scss +2 -2
- package/src/components/form/form-groups/search-bar/form-group-search-bar.scss +3 -3
- package/src/components/form/form-groups/select/form-group-select.scss +1 -1
- package/src/components/form/form-groups/static/form-group-static.scss +10 -10
- package/src/components/form/form-groups/textarea/form-group-textarea.scss +5 -5
- package/src/components/form/form-horizontal.scss +2 -2
- package/src/components/form/form.variables.scss +1 -1
- package/src/components/form-control/form-control.mixins.scss +6 -5
- package/src/components/form-control/form-control.variables.scss +1 -1
- package/src/components/grid/grid.mixins.scss +28 -28
- package/src/components/grid/grid.scss +21 -21
- package/src/components/header/header.scss +3 -3
- package/src/components/headings/headings.mixins.scss +2 -2
- package/src/components/highlight-box/highlight-box.mixins.scss +10 -10
- package/src/components/highlight-box/highlight-box.variables.scss +1 -1
- package/src/components/horizontal-rule/horizontal-rule.scss +4 -4
- package/src/components/icon/icon.scss +2 -2
- package/src/components/image/image.mixins.scss +2 -2
- package/src/components/info/info.mixins.scss +8 -6
- package/src/components/info-button/info-button.mixins.scss +1 -1
- package/src/components/input/input.scss +3 -2
- package/src/components/input-number/input-number.mixins.scss +3 -3
- package/src/components/justify-form-groups/justify-form-groups.scss +7 -7
- package/src/components/label/label.mixins.scss +10 -8
- package/src/components/label/label.scss +4 -4
- package/src/components/label/label.variables.scss +1 -1
- package/src/components/label-group/label-group.mixins.scss +4 -4
- package/src/components/legend-item/legend-item.scss +4 -1
- package/src/components/legend-item/legend-item.variables.scss +3 -3
- package/src/components/link-list/link-list.mixins.scss +4 -4
- package/src/components/link-list/link-list.scss +1 -1
- package/src/components/list/list.mixins.scss +1 -1
- package/src/components/list/list.scss +23 -22
- package/src/components/list-button/list-button.mixins.scss +16 -14
- package/src/components/list-button/list-button.scss +4 -3
- package/src/components/map-controls/map-controls.scss +1 -1
- package/src/components/modal/modal.mixins.scss +18 -12
- package/src/components/modal/modal.scss +6 -4
- package/src/components/modal/modal.variables.scss +5 -5
- package/src/components/navbar/navbar.mixins.scss +15 -12
- package/src/components/navbar/navbar.scss +1 -1
- package/src/components/pagination/pagination.mixins.scss +10 -8
- package/src/components/pagination/pagination.scss +2 -2
- package/src/components/paragraph/paragraph.scss +2 -1
- package/src/components/preformatted-text/preformatted-text.scss +2 -1
- package/src/components/progress-bar/progress-bar.mixins.scss +6 -6
- package/src/components/progress-bar/progress-bar.variables.scss +1 -1
- package/src/components/progress-indicator/progress-indicator.mixins.scss +7 -5
- package/src/components/rich-content/rich-content.mixins.scss +10 -7
- package/src/components/rich-content/rich-content.scss +2 -2
- package/src/components/rich-content/rich-content.variables.scss +2 -1
- package/src/components/search-bar/search-bar.scss +35 -31
- package/src/components/search-bar/search-bar.variables.scss +2 -2
- package/src/components/select/select.scss +1 -1
- package/src/components/selectable/selectable.mixins.scss +42 -40
- package/src/components/shopping-cart/shopping-cart.scss +42 -39
- package/src/components/step-counter/step-counter.mixins.scss +6 -6
- package/src/components/subscript/subscript.scss +1 -1
- package/src/components/subtitle/subtitle.scss +2 -2
- package/src/components/superscript/superscript.scss +1 -1
- package/src/components/table/table.mixins.scss +4 -4
- package/src/components/table/table.scss +27 -26
- package/src/components/table/table.variables.scss +1 -1
- package/src/components/tabs/tabs.scss +23 -20
- package/src/components/tabs/tabs.variables.scss +4 -4
- package/src/components/textarea/textarea.scss +1 -1
- package/src/components/tile/tile.mixins.scss +19 -17
- package/src/components/tile/tile.variables.scss +2 -2
- package/src/components/viewer-grid/viewer-grid.scss +4 -3
- package/src/components/whitebox/whitebox.mixins.scss +13 -11
- package/src/components/whitebox/whitebox.variables.scss +1 -1
- package/src/di.scss +2 -2
- package/src/global/functions/contrast-color.functions.scss +10 -9
- package/src/global/mixins/set-colors.mixin.scss +2 -1
- package/src/global/mixins/symbol.mixins.scss +3 -3
- package/src/global/spacing.scss +3 -3
- package/src/global/utilities.scss +3 -3
- package/src/legacy/legacy-panel.scss +54 -54
- package/src/utilities.scss +2 -2
- package/src/variables/states.scss +4 -0
- package/src/variables/units.scss +9 -9
package/dist/index.js
CHANGED
|
@@ -15,20 +15,20 @@ export * from "./components/banner";
|
|
|
15
15
|
export * from "./components/breadcrumbs";
|
|
16
16
|
export * from "./components/button";
|
|
17
17
|
export * from "./components/button-row";
|
|
18
|
-
export
|
|
19
|
-
export
|
|
18
|
+
export * from "./components/card";
|
|
19
|
+
export * from "./components/card-container";
|
|
20
20
|
export * from "./components/card-grid";
|
|
21
21
|
export * from "./components/card-list";
|
|
22
22
|
export * from "./components/context";
|
|
23
|
-
export
|
|
24
|
-
export
|
|
23
|
+
export * from "./components/date-picker";
|
|
24
|
+
export * from "./components/date-picker-legacy";
|
|
25
25
|
export * from "./components/definition-list";
|
|
26
26
|
export * from "./components/description";
|
|
27
|
-
export
|
|
27
|
+
export * from "./components/document-component";
|
|
28
28
|
export * from "./components/document-header";
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
29
|
+
export * from "./components/document-list";
|
|
30
|
+
export * from "./components/dropdown-menu";
|
|
31
|
+
export * from "./components/expandable";
|
|
32
32
|
export * from "./components/footnotes";
|
|
33
33
|
export { storiesOfForm } from "./components/form/form.stories-of.js";
|
|
34
34
|
export { storiesOfFormButtons } from "./components/form-buttons/form-buttons.stories-of.js";
|
|
@@ -37,7 +37,7 @@ export * from "./components/helpcenter-panel";
|
|
|
37
37
|
export * from "./components/highlight-box";
|
|
38
38
|
export * from "./components/icon";
|
|
39
39
|
export * from "./components/image";
|
|
40
|
-
export
|
|
40
|
+
export * from "./components/image-overlay";
|
|
41
41
|
export * from "./components/info";
|
|
42
42
|
export { storiesOfInfoButton } from "./components/info-button/info-button.stories-of.js";
|
|
43
43
|
export { storiesOfInputNumber } from "./components/input-number/input-number.stories-of.js";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dso-toolkit",
|
|
3
3
|
"description": "DSO Toolkit",
|
|
4
4
|
"license": "SEE LICENSE IN DISCLAIMER.txt",
|
|
5
|
-
"version": "62.
|
|
5
|
+
"version": "62.27.0",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"watch": "gulp"
|
|
8
8
|
},
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@types/through2": "^2.0.41",
|
|
44
44
|
"concurrently": "^8.2.2",
|
|
45
45
|
"css": "^3.0.0",
|
|
46
|
-
"cssnano": "^7.0.
|
|
46
|
+
"cssnano": "^7.0.2",
|
|
47
47
|
"del": "^7.1.0",
|
|
48
48
|
"escape-string-regexp": "^5.0.0",
|
|
49
49
|
"gulp": "^5.0.0",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"markdown-to-jsx": "^7.4.7",
|
|
60
60
|
"plugin-error": "^2.0.1",
|
|
61
61
|
"postcss": "^8.4.38",
|
|
62
|
-
"prettier": "^3.
|
|
62
|
+
"prettier": "^3.3.1",
|
|
63
63
|
"react": "^18.3.1",
|
|
64
64
|
"react-dom": "^18.3.1",
|
|
65
|
-
"sass": "^1.77.
|
|
65
|
+
"sass": "^1.77.4",
|
|
66
66
|
"through2": "^4.0.2",
|
|
67
67
|
"typescript": "<5.5.0",
|
|
68
68
|
"uuid": "^9.0.1",
|
|
@@ -7,18 +7,18 @@
|
|
|
7
7
|
@mixin compact() {
|
|
8
8
|
> .dso-accordion-section {
|
|
9
9
|
> .dso-section-handle {
|
|
10
|
-
border-
|
|
11
|
-
border-
|
|
10
|
+
border-block-end: 1px solid transparent;
|
|
11
|
+
border-block-start: 1px solid accordion.$compact-border-color;
|
|
12
12
|
|
|
13
13
|
a,
|
|
14
14
|
button {
|
|
15
15
|
color: accordion.$compact-color;
|
|
16
|
-
padding-
|
|
16
|
+
padding-inline-start: units.$u4;
|
|
17
17
|
|
|
18
18
|
&::before {
|
|
19
19
|
@include di.base("chevron-right-grasgroen");
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
inset-inline-start: 0;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&:hover,
|
|
@@ -30,19 +30,19 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&:last-child {
|
|
33
|
-
border-
|
|
33
|
+
border-block-end: 1px solid accordion.$compact-border-color;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
+ .dso-accordion-section {
|
|
37
|
-
margin-
|
|
37
|
+
margin-block-start: 0;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
> .dso-section-body {
|
|
41
|
-
margin-
|
|
42
|
-
padding-
|
|
43
|
-
padding-
|
|
44
|
-
padding-
|
|
45
|
-
padding-
|
|
41
|
+
margin-block-start: 0;
|
|
42
|
+
padding-inline-start: units.$u4;
|
|
43
|
+
padding-block-start: 0;
|
|
44
|
+
padding-inline-end: 0;
|
|
45
|
+
padding-block-end: units.$u1 * 1.5;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&.dso-open {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
> .dso-section-body {
|
|
82
|
-
border-
|
|
82
|
+
border-block-start: 0;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
&.dso-nested-accordion {
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
> .dso-section-body {
|
|
96
|
-
padding-
|
|
96
|
+
padding-block-end: 0;
|
|
97
97
|
|
|
98
98
|
.dso-accordion-section:last-child {
|
|
99
|
-
border-
|
|
99
|
+
border-block-end: 0;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -107,19 +107,19 @@
|
|
|
107
107
|
.dso-section-handle {
|
|
108
108
|
a,
|
|
109
109
|
button {
|
|
110
|
-
padding-
|
|
110
|
+
padding-inline-start: units.$u2;
|
|
111
111
|
|
|
112
112
|
&::before {
|
|
113
113
|
@include di.base("chevron-down-grasgroen");
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
inset-inline-start: auto;
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
> .dso-accordion-section > .dso-section-body {
|
|
121
|
-
padding-
|
|
122
|
-
padding-
|
|
121
|
+
padding-inline-start: units.$u2;
|
|
122
|
+
padding-inline-end: 0;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.dso-accordion-section {
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
> .dso-section-handle {
|
|
68
68
|
background-color: accordion.$default-nested-handle-bgcolor;
|
|
69
69
|
border-radius: 0;
|
|
70
|
-
border-
|
|
71
|
-
border-
|
|
70
|
+
border-start-start-radius: accordion.$border-radius;
|
|
71
|
+
border-start-end-radius: accordion.$border-radius;
|
|
72
72
|
|
|
73
73
|
a,
|
|
74
74
|
button {
|
|
@@ -10,29 +10,30 @@
|
|
|
10
10
|
@use "accordion-theme-default";
|
|
11
11
|
|
|
12
12
|
.dso-accordion {
|
|
13
|
-
margin-
|
|
13
|
+
margin-block-end: units.$block-spacing-xlarge;
|
|
14
14
|
|
|
15
15
|
// dit is een nested accordion.
|
|
16
16
|
.dso-accordion {
|
|
17
|
-
margin-
|
|
17
|
+
margin-block-end: 0;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.dso-section-body {
|
|
21
|
-
border-
|
|
22
|
-
margin-
|
|
23
|
-
padding: units.$u2 + accordion.$border-radius units.$u2
|
|
21
|
+
border-block-start: 0;
|
|
22
|
+
margin-block-start: accordion.$border-radius * -1;
|
|
23
|
+
padding-block: units.$u2 + accordion.$border-radius units.$u2;
|
|
24
|
+
padding-inline: units.$u2;
|
|
24
25
|
|
|
25
26
|
> *:first-child:not(.dso-info) {
|
|
26
|
-
margin-
|
|
27
|
+
margin-block-start: 0;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
> *:last-child:not(.dso-info) {
|
|
30
|
-
margin-
|
|
31
|
+
margin-block-end: 0;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
.dso-rich-content + .dso-accordion,
|
|
34
35
|
.dso-accordion + .dso-rich-content {
|
|
35
|
-
margin-
|
|
36
|
+
margin-block-start: units.$u2;
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
|
|
@@ -40,21 +41,21 @@
|
|
|
40
41
|
.dso-section-handle {
|
|
41
42
|
a,
|
|
42
43
|
button {
|
|
43
|
-
padding-
|
|
44
|
-
padding-
|
|
44
|
+
padding-inline-start: units.$u2;
|
|
45
|
+
padding-inline-end: units.$u6;
|
|
45
46
|
|
|
46
47
|
&::before {
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
inset-inline-start: auto;
|
|
49
|
+
inset-inline-end: units.$u2;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.dso-icon {
|
|
52
53
|
display: block;
|
|
53
|
-
float:
|
|
54
|
+
float: inline-start;
|
|
54
55
|
font-weight: 400;
|
|
55
|
-
margin-
|
|
56
|
-
margin-
|
|
57
|
-
padding-
|
|
56
|
+
margin-inline-start: 0;
|
|
57
|
+
margin-inline-end: units.$u1;
|
|
58
|
+
padding-inline-start: 0;
|
|
58
59
|
text-decoration: underline;
|
|
59
60
|
}
|
|
60
61
|
}
|
|
@@ -84,7 +85,7 @@
|
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
.dso-section-body dl:last-child {
|
|
87
|
-
margin-
|
|
88
|
+
margin-block-end: 0;
|
|
88
89
|
}
|
|
89
90
|
}
|
|
90
91
|
|
|
@@ -103,38 +104,38 @@
|
|
|
103
104
|
background-color: transparent;
|
|
104
105
|
border: 0;
|
|
105
106
|
display: flex;
|
|
106
|
-
padding: accordion.$
|
|
107
|
-
|
|
108
|
-
text-align:
|
|
109
|
-
|
|
107
|
+
padding-block: accordion.$block-padding;
|
|
108
|
+
padding-inline: accordion.$chevron-inline-start-offset accordion.$inline-padding;
|
|
109
|
+
text-align: start;
|
|
110
|
+
inline-size: 100%;
|
|
110
111
|
word-break: break-word;
|
|
111
112
|
|
|
112
113
|
&::before {
|
|
113
114
|
content: "";
|
|
114
115
|
display: inline-block;
|
|
115
|
-
|
|
116
|
+
inset-inline-start: units.$u2;
|
|
116
117
|
position: absolute;
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
&::after {
|
|
120
121
|
content: "";
|
|
121
122
|
position: absolute;
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
inset-inline-end: units.$u2;
|
|
124
|
+
inset-block-start: (accordion.$handle-block-size - accordion.$state-icon-size) * 0.5;
|
|
124
125
|
}
|
|
125
126
|
|
|
126
127
|
.dso-status,
|
|
127
128
|
.dso-icon {
|
|
128
129
|
font-weight: 400;
|
|
129
|
-
margin-
|
|
130
|
-
padding-
|
|
130
|
+
margin-inline-start: auto;
|
|
131
|
+
padding-inline-start: units.$u2;
|
|
131
132
|
text-decoration: underline;
|
|
132
133
|
}
|
|
133
134
|
|
|
134
135
|
dso-attachments-counter,
|
|
135
136
|
.dso-attachments {
|
|
136
|
-
margin-
|
|
137
|
-
padding-
|
|
137
|
+
margin-inline-start: auto;
|
|
138
|
+
padding-inline-start: units.$u2;
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
.dso-attachments {
|
|
@@ -142,6 +143,18 @@
|
|
|
142
143
|
@include di.base("paperclip-grijs", accordion.$chevron-icon-size);
|
|
143
144
|
}
|
|
144
145
|
}
|
|
146
|
+
|
|
147
|
+
> .dso-badge {
|
|
148
|
+
margin-inline-start: auto;
|
|
149
|
+
padding-inline-start: units.$u1;
|
|
150
|
+
word-break: normal;
|
|
151
|
+
|
|
152
|
+
& + .dso-icon,
|
|
153
|
+
& + .dso-attachments,
|
|
154
|
+
& + .dso-status {
|
|
155
|
+
margin-inline-start: 0;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
145
158
|
}
|
|
146
159
|
}
|
|
147
160
|
|
|
@@ -184,7 +197,7 @@
|
|
|
184
197
|
> .dso-section-handle {
|
|
185
198
|
a,
|
|
186
199
|
button {
|
|
187
|
-
padding-
|
|
200
|
+
padding-inline-end: units.$u7;
|
|
188
201
|
}
|
|
189
202
|
}
|
|
190
203
|
}
|
|
@@ -239,7 +252,8 @@
|
|
|
239
252
|
border-radius: 0 0 accordion.$border-radius accordion.$border-radius;
|
|
240
253
|
|
|
241
254
|
> .dso-section-body {
|
|
242
|
-
padding: (units.$u2 + accordion.$border-radius - 1)
|
|
255
|
+
padding-block: (units.$u2 + accordion.$border-radius - 1) units.$u2; // corrections for missing borders in nested accordion
|
|
256
|
+
padding-inline: (units.$u2 + 1); // corrections for missing borders in nested accordion
|
|
243
257
|
}
|
|
244
258
|
|
|
245
259
|
.dso-accordion-section .dso-section-body {
|
|
@@ -258,22 +272,22 @@
|
|
|
258
272
|
// Web component
|
|
259
273
|
dso-accordion-section {
|
|
260
274
|
> *:first-child:not(.dso-info) {
|
|
261
|
-
margin-
|
|
275
|
+
margin-block-start: 0;
|
|
262
276
|
}
|
|
263
277
|
|
|
264
278
|
> *:last-child:not(.dso-info) {
|
|
265
|
-
margin-
|
|
279
|
+
margin-block-end: 0;
|
|
266
280
|
}
|
|
267
281
|
|
|
268
282
|
&.dso-accordion-compact:last-child,
|
|
269
283
|
&.dso-accordion-compact-black:last-child {
|
|
270
|
-
border-
|
|
284
|
+
border-block-end: 1px solid accordion.$compact-border-color;
|
|
271
285
|
}
|
|
272
286
|
}
|
|
273
287
|
|
|
274
288
|
dso-accordion {
|
|
275
289
|
.dso-rich-content + dso-accordion,
|
|
276
290
|
dso-accordion + .dso-rich-content {
|
|
277
|
-
margin-
|
|
291
|
+
margin-block-start: units.$u2;
|
|
278
292
|
}
|
|
279
293
|
}
|
|
@@ -23,11 +23,11 @@ $neutral-color: colors.$zwart;
|
|
|
23
23
|
$neutral-border-color: colors.$bosgroen;
|
|
24
24
|
|
|
25
25
|
$border-radius: units.$u1 * 0.5;
|
|
26
|
-
$
|
|
27
|
-
$
|
|
26
|
+
$inline-padding: units.$u2;
|
|
27
|
+
$block-padding: units.$u1 * 1.5;
|
|
28
28
|
$chevron-icon-size: units.$u3;
|
|
29
29
|
$chevron-space: units.$u3;
|
|
30
|
-
$chevron-
|
|
30
|
+
$chevron-inline-start-offset: $chevron-icon-size + $chevron-space;
|
|
31
31
|
$handle-line-height: 1.375em;
|
|
32
|
-
$handle-
|
|
32
|
+
$handle-block-size: units.$u6;
|
|
33
33
|
$state-icon-size: units.$u3;
|
|
@@ -24,14 +24,18 @@ dso-action-list {
|
|
|
24
24
|
&::after {
|
|
25
25
|
content: "";
|
|
26
26
|
background-color: colors.$bosgroen;
|
|
27
|
-
|
|
27
|
+
block-size: calc(100% - units.$u6);
|
|
28
28
|
position: absolute;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
inset-block-start: calc(action-list-item-variables.$padding-block + action-list-variables.$step-counter-size);
|
|
30
|
+
inline-size: action-list-variables.$flow-line-inline-size;
|
|
31
|
+
inset-inline-start: calc(
|
|
32
|
+
(action-list-variables.$step-counter-size * 0.5) - (action-list-variables.$flow-line-inline-size * 0.5)
|
|
33
|
+
);
|
|
32
34
|
|
|
33
35
|
@media screen and (min-width: media-query-breakpoints.$screen-xs-min) {
|
|
34
|
-
|
|
36
|
+
inset-inline-start: calc(
|
|
37
|
+
(action-list-variables.$step-counter-size * 0.5) - (action-list-variables.$flow-line-inline-size * 0.5)
|
|
38
|
+
);
|
|
35
39
|
}
|
|
36
40
|
}
|
|
37
41
|
}
|
|
@@ -14,8 +14,8 @@ $redirect-icon-color: colors.$grasgroen;
|
|
|
14
14
|
|
|
15
15
|
$hr-color: colors.$grijs-20;
|
|
16
16
|
|
|
17
|
-
$
|
|
18
|
-
$
|
|
17
|
+
$inline-padding: units.$u2;
|
|
18
|
+
$block-padding: math.div(units.$u1, 2);
|
|
19
19
|
|
|
20
20
|
$option-dot-size: 10px;
|
|
21
21
|
|
|
@@ -23,8 +23,8 @@ $group-label-color: colors.$grijs-60;
|
|
|
23
23
|
$group-label-font-size: typography.$font-size-small;
|
|
24
24
|
$group-label-font-weight: 500;
|
|
25
25
|
|
|
26
|
-
$group-link-
|
|
27
|
-
$group-link-
|
|
26
|
+
$group-link-inline-padding: math.div(units.$u1, 2);
|
|
27
|
+
$group-link-block-padding: units.$u1;
|
|
28
28
|
$group-link-color: colors.$zwart;
|
|
29
29
|
|
|
30
30
|
$option-color: colors.$zwart;
|
|
@@ -8,34 +8,35 @@
|
|
|
8
8
|
@use "../../global/mixins/set-colors.mixin" as set-colors;
|
|
9
9
|
|
|
10
10
|
@mixin icon-position() {
|
|
11
|
-
|
|
11
|
+
inset-block-start: alert-variables.$inline-padding;
|
|
12
|
+
inset-inline-start: alert-variables.$inline-padding;
|
|
12
13
|
position: absolute;
|
|
13
|
-
top: alert-variables.$horizontal-padding - 1px; // 1px border
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
@mixin children() {
|
|
17
17
|
> .dso-rich-content {
|
|
18
18
|
*:first-child {
|
|
19
|
-
margin-
|
|
19
|
+
margin-block-start: 0 !important;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
*:last-child {
|
|
23
|
-
margin-
|
|
23
|
+
margin-block-end: 0 !important;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
#{typography.$headings} {
|
|
27
27
|
color: colors.$zwart;
|
|
28
28
|
font-size: 1em;
|
|
29
29
|
line-height: typography.$line-height-base;
|
|
30
|
-
margin-
|
|
31
|
-
margin-
|
|
30
|
+
margin-block-end: units.$u1;
|
|
31
|
+
margin-block-start: units.$u1;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.dso-alert-button {
|
|
35
35
|
background-color: rgba(25, 25, 25, 0.05);
|
|
36
36
|
border-radius: button.$border-radius;
|
|
37
37
|
border: 1px solid transparent;
|
|
38
|
-
padding: 6px
|
|
38
|
+
padding-block: 6px;
|
|
39
|
+
padding-inline: 12px;
|
|
39
40
|
|
|
40
41
|
&:hover,
|
|
41
42
|
&:active {
|
|
@@ -53,38 +54,65 @@
|
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
@mixin status-success() {
|
|
56
|
-
@include set-colors.apply(alert-variables.$success-bg
|
|
57
|
+
@include set-colors.apply(alert-variables.$success-bg);
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
@mixin status-error() {
|
|
60
|
-
@include set-colors.apply(alert-variables.$danger-bg
|
|
61
|
+
@include set-colors.apply(alert-variables.$danger-bg);
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
@mixin status-warning() {
|
|
64
|
-
@include set-colors.apply(alert-variables.$warning-bg
|
|
65
|
+
@include set-colors.apply(alert-variables.$warning-bg);
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
@mixin status-info() {
|
|
68
|
-
@include set-colors.apply(alert-variables.$info-bg
|
|
69
|
+
@include set-colors.apply(alert-variables.$info-bg);
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
@mixin root() {
|
|
72
|
-
border: 1px solid transparent;
|
|
73
73
|
line-height: typography.$line-height-base;
|
|
74
|
-
margin-
|
|
75
|
-
min-
|
|
74
|
+
margin-block-end: typography.$line-height-computed;
|
|
75
|
+
min-block-size: 2 * alert-variables.$inline-padding + alert-variables.$icon-size;
|
|
76
76
|
position: relative;
|
|
77
77
|
|
|
78
78
|
@media screen and (min-width: #{media-query-breakpoints.$screen-xs-min + 1}) {
|
|
79
|
-
padding: alert-variables.$
|
|
80
|
-
|
|
79
|
+
padding-block: alert-variables.$block-padding;
|
|
80
|
+
padding-inline: alert-variables.$inline-start-padding alert-variables.$inline-padding;
|
|
81
|
+
|
|
82
|
+
&.dso-compact {
|
|
83
|
+
padding-block: alert-variables.$block-padding * 0.5;
|
|
84
|
+
padding-inline: alert-variables.$inline-padding;
|
|
85
|
+
}
|
|
81
86
|
}
|
|
82
87
|
|
|
83
88
|
@media screen and (max-width: media-query-breakpoints.$screen-xs-min) {
|
|
84
|
-
padding: alert-variables.$small-padding-
|
|
89
|
+
padding-block: alert-variables.$small-padding-block-start alert-variables.$small-padding;
|
|
90
|
+
padding-inline: alert-variables.$small-padding;
|
|
91
|
+
|
|
92
|
+
&.dso-compact {
|
|
93
|
+
padding-block: alert-variables.$block-padding * 0.5;
|
|
94
|
+
padding-inline: alert-variables.$inline-padding;
|
|
95
|
+
}
|
|
85
96
|
}
|
|
86
97
|
|
|
87
98
|
&:not(:first-child) {
|
|
88
|
-
margin-
|
|
99
|
+
margin-block-start: units.$u3;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@mixin compact() {
|
|
104
|
+
border-end-end-radius: units.$u1;
|
|
105
|
+
border-start-end-radius: units.$u1;
|
|
106
|
+
margin-inline-start: units.$u1;
|
|
107
|
+
|
|
108
|
+
&::before {
|
|
109
|
+
border-end-start-radius: units.$u1;
|
|
110
|
+
border-start-start-radius: units.$u1;
|
|
111
|
+
inset-block-end: 0;
|
|
112
|
+
content: "";
|
|
113
|
+
inset-inline-start: units.$u1 * -1;
|
|
114
|
+
position: absolute;
|
|
115
|
+
inset-block-start: 0;
|
|
116
|
+
inline-size: units.$u1;
|
|
89
117
|
}
|
|
90
118
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@use "../alert";
|
|
2
|
-
|
|
3
2
|
@use "../../di";
|
|
4
3
|
|
|
5
4
|
// HTML/CSS
|
|
@@ -8,16 +7,25 @@
|
|
|
8
7
|
|
|
9
8
|
@include alert.children();
|
|
10
9
|
|
|
11
|
-
|
|
10
|
+
&:not(.dso-compact)::before {
|
|
12
11
|
@include alert.icon-position();
|
|
13
12
|
|
|
14
13
|
content: "";
|
|
15
14
|
}
|
|
16
15
|
|
|
16
|
+
&.dso-compact {
|
|
17
|
+
@include alert.compact();
|
|
18
|
+
min-block-size: alert.$inline-padding;
|
|
19
|
+
}
|
|
20
|
+
|
|
17
21
|
&.alert-success {
|
|
18
22
|
@include alert.status-success();
|
|
19
23
|
|
|
20
|
-
|
|
24
|
+
&.dso-compact::before {
|
|
25
|
+
background-color: alert.$success-compact-accent-bg;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:not(.dso-compact)::before {
|
|
21
29
|
@include di.base("status-success", alert.$icon-size);
|
|
22
30
|
}
|
|
23
31
|
}
|
|
@@ -25,7 +33,11 @@
|
|
|
25
33
|
&.alert-error {
|
|
26
34
|
@include alert.status-error();
|
|
27
35
|
|
|
28
|
-
|
|
36
|
+
&.dso-compact::before {
|
|
37
|
+
background-color: alert.$danger-compact-accent-bg;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:not(.dso-compact)::before {
|
|
29
41
|
@include di.base("status-error", alert.$icon-size);
|
|
30
42
|
}
|
|
31
43
|
}
|
|
@@ -33,7 +45,11 @@
|
|
|
33
45
|
&.alert-warning {
|
|
34
46
|
@include alert.status-warning();
|
|
35
47
|
|
|
36
|
-
|
|
48
|
+
&.dso-compact::before {
|
|
49
|
+
background-color: alert.$warning-compact-accent-bg;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:not(.dso-compact)::before {
|
|
37
53
|
@include di.base("status-warning", alert.$icon-size);
|
|
38
54
|
}
|
|
39
55
|
}
|
|
@@ -41,7 +57,10 @@
|
|
|
41
57
|
&.alert-info {
|
|
42
58
|
@include alert.status-info();
|
|
43
59
|
|
|
44
|
-
|
|
60
|
+
&.dso-compact::before {
|
|
61
|
+
background-color: alert.$info-compact-accent-bg;
|
|
62
|
+
}
|
|
63
|
+
&:not(.dso-compact)::before {
|
|
45
64
|
@include di.base("status-info", alert.$icon-size);
|
|
46
65
|
}
|
|
47
66
|
}
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
@use "../../variables/states";
|
|
3
3
|
|
|
4
4
|
$icon-size: units.$u4;
|
|
5
|
-
$
|
|
6
|
-
$
|
|
7
|
-
$
|
|
5
|
+
$inline-padding: units.$u2;
|
|
6
|
+
$block-padding: units.$u1 * 2.5 - 1px;
|
|
7
|
+
$inline-start-padding: 2 * $inline-padding + $icon-size - 1px; // 1px border
|
|
8
8
|
$small-padding: units.$u2;
|
|
9
|
-
$small-padding-
|
|
9
|
+
$small-padding-block-start: 2 * $inline-padding + $icon-size - 1px;
|
|
10
10
|
|
|
11
11
|
$success-bg: states.$success-bg;
|
|
12
|
-
$success-
|
|
12
|
+
$success-compact-accent-bg: states.$success-compact-accent-color;
|
|
13
13
|
|
|
14
14
|
$info-bg: states.$info-bg;
|
|
15
|
-
$info-
|
|
15
|
+
$info-compact-accent-bg: states.$info-compact-accent-color;
|
|
16
16
|
|
|
17
17
|
$warning-bg: states.$warning-bg;
|
|
18
|
-
$warning-
|
|
18
|
+
$warning-compact-accent-bg: states.$warning-compact-accent-color;
|
|
19
19
|
|
|
20
20
|
$danger-bg: states.$danger-bg;
|
|
21
|
-
$danger-
|
|
21
|
+
$danger-compact-accent-bg: states.$danger-compact-accent-color;
|