@eagami/ui 5.85.0 → 5.86.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 +56 -25
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +10 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.86.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
|
@@ -2924,9 +2924,9 @@ export type MenuSize = EaSize;
|
|
|
2924
2924
|
/**
|
|
2925
2925
|
* Popup action menu attached to any focusable element via the
|
|
2926
2926
|
* `[eaMenuTrigger]` directive. Supports keyboard navigation
|
|
2927
|
-
* (arrow keys, Home/End), closes on outside click
|
|
2928
|
-
* focus to the trigger on close. Positioning,
|
|
2929
|
-
* handling are provided by `<ea-popover>`.
|
|
2927
|
+
* (arrow keys, Home/End, typeahead on item labels), closes on outside click
|
|
2928
|
+
* or Escape, and restores focus to the trigger on close. Positioning,
|
|
2929
|
+
* dismissal, and SSR-safe scroll handling are provided by `<ea-popover>`.
|
|
2930
2930
|
*/
|
|
2931
2931
|
export declare class MenuComponent {
|
|
2932
2932
|
private readonly injector;
|
|
@@ -2934,6 +2934,7 @@ export declare class MenuComponent {
|
|
|
2934
2934
|
private readonly listEl;
|
|
2935
2935
|
private readonly popover;
|
|
2936
2936
|
private readonly focusFirstItemOnReveal;
|
|
2937
|
+
private readonly typeahead;
|
|
2937
2938
|
readonly placement: import("@angular/core").InputSignal<MenuPlacement>;
|
|
2938
2939
|
/** Visual size of the menu; every item inherits it. */
|
|
2939
2940
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
@@ -4412,8 +4413,7 @@ export declare class DropdownComponent extends LabelledFieldControlBase implemen
|
|
|
4412
4413
|
readonly focusedIndex: import("@angular/core").WritableSignal<number>;
|
|
4413
4414
|
protected readonly searchTerm: import("@angular/core").WritableSignal<string>;
|
|
4414
4415
|
private readonly _formDisabled;
|
|
4415
|
-
private
|
|
4416
|
-
private typeaheadTimer;
|
|
4416
|
+
private readonly typeahead;
|
|
4417
4417
|
private onChange;
|
|
4418
4418
|
private onTouched;
|
|
4419
4419
|
constructor();
|
|
@@ -9059,10 +9059,10 @@ export declare function visibleNodeIds<T>(nodes: readonly TreeNode<T>[], expande
|
|
|
9059
9059
|
export type TreeSize = EaSize;
|
|
9060
9060
|
/**
|
|
9061
9061
|
* `<ea-tree>` renders a hierarchical, single-selection treeview with full
|
|
9062
|
-
* keyboard navigation (Arrow keys, Home, End, Enter / Space
|
|
9063
|
-
* expansion state are model signals: pass
|
|
9064
|
-
*
|
|
9065
|
-
* sync.
|
|
9062
|
+
* keyboard navigation (Arrow keys, Home, End, Enter / Space, and typeahead
|
|
9063
|
+
* on node labels). Selection and expansion state are model signals: pass
|
|
9064
|
+
* `[selectedId]` / `[expandedIds]` to control them, or bind
|
|
9065
|
+
* `[(selectedId)]` / `[(expandedIds)]` for two-way sync.
|
|
9066
9066
|
*
|
|
9067
9067
|
* The component implements the ARIA `tree` pattern:
|
|
9068
9068
|
* - The outer `<ul>` carries `role="tree"`
|
|
@@ -9084,6 +9084,7 @@ export declare class TreeComponent {
|
|
|
9084
9084
|
readonly nodeClick: import("@angular/core").OutputEmitterRef<TreeNode<unknown>>;
|
|
9085
9085
|
private readonly listEl;
|
|
9086
9086
|
private readonly _focusedId;
|
|
9087
|
+
private readonly typeahead;
|
|
9087
9088
|
protected readonly expandedSet: Signal<ReadonlySet<string>>;
|
|
9088
9089
|
/**
|
|
9089
9090
|
* The node id currently driving the roving tabindex. Defaults to the first
|