dso-toolkit 72.2.0 → 73.0.1

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.
@@ -1,4 +1,4 @@
1
- @use "../anchor";
1
+ @use "../link";
2
2
 
3
3
  sup {
4
4
  font-size: 0.65em;
@@ -8,6 +8,6 @@ sup {
8
8
  vertical-align: baseline;
9
9
 
10
10
  a {
11
- @include anchor.reverse();
11
+ @include link.reverse();
12
12
  }
13
13
  }
@@ -1,6 +1,6 @@
1
1
  @use "../../variables/units";
2
2
  @use "../../variables/colors";
3
- @use "../anchor";
3
+ @use "../link";
4
4
 
5
5
  @use "tile.variables" as tile-variables;
6
6
 
@@ -63,7 +63,7 @@
63
63
  }
64
64
 
65
65
  a {
66
- @include anchor.clean();
66
+ @include link.clean();
67
67
 
68
68
  &:hover,
69
69
  &:active {
package/src/dso.scss CHANGED
@@ -11,7 +11,6 @@
11
11
  @use "components/accordion/accordion";
12
12
  @use "components/action-list/action-list";
13
13
  @use "components/alert/alert";
14
- @use "components/anchor/anchor";
15
14
  @use "components/application-heading/application-heading";
16
15
  @use "components/attachments-counter/attachments-counter";
17
16
  @use "components/badge/badge";
@@ -56,6 +55,7 @@
56
55
  @use "components/label/label";
57
56
  @use "components/label-group/label-group";
58
57
  @use "components/legend-item/legend-item";
58
+ @use "components/link/link";
59
59
  @use "components/link-list/link-list";
60
60
  @use "components/list/list";
61
61
  @use "components/map-controls/map-controls";
@@ -1,7 +1,7 @@
1
- @use "../components/anchor/anchor.variables.scss" as anchor-variables;
1
+ @use "../components/link/link.variables.scss" as link-variables;
2
2
 
3
3
  :root {
4
- --link-color: #{anchor-variables.$link-color};
5
- --link-hover-color: #{anchor-variables.$link-hover-color};
6
- --link-visited-color: #{anchor-variables.$link-visited-color};
4
+ --link-color: #{link-variables.$link-color};
5
+ --link-hover-color: #{link-variables.$link-hover-color};
6
+ --link-visited-color: #{link-variables.$link-visited-color};
7
7
  }
@@ -2,7 +2,7 @@
2
2
  @use "sass:color";
3
3
 
4
4
  @use "../../variables/colors";
5
- @use "../../components/anchor/anchor.variables" as anchor-variables;
5
+ @use "../../components/link/link.variables" as link-variables;
6
6
  @use "../../components/button/button.variables" as button-variables;
7
7
  @use "../../di";
8
8
 
@@ -64,7 +64,7 @@
64
64
  // ==================
65
65
  @mixin _anchorIconColors($icon-color) {
66
66
  // loop through map to set icon mode
67
- @each $mode, $value in anchor-variables.$anchorIcons {
67
+ @each $mode, $value in link-variables.$linkIcons {
68
68
  $selector: map.get($value, "selector");
69
69
  $icon: map.get($value, "icon") + "-" + $icon-color;
70
70
 
@@ -1,2 +0,0 @@
1
- @forward "anchor.mixins";
2
- @forward "anchor.variables";
@@ -1,9 +0,0 @@
1
- @use "anchor.mixins" as anchor-mixins;
2
-
3
- a {
4
- @include anchor-mixins.root();
5
-
6
- &:where(:not(.dso-primary, .dso-secondary, .dso-tertiary)) {
7
- @include anchor-mixins.anchorIcons();
8
- }
9
- }
File without changes