@skyux/indicators 6.15.0 → 6.16.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/documentation.json +609 -353
- package/esm2020/lib/modules/alert/alert.component.mjs +2 -2
- package/esm2020/lib/modules/key-info/key-info.component.mjs +3 -3
- package/esm2020/lib/modules/label/label.component.mjs +73 -13
- package/esm2020/lib/modules/label/label.module.mjs +19 -4
- package/esm2020/lib/modules/shared/indicator-description-type.mjs +1 -1
- package/esm2020/lib/modules/shared/sky-indicators-resources.module.mjs +17 -1
- package/esm2020/lib/modules/status-indicator/status-indicator.component.mjs +3 -3
- package/esm2020/testing/public-api.mjs +2 -1
- package/fesm2015/skyux-indicators.mjs +103 -16
- package/fesm2015/skyux-indicators.mjs.map +1 -1
- package/fesm2020/skyux-indicators.mjs +103 -16
- package/fesm2020/skyux-indicators.mjs.map +1 -1
- package/lib/modules/label/label.component.d.ts +18 -3
- package/lib/modules/label/label.module.d.ts +4 -2
- package/lib/modules/shared/indicator-description-type.d.ts +1 -1
- package/package.json +5 -5
- package/testing/public-api.d.ts +1 -0
|
@@ -1,19 +1,34 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { SkyLibResourcesService } from '@skyux/i18n';
|
|
2
3
|
import { SkyIconStackItem } from '../icon/icon-stack-item';
|
|
4
|
+
import { SkyIndicatorDescriptionType } from '../shared/indicator-description-type';
|
|
3
5
|
import { SkyLabelType } from './label-type';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SkyLabelComponent implements OnInit {
|
|
7
|
+
export declare class SkyLabelComponent implements OnDestroy, OnInit {
|
|
6
8
|
#private;
|
|
7
9
|
/**
|
|
8
10
|
* The type of label to display.
|
|
9
11
|
* @default 'info'
|
|
10
12
|
*/
|
|
11
13
|
set labelType(value: SkyLabelType | undefined);
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the predefined text to be read by screen readers for users who cannot see the indicator icon.
|
|
16
|
+
* This property is optional but will be required in future versions of SKY UX.
|
|
17
|
+
*/
|
|
18
|
+
set descriptionType(value: SkyIndicatorDescriptionType | undefined);
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the text to be read by screen readers for users who cannot see
|
|
21
|
+
* the indicator icon when `descriptionType` is `custom`.
|
|
22
|
+
*/
|
|
23
|
+
set customDescription(value: string | undefined);
|
|
12
24
|
baseIcon: SkyIconStackItem | undefined;
|
|
25
|
+
descriptionComputed: string | undefined;
|
|
13
26
|
icon: string | undefined;
|
|
14
27
|
labelTypeOrDefault: SkyLabelType;
|
|
15
28
|
topIcon: SkyIconStackItem | undefined;
|
|
29
|
+
constructor(changeDetector: ChangeDetectorRef, resources: SkyLibResourcesService);
|
|
16
30
|
ngOnInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
17
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLabelComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyLabelComponent, "sky-label", never, { "labelType": "labelType"; }, {}, never, ["*"]>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyLabelComponent, "sky-label", never, { "labelType": "labelType"; "descriptionType": "descriptionType"; "customDescription": "customDescription"; }, {}, never, ["*"]>;
|
|
19
34
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./label.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "
|
|
4
|
+
import * as i3 from "@skyux/i18n";
|
|
5
|
+
import * as i4 from "../icon/icon.module";
|
|
6
|
+
import * as i5 from "../shared/sky-indicators-resources.module";
|
|
5
7
|
export declare class SkyLabelModule {
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLabelModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyLabelModule, [typeof i1.SkyLabelComponent], [typeof i2.CommonModule, typeof i3.SkyIconModule], [typeof i1.SkyLabelComponent]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyLabelModule, [typeof i1.SkyLabelComponent], [typeof i2.CommonModule, typeof i3.SkyI18nModule, typeof i4.SkyIconModule, typeof i5.SkyIndicatorsResourcesModule], [typeof i1.SkyLabelComponent]>;
|
|
8
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyLabelModule>;
|
|
9
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type SkyIndicatorDescriptionType = 'completed' | 'custom' | 'error' | 'important-info' | 'none' | 'warning';
|
|
1
|
+
export declare type SkyIndicatorDescriptionType = 'attention' | 'caution' | 'completed' | 'custom' | 'danger' | 'error' | 'important-info' | 'important-warning' | 'none' | 'success' | 'warning';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/indicators",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.16.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@angular/common": "^13.3.2",
|
|
46
46
|
"@angular/core": "^13.3.2",
|
|
47
47
|
"@angular/platform-browser": "^13.3.2",
|
|
48
|
-
"@skyux-sdk/testing": "6.
|
|
49
|
-
"@skyux/core": "6.
|
|
50
|
-
"@skyux/i18n": "6.
|
|
51
|
-
"@skyux/theme": "6.
|
|
48
|
+
"@skyux-sdk/testing": "6.16.0",
|
|
49
|
+
"@skyux/core": "6.16.0",
|
|
50
|
+
"@skyux/i18n": "6.16.0",
|
|
51
|
+
"@skyux/theme": "6.16.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"tslib": "^2.3.1"
|
package/testing/public-api.d.ts
CHANGED