@skyux/indicators 8.0.0-alpha.0 → 8.0.0-alpha.10
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 +2666 -1988
- package/esm2020/lib/modules/alert/alert.component.mjs +14 -14
- package/esm2020/lib/modules/alert/alert.module.mjs +4 -4
- package/esm2020/lib/modules/chevron/chevron.component.mjs +5 -5
- package/esm2020/lib/modules/chevron/chevron.module.mjs +4 -4
- package/esm2020/lib/modules/expansion-indicator/expansion-indicator.component.mjs +5 -5
- package/esm2020/lib/modules/expansion-indicator/expansion-indicator.module.mjs +4 -4
- package/esm2020/lib/modules/help-inline/help-inline.component.mjs +3 -3
- package/esm2020/lib/modules/help-inline/help-inline.module.mjs +4 -4
- package/esm2020/lib/modules/icon/icon-class-list.pipe.mjs +10 -11
- package/esm2020/lib/modules/icon/icon-resolver.service.mjs +4 -4
- package/esm2020/lib/modules/icon/icon-stack.component.mjs +4 -4
- package/esm2020/lib/modules/icon/icon.component.mjs +4 -4
- package/esm2020/lib/modules/icon/icon.module.mjs +6 -7
- package/esm2020/lib/modules/key-info/key-info-label.component.mjs +3 -3
- package/esm2020/lib/modules/key-info/key-info-value.component.mjs +3 -3
- package/esm2020/lib/modules/key-info/key-info.component.mjs +3 -3
- package/esm2020/lib/modules/key-info/key-info.module.mjs +4 -4
- package/esm2020/lib/modules/label/label.component.mjs +15 -17
- package/esm2020/lib/modules/label/label.module.mjs +4 -4
- package/esm2020/lib/modules/shared/sky-indicators-resources.module.mjs +4 -4
- package/esm2020/lib/modules/status-indicator/status-indicator.component.mjs +14 -16
- package/esm2020/lib/modules/status-indicator/status-indicator.module.mjs +4 -4
- package/esm2020/lib/modules/text-highlight/text-highlight.directive.mjs +10 -12
- package/esm2020/lib/modules/text-highlight/text-highlight.module.mjs +4 -4
- package/esm2020/lib/modules/tokens/token.component.mjs +9 -10
- package/esm2020/lib/modules/tokens/tokens.component.mjs +55 -56
- package/esm2020/lib/modules/tokens/tokens.module.mjs +4 -4
- package/esm2020/lib/modules/wait/wait-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/wait/wait-page.component.mjs +3 -3
- package/esm2020/lib/modules/wait/wait.component.mjs +16 -23
- package/esm2020/lib/modules/wait/wait.module.mjs +4 -4
- package/esm2020/lib/modules/wait/wait.service.mjs +16 -44
- package/esm2020/testing/alert-fixture.mjs +6 -6
- package/esm2020/testing/help-inline/help-inline-harness-filters.mjs +2 -0
- package/esm2020/testing/help-inline/help-inline-harness.mjs +31 -0
- package/esm2020/testing/icon/icon-harness-filters.mjs +2 -0
- package/esm2020/testing/icon/icon-harness.mjs +104 -0
- package/esm2020/testing/label-fixture.mjs +6 -6
- package/esm2020/testing/public-api.mjs +5 -1
- package/esm2020/testing/wait-fixture.mjs +6 -6
- package/fesm2015/skyux-indicators-testing.mjs +163 -16
- package/fesm2015/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2015/skyux-indicators.mjs +208 -278
- package/fesm2015/skyux-indicators.mjs.map +1 -1
- package/fesm2020/skyux-indicators-testing.mjs +147 -16
- package/fesm2020/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2020/skyux-indicators.mjs +208 -274
- package/fesm2020/skyux-indicators.mjs.map +1 -1
- package/lib/modules/alert/alert.component.d.ts +0 -2
- package/lib/modules/icon/icon-class-list.pipe.d.ts +0 -2
- package/lib/modules/icon/icon-resolver.service.d.ts +1 -1
- package/lib/modules/icon/icon-stack.component.d.ts +1 -1
- package/lib/modules/icon/icon.component.d.ts +4 -2
- package/lib/modules/icon/icon.module.d.ts +1 -2
- package/lib/modules/icon/types/icon-type.d.ts +1 -1
- package/lib/modules/icon/types/icon-variant-type.d.ts +1 -1
- package/lib/modules/key-info/key-info-layout-type.d.ts +1 -1
- package/lib/modules/label/label-type.d.ts +1 -1
- package/lib/modules/label/label.component.d.ts +1 -3
- package/lib/modules/shared/indicator-description-type.d.ts +1 -1
- package/lib/modules/shared/indicator-icon-type.d.ts +1 -1
- package/lib/modules/status-indicator/status-indicator.component.d.ts +1 -3
- package/lib/modules/text-highlight/text-highlight.directive.d.ts +1 -3
- package/lib/modules/tokens/token.component.d.ts +0 -1
- package/lib/modules/tokens/tokens.component.d.ts +2 -2
- package/lib/modules/wait/wait.component.d.ts +2 -5
- package/lib/modules/wait/wait.service.d.ts +1 -5
- package/package.json +11 -11
- package/testing/help-inline/help-inline-harness-filters.d.ts +6 -0
- package/testing/help-inline/help-inline-harness.d.ts +22 -0
- package/testing/icon/icon-harness-filters.d.ts +6 -0
- package/testing/icon/icon-harness.d.ts +38 -0
- package/testing/public-api.d.ts +4 -0
- package/esm2020/lib/modules/wait/wait-page-adapter.service.mjs +0 -26
- package/lib/modules/wait/wait-page-adapter.service.d.ts +0 -10
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { SkyLibResourcesService } from '@skyux/i18n';
|
|
3
2
|
import { SkyIconStackItem } from '../icon/icon-stack-item';
|
|
4
3
|
import { SkyIndicatorDescriptionType } from '../shared/indicator-description-type';
|
|
5
4
|
import { SkyIndicatorIconType } from '../shared/indicator-icon-type';
|
|
@@ -40,7 +39,6 @@ export declare class SkyAlertComponent implements OnInit, OnDestroy {
|
|
|
40
39
|
alertTopIcon: SkyIconStackItem | undefined;
|
|
41
40
|
alertTypeOrDefault: SkyIndicatorIconType;
|
|
42
41
|
descriptionComputed: string | undefined;
|
|
43
|
-
constructor(resources: SkyLibResourcesService);
|
|
44
42
|
ngOnInit(): void;
|
|
45
43
|
ngOnDestroy(): void;
|
|
46
44
|
close(): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { SkyIconResolverService } from './icon-resolver.service';
|
|
3
2
|
import { SkyIconVariantType } from './types/icon-variant-type';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
@@ -7,7 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
7
6
|
*/
|
|
8
7
|
export declare class SkyIconClassListPipe implements PipeTransform {
|
|
9
8
|
#private;
|
|
10
|
-
constructor(resolver: SkyIconResolverService);
|
|
11
9
|
transform(icon: string, iconType?: string, size?: string, fixedWidth?: boolean, variant?: SkyIconVariantType): string[];
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyIconClassListPipe, never>;
|
|
13
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<SkyIconClassListPipe, "skyIconClassList", false>;
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class SkyIconStackComponent {
|
|
7
7
|
/**
|
|
8
8
|
* The size of the icon using
|
|
9
|
-
* [Font Awesome sizes](https://fontawesome.com/
|
|
9
|
+
* [Font Awesome sizes](https://fontawesome.com/v4/examples/).
|
|
10
10
|
*/
|
|
11
11
|
size: string | undefined;
|
|
12
12
|
/**
|
|
@@ -18,11 +18,13 @@ export declare class SkyIconComponent {
|
|
|
18
18
|
iconType: SkyIconType | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* The size of the icon using
|
|
21
|
-
* [Font Awesome sizes](https://fontawesome.com/
|
|
21
|
+
* [Font Awesome sizes](https://fontawesome.com/v4/examples/). Do not prefix the size with `fa-`.
|
|
22
22
|
*/
|
|
23
23
|
size: string | undefined;
|
|
24
24
|
/**
|
|
25
|
-
* Whether
|
|
25
|
+
* Whether to enforce a fixed width based on icon size. By default, icons of a specified size share a
|
|
26
|
+
* consistent height, but their widths vary and can throw off vertical alignment. Use a fixed width when
|
|
27
|
+
* you stack icons vertically, such as in lists.
|
|
26
28
|
* @default false
|
|
27
29
|
*/
|
|
28
30
|
fixedWidth: boolean | undefined;
|
|
@@ -3,9 +3,8 @@ import * as i1 from "./icon-class-list.pipe";
|
|
|
3
3
|
import * as i2 from "./icon.component";
|
|
4
4
|
import * as i3 from "./icon-stack.component";
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "@skyux/theme";
|
|
7
6
|
export declare class SkyIconModule {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyIconModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyIconModule, [typeof i1.SkyIconClassListPipe, typeof i2.SkyIconComponent, typeof i3.SkyIconStackComponent], [typeof i4.CommonModule
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyIconModule, [typeof i1.SkyIconClassListPipe, typeof i2.SkyIconComponent, typeof i3.SkyIconStackComponent], [typeof i4.CommonModule], [typeof i2.SkyIconComponent, typeof i3.SkyIconStackComponent]>;
|
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyIconModule>;
|
|
11
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyIconType = 'fa' | 'skyux';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyIconVariantType = 'line' | 'solid';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyKeyInfoLayoutType = 'horizontal' | 'vertical';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyLabelType = 'danger' | 'info' | 'success' | 'warning';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SkyLibResourcesService } from '@skyux/i18n';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { SkyIconStackItem } from '../icon/icon-stack-item';
|
|
4
3
|
import { SkyIndicatorDescriptionType } from '../shared/indicator-description-type';
|
|
5
4
|
import { SkyLabelType } from './label-type';
|
|
@@ -26,7 +25,6 @@ export declare class SkyLabelComponent implements OnDestroy, OnInit {
|
|
|
26
25
|
icon: string | undefined;
|
|
27
26
|
labelTypeOrDefault: SkyLabelType;
|
|
28
27
|
topIcon: SkyIconStackItem | undefined;
|
|
29
|
-
constructor(changeDetector: ChangeDetectorRef, resources: SkyLibResourcesService);
|
|
30
28
|
ngOnInit(): void;
|
|
31
29
|
ngOnDestroy(): void;
|
|
32
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLabelComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyIndicatorDescriptionType = 'attention' | 'caution' | 'completed' | 'custom' | 'danger' | 'error' | 'important-info' | 'important-warning' | 'none' | 'success' | 'warning';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyIndicatorIconType = 'danger' | 'info' | 'success' | 'warning';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SkyLibResourcesService } from '@skyux/i18n';
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
3
2
|
import { SkyIconStackItem } from '../icon/icon-stack-item';
|
|
4
3
|
import { SkyIndicatorDescriptionType } from '../shared/indicator-description-type';
|
|
5
4
|
import { SkyIndicatorIconType } from '../shared/indicator-icon-type';
|
|
@@ -35,7 +34,6 @@ export declare class SkyStatusIndicatorComponent implements OnInit {
|
|
|
35
34
|
icon: string | undefined;
|
|
36
35
|
indicatorTypeOrDefault: SkyIndicatorIconType;
|
|
37
36
|
topIcon: SkyIconStackItem | undefined;
|
|
38
|
-
constructor(changeDetector: ChangeDetectorRef, resources: SkyLibResourcesService);
|
|
39
37
|
ngOnInit(): void;
|
|
40
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyStatusIndicatorComponent, never>;
|
|
41
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyStatusIndicatorComponent, "sky-status-indicator", never, { "indicatorType": "indicatorType"; "descriptionType": "descriptionType"; "customDescription": "customDescription"; }, {}, never, ["*", ".sky-control-help"], false, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
2
|
-
import { SkyMutationObserverService } from '@skyux/core';
|
|
1
|
+
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* Highlights all matching text within the current DOM element.
|
|
@@ -10,7 +9,6 @@ export declare class SkyTextHighlightDirective implements OnChanges, AfterViewIn
|
|
|
10
9
|
* The text to highlight.
|
|
11
10
|
*/
|
|
12
11
|
set skyHighlight(value: string | string[] | undefined);
|
|
13
|
-
constructor(el: ElementRef, observerSvc: SkyMutationObserverService);
|
|
14
12
|
ngOnChanges(changes: SimpleChanges): void;
|
|
15
13
|
ngAfterViewInit(): void;
|
|
16
14
|
ngOnDestroy(): void;
|
|
@@ -47,7 +47,6 @@ export declare class SkyTokenComponent {
|
|
|
47
47
|
tokenActive: boolean;
|
|
48
48
|
closeActive: boolean;
|
|
49
49
|
tabIndex: number;
|
|
50
|
-
constructor(elementRef: ElementRef);
|
|
51
50
|
protected onFocusIn(): void;
|
|
52
51
|
protected onFocusOut(event: FocusEvent): void;
|
|
53
52
|
dismissToken(event: Event): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnDestroy, QueryList, TrackByFunction } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { SkyTokenComponent } from './token.component';
|
|
4
4
|
import { SkyToken } from './types/token';
|
|
@@ -84,7 +84,7 @@ export declare class SkyTokensComponent implements OnDestroy {
|
|
|
84
84
|
set activeIndex(value: number);
|
|
85
85
|
trackTokenFn: TrackByFunction<SkyToken>;
|
|
86
86
|
tokenComponents: QueryList<SkyTokenComponent> | undefined;
|
|
87
|
-
constructor(
|
|
87
|
+
constructor();
|
|
88
88
|
ngOnDestroy(): void;
|
|
89
89
|
onTokenClick(token: SkyToken): void;
|
|
90
90
|
animationDone(): void;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SkyLibResourcesService } from '@skyux/i18n';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { SkyWaitAdapterService } from './wait-adapter.service';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class SkyWaitComponent implements OnInit, OnDestroy {
|
|
7
5
|
#private;
|
|
@@ -37,9 +35,8 @@ export declare class SkyWaitComponent implements OnInit, OnDestroy {
|
|
|
37
35
|
set isNonBlocking(value: boolean | undefined);
|
|
38
36
|
get isNonBlocking(): boolean | undefined;
|
|
39
37
|
ariaLabelStream: BehaviorSubject<string>;
|
|
40
|
-
constructor(elRef: ElementRef, adapterService: SkyWaitAdapterService, resourceSvc: SkyLibResourcesService);
|
|
41
38
|
ngOnInit(): void;
|
|
42
39
|
ngOnDestroy(): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyWaitComponent,
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyWaitComponent, never>;
|
|
44
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyWaitComponent, "sky-wait", never, { "ariaLabel": "ariaLabel"; "isWaiting": "isWaiting"; "isFullPage": "isFullPage"; "isNonBlocking": "isNonBlocking"; }, {}, never, never, false, never>;
|
|
45
42
|
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver } from '@angular/core';
|
|
2
|
-
import { SkyAppWindowRef, SkyDynamicComponentService } from '@skyux/core';
|
|
3
1
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { SkyWaitPageAdapterService } from './wait-page-adapter.service';
|
|
5
2
|
import * as i0 from "@angular/core";
|
|
6
3
|
export declare class SkyWaitService {
|
|
7
4
|
#private;
|
|
8
|
-
constructor(resolver: ComponentFactoryResolver, appRef: ApplicationRef, waitAdapter: SkyWaitPageAdapterService, windowSvc: SkyAppWindowRef, dynamicComponentService: SkyDynamicComponentService);
|
|
9
5
|
/**
|
|
10
6
|
* Starts a blocking page wait on the page.
|
|
11
7
|
*/
|
|
@@ -41,6 +37,6 @@ export declare class SkyWaitService {
|
|
|
41
37
|
* asynchronous event completes.
|
|
42
38
|
*/
|
|
43
39
|
nonBlockingWrap<T>(observable: Observable<T>): Observable<T>;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyWaitService,
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyWaitService, never>;
|
|
45
41
|
static ɵprov: i0.ɵɵInjectableDeclaration<SkyWaitService>;
|
|
46
42
|
}
|
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.10",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@angular/animations": "^15.1
|
|
44
|
-
"@angular/cdk": "^15.1
|
|
45
|
-
"@angular/common": "^15.1
|
|
46
|
-
"@angular/core": "^15.1
|
|
47
|
-
"@angular/platform-browser": "^15.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.
|
|
43
|
+
"@angular/animations": "^15.2.1",
|
|
44
|
+
"@angular/cdk": "^15.2.1",
|
|
45
|
+
"@angular/common": "^15.2.1",
|
|
46
|
+
"@angular/core": "^15.2.1",
|
|
47
|
+
"@angular/platform-browser": "^15.2.1",
|
|
48
|
+
"@skyux-sdk/testing": "8.0.0-alpha.10",
|
|
49
|
+
"@skyux/core": "8.0.0-alpha.10",
|
|
50
|
+
"@skyux/i18n": "8.0.0-alpha.10",
|
|
51
|
+
"@skyux/theme": "8.0.0-alpha.10"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"tslib": "^2.
|
|
54
|
+
"tslib": "^2.5.0"
|
|
55
55
|
},
|
|
56
56
|
"module": "fesm2015/skyux-indicators.mjs",
|
|
57
57
|
"es2020": "fesm2020/skyux-indicators.mjs",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
+
import { SkyHelpInlineHarnessFilters } from './help-inline-harness-filters';
|
|
4
|
+
/**
|
|
5
|
+
* Harness for interacting with a help inline component in tests.
|
|
6
|
+
*/
|
|
7
|
+
export declare class SkyHelpInlineHarness 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
|
+
* `SkyInlineHelpHarness` that meets certain criteria
|
|
16
|
+
*/
|
|
17
|
+
static with(filters: SkyHelpInlineHarnessFilters): HarnessPredicate<SkyHelpInlineHarness>;
|
|
18
|
+
/**
|
|
19
|
+
* Clicks the help inline icon button
|
|
20
|
+
*/
|
|
21
|
+
click(): Promise<void>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
+
import { SkyIconHarnessFilters } from './icon-harness-filters';
|
|
4
|
+
/**
|
|
5
|
+
* Harness for interacting with an icon component in tests.
|
|
6
|
+
*/
|
|
7
|
+
export declare class SkyIconHarness 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
|
+
* `SkyIconHarness` that meets certain criteria.
|
|
16
|
+
*/
|
|
17
|
+
static with(filters: SkyIconHarnessFilters): HarnessPredicate<SkyIconHarness>;
|
|
18
|
+
/**
|
|
19
|
+
* Gets the icon name.
|
|
20
|
+
*/
|
|
21
|
+
getIconName(): Promise<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Gets the icon size.
|
|
24
|
+
*/
|
|
25
|
+
getIconSize(): Promise<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the icon type.
|
|
28
|
+
*/
|
|
29
|
+
getIconType(): Promise<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Gets if the icon is a variant.
|
|
32
|
+
*/
|
|
33
|
+
getVariant(): Promise<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the icon has fixed width.
|
|
36
|
+
*/
|
|
37
|
+
isFixedWidth(): Promise<boolean>;
|
|
38
|
+
}
|
package/testing/public-api.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export * from './alert/alert-harness';
|
|
2
2
|
export * from './alert/alert-harness-filters';
|
|
3
|
+
export * from './help-inline/help-inline-harness';
|
|
4
|
+
export * from './help-inline/help-inline-harness-filters';
|
|
5
|
+
export * from './icon/icon-harness';
|
|
6
|
+
export * from './icon/icon-harness-filters';
|
|
3
7
|
export * from './key-info/key-info-harness';
|
|
4
8
|
export * from './key-info/key-info-harness-filters';
|
|
5
9
|
export * from './label/label-harness';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
// TODO: Remove when dynamic component service is no longer optional in a future breaking change.
|
|
7
|
-
export class SkyWaitPageAdapterService {
|
|
8
|
-
addPageWaitEl() {
|
|
9
|
-
document.body.appendChild(document.createElement('sky-wait-page'));
|
|
10
|
-
}
|
|
11
|
-
removePageWaitEl() {
|
|
12
|
-
const waitEl = document.querySelector('sky-wait-page');
|
|
13
|
-
if (waitEl) {
|
|
14
|
-
document.body.removeChild(waitEl);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
SkyWaitPageAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyWaitPageAdapterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19
|
-
SkyWaitPageAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyWaitPageAdapterService, providedIn: 'root' });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyWaitPageAdapterService, decorators: [{
|
|
21
|
-
type: Injectable,
|
|
22
|
-
args: [{
|
|
23
|
-
providedIn: 'root',
|
|
24
|
-
}]
|
|
25
|
-
}] });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FpdC1wYWdlLWFkYXB0ZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9pbmRpY2F0b3JzL3NyYy9saWIvbW9kdWxlcy93YWl0L3dhaXQtcGFnZS1hZGFwdGVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFFM0M7O0dBRUc7QUFDSCxpR0FBaUc7QUFJakcsTUFBTSxPQUFPLHlCQUF5QjtJQUM3QixhQUFhO1FBQ2xCLFFBQVEsQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLFFBQVEsQ0FBQyxhQUFhLENBQUMsZUFBZSxDQUFDLENBQUMsQ0FBQztJQUNyRSxDQUFDO0lBRU0sZ0JBQWdCO1FBQ3JCLE1BQU0sTUFBTSxHQUFHLFFBQVEsQ0FBQyxhQUFhLENBQUMsZUFBZSxDQUFDLENBQUM7UUFDdkQsSUFBSSxNQUFNLEVBQUU7WUFDVixRQUFRLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxNQUFNLENBQUMsQ0FBQztTQUNuQztJQUNILENBQUM7O3NIQVZVLHlCQUF5QjswSEFBekIseUJBQXlCLGNBRnhCLE1BQU07MkZBRVAseUJBQXlCO2tCQUhyQyxVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuLyoqXG4gKiBAaW50ZXJuYWxcbiAqL1xuLy8gVE9ETzogUmVtb3ZlIHdoZW4gZHluYW1pYyBjb21wb25lbnQgc2VydmljZSBpcyBubyBsb25nZXIgb3B0aW9uYWwgaW4gYSBmdXR1cmUgYnJlYWtpbmcgY2hhbmdlLlxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIFNreVdhaXRQYWdlQWRhcHRlclNlcnZpY2Uge1xuICBwdWJsaWMgYWRkUGFnZVdhaXRFbCgpOiB2b2lkIHtcbiAgICBkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3NreS13YWl0LXBhZ2UnKSk7XG4gIH1cblxuICBwdWJsaWMgcmVtb3ZlUGFnZVdhaXRFbCgpOiB2b2lkIHtcbiAgICBjb25zdCB3YWl0RWwgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCdza3ktd2FpdC1wYWdlJyk7XG4gICAgaWYgKHdhaXRFbCkge1xuICAgICAgZG9jdW1lbnQuYm9keS5yZW1vdmVDaGlsZCh3YWl0RWwpO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
export declare class SkyWaitPageAdapterService {
|
|
6
|
-
addPageWaitEl(): void;
|
|
7
|
-
removePageWaitEl(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyWaitPageAdapterService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyWaitPageAdapterService>;
|
|
10
|
-
}
|