dso-toolkit 65.0.1 → 65.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 +13 -0
- package/dist/dso.css +2 -2
- package/dist/dso.css.map +1 -1
- package/dist/dso.min.css +1 -1
- package/dist/dso.min.css.map +1 -1
- package/package.json +6 -6
- package/src/components/button/button.mixins.scss +10 -25
- package/src/components/delete/delete.mixins.scss +12 -3
- package/src/components/modal/modal.mixins.scss +3 -1
- package/src/components/modal/modal.variables.scss +1 -1
- package/src/variables/colors.scss +2 -0
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": "65.0
|
|
5
|
+
"version": "65.1.0",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"watch": "gulp"
|
|
8
8
|
},
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@storybook/addons": "7.6.20",
|
|
33
33
|
"@storybook/client-api": "7.6.20",
|
|
34
34
|
"@storybook/types": "7.6.20",
|
|
35
|
-
"@types/css": "^0.0.
|
|
35
|
+
"@types/css": "^0.0.38",
|
|
36
36
|
"@types/gulp": "^4.0.17",
|
|
37
37
|
"@types/gulp-cheerio": "^0.0.38",
|
|
38
38
|
"@types/gulp-filter": "^3.0.39",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@types/gulp-rename": "^2.0.6",
|
|
42
42
|
"@types/list-stream": "^1.0.3",
|
|
43
43
|
"@types/through2": "^2.0.41",
|
|
44
|
-
"concurrently": "^
|
|
44
|
+
"concurrently": "^9.0.1",
|
|
45
45
|
"css": "^3.0.0",
|
|
46
|
-
"cssnano": "^7.0.
|
|
46
|
+
"cssnano": "^7.0.6",
|
|
47
47
|
"del": "^7.1.0",
|
|
48
48
|
"escape-string-regexp": "^5.0.0",
|
|
49
49
|
"gulp": "^5.0.0",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"list-stream": "^2.1.0",
|
|
59
59
|
"markdown-to-jsx": "^7.5.0",
|
|
60
60
|
"plugin-error": "^2.0.1",
|
|
61
|
-
"postcss": "^8.4.
|
|
61
|
+
"postcss": "^8.4.47",
|
|
62
62
|
"prettier": "^3.3.3",
|
|
63
63
|
"react": "^18.3.1",
|
|
64
64
|
"react-dom": "^18.3.1",
|
|
65
|
-
"sass": "
|
|
65
|
+
"sass": "1.79.4",
|
|
66
66
|
"through2": "^4.0.2",
|
|
67
67
|
"typescript": "^5.5.4",
|
|
68
68
|
"uuid": "^10.0.0",
|
|
@@ -453,31 +453,16 @@
|
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
|
|
456
|
-
@mixin map-focus() {
|
|
457
|
-
$focus-map: (
|
|
458
|
-
"background-color": button-variables.$secondary-hover-background-color,
|
|
459
|
-
"border-color": button-variables.$secondary-hover-background-color,
|
|
460
|
-
"color": colors.$wit,
|
|
461
|
-
"type-download-di": "download-wit",
|
|
462
|
-
"type-extern-di": "external-link-wit",
|
|
463
|
-
);
|
|
464
|
-
|
|
465
|
-
&:focus-visible {
|
|
466
|
-
@include _shared-variant($focus-map);
|
|
467
|
-
|
|
468
|
-
outline: none;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
|
|
472
456
|
@mixin map() {
|
|
473
457
|
@include secondary($modifiers: false);
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
458
|
+
|
|
459
|
+
& {
|
|
460
|
+
border: 0;
|
|
461
|
+
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
|
|
462
|
+
font-weight: 600;
|
|
463
|
+
margin-inline-end: units.$u2;
|
|
464
|
+
padding-block: units.$u1;
|
|
465
|
+
padding-inline: units.$u2;
|
|
466
|
+
white-space: nowrap; // stylelint-disable-line declaration-property-value-disallowed-list -- No word wrapping in buttons on maps
|
|
467
|
+
}
|
|
483
468
|
}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
@use "../../variables/colors";
|
|
2
2
|
@use "../../global/mixins/set-colors.mixin" as set-colors;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
/// The root mixin to apply the correct color and strikethrough for a delete visualisation.
|
|
5
|
+
/// @param {Boolean} $strikethrough - Whether to apply a strikethrough or not. Default is true. If false, only background color will be applied. Consumers are responsible for setting strikethrough styles. For example with the `delete.strikethrough()` mixin.
|
|
6
|
+
@mixin root($strikethrough: true) {
|
|
5
7
|
@include set-colors.apply(colors.$rood-20);
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
@if ($strikethrough) {
|
|
10
|
+
& {
|
|
11
|
+
@include strikethrough();
|
|
12
|
+
}
|
|
9
13
|
}
|
|
10
14
|
}
|
|
15
|
+
|
|
16
|
+
/// The mixin to apply a strikethrough to a delete visualisation.
|
|
17
|
+
@mixin strikethrough($_value: line-through) {
|
|
18
|
+
text-decoration: $_value;
|
|
19
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
|
|
1
3
|
@use "../../variables/colors";
|
|
2
4
|
@use "../../variables/media-query-breakpoints";
|
|
3
5
|
@use "../../variables/units";
|
|
@@ -27,7 +29,7 @@
|
|
|
27
29
|
border: 0;
|
|
28
30
|
|
|
29
31
|
&::backdrop {
|
|
30
|
-
background-color:
|
|
32
|
+
background-color: color.scale(modal-variables.$backdrop-bg, $alpha: modal-variables.$backdrop-opacity);
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
.dso-dialog {
|
|
@@ -32,9 +32,11 @@ $grijs-5: #f2f2f2; // - niet te gebruiken als leestekst
|
|
|
32
32
|
$wit: #fff;
|
|
33
33
|
|
|
34
34
|
$lime: #79b929; // 100% tint
|
|
35
|
+
$lime-10: #f2f8ea; // 10% tint
|
|
35
36
|
$lime-20: #e4f1d4; // 20% tint
|
|
36
37
|
$rood: #ce3f51; // 100% tint
|
|
37
38
|
$rood-110: #b62f41; // 110% tint
|
|
39
|
+
$rood-10: #faecee; // 10% tint
|
|
38
40
|
$rood-20: #f5d8dc; // 20% tint
|
|
39
41
|
$geel: #dcd400; // 100% tint
|
|
40
42
|
$geel-20: #f8f6cc; // 20% tint
|