@eagami/ui 5.79.0 → 5.81.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 -7
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +24 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.81.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
|
@@ -1030,6 +1030,8 @@ export declare class AutocompleteComponent extends LabelledFieldControlBase impl
|
|
|
1030
1030
|
/** Maximum number of characters the input accepts (native `maxlength`). */
|
|
1031
1031
|
readonly maxLength: import("@angular/core").InputSignal<number | undefined>;
|
|
1032
1032
|
readonly maxResults: import("@angular/core").InputSignal<number>;
|
|
1033
|
+
/** Shows a clear button while the field has a value. */
|
|
1034
|
+
readonly clearable: import("@angular/core").InputSignal<boolean>;
|
|
1033
1035
|
readonly emptyMessage: import("@angular/core").InputSignal<string | undefined>;
|
|
1034
1036
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
1035
1037
|
readonly value: import("@angular/core").ModelSignal<string>;
|
|
@@ -1049,6 +1051,8 @@ export declare class AutocompleteComponent extends LabelledFieldControlBase impl
|
|
|
1049
1051
|
private onChange;
|
|
1050
1052
|
private onTouched;
|
|
1051
1053
|
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
1054
|
+
readonly showClear: import("@angular/core").Signal<boolean>;
|
|
1055
|
+
protected readonly clearLabel: import("@angular/core").Signal<string>;
|
|
1052
1056
|
private readonly errorState;
|
|
1053
1057
|
readonly errorText: import("@angular/core").Signal<string | null>;
|
|
1054
1058
|
readonly hasError: import("@angular/core").Signal<boolean>;
|
|
@@ -1086,6 +1090,9 @@ export declare class AutocompleteComponent extends LabelledFieldControlBase impl
|
|
|
1086
1090
|
handleKeydown(event: KeyboardEvent): void;
|
|
1087
1091
|
/** Programmatically selects the given option, updating the value and closing the list. */
|
|
1088
1092
|
selectOption(option: SelectOption): void;
|
|
1093
|
+
protected onClearMousedown(event: MouseEvent): void;
|
|
1094
|
+
/** Clears the current value and restores focus to the input. */
|
|
1095
|
+
clear(): void;
|
|
1089
1096
|
/** Closes the suggestion list without changing the current value. */
|
|
1090
1097
|
close(): void;
|
|
1091
1098
|
/** Moves keyboard focus to the underlying text input. */
|
|
@@ -1138,6 +1145,11 @@ export declare class AutocompleteComponent extends LabelledFieldControlBase impl
|
|
|
1138
1145
|
"required": false;
|
|
1139
1146
|
"isSignal": true;
|
|
1140
1147
|
};
|
|
1148
|
+
"clearable": {
|
|
1149
|
+
"alias": "clearable";
|
|
1150
|
+
"required": false;
|
|
1151
|
+
"isSignal": true;
|
|
1152
|
+
};
|
|
1141
1153
|
"emptyMessage": {
|
|
1142
1154
|
"alias": "emptyMessage";
|
|
1143
1155
|
"required": false;
|
|
@@ -3333,6 +3345,13 @@ export interface DataTableColumn<T = Record<string, unknown>> {
|
|
|
3333
3345
|
$implicit: DataTableColumn<T>;
|
|
3334
3346
|
index: number;
|
|
3335
3347
|
}>;
|
|
3348
|
+
/**
|
|
3349
|
+
* Set to `false` for a column whose cells hold links or buttons of their own, to keep
|
|
3350
|
+
* them out of the link `rowHref` gives every cell: a link inside a link is invalid, and
|
|
3351
|
+
* the row's links after the first are hidden from assistive technology. A click
|
|
3352
|
+
* elsewhere in the cell still activates the row.
|
|
3353
|
+
*/
|
|
3354
|
+
rowLink?: boolean;
|
|
3336
3355
|
}
|
|
3337
3356
|
/** A body row's context-menu request, as `rowContextMenu` emits it. */
|
|
3338
3357
|
export interface DataTableRowContextMenuEvent<T = Record<string, unknown>> {
|
|
@@ -3406,9 +3425,10 @@ export declare class DataTableComponent<T = Record<string, unknown>> {
|
|
|
3406
3425
|
readonly clickable: import("@angular/core").InputSignal<boolean>;
|
|
3407
3426
|
/**
|
|
3408
3427
|
* Gives a row its link target, or `null` for none. Every cell of the row then holds
|
|
3409
|
-
* a real link,
|
|
3410
|
-
*
|
|
3411
|
-
* A row given `null` is inert: no link,
|
|
3428
|
+
* a real link, unless its column sets `rowLink: false`, so the browser shows the
|
|
3429
|
+
* target on hover and a modified click opens it elsewhere, while a plain click still
|
|
3430
|
+
* emits `rowActivate` for the app to route. A row given `null` is inert: no link,
|
|
3431
|
+
* hover highlight, focus or activation.
|
|
3412
3432
|
*/
|
|
3413
3433
|
readonly rowHref: import("@angular/core").InputSignal<((row: T) => string | null) | undefined>;
|
|
3414
3434
|
/**
|
|
@@ -3433,6 +3453,7 @@ export declare class DataTableComponent<T = Record<string, unknown>> {
|
|
|
3433
3453
|
readonly noDataTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
3434
3454
|
/** Empty-state text, falling back to the active locale's translation. */
|
|
3435
3455
|
readonly resolvedNoDataText: import("@angular/core").Signal<string>;
|
|
3456
|
+
protected readonly announcedLinkColumn: import("@angular/core").Signal<number>;
|
|
3436
3457
|
readonly placeholderRows: import("@angular/core").Signal<number[]>;
|
|
3437
3458
|
private readonly bodyRowCount;
|
|
3438
3459
|
readonly hostClasses: import("@angular/core").Signal<{
|