dso-toolkit 51.2.1 → 51.4.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.
Files changed (32) hide show
  1. package/dist/dso-icons.svg +253 -211
  2. package/dist/dso.css +220 -186
  3. package/dist/index.js +3 -0
  4. package/package.json +1 -1
  5. package/src/components/accordion/accordion-theme-conclusion.scss +40 -34
  6. package/src/components/accordion/accordion.variables.scss +1 -1
  7. package/src/components/alert/alert.mixins.scss +2 -3
  8. package/src/components/annotation/readme.md +24 -0
  9. package/src/components/badge/badge.mixins.scss +8 -2
  10. package/src/components/badge/badge.variables.scss +1 -0
  11. package/src/components/banner/banner.mixins.scss +1 -2
  12. package/src/components/card/card.mixins.scss +11 -1
  13. package/src/components/card/card.scss +26 -0
  14. package/src/components/document-header/document-header.scss +1 -0
  15. package/src/components/document-list/document-list.scss +1 -0
  16. package/src/components/dropdown-menu/dropdown-menu.mixins.scss +2 -13
  17. package/src/components/dropdown-menu/dropdown-menu.scss +14 -5
  18. package/src/components/expandable-heading/_index.scss +0 -0
  19. package/src/components/expandable-heading/expandable-heading.scss +7 -0
  20. package/src/components/expandable-heading/readme.md +1 -0
  21. package/src/components/footer/footer.scss +7 -6
  22. package/src/components/grid/grid.scss +1 -0
  23. package/src/components/highlight-box/highlight-box.mixins.scss +3 -12
  24. package/src/components/highlight-box/highlight-box.scss +6 -6
  25. package/src/components/info/info.mixins.scss +2 -2
  26. package/src/components/info/info.scss +1 -1
  27. package/src/components/label/label.mixins.scss +12 -11
  28. package/src/components/label/label.variables.scss +5 -2
  29. package/src/components/link-list/link-list.mixins.scss +2 -2
  30. package/src/components/shopping-cart/shopping-cart.scss +1 -0
  31. package/src/dso.scss +1 -0
  32. package/src/variables/states.scss +5 -5
@@ -10,10 +10,7 @@
10
10
  display: inline-block;
11
11
  line-height: 1.5;
12
12
  max-width: 100%;
13
-
14
- &:not(.dso-label-bright) {
15
- padding: #{units.$u1 * 0.5} units.$u1;
16
- }
13
+ padding: #{units.$u1 * 0.5} units.$u1;
17
14
 
18
15
  &:focus-within,
19
16
  &.dso-hover {
@@ -43,11 +40,6 @@
43
40
  }
44
41
  }
45
42
 
46
- &.dso-compact {
47
- border: 0;
48
- padding: 0 8px;
49
- }
50
-
51
43
  &.dso-label-info {
52
44
  background-color: label-variables.$info-bg-color;
53
45
  color: label-variables.$info-color;
@@ -81,8 +73,17 @@
81
73
  &.dso-label-bright {
82
74
  background-color: label-variables.$bright-bg-color;
83
75
  color: label-variables.$bright-color;
84
- border: 1px solid label-variables.$bright-border-color;
85
- padding: #{units.$u1 * 0.5 - 1px} units.$u1 - 1px;
76
+ outline: 1px solid label-variables.$bright-border-color;
77
+ outline-offset: -1px;
78
+ }
79
+
80
+ &.dso-label-attention {
81
+ background-color: label-variables.$attention-bg-color;
82
+ color: label-variables.$attention-color;
83
+ }
84
+
85
+ &.dso-compact {
86
+ padding: 0 units.$u1;
86
87
  }
87
88
  }
88
89
 
@@ -6,7 +6,7 @@ $default-bg-color: colors.$grijs-5;
6
6
  $default-color: colors.$grijs-90;
7
7
 
8
8
  $info-bg-color: colors.$info-color;
9
- $info-color: colors.$grijs-90;
9
+ $info-color: colors.$zwart;
10
10
 
11
11
  $primary-bg-color: colors.$bosgroen;
12
12
  $primary-color: colors.$wit;
@@ -15,7 +15,7 @@ $success-bg-color: colors.$success-color;
15
15
  $success-color: colors.$wit;
16
16
 
17
17
  $warning-bg-color: colors.$warning-color;
18
- $warning-color: colors.$grijs-90;
18
+ $warning-color: colors.$zwart;
19
19
 
20
20
  $danger-bg-color: colors.$danger-color;
21
21
  $danger-color: colors.$wit;
@@ -27,5 +27,8 @@ $bright-bg-color: colors.$wit;
27
27
  $bright-color: colors.$grijs-90;
28
28
  $bright-border-color: colors.$grijs-20;
29
29
 
30
+ $attention-bg-color: colors.$mauve;
31
+ $attention-color: colors.$wit;
32
+
30
33
  $symbol-height: 20px;
31
34
  $symbol-aspect-ratio: math.div(30, 25);
@@ -36,10 +36,10 @@
36
36
  a {
37
37
  @include anchor.reverse();
38
38
 
39
- color: colors.$grijs-90;
39
+ color: colors.$zwart;
40
40
 
41
41
  &:active {
42
- color: colors.$grijs-90;
42
+ color: colors.$zwart;
43
43
  text-decoration: none;
44
44
  }
45
45
  }
@@ -44,6 +44,7 @@
44
44
  background-color: colors.$grijs-5;
45
45
  border: 0;
46
46
  border-radius: css-shopping-cart-variables.$radius;
47
+ color: colors.$zwart;
47
48
  position: relative;
48
49
 
49
50
  > .dso-delete {
package/src/dso.scss CHANGED
@@ -29,6 +29,7 @@
29
29
  @use "components/document-header/document-header";
30
30
  @use "components/document-list/document-list";
31
31
  @use "components/dropdown-menu/dropdown-menu";
32
+ @use "components/expandable-heading/expandable-heading.scss";
32
33
  @use "components/field-label/field-label";
33
34
  @use "components/fieldset/fieldset";
34
35
  @use "components/footer/footer";
@@ -1,21 +1,21 @@
1
1
  @use "colors";
2
2
 
3
- $success-text: colors.$grijs-90;
3
+ $success-text: colors.$zwart;
4
4
  $success-bg: colors.$success-bg-color;
5
5
  $success-border: colors.$success-bg-color;
6
6
 
7
- $info-text: colors.$grijs-90;
7
+ $info-text: colors.$zwart;
8
8
  $info-bg: colors.$info-bg-color;
9
9
  $info-border: colors.$info-bg-color;
10
10
 
11
- $warning-text: colors.$grijs-90;
11
+ $warning-text: colors.$zwart;
12
12
  $warning-bg: colors.$warning-bg-color;
13
13
  $warning-border: colors.$warning-bg-color;
14
14
 
15
- $danger-text: colors.$grijs-90;
15
+ $danger-text: colors.$zwart;
16
16
  $danger-bg: colors.$danger-bg-color;
17
17
  $danger-border: colors.$danger-bg-color;
18
18
 
19
- $error-text: colors.$grijs-90;
19
+ $error-text: colors.$zwart;
20
20
  $error-bg: colors.$error-bg-color;
21
21
  $error-border: colors.$error-bg-color;