@rededor/site-front-end-lib 1.3.56 → 1.3.57
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/sticky-navigation/sticky-navigation.component.mjs +29 -9
- package/esm2022/lib/enums/RdsiteModalDrawerComponentStyle.enum.mjs +1 -1
- package/fesm2022/rededor-site-front-end-lib.mjs +26 -7
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
- package/lib/components/sticky-navigation/sticky-navigation.component.d.ts +6 -2
- package/package.json +1 -1
|
@@ -6,11 +6,14 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class StickyNavigationComponent {
|
|
7
7
|
private curaService;
|
|
8
8
|
private router;
|
|
9
|
+
private platformId;
|
|
10
|
+
private readonly document;
|
|
9
11
|
readonly sections: import("@angular/core").WritableSignal<SectionNavigationData[]>;
|
|
10
12
|
readonly config: import("@angular/core").WritableSignal<SectionNavigationConfig | undefined>;
|
|
11
13
|
readonly activeSection: import("@angular/core").WritableSignal<string>;
|
|
12
|
-
isOpen: boolean
|
|
14
|
+
readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
13
15
|
selectedIndex: number;
|
|
16
|
+
defaultAnchorAdjustment: number;
|
|
14
17
|
anchorAdjustment: number;
|
|
15
18
|
title: string;
|
|
16
19
|
ariaLabel: string;
|
|
@@ -24,10 +27,11 @@ export declare class StickyNavigationComponent {
|
|
|
24
27
|
'--neutral-purewhite': string | null;
|
|
25
28
|
'--font-family': string | null;
|
|
26
29
|
};
|
|
27
|
-
constructor(curaService: CuraService, router: Router);
|
|
30
|
+
constructor(curaService: CuraService, router: Router, platformId: object, document: Document);
|
|
28
31
|
private windowScroll;
|
|
29
32
|
getPath(sectionId: string): string;
|
|
30
33
|
onSectionClick(event: SectionNavigationData): void;
|
|
34
|
+
toggleOpen(): void;
|
|
31
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<StickyNavigationComponent, never>;
|
|
32
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<StickyNavigationComponent, "nav[rdsite-sticky-navigation]", never, { "anchorAdjustment": { "alias": "anchorAdjustment"; "required": false; }; "title": { "alias": "title"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "navigationSections": { "alias": "navigationSections"; "required": true; }; "navigationConfig": { "alias": "navigationConfig"; "required": false; }; }, { "sectionChange": "sectionChange"; }, never, never, true, never>;
|
|
33
37
|
}
|