@ifsworld/granite-components 14.2.3 → 14.2.5
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/esm2022/lib/chips/chip.component.mjs +3 -2
- package/esm2022/lib/menu/menu-base.mjs +12 -2
- package/esm2022/lib/menu/menu.component.mjs +3 -3
- package/fesm2022/ifsworld-granite-components.mjs +15 -4
- package/fesm2022/ifsworld-granite-components.mjs.map +1 -1
- package/lib/menu/menu-base.d.ts +11 -1
- package/package.json +1 -1
package/lib/menu/menu-base.d.ts
CHANGED
|
@@ -40,6 +40,16 @@ export declare class _MenuBaseComponent implements AfterContentInit, OnDestroy,
|
|
|
40
40
|
closeLabel: string;
|
|
41
41
|
openOnHover: boolean;
|
|
42
42
|
scrollStrategy: 'reposition' | 'close';
|
|
43
|
+
/**
|
|
44
|
+
* Styles to be applied to the menu.
|
|
45
|
+
* Added as there is no way to apply styles to the menu from the outside.
|
|
46
|
+
*/
|
|
47
|
+
styles: {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
touchStyles: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
43
53
|
templateRef: TemplateRef<any>;
|
|
44
54
|
/** All items inside the menu. Includes items nested inside another menu. */
|
|
45
55
|
_allItems: QueryList<GraniteMenuItemComponent>;
|
|
@@ -190,6 +200,6 @@ export declare class _MenuBaseComponent implements AfterContentInit, OnDestroy,
|
|
|
190
200
|
*/
|
|
191
201
|
private _updateDirectDescendants;
|
|
192
202
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MenuBaseComponent, never>;
|
|
193
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_MenuBaseComponent, never, never, { "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "title": { "alias": "title"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "openOnHover": { "alias": "openOnHover"; "required": false; }; "scrollStrategy": { "alias": "scrollStrategy"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, ["_allItems"], never, false, never>;
|
|
203
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MenuBaseComponent, never, never, { "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "title": { "alias": "title"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "openOnHover": { "alias": "openOnHover"; "required": false; }; "scrollStrategy": { "alias": "scrollStrategy"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "touchStyles": { "alias": "touchStyles"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, ["_allItems"], never, false, never>;
|
|
194
204
|
}
|
|
195
205
|
export {};
|