@norwegian/core-components 6.22.1 → 6.23.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.
@@ -48,6 +48,12 @@ export declare class PageHeaderComponent extends NasComponentBase implements OnD
48
48
  * Will display the Norwegian Reward logo, set this to true display it. It's false by default.
49
49
  */
50
50
  reward: boolean;
51
+ /**
52
+ * @property Input
53
+ * @description
54
+ * Will disable redirect to frontpageUrl on norwegian logo.
55
+ */
56
+ disableFrontPageUrl: boolean;
51
57
  /**
52
58
  * @property Input
53
59
  * @description
@@ -107,6 +113,8 @@ export declare class PageHeaderComponent extends NasComponentBase implements OnD
107
113
  handleToggle(force: boolean): any;
108
114
  private handleKeyDown;
109
115
  onLinkClick(link: IconListModel): void;
116
+ redirectToUrl(): string;
117
+ setBrandingCSSClass(): "disable-link" | "branding";
110
118
  static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
111
- static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "nas-page-header", never, { "menuText": { "alias": "menuText"; "required": false; }; "closeText": { "alias": "closeText"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "searchForm": { "alias": "searchForm"; "required": false; }; "displayProfile": { "alias": "displayProfile"; "required": false; }; "reward": { "alias": "reward"; "required": false; }; "isAuthenticated": { "alias": "isAuthenticated"; "required": false; }; "frontPageUrl": { "alias": "frontPageUrl"; "required": false; }; "useRouterLink": { "alias": "useRouterLink"; "required": false; }; "nozindex": { "alias": "nozindex"; "required": false; }; "logOutLink": { "alias": "logOutLink"; "required": false; }; "profileLink": { "alias": "profileLink"; "required": false; }; "links": { "alias": "links"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], false, never>;
119
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "nas-page-header", never, { "menuText": { "alias": "menuText"; "required": false; }; "closeText": { "alias": "closeText"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "searchForm": { "alias": "searchForm"; "required": false; }; "displayProfile": { "alias": "displayProfile"; "required": false; }; "reward": { "alias": "reward"; "required": false; }; "disableFrontPageUrl": { "alias": "disableFrontPageUrl"; "required": false; }; "isAuthenticated": { "alias": "isAuthenticated"; "required": false; }; "frontPageUrl": { "alias": "frontPageUrl"; "required": false; }; "useRouterLink": { "alias": "useRouterLink"; "required": false; }; "nozindex": { "alias": "nozindex"; "required": false; }; "logOutLink": { "alias": "logOutLink"; "required": false; }; "profileLink": { "alias": "profileLink"; "required": false; }; "links": { "alias": "links"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], false, never>;
112
120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norwegian/core-components",
3
- "version": "6.22.1",
3
+ "version": "6.23.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.0.0 < 19.0.0",
6
6
  "@angular/core": ">=16.0.0 < 19.0.0"