@norwegian/core-components 7.12.3 → 7.13.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.
@@ -100,9 +100,15 @@ export declare class InputComponent extends NasComponentBase implements OnInit {
100
100
  /**
101
101
  * @property Input
102
102
  * @description
103
- * Boolean that sets input mode to numeric if true, default false
103
+ * Boolean that sets input mode to the value
104
104
  */
105
- numeric: boolean;
105
+ inputModeValue: string;
106
+ /**
107
+ * @property Input
108
+ * @description
109
+ * String that sets autocomplete to the value
110
+ */
111
+ autocompleteValue: string;
106
112
  /**
107
113
  * @property Input
108
114
  * @description
@@ -204,5 +210,5 @@ export declare class InputComponent extends NasComponentBase implements OnInit {
204
210
  onKeyDown(): void;
205
211
  setActiveInput(active: boolean): void;
206
212
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
207
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "nas-input", never, { "id": { "alias": "id"; "required": false; }; "model": { "alias": "model"; "required": false; }; "error": { "alias": "error"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelInside": { "alias": "labelInside"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "info": { "alias": "info"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "numeric": { "alias": "numeric"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "required": { "alias": "required"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "line": { "alias": "line"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; }, { "modelChange": "modelChange"; "blur": "blur"; }, never, never, false, never>;
213
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "nas-input", never, { "id": { "alias": "id"; "required": false; }; "model": { "alias": "model"; "required": false; }; "error": { "alias": "error"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelInside": { "alias": "labelInside"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "info": { "alias": "info"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "inputModeValue": { "alias": "inputModeValue"; "required": false; }; "autocompleteValue": { "alias": "autocompleteValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "required": { "alias": "required"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "line": { "alias": "line"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; }, { "modelChange": "modelChange"; "blur": "blur"; }, never, never, false, never>;
208
214
  }
@@ -11,6 +11,7 @@ import * as i0 from "@angular/core";
11
11
  * @description
12
12
  * Norwegian Ribbon Banner Component | Dialogs and Modals
13
13
  */
14
+ export declare const bannerAnimation: import("@angular/animations").AnimationTriggerMetadata;
14
15
  export declare class RibbonBannerComponent extends NasComponentBase {
15
16
  /**
16
17
  * @property Input
@@ -36,6 +37,12 @@ export declare class RibbonBannerComponent extends NasComponentBase {
36
37
  * Sets Ribbon banner to warning styling
37
38
  */
38
39
  warning: boolean;
40
+ /**
41
+ * @property Input
42
+ * @description
43
+ * The target attribute specifies where to open the link.
44
+ */
45
+ target: string;
39
46
  /**
40
47
  * @property Output
41
48
  * @description
@@ -61,5 +68,5 @@ export declare class RibbonBannerComponent extends NasComponentBase {
61
68
  onClickClose(): void;
62
69
  onRedirect(): void;
63
70
  static ɵfac: i0.ɵɵFactoryDeclaration<RibbonBannerComponent, never>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<RibbonBannerComponent, "nas-ribbon-banner", never, { "enable": { "alias": "enable"; "required": false; }; "infoModel": { "alias": "infoModel"; "required": false; }; "info": { "alias": "info"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; }, { "closeChange": "closeChange"; "onRedirectChange": "onRedirectChange"; }, never, never, false, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<RibbonBannerComponent, "nas-ribbon-banner", never, { "enable": { "alias": "enable"; "required": false; }; "infoModel": { "alias": "infoModel"; "required": false; }; "info": { "alias": "info"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, { "closeChange": "closeChange"; "onRedirectChange": "onRedirectChange"; }, never, never, false, never>;
65
72
  }
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norwegian/core-components",
3
- "version": "7.12.3",
3
+ "version": "7.13.0",
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
  }