@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.
@@ -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/how-to-use/on-the-web/styling/sizing-icons).
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/how-to-use/on-the-web/styling/sizing-icons). Do not prefix the size with `fa-`.
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 the icon has a fixed width.
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.9.0",
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.9.0",
49
- "@skyux/core": "7.9.0",
50
- "@skyux/i18n": "7.9.0",
51
- "@skyux/theme": "7.9.0"
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,6 @@
1
+ import { SkyHarnessFilters } from '@skyux/core/testing';
2
+ /**
3
+ * A set of criteria that can be used to filter a list of SkyIconHarness instances.
4
+ */
5
+ export interface SkyIconHarnessFilters extends SkyHarnessFilters {
6
+ }
@@ -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
+ }
@@ -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';