@navikt/ds-css 4.9.1 → 4.10.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 +6 -0
- package/dist/component/index.css +29 -4
- package/dist/component/index.min.css +1 -1
- package/dist/component/link.css +36 -3
- package/dist/component/link.min.css +1 -1
- package/dist/components.css +28 -3
- package/dist/components.min.css +1 -1
- package/dist/global/tokens.css +1 -1
- package/dist/index.css +29 -4
- package/dist/index.min.css +1 -1
- package/link.css +36 -3
- package/package.json +2 -2
- package/tokens.json +5 -1
package/dist/component/link.css
CHANGED
|
@@ -6,15 +6,36 @@
|
|
|
6
6
|
gap: var(--a-spacing-1);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.navds-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
.navds-link.navds-link--inline-text {
|
|
10
|
+
display: inline;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.navds-link.navds-link--inline-text > svg {
|
|
14
|
+
margin: 0.1em 0.1em -0.1em;
|
|
15
|
+
transform: translateY(0.05em);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.navds-link:visited {
|
|
19
|
+
color: var(--ac-link-visited-text, var(--a-text-visited));
|
|
12
20
|
}
|
|
13
21
|
|
|
14
22
|
.navds-link:hover {
|
|
15
23
|
text-decoration: none;
|
|
16
24
|
}
|
|
17
25
|
|
|
26
|
+
.navds-link.navds-link--remove-underline {
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.navds-link.navds-link--remove-underline:hover {
|
|
31
|
+
text-decoration: underline;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.navds-alert .navds-link,
|
|
35
|
+
.navds-confirmation-panel .navds-link {
|
|
36
|
+
color: var(--a-text-default);
|
|
37
|
+
}
|
|
38
|
+
|
|
18
39
|
.navds-link:focus-visible {
|
|
19
40
|
outline: none;
|
|
20
41
|
color: var(--ac-link-focus-text, var(--a-text-on-action));
|
|
@@ -45,3 +66,15 @@
|
|
|
45
66
|
color: inherit;
|
|
46
67
|
flex-shrink: 0;
|
|
47
68
|
}
|
|
69
|
+
|
|
70
|
+
.navds-link--action {
|
|
71
|
+
color: var(--ac-link-action-text, var(--a-text-action));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.navds-link--neutral {
|
|
75
|
+
color: var(--ac-link-neutral-text, var(--a-text-default));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.navds-link--subtle {
|
|
79
|
+
color: var(--ac-link-subtle-text, var(--a-text-subtle));
|
|
80
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.navds-link{align-items:center;color:var(--ac-link-text,var(--a-text-action));display:inline-flex;gap:var(--a-spacing-1);text-decoration:underline}.navds-
|
|
1
|
+
.navds-link{align-items:center;color:var(--ac-link-text,var(--a-text-action));display:inline-flex;gap:var(--a-spacing-1);text-decoration:underline}.navds-link.navds-link--inline-text{display:inline}.navds-link.navds-link--inline-text>svg{margin:.1em .1em -.1em;-webkit-transform:translateY(.05em);transform:translateY(.05em)}.navds-link:visited{color:var(--ac-link-visited-text,var(--a-text-visited))}.navds-link.navds-link--remove-underline,.navds-link:hover{text-decoration:none}.navds-link.navds-link--remove-underline:hover{text-decoration:underline}.navds-alert .navds-link,.navds-confirmation-panel .navds-link{color:var(--a-text-default)}.navds-link:focus-visible{background-color:var(--ac-link-focus-bg,var(--a-border-focus));box-shadow:0 0 0 2px var(--ac-link-focus-border,var(--a-border-focus));color:var(--ac-link-focus-text,var(--a-text-on-action));outline:none;text-decoration:none}@supports not selector(:focus-visible){.navds-link:focus{background-color:var(--ac-link-focus-bg,var(--a-border-focus));box-shadow:0 0 0 2px var(--ac-link-focus-border,var(--a-border-focus));color:var(--ac-link-focus-text,var(--a-text-on-action));outline:none;text-decoration:none}}.navds-link:active{background-color:var(--ac-link-active-bg,var(--a-border-focus));box-shadow:0 0 0 2px var(--ac-link-active-border,var(--a-border-focus));color:var(--ac-link-active-text,var(--a-text-on-action));outline:none;text-decoration:none}.navds-link svg{color:inherit;flex-shrink:0}.navds-link--action{color:var(--ac-link-action-text,var(--a-text-action))}.navds-link--neutral{color:var(--ac-link-neutral-text,var(--a-text-default))}.navds-link--subtle{color:var(--ac-link-subtle-text,var(--a-text-subtle))}
|
package/dist/components.css
CHANGED
|
@@ -2963,13 +2963,29 @@ button.navds-internalheader__title:active,
|
|
|
2963
2963
|
align-items: center;
|
|
2964
2964
|
gap: var(--a-spacing-1);
|
|
2965
2965
|
}
|
|
2966
|
-
.navds-
|
|
2967
|
-
|
|
2968
|
-
|
|
2966
|
+
.navds-link.navds-link--inline-text {
|
|
2967
|
+
display: inline;
|
|
2968
|
+
}
|
|
2969
|
+
.navds-link.navds-link--inline-text > svg {
|
|
2970
|
+
margin: 0.1em 0.1em -0.1em;
|
|
2971
|
+
transform: translateY(0.05em);
|
|
2972
|
+
}
|
|
2973
|
+
.navds-link:visited {
|
|
2974
|
+
color: var(--ac-link-visited-text, var(--a-text-visited));
|
|
2969
2975
|
}
|
|
2970
2976
|
.navds-link:hover {
|
|
2971
2977
|
text-decoration: none;
|
|
2972
2978
|
}
|
|
2979
|
+
.navds-link.navds-link--remove-underline {
|
|
2980
|
+
text-decoration: none;
|
|
2981
|
+
}
|
|
2982
|
+
.navds-link.navds-link--remove-underline:hover {
|
|
2983
|
+
text-decoration: underline;
|
|
2984
|
+
}
|
|
2985
|
+
.navds-alert .navds-link,
|
|
2986
|
+
.navds-confirmation-panel .navds-link {
|
|
2987
|
+
color: var(--a-text-default);
|
|
2988
|
+
}
|
|
2973
2989
|
.navds-link:focus-visible {
|
|
2974
2990
|
outline: none;
|
|
2975
2991
|
color: var(--ac-link-focus-text, var(--a-text-on-action));
|
|
@@ -2997,6 +3013,15 @@ button.navds-internalheader__title:active,
|
|
|
2997
3013
|
color: inherit;
|
|
2998
3014
|
flex-shrink: 0;
|
|
2999
3015
|
}
|
|
3016
|
+
.navds-link--action {
|
|
3017
|
+
color: var(--ac-link-action-text, var(--a-text-action));
|
|
3018
|
+
}
|
|
3019
|
+
.navds-link--neutral {
|
|
3020
|
+
color: var(--ac-link-neutral-text, var(--a-text-default));
|
|
3021
|
+
}
|
|
3022
|
+
.navds-link--subtle {
|
|
3023
|
+
color: var(--ac-link-subtle-text, var(--a-text-subtle));
|
|
3024
|
+
}
|
|
3000
3025
|
.navds-loader {
|
|
3001
3026
|
width: 1.5rem;
|
|
3002
3027
|
display: inline-block;
|