@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.
- package/esm2022/lib/components/input-text/input-text.component.mjs +2 -2
- package/esm2022/lib/components/page-header/page-header.component.mjs +11 -3
- package/esm2022/lib/components/page-header/search/search.component.mjs +3 -3
- package/fesm2022/norwegian-core-components.mjs +14 -6
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/page-header/page-header.component.d.ts +9 -1
- package/package.json +1 -1
|
@@ -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
|
}
|