asksuite-citrus 0.6.3 → 0.7.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/esm2022/lib/components/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/lib/components/avatar/avatar.component.mjs +2 -2
- package/esm2022/lib/components/box/box.component.mjs +2 -2
- package/esm2022/lib/components/button/button.component.mjs +2 -2
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +2 -2
- package/esm2022/lib/components/chips/chips.component.mjs +2 -2
- package/esm2022/lib/components/date-picker/date-picker-calendar/date-picker-calendar.component.mjs +2 -2
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +2 -2
- package/esm2022/lib/components/dropdown-container/dropdown-container.component.mjs +2 -2
- package/esm2022/lib/components/input/input.component.mjs +2 -2
- package/esm2022/lib/components/select/select.component.mjs +2 -2
- package/esm2022/lib/components/skeleton/skeleton.component.mjs +9 -5
- package/esm2022/lib/directives/ask-dropdown.directive.mjs +26 -4
- package/fesm2022/asksuite-citrus.mjs +55 -29
- package/fesm2022/asksuite-citrus.mjs.map +1 -1
- package/lib/components/skeleton/skeleton.component.d.ts +4 -2
- package/lib/directives/ask-dropdown.directive.d.ts +4 -2
- package/package.json +1 -1
- package/styles/styles.scss +6 -0
@@ -3,8 +3,10 @@ import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SkeletonComponent {
|
4
4
|
private elementRef;
|
5
5
|
barsHeight: number;
|
6
|
+
radius: number;
|
7
|
+
barsCount: number;
|
6
8
|
constructor(elementRef: ElementRef<HTMLElement>);
|
7
|
-
|
9
|
+
ngOnInit(): void;
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonComponent, "ask-skeleton", never, { "barsHeight": { "alias": "barsHeight"; "required": false; }; }, {}, never, never, false, never>;
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonComponent, "ask-skeleton", never, { "barsHeight": { "alias": "barsHeight"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; }, {}, never, never, false, never>;
|
10
12
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DestroyRef, ElementRef, OnInit, TemplateRef } from '@angular/core';
|
2
|
-
import { Overlay, OverlayPositionBuilder } from "@angular/cdk/overlay";
|
2
|
+
import { ConnectedPosition, Overlay, OverlayPositionBuilder } from "@angular/cdk/overlay";
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AskDropdownDirective implements OnInit {
|
5
5
|
private overlayPositionBuilder;
|
@@ -7,10 +7,12 @@ export declare class AskDropdownDirective implements OnInit {
|
|
7
7
|
private overlay;
|
8
8
|
private _destroyRef;
|
9
9
|
askDropdown: TemplateRef<any>;
|
10
|
+
positions?: Array<ConnectedPosition> | 'TOP_RIGHT' | 'TOP_LEFT' | 'BOTTOM_RIGHT' | 'BOTTOM_LEFT';
|
10
11
|
private _isRendered;
|
11
12
|
private overlayConfig;
|
12
13
|
private overlayRef;
|
13
14
|
private containerRef;
|
15
|
+
private readonly AVAILABLE_POSITIONS;
|
14
16
|
constructor(overlayPositionBuilder: OverlayPositionBuilder, elementRef: ElementRef, overlay: Overlay, _destroyRef: DestroyRef);
|
15
17
|
ngOnInit(): void;
|
16
18
|
private setOverlayConfig;
|
@@ -21,5 +23,5 @@ export declare class AskDropdownDirective implements OnInit {
|
|
21
23
|
close(): void;
|
22
24
|
get isRendered(): boolean;
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<AskDropdownDirective, never>;
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AskDropdownDirective, "[askDropdown]", never, { "askDropdown": { "alias": "askDropdown"; "required": false; }; }, {}, never, never, false, never>;
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AskDropdownDirective, "[askDropdown]", never, { "askDropdown": { "alias": "askDropdown"; "required": false; }; "positions": { "alias": "positions"; "required": false; }; }, {}, never, never, false, never>;
|
25
27
|
}
|
package/package.json
CHANGED
package/styles/styles.scss
CHANGED