@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/README.md +1 -1
- package/fesm2022/eagami-ui-testing.mjs +1 -0
- package/fesm2022/eagami-ui-testing.mjs.map +1 -1
- package/fesm2022/eagami-ui.mjs +113 -219
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui-testing.d.ts +6 -5
- package/types/eagami-ui.d.ts +4 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.90.
|
|
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,
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* the
|
|
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;
|
package/types/eagami-ui.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
4297
|
+
private pushRelease;
|
|
4301
4298
|
private shownAsModal;
|
|
4302
4299
|
private reopening;
|
|
4303
|
-
private
|
|
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;
|