@skyux/indicators 7.9.0 → 7.10.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 +652 -146
- package/esm2020/lib/modules/icon/icon-stack.component.mjs +1 -1
- package/esm2020/lib/modules/icon/icon.component.mjs +1 -1
- package/esm2020/testing/icon/icon-harness-filters.mjs +2 -0
- package/esm2020/testing/icon/icon-harness.mjs +104 -0
- package/esm2020/testing/public-api.mjs +3 -1
- package/fesm2015/skyux-indicators-testing.mjs +117 -1
- package/fesm2015/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2015/skyux-indicators.mjs.map +1 -1
- package/fesm2020/skyux-indicators-testing.mjs +103 -1
- package/fesm2020/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2020/skyux-indicators.mjs.map +1 -1
- package/lib/modules/icon/icon-stack.component.d.ts +1 -1
- package/lib/modules/icon/icon.component.d.ts +4 -2
- package/package.json +5 -5
- 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 +2 -0
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/indicators",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.10.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@angular/common": "^14.2.11",
|
|
46
46
|
"@angular/core": "^14.2.11",
|
|
47
47
|
"@angular/platform-browser": "^14.2.11",
|
|
48
|
-
"@skyux-sdk/testing": "7.
|
|
49
|
-
"@skyux/core": "7.
|
|
50
|
-
"@skyux/i18n": "7.
|
|
51
|
-
"@skyux/theme": "7.
|
|
48
|
+
"@skyux-sdk/testing": "7.10.0",
|
|
49
|
+
"@skyux/core": "7.10.0",
|
|
50
|
+
"@skyux/i18n": "7.10.0",
|
|
51
|
+
"@skyux/theme": "7.10.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"tslib": "^2.3.1"
|
|
@@ -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,7 @@
|
|
|
1
1
|
export * from './alert/alert-harness';
|
|
2
2
|
export * from './alert/alert-harness-filters';
|
|
3
|
+
export * from './icon/icon-harness';
|
|
4
|
+
export * from './icon/icon-harness-filters';
|
|
3
5
|
export * from './key-info/key-info-harness';
|
|
4
6
|
export * from './key-info/key-info-harness-filters';
|
|
5
7
|
export * from './label/label-harness';
|