@eagami/ui 5.79.0 → 5.80.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eagami/ui",
3
- "version": "5.79.0",
3
+ "version": "5.80.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",
@@ -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;