dso-toolkit 62.0.0 → 62.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/CHANGELOG.md CHANGED
@@ -5,6 +5,34 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
5
5
 
6
6
  ## Next
7
7
 
8
+ ### 🦴 62.2.0 - 02-11-2023
9
+
10
+ ### Fixed
11
+ * Anchor: Icon no wrap ([#2329](https://github.com/dso-toolkit/dso-toolkit/issues/2329))
12
+ * Viewer Grid (VDK): Diverse bevindingen ([#2410](https://github.com/dso-toolkit/dso-toolkit/issues/2410))
13
+ * Image: Large image overflows container ([#2401](https://github.com/dso-toolkit/dso-toolkit/issues/2401))
14
+
15
+ ### Added
16
+ * Header: "Help"-button toevoegen ([#2334](https://github.com/dso-toolkit/dso-toolkit/issues/2334))
17
+ * Ozon Content: Ondersteuning voor XMLDocument ([#2416](https://github.com/dso-toolkit/dso-toolkit/issues/2416))
18
+
19
+ ### Changed
20
+ * Highlight Box: aspect ratio banner aanpassen ([#2383](https://github.com/dso-toolkit/dso-toolkit/issues/2383))
21
+
22
+ ### Docs
23
+ * Logo: Documenteer afgesproken waardes van het ribbon attribuut ([#2399](https://github.com/dso-toolkit/dso-toolkit/issues/2399))
24
+ * Storybook: vervang 'lorem ipsum' door meer echt lijkende content ([#2412](https://github.com/dso-toolkit/dso-toolkit/issues/2412))
25
+ * Readme: Verwijs naar de juiste dso.css ([#2377](https://github.com/dso-toolkit/dso-toolkit/issues/2377))
26
+
27
+ ## 🐼 62.1.0 - 27-10-2023
28
+
29
+ ### Added
30
+ * Graphics: Foutmelding ([#2388](https://github.com/dso-toolkit/dso-toolkit/issues/2388))
31
+ * Accordion: `onDsoAnimationStartEvent`, instant `scrollIntoView()`, `hasNestedAccordion` prop en `AccordionSection.focusHandle()` ([#2408](https://github.com/dso-toolkit/dso-toolkit/issues/2408))
32
+
33
+ ### Fixed
34
+ * Date Picker: Input en output worden niet prepadded met "0" ([#2409](https://github.com/dso-toolkit/dso-toolkit/issues/2409))
35
+
8
36
  ## 🎤 62.0.0 - 20-10-2023
9
37
 
10
38
  ## Added
package/README.md CHANGED
@@ -40,7 +40,11 @@ The same goes for the component library:
40
40
  | _tags only_ | _releases_ | `https://www.dso-toolkit.nl/VERSION/` |
41
41
 
42
42
  ```html
43
- <link rel="stylesheet" href="https://cdn.dso-toolkit.nl/[master|VERSION]/dso.css" />
43
+ <link rel="stylesheet" href="https://cdn.dso-toolkit.nl/dso-toolkit/[master|VERSION]/dist/dso.css" />
44
+
45
+ or minified:
46
+
47
+ <link rel="stylesheet" href="https://cdn.dso-toolkit.nl/dso-toolkit/[master|VERSION]/dist/dso.min.css" />
44
48
  ```
45
49
 
46
50
  For Web Components:
@@ -0,0 +1,47 @@
1
+ <svg viewBox="0 0 431 218.5" xmlns="http://www.w3.org/2000/svg">
2
+ <g fill="none" fill-rule="evenodd">
3
+ <g fill="#F2F2F2">
4
+ <path d="M250.395 0c29.056 0 53.873 18.135 63.738 43.698a95.645 95.645 0 0 1 21.562-2.448C388.33 41.25 431 83.895 431 136.5c0 34.551-18.407 64.805-45.955 81.502l-361.93-.001C8.557 199.644 0 177.216 0 153 0 90.868 56.333 40.5 125.823 40.5c20.905 0 40.62 4.559 57.968 12.625C190.674 22.71 217.881 0 250.395 0Z"/>
5
+ <circle cx="56" cy="36" r="12"/>
6
+ <circle cx="38" cy="51" r="6"/>
7
+ <circle transform="rotate(15 320.136 22.965)" cx="320.136" cy="22.965" r="8"/>
8
+ <circle transform="rotate(15 341.55 30.414)" cx="341.551" cy="30.414" r="4"/>
9
+ </g>
10
+ <g transform="translate(110 110)">
11
+ <rect stroke="#527A5F" stroke-width="2.5" fill="#FFF" x="149.836" y="1.25" width="16.011" height="104.5" rx="2.5"/>
12
+ <path d="M164.597 0a2.5 2.5 0 0 1 2.5 2.5v102a2.5 2.5 0 0 1-2.5 2.5h-7.213c-7.553-3.448-2.424-10.65-.443-34.063.55-6.512 9.378-59.512 3.791-71.536l1.084-1.253A6.266 6.266 0 0 0 162.871 0h1.726Z" fill="#A9BDAF" opacity=".5"/>
13
+ <rect stroke="#527A5F" stroke-width="2.5" fill="#FFF" x="43.274" y="1.25" width="16.011" height="104.5" rx="2.5"/>
14
+ <path d="M58.035 0a2.5 2.5 0 0 1 2.5 2.5v102a2.5 2.5 0 0 1-2.5 2.5h-7.213c-7.553-3.448-2.424-10.65-.443-34.063.55-6.512 9.378-59.512 3.792-71.536L55.255.148A6.266 6.266 0 0 0 56.31 0h1.725Z" fill="#A9BDAF" opacity=".5"/>
15
+ <rect stroke="#527A5F" stroke-width="2.5" x="43.274" y="1.25" width="16.011" height="104.5" rx="2.5"/>
16
+ <rect stroke="#527A5F" stroke-width="2.5" x="149.836" y="1.25" width="16.011" height="104.5" rx="2.5"/>
17
+ <rect stroke="#527A5F" stroke-width="2.5" fill="#EBF3E6" x="1.25" y="52.25" width="208.122" height="26" rx="2.5"/>
18
+ <rect stroke="#527A5F" stroke-width="2.5" fill="#EBF3E6" x="1.25" y="8.25" width="208.122" height="26" rx="2.5"/>
19
+ <path d="M17.581 51 9.944 79.5H2.5A2.5 2.5 0 0 1 0 77V53.5A2.5 2.5 0 0 1 2.5 51h15.081Zm30 0-7.637 28.5H26.508L34.145 51h13.436Zm30 0-7.637 28.5H56.508L64.145 51h13.436Zm30 0-7.637 28.5H86.508L94.145 51h13.436Zm30 0-7.637 28.5h-13.436l7.637-28.5h13.436Zm30 0-7.637 28.5h-13.436l7.637-28.5h13.436Zm40.541 0a2.5 2.5 0 0 1 2.5 2.5V77a2.5 2.5 0 0 1-2.5 2.5h-31.614l7.637-28.5h23.977ZM29.371 7l-7.637 28.5H2.5A2.5 2.5 0 0 1 0 33V9.5A2.5 2.5 0 0 1 2.5 7h26.871Zm30 0-7.637 28.5H38.298L45.935 7h13.436Zm30 0-7.637 28.5H68.298L75.935 7h13.436Zm30 0-7.637 28.5H98.298L105.935 7h13.436Zm30 0-7.637 28.5h-13.436L135.935 7h13.436Zm30 0-7.637 28.5h-13.436L165.935 7h13.436Zm28.751 0a2.5 2.5 0 0 1 2.5 2.5V33a2.5 2.5 0 0 1-2.5 2.5h-19.824L195.935 7h12.187Z" fill="#FFF"/>
20
+ <path d="M208.22 7.003 208.122 7a2.5 2.5 0 0 1 2.5 2.5V33a2.5 2.5 0 0 1-2.5 2.5l-29.577.001c14.15-3.411 25.386-11.498 29.443-25.788l.232-2.71ZM208.22 51.003l-.098-.003a2.5 2.5 0 0 1 2.5 2.5V77a2.5 2.5 0 0 1-2.5 2.5l-29.577.001c14.15-3.411 25.386-11.498 29.443-25.788l.232-2.71Z" fill="#A9BDAF" opacity=".5"/>
21
+ <rect stroke="#527A5F" stroke-width="3" x="1.5" y="8.5" width="207.622" height="25.5" rx="2.5"/>
22
+ <rect stroke="#527A5F" stroke-width="3" x="1.5" y="52.5" width="207.622" height="25.5" rx="2.5"/>
23
+ </g>
24
+ <g transform="translate(60 74)">
25
+ <rect stroke="#527A5F" stroke-width="2.5" fill="#FFF" x="1.25" y="1.25" width="80.048" height="54.5" rx="2.5"/>
26
+ <path d="M76.046 3.5a2.5 2.5 0 0 1 2.5 2.5v45a2.5 2.5 0 0 1-2.5 2.5H6.002a2.5 2.5 0 0 1-2.5-2.5v-6.08L44.948 3.5h31.098Z" fill="#B0CF9E"/>
27
+ <rect stroke="#527A5F" stroke-width="2" x="4.502" y="4.5" width="73.044" height="48" rx="2.5"/>
28
+ <rect stroke="#527A5F" stroke-width="2" fill="#FFF" x="40.022" y="54.5" width="3.503" height="55" rx="1.752"/>
29
+ <path d="M41.524 106.5c20.977 0 38.208 16.029 40.1 36.5H1.423c1.892-20.471 19.123-36.5 40.1-36.5Z" stroke="#527A5F" stroke-width="2" fill="#EBF3E6" stroke-linejoin="round"/>
30
+ <path d="M41.524 106.5c20.977 0 38.208 16.029 40.1 36.5H1.423c1.892-20.471 19.123-36.5 40.1-36.5Z" stroke="#527A5F" stroke-width="2" fill="#EBF3E6" stroke-linejoin="round"/>
31
+ <path d="M13.853 130.539c-.78 3.805 2.903 10.4-.783 11.626l-.308.834-11.34.001c1.358-14.683 10.607-27.081 23.469-32.918-5.494 5.38-9.276 11.856-11.038 20.457Z" fill="#FFF"/>
32
+ <path d="M41.524 106.5c20.977 0 38.208 16.029 40.1 36.5h-13.23c1.798-11.177-7.204-24.039-16.5-29.09-3.997-2.17-8.598-3.199-12.4-5.695-.87-.572-.81-1.133.292-1.678a40.86 40.86 0 0 1 1.738-.037Z" fill="#A9BDAF" opacity=".5"/>
33
+ <path d="M41.524 106.5c20.977 0 38.208 16.029 40.1 36.5H1.423c1.892-20.471 19.123-36.5 40.1-36.5Z" stroke="#527A5F" stroke-width="3" stroke-linejoin="round"/>
34
+ </g>
35
+ <path d="m339.757 143 19.477 73h-53.929l19.478-73h14.974Z" stroke="#527A5F" stroke-width="2" fill="#FFF"/>
36
+ <path d="m351.731 184 4.536 17h-47.994l4.536-17h38.922Zm-5.604-21 2.402 9h-32.518l2.401-9h27.715Zm-3.735-14 1.334 5h-22.913l1.334-5h20.245Z" fill="#B0CF9E"/>
37
+ <path d="M350.264 178.502 358.935 211h7.104l.001 4.13c-2.89 1.22-6.167.932-9.456.48l-.842-.12-.42-.06-.84-.12c-1.258-.177-2.507-.337-3.724-.402-9.978-.538-20.271.264-29.872-2.505-1.463-.422.425-1.89 2.338-3.192l.31-.21c.772-.519 1.52-1 2.02-1.362 12.975-9.401 24.036-13.04 24.71-29.137Z" fill="#A9BDAF" opacity=".5"/>
38
+ <path stroke="#527A5F" stroke-width="2" d="M299 212h66.039v4H299z"/>
39
+ <path stroke="#527A5F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M327.267 145.75h10.006"/>
40
+ <path stroke="#527A5F" stroke-width="2.5" stroke-linejoin="round" d="M324.606 142.655h15.34l18.596 69.69h-52.53z"/>
41
+ <path stroke="#527A5F" stroke-width="2.5" fill="#FFF" stroke-linejoin="round" d="M298 211h68.039v6H298z"/>
42
+ <path d="m251.386 94.5-35.73 35.71-35.73-35.71 35.73-35.71 35.73 35.71Z" stroke="#527A5F" stroke-width="2.5" fill="#FFF"/>
43
+ <path d="M215.656 57.023 253.154 94.5l-37.498 37.477-16.922-16.913 15.062-56.183 1.86-1.858Z" fill="#B0CF9E"/>
44
+ <path d="m251.386 94.5-35.73 35.71-35.73-35.71 35.73-35.71 35.73 35.71Z" stroke="#527A5F" stroke-width="2.5"/>
45
+ <path d="M215.055 101.9c-.966 0-1.633-.125-2-.375-.366-.25-.55-.658-.55-1.225V79.5c0-1.067 1-1.6 3-1.6h2.15c.967 0 1.709.117 2.225.35.517.233.775.583.775 1.05l-2.5 21c-.066.567-.266.975-.6 1.225-.333.25-.983.375-1.95.375h-.55Zm-.55 11.2c-2 0-3-.533-3-1.6v-4.6c0-1.067 1-1.6 3-1.6h1.6c2 0 3 .533 3 1.6v4.6c0 1.067-1 1.6-3 1.6h-1.6Z" fill="#275937" fill-rule="nonzero"/>
46
+ </g>
47
+ </svg>
package/dist/dso.css CHANGED
@@ -1,5 +1,5 @@
1
- /* DSO Toolkit version: 62.0.0 */
2
- :root { --dso-toolkit-version: 62.0.0 }
1
+ /* DSO Toolkit version: 62.2.0 */
2
+ :root { --dso-toolkit-version: 62.2.0 }
3
3
 
4
4
  @font-face {
5
5
  font-family: "Asap";
@@ -1008,27 +1008,20 @@ a:active {
1008
1008
  a:visited {
1009
1009
  color: var(--link-visited-color);
1010
1010
  }
1011
- a.download::after, a.extern::after {
1011
+ a:not(.dso-primary, .dso-secondary, .dso-tertiary).download, a:not(.dso-primary, .dso-secondary, .dso-tertiary).extern {
1012
+ padding-inline-end: 1.5em;
1013
+ background-repeat: no-repeat;
1014
+ background-size: 1.25em 1.25em;
1015
+ background-position: bottom 0 right 0;
1016
+ }
1017
+ a:not(.dso-primary, .dso-secondary, .dso-tertiary).download::after, a:not(.dso-primary, .dso-secondary, .dso-tertiary).extern::after {
1012
1018
  content: "";
1013
- display: inline-block;
1014
- margin-left: 4px;
1015
- vertical-align: top;
1016
1019
  }
1017
- a.download::after {
1018
- background: url("./dso-icons.svg#img-download") no-repeat;
1019
- background-position: center;
1020
- background-size: cover;
1021
- height: 24px;
1022
- vertical-align: top;
1023
- width: 24px;
1020
+ a:not(.dso-primary, .dso-secondary, .dso-tertiary).download {
1021
+ background-image: url("./dso-icons.svg#img-download");
1024
1022
  }
1025
- a.extern::after {
1026
- background: url("./dso-icons.svg#img-external-link") no-repeat;
1027
- background-position: center;
1028
- background-size: cover;
1029
- height: 24px;
1030
- vertical-align: top;
1031
- width: 24px;
1023
+ a:not(.dso-primary, .dso-secondary, .dso-tertiary).extern {
1024
+ background-image: url("./dso-icons.svg#img-external-link");
1032
1025
  }
1033
1026
 
1034
1027
  .dso-app-heading {
@@ -1267,21 +1260,11 @@ a.extern::after {
1267
1260
  vertical-align: top;
1268
1261
  width: 24px;
1269
1262
  }
1270
- .dso-banner:not(.row) a.download::after {
1271
- background: url("./dso-icons.svg#img-download-grijs90") no-repeat;
1272
- background-position: center;
1273
- background-size: cover;
1274
- height: 24px;
1275
- vertical-align: top;
1276
- width: 24px;
1263
+ .dso-banner:not(.row) a.download {
1264
+ background-image: url("./dso-icons.svg#img-download-grijs90");
1277
1265
  }
1278
- .dso-banner:not(.row) a.extern::after {
1279
- background: url("./dso-icons.svg#img-external-link-grijs90") no-repeat;
1280
- background-position: center;
1281
- background-size: cover;
1282
- height: 24px;
1283
- vertical-align: top;
1284
- width: 24px;
1266
+ .dso-banner:not(.row) a.extern {
1267
+ background-image: url("./dso-icons.svg#img-external-link-grijs90");
1285
1268
  }
1286
1269
 
1287
1270
  dso-banner {
@@ -1421,21 +1404,11 @@ dso-banner[status=warning]:not([no-icon]) .row > div::before {
1421
1404
  vertical-align: top;
1422
1405
  width: 24px;
1423
1406
  }
1424
- dso-banner a.download::after {
1425
- background: url("./dso-icons.svg#img-download-grijs90") no-repeat;
1426
- background-position: center;
1427
- background-size: cover;
1428
- height: 24px;
1429
- vertical-align: top;
1430
- width: 24px;
1407
+ dso-banner a.download {
1408
+ background-image: url("./dso-icons.svg#img-download-grijs90");
1431
1409
  }
1432
- dso-banner a.extern::after {
1433
- background: url("./dso-icons.svg#img-external-link-grijs90") no-repeat;
1434
- background-position: center;
1435
- background-size: cover;
1436
- height: 24px;
1437
- vertical-align: top;
1438
- width: 24px;
1410
+ dso-banner a.extern {
1411
+ background-image: url("./dso-icons.svg#img-external-link-grijs90");
1439
1412
  }
1440
1413
 
1441
1414
  blockquote {
@@ -2432,6 +2405,7 @@ dso-card img {
2432
2405
  display: flex;
2433
2406
  height: 24px;
2434
2407
  width: 24px;
2408
+ max-inline-size: unset;
2435
2409
  }
2436
2410
  .dso-card.dso-wide-image img, .dso-card[image-shape=wide] img,
2437
2411
  dso-card.dso-wide-image img,
@@ -3754,21 +3728,11 @@ footer .dso-link-list a::before, footer .dso-link-list a:active::before, footer
3754
3728
  vertical-align: top;
3755
3729
  width: 24px;
3756
3730
  }
3757
- footer .dso-link-list a.download::after {
3758
- background: url("./dso-icons.svg#img-download-zwart") no-repeat;
3759
- background-position: center;
3760
- background-size: cover;
3761
- height: 24px;
3762
- vertical-align: top;
3763
- width: 24px;
3731
+ footer .dso-link-list a.download {
3732
+ background-image: url("./dso-icons.svg#img-download-zwart");
3764
3733
  }
3765
- footer .dso-link-list a.extern::after {
3766
- background: url("./dso-icons.svg#img-external-link-zwart") no-repeat;
3767
- background-position: center;
3768
- background-size: cover;
3769
- height: 24px;
3770
- vertical-align: top;
3771
- width: 24px;
3734
+ footer .dso-link-list a.extern {
3735
+ background-image: url("./dso-icons.svg#img-external-link-zwart");
3772
3736
  }
3773
3737
  footer h2 {
3774
3738
  border-bottom: 1px solid #ccc;
@@ -5368,6 +5332,7 @@ h6,
5368
5332
  margin-top: 16px;
5369
5333
  padding: 16px;
5370
5334
  margin-bottom: 24px;
5335
+ container-type: inline-size;
5371
5336
  }
5372
5337
  .dso-highlight-box.dso-white {
5373
5338
  background-color: #fff;
@@ -5421,6 +5386,17 @@ h6,
5421
5386
  margin-top: -16px;
5422
5387
  object-fit: cover;
5423
5388
  width: calc(100% + 32px);
5389
+ max-inline-size: unset;
5390
+ }
5391
+ @container (min-width: 360px) and (max-width: 470px) {
5392
+ .dso-highlight-box > .dso-highlight-box-banner {
5393
+ aspect-ratio: 3/1;
5394
+ }
5395
+ }
5396
+ @container (min-width: 471px) {
5397
+ .dso-highlight-box > .dso-highlight-box-banner {
5398
+ aspect-ratio: 3.5/1;
5399
+ }
5424
5400
  }
5425
5401
  .dso-highlight-box > .dso-step-counter:first-child + .dso-rich-content *:first-child,
5426
5402
  .dso-highlight-box > .dso-rich-content:first-child *:first-child {
@@ -5467,21 +5443,11 @@ h6,
5467
5443
  vertical-align: top;
5468
5444
  width: 24px;
5469
5445
  }
5470
- .dso-highlight-box:not(.dso-border):not(.dso-white) .dso-link-list a.download::after {
5471
- background: url("./dso-icons.svg#img-download-zwart") no-repeat;
5472
- background-position: center;
5473
- background-size: cover;
5474
- height: 24px;
5475
- vertical-align: top;
5476
- width: 24px;
5446
+ .dso-highlight-box:not(.dso-border):not(.dso-white) .dso-link-list a.download {
5447
+ background-image: url("./dso-icons.svg#img-download-zwart");
5477
5448
  }
5478
- .dso-highlight-box:not(.dso-border):not(.dso-white) .dso-link-list a.extern::after {
5479
- background: url("./dso-icons.svg#img-external-link-zwart") no-repeat;
5480
- background-position: center;
5481
- background-size: cover;
5482
- height: 24px;
5483
- vertical-align: top;
5484
- width: 24px;
5449
+ .dso-highlight-box:not(.dso-border):not(.dso-white) .dso-link-list a.extern {
5450
+ background-image: url("./dso-icons.svg#img-external-link-zwart");
5485
5451
  }
5486
5452
 
5487
5453
  dso-highlight-box > .dso-highlight-box-banner {
@@ -5491,6 +5457,17 @@ dso-highlight-box > .dso-highlight-box-banner {
5491
5457
  margin-top: -16px;
5492
5458
  object-fit: cover;
5493
5459
  width: calc(100% + 32px);
5460
+ max-inline-size: unset;
5461
+ }
5462
+ @container (min-width: 360px) and (max-width: 470px) {
5463
+ dso-highlight-box > .dso-highlight-box-banner {
5464
+ aspect-ratio: 3/1;
5465
+ }
5466
+ }
5467
+ @container (min-width: 471px) {
5468
+ dso-highlight-box > .dso-highlight-box-banner {
5469
+ aspect-ratio: 3.5/1;
5470
+ }
5494
5471
  }
5495
5472
  dso-highlight-box > .dso-step-counter:first-child + .dso-rich-content *:first-child,
5496
5473
  dso-highlight-box > .dso-rich-content:first-child *:first-child {
@@ -5565,21 +5542,11 @@ dso-highlight-box:not([border]):not([white]) .dso-link-list a::before, dso-highl
5565
5542
  vertical-align: top;
5566
5543
  width: 24px;
5567
5544
  }
5568
- dso-highlight-box:not([border]):not([white]) .dso-link-list a.download::after {
5569
- background: url("./dso-icons.svg#img-download-zwart") no-repeat;
5570
- background-position: center;
5571
- background-size: cover;
5572
- height: 24px;
5573
- vertical-align: top;
5574
- width: 24px;
5545
+ dso-highlight-box:not([border]):not([white]) .dso-link-list a.download {
5546
+ background-image: url("./dso-icons.svg#img-download-zwart");
5575
5547
  }
5576
- dso-highlight-box:not([border]):not([white]) .dso-link-list a.extern::after {
5577
- background: url("./dso-icons.svg#img-external-link-zwart") no-repeat;
5578
- background-position: center;
5579
- background-size: cover;
5580
- height: 24px;
5581
- vertical-align: top;
5582
- width: 24px;
5548
+ dso-highlight-box:not([border]):not([white]) .dso-link-list a.extern {
5549
+ background-image: url("./dso-icons.svg#img-external-link-zwart");
5583
5550
  }
5584
5551
 
5585
5552
  hr {
@@ -5600,6 +5567,7 @@ svg.di {
5600
5567
  img {
5601
5568
  border: 0;
5602
5569
  vertical-align: middle;
5570
+ max-inline-size: 100%;
5603
5571
  }
5604
5572
 
5605
5573
  .img-responsive {
@@ -8219,6 +8187,104 @@ dso-viewer-grid .dso-filterblok .dso-filterblok-address {
8219
8187
  flex-basis: auto;
8220
8188
  }
8221
8189
  }
8190
+ dso-viewer-grid img {
8191
+ max-inline-size: unset;
8192
+ }
8193
+ dso-viewer-grid .dso-toggle-main-button {
8194
+ display: inline-block;
8195
+ font-size: 1em;
8196
+ font-weight: 500;
8197
+ margin-bottom: 0;
8198
+ text-decoration: none;
8199
+ touch-action: manipulation;
8200
+ text-align: left;
8201
+ user-select: none;
8202
+ vertical-align: middle;
8203
+ border: 0;
8204
+ color: #39870c;
8205
+ line-height: 1;
8206
+ padding: 0;
8207
+ background-color: transparent;
8208
+ padding-block: 16px;
8209
+ }
8210
+ dso-viewer-grid .dso-toggle-main-button:focus, dso-viewer-grid .dso-toggle-main-button:focus-visible {
8211
+ outline-offset: 2px;
8212
+ }
8213
+ dso-viewer-grid .dso-toggle-main-button:active {
8214
+ outline: 0;
8215
+ }
8216
+ dso-viewer-grid .dso-toggle-main-button[disabled] {
8217
+ color: #afcf9d;
8218
+ }
8219
+ dso-viewer-grid .dso-toggle-main-button[disabled].dso-spinner-left, dso-viewer-grid .dso-toggle-main-button[disabled].dso-spinner-right {
8220
+ color: #39870c;
8221
+ }
8222
+ dso-viewer-grid .dso-toggle-main-button:not([disabled]):hover {
8223
+ color: #275937;
8224
+ text-decoration: underline;
8225
+ text-underline-position: under;
8226
+ }
8227
+ dso-viewer-grid .dso-toggle-main-button:not([disabled]):active {
8228
+ color: #173521;
8229
+ }
8230
+ dso-viewer-grid .dso-toggle-main-button.dso-align {
8231
+ line-height: calc(1.5em - 1px);
8232
+ padding: 11px 0;
8233
+ position: relative;
8234
+ }
8235
+ dso-viewer-grid .dso-toggle-main-button.dso-truncate {
8236
+ max-width: 100%;
8237
+ overflow: hidden;
8238
+ text-overflow: ellipsis;
8239
+ white-space: nowrap;
8240
+ }
8241
+ dso-viewer-grid .dso-toggle-main-button.dso-spinner-left::before {
8242
+ background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E");
8243
+ background-repeat: no-repeat;
8244
+ content: "";
8245
+ display: inline-block;
8246
+ height: 24px;
8247
+ vertical-align: middle;
8248
+ width: 24px;
8249
+ margin-right: 8px;
8250
+ }
8251
+ dso-viewer-grid .dso-toggle-main-button.dso-spinner-right::after {
8252
+ background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E");
8253
+ background-repeat: no-repeat;
8254
+ content: "";
8255
+ display: inline-block;
8256
+ height: 24px;
8257
+ vertical-align: middle;
8258
+ width: 24px;
8259
+ margin-left: 8px;
8260
+ }
8261
+ dso-viewer-grid .dso-toggle-main-button dso-icon + span:not(.sr-only),
8262
+ dso-viewer-grid .dso-toggle-main-button svg.di + span:not(.sr-only),
8263
+ dso-viewer-grid .dso-toggle-main-button span:not(.sr-only) + dso-icon,
8264
+ dso-viewer-grid .dso-toggle-main-button span:not(.sr-only) + svg.di {
8265
+ margin-left: 8px;
8266
+ }
8267
+ dso-viewer-grid .dso-toggle-main-button svg.di.di-chevron-down + span:not(.sr-only),
8268
+ dso-viewer-grid .dso-toggle-main-button svg.di.di-chevron-up + span:not(.sr-only),
8269
+ dso-viewer-grid .dso-toggle-main-button span:not(.sr-only) + svg.di.di-chevron-down,
8270
+ dso-viewer-grid .dso-toggle-main-button span:not(.sr-only) + svg.di.di-chevron-up {
8271
+ margin-left: 4px;
8272
+ }
8273
+ dso-viewer-grid .dso-toggle-main-button dso-icon[icon=chevron-left] + span:not(.sr-only),
8274
+ dso-viewer-grid .dso-toggle-main-button dso-icon[icon=chevron-right] + span:not(.sr-only),
8275
+ dso-viewer-grid .dso-toggle-main-button svg.di.di-angle-down + span:not(.sr-only),
8276
+ dso-viewer-grid .dso-toggle-main-button svg.di.di-angle-up + span:not(.sr-only),
8277
+ dso-viewer-grid .dso-toggle-main-button span:not(.sr-only) + svg.di.di-angle-down,
8278
+ dso-viewer-grid .dso-toggle-main-button span:not(.sr-only) + svg.di.di-angle-up,
8279
+ dso-viewer-grid .dso-toggle-main-button span:not(.sr-only) + dso-icon[icon=chevron-left],
8280
+ dso-viewer-grid .dso-toggle-main-button span:not(.sr-only) + dso-icon[icon=chevron-right] {
8281
+ margin-left: 0;
8282
+ }
8283
+ dso-viewer-grid .dso-toggle-main-button dso-icon,
8284
+ dso-viewer-grid .dso-toggle-main-button svg.di,
8285
+ dso-viewer-grid .dso-toggle-main-button span {
8286
+ vertical-align: middle;
8287
+ }
8222
8288
 
8223
8289
  .dso-whitebox {
8224
8290
  background: #fff;
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.0.0",
5
+ "version": "62.2.0",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -57,11 +57,14 @@
57
57
  }
58
58
 
59
59
  @mixin mode-base() {
60
+ padding-inline-end: 1.5em;
61
+
62
+ background-repeat: no-repeat;
63
+ background-size: 1.25em 1.25em;
64
+ background-position: bottom 0 right 0;
65
+
60
66
  &::after {
61
67
  content: "";
62
- display: inline-block;
63
- margin-left: anchor-variables.$spacer-width;
64
- vertical-align: icon.$vertical-align;
65
68
  }
66
69
  }
67
70
 
@@ -70,9 +73,7 @@
70
73
  @include mode-base();
71
74
  }
72
75
 
73
- &::after {
74
- @include di.base("download");
75
- }
76
+ @include di.variant("download");
76
77
  }
77
78
 
78
79
  @mixin mode-extern($base-styling: false) {
@@ -80,7 +81,5 @@
80
81
  @include mode-base();
81
82
  }
82
83
 
83
- &::after {
84
- @include di.base("external-link");
85
- }
84
+ @include di.variant("external-link");
86
85
  }
@@ -5,16 +5,19 @@
5
5
  a {
6
6
  @include anchor-mixins.root();
7
7
 
8
- &.download,
9
- &.extern {
10
- @include anchor-mixins.mode-base();
11
- }
8
+ &:not(.dso-primary, .dso-secondary, .dso-tertiary) {
9
+ // todo: alternative for :not
10
+ &.download,
11
+ &.extern {
12
+ @include anchor-mixins.mode-base();
13
+ }
12
14
 
13
- &.download {
14
- @include anchor-mixins.mode-download();
15
- }
15
+ &.download {
16
+ @include anchor-mixins.mode-download();
17
+ }
16
18
 
17
- &.extern {
18
- @include anchor-mixins.mode-extern();
19
+ &.extern {
20
+ @include anchor-mixins.mode-extern();
21
+ }
19
22
  }
20
23
  }
@@ -70,15 +70,11 @@
70
70
 
71
71
  a {
72
72
  &.download {
73
- &::after {
74
- @include di.base("download-grijs90");
75
- }
73
+ @include di.variant("download-grijs90");
76
74
  }
77
75
 
78
76
  &.extern {
79
- &::after {
80
- @include di.base("external-link-grijs90");
81
- }
77
+ @include di.variant("external-link-grijs90");
82
78
  }
83
79
  }
84
80
  }
@@ -146,15 +142,11 @@ dso-banner {
146
142
 
147
143
  a {
148
144
  &.download {
149
- &::after {
150
- @include di.base("download-grijs90");
151
- }
145
+ @include di.variant("download-grijs90");
152
146
  }
153
147
 
154
148
  &.extern {
155
- &::after {
156
- @include di.base("external-link-grijs90");
157
- }
149
+ @include di.variant("external-link-grijs90");
158
150
  }
159
151
  }
160
152
  }
@@ -119,6 +119,7 @@ dso-card {
119
119
  display: flex;
120
120
  height: units.$u3;
121
121
  width: units.$u3;
122
+ max-inline-size: unset;
122
123
  }
123
124
 
124
125
  &.dso-wide-image img,
@@ -33,15 +33,11 @@ footer {
33
33
  }
34
34
 
35
35
  &.download {
36
- &::after {
37
- @include di.base("download-zwart");
38
- }
36
+ @include di.variant("download-zwart");
39
37
  }
40
38
 
41
39
  &.extern {
42
- &::after {
43
- @include di.base("external-link-zwart");
44
- }
40
+ @include di.variant("external-link-zwart");
45
41
  }
46
42
  }
47
43
  }
@@ -46,6 +46,19 @@
46
46
  margin-top: units.$u2 * -1;
47
47
  object-fit: cover;
48
48
  width: calc(100% + #{units.$u4});
49
+ max-inline-size: unset;
50
+
51
+ @container (min-width: 360px) and (max-width: 470px) {
52
+ & {
53
+ aspect-ratio: 3 / 1;
54
+ }
55
+ }
56
+
57
+ @container (min-width: 471px) {
58
+ & {
59
+ aspect-ratio: 3.5 / 1;
60
+ }
61
+ }
49
62
  }
50
63
 
51
64
  > .dso-step-counter:first-child + .dso-rich-content,
@@ -8,6 +8,7 @@
8
8
  .dso-highlight-box {
9
9
  @include highlight-box.root();
10
10
  @include highlight-box.children();
11
+ container-type: inline-size;
11
12
 
12
13
  &.dso-yellow,
13
14
  &:not(.dso-border):not(.dso-white) {
@@ -29,15 +30,11 @@
29
30
  }
30
31
 
31
32
  &.download {
32
- &::after {
33
- @include di.base("download-zwart");
34
- }
33
+ @include di.variant("download-zwart");
35
34
  }
36
35
 
37
36
  &.extern {
38
- &::after {
39
- @include di.base("external-link-zwart");
40
- }
37
+ @include di.variant("external-link-zwart");
41
38
  }
42
39
  }
43
40
  }
@@ -69,15 +66,11 @@ dso-highlight-box {
69
66
  }
70
67
 
71
68
  &.download {
72
- &::after {
73
- @include di.base("download-zwart");
74
- }
69
+ @include di.variant("download-zwart");
75
70
  }
76
71
 
77
72
  &.extern {
78
- &::after {
79
- @include di.base("external-link-zwart");
80
- }
73
+ @include di.variant("external-link-zwart");
81
74
  }
82
75
  }
83
76
  }
@@ -3,6 +3,7 @@
3
3
  img {
4
4
  border: 0;
5
5
  vertical-align: middle;
6
+ max-inline-size: 100%;
6
7
  }
7
8
 
8
9
  .img-responsive {
@@ -1,5 +1,6 @@
1
1
  @use "../../variables/units";
2
2
  @use "../../variables/media-query-breakpoints";
3
+ @use "../../components/button";
3
4
 
4
5
  @use "../grid/grid.variables" as css-grid-variables;
5
6
 
@@ -21,4 +22,14 @@ dso-viewer-grid {
21
22
  }
22
23
  }
23
24
  }
25
+
26
+ img {
27
+ max-inline-size: unset;
28
+ }
29
+
30
+ .dso-toggle-main-button {
31
+ @include button.tertiary($modifiers: false);
32
+
33
+ padding-block: units.$u2;
34
+ }
24
35
  }