@ifsworld/granite-components 12.1.1 → 12.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.
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, ElementRef, OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from '@angular/core';
1
+ import { AfterContentInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from '@angular/core';
2
2
  import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
3
3
  import { Directionality } from '@angular/cdk/bidi';
4
4
  import { Overlay } from '@angular/cdk/overlay';
@@ -15,6 +15,7 @@ export declare class GraniteMenuTriggerForDirective implements AfterContentInit,
15
15
  private _overlay;
16
16
  private _element;
17
17
  private _viewContainerRef;
18
+ private _changeDetectionRef;
18
19
  /** If this is a _submenu_ trigger, it will have a parent menu */
19
20
  private _parentMenu;
20
21
  /** Client input device information */
@@ -35,7 +36,7 @@ export declare class GraniteMenuTriggerForDirective implements AfterContentInit,
35
36
  menu: _MenuBaseComponent;
36
37
  openOnClick?: boolean;
37
38
  /** Whether the associated menu is open */
38
- _isMenuOpen: boolean;
39
+ isMenuOpened: boolean;
39
40
  private openedBy;
40
41
  private _hoverSubscription;
41
42
  private _menuCloseSubscription;
@@ -53,7 +54,7 @@ export declare class GraniteMenuTriggerForDirective implements AfterContentInit,
53
54
  private _touchLockedX;
54
55
  private _touchMaxX;
55
56
  private _touchTouchingElement;
56
- constructor(_overlay: Overlay, _element: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef,
57
+ constructor(_overlay: Overlay, _element: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _changeDetectionRef: ChangeDetectorRef,
57
58
  /** If this is a _submenu_ trigger, it will have a parent menu */
58
59
  _parentMenu: _MenuBaseComponent,
59
60
  /** Client input device information */
@@ -186,6 +187,6 @@ export declare class GraniteMenuTriggerForDirective implements AfterContentInit,
186
187
  * @param end Value to which current value is compared
187
188
  */
188
189
  private easeOutExpo;
189
- static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuTriggerForDirective, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; }, null, null]>;
190
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuTriggerForDirective, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; }, null, null]>;
190
191
  static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteMenuTriggerForDirective, "[graniteMenuTriggerFor]", ["graniteMenuTriggerFor"], { "menu": { "alias": "graniteMenuTriggerFor"; "required": false; }; "openOnClick": { "alias": "openOnClick"; "required": false; }; }, {}, never, never, false, never>;
191
192
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ifsworld/granite-components",
3
- "version": "12.1.1",
3
+ "version": "12.1.2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": ">=17.3.4",