@norwegian/core-components 7.12.4 → 7.13.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.
@@ -7,6 +7,7 @@ import { ClassModel } from '../../core/models/class.model';
7
7
  import { NasComponentBase } from '../../core/base/nas-component.base';
8
8
  import { InfoModel } from '../info';
9
9
  import * as i0 from "@angular/core";
10
+ export declare const bannerAnimation: import("@angular/animations").AnimationTriggerMetadata;
10
11
  /**
11
12
  * @description
12
13
  * Norwegian Ribbon Banner Component | Dialogs and Modals
@@ -5,8 +5,9 @@ import * as i3 from "../../core/directives/nas-class/nas-class.module";
5
5
  import * as i4 from "@angular/router";
6
6
  import * as i5 from "../icon/icon.module";
7
7
  import * as i6 from "../button/button.module";
8
+ import * as i7 from "@angular/platform-browser/animations";
8
9
  export declare class RibbonBannerModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<RibbonBannerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<RibbonBannerModule, [typeof i1.RibbonBannerComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.RouterModule, typeof i5.IconModule, typeof i6.ButtonModule], [typeof i1.RibbonBannerComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RibbonBannerModule, [typeof i1.RibbonBannerComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.RouterModule, typeof i5.IconModule, typeof i6.ButtonModule, typeof i7.BrowserAnimationsModule], [typeof i1.RibbonBannerComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<RibbonBannerModule>;
12
13
  }
@@ -16,6 +16,7 @@ export declare class TooltipComponent extends NasComponentBase implements OnInit
16
16
  container: ElementRef;
17
17
  tooltip: ElementRef;
18
18
  content: ElementRef;
19
+ opacityTimer: any;
19
20
  /**
20
21
  * @property Input
21
22
  * @description
@@ -1,4 +1,5 @@
1
1
  export interface LinkModel {
2
2
  href: string;
3
3
  text: string;
4
+ target?: string;
4
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norwegian/core-components",
3
- "version": "7.12.4",
3
+ "version": "7.13.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.0.0 < 22.0.0",
6
6
  "@angular/core": ">=16.0.0 < 22.0.0"
@@ -3,8 +3,7 @@ a,
3
3
  .link {
4
4
  color: $typography-link;
5
5
  cursor: pointer;
6
- text-decoration: none;
7
- border-bottom: $border-width solid $border-muted;
6
+ text-decoration: underline;
8
7
 
9
8
  &:hover,
10
9
  &:focus {
@@ -38,11 +37,9 @@ a,
38
37
 
39
38
  .link--secondary {
40
39
  color: $typography-default;
41
- border-bottom: $border-width solid $border-heavy;
42
40
 
43
41
  &:hover,
44
42
  &:focus {
45
43
  color: $typography-link;
46
- border-color: $border-primary;
47
44
  }
48
45
  }