@ifsworld/granite-components 11.3.0 → 11.5.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/index.d.ts CHANGED
@@ -46,6 +46,7 @@ export * from './lib/core/devices/client-output-desktop.directive';
46
46
  export * from './lib/core/devices/client-input-touch.directive';
47
47
  export * from './lib/core/devices/client-input-desktop.directive';
48
48
  export * from './lib/core/common-behaviors/disabled';
49
+ export * from './lib/core/hide-on-overflow.directive';
49
50
  export * from './lib/core/pipes/pure-pipes.module';
50
51
  export * from './lib/core/pipes/title.pipe';
51
52
  export * from './lib/core/types';
@@ -3,8 +3,9 @@ import * as i1 from "./devices/client-output-desktop.directive";
3
3
  import * as i2 from "./devices/client-output-touch.directive";
4
4
  import * as i3 from "./devices/client-input-desktop.directive";
5
5
  import * as i4 from "./devices/client-input-touch.directive";
6
+ import * as i5 from "./hide-on-overflow.directive";
6
7
  export declare class GraniteCoreModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCoreModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteCoreModule, [typeof i1.ClientOutputDesktopDirective, typeof i2.ClientOutputTouchDirective, typeof i3.ClientInputDesktopDirective, typeof i4.ClientInputTouchDirective], never, [typeof i1.ClientOutputDesktopDirective, typeof i2.ClientOutputTouchDirective, typeof i3.ClientInputDesktopDirective, typeof i4.ClientInputTouchDirective]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteCoreModule, [typeof i1.ClientOutputDesktopDirective, typeof i2.ClientOutputTouchDirective, typeof i3.ClientInputDesktopDirective, typeof i4.ClientInputTouchDirective, typeof i5.GraniteHideOnOverflowDirective], never, [typeof i1.ClientOutputDesktopDirective, typeof i2.ClientOutputTouchDirective, typeof i3.ClientInputDesktopDirective, typeof i4.ClientInputTouchDirective, typeof i5.GraniteHideOnOverflowDirective]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<GraniteCoreModule>;
10
11
  }
@@ -0,0 +1,21 @@
1
+ import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GraniteHideOnOverflowDirective implements AfterViewInit, OnDestroy {
5
+ private _elementRef;
6
+ private renderer;
7
+ resizeObserver: ResizeObserver;
8
+ resizeSubscription: Subscription;
9
+ mutationObserver: MutationObserver;
10
+ constructor(_elementRef: ElementRef, renderer: Renderer2);
11
+ ngAfterViewInit(): void;
12
+ ngOnDestroy(): void;
13
+ hideOnOverflow(): void;
14
+ observeResize(): void;
15
+ unObserveResize(): void;
16
+ subscribeToResize(): void;
17
+ observeContentChange(): void;
18
+ unObserveContentChange(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteHideOnOverflowDirective, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteHideOnOverflowDirective, "[graniteHideOnOverflow]", ["graniteHideOnOverflow"], {}, {}, never, never, false, never>;
21
+ }
@@ -9,8 +9,8 @@ export declare class GraniteProgressBarComponent implements OnChanges {
9
9
  DEFAULT_COLOR: string;
10
10
  total: number;
11
11
  getBackgroundColor(): string;
12
- getStackColor(color: string): string;
13
12
  getFontColor(color: string): string;
13
+ getStackColor(color: string): string;
14
14
  getColorVar(color: string): string;
15
15
  getWidth(value: number): number;
16
16
  getStringOfWidth(width: number): string;
@@ -1,8 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./progress-bar.component";
3
3
  import * as i2 from "@angular/common";
4
+ import * as i3 from "../core/core.module";
5
+ import * as i4 from "@ifsworld/granite-components/tooltip";
4
6
  export declare class GraniteProgressBarModule {
5
7
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteProgressBarModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteProgressBarModule, [typeof i1.GraniteProgressBarComponent], [typeof i2.CommonModule], [typeof i1.GraniteProgressBarComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteProgressBarModule, [typeof i1.GraniteProgressBarComponent], [typeof i2.CommonModule, typeof i3.GraniteCoreModule, typeof i4.GraniteTooltipModule], [typeof i1.GraniteProgressBarComponent]>;
7
9
  static ɵinj: i0.ɵɵInjectorDeclaration<GraniteProgressBarModule>;
8
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ifsworld/granite-components",
3
- "version": "11.3.0",
3
+ "version": "11.5.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": ">=16.2.12",