dso-toolkit 65.0.2 → 66.1.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,27 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
5
5
 
6
6
  ## Next
7
7
 
8
+ ## 🍫 Release 66.1.0 - 2024-10-28
9
+
10
+ ### Fixed
11
+ * Card: Block-end spacing too small ([#2818](https://github.com/dso-toolkit/dso-toolkit/issues/2818))
12
+
13
+ ### Tasks
14
+ * Packages: Dependencies updates ([#2821](https://github.com/dso-toolkit/dso-toolkit/issues/2821))
15
+ * Build: Bij releasen ook dso-toolkit dependencies versioneren ([#2768](https://github.com/dso-toolkit/dso-toolkit/issues/2768))
16
+ * Ozon Content: flaky e2e test ([#2789](https://github.com/dso-toolkit/dso-toolkit/issues/2789))
17
+
18
+ ## 🍆 Release 66.0.0 - 2024-10-14
19
+
20
+ ### Added
21
+ * **BREAKING** Card: Opsplitsen naar Card, Plekinfo Card en Document Card ([#2797](https://github.com/dso-toolkit/dso-toolkit/issues/2797))
22
+
23
+ ### Docs
24
+ * Voorbeeldpagina: Mijn overzicht bijwerken ([#2785](https://github.com/dso-toolkit/dso-toolkit/issues/2785))
25
+
26
+ ### Fixed
27
+ * Ozon Content: Een Figuur zonder Titel of alt kan niet worden ingezoomd ([#2808](https://github.com/dso-toolkit/dso-toolkit/issues/2808))
28
+
8
29
  ## 🛣️ Release 65.0.2 - 2024-10-04
9
30
 
10
31
  ### Fixed
package/dist/dso.css CHANGED
@@ -1,5 +1,5 @@
1
- /* DSO Toolkit version: 65.0.2 */
2
- :root { --dso-toolkit-version: 65.0.2 }
1
+ /* DSO Toolkit version: 66.1.0 */
2
+ :root { --dso-toolkit-version: 66.1.0 }
3
3
 
4
4
  @font-face {
5
5
  font-family: "Asap";
@@ -2428,118 +2428,51 @@ a.dso-tertiary, a.dso-tertiary:visited {
2428
2428
  flex-wrap: nowrap;
2429
2429
  }
2430
2430
 
2431
- dso-card[is-selectable], dso-card[has-image], .dso-card.dso-is-selectable, .dso-card.dso-has-image,
2432
- dso-card.dso-is-selectable,
2433
- dso-card.dso-has-image {
2431
+ .dso-card:has(.dso-card-heading a:is(:hover, :focus-visible)) {
2432
+ background-color: #f2f2f2;
2433
+ }
2434
+ .dso-card:has(.dso-card-heading a:is(:hover, :focus-visible)) .dso-card-heading a:hover {
2435
+ color: #275937;
2436
+ text-decoration: underline;
2437
+ }
2438
+ .dso-card.dso-is-selectable .dso-card-container {
2434
2439
  display: grid;
2435
2440
  grid-template-columns: 1fr minmax(0, 100%);
2436
2441
  }
2437
- dso-card[is-selectable] .dso-card-heading, dso-card[has-image] .dso-card-heading, .dso-card.dso-is-selectable .dso-card-heading, .dso-card.dso-has-image .dso-card-heading,
2438
- dso-card.dso-is-selectable .dso-card-heading,
2439
- dso-card.dso-has-image .dso-card-heading,
2440
- dso-card[is-selectable] .dso-card-content,
2441
- dso-card[has-image] .dso-card-content,
2442
- .dso-card.dso-is-selectable .dso-card-content,
2443
- .dso-card.dso-has-image .dso-card-content,
2444
- dso-card.dso-is-selectable .dso-card-content,
2445
- dso-card.dso-has-image .dso-card-content {
2442
+ .dso-card.dso-is-selectable .dso-card-container .dso-card-heading,
2443
+ .dso-card.dso-is-selectable .dso-card-container .dso-card-content {
2446
2444
  grid-column: 2/-1;
2447
2445
  }
2448
-
2449
- .dso-card .dso-card-selectable, .dso-card .dso-card-image {
2450
- grid-row: span 2;
2451
- }
2452
-
2453
- .dso-card .dso-card-heading {
2454
- align-items: center;
2455
- display: flex;
2456
- margin-block-end: 8px;
2446
+ .dso-card .dso-rich-content.dso-rich-content :first-child {
2447
+ margin-block-start: 0;
2457
2448
  }
2458
- @media screen and (max-width: 480px) {
2459
- .dso-card .dso-card-heading {
2460
- flex-wrap: wrap;
2461
- }
2449
+ .dso-card .dso-rich-content.dso-rich-content :last-child {
2450
+ margin-block-end: 0;
2462
2451
  }
2463
- .dso-card .dso-card-image {
2464
- margin-inline-end: 8px;
2452
+ .dso-card .dso-selectable label {
2453
+ font-size: 0;
2465
2454
  }
2466
2455
 
2467
- dso-card a[slot=heading] {
2456
+ dso-card .dso-card-heading a {
2468
2457
  text-decoration: none;
2469
2458
  }
2470
- dso-card a[slot=heading] dso-icon:last-child {
2459
+ dso-card .dso-card-heading a dso-icon:last-child {
2471
2460
  align-self: flex-start;
2472
2461
  }
2473
- dso-card:hover a[slot=heading] {
2474
- color: #275937;
2475
- text-decoration: underline;
2476
- }
2477
-
2478
- .dso-card,
2479
- dso-card {
2480
- padding-block: 16px 8px;
2481
- padding-inline: 16px;
2482
- inline-size: 100%;
2483
- }
2484
- .dso-card:hover,
2485
- dso-card:hover {
2486
- background-color: #f2f2f2;
2487
- cursor: pointer;
2488
- }
2489
- .dso-card:hover .dso-card-heading > a,
2490
- dso-card:hover .dso-card-heading > a {
2491
- text-decoration: underline;
2492
- }
2493
- .dso-card:not([href]):not([clickable]) > h2,
2494
- .dso-card:not([href]):not([clickable]) :not(a) > h2, .dso-card:not([href])[clickable=false] > h2,
2495
- .dso-card:not([href])[clickable=false] :not(a) > h2, .dso-card.dso-not-clickable > h2,
2496
- .dso-card.dso-not-clickable :not(a) > h2,
2497
- dso-card:not([href]):not([clickable]) > h2,
2498
- dso-card:not([href]):not([clickable]) :not(a) > h2,
2499
- dso-card:not([href])[clickable=false] > h2,
2500
- dso-card:not([href])[clickable=false] :not(a) > h2,
2501
- dso-card.dso-not-clickable > h2,
2502
- dso-card.dso-not-clickable :not(a) > h2 {
2503
- color: #000;
2504
- }
2505
- .dso-card:not([href]):not([clickable]):hover, .dso-card:not([href])[clickable=false]:hover, .dso-card.dso-not-clickable:hover,
2506
- dso-card:not([href]):not([clickable]):hover,
2507
- dso-card:not([href])[clickable=false]:hover,
2508
- dso-card.dso-not-clickable:hover {
2509
- cursor: initial;
2510
- }
2511
- .dso-card h2[slot=heading],
2512
- .dso-card h3[slot=heading],
2513
- .dso-card h4[slot=heading],
2514
- .dso-card h5[slot=heading],
2515
2462
  dso-card h2[slot=heading],
2516
2463
  dso-card h3[slot=heading],
2517
2464
  dso-card h4[slot=heading],
2518
2465
  dso-card h5[slot=heading] {
2519
- align-items: center;
2520
- display: flex;
2521
2466
  font-size: 1.125em;
2522
2467
  margin-block-end: 0;
2523
2468
  margin-block-start: 0;
2524
2469
  }
2525
- .dso-card h2[slot=heading] span,
2526
- .dso-card h3[slot=heading] span,
2527
- .dso-card h4[slot=heading] span,
2528
- .dso-card h5[slot=heading] span,
2529
2470
  dso-card h2[slot=heading] span,
2530
2471
  dso-card h3[slot=heading] span,
2531
2472
  dso-card h4[slot=heading] span,
2532
2473
  dso-card h5[slot=heading] span {
2533
- margin-inline-end: 8px;
2474
+ margin-inline-end: 4px;
2534
2475
  }
2535
- .dso-card h2[slot=heading] span + dso-icon,
2536
- .dso-card h2[slot=heading] span + svg.di,
2537
- .dso-card h3[slot=heading] span + dso-icon,
2538
- .dso-card h3[slot=heading] span + svg.di,
2539
- .dso-card h4[slot=heading] span + dso-icon,
2540
- .dso-card h4[slot=heading] span + svg.di,
2541
- .dso-card h5[slot=heading] span + dso-icon,
2542
- .dso-card h5[slot=heading] span + svg.di,
2543
2476
  dso-card h2[slot=heading] span + dso-icon,
2544
2477
  dso-card h2[slot=heading] span + svg.di,
2545
2478
  dso-card h3[slot=heading] span + dso-icon,
@@ -2551,136 +2484,69 @@ dso-card h5[slot=heading] span + svg.di {
2551
2484
  flex-shrink: 0;
2552
2485
  position: relative;
2553
2486
  }
2554
- .dso-card .dso-card-heading h2:first-child,
2555
- .dso-card .dso-card-heading h3:first-child,
2556
- .dso-card .dso-card-heading h4:first-child,
2557
- .dso-card .dso-card-heading h5:first-child,
2558
- .dso-card *[slot=heading] h2:first-child,
2559
- .dso-card *[slot=heading] h3:first-child,
2560
- .dso-card *[slot=heading] h4:first-child,
2561
- .dso-card *[slot=heading] h5:first-child,
2562
- dso-card .dso-card-heading h2:first-child,
2563
- dso-card .dso-card-heading h3:first-child,
2564
- dso-card .dso-card-heading h4:first-child,
2565
- dso-card .dso-card-heading h5:first-child,
2566
- dso-card *[slot=heading] h2:first-child,
2567
- dso-card *[slot=heading] h3:first-child,
2568
- dso-card *[slot=heading] h4:first-child,
2569
- dso-card *[slot=heading] h5:first-child {
2487
+ dso-card div[slot=content] {
2488
+ --_dt-rich-content-margin-block: 8px;
2489
+ --_dt-rich-content-margin-block-end: 0;
2490
+ --_dt-rich-content-margin-block-start: 0;
2491
+ }
2492
+ dso-card dso-selectable label {
2493
+ font-size: 0;
2494
+ }
2495
+
2496
+ .dso-card-container {
2497
+ padding-block: 16px;
2498
+ padding-inline: 16px;
2499
+ inline-size: 100%;
2500
+ }
2501
+ .dso-card-container.dso-card-active {
2502
+ background-color: #e5e5e5;
2503
+ }
2504
+ .dso-card-container .dso-card-selectable {
2505
+ grid-row: span 2;
2506
+ }
2507
+
2508
+ .dso-card-heading {
2509
+ align-items: center;
2510
+ display: flex;
2511
+ margin-block-end: 8px;
2512
+ }
2513
+ .dso-card-heading h2:first-child,
2514
+ .dso-card-heading h3:first-child,
2515
+ .dso-card-heading h4:first-child,
2516
+ .dso-card-heading h5:first-child {
2570
2517
  align-items: center;
2571
2518
  display: flex;
2572
2519
  font-size: 1.125em;
2573
2520
  margin-block-end: 0;
2574
2521
  margin-block-start: 0;
2575
2522
  }
2576
- .dso-card .dso-card-heading h2:first-child span,
2577
- .dso-card .dso-card-heading h3:first-child span,
2578
- .dso-card .dso-card-heading h4:first-child span,
2579
- .dso-card .dso-card-heading h5:first-child span,
2580
- .dso-card *[slot=heading] h2:first-child span,
2581
- .dso-card *[slot=heading] h3:first-child span,
2582
- .dso-card *[slot=heading] h4:first-child span,
2583
- .dso-card *[slot=heading] h5:first-child span,
2584
- dso-card .dso-card-heading h2:first-child span,
2585
- dso-card .dso-card-heading h3:first-child span,
2586
- dso-card .dso-card-heading h4:first-child span,
2587
- dso-card .dso-card-heading h5:first-child span,
2588
- dso-card *[slot=heading] h2:first-child span,
2589
- dso-card *[slot=heading] h3:first-child span,
2590
- dso-card *[slot=heading] h4:first-child span,
2591
- dso-card *[slot=heading] h5:first-child span {
2592
- margin-inline-end: 8px;
2593
- }
2594
- .dso-card .dso-card-heading h2:first-child span + dso-icon,
2595
- .dso-card .dso-card-heading h2:first-child span + svg.di,
2596
- .dso-card .dso-card-heading h3:first-child span + dso-icon,
2597
- .dso-card .dso-card-heading h3:first-child span + svg.di,
2598
- .dso-card .dso-card-heading h4:first-child span + dso-icon,
2599
- .dso-card .dso-card-heading h4:first-child span + svg.di,
2600
- .dso-card .dso-card-heading h5:first-child span + dso-icon,
2601
- .dso-card .dso-card-heading h5:first-child span + svg.di,
2602
- .dso-card *[slot=heading] h2:first-child span + dso-icon,
2603
- .dso-card *[slot=heading] h2:first-child span + svg.di,
2604
- .dso-card *[slot=heading] h3:first-child span + dso-icon,
2605
- .dso-card *[slot=heading] h3:first-child span + svg.di,
2606
- .dso-card *[slot=heading] h4:first-child span + dso-icon,
2607
- .dso-card *[slot=heading] h4:first-child span + svg.di,
2608
- .dso-card *[slot=heading] h5:first-child span + dso-icon,
2609
- .dso-card *[slot=heading] h5:first-child span + svg.di,
2610
- dso-card .dso-card-heading h2:first-child span + dso-icon,
2611
- dso-card .dso-card-heading h2:first-child span + svg.di,
2612
- dso-card .dso-card-heading h3:first-child span + dso-icon,
2613
- dso-card .dso-card-heading h3:first-child span + svg.di,
2614
- dso-card .dso-card-heading h4:first-child span + dso-icon,
2615
- dso-card .dso-card-heading h4:first-child span + svg.di,
2616
- dso-card .dso-card-heading h5:first-child span + dso-icon,
2617
- dso-card .dso-card-heading h5:first-child span + svg.di,
2618
- dso-card *[slot=heading] h2:first-child span + dso-icon,
2619
- dso-card *[slot=heading] h2:first-child span + svg.di,
2620
- dso-card *[slot=heading] h3:first-child span + dso-icon,
2621
- dso-card *[slot=heading] h3:first-child span + svg.di,
2622
- dso-card *[slot=heading] h4:first-child span + dso-icon,
2623
- dso-card *[slot=heading] h4:first-child span + svg.di,
2624
- dso-card *[slot=heading] h5:first-child span + dso-icon,
2625
- dso-card *[slot=heading] h5:first-child span + svg.di {
2523
+ .dso-card-heading h2:first-child span,
2524
+ .dso-card-heading h3:first-child span,
2525
+ .dso-card-heading h4:first-child span,
2526
+ .dso-card-heading h5:first-child span {
2527
+ margin-inline-end: 4px;
2528
+ }
2529
+ .dso-card-heading h2:first-child span + dso-icon,
2530
+ .dso-card-heading h2:first-child span + svg.di,
2531
+ .dso-card-heading h3:first-child span + dso-icon,
2532
+ .dso-card-heading h3:first-child span + svg.di,
2533
+ .dso-card-heading h4:first-child span + dso-icon,
2534
+ .dso-card-heading h4:first-child span + svg.di,
2535
+ .dso-card-heading h5:first-child span + dso-icon,
2536
+ .dso-card-heading h5:first-child span + svg.di {
2626
2537
  flex-shrink: 0;
2627
2538
  position: relative;
2628
2539
  }
2629
- .dso-card .dso-card-heading > a,
2630
- .dso-card *[slot=heading] > a,
2631
- dso-card .dso-card-heading > a,
2632
- dso-card *[slot=heading] > a {
2540
+ .dso-card-heading a {
2633
2541
  text-decoration: none;
2634
2542
  }
2635
- .dso-card .dso-card-heading > a, .dso-card .dso-card-heading > a:not(.dso-primary):not(.dso-secondary):not(.dso-tertiary):visited, .dso-card .dso-card-heading > a:active, .dso-card .dso-card-heading > a:focus,
2636
- .dso-card *[slot=heading] > a,
2637
- .dso-card *[slot=heading] > a:not(.dso-primary):not(.dso-secondary):not(.dso-tertiary):visited,
2638
- .dso-card *[slot=heading] > a:active,
2639
- .dso-card *[slot=heading] > a:focus,
2640
- dso-card .dso-card-heading > a,
2641
- dso-card .dso-card-heading > a:not(.dso-primary):not(.dso-secondary):not(.dso-tertiary):visited,
2642
- dso-card .dso-card-heading > a:active,
2643
- dso-card .dso-card-heading > a:focus,
2644
- dso-card *[slot=heading] > a,
2645
- dso-card *[slot=heading] > a:not(.dso-primary):not(.dso-secondary):not(.dso-tertiary):visited,
2646
- dso-card *[slot=heading] > a:active,
2647
- dso-card *[slot=heading] > a:focus {
2648
- color: #275937;
2649
- }
2650
- .dso-card .dso-card-heading > a:hover,
2651
- .dso-card *[slot=heading] > a:hover,
2652
- dso-card .dso-card-heading > a:hover,
2653
- dso-card *[slot=heading] > a:hover {
2543
+ .dso-card-heading a, .dso-card-heading a:not(.dso-primary):not(.dso-secondary):not(.dso-tertiary):visited, .dso-card-heading a:active, .dso-card-heading a:focus-visible {
2654
2544
  color: #275937;
2655
- text-decoration: underline;
2656
- }
2657
- .dso-card *[slot=addon],
2658
- dso-card *[slot=addon] {
2659
- margin-inline-start: 16px;
2660
- margin-inline-end: 8px;
2661
- }
2662
- .dso-card .dso-rich-content.dso-rich-content :first-child,
2663
- dso-card .dso-rich-content.dso-rich-content :first-child {
2664
- margin-block-start: 0;
2665
- }
2666
- .dso-card .dso-selectable label,
2667
- .dso-card dso-selectable label,
2668
- dso-card .dso-selectable label,
2669
- dso-card dso-selectable label {
2670
- font-size: 0;
2671
2545
  }
2672
- .dso-card img,
2673
- dso-card img {
2674
- display: flex;
2675
- block-size: 24px;
2676
- inline-size: 24px;
2677
- max-inline-size: unset;
2678
- }
2679
- .dso-card.dso-wide-image img, .dso-card[image-shape=wide] img,
2680
- dso-card.dso-wide-image img,
2681
- dso-card[image-shape=wide] img {
2682
- block-size: 26px;
2683
- inline-size: 30px;
2546
+ @media screen and (max-width: 480px) {
2547
+ .dso-card-heading {
2548
+ flex-wrap: wrap;
2549
+ }
2684
2550
  }
2685
2551
 
2686
2552
  .dso-card-interactions,
@@ -2925,7 +2791,7 @@ dl dt {
2925
2791
  font-weight: var(--_dt-dl-dt-font-weight, 700);
2926
2792
  }
2927
2793
  dl dd p {
2928
- margin-block: 0 16px;
2794
+ margin-block: 0 var(--_dt-rich-content-margin-block, 16px);
2929
2795
  margin-inline: 0;
2930
2796
  }
2931
2797
  dl dd ul,
@@ -6477,7 +6343,7 @@ dso-info a:is([href^="mailto:"], [href^="mailto:"]:hover, [href^="mailto:"]:focu
6477
6343
  background-color: transparent;
6478
6344
  color: #39870c;
6479
6345
  border: 0;
6480
- margin-inline-start: 8px;
6346
+ margin-inline-start: var(--_dt-info-button-margin-inline-start, 8px);
6481
6347
  padding: 0;
6482
6348
  }
6483
6349
  .dso-info-button.dso-info-secondary {
@@ -6880,7 +6746,7 @@ dso-legend-item span[slot=symbol] > span {
6880
6746
  }
6881
6747
 
6882
6748
  .list-group > .list-group-item p {
6883
- margin-block: 0 16px;
6749
+ margin-block: 0 var(--_dt-rich-content-margin-block, 16px);
6884
6750
  margin-inline: 0;
6885
6751
  }
6886
6752
  .list-group > .list-group-item ul,
@@ -7290,7 +7156,7 @@ body:has(dso-modal.hydrated) {
7290
7156
  text-align: center;
7291
7157
  }
7292
7158
  .dso-modal > .dso-dialog > .dso-body p {
7293
- margin-block: 0 16px;
7159
+ margin-block: 0 var(--_dt-rich-content-margin-block, 16px);
7294
7160
  margin-inline: 0;
7295
7161
  }
7296
7162
  .dso-modal > .dso-dialog > .dso-body ul,
@@ -7336,7 +7202,7 @@ body:has(dso-modal.hydrated) {
7336
7202
  min-block-size: 6.5rem;
7337
7203
  }
7338
7204
  .dso-modal > .dso-dialog > dso-scrollable .dso-body p {
7339
- margin-block: 0 16px;
7205
+ margin-block: 0 var(--_dt-rich-content-margin-block, 16px);
7340
7206
  margin-inline: 0;
7341
7207
  }
7342
7208
  .dso-modal > .dso-dialog > dso-scrollable .dso-body ul,
@@ -7507,7 +7373,7 @@ body:has(dso-modal.hydrated) {
7507
7373
  }
7508
7374
 
7509
7375
  dso-modal [slot=body] p {
7510
- margin-block: 0 16px;
7376
+ margin-block: 0 var(--_dt-rich-content-margin-block, 16px);
7511
7377
  margin-inline: 0;
7512
7378
  }
7513
7379
  dso-modal [slot=body] ul,
@@ -7951,7 +7817,7 @@ pre {
7951
7817
  }
7952
7818
 
7953
7819
  .dso-rich-content p {
7954
- margin-block: 0 16px;
7820
+ margin-block: 0 var(--_dt-rich-content-margin-block, 16px);
7955
7821
  margin-inline: 0;
7956
7822
  }
7957
7823
  .dso-rich-content ul,
@@ -7985,10 +7851,10 @@ pre {
7985
7851
  max-inline-size: 100%;
7986
7852
  }
7987
7853
  .dso-rich-content > :first-child:not(hr, .dso-button-row) {
7988
- margin-block-start: 8px;
7854
+ margin-block-start: var(--_dt-rich-content-margin-block-start, 8px);
7989
7855
  }
7990
7856
  .dso-rich-content > :last-child:not(hr, .dso-button-row) {
7991
- margin-block-end: 8px;
7857
+ margin-block-end: var(--_dt-rich-content-margin-block-end, 8px);
7992
7858
  }
7993
7859
 
7994
7860
  .dso-search-bar {
@@ -8669,7 +8535,7 @@ th {
8669
8535
 
8670
8536
  table.table td:not(.plain-content) p,
8671
8537
  table.table th p {
8672
- margin-block: 0 16px;
8538
+ margin-block: 0 var(--_dt-rich-content-margin-block, 16px);
8673
8539
  margin-inline: 0;
8674
8540
  }
8675
8541
  table.table td:not(.plain-content) ul,