@skyux/modals 8.0.0-alpha.8 → 8.0.0-beta.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.
@@ -0,0 +1,42 @@
1
+ import { HarnessPredicate } from '@angular/cdk/testing';
2
+ import { SkyComponentHarness } from '@skyux/core/testing';
3
+ import { SkyModalHarnessFilters } from './modal-harness-filters';
4
+ /**
5
+ * Harness for interacting with a modal component in tests.
6
+ */
7
+ export declare class SkyModalHarness extends SkyComponentHarness {
8
+ #private;
9
+ /**
10
+ * @internal
11
+ */
12
+ static hostSelector: string;
13
+ /**
14
+ * Gets a `HarnessPredicate` that can be used to search for a
15
+ * `SkyModalHarness` that meets certain criteria
16
+ */
17
+ static with(filters: SkyModalHarnessFilters): HarnessPredicate<SkyModalHarness>;
18
+ /**
19
+ * Gets the aria-describedBy property of the modal
20
+ */
21
+ getAriaDescribedBy(): Promise<string | null>;
22
+ /**
23
+ * Gets the aria-labelledBy property of the modal
24
+ */
25
+ getAriaLabelledBy(): Promise<string | null>;
26
+ /**
27
+ * Gets the role of the modal.
28
+ */
29
+ getAriaRole(): Promise<string | null>;
30
+ /**
31
+ * Gets the modal size.
32
+ */
33
+ getSize(): Promise<string>;
34
+ /**
35
+ * Gets the wrapper class of the modal.
36
+ */
37
+ getWrapperClass(): Promise<string | undefined>;
38
+ /**
39
+ * Whether the modal is full page.
40
+ */
41
+ isFullPage(): Promise<boolean>;
42
+ }
@@ -2,3 +2,5 @@ export * from './modal-fixture';
2
2
  export * from './confirm/confirm-harness';
3
3
  export * from './confirm/confirm-button-harness';
4
4
  export * from './confirm/confirm-button-harness-filters';
5
+ export * from './modal/modal-harness';
6
+ export * from './modal/modal-harness-filters';