@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @navikt/ds-css
2
2
 
3
+ ## 4.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Link: La til 'variant', 'underline' og 'inlineText'-prop ([#2093](https://github.com/navikt/aksel/pull/2093))
8
+
3
9
  ## 4.9.1
4
10
 
5
11
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Wed, 09 Aug 2023 12:42:07 GMT
4
+ * Generated on Wed, 09 Aug 2023 13:37:19 GMT
5
5
  */
6
6
  :root, :host {
7
7
  --a-spacing-05: 0.125rem;
@@ -3705,13 +3705,29 @@ button.navds-internalheader__title:active,
3705
3705
  align-items: center;
3706
3706
  gap: var(--a-spacing-1);
3707
3707
  }
3708
- .navds-alert .navds-link,
3709
- .navds-confirmation-panel .navds-link {
3710
- color: var(--a-text-default);
3708
+ .navds-link.navds-link--inline-text {
3709
+ display: inline;
3710
+ }
3711
+ .navds-link.navds-link--inline-text > svg {
3712
+ margin: 0.1em 0.1em -0.1em;
3713
+ transform: translateY(0.05em);
3714
+ }
3715
+ .navds-link:visited {
3716
+ color: var(--ac-link-visited-text, var(--a-text-visited));
3711
3717
  }
3712
3718
  .navds-link:hover {
3713
3719
  text-decoration: none;
3714
3720
  }
3721
+ .navds-link.navds-link--remove-underline {
3722
+ text-decoration: none;
3723
+ }
3724
+ .navds-link.navds-link--remove-underline:hover {
3725
+ text-decoration: underline;
3726
+ }
3727
+ .navds-alert .navds-link,
3728
+ .navds-confirmation-panel .navds-link {
3729
+ color: var(--a-text-default);
3730
+ }
3715
3731
  .navds-link:focus-visible {
3716
3732
  outline: none;
3717
3733
  color: var(--ac-link-focus-text, var(--a-text-on-action));
@@ -3739,6 +3755,15 @@ button.navds-internalheader__title:active,
3739
3755
  color: inherit;
3740
3756
  flex-shrink: 0;
3741
3757
  }
3758
+ .navds-link--action {
3759
+ color: var(--ac-link-action-text, var(--a-text-action));
3760
+ }
3761
+ .navds-link--neutral {
3762
+ color: var(--ac-link-neutral-text, var(--a-text-default));
3763
+ }
3764
+ .navds-link--subtle {
3765
+ color: var(--ac-link-subtle-text, var(--a-text-subtle));
3766
+ }
3742
3767
  .navds-loader {
3743
3768
  width: 1.5rem;
3744
3769
  display: inline-block;