@skyux/indicators 12.0.0-alpha.8 → 12.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.
- package/fesm2022/skyux-indicators-testing.mjs +24 -1
- package/fesm2022/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2022/skyux-indicators.mjs +140 -148
- package/fesm2022/skyux-indicators.mjs.map +1 -1
- package/lib/modules/alert/alert.component.d.ts +1 -3
- package/lib/modules/label/label.component.d.ts +1 -4
- package/lib/modules/label/label.module.d.ts +2 -1
- package/lib/modules/shared/indicator-icon-utility.d.ts +1 -2
- package/lib/modules/status-indicator/status-indicator.component.d.ts +1 -4
- package/lib/modules/status-indicator/status-indicator.module.d.ts +2 -1
- package/lib/modules/text-highlight/text-highlight.directive.d.ts +1 -0
- package/lib/modules/wait/wait-adapter.service.d.ts +0 -1
- package/package.json +20 -23
- package/testing/modules/text-highlight/text-highlight-harness-filters.d.ts +6 -0
- package/testing/modules/text-highlight/text-highlight-harness.d.ts +21 -0
- package/testing/public-api.d.ts +2 -0
- package/documentation.json +0 -16493
- package/lib/modules/shared/indicator-icon.d.ts +0 -9
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AfterViewChecked, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { SkyIconStackItem } from '@skyux/icon';
|
|
3
2
|
import { SkyIndicatorDescriptionType } from '../shared/indicator-description-type';
|
|
4
3
|
import { SkyIndicatorIconType } from '../shared/indicator-icon-type';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -38,8 +37,7 @@ export declare class SkyAlertComponent implements AfterViewChecked, OnInit, OnDe
|
|
|
38
37
|
* Fires when users close the alert.
|
|
39
38
|
*/
|
|
40
39
|
closedChange: EventEmitter<boolean>;
|
|
41
|
-
|
|
42
|
-
alertTopIcon: SkyIconStackItem | undefined;
|
|
40
|
+
iconName: string | undefined;
|
|
43
41
|
alertTypeOrDefault: SkyIndicatorIconType;
|
|
44
42
|
descriptionComputed: string | undefined;
|
|
45
43
|
ngOnInit(): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AfterViewChecked, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { SkyIconStackItem } from '@skyux/icon';
|
|
3
2
|
import { SkyIndicatorDescriptionType } from '../shared/indicator-description-type';
|
|
4
3
|
import { SkyLabelType } from './label-type';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -22,11 +21,9 @@ export declare class SkyLabelComponent implements AfterViewChecked, OnDestroy, O
|
|
|
22
21
|
*/
|
|
23
22
|
set customDescription(value: string | undefined);
|
|
24
23
|
get customDescription(): string | undefined;
|
|
25
|
-
baseIcon: SkyIconStackItem | undefined;
|
|
26
24
|
descriptionComputed: string | undefined;
|
|
27
|
-
|
|
25
|
+
iconName: string | undefined;
|
|
28
26
|
labelTypeOrDefault: SkyLabelType;
|
|
29
|
-
topIcon: SkyIconStackItem | undefined;
|
|
30
27
|
ngOnInit(): void;
|
|
31
28
|
ngAfterViewChecked(): void;
|
|
32
29
|
ngOnDestroy(): void;
|
|
@@ -3,8 +3,9 @@ import * as i1 from "./label.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@skyux/icon";
|
|
5
5
|
import * as i4 from "../shared/sky-indicators-resources.module";
|
|
6
|
+
import * as i5 from "@skyux/theme";
|
|
6
7
|
export declare class SkyLabelModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLabelModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyLabelModule, [typeof i1.SkyLabelComponent], [typeof i2.CommonModule, typeof i3.SkyIconModule, typeof i4.SkyIndicatorsResourcesModule], [typeof i1.SkyLabelComponent]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyLabelModule, [typeof i1.SkyLabelComponent], [typeof i2.CommonModule, typeof i3.SkyIconModule, typeof i4.SkyIndicatorsResourcesModule, typeof i5.SkyThemeModule], [typeof i1.SkyLabelComponent]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyLabelModule>;
|
|
10
11
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { SkyIndicatorIcon } from './indicator-icon';
|
|
2
1
|
import { SkyIndicatorIconType } from './indicator-icon-type';
|
|
3
2
|
/**
|
|
4
3
|
* @internal
|
|
5
4
|
*/
|
|
6
5
|
export declare class SkyIndicatorIconUtility {
|
|
7
|
-
static
|
|
6
|
+
static getIconNameForType(indicatorType: SkyIndicatorIconType): string;
|
|
8
7
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { SkyIconStackItem } from '@skyux/icon';
|
|
3
2
|
import { SkyIndicatorDescriptionType } from '../shared/indicator-description-type';
|
|
4
3
|
import { SkyIndicatorIconType } from '../shared/indicator-icon-type';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -46,10 +45,8 @@ export declare class SkyStatusIndicatorComponent implements OnInit {
|
|
|
46
45
|
*/
|
|
47
46
|
helpKey: string | undefined;
|
|
48
47
|
descriptionComputed: string | undefined;
|
|
49
|
-
|
|
50
|
-
icon: string | undefined;
|
|
48
|
+
iconName: string | undefined;
|
|
51
49
|
indicatorTypeOrDefault: SkyIndicatorIconType;
|
|
52
|
-
topIcon: SkyIconStackItem | undefined;
|
|
53
50
|
ngOnInit(): void;
|
|
54
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyStatusIndicatorComponent, never>;
|
|
55
52
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyStatusIndicatorComponent, "sky-status-indicator", never, { "indicatorType": { "alias": "indicatorType"; "required": false; }; "descriptionType": { "alias": "descriptionType"; "required": false; }; "customDescription": { "alias": "customDescription"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, {}, never, ["*", ".sky-control-help"], false, never>;
|
|
@@ -5,8 +5,9 @@ import * as i3 from "@skyux/help-inline";
|
|
|
5
5
|
import * as i4 from "@skyux/icon";
|
|
6
6
|
import * as i5 from "@skyux/core";
|
|
7
7
|
import * as i6 from "../shared/sky-indicators-resources.module";
|
|
8
|
+
import * as i7 from "@skyux/theme";
|
|
8
9
|
export declare class SkyStatusIndicatorModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyStatusIndicatorModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyStatusIndicatorModule, [typeof i1.SkyStatusIndicatorComponent], [typeof i2.CommonModule, typeof i3.SkyHelpInlineModule, typeof i4.SkyIconModule, typeof i5.SkyIdModule, typeof i6.SkyIndicatorsResourcesModule, typeof i5.SkyTrimModule], [typeof i1.SkyStatusIndicatorComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyStatusIndicatorModule, [typeof i1.SkyStatusIndicatorComponent], [typeof i2.CommonModule, typeof i3.SkyHelpInlineModule, typeof i4.SkyIconModule, typeof i5.SkyIdModule, typeof i6.SkyIndicatorsResourcesModule, typeof i7.SkyThemeModule, typeof i5.SkyTrimModule], [typeof i1.SkyStatusIndicatorComponent]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyStatusIndicatorModule>;
|
|
12
13
|
}
|
|
@@ -9,6 +9,7 @@ export declare class SkyTextHighlightDirective implements OnChanges, AfterViewIn
|
|
|
9
9
|
* The text to highlight.
|
|
10
10
|
*/
|
|
11
11
|
set skyHighlight(value: string | string[] | undefined);
|
|
12
|
+
readonly highlight = true;
|
|
12
13
|
ngOnChanges(changes: SimpleChanges): void;
|
|
13
14
|
ngAfterViewInit(): void;
|
|
14
15
|
ngOnDestroy(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/indicators",
|
|
3
|
-
"version": "12.0.0-
|
|
3
|
+
"version": "12.0.0-beta.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -15,6 +15,24 @@
|
|
|
15
15
|
"url": "https://github.com/blackbaud/skyux/issues"
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/blackbaud/skyux#readme",
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"@angular/animations": "^19.2.1",
|
|
20
|
+
"@angular/cdk": "^19.2.2",
|
|
21
|
+
"@angular/common": "^19.2.1",
|
|
22
|
+
"@angular/core": "^19.2.1",
|
|
23
|
+
"@angular/platform-browser": "^19.2.1",
|
|
24
|
+
"@skyux-sdk/testing": "12.0.0-beta.0",
|
|
25
|
+
"@skyux/core": "12.0.0-beta.0",
|
|
26
|
+
"@skyux/help-inline": "12.0.0-beta.0",
|
|
27
|
+
"@skyux/i18n": "12.0.0-beta.0",
|
|
28
|
+
"@skyux/icon": "12.0.0-beta.0",
|
|
29
|
+
"@skyux/theme": "12.0.0-beta.0"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"tslib": "^2.8.1"
|
|
33
|
+
},
|
|
34
|
+
"module": "fesm2022/skyux-indicators.mjs",
|
|
35
|
+
"typings": "index.d.ts",
|
|
18
36
|
"exports": {
|
|
19
37
|
"./package.json": {
|
|
20
38
|
"default": "./package.json"
|
|
@@ -26,28 +44,7 @@
|
|
|
26
44
|
"./testing": {
|
|
27
45
|
"types": "./testing/index.d.ts",
|
|
28
46
|
"default": "./fesm2022/skyux-indicators-testing.mjs"
|
|
29
|
-
},
|
|
30
|
-
"./documentation.json": {
|
|
31
|
-
"default": "./documentation.json"
|
|
32
47
|
}
|
|
33
48
|
},
|
|
34
|
-
"peerDependencies": {
|
|
35
|
-
"@angular/animations": "^19.0.5",
|
|
36
|
-
"@angular/cdk": "^19.0.4",
|
|
37
|
-
"@angular/common": "^19.0.5",
|
|
38
|
-
"@angular/core": "^19.0.5",
|
|
39
|
-
"@angular/platform-browser": "^19.0.5",
|
|
40
|
-
"@skyux-sdk/testing": "12.0.0-alpha.8",
|
|
41
|
-
"@skyux/core": "12.0.0-alpha.8",
|
|
42
|
-
"@skyux/help-inline": "12.0.0-alpha.8",
|
|
43
|
-
"@skyux/i18n": "12.0.0-alpha.8",
|
|
44
|
-
"@skyux/icon": "12.0.0-alpha.8",
|
|
45
|
-
"@skyux/theme": "12.0.0-alpha.8"
|
|
46
|
-
},
|
|
47
|
-
"dependencies": {
|
|
48
|
-
"tslib": "^2.8.1"
|
|
49
|
-
},
|
|
50
|
-
"module": "fesm2022/skyux-indicators.mjs",
|
|
51
|
-
"typings": "index.d.ts",
|
|
52
49
|
"sideEffects": false
|
|
53
|
-
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HarnessPredicate, TestElement } from '@angular/cdk/testing';
|
|
2
|
+
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
+
import { SkyTextHighlightHarnessFilters } from './text-highlight-harness-filters';
|
|
4
|
+
/**
|
|
5
|
+
* Harness to interact with a text highlight directive in tests.
|
|
6
|
+
*/
|
|
7
|
+
export declare class SkyTextHighlightHarness extends SkyComponentHarness {
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
static hostSelector: string;
|
|
12
|
+
/**
|
|
13
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
14
|
+
* `SkyTextHighlightHarness` that meets certain criteria.
|
|
15
|
+
*/
|
|
16
|
+
static with(filters: SkyTextHighlightHarnessFilters): HarnessPredicate<SkyTextHighlightHarness>;
|
|
17
|
+
/**
|
|
18
|
+
* Gets an array of all instances of highlighted text.
|
|
19
|
+
*/
|
|
20
|
+
getHighlights(): Promise<TestElement[]>;
|
|
21
|
+
}
|
package/testing/public-api.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export { SkyLabelHarness } from './modules/label/label-harness';
|
|
|
11
11
|
export { SkyLabelHarnessFilters } from './modules/label/label-harness-filters';
|
|
12
12
|
export { SkyStatusIndicatorHarness } from './modules/status-indicator/status-indicator-harness';
|
|
13
13
|
export { SkyStatusIndicatorHarnessFilters } from './modules/status-indicator/status-indicator-harness-filters';
|
|
14
|
+
export { SkyTextHighlightHarness } from './modules/text-highlight/text-highlight-harness';
|
|
15
|
+
export { SkyTextHighlightHarnessFilters } from './modules/text-highlight/text-highlight-harness-filters';
|
|
14
16
|
export { SkyTokenHarness } from './modules/tokens/token-harness';
|
|
15
17
|
export { SkyTokenHarnessFilters } from './modules/tokens/token-harness-filters';
|
|
16
18
|
export { SkyTokensHarness } from './modules/tokens/tokens-harness';
|