@skyux/indicators 6.0.2 → 6.2.1
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 +191 -105
- package/esm2020/index.mjs +3 -1
- package/esm2020/lib/modules/key-info/key-info-label.component.mjs +2 -2
- package/esm2020/lib/modules/key-info/key-info.component.mjs +3 -3
- package/esm2020/lib/modules/shared/indicator-description-type.mjs +1 -1
- package/esm2020/lib/modules/shared/indicator-icon-type.mjs +1 -1
- package/esm2020/lib/modules/shared/indicator-icon-utility.mjs +2 -2
- package/esm2020/lib/modules/status-indicator/status-indicator.component.mjs +2 -4
- package/esm2020/lib/modules/text-highlight/text-highlight.directive.mjs +2 -4
- package/fesm2015/skyux-indicators.mjs +6 -10
- package/fesm2015/skyux-indicators.mjs.map +1 -1
- package/fesm2020/skyux-indicators.mjs +6 -10
- package/fesm2020/skyux-indicators.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/modules/key-info/key-info-label.component.d.ts +1 -1
- package/lib/modules/key-info/key-info.component.d.ts +2 -2
- package/lib/modules/shared/indicator-description-type.d.ts +0 -3
- package/lib/modules/shared/indicator-icon-type.d.ts +0 -3
- package/lib/modules/shared/indicator-icon-utility.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/package.json +5 -5
|
@@ -200,7 +200,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
200
200
|
}] });
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
|
-
* @
|
|
203
|
+
* @internal
|
|
204
204
|
*/
|
|
205
205
|
class SkyIndicatorIconUtility {
|
|
206
206
|
static getIconsForType(indicatorType) {
|
|
@@ -496,7 +496,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
496
496
|
}] });
|
|
497
497
|
|
|
498
498
|
/**
|
|
499
|
-
* Specifies a label to display in smaller
|
|
499
|
+
* Specifies a label to display in smaller text under or beside the value.
|
|
500
500
|
* @required
|
|
501
501
|
*/
|
|
502
502
|
class SkyKeyInfoLabelComponent {
|
|
@@ -530,8 +530,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
530
530
|
class SkyKeyInfoComponent {
|
|
531
531
|
constructor() {
|
|
532
532
|
/**
|
|
533
|
-
* Specifies whether to display key info in a
|
|
534
|
-
* value or in a
|
|
533
|
+
* Specifies whether to display key info in a vertical layout with the label under the
|
|
534
|
+
* value or in a horizontal layout with the label beside the value.
|
|
535
535
|
* @default "vertical"
|
|
536
536
|
*/
|
|
537
537
|
this.layout = 'vertical';
|
|
@@ -622,7 +622,6 @@ class SkyStatusIndicatorComponent {
|
|
|
622
622
|
}
|
|
623
623
|
/**
|
|
624
624
|
* Specifies a style for the status indicator to determine the icon.
|
|
625
|
-
* The valid options are `danger`, `info`, `success`, and `warning`.
|
|
626
625
|
* @default "warning"
|
|
627
626
|
*/
|
|
628
627
|
set indicatorType(value) {
|
|
@@ -634,8 +633,7 @@ class SkyStatusIndicatorComponent {
|
|
|
634
633
|
}
|
|
635
634
|
/**
|
|
636
635
|
* Specifies the predefined text to be read by screen readers for users
|
|
637
|
-
* who cannot see the indicator icon.
|
|
638
|
-
* `error`, `warning`, `completed`, and `important-info`.
|
|
636
|
+
* who cannot see the indicator icon.
|
|
639
637
|
* @required
|
|
640
638
|
*/
|
|
641
639
|
set descriptionType(value) {
|
|
@@ -732,9 +730,7 @@ const className = 'sky-highlight-mark';
|
|
|
732
730
|
// See: https://github.com/ng-packagr/ng-packagr/issues/641
|
|
733
731
|
// @dynamic
|
|
734
732
|
/**
|
|
735
|
-
* Highlights all matching text within
|
|
736
|
-
* The directive is only valid for elements that contain content, so you
|
|
737
|
-
* cannot place it on `ng-template`, `ng-content`, or `ng-container` tags.
|
|
733
|
+
* Highlights all matching text within the current DOM element.
|
|
738
734
|
*/
|
|
739
735
|
class SkyTextHighlightDirective {
|
|
740
736
|
constructor(el, observerService) {
|