@eagami/ui 5.85.0 → 5.87.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 +86 -28
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +19 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.87.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();
|
|
@@ -8923,6 +8923,8 @@ export interface TransferListItem {
|
|
|
8923
8923
|
disabled?: boolean;
|
|
8924
8924
|
}
|
|
8925
8925
|
export type TransferListSize = EaSize;
|
|
8926
|
+
/** Heading level used for the pane labels so they fit the surrounding document outline. */
|
|
8927
|
+
export type TransferListHeadingLevel = 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
8926
8928
|
/**
|
|
8927
8929
|
* `<ea-transfer-list>` is a two-pane shuttle control for moving items between
|
|
8928
8930
|
* a "source" set and a "target" set. The full pool of items lives in
|
|
@@ -8951,6 +8953,8 @@ export declare class TransferListComponent {
|
|
|
8951
8953
|
* hide the heading row entirely.
|
|
8952
8954
|
*/
|
|
8953
8955
|
readonly targetLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
8956
|
+
/** Heading level of both pane labels, so they fit the surrounding document outline. */
|
|
8957
|
+
readonly headingLevel: import("@angular/core").InputSignal<TransferListHeadingLevel>;
|
|
8954
8958
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
8955
8959
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
8956
8960
|
protected readonly messages: import("@angular/core").Signal<import("@eagami/ui").EagamiMessages>;
|
|
@@ -9009,6 +9013,11 @@ export declare class TransferListComponent {
|
|
|
9009
9013
|
"required": false;
|
|
9010
9014
|
"isSignal": true;
|
|
9011
9015
|
};
|
|
9016
|
+
"headingLevel": {
|
|
9017
|
+
"alias": "headingLevel";
|
|
9018
|
+
"required": false;
|
|
9019
|
+
"isSignal": true;
|
|
9020
|
+
};
|
|
9012
9021
|
"size": {
|
|
9013
9022
|
"alias": "size";
|
|
9014
9023
|
"required": false;
|
|
@@ -9059,10 +9068,10 @@ export declare function visibleNodeIds<T>(nodes: readonly TreeNode<T>[], expande
|
|
|
9059
9068
|
export type TreeSize = EaSize;
|
|
9060
9069
|
/**
|
|
9061
9070
|
* `<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.
|
|
9071
|
+
* keyboard navigation (Arrow keys, Home, End, Enter / Space, and typeahead
|
|
9072
|
+
* on node labels). Selection and expansion state are model signals: pass
|
|
9073
|
+
* `[selectedId]` / `[expandedIds]` to control them, or bind
|
|
9074
|
+
* `[(selectedId)]` / `[(expandedIds)]` for two-way sync.
|
|
9066
9075
|
*
|
|
9067
9076
|
* The component implements the ARIA `tree` pattern:
|
|
9068
9077
|
* - The outer `<ul>` carries `role="tree"`
|
|
@@ -9084,6 +9093,7 @@ export declare class TreeComponent {
|
|
|
9084
9093
|
readonly nodeClick: import("@angular/core").OutputEmitterRef<TreeNode<unknown>>;
|
|
9085
9094
|
private readonly listEl;
|
|
9086
9095
|
private readonly _focusedId;
|
|
9096
|
+
private readonly typeahead;
|
|
9087
9097
|
protected readonly expandedSet: Signal<ReadonlySet<string>>;
|
|
9088
9098
|
/**
|
|
9089
9099
|
* The node id currently driving the roving tabindex. Defaults to the first
|