@porscheinformatik/clr-addons 19.12.0 → 19.12.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porscheinformatik/clr-addons",
3
- "version": "19.12.0",
3
+ "version": "19.12.1",
4
4
  "description": "Addon components for Clarity Angular",
5
5
  "es2015": "esm2015/clr-addons.js",
6
6
  "homepage": "https://porscheinformatik.github.io/clarity-addons/",
@@ -1,10 +1,13 @@
1
+ import { AfterViewInit } from '@angular/core';
1
2
  import * as i0 from "@angular/core";
2
- export declare class ClrSummaryAreaToggle {
3
+ export declare class ClrSummaryAreaToggle implements AfterViewInit {
3
4
  readonly summaryToggle: import("@angular/core").OutputEmitterRef<void>;
4
5
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
5
6
  readonly localStorageKey: import("@angular/core").InputSignal<string>;
6
7
  private readonly state;
7
8
  readonly collapsed: import("@angular/core").Signal<boolean>;
9
+ suppressAnimation: boolean;
10
+ ngAfterViewInit(): void;
8
11
  handleKeydown(event: KeyboardEvent): void;
9
12
  handleToggle(event?: Event): void;
10
13
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrSummaryAreaToggle, never>;
@@ -11,9 +11,12 @@ export declare class ClrSummaryItemValue implements OnInit, AfterContentInit, Af
11
11
  hasProjectedContent: boolean;
12
12
  isTextOverflowing: boolean;
13
13
  tooltipSize: string;
14
+ tooltipPosition: 'bottom-right' | 'bottom-left';
14
15
  private resizeObserver?;
15
16
  private mutationObserver?;
16
17
  private contentCheckScheduled;
18
+ private windowResizeListener?;
19
+ private readonly elementRef;
17
20
  private readonly ngZone;
18
21
  private readonly cdr;
19
22
  constructor();
@@ -41,6 +44,7 @@ export declare class ClrSummaryItemValue implements OnInit, AfterContentInit, Af
41
44
  */
42
45
  get shouldHide(): boolean;
43
46
  ngOnInit(): void;
47
+ private updateTooltipPosition;
44
48
  ngAfterContentInit(): void;
45
49
  ngAfterViewInit(): void;
46
50
  ngOnDestroy(): void;
@@ -1,19 +1,24 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class ClrSummaryItemValueCopyButton implements OnInit, OnDestroy {
3
+ export declare class ClrSummaryItemValueCopyButton implements OnInit, AfterViewInit, OnDestroy {
4
4
  value: import("@angular/core").InputSignal<string>;
5
5
  tooltipText: import("@angular/core").InputSignal<string>;
6
6
  showCopiedIcon: boolean;
7
7
  protected tooltipSize: string;
8
+ tooltipPosition: 'bottom-right' | 'bottom-left';
8
9
  private readonly cdr;
10
+ private readonly elementRef;
9
11
  private resetTimeout;
12
+ private resizeListener?;
10
13
  ngOnInit(): void;
14
+ ngAfterViewInit(): void;
11
15
  ngOnDestroy(): void;
12
16
  /**
13
17
  * Called when the clipboard copy operation completes.
14
18
  * @param success Whether the copy was successful
15
19
  */
16
20
  onCopied(success: boolean): void;
21
+ private updateTooltipPosition;
17
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrSummaryItemValueCopyButton, never>;
18
23
  static ɵcmp: i0.ɵɵComponentDeclaration<ClrSummaryItemValueCopyButton, "clr-summary-area-value-copy-button", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "tooltipText": { "alias": "tooltipText"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
19
24
  }