@stemy/ngx-utils 17.3.8 → 17.3.10
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/ngx-utils/components/dropdown-box/dropdown-box.component.mjs +1 -1
- package/esm2022/ngx-utils/directives/dropdown-content.directive.mjs +16 -8
- package/esm2022/ngx-utils/directives/dropdown.directive.mjs +5 -2
- package/fesm2022/stemy-ngx-utils.mjs +21 -10
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/directives/dropdown.directive.d.ts +6 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnDestroy } from "@angular/core";
|
|
2
|
-
import { AutoPlacementOptions, Placement } from "@floating-ui/dom";
|
|
2
|
+
import { AutoPlacementOptions, Boundary, Placement } from "@floating-ui/dom";
|
|
3
3
|
import { DropdownAttachTo } from "../common-types";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class DropdownDirective implements OnDestroy {
|
|
@@ -15,6 +15,10 @@ export declare class DropdownDirective implements OnDestroy {
|
|
|
15
15
|
* Determines where the floating element needs to be placed
|
|
16
16
|
*/
|
|
17
17
|
attachTo: DropdownAttachTo;
|
|
18
|
+
/**
|
|
19
|
+
* Determines the boundary element of the floating element when shifting
|
|
20
|
+
*/
|
|
21
|
+
boundary: Boundary;
|
|
18
22
|
/**
|
|
19
23
|
* Where to place the floating element relative to the reference element.
|
|
20
24
|
*/
|
|
@@ -53,5 +57,5 @@ export declare class DropdownDirective implements OnDestroy {
|
|
|
53
57
|
show($event?: Event): boolean;
|
|
54
58
|
hide(): boolean;
|
|
55
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDirective, never>;
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownDirective, "[dd],[drop-down]", ["dropdown"], { "closeInside": { "alias": "closeInside"; "required": false; }; "attachTo": { "alias": "attachTo"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "autoPlacement": { "alias": "autoPlacement"; "required": false; }; "mobileViewUnder": { "alias": "mobileViewUnder"; "required": false; }; "keyboardHandler": { "alias": "keyboardHandler"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, { "onShown": "onShown"; "onHidden": "onHidden"; "onKeyboard": "onKeyboard"; }, never, never, false, never>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownDirective, "[dd],[drop-down]", ["dropdown"], { "closeInside": { "alias": "closeInside"; "required": false; }; "attachTo": { "alias": "attachTo"; "required": false; }; "boundary": { "alias": "boundary"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "autoPlacement": { "alias": "autoPlacement"; "required": false; }; "mobileViewUnder": { "alias": "mobileViewUnder"; "required": false; }; "keyboardHandler": { "alias": "keyboardHandler"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, { "onShown": "onShown"; "onHidden": "onHidden"; "onKeyboard": "onKeyboard"; }, never, never, false, never>;
|
|
57
61
|
}
|