dso-toolkit 62.4.0 → 62.5.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 CHANGED
@@ -1,5 +1,5 @@
1
- /* DSO Toolkit version: 62.4.0 */
2
- :root { --dso-toolkit-version: 62.4.0 }
1
+ /* DSO Toolkit version: 62.5.0 */
2
+ :root { --dso-toolkit-version: 62.5.0 }
3
3
 
4
4
  @font-face {
5
5
  font-family: "Asap";
@@ -4038,12 +4038,15 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4038
4038
  --dso-selectable-color: #ce3f51;
4039
4039
  }
4040
4040
  .form-group.dso-checkboxes.dso-required .control-label::after {
4041
- color: #666;
4042
- content: "verplicht";
4043
- font-size: 0.85em;
4044
- font-style: italic;
4045
- font-weight: 400;
4046
- margin-left: 4px;
4041
+ content: "";
4042
+ display: inline-block;
4043
+ margin-inline-start: 4px;
4044
+ background: url("./dso-icons.svg#img-asterisk") no-repeat;
4045
+ background-position: center;
4046
+ background-size: cover;
4047
+ height: 1rem;
4048
+ vertical-align: unset;
4049
+ width: 1rem;
4047
4050
  }
4048
4051
  @media screen and (min-width: 768px) {
4049
4052
  .form-horizontal .form-group.dso-checkboxes .dso-field-container {
@@ -4055,12 +4058,15 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4055
4058
  --dso-selectable-color: #ce3f51;
4056
4059
  }
4057
4060
  .form-group.dso-confirm.dso-required .control-label::after {
4058
- color: #666;
4059
- content: "verplicht";
4060
- font-size: 0.85em;
4061
- font-style: italic;
4062
- font-weight: 400;
4063
- margin-left: 4px;
4061
+ content: "";
4062
+ display: inline-block;
4063
+ margin-inline-start: 4px;
4064
+ background: url("./dso-icons.svg#img-asterisk") no-repeat;
4065
+ background-position: center;
4066
+ background-size: cover;
4067
+ height: 1rem;
4068
+ vertical-align: unset;
4069
+ width: 1rem;
4064
4070
  }
4065
4071
  @media screen and (min-width: 768px) {
4066
4072
  .form-horizontal .form-group.dso-confirm .dso-field-container {
@@ -4070,12 +4076,15 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4070
4076
  }
4071
4077
 
4072
4078
  .form-group.dso-files.dso-required .control-label::after {
4073
- color: #666;
4074
- content: "verplicht";
4075
- font-size: 0.85em;
4076
- font-style: italic;
4077
- font-weight: 400;
4078
- margin-left: 4px;
4079
+ content: "";
4080
+ display: inline-block;
4081
+ margin-inline-start: 4px;
4082
+ background: url("./dso-icons.svg#img-asterisk") no-repeat;
4083
+ background-position: center;
4084
+ background-size: cover;
4085
+ height: 1rem;
4086
+ vertical-align: unset;
4087
+ width: 1rem;
4079
4088
  }
4080
4089
  .form-group.dso-files dso-selectable,
4081
4090
  .form-group.dso-files .dso-selectable {
@@ -4191,21 +4200,27 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4191
4200
  }
4192
4201
 
4193
4202
  .form-group.dso-input.dso-required .control-label::after {
4194
- color: #666;
4195
- content: "verplicht";
4196
- font-size: 0.85em;
4197
- font-style: italic;
4198
- font-weight: 400;
4199
- margin-left: 4px;
4203
+ content: "";
4204
+ display: inline-block;
4205
+ margin-inline-start: 4px;
4206
+ background: url("./dso-icons.svg#img-asterisk") no-repeat;
4207
+ background-position: center;
4208
+ background-size: cover;
4209
+ height: 1rem;
4210
+ vertical-align: unset;
4211
+ width: 1rem;
4200
4212
  }
4201
4213
 
4202
4214
  .form-group.dso-input-number.dso-required .control-label::after {
4203
- color: #666;
4204
- content: "verplicht";
4205
- font-size: 0.85em;
4206
- font-style: italic;
4207
- font-weight: 400;
4208
- margin-left: 4px;
4215
+ content: "";
4216
+ display: inline-block;
4217
+ margin-inline-start: 4px;
4218
+ background: url("./dso-icons.svg#img-asterisk") no-repeat;
4219
+ background-position: center;
4220
+ background-size: cover;
4221
+ height: 1rem;
4222
+ vertical-align: unset;
4223
+ width: 1rem;
4209
4224
  }
4210
4225
  @media screen and (min-width: 768px) {
4211
4226
  .form-horizontal .form-group.dso-input-number .dso-field-container {
@@ -4217,12 +4232,15 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4217
4232
  --dso-selectable-color: #ce3f51;
4218
4233
  }
4219
4234
  .form-group.dso-radios.dso-required .control-label::after {
4220
- color: #666;
4221
- content: "verplicht";
4222
- font-size: 0.85em;
4223
- font-style: italic;
4224
- font-weight: 400;
4225
- margin-left: 4px;
4235
+ content: "";
4236
+ display: inline-block;
4237
+ margin-inline-start: 4px;
4238
+ background: url("./dso-icons.svg#img-asterisk") no-repeat;
4239
+ background-position: center;
4240
+ background-size: cover;
4241
+ height: 1rem;
4242
+ vertical-align: unset;
4243
+ width: 1rem;
4226
4244
  }
4227
4245
  .form-group.dso-radios.dso-inline {
4228
4246
  --dso-selectable-display: inline-block;
@@ -4252,12 +4270,15 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4252
4270
  }
4253
4271
 
4254
4272
  .form-group.dso-select.dso-required .control-label::after {
4255
- color: #666;
4256
- content: "verplicht";
4257
- font-size: 0.85em;
4258
- font-style: italic;
4259
- font-weight: 400;
4260
- margin-left: 4px;
4273
+ content: "";
4274
+ display: inline-block;
4275
+ margin-inline-start: 4px;
4276
+ background: url("./dso-icons.svg#img-asterisk") no-repeat;
4277
+ background-position: center;
4278
+ background-size: cover;
4279
+ height: 1rem;
4280
+ vertical-align: unset;
4281
+ width: 1rem;
4261
4282
  }
4262
4283
  .form-group.dso-select.dso-invalid select:not([multiple]) {
4263
4284
  background-image: url("./dso-icons.svg#img-caret-down-invalid");
@@ -4302,12 +4323,15 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4302
4323
  }
4303
4324
 
4304
4325
  .form-group.dso-textarea.dso-required .control-label::after {
4305
- color: #666;
4306
- content: "verplicht";
4307
- font-size: 0.85em;
4308
- font-style: italic;
4309
- font-weight: 400;
4310
- margin-left: 4px;
4326
+ content: "";
4327
+ display: inline-block;
4328
+ margin-inline-start: 4px;
4329
+ background: url("./dso-icons.svg#img-asterisk") no-repeat;
4330
+ background-position: center;
4331
+ background-size: cover;
4332
+ height: 1rem;
4333
+ vertical-align: unset;
4334
+ width: 1rem;
4311
4335
  }
4312
4336
  .form-group.dso-textarea textarea {
4313
4337
  resize: vertical;
@@ -4316,9 +4340,7 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4316
4340
  height: auto;
4317
4341
  }
4318
4342
  .form-group.dso-textarea textarea.form-control:not([rows]) {
4319
- height: calc(
4320
- 4.5em + 14px
4321
- );
4343
+ height: calc(4.5em + 14px);
4322
4344
  }
4323
4345
  .form-horizontal .form-group.dso-textarea .form-control {
4324
4346
  padding-bottom: 5px;
@@ -5738,10 +5760,10 @@ dso-info .dso-rich-content .dso-tertiary:not([disabled]):focus svg.di {
5738
5760
 
5739
5761
  @media screen and (min-width: 768px) {
5740
5762
  .control-label + .dso-info-button {
5741
- margin-top: 7px;
5763
+ margin-block-start: 7px;
5742
5764
  }
5743
- .dso-radios .control-label + .dso-info-button, .dso-checkboxes .control-label + .dso-info-button, .dso-files .control-label + .dso-info-button {
5744
- margin-top: 0;
5765
+ .dso-radios .control-label + .dso-info-button, .dso-checkboxes .control-label + .dso-info-button, .dso-files .control-label + .dso-info-button, .dso-input-text .control-label + .dso-info-button, .dso-form-group-search-bar .control-label + .dso-info-button, .dso-select .control-label + .dso-info-button, .dso-static .control-label + .dso-info-button, .dso-textarea .control-label + .dso-info-button {
5766
+ margin-block-start: 0;
5745
5767
  }
5746
5768
  }
5747
5769
 
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.4.0",
5
+ "version": "62.5.0",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -26,46 +26,46 @@
26
26
  },
27
27
  "homepage": "https://www.dso-toolkit.nl/",
28
28
  "devDependencies": {
29
- "@prettier/plugin-xml": "^2.2.0",
30
- "@storybook/addon-actions": "7.3.2",
31
- "@storybook/addons": "7.3.2",
32
- "@storybook/client-api": "7.3.2",
33
- "@storybook/types": "7.3.2",
34
- "@types/css": "^0.0.33",
35
- "@types/fancy-log": "^2.0.0",
36
- "@types/gulp": "^4.0.13",
37
- "@types/gulp-cheerio": "^0.0.35",
38
- "@types/gulp-filter": "^3.0.36",
39
- "@types/gulp-header": "^2.0.2",
40
- "@types/gulp-postcss": "^8.0.3",
41
- "@types/gulp-rename": "^2.0.2",
42
- "@types/gulp-sass": "^5.0.1",
43
- "@types/list-stream": "^1.0.1",
44
- "concurrently": "^8.2.1",
29
+ "@prettier/plugin-xml": "^3.2.2",
30
+ "@storybook/addon-actions": "7.5.3",
31
+ "@storybook/addons": "7.5.3",
32
+ "@storybook/client-api": "7.5.3",
33
+ "@storybook/types": "7.5.3",
34
+ "@types/css": "^0.0.37",
35
+ "@types/fancy-log": "^2.0.2",
36
+ "@types/gulp": "^4.0.17",
37
+ "@types/gulp-cheerio": "^0.0.38",
38
+ "@types/gulp-filter": "^3.0.39",
39
+ "@types/gulp-header": "^2.0.4",
40
+ "@types/gulp-postcss": "^8.0.6",
41
+ "@types/gulp-rename": "^2.0.6",
42
+ "@types/gulp-sass": "^5.0.4",
43
+ "@types/list-stream": "^1.0.3",
44
+ "concurrently": "^8.2.2",
45
45
  "css": "^3.0.0",
46
46
  "cssnano": "^6.0.1",
47
- "del": "^7.0.0",
47
+ "del": "^7.1.0",
48
48
  "escape-string-regexp": "^5.0.0",
49
49
  "fancy-log": "^2.0.0",
50
50
  "gulp": "^4.0.2",
51
51
  "gulp-cheerio": "^1.0.0",
52
- "gulp-filter": "^8.0.0",
52
+ "gulp-filter": "^9.0.1",
53
53
  "gulp-header": "^2.0.9",
54
54
  "gulp-postcss": "^9.0.1",
55
- "gulp-prettier": "^4.0.0",
55
+ "gulp-prettier": "^6.0.0",
56
56
  "gulp-rename": "^2.0.0",
57
57
  "gulp-sass": "^5.1.0",
58
58
  "gulp-svgstore": "^9.0.0",
59
59
  "gulp-typescript": "^6.0.0-alpha.1",
60
60
  "list-stream": "^2.1.0",
61
61
  "markdown-to-jsx": "^7.3.2",
62
- "postcss": "^8.4.28",
63
- "prettier": "^2.8.8",
62
+ "postcss": "^8.4.31",
63
+ "prettier": "^3.1.0",
64
64
  "react": "^18.2.0",
65
65
  "react-dom": "^18.2.0",
66
- "sass": "^1.66.1",
67
- "typescript": "~5.1.6",
68
- "uuid": "^9.0.0"
66
+ "sass": "^1.69.5",
67
+ "typescript": "<5.3.0",
68
+ "uuid": "^9.0.1"
69
69
  },
70
70
  "nx": {
71
71
  "includedScripts": []
@@ -1,10 +1,12 @@
1
- @use "form.variables" as css-form-variables;
1
+ @use "config";
2
+ @use "../../di";
2
3
 
3
4
  @mixin form-group-required {
4
- color: css-form-variables.$required-color;
5
- content: css-form-variables.$required-string;
6
- font-size: 0.85em;
7
- font-style: italic;
8
- font-weight: 400;
9
- margin-left: 4px;
5
+ content: "";
6
+
7
+ display: inline-block;
8
+
9
+ margin-inline-start: 4px;
10
+
11
+ @include di.base(asterisk, 1rem, unset);
10
12
  }
@@ -19,7 +19,6 @@ $field-invalid-message-color: colors.$invalid-color;
19
19
  $field-invalid-icon-size: units.$u3;
20
20
 
21
21
  $required-color: colors.$grijs-60;
22
- $required-string: "verplicht";
23
22
 
24
23
  //** `.form-group` margin
25
24
  $form-group-margin-bottom: units.$u2;
@@ -18,7 +18,9 @@
18
18
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
19
19
  border: form-control-variables.$border-width solid colors.$input-border;
20
20
  border-radius: form-control-variables.$input-border-radius; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.
21
- transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
21
+ transition:
22
+ border-color ease-in-out 0.15s,
23
+ box-shadow ease-in-out 0.15s;
22
24
 
23
25
  @include utilities.placeholder(colors.$input-color-placeholder);
24
26
 
@@ -16,12 +16,17 @@
16
16
 
17
17
  @mixin controlLabelSibling() {
18
18
  @media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
19
- margin-top: #{units.$u1 - 1};
19
+ margin-block-start: #{units.$u1 - 1};
20
20
 
21
21
  .dso-radios &,
22
22
  .dso-checkboxes &,
23
- .dso-files & {
24
- margin-top: 0;
23
+ .dso-files &,
24
+ .dso-input-text &,
25
+ .dso-form-group-search-bar &,
26
+ .dso-select &,
27
+ .dso-static &,
28
+ .dso-textarea & {
29
+ margin-block-start: 0;
25
30
  }
26
31
  }
27
32
  }
@@ -64,7 +64,8 @@
64
64
  > *.dso-selected + #{$input-number-selector} {
65
65
  @include _state-styling(colors.$wit, button.$secondary-hover-background-color, colors.$grijs-90);
66
66
 
67
- box-shadow: inset 0 -1px 0 0 button.$secondary-hover-background-color,
67
+ box-shadow:
68
+ inset 0 -1px 0 0 button.$secondary-hover-background-color,
68
69
  inset 0 1px 0 0 button.$secondary-hover-background-color,
69
70
  inset -1px 0 0 0 button.$secondary-hover-background-color;
70
71
  }
@@ -131,12 +132,16 @@
131
132
  &.dso-selected {
132
133
  border-color: colors.$grasgroen;
133
134
  border-width: 1px;
134
- box-shadow: inset 0px 0px 0px 1px colors.$grasgroen, inset -1px 0px 0px 0px colors.$grasgroen;
135
+ box-shadow:
136
+ inset 0px 0px 0px 1px colors.$grasgroen,
137
+ inset -1px 0px 0px 0px colors.$grasgroen;
135
138
 
136
139
  &.dso-single-count {
137
140
  @media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
138
141
  border-right: 0;
139
- box-shadow: colors.$grasgroen 0px 1px 0px 0px inset, colors.$grasgroen 1px 0px 0px 0px inset,
142
+ box-shadow:
143
+ colors.$grasgroen 0px 1px 0px 0px inset,
144
+ colors.$grasgroen 1px 0px 0px 0px inset,
140
145
  colors.$grasgroen 0px -1px 0px 0px inset;
141
146
  }
142
147
  }
@@ -32,7 +32,10 @@
32
32
 
33
33
  &.dso-animate {
34
34
  .dso-navbar-extension-container {
35
- transition: grid-template-rows 0.5s, visibility 0.5s, margin-block-end 0.5s;
35
+ transition:
36
+ grid-template-rows 0.5s,
37
+ visibility 0.5s,
38
+ margin-block-end 0.5s;
36
39
  }
37
40
  }
38
41
 
@@ -58,7 +58,9 @@
58
58
  height: css-search-bar-variables.$height;
59
59
  line-height: css-search-bar-variables.$height;
60
60
  padding: 6px css-search-bar-variables.$height 6px units.$u1;
61
- transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
61
+ transition:
62
+ border-color ease-in-out 0.15s,
63
+ box-shadow ease-in-out 0.15s;
62
64
  width: 100%;
63
65
 
64
66
  &:focus {
@@ -4,7 +4,10 @@
4
4
  font-family: "Asap";
5
5
  font-style: normal;
6
6
  font-weight: 400;
7
- src: local("Asap Regular"), local("Asap-Regular"), url("#{config.$asap-font-path}Asap-Regular.woff2") format("woff2"),
7
+ src:
8
+ local("Asap Regular"),
9
+ local("Asap-Regular"),
10
+ url("#{config.$asap-font-path}Asap-Regular.woff2") format("woff2"),
8
11
  url("#{config.$asap-font-path}Asap-Regular.woff") format("woff");
9
12
  }
10
13
 
@@ -12,7 +15,9 @@
12
15
  font-family: "Asap";
13
16
  font-style: italic;
14
17
  font-weight: 400;
15
- src: local("Asap Regular italic"), local("Asap-Regularitalic"),
18
+ src:
19
+ local("Asap Regular italic"),
20
+ local("Asap-Regularitalic"),
16
21
  url("#{config.$asap-font-path}Asap-Italic.woff2") format("woff2"),
17
22
  url("#{config.$asap-font-path}Asap-Italic.woff") format("woff");
18
23
  }
@@ -21,7 +26,10 @@
21
26
  font-family: "Asap";
22
27
  font-style: normal;
23
28
  font-weight: 500;
24
- src: local("Asap Bold"), local("Asap-Bold"), url("#{config.$asap-font-path}Asap-Medium.woff2") format("woff2"),
29
+ src:
30
+ local("Asap Bold"),
31
+ local("Asap-Bold"),
32
+ url("#{config.$asap-font-path}Asap-Medium.woff2") format("woff2"),
25
33
  url("#{config.$asap-font-path}Asap-Medium.woff") format("woff");
26
34
  }
27
35
 
@@ -29,7 +37,9 @@
29
37
  font-family: "Asap";
30
38
  font-style: italic;
31
39
  font-weight: 500;
32
- src: local("Asap Bold italic"), local("Asap-Bolditalic"),
40
+ src:
41
+ local("Asap Bold italic"),
42
+ local("Asap-Bolditalic"),
33
43
  url("#{config.$asap-font-path}Asap-MediumItalic.woff2") format("woff2"),
34
44
  url("#{config.$asap-font-path}Asap-MediumItalic.woff") format("woff");
35
45
  }
@@ -38,7 +48,10 @@
38
48
  font-family: "Asap";
39
49
  font-style: normal;
40
50
  font-weight: 600;
41
- src: local("Asap Bold"), local("Asap-Bold"), url("#{config.$asap-font-path}Asap-SemiBold.woff2") format("woff2"),
51
+ src:
52
+ local("Asap Bold"),
53
+ local("Asap-Bold"),
54
+ url("#{config.$asap-font-path}Asap-SemiBold.woff2") format("woff2"),
42
55
  url("#{config.$asap-font-path}Asap-SemiBold.woff") format("woff");
43
56
  }
44
57
 
@@ -46,7 +59,9 @@
46
59
  font-family: "Asap";
47
60
  font-style: italic;
48
61
  font-weight: 600;
49
- src: local("Asap Bold italic"), local("Asap-Bolditalic"),
62
+ src:
63
+ local("Asap Bold italic"),
64
+ local("Asap-Bolditalic"),
50
65
  url("#{config.$asap-font-path}Asap-SemiBoldItalic.woff2") format("woff2"),
51
66
  url("#{config.$asap-font-path}Asap-SemiBoldItalic.woff") format("woff");
52
67
  }
@@ -55,7 +70,10 @@
55
70
  font-family: "Asap";
56
71
  font-style: normal;
57
72
  font-weight: 700;
58
- src: local("Asap Bold"), local("Asap-Bold"), url("#{config.$asap-font-path}Asap-Bold.woff2") format("woff2"),
73
+ src:
74
+ local("Asap Bold"),
75
+ local("Asap-Bold"),
76
+ url("#{config.$asap-font-path}Asap-Bold.woff2") format("woff2"),
59
77
  url("#{config.$asap-font-path}Asap-Bold.woff") format("woff");
60
78
  }
61
79
 
@@ -63,7 +81,9 @@
63
81
  font-family: "Asap";
64
82
  font-style: italic;
65
83
  font-weight: 700;
66
- src: local("Asap Bold italic"), local("Asap-Bolditalic"),
84
+ src:
85
+ local("Asap Bold italic"),
86
+ local("Asap-Bolditalic"),
67
87
  url("#{config.$asap-font-path}Asap-BoldItalic.woff2") format("woff2"),
68
88
  url("#{config.$asap-font-path}Asap-BoldItalic.woff") format("woff");
69
89
  }
@@ -17,7 +17,6 @@ $tooltip: 410;
17
17
 
18
18
  $nav: 500;
19
19
 
20
- $leaflet: 110;
21
20
  $popover: 520;
22
21
  $modal-background-overlay: 529;
23
22
  $modal: 530;