dso-toolkit 51.4.1 → 52.0.1

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 CHANGED
@@ -2637,6 +2637,12 @@ dso-card img {
2637
2637
  height: 24px;
2638
2638
  width: 24px;
2639
2639
  }
2640
+ .dso-card.dso-wide-image img, .dso-card[image-shape=wide] img,
2641
+ dso-card.dso-wide-image img,
2642
+ dso-card[image-shape=wide] img {
2643
+ height: 26px;
2644
+ width: 30px;
2645
+ }
2640
2646
 
2641
2647
  .dso-card-interactions,
2642
2648
  [slot=interactions] {
@@ -3036,6 +3042,7 @@ dl.dso-bordered dd:last-of-type {
3036
3042
 
3037
3043
  del {
3038
3044
  background-color: #f5d8dc;
3045
+ color: #000;
3039
3046
  }
3040
3047
 
3041
3048
  .dso-description-term {
@@ -4665,14 +4672,6 @@ form > .row.dso-featured + .row div:not(.dso-rich-content) .h3:first-child {
4665
4672
  .row.dso-banner + .row.dso-featured {
4666
4673
  margin-top: 0;
4667
4674
  }
4668
- .row.dso-banner + .row div:not(.dso-rich-content) h1:first-child,
4669
- .row.dso-banner + .row div:not(.dso-rich-content) .h1:first-child,
4670
- .row.dso-banner + .row div:not(.dso-rich-content) h2:first-child,
4671
- .row.dso-banner + .row div:not(.dso-rich-content) .h2:first-child,
4672
- .row.dso-banner + .row div:not(.dso-rich-content) h3:first-child,
4673
- .row.dso-banner + .row div:not(.dso-rich-content) .h3:first-child {
4674
- margin-top: 0;
4675
- }
4676
4675
  .row.dso-featured {
4677
4676
  margin-left: calc(50% - 50vw);
4678
4677
  margin-right: calc(50% - 50vw);
@@ -5410,6 +5409,21 @@ dso-header nav dso-dropdown-menu[open] > button:not(.dso-primary):not(.dso-secon
5410
5409
  background-image: url("./dso-icons.svg#img-chevron-up-bosgroen");
5411
5410
  }
5412
5411
 
5412
+ h1,
5413
+ .h1,
5414
+ h2,
5415
+ .h2,
5416
+ h3,
5417
+ .h3,
5418
+ h4,
5419
+ .h4,
5420
+ h5,
5421
+ .h5,
5422
+ h6,
5423
+ .h6 {
5424
+ color: #275937;
5425
+ }
5426
+
5413
5427
  h1,
5414
5428
  .h1,
5415
5429
  h2,
@@ -5426,7 +5440,6 @@ h1,
5426
5440
  }
5427
5441
 
5428
5442
  h1 {
5429
- color: #275937;
5430
5443
  font-size: 2rem;
5431
5444
  font-weight: 700;
5432
5445
  }
@@ -5550,6 +5563,7 @@ h6,
5550
5563
  object-fit: cover;
5551
5564
  width: calc(100% + 32px);
5552
5565
  }
5566
+ .dso-highlight-box > .dso-step-counter:first-child + .dso-rich-content *:first-child,
5553
5567
  .dso-highlight-box > .dso-rich-content:first-child *:first-child {
5554
5568
  margin-top: 0 !important;
5555
5569
  }
@@ -5624,6 +5638,7 @@ dso-highlight-box > .dso-highlight-box-banner {
5624
5638
  object-fit: cover;
5625
5639
  width: calc(100% + 32px);
5626
5640
  }
5641
+ dso-highlight-box > .dso-step-counter:first-child + .dso-rich-content *:first-child,
5627
5642
  dso-highlight-box > .dso-rich-content:first-child *:first-child {
5628
5643
  margin-top: 0 !important;
5629
5644
  }
@@ -5969,6 +5984,7 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
5969
5984
 
5970
5985
  ins {
5971
5986
  background-color: #e4f1d4;
5987
+ color: #000;
5972
5988
  text-decoration: none;
5973
5989
  }
5974
5990
 
@@ -7305,6 +7321,9 @@ optgroup {
7305
7321
  .dso-selectable:not(:last-child) {
7306
7322
  margin-bottom: 8px;
7307
7323
  }
7324
+ .dso-selectable input[aria-invalid=true] + label {
7325
+ --dso-selectable-color: #ce3f51;
7326
+ }
7308
7327
 
7309
7328
  dso-selectable .dso-rich-content[slot=info] *:first-child {
7310
7329
  margin-top: 0;
@@ -7352,9 +7371,15 @@ dso-selectable .dso-rich-content[slot=info] .btn-link:not([disabled]):focus svg.
7352
7371
  }
7353
7372
  .dso-shopping-cart .dso-status dso-icon,
7354
7373
  .dso-shopping-cart .dso-status svg.di {
7374
+ transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
7355
7375
  left: 16px;
7356
7376
  position: absolute;
7357
7377
  margin-right: 8px;
7378
+ transform: rotate(0);
7379
+ }
7380
+ .dso-shopping-cart .dso-status[aria-expanded=true] dso-icon,
7381
+ .dso-shopping-cart .dso-status[aria-expanded=true] svg.di {
7382
+ transform: rotate(90deg);
7358
7383
  }
7359
7384
  .dso-shopping-cart span.dso-status {
7360
7385
  display: inline-block;
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": "51.4.1",
5
+ "version": "52.0.1",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -120,6 +120,12 @@ dso-card {
120
120
  height: units.$u3;
121
121
  width: units.$u3;
122
122
  }
123
+
124
+ &.dso-wide-image img,
125
+ &[image-shape="wide"] img {
126
+ height: 26px;
127
+ width: 30px;
128
+ }
123
129
  }
124
130
 
125
131
  .dso-card-interactions,
@@ -2,4 +2,5 @@
2
2
 
3
3
  del {
4
4
  background-color: colors.$danger-bg-color;
5
+ color: colors.$zwart;
5
6
  }
@@ -101,19 +101,6 @@ form {
101
101
  margin-top: 0;
102
102
  }
103
103
  }
104
-
105
- & + .row div:not(.dso-rich-content) {
106
- h1,
107
- .h1,
108
- h2,
109
- .h2,
110
- h3,
111
- .h3 {
112
- &:first-child {
113
- margin-top: 0;
114
- }
115
- }
116
- }
117
104
  }
118
105
 
119
106
  &.dso-featured {
@@ -1,14 +1,46 @@
1
1
  @use "../../variables/units";
2
2
  @use "../../variables/colors";
3
+ @use "../../variables/typography";
3
4
 
4
- @mixin h1() {
5
+ @mixin base() {
5
6
  color: colors.$bosgroen;
7
+ }
8
+
9
+ @mixin margin-large() {
10
+ margin-bottom: units.$vertical-spacing-medium;
11
+ margin-top: typography.$line-height-computed;
12
+ }
13
+
14
+ @mixin margin-small() {
15
+ margin-bottom: units.$vertical-spacing-medium;
16
+ margin-top: (typography.$line-height-computed * 0.5);
17
+ }
18
+
19
+ @mixin h1() {
6
20
  font-size: units.$font-size-h1;
7
21
  font-weight: 700;
8
22
  }
9
23
 
24
+ @mixin h2() {
25
+ color: colors.$bosgroen;
26
+ font-size: units.$font-size-h2;
27
+ font-weight: 700;
28
+ }
29
+
10
30
  @mixin h3() {
11
31
  color: colors.$bosgroen;
12
32
  font-size: units.$font-size-h3;
13
33
  font-weight: 600;
14
34
  }
35
+
36
+ @mixin h4() {
37
+ color: colors.$bosgroen;
38
+ font-size: units.$font-size-h4;
39
+ font-weight: 600;
40
+ }
41
+
42
+ @mixin h5() {
43
+ color: colors.$grijs-90;
44
+ font-size: units.$font-size-h5;
45
+ font-weight: 600;
46
+ }
@@ -3,14 +3,28 @@
3
3
  @use "../../variables/typography";
4
4
  @use "../headings";
5
5
 
6
+ h1,
7
+ .h1,
8
+ h2,
9
+ .h2,
10
+ h3,
11
+ .h3,
12
+ h4,
13
+ .h4,
14
+ h5,
15
+ .h5,
16
+ h6,
17
+ .h6 {
18
+ @include headings.base();
19
+ }
20
+
6
21
  h1,
7
22
  .h1,
8
23
  h2,
9
24
  .h2,
10
25
  h3,
11
26
  .h3 {
12
- margin-bottom: units.$vertical-spacing-medium;
13
- margin-top: typography.$line-height-computed;
27
+ @include headings.margin-large();
14
28
  }
15
29
 
16
30
  h1,
@@ -28,9 +42,7 @@ h2,
28
42
  }
29
43
 
30
44
  h2 {
31
- color: colors.$bosgroen;
32
- font-size: units.$font-size-h2;
33
- font-weight: 700;
45
+ @include headings.h2();
34
46
  }
35
47
 
36
48
  h3,
@@ -48,8 +60,7 @@ h5,
48
60
  .h5,
49
61
  h6,
50
62
  .h6 {
51
- margin-bottom: units.$vertical-spacing-medium;
52
- margin-top: (typography.$line-height-computed * 0.5);
63
+ @include headings.margin-small();
53
64
  }
54
65
 
55
66
  h4,
@@ -58,9 +69,7 @@ h4,
58
69
  }
59
70
 
60
71
  h4 {
61
- color: colors.$bosgroen;
62
- font-size: units.$font-size-h4;
63
- font-weight: 600;
72
+ @include headings.h4();
64
73
  }
65
74
 
66
75
  h5,
@@ -69,9 +78,7 @@ h5,
69
78
  }
70
79
 
71
80
  h5 {
72
- color: colors.$grijs-90;
73
- font-size: units.$font-size-h5;
74
- font-weight: 600;
81
+ @include headings.h5();
75
82
  }
76
83
 
77
84
  h6,
@@ -48,6 +48,7 @@
48
48
  width: calc(100% + #{units.$u4});
49
49
  }
50
50
 
51
+ > .dso-step-counter:first-child + .dso-rich-content,
51
52
  > .dso-rich-content:first-child {
52
53
  *:first-child {
53
54
  margin-top: 0 !important;
@@ -2,5 +2,6 @@
2
2
 
3
3
  ins {
4
4
  background-color: colors.$success-bg-color;
5
+ color: colors.$zwart;
5
6
  text-decoration: none;
6
7
  }
@@ -8,6 +8,10 @@
8
8
  &:not(:last-child) {
9
9
  @include selectable.notLastChild();
10
10
  }
11
+
12
+ input[aria-invalid="true"] + label {
13
+ @include selectable.invalid();
14
+ }
11
15
  }
12
16
 
13
17
  // Web Component
@@ -20,9 +20,19 @@
20
20
 
21
21
  dso-icon,
22
22
  svg.di {
23
+ @include utilities.transition(transform);
24
+
23
25
  left: units.$u2;
24
26
  position: absolute;
25
27
  margin-right: units.$u1;
28
+ transform: rotate(0);
29
+ }
30
+
31
+ &[aria-expanded="true"] {
32
+ dso-icon,
33
+ svg.di {
34
+ transform: rotate(90deg);
35
+ }
26
36
  }
27
37
  }
28
38