dso-toolkit 66.1.0 → 66.2.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 +22 -0
- package/README.md +2 -2
- package/dist/dso.css +21 -11
- 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 +4 -4
- package/src/components/button/button.mixins.scss +2 -1
- package/src/components/card/card.scss +2 -1
- package/src/components/delete/delete.mixins.scss +18 -3
- package/src/components/dropdown-menu/dropdown-menu.scss +2 -2
- package/src/components/pagination/readme.md +6 -0
- 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": "66.
|
|
5
|
+
"version": "66.2.0",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"watch": "gulp"
|
|
8
8
|
},
|
|
@@ -41,7 +41,7 @@
|
|
|
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": "^9.0
|
|
44
|
+
"concurrently": "^9.1.0",
|
|
45
45
|
"css": "^3.0.0",
|
|
46
46
|
"cssnano": "^7.0.6",
|
|
47
47
|
"del": "^8.0.0",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"prettier": "^3.3.3",
|
|
63
63
|
"react": "^18.3.1",
|
|
64
64
|
"react-dom": "^18.3.1",
|
|
65
|
-
"sass": "1.
|
|
65
|
+
"sass": "1.80.6",
|
|
66
66
|
"through2": "^4.0.2",
|
|
67
67
|
"typescript": "~5.5.4",
|
|
68
|
-
"uuid": "^
|
|
68
|
+
"uuid": "^11.0.2",
|
|
69
69
|
"vinyl-sourcemaps-apply": "^0.2.1"
|
|
70
70
|
},
|
|
71
71
|
"nx": {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
+
@use "sass:string";
|
|
2
3
|
|
|
3
4
|
@use "../../utilities";
|
|
4
5
|
@use "../../variables/units";
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
@mixin _spinner-icon($color, $valign, $position) {
|
|
81
|
-
background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23#{
|
|
82
|
+
background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23#{string.slice(#{$color}, 2)}; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E");
|
|
82
83
|
background-repeat: no-repeat;
|
|
83
84
|
content: "";
|
|
84
85
|
display: inline-block;
|
|
@@ -1,10 +1,25 @@
|
|
|
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
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/// The mixin to apply a strikethrough to a delete visualisation.
|
|
17
|
+
@mixin strikethrough($_value: line-through) {
|
|
18
|
+
text-decoration: $_value;
|
|
19
|
+
|
|
20
|
+
// stylelint-disable media-feature-name-no-unknown -- counter line-through displaying as underline in firefox
|
|
21
|
+
// http://browserhacks.com/#hack-48ca6fc2947b7850c571a2f69bdbffbd
|
|
22
|
+
@media screen and (min--moz-device-pixel-ratio: 0) {
|
|
23
|
+
font-family: sans-serif;
|
|
9
24
|
}
|
|
10
25
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
@include di.base("chevron-down");
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
&:
|
|
19
|
+
&:active {
|
|
20
20
|
&::after {
|
|
21
21
|
@include di.variant("chevron-down-wit");
|
|
22
22
|
}
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
@include di.variant("chevron-up");
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
&:
|
|
59
|
+
&:active::after {
|
|
60
60
|
@include di.variant("chevron-up-wit");
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -1 +1,7 @@
|
|
|
1
1
|
# `.pagination`
|
|
2
|
+
|
|
3
|
+
## Gedrag en toegankelijkheid
|
|
4
|
+
|
|
5
|
+
Let bij implementatie van de pagination op het volgende:
|
|
6
|
+
|
|
7
|
+
- Het responsive tonen van het aantal pagina's werkt in het HTML/CSS component **niet**, wij adviseren om het core (web)component te gebruiken. Hierin zijn namelijk de breakpoints verwerkt en gekoppeld aan de aantal toonbare pagina's.
|
|
@@ -32,11 +32,13 @@ $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
|
$lime-20-5: #d8e5c9; // 20% tint 5% zwart
|
|
37
38
|
$lime-20-10: #ced9bf; // 20% tint 10% zwart
|
|
38
39
|
$rood: #ce3f51; // 100% tint
|
|
39
40
|
$rood-110: #b62f41; // 110% tint
|
|
41
|
+
$rood-10: #faecee; // 10% tint
|
|
40
42
|
$rood-20: #f5d8dc; // 20% tint
|
|
41
43
|
$rood-20-5: #e9cdd1; // 20% tint 5% zwart
|
|
42
44
|
$rood-20-10: #ddc3c6; // 20% tint 10% zwart
|