@skyux/indicators 9.4.1 → 9.5.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/documentation.json +1373 -574
- package/esm2022/lib/modules/status-indicator/status-indicator.component.mjs +3 -3
- package/esm2022/testing/public-api.mjs +2 -1
- package/esm2022/testing/status-indicator/status-indicator-harness-filters.mjs +2 -0
- package/esm2022/testing/status-indicator/status-indicator-harness.mjs +92 -0
- package/fesm2022/skyux-indicators-testing.mjs +92 -1
- package/fesm2022/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2022/skyux-indicators.mjs +2 -2
- package/fesm2022/skyux-indicators.mjs.map +1 -1
- package/lib/modules/status-indicator/status-indicator.component.d.ts +2 -2
- package/package.json +5 -5
- package/testing/public-api.d.ts +2 -0
- package/testing/status-indicator/status-indicator-harness-filters.d.ts +6 -0
- package/testing/status-indicator/status-indicator-harness.d.ts +35 -0
|
@@ -17,8 +17,8 @@ export declare class SkyStatusIndicatorComponent implements OnInit {
|
|
|
17
17
|
*/
|
|
18
18
|
set indicatorType(value: SkyIndicatorIconType);
|
|
19
19
|
/**
|
|
20
|
-
* The predefined text to be read by screen readers for users
|
|
21
|
-
*
|
|
20
|
+
* The predefined text to be read by screen readers for users who
|
|
21
|
+
* cannot see the indicator icon.
|
|
22
22
|
* @required
|
|
23
23
|
*/
|
|
24
24
|
set descriptionType(value: SkyIndicatorDescriptionType | undefined);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/indicators",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.1",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"@angular/common": "^16.2.5",
|
|
42
42
|
"@angular/core": "^16.2.5",
|
|
43
43
|
"@angular/platform-browser": "^16.2.5",
|
|
44
|
-
"@skyux-sdk/testing": "9.
|
|
45
|
-
"@skyux/core": "9.
|
|
46
|
-
"@skyux/i18n": "9.
|
|
47
|
-
"@skyux/theme": "9.
|
|
44
|
+
"@skyux-sdk/testing": "9.5.1",
|
|
45
|
+
"@skyux/core": "9.5.1",
|
|
46
|
+
"@skyux/i18n": "9.5.1",
|
|
47
|
+
"@skyux/theme": "9.5.1"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"tslib": "^2.6.2"
|
package/testing/public-api.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export { SkyKeyInfoHarness } from './key-info/key-info-harness';
|
|
|
9
9
|
export { SkyKeyInfoHarnessFilters } from './key-info/key-info-harness-filters';
|
|
10
10
|
export { SkyLabelHarness } from './label/label-harness';
|
|
11
11
|
export { SkyLabelHarnessFilters } from './label/label-harness-filters';
|
|
12
|
+
export { SkyStatusIndicatorHarness } from './status-indicator/status-indicator-harness';
|
|
13
|
+
export { SkyStatusIndicatorHarnessFilters } from './status-indicator/status-indicator-harness-filters';
|
|
12
14
|
export { SkyTokenHarness } from './tokens/token-harness';
|
|
13
15
|
export { SkyTokenHarnessFilters } from './tokens/token-harness-filters';
|
|
14
16
|
export { SkyTokensHarness } from './tokens/tokens-harness';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
+
import type { SkyIndicatorDescriptionType, SkyIndicatorIconType } from '@skyux/indicators';
|
|
4
|
+
import { SkyStatusIndicatorHarnessFilters } from './status-indicator-harness-filters';
|
|
5
|
+
/**
|
|
6
|
+
* Harness for interacting with a status indicator component in tests.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SkyStatusIndicatorHarness extends SkyComponentHarness {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
static hostSelector: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
16
|
+
* `SkyStatusIndicatorHarness` that meets certain criteria.
|
|
17
|
+
*/
|
|
18
|
+
static with(filters: SkyStatusIndicatorHarnessFilters): HarnessPredicate<SkyStatusIndicatorHarness>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the current status indicator type.
|
|
21
|
+
*/
|
|
22
|
+
getIndicatorType(): Promise<SkyIndicatorIconType | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the current status indicator text.
|
|
25
|
+
*/
|
|
26
|
+
getText(): Promise<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Gets the `descriptionType` of the status indicator component.
|
|
29
|
+
*/
|
|
30
|
+
getDescriptionType(): Promise<SkyIndicatorDescriptionType>;
|
|
31
|
+
/**
|
|
32
|
+
* Gets the custom text used for the screen reader description of the status indicator component icon.
|
|
33
|
+
*/
|
|
34
|
+
getCustomDescription(): Promise<string>;
|
|
35
|
+
}
|