@ifsworld/granite-components 13.2.4 → 13.2.6
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/card-list/card-list.component.mjs +4 -3
- package/esm2022/lib/card-list/card-list.module.mjs +5 -4
- package/esm2022/lib/menu/menu-base.mjs +5 -2
- package/esm2022/lib/menu/menu-trigger-for.directive.mjs +26 -4
- package/fesm2022/ifsworld-granite-components.mjs +36 -9
- package/fesm2022/ifsworld-granite-components.mjs.map +1 -1
- package/lib/card-list/card-list.module.d.ts +2 -1
- package/lib/menu/menu-base.d.ts +2 -1
- package/lib/menu/menu-trigger-for.directive.d.ts +8 -0
- package/package.json +1 -1
|
@@ -10,8 +10,9 @@ import * as i8 from "./card/card-avatar.component";
|
|
|
10
10
|
import * as i9 from "./card/card-content/card-header-title.component";
|
|
11
11
|
import * as i10 from "./card/card-content/card-header-subtitle.component";
|
|
12
12
|
import * as i11 from "@angular/common";
|
|
13
|
+
import * as i12 from "@angular/cdk/scrolling";
|
|
13
14
|
export declare class GraniteCardListModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCardListModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteCardListModule, [typeof i1.GraniteCardComponent, typeof i2.GraniteCardListComponent, typeof i3.GraniteCardContentComponent, typeof i4.GraniteCardHeaderComponent, typeof i5.GraniteCardActionsComponent, typeof i6.GraniteCardBodyComponent, typeof i7.GraniteCardFooterComponent, typeof i8.GraniteCardAvatarComponent, typeof i9.GraniteCardHeaderTitleComponent, typeof i10.GraniteCardHeaderSubTitleComponent], [typeof i11.CommonModule], [typeof i1.GraniteCardComponent, typeof i2.GraniteCardListComponent, typeof i3.GraniteCardContentComponent, typeof i4.GraniteCardHeaderComponent, typeof i6.GraniteCardBodyComponent, typeof i5.GraniteCardActionsComponent, typeof i7.GraniteCardFooterComponent, typeof i8.GraniteCardAvatarComponent, typeof i9.GraniteCardHeaderTitleComponent, typeof i10.GraniteCardHeaderSubTitleComponent]>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GraniteCardListModule, [typeof i1.GraniteCardComponent, typeof i2.GraniteCardListComponent, typeof i3.GraniteCardContentComponent, typeof i4.GraniteCardHeaderComponent, typeof i5.GraniteCardActionsComponent, typeof i6.GraniteCardBodyComponent, typeof i7.GraniteCardFooterComponent, typeof i8.GraniteCardAvatarComponent, typeof i9.GraniteCardHeaderTitleComponent, typeof i10.GraniteCardHeaderSubTitleComponent], [typeof i11.CommonModule, typeof i12.ScrollingModule], [typeof i1.GraniteCardComponent, typeof i2.GraniteCardListComponent, typeof i3.GraniteCardContentComponent, typeof i4.GraniteCardHeaderComponent, typeof i6.GraniteCardBodyComponent, typeof i5.GraniteCardActionsComponent, typeof i7.GraniteCardFooterComponent, typeof i8.GraniteCardAvatarComponent, typeof i9.GraniteCardHeaderTitleComponent, typeof i10.GraniteCardHeaderSubTitleComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<GraniteCardListModule>;
|
|
17
18
|
}
|
package/lib/menu/menu-base.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare class _MenuBaseComponent implements AfterContentInit, OnDestroy,
|
|
|
39
39
|
*/
|
|
40
40
|
closeLabel: string;
|
|
41
41
|
openOnHover: boolean;
|
|
42
|
+
scrollStrategy: 'reposition' | 'close';
|
|
42
43
|
templateRef: TemplateRef<any>;
|
|
43
44
|
/** All items inside the menu. Includes items nested inside another menu. */
|
|
44
45
|
_allItems: QueryList<GraniteMenuItemComponent>;
|
|
@@ -189,6 +190,6 @@ export declare class _MenuBaseComponent implements AfterContentInit, OnDestroy,
|
|
|
189
190
|
*/
|
|
190
191
|
private _updateDirectDescendants;
|
|
191
192
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MenuBaseComponent, never>;
|
|
192
|
-
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; }; }, { "closed": "closed"; "opened": "opened"; }, ["_allItems"], never, false, 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>;
|
|
193
194
|
}
|
|
194
195
|
export {};
|
|
@@ -187,6 +187,14 @@ export declare class GraniteMenuTriggerForDirective implements AfterContentInit,
|
|
|
187
187
|
* @param end Value to which current value is compared
|
|
188
188
|
*/
|
|
189
189
|
private easeOutExpo;
|
|
190
|
+
/**
|
|
191
|
+
* Sets the scroll strategy for the overlay based on the client output device and menu scroll strategy input.
|
|
192
|
+
*
|
|
193
|
+
* @param {OutputDeviceTypes} clientOutputDevice - The type of client output device (e.g., 'touch').
|
|
194
|
+
* @param {'reposition' | 'close'} menuScrollStrategyInput - The scroll strategy input for the menu.
|
|
195
|
+
* @returns {ScrollStrategy} The appropriate scroll strategy for the overlay.
|
|
196
|
+
*/
|
|
197
|
+
private setScrollStrategyToOverylay;
|
|
190
198
|
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuTriggerForDirective, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; }, null, null]>;
|
|
191
199
|
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteMenuTriggerForDirective, "[graniteMenuTriggerFor]", ["graniteMenuTriggerFor"], { "menu": { "alias": "graniteMenuTriggerFor"; "required": false; }; "openOnClick": { "alias": "openOnClick"; "required": false; }; }, {}, never, never, false, never>;
|
|
192
200
|
}
|