@eagami/ui 5.97.0 → 5.98.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.97.0",
3
+ "version": "5.98.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",
@@ -194,6 +194,8 @@ export interface EagamiMessages {
194
194
  browse: string;
195
195
  removeFile: (name: string) => string;
196
196
  fileListLabel: string;
197
+ /** Note screen readers hear on the picker when the uploader is read-only. */
198
+ readonly: string;
197
199
  constraintsAccept: (accept: string) => string;
198
200
  constraintsMaxSize: (size: string) => string;
199
201
  constraintsMaxFiles: (count: number) => string;
@@ -4920,6 +4922,11 @@ export declare class FileUploaderComponent extends LabelledFieldControlBase impl
4920
4922
  */
4921
4923
  readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
4922
4924
  readonly disabled: import("@angular/core").InputSignal<boolean>;
4925
+ /**
4926
+ * Keeps the picker focusable and the file list readable while blocking picking,
4927
+ * dropping and removing files. Screen readers hear a "Read-only" note on the picker.
4928
+ */
4929
+ readonly readonly: import("@angular/core").InputSignal<boolean>;
4923
4930
  /**
4924
4931
  * Whether a selection adds to the current files or replaces them. Defaults
4925
4932
  * to `true`: picking a second file appends it rather than swapping it in, so
@@ -4964,6 +4971,7 @@ export declare class FileUploaderComponent extends LabelledFieldControlBase impl
4964
4971
  private onChange;
4965
4972
  private onTouched;
4966
4973
  protected readonly isDisabled: import("@angular/core").Signal<boolean>;
4974
+ protected readonly isReadonly: import("@angular/core").Signal<boolean>;
4967
4975
  private readonly errorState;
4968
4976
  protected readonly errorText: import("@angular/core").Signal<string | null>;
4969
4977
  protected readonly hasError: import("@angular/core").Signal<boolean>;
@@ -4974,12 +4982,14 @@ export declare class FileUploaderComponent extends LabelledFieldControlBase impl
4974
4982
  'ea-file-uploader-field--button': boolean;
4975
4983
  'ea-file-uploader-field--error': boolean;
4976
4984
  'ea-file-uploader-field--disabled': boolean;
4985
+ 'ea-file-uploader-field--readonly': boolean;
4977
4986
  'ea-file-uploader-field--drag-over': boolean;
4978
4987
  'ea-file-uploader-field--focused': boolean;
4979
4988
  }>;
4980
4989
  protected readonly errorId: import("@angular/core").Signal<string>;
4981
4990
  protected readonly hintId: import("@angular/core").Signal<string>;
4982
4991
  protected readonly constraintsId: import("@angular/core").Signal<string>;
4992
+ protected readonly readonlyId: import("@angular/core").Signal<string>;
4983
4993
  protected readonly describedBy: import("@angular/core").Signal<string | null>;
4984
4994
  /** Joined human-readable description of accept / maxSize / maxFiles limits. */
4985
4995
  protected readonly constraintsText: import("@angular/core").Signal<string>;
@@ -5002,6 +5012,7 @@ export declare class FileUploaderComponent extends LabelledFieldControlBase impl
5002
5012
  protected onFileSelected(event: Event): void;
5003
5013
  protected onDragEnter(event: DragEvent): void;
5004
5014
  protected onDragOver(event: DragEvent): void;
5015
+ private takeDrag;
5005
5016
  protected onDragLeave(event: DragEvent): void;
5006
5017
  protected onDrop(event: DragEvent): void;
5007
5018
  private setDragOver;
@@ -5044,6 +5055,11 @@ export declare class FileUploaderComponent extends LabelledFieldControlBase impl
5044
5055
  "required": false;
5045
5056
  "isSignal": true;
5046
5057
  };
5058
+ "readonly": {
5059
+ "alias": "readonly";
5060
+ "required": false;
5061
+ "isSignal": true;
5062
+ };
5047
5063
  "multiple": {
5048
5064
  "alias": "multiple";
5049
5065
  "required": false;