@skyux/indicators 8.0.0-alpha.16 → 8.0.0-alpha.18
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 +1272 -885
- package/esm2020/lib/modules/alert/alert.component.mjs +25 -7
- package/esm2020/testing/chevron/chevron-harness.mjs +44 -0
- package/esm2020/testing/public-api.mjs +2 -1
- package/fesm2015/skyux-indicators-testing.mjs +49 -1
- package/fesm2015/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2015/skyux-indicators.mjs +24 -7
- package/fesm2015/skyux-indicators.mjs.map +1 -1
- package/fesm2020/skyux-indicators-testing.mjs +43 -1
- package/fesm2020/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2020/skyux-indicators.mjs +24 -7
- package/fesm2020/skyux-indicators.mjs.map +1 -1
- package/lib/modules/alert/alert.component.d.ts +5 -2
- package/package.json +5 -5
- package/testing/chevron/chevron-harness.d.ts +23 -0
- package/testing/public-api.d.ts +1 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewChecked, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { SkyIconStackItem } from '../icon/icon-stack-item';
|
|
3
3
|
import { SkyIndicatorDescriptionType } from '../shared/indicator-description-type';
|
|
4
4
|
import { SkyIndicatorIconType } from '../shared/indicator-icon-type';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SkyAlertComponent implements OnInit, OnDestroy {
|
|
6
|
+
export declare class SkyAlertComponent implements AfterViewChecked, OnInit, OnDestroy {
|
|
7
7
|
#private;
|
|
8
8
|
/**
|
|
9
9
|
* The style for the alert, which determines the icon and background color.
|
|
@@ -26,11 +26,13 @@ export declare class SkyAlertComponent implements OnInit, OnDestroy {
|
|
|
26
26
|
* This property is optional but will be required in future versions of SKY UX.
|
|
27
27
|
*/
|
|
28
28
|
set descriptionType(value: SkyIndicatorDescriptionType | undefined);
|
|
29
|
+
get descriptionType(): SkyIndicatorDescriptionType | undefined;
|
|
29
30
|
/**
|
|
30
31
|
* The text to be read by screen readers for users who cannot see
|
|
31
32
|
* the indicator icon when `descriptionType` is `custom`.
|
|
32
33
|
*/
|
|
33
34
|
set customDescription(value: string | undefined);
|
|
35
|
+
get customDescription(): string | undefined;
|
|
34
36
|
/**
|
|
35
37
|
* Fires when users close the alert.
|
|
36
38
|
*/
|
|
@@ -40,6 +42,7 @@ export declare class SkyAlertComponent implements OnInit, OnDestroy {
|
|
|
40
42
|
alertTypeOrDefault: SkyIndicatorIconType;
|
|
41
43
|
descriptionComputed: string | undefined;
|
|
42
44
|
ngOnInit(): void;
|
|
45
|
+
ngAfterViewChecked(): void;
|
|
43
46
|
ngOnDestroy(): void;
|
|
44
47
|
close(): void;
|
|
45
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAlertComponent, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/indicators",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.18",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@angular/common": "^15.2.1",
|
|
46
46
|
"@angular/core": "^15.2.1",
|
|
47
47
|
"@angular/platform-browser": "^15.2.1",
|
|
48
|
-
"@skyux-sdk/testing": "8.0.0-alpha.
|
|
49
|
-
"@skyux/core": "8.0.0-alpha.
|
|
50
|
-
"@skyux/i18n": "8.0.0-alpha.
|
|
51
|
-
"@skyux/theme": "8.0.0-alpha.
|
|
48
|
+
"@skyux-sdk/testing": "8.0.0-alpha.18",
|
|
49
|
+
"@skyux/core": "8.0.0-alpha.18",
|
|
50
|
+
"@skyux/i18n": "8.0.0-alpha.18",
|
|
51
|
+
"@skyux/theme": "8.0.0-alpha.18"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"tslib": "^2.5.0"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
2
|
+
/**
|
|
3
|
+
* Harness for interacting with a chevron component in tests.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SkyChevronHarness extends SkyComponentHarness {
|
|
6
|
+
#private;
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
static hostSelector: string;
|
|
11
|
+
/**
|
|
12
|
+
* Gets the chevron direction.
|
|
13
|
+
*/
|
|
14
|
+
getDirection(): Promise<string>;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the chevron is disabled.
|
|
17
|
+
*/
|
|
18
|
+
isDisabled(): Promise<boolean>;
|
|
19
|
+
/**
|
|
20
|
+
* Toggles the chevron.
|
|
21
|
+
*/
|
|
22
|
+
toggle(): Promise<void>;
|
|
23
|
+
}
|
package/testing/public-api.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './alert/alert-harness';
|
|
2
2
|
export * from './alert/alert-harness-filters';
|
|
3
|
+
export * from './chevron/chevron-harness';
|
|
3
4
|
export * from './help-inline/help-inline-harness';
|
|
4
5
|
export * from './help-inline/help-inline-harness-filters';
|
|
5
6
|
export * from './icon/icon-harness';
|