@skyux/indicators 8.0.0-alpha.6 → 8.0.0-alpha.8

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.
Files changed (62) hide show
  1. package/documentation.json +1468 -1453
  2. package/esm2020/lib/modules/alert/alert.component.mjs +14 -14
  3. package/esm2020/lib/modules/alert/alert.module.mjs +4 -4
  4. package/esm2020/lib/modules/chevron/chevron.component.mjs +3 -3
  5. package/esm2020/lib/modules/chevron/chevron.module.mjs +4 -4
  6. package/esm2020/lib/modules/expansion-indicator/expansion-indicator.component.mjs +3 -3
  7. package/esm2020/lib/modules/expansion-indicator/expansion-indicator.module.mjs +4 -4
  8. package/esm2020/lib/modules/help-inline/help-inline.component.mjs +3 -3
  9. package/esm2020/lib/modules/help-inline/help-inline.module.mjs +4 -4
  10. package/esm2020/lib/modules/icon/icon-class-list.pipe.mjs +10 -11
  11. package/esm2020/lib/modules/icon/icon-resolver.service.mjs +3 -3
  12. package/esm2020/lib/modules/icon/icon-stack.component.mjs +3 -3
  13. package/esm2020/lib/modules/icon/icon.component.mjs +3 -3
  14. package/esm2020/lib/modules/icon/icon.module.mjs +4 -4
  15. package/esm2020/lib/modules/key-info/key-info-label.component.mjs +3 -3
  16. package/esm2020/lib/modules/key-info/key-info-value.component.mjs +3 -3
  17. package/esm2020/lib/modules/key-info/key-info.component.mjs +3 -3
  18. package/esm2020/lib/modules/key-info/key-info.module.mjs +4 -4
  19. package/esm2020/lib/modules/label/label.component.mjs +15 -17
  20. package/esm2020/lib/modules/label/label.module.mjs +4 -4
  21. package/esm2020/lib/modules/shared/sky-indicators-resources.module.mjs +4 -4
  22. package/esm2020/lib/modules/status-indicator/status-indicator.component.mjs +14 -16
  23. package/esm2020/lib/modules/status-indicator/status-indicator.module.mjs +4 -4
  24. package/esm2020/lib/modules/text-highlight/text-highlight.directive.mjs +10 -12
  25. package/esm2020/lib/modules/text-highlight/text-highlight.module.mjs +4 -4
  26. package/esm2020/lib/modules/tokens/token.component.mjs +8 -9
  27. package/esm2020/lib/modules/tokens/tokens.component.mjs +55 -56
  28. package/esm2020/lib/modules/tokens/tokens.module.mjs +4 -4
  29. package/esm2020/lib/modules/wait/wait-adapter.service.mjs +3 -3
  30. package/esm2020/lib/modules/wait/wait-page.component.mjs +3 -3
  31. package/esm2020/lib/modules/wait/wait.component.mjs +16 -23
  32. package/esm2020/lib/modules/wait/wait.module.mjs +4 -4
  33. package/esm2020/lib/modules/wait/wait.service.mjs +16 -44
  34. package/esm2020/testing/alert-fixture.mjs +6 -6
  35. package/esm2020/testing/label-fixture.mjs +6 -6
  36. package/esm2020/testing/wait-fixture.mjs +6 -6
  37. package/fesm2015/skyux-indicators-testing.mjs +15 -15
  38. package/fesm2015/skyux-indicators-testing.mjs.map +1 -1
  39. package/fesm2015/skyux-indicators.mjs +203 -273
  40. package/fesm2015/skyux-indicators.mjs.map +1 -1
  41. package/fesm2020/skyux-indicators-testing.mjs +15 -15
  42. package/fesm2020/skyux-indicators-testing.mjs.map +1 -1
  43. package/fesm2020/skyux-indicators.mjs +203 -269
  44. package/fesm2020/skyux-indicators.mjs.map +1 -1
  45. package/lib/modules/alert/alert.component.d.ts +0 -2
  46. package/lib/modules/icon/icon-class-list.pipe.d.ts +0 -2
  47. package/lib/modules/icon/types/icon-type.d.ts +1 -1
  48. package/lib/modules/icon/types/icon-variant-type.d.ts +1 -1
  49. package/lib/modules/key-info/key-info-layout-type.d.ts +1 -1
  50. package/lib/modules/label/label-type.d.ts +1 -1
  51. package/lib/modules/label/label.component.d.ts +1 -3
  52. package/lib/modules/shared/indicator-description-type.d.ts +1 -1
  53. package/lib/modules/shared/indicator-icon-type.d.ts +1 -1
  54. package/lib/modules/status-indicator/status-indicator.component.d.ts +1 -3
  55. package/lib/modules/text-highlight/text-highlight.directive.d.ts +1 -3
  56. package/lib/modules/tokens/token.component.d.ts +0 -1
  57. package/lib/modules/tokens/tokens.component.d.ts +2 -2
  58. package/lib/modules/wait/wait.component.d.ts +2 -5
  59. package/lib/modules/wait/wait.service.d.ts +1 -5
  60. package/package.json +11 -11
  61. package/esm2020/lib/modules/wait/wait-page-adapter.service.mjs +0 -26
  62. 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>;
@@ -1 +1 @@
1
- export declare type SkyIconType = 'fa' | 'skyux';
1
+ export type SkyIconType = 'fa' | 'skyux';
@@ -1 +1 @@
1
- export declare type SkyIconVariantType = 'line' | 'solid';
1
+ export type SkyIconVariantType = 'line' | 'solid';
@@ -1 +1 @@
1
- export declare type SkyKeyInfoLayoutType = 'horizontal' | 'vertical';
1
+ export type SkyKeyInfoLayoutType = 'horizontal' | 'vertical';
@@ -1 +1 @@
1
- export declare type SkyLabelType = 'danger' | 'info' | 'success' | 'warning';
1
+ export type SkyLabelType = 'danger' | 'info' | 'success' | 'warning';
@@ -1,5 +1,4 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
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 declare type SkyIndicatorDescriptionType = 'attention' | 'caution' | 'completed' | 'custom' | 'danger' | 'error' | 'important-info' | 'important-warning' | 'none' | 'success' | 'warning';
1
+ export type SkyIndicatorDescriptionType = 'attention' | 'caution' | 'completed' | 'custom' | 'danger' | 'error' | 'important-info' | 'important-warning' | 'none' | 'success' | 'warning';
@@ -1 +1 @@
1
- export declare type SkyIndicatorIconType = 'danger' | 'info' | 'success' | 'warning';
1
+ export type SkyIndicatorIconType = 'danger' | 'info' | 'success' | 'warning';
@@ -1,5 +1,4 @@
1
- import { ChangeDetectorRef, OnInit } from '@angular/core';
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, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
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 { ChangeDetectorRef, EventEmitter, OnDestroy, QueryList, TrackByFunction } from '@angular/core';
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(changeDetector: ChangeDetectorRef);
87
+ constructor();
88
88
  ngOnDestroy(): void;
89
89
  onTokenClick(token: SkyToken): void;
90
90
  animationDone(): void;
@@ -1,7 +1,5 @@
1
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
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, [null, null, { optional: true; }]>;
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, [null, null, null, null, { optional: true; }]>;
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.6",
3
+ "version": "8.0.0-alpha.8",
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.4",
44
- "@angular/cdk": "^15.1.4",
45
- "@angular/common": "^15.1.4",
46
- "@angular/core": "^15.1.4",
47
- "@angular/platform-browser": "^15.1.4",
48
- "@skyux-sdk/testing": "8.0.0-alpha.6",
49
- "@skyux/core": "8.0.0-alpha.6",
50
- "@skyux/i18n": "8.0.0-alpha.6",
51
- "@skyux/theme": "8.0.0-alpha.6"
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.8",
49
+ "@skyux/core": "8.0.0-alpha.8",
50
+ "@skyux/i18n": "8.0.0-alpha.8",
51
+ "@skyux/theme": "8.0.0-alpha.8"
52
52
  },
53
53
  "dependencies": {
54
- "tslib": "^2.3.1"
54
+ "tslib": "^2.5.0"
55
55
  },
56
56
  "module": "fesm2015/skyux-indicators.mjs",
57
57
  "es2020": "fesm2020/skyux-indicators.mjs",
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FpdC1wYWdlLWFkYXB0ZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9pbmRpY2F0b3JzL3NyYy9saWIvbW9kdWxlcy93YWl0L3dhaXQtcGFnZS1hZGFwdGVyLnNlcnZpY2UudHMiXSwibmFtZX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mNyZWF0ZUVsZW1lbnQoJ3NreS13YWl0LXBhZ2UnKSk7XG4gIH1cblxuICBwdWJsaWMgcmVtb3ZlUGFnZVdhaXRFbCgpOiB2b2lkIHtcbiAgICBjb25zdCB3YWl0RWwgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCdza3ktd2FpdC1wYWdlJyk7XG4gICAgaWYgKHdhaXRFbCkge1xuICAgICAgZG9jdW1lbnQuYm9keS5yZW1vdmVDaGlsZCh3YWl0RWwpO1xuICAgIH1cbiAgfVxufVxuIl19
@@ -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
- }