@rededor/site-front-end-lib 1.1.1 → 1.1.2

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.
@@ -10,9 +10,13 @@ export declare class FilterLetterAndTermsComponent implements AfterViewInit {
10
10
  enableScroll: boolean;
11
11
  private isFirstScroll;
12
12
  private _selectedOption;
13
+ private _hoveredOption;
13
14
  set selectedOption(value: string);
14
15
  get selectedOption(): string;
16
+ set hoveredOption(value: string);
17
+ get hoveredOption(): string;
15
18
  optionSelected: EventEmitter<string>;
19
+ optionHovered: EventEmitter<string>;
16
20
  get style(): {
17
21
  '--font-family': string | null;
18
22
  '--neutral-purewhite': string | null;
@@ -25,7 +29,8 @@ export declare class FilterLetterAndTermsComponent implements AfterViewInit {
25
29
  constructor(curaService: CuraService, document: Document, platformId: object);
26
30
  ngAfterViewInit(): void;
27
31
  selectOption(option: string, event: Event): void;
32
+ hoverOption(option: string, event: Event): void;
28
33
  scrollToSelectedOption(value: string): void;
29
34
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterLetterAndTermsComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterLetterAndTermsComponent, "rdsite-filter-letter-and-terms", never, { "options": { "alias": "options"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "enableScroll": { "alias": "enableScroll"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; }, { "optionSelected": "optionSelected"; }, never, never, true, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterLetterAndTermsComponent, "rdsite-filter-letter-and-terms", never, { "options": { "alias": "options"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "enableScroll": { "alias": "enableScroll"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; "hoveredOption": { "alias": "hoveredOption"; "required": false; }; }, { "optionSelected": "optionSelected"; "optionHovered": "optionHovered"; }, never, never, true, never>;
31
36
  }
@@ -1,9 +1,10 @@
1
1
  import { EventEmitter, OnInit, ElementRef, QueryList, OnDestroy } from '@angular/core';
2
2
  import { SectionNavigationData, SectionNavigationConfig } from '../../models/section-navigation.model';
3
+ import { CuraService } from '../../services/cura/cura.service';
3
4
  import { BehaviorSubject, Subscription } from 'rxjs';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class SectionNavigationComponent implements OnInit, OnDestroy {
6
- private readonly curaService;
7
+ private curaService;
7
8
  readonly sections: import("@angular/core").WritableSignal<SectionNavigationData[]>;
8
9
  readonly config: import("@angular/core").WritableSignal<SectionNavigationConfig | undefined>;
9
10
  readonly activeSection: import("@angular/core").WritableSignal<string>;
@@ -28,7 +29,7 @@ export declare class SectionNavigationComponent implements OnInit, OnDestroy {
28
29
  '--font-family': string | null;
29
30
  };
30
31
  navigationMenu: ElementRef<HTMLUListElement>;
31
- constructor();
32
+ constructor(curaService: CuraService);
32
33
  ngOnInit(): void;
33
34
  private windowScroll;
34
35
  scrollToMenuAnchor(anchorId: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rededor/site-front-end-lib",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",