@navikt/ds-css 4.9.1 → 4.10.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.
- package/CHANGELOG.md +12 -0
- package/dist/component/index.css +32 -4
- package/dist/component/index.min.css +1 -1
- package/dist/component/link.css +39 -3
- package/dist/component/link.min.css +1 -1
- package/dist/components.css +31 -3
- package/dist/components.min.css +1 -1
- package/dist/global/tokens.css +1 -1
- package/dist/index.css +32 -4
- package/dist/index.min.css +1 -1
- package/link.css +39 -3
- package/package.json +2 -2
- package/tokens.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @navikt/ds-css
|
|
2
2
|
|
|
3
|
+
## 4.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Link: Fikset visited farger og inline SVG-reset ved bruk av tailwind ([`d3bd1202e`](https://github.com/navikt/aksel/commit/d3bd1202eddb23dd3f1f09c3e4086ff3b19737d6))
|
|
8
|
+
|
|
9
|
+
## 4.10.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- Link: La til 'variant', 'underline' og 'inlineText'-prop ([#2093](https://github.com/navikt/aksel/pull/2093))
|
|
14
|
+
|
|
3
15
|
## 4.9.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/component/index.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on Wed, 09 Aug 2023
|
|
4
|
+
* Generated on Wed, 09 Aug 2023 14:33:32 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--a-spacing-05: 0.125rem;
|
|
@@ -3705,13 +3705,32 @@ button.navds-internalheader__title:active,
|
|
|
3705
3705
|
align-items: center;
|
|
3706
3706
|
gap: var(--a-spacing-1);
|
|
3707
3707
|
}
|
|
3708
|
-
.navds-
|
|
3709
|
-
|
|
3710
|
-
|
|
3708
|
+
.navds-link.navds-link--inline-text {
|
|
3709
|
+
display: inline;
|
|
3710
|
+
}
|
|
3711
|
+
.navds-link.navds-link--inline-text > svg {
|
|
3712
|
+
/* stylelint-disable-next-line plugin/declaration-block-no-ignored-properties */
|
|
3713
|
+
margin: 0.1em 0.1em -0.1em;
|
|
3714
|
+
transform: translateY(0.05em);
|
|
3715
|
+
display: inline;
|
|
3716
|
+
}
|
|
3717
|
+
.navds-link:visited {
|
|
3718
|
+
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
|
|
3719
|
+
color: var(--ac-link-visited-text);
|
|
3711
3720
|
}
|
|
3712
3721
|
.navds-link:hover {
|
|
3713
3722
|
text-decoration: none;
|
|
3714
3723
|
}
|
|
3724
|
+
.navds-link.navds-link--remove-underline {
|
|
3725
|
+
text-decoration: none;
|
|
3726
|
+
}
|
|
3727
|
+
.navds-link.navds-link--remove-underline:hover {
|
|
3728
|
+
text-decoration: underline;
|
|
3729
|
+
}
|
|
3730
|
+
.navds-alert .navds-link,
|
|
3731
|
+
.navds-confirmation-panel .navds-link {
|
|
3732
|
+
color: var(--a-text-default);
|
|
3733
|
+
}
|
|
3715
3734
|
.navds-link:focus-visible {
|
|
3716
3735
|
outline: none;
|
|
3717
3736
|
color: var(--ac-link-focus-text, var(--a-text-on-action));
|
|
@@ -3739,6 +3758,15 @@ button.navds-internalheader__title:active,
|
|
|
3739
3758
|
color: inherit;
|
|
3740
3759
|
flex-shrink: 0;
|
|
3741
3760
|
}
|
|
3761
|
+
.navds-link--action {
|
|
3762
|
+
color: var(--ac-link-action-text, var(--a-text-action));
|
|
3763
|
+
}
|
|
3764
|
+
.navds-link--neutral {
|
|
3765
|
+
color: var(--ac-link-neutral-text, var(--a-text-default));
|
|
3766
|
+
}
|
|
3767
|
+
.navds-link--subtle {
|
|
3768
|
+
color: var(--ac-link-subtle-text, var(--a-text-subtle));
|
|
3769
|
+
}
|
|
3742
3770
|
.navds-loader {
|
|
3743
3771
|
width: 1.5rem;
|
|
3744
3772
|
display: inline-block;
|