dso-toolkit 52.0.3 → 53.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 +101 -13
- package/package.json +1 -1
- package/src/components/card-grid/card-grid.scss +14 -1
- package/src/components/expandable-heading/expandable-heading.scss +30 -0
- package/src/components/insert/insert.scss +3 -0
- package/src/components/justify-form-groups/justify-form-groups.scss +63 -14
- package/src/components/justify-form-groups/readme.md +4 -0
package/dist/dso.css
CHANGED
|
@@ -2683,12 +2683,26 @@ dso-card-container[mode=grid] dso-card {
|
|
|
2683
2683
|
.dso-card-grid {
|
|
2684
2684
|
display: grid;
|
|
2685
2685
|
gap: 32px;
|
|
2686
|
-
grid-template-columns: repeat(3, 1fr);
|
|
2687
2686
|
grid-auto-rows: 1fr;
|
|
2688
2687
|
}
|
|
2689
2688
|
.dso-card-grid .dso-card {
|
|
2690
2689
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
|
|
2691
2690
|
}
|
|
2691
|
+
@media (max-width: 991px) {
|
|
2692
|
+
.dso-card-grid {
|
|
2693
|
+
grid-template-columns: repeat(1, 1fr);
|
|
2694
|
+
}
|
|
2695
|
+
}
|
|
2696
|
+
@media (min-width: 992px) and (max-width: 1199px) {
|
|
2697
|
+
.dso-card-grid {
|
|
2698
|
+
grid-template-columns: repeat(2, 1fr);
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
@media (min-width: 1200px) {
|
|
2702
|
+
.dso-card-grid {
|
|
2703
|
+
grid-template-columns: repeat(3, 1fr);
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2692
2706
|
|
|
2693
2707
|
ul.dso-card-list,
|
|
2694
2708
|
ol.dso-card-list {
|
|
@@ -3841,6 +3855,30 @@ dso-dropdown-menu[checkable] li.dso-checked button::before {
|
|
|
3841
3855
|
dso-expandable-heading *[slot=addons-end] {
|
|
3842
3856
|
margin-left: 8px;
|
|
3843
3857
|
}
|
|
3858
|
+
dso-expandable-heading.dso-del, dso-expandable-heading.dso-ins {
|
|
3859
|
+
padding-block: 16px 4px;
|
|
3860
|
+
}
|
|
3861
|
+
dso-expandable-heading.dso-del a, dso-expandable-heading.dso-ins a {
|
|
3862
|
+
color: #000;
|
|
3863
|
+
}
|
|
3864
|
+
dso-expandable-heading.dso-del .dso-annotation-header,
|
|
3865
|
+
dso-expandable-heading.dso-del .dso-annotation-content, dso-expandable-heading.dso-ins .dso-annotation-header,
|
|
3866
|
+
dso-expandable-heading.dso-ins .dso-annotation-content {
|
|
3867
|
+
background-color: rgba(255, 255, 255, 0.4);
|
|
3868
|
+
}
|
|
3869
|
+
dso-expandable-heading.dso-del .dso-annotation-header, dso-expandable-heading.dso-ins .dso-annotation-header {
|
|
3870
|
+
border-bottom: 2px solid #fff;
|
|
3871
|
+
border-left: 1px solid #ccc;
|
|
3872
|
+
border-right: 1px solid #ccc;
|
|
3873
|
+
border-top: 1px solid #ccc;
|
|
3874
|
+
margin-bottom: -2px;
|
|
3875
|
+
}
|
|
3876
|
+
dso-expandable-heading.dso-del .dso-annotation-content, dso-expandable-heading.dso-ins .dso-annotation-content {
|
|
3877
|
+
border-bottom: 1px solid #ccc;
|
|
3878
|
+
border-left: 1px solid #ccc;
|
|
3879
|
+
border-right: 1px solid #ccc;
|
|
3880
|
+
padding-top: 18px;
|
|
3881
|
+
}
|
|
3844
3882
|
|
|
3845
3883
|
label {
|
|
3846
3884
|
display: inline-block;
|
|
@@ -5984,30 +6022,80 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
5984
6022
|
|
|
5985
6023
|
ins {
|
|
5986
6024
|
background-color: #e4f1d4;
|
|
6025
|
+
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.25);
|
|
5987
6026
|
color: #000;
|
|
5988
6027
|
text-decoration: none;
|
|
5989
6028
|
}
|
|
5990
6029
|
|
|
5991
6030
|
.dso-justify-form-groups {
|
|
5992
6031
|
display: flex;
|
|
6032
|
+
flex-direction: column;
|
|
6033
|
+
gap: 16px;
|
|
5993
6034
|
}
|
|
5994
|
-
.dso-justify-form-groups
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
}
|
|
5998
|
-
.dso-justify-form-groups > div:first-child {
|
|
5999
|
-
padding-left: 0;
|
|
6000
|
-
}
|
|
6001
|
-
.dso-justify-form-groups > div.dso-form-buttons {
|
|
6002
|
-
align-self: flex-end;
|
|
6003
|
-
flex: 0 0 0;
|
|
6035
|
+
.dso-justify-form-groups .form-group {
|
|
6036
|
+
display: block;
|
|
6037
|
+
margin-bottom: 0;
|
|
6004
6038
|
}
|
|
6005
|
-
.dso-justify-form-groups .form-group,
|
|
6006
6039
|
.dso-justify-form-groups .form-group + .form-group,
|
|
6007
6040
|
.dso-justify-form-groups .form-group + .dso-form-buttons {
|
|
6008
|
-
margin-bottom: 0;
|
|
6009
6041
|
margin-top: 0;
|
|
6010
6042
|
}
|
|
6043
|
+
.dso-justify-form-groups .form-group .dso-label-container {
|
|
6044
|
+
align-self: auto;
|
|
6045
|
+
}
|
|
6046
|
+
@media (min-width: 768px) {
|
|
6047
|
+
.dso-justify-form-groups {
|
|
6048
|
+
display: grid;
|
|
6049
|
+
grid-gap: 8px;
|
|
6050
|
+
grid-template-rows: repeat(2, auto);
|
|
6051
|
+
}
|
|
6052
|
+
.dso-justify-form-groups.form-groups-1 {
|
|
6053
|
+
grid-template-columns: repeat(1, 1fr) auto;
|
|
6054
|
+
}
|
|
6055
|
+
.dso-justify-form-groups > div.dso-form-buttons {
|
|
6056
|
+
grid-column: 2;
|
|
6057
|
+
}
|
|
6058
|
+
.dso-justify-form-groups.form-groups-2 {
|
|
6059
|
+
grid-template-columns: repeat(2, 1fr) auto;
|
|
6060
|
+
}
|
|
6061
|
+
.dso-justify-form-groups > div.dso-form-buttons {
|
|
6062
|
+
grid-column: 3;
|
|
6063
|
+
}
|
|
6064
|
+
.dso-justify-form-groups.form-groups-3 {
|
|
6065
|
+
grid-template-columns: repeat(3, 1fr) auto;
|
|
6066
|
+
}
|
|
6067
|
+
.dso-justify-form-groups > div.dso-form-buttons {
|
|
6068
|
+
grid-column: 4;
|
|
6069
|
+
}
|
|
6070
|
+
.dso-justify-form-groups > div.dso-form-buttons {
|
|
6071
|
+
grid-row: 2;
|
|
6072
|
+
margin-bottom: 0;
|
|
6073
|
+
}
|
|
6074
|
+
.dso-justify-form-groups .form-group {
|
|
6075
|
+
display: contents;
|
|
6076
|
+
}
|
|
6077
|
+
.dso-justify-form-groups .form-group,
|
|
6078
|
+
.dso-justify-form-groups .form-group + .form-group,
|
|
6079
|
+
.dso-justify-form-groups .form-group + .dso-form-buttons {
|
|
6080
|
+
margin-bottom: 0;
|
|
6081
|
+
margin-top: 0;
|
|
6082
|
+
}
|
|
6083
|
+
.dso-justify-form-groups .form-group .dso-label-container {
|
|
6084
|
+
align-self: end;
|
|
6085
|
+
grid-row: 1;
|
|
6086
|
+
}
|
|
6087
|
+
.dso-justify-form-groups .form-group .dso-field-container {
|
|
6088
|
+
grid-row: 2;
|
|
6089
|
+
margin-top: 0;
|
|
6090
|
+
}
|
|
6091
|
+
.dso-justify-form-groups .form-group .dso-info-container {
|
|
6092
|
+
grid-row: 3;
|
|
6093
|
+
}
|
|
6094
|
+
.dso-justify-form-groups .form-group .dso-info-container .dso-help-block,
|
|
6095
|
+
.dso-justify-form-groups .form-group .dso-info-container .dso-message {
|
|
6096
|
+
margin-top: 0;
|
|
6097
|
+
}
|
|
6098
|
+
}
|
|
6011
6099
|
|
|
6012
6100
|
.dso-label {
|
|
6013
6101
|
background-color: #f2f2f2;
|
package/package.json
CHANGED
|
@@ -1,12 +1,25 @@
|
|
|
1
|
+
@use "../../variables/media-query-breakpoints";
|
|
2
|
+
|
|
1
3
|
@use "../grid/grid.variables" as css-grid-variables;
|
|
2
4
|
|
|
3
5
|
.dso-card-grid {
|
|
4
6
|
display: grid;
|
|
5
7
|
gap: css-grid-variables.$grid-gutter-width;
|
|
6
|
-
grid-template-columns: repeat(3, 1fr);
|
|
7
8
|
grid-auto-rows: 1fr;
|
|
8
9
|
|
|
9
10
|
.dso-card {
|
|
10
11
|
box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
|
|
11
12
|
}
|
|
13
|
+
|
|
14
|
+
@media (max-width: media-query-breakpoints.$screen-sm-max) {
|
|
15
|
+
grid-template-columns: repeat(1, 1fr);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (min-width: media-query-breakpoints.$screen-md-min) and (max-width: media-query-breakpoints.$screen-md-max) {
|
|
19
|
+
grid-template-columns: repeat(2, 1fr);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@media (min-width: media-query-breakpoints.$screen-lg-min) {
|
|
23
|
+
grid-template-columns: repeat(3, 1fr);
|
|
24
|
+
}
|
|
12
25
|
}
|
|
@@ -1,7 +1,37 @@
|
|
|
1
|
+
@use "../../variables/colors";
|
|
1
2
|
@use "../../variables/units";
|
|
2
3
|
|
|
3
4
|
dso-expandable-heading {
|
|
4
5
|
*[slot="addons-end"] {
|
|
5
6
|
margin-left: units.$u1;
|
|
6
7
|
}
|
|
8
|
+
|
|
9
|
+
&.dso-del,
|
|
10
|
+
&.dso-ins {
|
|
11
|
+
padding-block: units.$u2 units.$u1 * 0.5;
|
|
12
|
+
|
|
13
|
+
a {
|
|
14
|
+
color: colors.$zwart;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.dso-annotation-header,
|
|
18
|
+
.dso-annotation-content {
|
|
19
|
+
background-color: rgba(255, 255, 255, 0.4);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.dso-annotation-header {
|
|
23
|
+
border-bottom: 2px solid colors.$wit;
|
|
24
|
+
border-left: 1px solid colors.$grijs-20;
|
|
25
|
+
border-right: 1px solid colors.$grijs-20;
|
|
26
|
+
border-top: 1px solid colors.$grijs-20;
|
|
27
|
+
margin-bottom: -2px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.dso-annotation-content {
|
|
31
|
+
border-bottom: 1px solid colors.$grijs-20;
|
|
32
|
+
border-left: 1px solid colors.$grijs-20;
|
|
33
|
+
border-right: 1px solid colors.$grijs-20;
|
|
34
|
+
padding-top: units.$u2 + 2px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
7
37
|
}
|
|
@@ -1,28 +1,77 @@
|
|
|
1
|
+
@use "../../variables/media-query-breakpoints";
|
|
1
2
|
@use "../../variables/units";
|
|
2
3
|
|
|
3
4
|
.dso-justify-form-groups {
|
|
4
5
|
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: units.$u2;
|
|
5
8
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
.form-group {
|
|
10
|
+
display: block;
|
|
11
|
+
margin-bottom: 0;
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
+ .form-group,
|
|
14
|
+
+ .dso-form-buttons {
|
|
15
|
+
margin-top: 0;
|
|
12
16
|
}
|
|
13
17
|
|
|
14
|
-
|
|
15
|
-
align-self:
|
|
16
|
-
flex: 0 0 0;
|
|
18
|
+
.dso-label-container {
|
|
19
|
+
align-self: auto;
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
22
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
@media (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
24
|
+
display: grid;
|
|
25
|
+
grid-gap: units.$u1;
|
|
26
|
+
grid-template-rows: repeat(2, auto);
|
|
27
|
+
|
|
28
|
+
@for $i from 1 through 3 {
|
|
29
|
+
&.form-groups-#{$i} {
|
|
30
|
+
grid-template-columns: repeat(#{$i}, 1fr) auto;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
> div {
|
|
34
|
+
&.dso-form-buttons {
|
|
35
|
+
grid-column: #{$i + 1};
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
> div {
|
|
41
|
+
&.dso-form-buttons {
|
|
42
|
+
grid-row: 2;
|
|
43
|
+
margin-bottom: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.form-group {
|
|
48
|
+
display: contents;
|
|
49
|
+
|
|
50
|
+
&,
|
|
51
|
+
+ .form-group,
|
|
52
|
+
+ .dso-form-buttons {
|
|
53
|
+
margin-bottom: 0;
|
|
54
|
+
margin-top: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.dso-label-container {
|
|
58
|
+
align-self: end;
|
|
59
|
+
grid-row: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.dso-field-container {
|
|
63
|
+
grid-row: 2;
|
|
64
|
+
margin-top: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.dso-info-container {
|
|
68
|
+
grid-row: 3;
|
|
69
|
+
|
|
70
|
+
.dso-help-block,
|
|
71
|
+
.dso-message {
|
|
72
|
+
margin-top: 0;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
26
75
|
}
|
|
27
76
|
}
|
|
28
77
|
}
|
|
@@ -1 +1,5 @@
|
|
|
1
1
|
# `.dso-justify-form-groups`
|
|
2
|
+
|
|
3
|
+
## **Let op!**
|
|
4
|
+
|
|
5
|
+
Bij justify-form-groups moet het aantal velden opgegeven worden als extra classname: `.form-groups-n`, waarbij `n` moet worden vervangen met het aantal `.form-group` velden er in het `.dso-justify-form-groups` staan. Maximaal kan dit **3** zijn, `.dso-form-buttons` wordt hierbij niet meegeteld.
|