@eagami/ui 5.90.0 → 5.90.1
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 +86 -169
- 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 +3 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.90.
|
|
3
|
+
"version": "5.90.1",
|
|
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
|
@@ -4297,13 +4297,11 @@ export declare class DrawerComponent implements AfterContentChecked {
|
|
|
4297
4297
|
private readonly headerEl;
|
|
4298
4298
|
private previouslyFocused;
|
|
4299
4299
|
private pushedTarget;
|
|
4300
|
-
private
|
|
4300
|
+
private pushRelease;
|
|
4301
4301
|
private shownAsModal;
|
|
4302
4302
|
private reopening;
|
|
4303
|
-
private
|
|
4303
|
+
private exitSlide;
|
|
4304
4304
|
private pushRaf;
|
|
4305
|
-
private leaveTimer;
|
|
4306
|
-
private leaveOnEnd;
|
|
4307
4305
|
private documentClickListener;
|
|
4308
4306
|
protected readonly i18n: EagamiI18nService;
|
|
4309
4307
|
private readonly isBrowser;
|
|
@@ -4346,9 +4344,9 @@ export declare class DrawerComponent implements AfterContentChecked {
|
|
|
4346
4344
|
private showDialog;
|
|
4347
4345
|
private enter;
|
|
4348
4346
|
private leave;
|
|
4347
|
+
private followExitSlide;
|
|
4349
4348
|
private cancelLeave;
|
|
4350
4349
|
private finishClose;
|
|
4351
|
-
private transitionMs;
|
|
4352
4350
|
handleClose(): void;
|
|
4353
4351
|
handleKeydown(event: KeyboardEvent): void;
|
|
4354
4352
|
private resolvePushTarget;
|