dso-toolkit 56.0.0 → 56.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 +2506 -0
- package/dist/dso.css +25 -5
- package/package.json +1 -1
- package/src/components/button-row/button-row.scss +8 -1
- package/src/components/headings/headings.mixins.scss +1 -1
- package/src/components/headings/headings.scss +1 -1
- package/src/components/rich-content/rich-content.scss +2 -2
- package/src/global/spacing.scss +20 -0
- package/src/variables/units.scss +5 -3
package/dist/dso.css
CHANGED
|
@@ -50,6 +50,21 @@
|
|
|
50
50
|
margin-block-start: 32px;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
:where(.dso-button-row) {
|
|
54
|
+
margin-block: 16px 32px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:where(dso-highlight-box) :where(.dso-button-row),
|
|
58
|
+
:where(.dso-highlight-box) :where(.dso-button-row) {
|
|
59
|
+
margin-block: 0;
|
|
60
|
+
}
|
|
61
|
+
:where(dso-highlight-box) :where(*) + :where(.dso-button-row),
|
|
62
|
+
:where(dso-highlight-box) :where(.dso-button-row) + :where(*),
|
|
63
|
+
:where(.dso-highlight-box) :where(*) + :where(.dso-button-row),
|
|
64
|
+
:where(.dso-highlight-box) :where(.dso-button-row) + :where(*) {
|
|
65
|
+
margin-block-start: 16px;
|
|
66
|
+
}
|
|
67
|
+
|
|
53
68
|
.text-right {
|
|
54
69
|
text-align: right;
|
|
55
70
|
}
|
|
@@ -2402,7 +2417,6 @@ a.dso-tertiary, a.dso-tertiary:visited {
|
|
|
2402
2417
|
display: flex;
|
|
2403
2418
|
flex-wrap: wrap;
|
|
2404
2419
|
gap: 16px;
|
|
2405
|
-
margin: 16px 0 32px;
|
|
2406
2420
|
}
|
|
2407
2421
|
.dso-button-row .btn:not(.dso-list-button),
|
|
2408
2422
|
.dso-button-row .dso-primary,
|
|
@@ -2436,6 +2450,12 @@ a.dso-tertiary, a.dso-tertiary:visited {
|
|
|
2436
2450
|
.dso-button-row.dso-emphasized .dso-tertiary {
|
|
2437
2451
|
color: #000;
|
|
2438
2452
|
}
|
|
2453
|
+
.dso-button-row.dso-align-right {
|
|
2454
|
+
justify-content: flex-end;
|
|
2455
|
+
}
|
|
2456
|
+
.dso-button-row.dso-align-center {
|
|
2457
|
+
justify-content: center;
|
|
2458
|
+
}
|
|
2439
2459
|
|
|
2440
2460
|
dso-card[is-selectable], dso-card[has-image], .dso-card.dso-is-selectable, .dso-card.dso-has-image,
|
|
2441
2461
|
dso-card.dso-is-selectable,
|
|
@@ -5550,7 +5570,7 @@ h1 {
|
|
|
5550
5570
|
|
|
5551
5571
|
h2,
|
|
5552
5572
|
.h2 {
|
|
5553
|
-
line-height: 1.
|
|
5573
|
+
line-height: 1.25;
|
|
5554
5574
|
}
|
|
5555
5575
|
|
|
5556
5576
|
h2 {
|
|
@@ -5561,7 +5581,7 @@ h2 {
|
|
|
5561
5581
|
|
|
5562
5582
|
h3,
|
|
5563
5583
|
.h3 {
|
|
5564
|
-
line-height: 1.
|
|
5584
|
+
line-height: 1.25;
|
|
5565
5585
|
}
|
|
5566
5586
|
|
|
5567
5587
|
h3 {
|
|
@@ -7199,10 +7219,10 @@ pre {
|
|
|
7199
7219
|
height: auto;
|
|
7200
7220
|
max-width: 100%;
|
|
7201
7221
|
}
|
|
7202
|
-
.dso-rich-content > :first-child:not(hr) {
|
|
7222
|
+
.dso-rich-content > :first-child:not(hr, .dso-button-row) {
|
|
7203
7223
|
margin-top: 8px;
|
|
7204
7224
|
}
|
|
7205
|
-
.dso-rich-content > :last-child:not(hr) {
|
|
7225
|
+
.dso-rich-content > :last-child:not(hr, .dso-button-row) {
|
|
7206
7226
|
margin-bottom: 8px;
|
|
7207
7227
|
}
|
|
7208
7228
|
|
package/package.json
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-wrap: wrap;
|
|
8
8
|
gap: units.$u2;
|
|
9
|
-
margin: units.$u2 0 units.$u4;
|
|
10
9
|
|
|
11
10
|
.btn:not(.dso-list-button),
|
|
12
11
|
.dso-primary,
|
|
@@ -31,4 +30,12 @@
|
|
|
31
30
|
color: colors.$zwart;
|
|
32
31
|
}
|
|
33
32
|
}
|
|
33
|
+
|
|
34
|
+
&.dso-align-right {
|
|
35
|
+
justify-content: flex-end;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.dso-align-center {
|
|
39
|
+
justify-content: center;
|
|
40
|
+
}
|
|
34
41
|
}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
.dso-rich-content {
|
|
4
4
|
@include rich-content.children();
|
|
5
5
|
|
|
6
|
-
> :first-child:not(hr) {
|
|
6
|
+
> :first-child:not(hr, .dso-button-row) {
|
|
7
7
|
margin-top: rich-content.$margin-bottom * 0.5;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
> :last-child:not(hr) {
|
|
10
|
+
> :last-child:not(hr, .dso-button-row) {
|
|
11
11
|
margin-bottom: rich-content.$margin-bottom * 0.5;
|
|
12
12
|
}
|
|
13
13
|
}
|
package/src/global/spacing.scss
CHANGED
|
@@ -5,3 +5,23 @@
|
|
|
5
5
|
:where(dso-action-list) + :where(.dso-form-buttons) {
|
|
6
6
|
margin-block-start: units.$vertical-spacing-xlarge;
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
// Original spacing of dso-button-row
|
|
10
|
+
// To Do: re-evaluate vertical rhythm
|
|
11
|
+
:where(.dso-button-row) {
|
|
12
|
+
margin-block: units.$u2 units.$u4;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// within dso-highlight-box, create space for dso-button-row when preceded and/or followed by other elements
|
|
16
|
+
// To Do: integrate this with things to come within this file, and remove the wildcard!
|
|
17
|
+
:where(dso-highlight-box),
|
|
18
|
+
:where(.dso-highlight-box) {
|
|
19
|
+
:where(.dso-button-row) {
|
|
20
|
+
margin-block: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:where(*) + :where(.dso-button-row),
|
|
24
|
+
:where(.dso-button-row) + :where(*) {
|
|
25
|
+
margin-block-start: units.$vertical-spacing-medium;
|
|
26
|
+
}
|
|
27
|
+
}
|
package/src/variables/units.scss
CHANGED
|
@@ -30,9 +30,11 @@ $ru8: $_runit * 8;
|
|
|
30
30
|
$ru9: $_runit * 9;
|
|
31
31
|
$ru10: $_runit * 10;
|
|
32
32
|
|
|
33
|
-
$font-line-height-
|
|
34
|
-
|
|
35
|
-
$font-line-height-
|
|
33
|
+
$font-heading-line-height-base: 1.25;
|
|
34
|
+
|
|
35
|
+
$font-line-height-h1: $font-heading-line-height-base;
|
|
36
|
+
$font-line-height-h2: $font-heading-line-height-base;
|
|
37
|
+
$font-line-height-h3: $font-heading-line-height-base;
|
|
36
38
|
$font-line-height-h4: 1.5;
|
|
37
39
|
$font-line-height-h5: 1.5;
|
|
38
40
|
$font-line-height-h6: 1.5;
|