@gravitee/ui-particles-angular 4.12.0 → 4.13.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/bundles/gravitee-ui-particles-angular.umd.js +38 -18
- package/bundles/gravitee-ui-particles-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-menu/gio-menu-item/gio-menu-item.component.js +26 -14
- package/esm2015/lib/gio-menu/gio-menu.service.js +1 -1
- package/esm2015/lib/gio-submenu/gio-submenu-item/gio-submenu-item.component.js +2 -2
- package/esm2015/lib/gio-submenu/gio-submenu.component.js +17 -9
- package/fesm2015/gravitee-ui-particles-angular.js +37 -19
- package/fesm2015/gravitee-ui-particles-angular.js.map +1 -1
- package/lib/gio-menu/gio-menu-item/gio-menu-item.component.d.ts +5 -3
- package/lib/gio-menu/gio-menu.service.d.ts +3 -3
- package/lib/gio-submenu/gio-submenu.component.d.ts +4 -5
- package/package.json +1 -1
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
1
2
|
import { GioMenuService } from '../gio-menu.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GioMenuItemComponent {
|
|
4
|
+
export declare class GioMenuItemComponent implements OnDestroy {
|
|
4
5
|
private readonly gioMenuService;
|
|
5
6
|
icon: string;
|
|
6
7
|
active: boolean;
|
|
7
8
|
outlined: boolean;
|
|
8
|
-
private
|
|
9
|
+
private unsubscribe$;
|
|
9
10
|
constructor(gioMenuService: GioMenuService);
|
|
11
|
+
ngOnDestroy(): void;
|
|
10
12
|
onMouseLeave(): void;
|
|
11
13
|
onMouseEnter($event: MouseEvent): void;
|
|
12
14
|
onClick($event: MouseEvent): void;
|
|
13
|
-
onKeydownHandler(event: KeyboardEvent): void;
|
|
15
|
+
onKeydownHandler($event: KeyboardEvent): void;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioMenuItemComponent, never>;
|
|
15
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<GioMenuItemComponent, "gio-menu-item", never, { "icon": "icon"; "active": "active"; "outlined": "outlined"; }, {}, never, ["*"]>;
|
|
16
18
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
interface OverlayOptions {
|
|
2
|
+
export interface OverlayOptions {
|
|
3
3
|
top?: number;
|
|
4
|
-
parent?:
|
|
4
|
+
parent?: HTMLElement;
|
|
5
5
|
open: boolean;
|
|
6
|
+
focus?: boolean;
|
|
6
7
|
}
|
|
7
8
|
export declare class GioMenuService {
|
|
8
9
|
private reduceSource;
|
|
@@ -14,4 +15,3 @@ export declare class GioMenuService {
|
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioMenuService, never>;
|
|
15
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<GioMenuService>;
|
|
16
17
|
}
|
|
17
|
-
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { GioMenuService } from '../gio-menu/gio-menu.service';
|
|
2
|
+
import { GioMenuService, OverlayOptions } from '../gio-menu/gio-menu.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GioSubmenuTitleDirective {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioSubmenuTitleDirective, never>;
|
|
@@ -9,17 +9,16 @@ export declare class GioSubmenuComponent implements AfterViewInit, OnDestroy {
|
|
|
9
9
|
private readonly gioMenuService;
|
|
10
10
|
reduced: boolean;
|
|
11
11
|
loaded: boolean;
|
|
12
|
-
overlayOptions:
|
|
13
|
-
open: boolean;
|
|
14
|
-
};
|
|
12
|
+
overlayOptions: OverlayOptions;
|
|
15
13
|
private hover;
|
|
16
14
|
private gioSubmenu;
|
|
17
15
|
private unsubscribe$;
|
|
18
16
|
constructor(gioMenuService: GioMenuService);
|
|
19
17
|
ngAfterViewInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
20
19
|
onMouseEnter(): void;
|
|
21
20
|
onMouseLeave(): void;
|
|
22
|
-
|
|
21
|
+
onKeydownHandler(event: KeyboardEvent): void;
|
|
23
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioSubmenuComponent, never>;
|
|
24
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<GioSubmenuComponent, "gio-submenu", never, {}, {}, never, ["[gioSubmenuTitle]", "*"]>;
|
|
25
24
|
}
|