@eagami/ui 5.93.1 → 5.94.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 +49 -13
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +14 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.94.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
|
@@ -8873,10 +8873,12 @@ export type TransferListHeadingLevel = 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
|
8873
8873
|
* four direction buttons to move them.
|
|
8874
8874
|
*
|
|
8875
8875
|
* Each pane is a `role="listbox"` with `aria-multiselectable="true"`; rows
|
|
8876
|
-
* are `role="option"` with `aria-selected`.
|
|
8876
|
+
* are `role="option"` with `aria-selected`. Integrates with Angular forms via
|
|
8877
|
+
* `ControlValueAccessor`, with the target ids as the form value.
|
|
8877
8878
|
*/
|
|
8878
|
-
export declare class TransferListComponent {
|
|
8879
|
+
export declare class TransferListComponent implements ControlValueAccessor {
|
|
8879
8880
|
private readonly i18n;
|
|
8881
|
+
private readonly host;
|
|
8880
8882
|
readonly items: import("@angular/core").InputSignal<readonly TransferListItem[]>;
|
|
8881
8883
|
/** Ids currently on the target (right) side. */
|
|
8882
8884
|
readonly selectedIds: import("@angular/core").ModelSignal<readonly string[]>;
|
|
@@ -8896,6 +8898,10 @@ export declare class TransferListComponent {
|
|
|
8896
8898
|
readonly headingLevel: import("@angular/core").InputSignal<TransferListHeadingLevel>;
|
|
8897
8899
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
8898
8900
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
8901
|
+
private readonly _formDisabled;
|
|
8902
|
+
private onChange;
|
|
8903
|
+
private onTouched;
|
|
8904
|
+
protected readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
8899
8905
|
protected readonly messages: import("@angular/core").Signal<import("@eagami/ui").EagamiMessages>;
|
|
8900
8906
|
private readonly leftHighlighted;
|
|
8901
8907
|
private readonly rightHighlighted;
|
|
@@ -8915,6 +8921,11 @@ export declare class TransferListComponent {
|
|
|
8915
8921
|
protected readonly resolvedTargetLabel: import("@angular/core").Signal<string>;
|
|
8916
8922
|
protected readonly announcement: import("@angular/core").WritableSignal<string>;
|
|
8917
8923
|
protected readonly hostClasses: import("@angular/core").Signal<string[]>;
|
|
8924
|
+
writeValue(val: readonly string[] | null | undefined): void;
|
|
8925
|
+
registerOnChange(fn: (value: readonly string[]) => void): void;
|
|
8926
|
+
registerOnTouched(fn: () => void): void;
|
|
8927
|
+
setDisabledState(isDisabled: boolean): void;
|
|
8928
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
8918
8929
|
protected isHighlighted(pane: 'source' | 'target', id: string): boolean;
|
|
8919
8930
|
protected itemTabindex(pane: 'source' | 'target', index: number, item: TransferListItem): number;
|
|
8920
8931
|
protected onItemClick(pane: 'source' | 'target', item: TransferListItem, event: MouseEvent): void;
|
|
@@ -8929,6 +8940,7 @@ export declare class TransferListComponent {
|
|
|
8929
8940
|
protected moveAllRight(): void;
|
|
8930
8941
|
protected moveSelectedLeft(): void;
|
|
8931
8942
|
protected moveAllLeft(): void;
|
|
8943
|
+
private commit;
|
|
8932
8944
|
private announceMove;
|
|
8933
8945
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransferListComponent, never>;
|
|
8934
8946
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransferListComponent, "ea-transfer-list", never, {
|