@eagami/ui 5.90.0 → 5.90.2

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.90.0",
3
+ "version": "5.90.2",
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",
@@ -1,8 +1,9 @@
1
1
  /**
2
- * Fills in the native `<dialog>` methods jsdom leaves unimplemented, so a spec
3
- * can create a component that opens an `ea-dialog` or `ea-drawer` without the
4
- * test runner throwing on `showModal()` or `close()`. Call once from the test
5
- * setup file. Only missing methods are patched, so a runtime that implements
6
- * the element keeps its own behavior.
2
+ * Fills in the native `<dialog>` methods jsdom leaves unimplemented, and the
3
+ * `Element.getAnimations()` an `ea-drawer` reads to follow its slide out, so a
4
+ * spec can create a component that opens an `ea-dialog` or `ea-drawer` without
5
+ * the test runner throwing on `showModal()`, `close()` or a drawer closing.
6
+ * Call once from the test setup file. Only missing methods are patched, so a
7
+ * runtime that implements them keeps its own behavior.
7
8
  */
8
9
  export declare function installNativeDialogShim(): void;
@@ -2423,7 +2423,7 @@ export type IconComponentType = Type<unknown> & IconMeta;
2423
2423
  * individual icon components don't need to repeat the `host: { style: '...' }`
2424
2424
  * config in their `@Component` decorator. Brand icons with their own host
2425
2425
  * bindings (e.g. a colour binding tied to a `brand` input) layer those onto
2426
- * this base via additional `@HostBinding` getters.
2426
+ * this base through their own `host` metadata.
2427
2427
  *
2428
2428
  * Feather-derived icons read the `strokeWidth` input via `[attr.stroke-width]`
2429
2429
  * in their SVG template, so consumers can thin or thicken any icon at the
@@ -2433,9 +2433,6 @@ export type IconComponentType = Type<unknown> & IconMeta;
2433
2433
  * (e.g. camera, upload at 1.5).
2434
2434
  */
2435
2435
  export declare abstract class IconComponentBase {
2436
- readonly display = "inline-flex";
2437
- readonly width = "1em";
2438
- readonly height = "1em";
2439
2436
  static readonly defaultStrokeWidth: number;
2440
2437
  readonly strokeWidth: import("@angular/core").InputSignal<number>;
2441
2438
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponentBase, never>;
@@ -4297,13 +4294,11 @@ export declare class DrawerComponent implements AfterContentChecked {
4297
4294
  private readonly headerEl;
4298
4295
  private previouslyFocused;
4299
4296
  private pushedTarget;
4300
- private pushCleanupTimer;
4297
+ private pushRelease;
4301
4298
  private shownAsModal;
4302
4299
  private reopening;
4303
- private isLeaving;
4300
+ private exitSlide;
4304
4301
  private pushRaf;
4305
- private leaveTimer;
4306
- private leaveOnEnd;
4307
4302
  private documentClickListener;
4308
4303
  protected readonly i18n: EagamiI18nService;
4309
4304
  private readonly isBrowser;
@@ -4346,9 +4341,9 @@ export declare class DrawerComponent implements AfterContentChecked {
4346
4341
  private showDialog;
4347
4342
  private enter;
4348
4343
  private leave;
4344
+ private followExitSlide;
4349
4345
  private cancelLeave;
4350
4346
  private finishClose;
4351
- private transitionMs;
4352
4347
  handleClose(): void;
4353
4348
  handleKeydown(event: KeyboardEvent): void;
4354
4349
  private resolvePushTarget;