@siemens/live-preview 47.1.0 → 47.2.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.
@@ -2,7 +2,7 @@
2
2
  * Copyright Siemens 2016 - 2025.
3
3
  * SPDX-License-Identifier: MIT
4
4
  */
5
- import { OnInit } from '@angular/core';
5
+ import { OnDestroy, OnInit } from '@angular/core';
6
6
  import { UntypedFormControl } from '@angular/forms';
7
7
  import { Observable } from 'rxjs';
8
8
  import * as i0 from "@angular/core";
@@ -11,13 +11,15 @@ interface TreeItem {
11
11
  link?: string;
12
12
  level: number;
13
13
  }
14
- export declare class SiExampleOverviewComponent implements OnInit {
14
+ export declare class SiExampleOverviewComponent implements OnInit, OnDestroy {
15
15
  private route;
16
16
  private router;
17
17
  private title;
18
18
  private config;
19
19
  private internalConfig;
20
20
  private componentList;
21
+ private darkMediaQuery;
22
+ private mediaQueryListener;
21
23
  protected activeExampleRoute: Observable<string>;
22
24
  protected tree: TreeItem[];
23
25
  protected baseUrl: string;
@@ -26,6 +28,8 @@ export declare class SiExampleOverviewComponent implements OnInit {
26
28
  protected showContent: boolean;
27
29
  protected searchControl: UntypedFormControl;
28
30
  ngOnInit(): void;
31
+ ngOnDestroy(): void;
32
+ private toggleDark;
29
33
  private makeTree;
30
34
  toggleCollapse(): void;
31
35
  resetSearchBar(): void;