@skyux/indicators 7.2.0 → 7.3.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": "@skyux/indicators",
3
- "version": "7.2.0",
3
+ "version": "7.3.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -45,10 +45,10 @@
45
45
  "@angular/common": "^14.2.11",
46
46
  "@angular/core": "^14.2.11",
47
47
  "@angular/platform-browser": "^14.2.11",
48
- "@skyux-sdk/testing": "7.2.0",
49
- "@skyux/core": "7.2.0",
50
- "@skyux/i18n": "7.2.0",
51
- "@skyux/theme": "7.2.0"
48
+ "@skyux-sdk/testing": "7.3.0",
49
+ "@skyux/core": "7.3.0",
50
+ "@skyux/i18n": "7.3.0",
51
+ "@skyux/theme": "7.3.0"
52
52
  },
53
53
  "dependencies": {
54
54
  "tslib": "^2.3.1"
@@ -8,6 +8,8 @@ export * from './tokens/token-harness';
8
8
  export * from './tokens/token-harness-filters';
9
9
  export * from './tokens/tokens-harness';
10
10
  export * from './tokens/tokens-harness-filters';
11
+ export * from './wait/wait-harness';
12
+ export * from './wait/wait-harness-filters';
11
13
  export * from './alert-fixture';
12
14
  export * from './label-fixture';
13
15
  export * from './wait-fixture';
@@ -0,0 +1,6 @@
1
+ import { SkyHarnessFilters } from '@skyux/core/testing';
2
+ /**
3
+ * A set of criteria that can be used to filter a list of SkyAlertHarness instances.
4
+ */
5
+ export interface SkyWaitHarnessFilters extends SkyHarnessFilters {
6
+ }
@@ -0,0 +1,34 @@
1
+ import { HarnessPredicate } from '@angular/cdk/testing';
2
+ import { SkyComponentHarness } from '@skyux/core/testing';
3
+ import { SkyWaitHarnessFilters } from './wait-harness-filters';
4
+ /**
5
+ * Harness for interacting with an wait component in tests.
6
+ */
7
+ export declare class SkyWaitHarness 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
+ * `SkyWaitHarness` that meets certain criteria.
16
+ */
17
+ static with(filters: SkyWaitHarnessFilters): HarnessPredicate<SkyWaitHarness>;
18
+ /**
19
+ * Gets the aria label for the wait component or throws an error if not waiting.
20
+ */
21
+ getAriaLabel(): Promise<string>;
22
+ /**
23
+ * Gets the waiting state of the wait component.
24
+ */
25
+ isWaiting(): Promise<boolean>;
26
+ /**
27
+ * Gets the full page state of the wait component.
28
+ */
29
+ isFullPage(): Promise<boolean>;
30
+ /**
31
+ * Gets the blocking state of the wait component.
32
+ */
33
+ isNonBlocking(): Promise<boolean>;
34
+ }