@eagami/ui 5.27.0 → 5.28.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/fesm2022/eagami-ui.mjs +305 -138
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +13 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.28.0",
|
|
4
4
|
"description": "Lightweight, accessible, themeable Angular UI component library and icon set built on CSS custom properties",
|
|
5
5
|
"author": "Michal Wiraszka <michal@eagami.com>",
|
|
6
6
|
"license": "MIT",
|
package/types/eagami-ui.d.ts
CHANGED
|
@@ -867,7 +867,9 @@ declare class AvatarEditorComponent implements OnDestroy {
|
|
|
867
867
|
private readonly boundWheel;
|
|
868
868
|
constructor();
|
|
869
869
|
ngOnDestroy(): void;
|
|
870
|
+
onDragEnter(event: DragEvent): void;
|
|
870
871
|
onDragOver(event: DragEvent): void;
|
|
872
|
+
private acceptDrag;
|
|
871
873
|
onDragLeave(event: DragEvent): void;
|
|
872
874
|
onDrop(event: DragEvent): void;
|
|
873
875
|
onFileSelected(event: Event): void;
|
|
@@ -900,6 +902,7 @@ declare class AvatarEditorComponent implements OnDestroy {
|
|
|
900
902
|
private loadFromUrl;
|
|
901
903
|
private loadFile;
|
|
902
904
|
private scheduleDrawAfterRender;
|
|
905
|
+
private drawLoadedImage;
|
|
903
906
|
private centerImage;
|
|
904
907
|
private getScale;
|
|
905
908
|
private getDrawParams;
|
|
@@ -1256,6 +1259,7 @@ interface GroupedItems {
|
|
|
1256
1259
|
declare class CommandPaletteComponent {
|
|
1257
1260
|
private readonly i18n;
|
|
1258
1261
|
private readonly hostEl;
|
|
1262
|
+
private readonly press;
|
|
1259
1263
|
readonly items: _angular_core.InputSignal<readonly CommandPaletteItem<unknown>[]>;
|
|
1260
1264
|
readonly open: _angular_core.ModelSignal<boolean>;
|
|
1261
1265
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
@@ -1826,6 +1830,7 @@ declare class DialogComponent implements AfterContentChecked {
|
|
|
1826
1830
|
private previouslyFocused;
|
|
1827
1831
|
protected readonly i18n: EagamiI18nService;
|
|
1828
1832
|
private readonly isBrowser;
|
|
1833
|
+
private readonly press;
|
|
1829
1834
|
readonly width: _angular_core.InputSignal<EaWidth>;
|
|
1830
1835
|
readonly closeOnBackdrop: _angular_core.InputSignal<boolean>;
|
|
1831
1836
|
readonly closeOnEscape: _angular_core.InputSignal<boolean>;
|
|
@@ -1913,9 +1918,10 @@ declare class DrawerComponent implements AfterContentChecked {
|
|
|
1913
1918
|
private pushRaf;
|
|
1914
1919
|
private leaveTimer;
|
|
1915
1920
|
private leaveOnEnd;
|
|
1916
|
-
private
|
|
1921
|
+
private documentClickListener;
|
|
1917
1922
|
protected readonly i18n: EagamiI18nService;
|
|
1918
1923
|
private readonly isBrowser;
|
|
1924
|
+
private readonly press;
|
|
1919
1925
|
readonly position: _angular_core.InputSignal<DrawerPosition>;
|
|
1920
1926
|
/**
|
|
1921
1927
|
* Extent of the panel along its main axis (width for side drawers, height for
|
|
@@ -2636,6 +2642,7 @@ type PopoverMaxWidth = number | 'anchor';
|
|
|
2636
2642
|
*/
|
|
2637
2643
|
declare class PopoverComponent {
|
|
2638
2644
|
private readonly destroyRef;
|
|
2645
|
+
private readonly press;
|
|
2639
2646
|
private readonly surfaceEl;
|
|
2640
2647
|
/** Anchor element the popover positions itself against. */
|
|
2641
2648
|
readonly anchor: _angular_core.InputSignal<HTMLElement | ElementRef<HTMLElement> | undefined>;
|
|
@@ -2678,6 +2685,7 @@ declare class PopoverComponent {
|
|
|
2678
2685
|
/** Requested close. The parent should mirror this into `[open]`. */
|
|
2679
2686
|
readonly closeRequested: _angular_core.OutputEmitterRef<void>;
|
|
2680
2687
|
private readonly position;
|
|
2688
|
+
private latched;
|
|
2681
2689
|
/** True placement after flip, for class-based styling (e.g. arrow direction). */
|
|
2682
2690
|
readonly effectivePlacement: _angular_core.Signal<PopoverPlacement>;
|
|
2683
2691
|
/** Latches true once the post-rAF reposition has run, so the surface is
|
|
@@ -2713,6 +2721,7 @@ type MultiSelectSize = EaSize;
|
|
|
2713
2721
|
*/
|
|
2714
2722
|
declare class MultiSelectComponent implements ControlValueAccessor {
|
|
2715
2723
|
protected readonly wrapperEl: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
2724
|
+
private readonly popover;
|
|
2716
2725
|
protected readonly triggerEl: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
2717
2726
|
protected readonly searchEl: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
2718
2727
|
private readonly listEl;
|
|
@@ -2853,6 +2862,8 @@ declare class MultiSelectComponent implements ControlValueAccessor {
|
|
|
2853
2862
|
*/
|
|
2854
2863
|
toggleSelectAll(): void;
|
|
2855
2864
|
onSearchInput(event: Event): void;
|
|
2865
|
+
private soleOptionRow;
|
|
2866
|
+
private clearSearchForNextValue;
|
|
2856
2867
|
handleTriggerKeydown(event: KeyboardEvent): void;
|
|
2857
2868
|
/**
|
|
2858
2869
|
* Keyboard navigation inside the popover. Bound to both the search input
|
|
@@ -2860,7 +2871,6 @@ declare class MultiSelectComponent implements ControlValueAccessor {
|
|
|
2860
2871
|
* so users can type spaces in their query.
|
|
2861
2872
|
*/
|
|
2862
2873
|
handlePopoverKeydown(event: KeyboardEvent): void;
|
|
2863
|
-
private focusSearchWhenReady;
|
|
2864
2874
|
private moveFocusedRow;
|
|
2865
2875
|
/** Enter/Space on the focused row: row 0 is Select-all when visible. */
|
|
2866
2876
|
private activateRow;
|
|
@@ -3698,6 +3708,7 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
3698
3708
|
private readonly hoverChangeHandler;
|
|
3699
3709
|
private rafId;
|
|
3700
3710
|
private readonly repositionHandler;
|
|
3711
|
+
private readonly relayoutHandler;
|
|
3701
3712
|
private readonly scrollListenerOptions;
|
|
3702
3713
|
private resizeObserver;
|
|
3703
3714
|
constructor();
|