dso-toolkit 50.0.1 → 51.0.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/dso.css +32 -64
- package/dist/index.js +2 -0
- package/package.json +1 -1
- package/src/components/accordion/accordion.scss +10 -0
- package/src/components/accordion/readme.md +2 -2
- package/src/components/breadcrumbs/breadcrumbs.mixins.scss +2 -1
- package/src/components/form/fieldset.scss +5 -0
- package/src/components/list-button/list-button.mixins.scss +16 -15
- package/src/dso.scss +0 -1
- package/src/legacy/legacy-header.scss +0 -58
package/dist/dso.css
CHANGED
|
@@ -628,7 +628,8 @@ body {
|
|
|
628
628
|
margin-top: 4px;
|
|
629
629
|
}
|
|
630
630
|
.dso-accordion-section.dso-success > .dso-section-handle a,
|
|
631
|
-
.dso-accordion-section.dso-success > .dso-section-handle button, .dso-accordion-section.dso-
|
|
631
|
+
.dso-accordion-section.dso-success > .dso-section-handle button, .dso-accordion-section.dso-error > .dso-section-handle a,
|
|
632
|
+
.dso-accordion-section.dso-error > .dso-section-handle button, .dso-accordion-section.dso-danger > .dso-section-handle a,
|
|
632
633
|
.dso-accordion-section.dso-danger > .dso-section-handle button, .dso-accordion-section.dso-warning > .dso-section-handle a,
|
|
633
634
|
.dso-accordion-section.dso-warning > .dso-section-handle button, .dso-accordion-section.dso-info > .dso-section-handle a,
|
|
634
635
|
.dso-accordion-section.dso-info > .dso-section-handle button {
|
|
@@ -643,6 +644,15 @@ body {
|
|
|
643
644
|
vertical-align: top;
|
|
644
645
|
width: 24px;
|
|
645
646
|
}
|
|
647
|
+
.dso-accordion-section.dso-error > .dso-section-handle a::after,
|
|
648
|
+
.dso-accordion-section.dso-error > .dso-section-handle button::after {
|
|
649
|
+
background: url("./dso-icons.svg#img-status-error") no-repeat;
|
|
650
|
+
background-position: center;
|
|
651
|
+
background-size: cover;
|
|
652
|
+
height: 24px;
|
|
653
|
+
vertical-align: top;
|
|
654
|
+
width: 24px;
|
|
655
|
+
}
|
|
646
656
|
.dso-accordion-section.dso-danger > .dso-section-handle a::after,
|
|
647
657
|
.dso-accordion-section.dso-danger > .dso-section-handle button::after {
|
|
648
658
|
background: url("./dso-icons.svg#img-status-danger") no-repeat;
|
|
@@ -1291,7 +1301,8 @@ blockquote p:last-child {
|
|
|
1291
1301
|
|
|
1292
1302
|
ol.breadcrumb {
|
|
1293
1303
|
list-style: none;
|
|
1294
|
-
margin-bottom:
|
|
1304
|
+
margin-bottom: 16px;
|
|
1305
|
+
margin-top: 16px;
|
|
1295
1306
|
padding: 0 8px;
|
|
1296
1307
|
}
|
|
1297
1308
|
ol.breadcrumb::before, ol.breadcrumb::after {
|
|
@@ -3882,6 +3893,12 @@ form fieldset > legend h6, .dso-section-body fieldset > legend h1,
|
|
|
3882
3893
|
.dso-section-body fieldset > legend h6 {
|
|
3883
3894
|
margin: 0;
|
|
3884
3895
|
}
|
|
3896
|
+
.form fieldset > legend + dso-alert,
|
|
3897
|
+
.form fieldset > legend + .alert, form fieldset > legend + dso-alert,
|
|
3898
|
+
form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert,
|
|
3899
|
+
.dso-section-body fieldset > legend + .alert {
|
|
3900
|
+
margin-top: 0;
|
|
3901
|
+
}
|
|
3885
3902
|
.form fieldset + fieldset:not(.form-group) > legend, form fieldset + fieldset:not(.form-group) > legend, .dso-section-body fieldset + fieldset:not(.form-group) > legend {
|
|
3886
3903
|
border-top: 1px solid #ccc;
|
|
3887
3904
|
padding-top: 32px;
|
|
@@ -6229,8 +6246,16 @@ ol.dso-list-unstyled {
|
|
|
6229
6246
|
background-color: #fff;
|
|
6230
6247
|
border-color: #39870c;
|
|
6231
6248
|
color: #191919;
|
|
6232
|
-
|
|
6233
|
-
|
|
6249
|
+
}
|
|
6250
|
+
@media screen and (max-width: 767px) {
|
|
6251
|
+
.dso-btn-group > *.dso-selected + .dso-input-number {
|
|
6252
|
+
box-shadow: inset 0 -1px 0 0 #39870c, inset 0 0 0 0 #39870c, inset -1px 0 0 0 #39870c, inset 1px 0 0 0 #39870c;
|
|
6253
|
+
}
|
|
6254
|
+
}
|
|
6255
|
+
@media screen and (min-width: 768px) {
|
|
6256
|
+
.dso-btn-group > *.dso-selected + .dso-input-number {
|
|
6257
|
+
box-shadow: inset 0 -1px 0 0 #39870c, inset 0 1px 0 0 #39870c, inset -1px 0 0 0 #39870c;
|
|
6258
|
+
}
|
|
6234
6259
|
}
|
|
6235
6260
|
.dso-btn-group > *:active + .dso-input-number, .dso-btn-group > *:active + .dso-input-number:hover,
|
|
6236
6261
|
.dso-btn-group > *.active + .dso-input-number,
|
|
@@ -6317,20 +6342,11 @@ ol.dso-list-unstyled {
|
|
|
6317
6342
|
.dso-list-button.dso-selected {
|
|
6318
6343
|
border-color: #39870c;
|
|
6319
6344
|
border-width: 1px;
|
|
6320
|
-
|
|
6345
|
+
box-shadow: inset 0px 0px 0px 1px #39870c, inset -1px 0px 0px 0px #39870c;
|
|
6321
6346
|
}
|
|
6322
6347
|
.dso-list-button.dso-selected.dso-single-count {
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
.dso-list-button.dso-selected.dso-single-count::after {
|
|
6326
|
-
background-color: #fff;
|
|
6327
|
-
bottom: 0;
|
|
6328
|
-
content: "";
|
|
6329
|
-
display: inline-block;
|
|
6330
|
-
position: absolute;
|
|
6331
|
-
right: -2px;
|
|
6332
|
-
top: 0;
|
|
6333
|
-
width: 2px;
|
|
6348
|
+
border-right: 0;
|
|
6349
|
+
box-shadow: #39870c 0px 1px 0px 0px inset, #39870c 1px 0px 0px 0px inset, #39870c 0px -1px 0px 0px inset;
|
|
6334
6350
|
}
|
|
6335
6351
|
.dso-list-button > span {
|
|
6336
6352
|
display: block;
|
|
@@ -8315,54 +8331,6 @@ dso-viewer-grid .dso-filterblok .dso-filterblok-address {
|
|
|
8315
8331
|
padding-bottom: 16px;
|
|
8316
8332
|
}
|
|
8317
8333
|
|
|
8318
|
-
header .dso-logo-bar {
|
|
8319
|
-
position: relative;
|
|
8320
|
-
}
|
|
8321
|
-
header .dso-tools-bar {
|
|
8322
|
-
float: right;
|
|
8323
|
-
margin-top: 25px;
|
|
8324
|
-
}
|
|
8325
|
-
@media screen and (max-width: 991px) {
|
|
8326
|
-
header .dso-tools-bar {
|
|
8327
|
-
clear: both;
|
|
8328
|
-
float: none;
|
|
8329
|
-
margin-top: 0;
|
|
8330
|
-
}
|
|
8331
|
-
}
|
|
8332
|
-
header .dso-search,
|
|
8333
|
-
header .dso-login {
|
|
8334
|
-
float: left;
|
|
8335
|
-
}
|
|
8336
|
-
@media screen and (max-width: 991px) {
|
|
8337
|
-
header .dso-search,
|
|
8338
|
-
header .dso-login {
|
|
8339
|
-
margin-bottom: 16px;
|
|
8340
|
-
}
|
|
8341
|
-
}
|
|
8342
|
-
header .dso-search {
|
|
8343
|
-
margin-right: 8px;
|
|
8344
|
-
}
|
|
8345
|
-
header .logo {
|
|
8346
|
-
width: 300px;
|
|
8347
|
-
}
|
|
8348
|
-
header ol.breadcrumb {
|
|
8349
|
-
margin-bottom: 16px;
|
|
8350
|
-
margin-top: 16px;
|
|
8351
|
-
}
|
|
8352
|
-
header h1 {
|
|
8353
|
-
font-size: 2em;
|
|
8354
|
-
margin-top: 10px;
|
|
8355
|
-
}
|
|
8356
|
-
header h2 {
|
|
8357
|
-
font-size: 1.2em;
|
|
8358
|
-
font-weight: 700;
|
|
8359
|
-
margin-top: 0;
|
|
8360
|
-
}
|
|
8361
|
-
header .form-control-feedback {
|
|
8362
|
-
color: #275937;
|
|
8363
|
-
font-size: 1.4em;
|
|
8364
|
-
}
|
|
8365
|
-
|
|
8366
8334
|
.panel {
|
|
8367
8335
|
margin-bottom: 24px;
|
|
8368
8336
|
background-color: #fff;
|
package/dist/index.js
CHANGED
|
@@ -11,6 +11,7 @@ export { storiesOfAutosuggest } from "./components/autosuggest/autosuggest.stori
|
|
|
11
11
|
export { storiesOfBadge } from "./components/badge/badge.stories-of.js";
|
|
12
12
|
export { storiesOfBanner } from "./components/banner/banner.stories-of.js";
|
|
13
13
|
export { storiesOfBreadcrumbs } from "./components/breadcrumbs/breadcrumbs.stories-of.js";
|
|
14
|
+
export { isButtonInterface } from "./components/button/button.models.js";
|
|
14
15
|
export { storiesOfButton } from "./components/button/button.stories-of.js";
|
|
15
16
|
export { storiesOfButtonRow } from "./components/button-row/button-row.stories-of.js";
|
|
16
17
|
export { storiesOfCard } from "./components/card/card.stories-of.js";
|
|
@@ -60,6 +61,7 @@ export { storiesOfTable } from "./components/table/table.stories-of.js";
|
|
|
60
61
|
export { storiesOfTabs } from "./components/tabs/tabs.stories-of.js";
|
|
61
62
|
export { storiesOfTile } from "./components/tile/tile.stories-of.js";
|
|
62
63
|
export { storiesOfTileGrid } from "./components/tile-grid/tile-grid.stories-of.js";
|
|
64
|
+
export { isToggletipInterface } from "./components/toggletip/toggletip.models.js";
|
|
63
65
|
export { storiesOfToggletip } from "./components/toggletip/toggletip.stories-of.js";
|
|
64
66
|
export { tooltipPositions, tooltipStrategy } from "./components/tooltip/tooltip.models.js";
|
|
65
67
|
export { storiesOfTooltip } from "./components/tooltip/tooltip.stories-of.js";
|
package/package.json
CHANGED
|
@@ -165,6 +165,7 @@
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
&.dso-success,
|
|
168
|
+
&.dso-error,
|
|
168
169
|
&.dso-danger,
|
|
169
170
|
&.dso-warning,
|
|
170
171
|
&.dso-info {
|
|
@@ -185,6 +186,15 @@
|
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
188
|
|
|
189
|
+
&.dso-error {
|
|
190
|
+
> .dso-section-handle {
|
|
191
|
+
a::after,
|
|
192
|
+
button::after {
|
|
193
|
+
@include di.base("status-error", accordion.$chevron-icon-size);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
188
198
|
&.dso-danger {
|
|
189
199
|
> .dso-section-handle {
|
|
190
200
|
a::after,
|
|
@@ -11,11 +11,11 @@ Een accordion (`.dso-accordion`) bestaat uit secties (`.dso-accordion-section`).
|
|
|
11
11
|
|
|
12
12
|
Een accordion section in de state "open" moet een `.dso-open` class op `.dso-accordion-section` krijgen. Dit zorgt voor het "chevron-up"-icoon. Ook als het `.dso-accordion-section` element niet in het DOM staat, moet een open accordion altijd `.dso-open` krijgen.
|
|
13
13
|
|
|
14
|
-
Er zijn 4 modifiers: `.dso-succes`, `.dso-warning`, `.dso-info` en `.dso-
|
|
14
|
+
Er zijn 4 modifiers: `.dso-succes`, `.dso-warning`, `.dso-info` en `.dso-error` die op de `.dso-accordion-section` kunnen.
|
|
15
15
|
|
|
16
16
|
Het is mogelijk om een accordion in een accordion te plaatsen. Er moet dan wel `.dso-nested-accordion` op de `.dso-accordion-section` worden gezet.
|
|
17
17
|
|
|
18
|
-
Voegt u via een modifier een statusicoon toe aan de uitklapbare knop (`.dso-succes`, `.dso-warning`, `.dso-info` of `.dso-
|
|
18
|
+
Voegt u via een modifier een statusicoon toe aan de uitklapbare knop (`.dso-succes`, `.dso-warning`, `.dso-info` of `.dso-error`)? Let dan op de volgende dingen:
|
|
19
19
|
|
|
20
20
|
- Beschrijf de betekenis van het statusicoon in de context van de accordion met een .sr-only span. Plaats deze in de tekst van de knop.
|
|
21
21
|
- Voorbeeldtekst voor `.dso-succes`: "Informatie bouwwerkzaamheden `<span class="sr-only">(afgerond)</span>`"
|
|
@@ -64,8 +64,18 @@
|
|
|
64
64
|
> *.dso-selected + #{$input-number-selector} {
|
|
65
65
|
@include _state-styling(colors.$wit, button.$secondary-hover-background-color, colors.$grijs-90);
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
@media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
|
|
68
|
+
box-shadow: inset 0 -1px 0 0 button.$secondary-hover-background-color,
|
|
69
|
+
inset 0 0 0 0 button.$secondary-hover-background-color,
|
|
70
|
+
inset -1px 0 0 0 button.$secondary-hover-background-color,
|
|
71
|
+
inset 1px 0 0 0 button.$secondary-hover-background-color;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
75
|
+
box-shadow: inset 0 -1px 0 0 button.$secondary-hover-background-color,
|
|
76
|
+
inset 0 1px 0 0 button.$secondary-hover-background-color,
|
|
77
|
+
inset -1px 0 0 0 button.$secondary-hover-background-color;
|
|
78
|
+
}
|
|
69
79
|
}
|
|
70
80
|
|
|
71
81
|
> *:active + #{$input-number-selector},
|
|
@@ -153,21 +163,12 @@
|
|
|
153
163
|
&.dso-selected {
|
|
154
164
|
border-color: colors.$grasgroen;
|
|
155
165
|
border-width: 1px;
|
|
156
|
-
|
|
166
|
+
box-shadow: inset 0px 0px 0px 1px colors.$grasgroen, inset -1px 0px 0px 0px colors.$grasgroen;
|
|
157
167
|
|
|
158
168
|
&.dso-single-count {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
background-color: colors.$wit;
|
|
163
|
-
bottom: 0;
|
|
164
|
-
content: "";
|
|
165
|
-
display: inline-block;
|
|
166
|
-
position: absolute;
|
|
167
|
-
right: -2px;
|
|
168
|
-
top: 0;
|
|
169
|
-
width: 2px;
|
|
170
|
-
}
|
|
169
|
+
border-right: 0;
|
|
170
|
+
box-shadow: colors.$grasgroen 0px 1px 0px 0px inset, colors.$grasgroen 1px 0px 0px 0px inset,
|
|
171
|
+
colors.$grasgroen 0px -1px 0px 0px inset;
|
|
171
172
|
}
|
|
172
173
|
}
|
|
173
174
|
|
package/src/dso.scss
CHANGED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
@use "../variables/units";
|
|
2
|
-
@use "../variables/colors";
|
|
3
|
-
@use "../variables/media-query-breakpoints";
|
|
4
|
-
|
|
5
|
-
header {
|
|
6
|
-
.dso-logo-bar {
|
|
7
|
-
position: relative;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.dso-tools-bar {
|
|
11
|
-
float: right;
|
|
12
|
-
margin-top: units.$u3 + 1px;
|
|
13
|
-
|
|
14
|
-
@media screen and (max-width: media-query-breakpoints.$screen-sm-max) {
|
|
15
|
-
clear: both;
|
|
16
|
-
float: none;
|
|
17
|
-
margin-top: 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.dso-search,
|
|
22
|
-
.dso-login {
|
|
23
|
-
float: left;
|
|
24
|
-
|
|
25
|
-
@media screen and (max-width: media-query-breakpoints.$screen-sm-max) {
|
|
26
|
-
margin-bottom: units.$u2;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.dso-search {
|
|
31
|
-
margin-right: units.$u1;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.logo {
|
|
35
|
-
width: 300px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
ol.breadcrumb {
|
|
39
|
-
margin-bottom: units.$u2;
|
|
40
|
-
margin-top: units.$u2;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
h1 {
|
|
44
|
-
font-size: 2em;
|
|
45
|
-
margin-top: 10px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
h2 {
|
|
49
|
-
font-size: 1.2em;
|
|
50
|
-
font-weight: 700;
|
|
51
|
-
margin-top: 0;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.form-control-feedback {
|
|
55
|
-
color: colors.$bosgroen;
|
|
56
|
-
font-size: 1.4em;
|
|
57
|
-
}
|
|
58
|
-
}
|