dso-toolkit 33.2.0 → 33.3.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/README.md +1 -1
- package/assets/logos/sublogos/aanvragen.svg +7 -0
- package/assets/logos/sublogos/maatregelen-op-maat.svg +7 -0
- package/assets/logos/sublogos/mijn-omgevingsloket.svg +7 -0
- package/assets/logos/sublogos/regels-op-de-kaart.svg +7 -0
- package/assets/logos/sublogos/vergunningcheck.svg +7 -0
- package/components/Componenten/search-bar/search-bar.config.yml +11 -9
- package/components/Componenten/tooltip/tooltip.njk +2 -3
- package/dist/library/@dso-toolkit/core/cjs/dso-autosuggest.cjs.entry.js +2 -70
- package/dist/library/@dso-toolkit/core/cjs/dso-date-picker.cjs.entry.js +2 -3
- package/dist/library/@dso-toolkit/core/cjs/dso-dropdown-menu.cjs.entry.js +15 -4
- package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +101 -0
- package/dist/library/@dso-toolkit/core/cjs/dso-info-button.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-map-base-layers.cjs.entry.js +3 -4
- package/dist/library/@dso-toolkit/core/cjs/dso-map-controls.cjs.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-map-overlays.cjs.entry.js +5 -8
- package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-tooltip.cjs.entry.js +168 -75
- package/dist/library/@dso-toolkit/core/cjs/index-794ad37a.js +72 -0
- package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/date-picker/date-picker.js +2 -3
- package/dist/library/@dso-toolkit/core/collection/components/dropdown-menu/dropdown-menu.js +15 -4
- package/dist/library/@dso-toolkit/core/collection/components/header/header.css +439 -0
- package/dist/library/@dso-toolkit/core/collection/components/header/header.js +294 -0
- package/dist/library/@dso-toolkit/core/collection/components/header/header.stories.js +11 -0
- package/dist/library/@dso-toolkit/core/collection/components/header/header.template.js +32 -0
- package/dist/library/@dso-toolkit/core/collection/components/info-button/info-button.css +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/map-base-layers/map-base-layers.js +6 -27
- package/dist/library/@dso-toolkit/core/collection/components/map-controls/map-controls.css +18 -8
- package/dist/library/@dso-toolkit/core/collection/components/map-controls/map-controls.js +10 -11
- package/dist/library/@dso-toolkit/core/collection/components/map-controls/map-controls.template.js +5 -8
- package/dist/library/@dso-toolkit/core/collection/components/map-overlays/map-overlays.js +9 -35
- package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.css +34 -12
- package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.js +19 -4
- package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.stories.js +1 -2
- package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.template.js +3 -5
- package/dist/library/@dso-toolkit/core/custom-elements/index.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/custom-elements/index.js +296 -102
- package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-1805f5b0.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-22bc904d.entry.js +1 -0
- package/dist/{toolkit/core/p-5665f1ee.entry.js → library/@dso-toolkit/core/dso-toolkit/p-4a78a31b.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-72e4484a.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-7a043467.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-99b93d2e.entry.js +5 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-b3e6d377.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-da3be034.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-ec8b74f7.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-ff767c21.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/esm/dso-autosuggest.entry.js +1 -69
- package/dist/library/@dso-toolkit/core/esm/dso-date-picker.entry.js +2 -3
- package/dist/library/@dso-toolkit/core/esm/dso-dropdown-menu.entry.js +15 -4
- package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +97 -0
- package/dist/library/@dso-toolkit/core/esm/dso-info-button.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-map-base-layers.entry.js +3 -4
- package/dist/library/@dso-toolkit/core/esm/dso-map-controls.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/esm/dso-map-overlays.entry.js +5 -8
- package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-tooltip.entry.js +168 -75
- package/dist/library/@dso-toolkit/core/esm/index-f2bf58ce.js +70 -0
- package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
- package/dist/library/@dso-toolkit/core/types/components/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components/header/header.d.ts +36 -0
- package/dist/library/@dso-toolkit/core/types/components/header/header.stories.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/header/header.template.d.ts +2 -0
- package/dist/library/@dso-toolkit/core/types/components/map-base-layers/map-base-layers.d.ts +3 -4
- package/dist/library/@dso-toolkit/core/types/components/map-base-layers/map-base-layers.interfaces.d.ts +5 -1
- package/dist/library/@dso-toolkit/core/types/components/map-controls/map-controls.template.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components/map-overlays/map-overlays.d.ts +4 -4
- package/dist/library/@dso-toolkit/core/types/components/map-overlays/map-overlays.interfaces.d.ts +6 -1
- package/dist/library/@dso-toolkit/core/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components.d.ts +34 -8
- package/dist/library/components/detail/form--autocomplete.html +1 -1
- package/dist/library/components/detail/form--form-horizontal.html +1 -1
- package/dist/library/components/detail/form--form-vertical.html +1 -1
- package/dist/library/components/detail/form--multi-page.html +1 -1
- package/dist/library/components/detail/form--sections.html +1 -1
- package/dist/library/components/detail/form--simple-form.html +1 -1
- package/dist/library/components/detail/form--single-page.html +1 -1
- package/dist/library/components/detail/form.html +1 -1
- package/dist/library/components/detail/search-bar--default.html +11 -1
- package/dist/library/components/detail/search-bar--hidden-button.html +11 -1
- package/dist/library/components/detail/search-bar--hidden-label-icon.html +11 -1
- package/dist/library/components/detail/search-bar--hidden-label-no-icon.html +11 -1
- package/dist/library/components/detail/search-bar--huge-placeholder.html +11 -1
- package/dist/library/components/detail/search-bar--invalid.html +11 -1
- package/dist/library/components/detail/search-bar--label-no-icon.html +11 -1
- package/dist/library/components/detail/search-bar--with-hidden-results.html +11 -1
- package/dist/library/components/detail/search-bar--with-results.html +11 -1
- package/dist/library/components/detail/search-bar--with-value.html +11 -1
- package/dist/library/components/detail/search-bar.html +11 -41
- package/dist/library/components/detail/tooltip--default.html +2 -3
- package/dist/library/components/detail/tooltip--tooltip-bottom.html +2 -3
- package/dist/library/components/detail/tooltip--tooltip-left.html +2 -3
- package/dist/library/components/detail/tooltip--tooltip-right-small.html +3 -4
- package/dist/library/components/detail/tooltip--tooltip-right.html +3 -4
- package/dist/library/components/detail/tooltip.html +8 -9
- package/dist/library/components/preview/search-bar.html +0 -60
- package/dist/library/components/preview/tooltip--default.html +1 -3
- package/dist/library/components/preview/tooltip--tooltip-bottom.html +1 -3
- package/dist/library/components/preview/tooltip--tooltip-left.html +1 -3
- package/dist/library/components/preview/tooltip--tooltip-right-small.html +1 -3
- package/dist/library/components/preview/tooltip--tooltip-right.html +1 -3
- package/dist/library/components/preview/tooltip.html +5 -10
- package/dist/library/components/render/search-bar.html +0 -60
- package/dist/library/components/render/tooltip--default.html +1 -3
- package/dist/library/components/render/tooltip--tooltip-bottom.html +1 -3
- package/dist/library/components/render/tooltip--tooltip-left.html +1 -3
- package/dist/library/components/render/tooltip--tooltip-right-small.html +1 -3
- package/dist/library/components/render/tooltip--tooltip-right.html +1 -3
- package/dist/library/components/render/tooltip.html +5 -10
- package/dist/library/dso-icons.svg +236 -220
- package/dist/library/logos/sublogos/aanvragen.svg +1 -0
- package/dist/library/logos/sublogos/maatregelen-op-maat.svg +1 -0
- package/dist/library/logos/sublogos/mijn-omgevingsloket.svg +1 -0
- package/dist/library/logos/sublogos/regels-op-de-kaart.svg +1 -0
- package/dist/library/logos/sublogos/vergunningcheck.svg +1 -0
- package/dist/library/styles/dso.css +178 -48
- package/dist/toolkit/core/dso-toolkit.esm.js +1 -1
- package/dist/toolkit/core/p-1805f5b0.js +1 -0
- package/dist/toolkit/core/p-22bc904d.entry.js +1 -0
- package/dist/{library/@dso-toolkit/core/dso-toolkit/p-5665f1ee.entry.js → toolkit/core/p-4a78a31b.entry.js} +1 -1
- package/dist/toolkit/core/p-72e4484a.entry.js +1 -0
- package/dist/toolkit/core/p-7a043467.entry.js +1 -0
- package/dist/toolkit/core/p-99b93d2e.entry.js +5 -0
- package/dist/toolkit/core/p-b3e6d377.entry.js +1 -0
- package/dist/toolkit/core/p-da3be034.entry.js +1 -0
- package/dist/toolkit/core/p-ec8b74f7.entry.js +1 -0
- package/dist/toolkit/core/p-ff767c21.entry.js +1 -0
- package/dist/toolkit/dso-icons.svg +236 -220
- package/dist/toolkit/logos/sublogos/aanvragen.svg +1 -0
- package/dist/toolkit/logos/sublogos/maatregelen-op-maat.svg +1 -0
- package/dist/toolkit/logos/sublogos/mijn-omgevingsloket.svg +1 -0
- package/dist/toolkit/logos/sublogos/regels-op-de-kaart.svg +1 -0
- package/dist/toolkit/logos/sublogos/vergunningcheck.svg +1 -0
- package/dist/toolkit/styles/dso.css +178 -48
- package/hydrate/index.js +312 -102
- package/libs/@dso-toolkit/css/dist/dso-icons.svg +236 -220
- package/libs/@dso-toolkit/css/src/components/accordion/accordion.scss +266 -225
- package/libs/@dso-toolkit/css/src/components/tooltip/tooltip.scss +28 -0
- package/libs/@dso-toolkit/sources/src/components/button/button.scss +17 -0
- package/libs/@dso-toolkit/sources/src/components/header/header.args.ts +83 -0
- package/libs/@dso-toolkit/sources/src/components/header/header.models.ts +18 -0
- package/libs/@dso-toolkit/sources/src/components/header/header.stories.ts +66 -0
- package/libs/@dso-toolkit/sources/src/components/map-controls/map-controls.args.ts +9 -23
- package/libs/@dso-toolkit/sources/src/components/map-controls/map-controls.content.ts +27 -4
- package/libs/@dso-toolkit/sources/src/components/map-controls/map-controls.models.ts +3 -5
- package/libs/@dso-toolkit/sources/src/components/map-controls/map-controls.stories.ts +1 -2
- package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.scss +3 -10
- package/libs/@dso-toolkit/sources/src/icons/chevron-down.scss +4 -0
- package/libs/@dso-toolkit/sources/src/icons/chevron-up.scss +4 -0
- package/libs/@dso-toolkit/sources/src/index.ts +2 -0
- package/libs/@dso-toolkit/sources/src/stories-helpers/index.ts +6 -0
- package/package.json +2 -2
- package/src/styles/components/_lists.scss +5 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-08427682.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-731a9631.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-741e96de.entry.js +0 -5
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-759920d0.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-e4269e02.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-e7700d9e.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-fd5e24c9.entry.js +0 -1
- package/dist/library/components/detail/search-bar--no-label-icon.html +0 -1503
- package/dist/library/components/detail/search-bar--no-label-no-icon.html +0 -1503
- package/dist/library/components/preview/search-bar--no-label-icon.html +0 -39
- package/dist/library/components/preview/search-bar--no-label-no-icon.html +0 -39
- package/dist/library/components/render/search-bar--no-label-icon.html +0 -23
- package/dist/library/components/render/search-bar--no-label-no-icon.html +0 -23
- package/dist/toolkit/core/p-08427682.entry.js +0 -1
- package/dist/toolkit/core/p-731a9631.entry.js +0 -1
- package/dist/toolkit/core/p-741e96de.entry.js +0 -5
- package/dist/toolkit/core/p-759920d0.entry.js +0 -1
- package/dist/toolkit/core/p-e4269e02.entry.js +0 -1
- package/dist/toolkit/core/p-e7700d9e.entry.js +0 -1
- package/dist/toolkit/core/p-fd5e24c9.entry.js +0 -1
- package/reference/render/search-bar--no-label-icon.html +0 -8
- package/reference/render/search-bar--no-label-no-icon.html +0 -8
|
@@ -23,6 +23,249 @@ $dso-accordion-handle-line-height: 1.375em;
|
|
|
23
23
|
$dso-accordion-handle-height: $u6;
|
|
24
24
|
$dso-accordion-state-icon-size: $u3;
|
|
25
25
|
|
|
26
|
+
@mixin dso-accordion-default {
|
|
27
|
+
.dso-section-handle {
|
|
28
|
+
background-color: $wit;
|
|
29
|
+
border: 1px solid $dso-accordion-default-border-color;
|
|
30
|
+
border-radius: $dso-accordion-border-radius;
|
|
31
|
+
|
|
32
|
+
a,
|
|
33
|
+
button {
|
|
34
|
+
color: $dso-accordion-default-color;
|
|
35
|
+
|
|
36
|
+
&::before {
|
|
37
|
+
@include di("chevron-down-mauve");
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:hover,
|
|
41
|
+
&:active,
|
|
42
|
+
&.active {
|
|
43
|
+
color: $dso-accordion-default-color;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.dso-accordion-section {
|
|
49
|
+
&.dso-open {
|
|
50
|
+
&:not(.dso-nested-accordion) {
|
|
51
|
+
> .dso-section-handle {
|
|
52
|
+
background-color: $dso-accordion-default-nested-handle-bgcolor;
|
|
53
|
+
border-radius: $dso-accordion-border-radius;
|
|
54
|
+
|
|
55
|
+
a,
|
|
56
|
+
button {
|
|
57
|
+
color: $wit;
|
|
58
|
+
|
|
59
|
+
&::before {
|
|
60
|
+
@include di-variant("chevron-up-wit");
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
dso-attachments-counter {
|
|
64
|
+
--dso-attachments-counter-color: #{$wit};
|
|
65
|
+
--dso-icon: var(--di-paperclip-wit);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.dso-attachments {
|
|
69
|
+
color: $wit;
|
|
70
|
+
|
|
71
|
+
&::after {
|
|
72
|
+
@include di-variant("paperclip-wit");
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.dso-nested-accordion {
|
|
80
|
+
background-color: $dso-accordion-default-nested-body-bgcolor;
|
|
81
|
+
|
|
82
|
+
> .dso-section-handle {
|
|
83
|
+
a,
|
|
84
|
+
button {
|
|
85
|
+
&::before {
|
|
86
|
+
@include di-variant("chevron-up-mauve");
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.dso-section-body {
|
|
95
|
+
border: 1px solid $dso-accordion-default-border-color;
|
|
96
|
+
border-radius: 0 0 $dso-accordion-border-radius $dso-accordion-border-radius;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@mixin dso-accordion-conclusion {
|
|
101
|
+
.dso-section-handle {
|
|
102
|
+
background-color: $dso-accordion-conclusion-bgcolor;
|
|
103
|
+
border: 1px solid $dso-accordion-conclusion-border-color;
|
|
104
|
+
|
|
105
|
+
a,
|
|
106
|
+
button {
|
|
107
|
+
color: $dso-accordion-conclusion-color;
|
|
108
|
+
|
|
109
|
+
&::before {
|
|
110
|
+
@include di("chevron-down-grijs90");
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&:hover,
|
|
114
|
+
&:active,
|
|
115
|
+
&.active {
|
|
116
|
+
background-color: $dso-accordion-conclusion-hover-bgcolor;
|
|
117
|
+
color: $dso-accordion-conclusion-color;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.dso-accordion-section {
|
|
123
|
+
&.dso-open {
|
|
124
|
+
&:not(.dso-nested-accordion) {
|
|
125
|
+
> .dso-section-handle {
|
|
126
|
+
background-color: $dso-accordion-conclusion-nested-handle-bgcolor;
|
|
127
|
+
|
|
128
|
+
a,
|
|
129
|
+
button {
|
|
130
|
+
color: $dso-accordion-conclusion-color;
|
|
131
|
+
|
|
132
|
+
&::before {
|
|
133
|
+
@include di-variant("chevron-up-grijs90");
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
dso-attachments-counter {
|
|
137
|
+
--dso-attachments-counter-color: #{$grijs-60};
|
|
138
|
+
--dso-icon: var(--di-paperclip-grijs);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.dso-attachments {
|
|
142
|
+
color: $grijs-60;
|
|
143
|
+
|
|
144
|
+
&::after {
|
|
145
|
+
@include di-variant("paperclip-grijs");
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&.dso-nested-accordion {
|
|
153
|
+
background-color: $dso-accordion-conclusion-nested-body-bgcolor;
|
|
154
|
+
border: 2px solid $dso-accordion-conclusion-border-color;
|
|
155
|
+
|
|
156
|
+
> .dso-section-handle {
|
|
157
|
+
a,
|
|
158
|
+
button {
|
|
159
|
+
&::before {
|
|
160
|
+
@include di-variant("chevron-up-grijs90");
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.dso-section-body {
|
|
169
|
+
border: 2px solid $dso-accordion-conclusion-border-color;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@mixin dso-accordion-compact {
|
|
174
|
+
.dso-section-handle {
|
|
175
|
+
border: 1px solid transparent;
|
|
176
|
+
|
|
177
|
+
a,
|
|
178
|
+
button {
|
|
179
|
+
color: $dso-accordion-compact-color;
|
|
180
|
+
|
|
181
|
+
&::before {
|
|
182
|
+
@include di("chevron-down-grasgroen");
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&:hover,
|
|
186
|
+
&:active,
|
|
187
|
+
&.active {
|
|
188
|
+
color: $dso-accordion-compact-color;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.dso-accordion-section {
|
|
194
|
+
&,
|
|
195
|
+
.dso-section-body {
|
|
196
|
+
border: 0;
|
|
197
|
+
border-top: 1px solid $dso-accordion-compact-border-color;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&:last-child {
|
|
201
|
+
border-bottom: 1px solid $dso-accordion-compact-border-color;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
+ .dso-accordion-section {
|
|
205
|
+
margin-top: 0;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.dso-section-body {
|
|
209
|
+
margin-top: 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&.dso-open {
|
|
213
|
+
&:not(.dso-nested-accordion) {
|
|
214
|
+
> .dso-section-handle {
|
|
215
|
+
background-color: transparent;
|
|
216
|
+
|
|
217
|
+
a,
|
|
218
|
+
button {
|
|
219
|
+
color: $dso-accordion-compact-color;
|
|
220
|
+
|
|
221
|
+
&:hover,
|
|
222
|
+
&:active,
|
|
223
|
+
&.active {
|
|
224
|
+
color: $dso-accordion-compact-color;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&::before {
|
|
228
|
+
@include di-variant("chevron-up-grasgroen");
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
dso-attachments-counter {
|
|
232
|
+
--dso-attachments-counter-color: #{$grijs-60};
|
|
233
|
+
--dso-icon: var(--di-paperclip-grijs);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.dso-attachments {
|
|
237
|
+
color: $grijs-60;
|
|
238
|
+
|
|
239
|
+
&::after {
|
|
240
|
+
@include di-variant("paperclip-grijs");
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&.dso-nested-accordion {
|
|
248
|
+
> .dso-section-handle {
|
|
249
|
+
a,
|
|
250
|
+
button {
|
|
251
|
+
&::before {
|
|
252
|
+
@include di-variant("chevron-up-grasgroen");
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
> .dso-section-body {
|
|
258
|
+
padding-bottom: 0;
|
|
259
|
+
|
|
260
|
+
.dso-accordion-section:last-child {
|
|
261
|
+
border-bottom: 0;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
26
269
|
.dso-accordion {
|
|
27
270
|
margin-bottom: $dso-vertical-spacing-xlarge;
|
|
28
271
|
|
|
@@ -41,7 +284,7 @@ $dso-accordion-state-icon-size: $u3;
|
|
|
41
284
|
|
|
42
285
|
a,
|
|
43
286
|
button {
|
|
44
|
-
align-items:
|
|
287
|
+
align-items: baseline;
|
|
45
288
|
background-color: transparent;
|
|
46
289
|
border: 0;
|
|
47
290
|
display: flex;
|
|
@@ -68,12 +311,14 @@ $dso-accordion-state-icon-size: $u3;
|
|
|
68
311
|
.dso-icon {
|
|
69
312
|
font-weight: 400;
|
|
70
313
|
margin-left: auto;
|
|
314
|
+
padding-left: $u2;
|
|
71
315
|
text-decoration: underline;
|
|
72
316
|
}
|
|
73
317
|
|
|
74
318
|
dso-attachments-counter,
|
|
75
319
|
.dso-attachments {
|
|
76
320
|
margin-left: auto;
|
|
321
|
+
padding-left: $u2;
|
|
77
322
|
}
|
|
78
323
|
|
|
79
324
|
.dso-attachments {
|
|
@@ -159,7 +404,7 @@ $dso-accordion-state-icon-size: $u3;
|
|
|
159
404
|
|
|
160
405
|
> .dso-section-body {
|
|
161
406
|
border: 0;
|
|
162
|
-
padding: ($u2 + $dso-accordion-border-radius - 1) ($u2 + 1) $
|
|
407
|
+
padding: ($u2 + $dso-accordion-border-radius - 1) ($u2 + 1) $u2; // corrections for missing borders in nested accordion
|
|
163
408
|
}
|
|
164
409
|
|
|
165
410
|
.dso-accordion-section .dso-section-body {
|
|
@@ -178,13 +423,13 @@ $dso-accordion-state-icon-size: $u3;
|
|
|
178
423
|
.dso-section-body {
|
|
179
424
|
border-top: 0;
|
|
180
425
|
margin-top: -$dso-accordion-border-radius;
|
|
181
|
-
padding: $u2 + $dso-accordion-border-radius $u2 $
|
|
426
|
+
padding: $u2 + $dso-accordion-border-radius $u2 $u2;
|
|
182
427
|
|
|
183
|
-
*:first-child {
|
|
428
|
+
*:first-child:not(.dso-info) {
|
|
184
429
|
margin-top: 0;
|
|
185
430
|
}
|
|
186
431
|
|
|
187
|
-
*:last-child {
|
|
432
|
+
*:last-child:not(.dso-info) {
|
|
188
433
|
margin-bottom: 0;
|
|
189
434
|
}
|
|
190
435
|
|
|
@@ -192,6 +437,11 @@ $dso-accordion-state-icon-size: $u3;
|
|
|
192
437
|
.dso-accordion + .dso-rich-content {
|
|
193
438
|
margin-top: $u2;
|
|
194
439
|
}
|
|
440
|
+
|
|
441
|
+
ul,
|
|
442
|
+
ol {
|
|
443
|
+
padding-inline-start: $u3;
|
|
444
|
+
}
|
|
195
445
|
}
|
|
196
446
|
|
|
197
447
|
&.dso-accordion-reverse-align {
|
|
@@ -199,6 +449,7 @@ $dso-accordion-state-icon-size: $u3;
|
|
|
199
449
|
a,
|
|
200
450
|
button {
|
|
201
451
|
padding-left: $u2;
|
|
452
|
+
padding-right: $u6;
|
|
202
453
|
|
|
203
454
|
&::before {
|
|
204
455
|
left: auto;
|
|
@@ -211,6 +462,7 @@ $dso-accordion-state-icon-size: $u3;
|
|
|
211
462
|
font-weight: 400;
|
|
212
463
|
margin-left: 0;
|
|
213
464
|
margin-right: $u1;
|
|
465
|
+
padding-left: 0;
|
|
214
466
|
text-decoration: underline;
|
|
215
467
|
}
|
|
216
468
|
}
|
|
@@ -218,234 +470,23 @@ $dso-accordion-state-icon-size: $u3;
|
|
|
218
470
|
}
|
|
219
471
|
|
|
220
472
|
&:not(.dso-accordion-compact):not(.dso-accordion-conclusion) {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
border-radius: $dso-accordion-border-radius;
|
|
225
|
-
|
|
226
|
-
a,
|
|
227
|
-
button {
|
|
228
|
-
color: $dso-accordion-default-color;
|
|
229
|
-
|
|
230
|
-
&::before {
|
|
231
|
-
@include di("chevron-down-mauve");
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
&:hover,
|
|
235
|
-
&:active,
|
|
236
|
-
&.active {
|
|
237
|
-
color: $dso-accordion-default-color;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.dso-accordion-section {
|
|
243
|
-
&.dso-open {
|
|
244
|
-
&:not(.dso-nested-accordion) {
|
|
245
|
-
> .dso-section-handle {
|
|
246
|
-
background-color: $dso-accordion-default-nested-handle-bgcolor;
|
|
247
|
-
border-radius: $dso-accordion-border-radius;
|
|
248
|
-
|
|
249
|
-
a,
|
|
250
|
-
button {
|
|
251
|
-
color: $wit;
|
|
252
|
-
|
|
253
|
-
&::before {
|
|
254
|
-
@include di-variant("chevron-up-wit");
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
dso-attachments-counter {
|
|
258
|
-
--dso-attachments-counter-color: #{$wit};
|
|
259
|
-
--dso-icon: var(--di-paperclip-wit);
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.dso-attachments {
|
|
263
|
-
color: $wit;
|
|
264
|
-
|
|
265
|
-
&::after {
|
|
266
|
-
@include di-variant("paperclip-wit");
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
&.dso-nested-accordion {
|
|
274
|
-
background-color: $dso-accordion-default-nested-body-bgcolor;
|
|
275
|
-
|
|
276
|
-
> .dso-section-handle {
|
|
277
|
-
a,
|
|
278
|
-
button {
|
|
279
|
-
&::before {
|
|
280
|
-
@include di-variant("chevron-up-mauve");
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.dso-section-body {
|
|
289
|
-
border: 1px solid $dso-accordion-default-border-color;
|
|
290
|
-
border-radius: 0 0 $dso-accordion-border-radius $dso-accordion-border-radius;
|
|
473
|
+
&,
|
|
474
|
+
.dso-nested-accordion .dso-accordion {
|
|
475
|
+
@include dso-accordion-default();
|
|
291
476
|
}
|
|
292
477
|
}
|
|
293
478
|
|
|
294
479
|
&.dso-accordion-conclusion {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
a,
|
|
300
|
-
button {
|
|
301
|
-
color: $dso-accordion-conclusion-color;
|
|
302
|
-
|
|
303
|
-
&::before {
|
|
304
|
-
@include di("chevron-down-grijs90");
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
&:hover,
|
|
308
|
-
&:active,
|
|
309
|
-
&.active {
|
|
310
|
-
background-color: $dso-accordion-conclusion-hover-bgcolor;
|
|
311
|
-
color: $dso-accordion-conclusion-color;
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.dso-accordion-section {
|
|
317
|
-
&.dso-open {
|
|
318
|
-
&:not(.dso-nested-accordion) {
|
|
319
|
-
> .dso-section-handle {
|
|
320
|
-
background-color: $dso-accordion-conclusion-nested-handle-bgcolor;
|
|
321
|
-
|
|
322
|
-
a,
|
|
323
|
-
button {
|
|
324
|
-
color: $dso-accordion-conclusion-color;
|
|
325
|
-
|
|
326
|
-
&::before {
|
|
327
|
-
@include di-variant("chevron-up-grijs90");
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
dso-attachments-counter {
|
|
331
|
-
--dso-attachments-counter-color: #{$grijs-60};
|
|
332
|
-
--dso-icon: var(--di-paperclip-grijs);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.dso-attachments {
|
|
336
|
-
color: $grijs-60;
|
|
337
|
-
|
|
338
|
-
&::after {
|
|
339
|
-
@include di-variant("paperclip-grijs");
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
&.dso-nested-accordion {
|
|
347
|
-
background-color: $dso-accordion-conclusion-nested-body-bgcolor;
|
|
348
|
-
border: 2px solid $dso-accordion-conclusion-border-color;
|
|
349
|
-
|
|
350
|
-
> .dso-section-handle {
|
|
351
|
-
a,
|
|
352
|
-
button {
|
|
353
|
-
&::before {
|
|
354
|
-
@include di-variant("chevron-up-grijs90");
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.dso-section-body {
|
|
363
|
-
border: 2px solid $dso-accordion-conclusion-border-color;
|
|
480
|
+
&,
|
|
481
|
+
.dso-nested-accordion .dso-accordion {
|
|
482
|
+
@include dso-accordion-conclusion();
|
|
364
483
|
}
|
|
365
484
|
}
|
|
366
485
|
|
|
367
486
|
&.dso-accordion-compact {
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
a,
|
|
372
|
-
button {
|
|
373
|
-
color: $dso-accordion-compact-color;
|
|
374
|
-
|
|
375
|
-
&::before {
|
|
376
|
-
@include di("chevron-down-grasgroen");
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
&:hover,
|
|
380
|
-
&:active,
|
|
381
|
-
&.active {
|
|
382
|
-
color: $dso-accordion-compact-color;
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
.dso-accordion-section {
|
|
388
|
-
&,
|
|
389
|
-
.dso-section-body {
|
|
390
|
-
border-top: 1px solid $dso-accordion-compact-border-color;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
&:last-child {
|
|
394
|
-
border-bottom: 1px solid $dso-accordion-compact-border-color;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
+ .dso-accordion-section {
|
|
398
|
-
margin-top: 0;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.dso-section-body {
|
|
402
|
-
margin-top: 0;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
&.dso-open {
|
|
406
|
-
&:not(.dso-nested-accordion) {
|
|
407
|
-
> .dso-section-handle {
|
|
408
|
-
a,
|
|
409
|
-
button {
|
|
410
|
-
&::before {
|
|
411
|
-
@include di-variant("chevron-up-grasgroen");
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
dso-attachments-counter {
|
|
415
|
-
--dso-attachments-counter-color: #{$grijs-60};
|
|
416
|
-
--dso-icon: var(--di-paperclip-grijs);
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.dso-attachments {
|
|
420
|
-
color: $grijs-60;
|
|
421
|
-
|
|
422
|
-
&::after {
|
|
423
|
-
@include di-variant("paperclip-grijs");
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
&.dso-nested-accordion {
|
|
431
|
-
> .dso-section-handle {
|
|
432
|
-
a,
|
|
433
|
-
button {
|
|
434
|
-
&::before {
|
|
435
|
-
@include di-variant("chevron-up-grasgroen");
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
> .dso-section-body {
|
|
441
|
-
padding-bottom: 0;
|
|
442
|
-
|
|
443
|
-
.dso-accordion-section:last-child {
|
|
444
|
-
border-bottom: 0;
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
}
|
|
487
|
+
&,
|
|
488
|
+
.dso-nested-accordion .dso-accordion {
|
|
489
|
+
@include dso-accordion-compact();
|
|
449
490
|
}
|
|
450
491
|
}
|
|
451
492
|
}
|
|
@@ -1,21 +1,49 @@
|
|
|
1
1
|
.tooltip {
|
|
2
2
|
@include tooltip_root();
|
|
3
3
|
|
|
4
|
+
.tooltip-arrow {
|
|
5
|
+
position: absolute;
|
|
6
|
+
}
|
|
7
|
+
|
|
4
8
|
&:not(.no-arrow) {
|
|
5
9
|
&.top {
|
|
6
10
|
@include tooltip_arrowTop();
|
|
11
|
+
|
|
12
|
+
.tooltip-arrow {
|
|
13
|
+
bottom: 0;
|
|
14
|
+
left: $tooltip-arrow-offset;
|
|
15
|
+
margin-left: $tooltip-arrow-margin * -2;
|
|
16
|
+
}
|
|
7
17
|
}
|
|
8
18
|
|
|
9
19
|
&.right {
|
|
10
20
|
@include tooltip_arrowRight();
|
|
21
|
+
|
|
22
|
+
.tooltip-arrow {
|
|
23
|
+
left: 0;
|
|
24
|
+
margin-top: $tooltip-arrow-margin * -2;
|
|
25
|
+
top: $tooltip-arrow-offset;
|
|
26
|
+
}
|
|
11
27
|
}
|
|
12
28
|
|
|
13
29
|
&.left {
|
|
14
30
|
@include tooltip_arrowLeft();
|
|
31
|
+
|
|
32
|
+
.tooltip-arrow {
|
|
33
|
+
margin-top: $tooltip-arrow-margin * -2;
|
|
34
|
+
right: 0;
|
|
35
|
+
top: $tooltip-arrow-offset;
|
|
36
|
+
}
|
|
15
37
|
}
|
|
16
38
|
|
|
17
39
|
&.bottom {
|
|
18
40
|
@include tooltip_arrowBottom();
|
|
41
|
+
|
|
42
|
+
.tooltip-arrow {
|
|
43
|
+
left: $tooltip-arrow-offset;
|
|
44
|
+
margin-left: $tooltip-arrow-margin * -2;
|
|
45
|
+
top: 0;
|
|
46
|
+
}
|
|
19
47
|
}
|
|
20
48
|
}
|
|
21
49
|
}
|
|
@@ -380,8 +380,25 @@ $dso-button-tertiary-active-color: $scampi;
|
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
+
@mixin button_map_focus() {
|
|
384
|
+
$focus-map: (
|
|
385
|
+
"background-color": $dso-button-secondary-hover-background-color,
|
|
386
|
+
"border-color": $dso-button-secondary-hover-background-color,
|
|
387
|
+
"color": $wit,
|
|
388
|
+
"type-download-di": "download-wit",
|
|
389
|
+
"type-extern-di": "external-link-wit"
|
|
390
|
+
);
|
|
391
|
+
|
|
392
|
+
&:focus-visible {
|
|
393
|
+
@include _button_shared-variant($focus-map);
|
|
394
|
+
|
|
395
|
+
outline: none;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
383
399
|
@mixin button_map() {
|
|
384
400
|
@include button_secondary();
|
|
401
|
+
@include button_map_focus();
|
|
385
402
|
|
|
386
403
|
border: 0;
|
|
387
404
|
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { ArgTypes, noControl } from "../../stories-helpers";
|
|
2
|
+
import { Header } from "./header.models";
|
|
3
|
+
|
|
4
|
+
export interface HeaderArgs {
|
|
5
|
+
logo: string;
|
|
6
|
+
subLogo: string;
|
|
7
|
+
showSubLogo: boolean;
|
|
8
|
+
mainMenu: {
|
|
9
|
+
label: string;
|
|
10
|
+
url: string;
|
|
11
|
+
}[];
|
|
12
|
+
useDropDownMenu: "always" | "never" | "auto";
|
|
13
|
+
loginUrl: string;
|
|
14
|
+
logoutUrl: string;
|
|
15
|
+
isLoggedIn: boolean;
|
|
16
|
+
showLoggedIn: boolean;
|
|
17
|
+
userProfileName: string;
|
|
18
|
+
userProfileUrl: string;
|
|
19
|
+
userHomeUrl: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const HeaderArgTypes: ArgTypes<HeaderArgs> = {
|
|
23
|
+
logo: noControl,
|
|
24
|
+
subLogo: noControl,
|
|
25
|
+
showSubLogo: {
|
|
26
|
+
name: "Sub logo tonen",
|
|
27
|
+
control: {
|
|
28
|
+
type: "boolean",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
mainMenu: noControl,
|
|
32
|
+
useDropDownMenu: {
|
|
33
|
+
name: "Dropdown menu",
|
|
34
|
+
options: ["always", "never", "auto"],
|
|
35
|
+
control: {
|
|
36
|
+
type: "select",
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
loginUrl: noControl,
|
|
40
|
+
logoutUrl: noControl,
|
|
41
|
+
showLoggedIn: {
|
|
42
|
+
name: "In-/uitloggen tonen",
|
|
43
|
+
control: {
|
|
44
|
+
type: "boolean",
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
isLoggedIn: {
|
|
48
|
+
name: "Ingelogd",
|
|
49
|
+
control: {
|
|
50
|
+
type: "boolean",
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
userProfileName: {
|
|
54
|
+
name: "Naam gebruiker",
|
|
55
|
+
control: {
|
|
56
|
+
type: "text",
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
userProfileUrl: noControl,
|
|
60
|
+
userHomeUrl: {
|
|
61
|
+
name: "Url naar gebruikersomgeving",
|
|
62
|
+
control: {
|
|
63
|
+
type: "text",
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export function headerArgsMapper(a: HeaderArgs): Header {
|
|
69
|
+
return {
|
|
70
|
+
logo: a.logo,
|
|
71
|
+
subLogo: a.subLogo,
|
|
72
|
+
showSubLogo: a.showSubLogo,
|
|
73
|
+
mainMenu: a.mainMenu,
|
|
74
|
+
useDropDownMenu: a.useDropDownMenu,
|
|
75
|
+
loginUrl: a.loginUrl,
|
|
76
|
+
logoutUrl: a.logoutUrl,
|
|
77
|
+
isLoggedIn: a.isLoggedIn,
|
|
78
|
+
showLoggedIn: a.showLoggedIn,
|
|
79
|
+
userProfileName: a.userProfileName,
|
|
80
|
+
userProfileUrl: a.userProfileUrl,
|
|
81
|
+
userHomeUrl: a.userHomeUrl,
|
|
82
|
+
};
|
|
83
|
+
}
|