@norwegian/core-components 5.2.2 → 5.3.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.
@@ -34,6 +34,19 @@ export declare class InfoComponent extends NasComponentBase {
34
34
  * ```
35
35
  */
36
36
  error?: boolean;
37
+ /**
38
+ * @description
39
+ * A boolean input value to set the accordion to success info.
40
+ * @example
41
+ * ```html
42
+ * <nas-info [info]="info" success></nas-info>
43
+ * ```
44
+ * or
45
+ * ```html
46
+ * <nas-accordion [success]="isSuccessProperty"></nas-accordion>
47
+ * ```
48
+ */
49
+ success?: boolean;
37
50
  /**
38
51
  * @description
39
52
  * String to set stack trace label on the accordion.
@@ -68,4 +81,5 @@ export declare class InfoComponent extends NasComponentBase {
68
81
  removeInfoBox(): void;
69
82
  getListClass(element?: string, modifiersInput?: any): ClassModel;
70
83
  private scrollToInfo;
84
+ get modifiers(): Array<string>;
71
85
  }
@@ -1,7 +1,9 @@
1
+ import { LinkModel } from '../../../core';
1
2
  export interface InfoModel {
2
3
  title?: string;
3
4
  messages?: Array<string>;
4
5
  timestamp?: Date;
5
6
  stackTrace?: string;
6
7
  server?: string;
8
+ link?: LinkModel;
7
9
  }
@@ -36,6 +36,11 @@ export declare class PageHeaderComponent extends NasComponentBase implements OnD
36
36
  * Show the profile section.
37
37
  */
38
38
  displayProfile: boolean;
39
+ /**
40
+ * @description
41
+ * Will display the Norwegian Reward logo, set this to true display it. It's false by default.
42
+ */
43
+ reward: boolean;
39
44
  /**
40
45
  * @description
41
46
  * Is user authenticated. Only valid if displayProfile is true