@skyux/indicators 10.19.0 → 10.21.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/index.d.ts CHANGED
@@ -6,6 +6,9 @@ export { SkyIconStackItem } from './lib/modules/icon/icon-stack-item';
6
6
  export { SkyIconModule } from './lib/modules/icon/icon.module';
7
7
  export { SkyIconType } from './lib/modules/icon/types/icon-type';
8
8
  export { SkyIconVariantType } from './lib/modules/icon/types/icon-variant-type';
9
+ export { SkyIllustrationResolverService } from './lib/modules/illustration/illustration-resolver.service';
10
+ export { SkyIllustrationSize } from './lib/modules/illustration/illustration-size';
11
+ export { SkyIllustrationModule } from './lib/modules/illustration/illustration.module';
9
12
  export { SkyKeyInfoLayoutType } from './lib/modules/key-info/key-info-layout-type';
10
13
  export { SkyKeyInfoModule } from './lib/modules/key-info/key-info.module';
11
14
  export { SkyLabelType } from './lib/modules/label/label-type';
@@ -37,3 +40,4 @@ export { SkyTokenComponent as λ12 } from './lib/modules/tokens/token.component'
37
40
  export { SkyTokensComponent as λ13 } from './lib/modules/tokens/tokens.component';
38
41
  export { SkyWaitComponent as λ14 } from './lib/modules/wait/wait.component';
39
42
  export { SkyTextHighlightDirective } from './lib/modules/text-highlight/text-highlight.directive';
43
+ export { SkyIllustrationComponent as λ16 } from './lib/modules/illustration/illustration.component';
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Resolves information about spot illustrations.
4
+ */
5
+ export declare abstract class SkyIllustrationResolverService {
6
+ /**
7
+ * Resolves a URL for the specified illustration name.
8
+ */
9
+ abstract resolveUrl(name: string): Promise<string>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyIllustrationResolverService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyIllustrationResolverService>;
12
+ }
@@ -0,0 +1 @@
1
+ export type SkyIllustrationSize = 'sm' | 'md' | 'lg' | 'xl';
@@ -0,0 +1,22 @@
1
+ import { SkyIllustrationSize } from './illustration-size';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Displays a spot illustration at the specified size.
5
+ */
6
+ export declare class SkyIllustrationComponent {
7
+ #private;
8
+ /**
9
+ * The name of the illustration to display.
10
+ * @required
11
+ */
12
+ readonly name: import("@angular/core").InputSignal<string>;
13
+ /**
14
+ * The size of the illustration.
15
+ * @required
16
+ */
17
+ readonly size: import("@angular/core").InputSignal<SkyIllustrationSize>;
18
+ protected readonly url: import("@angular/core").Signal<string | undefined>;
19
+ protected readonly pixelSize: import("@angular/core").Signal<number>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyIllustrationComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyIllustrationComponent, "sky-illustration", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
22
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./illustration.component";
3
+ export declare class SkyIllustrationModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyIllustrationModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyIllustrationModule, never, [typeof i1.SkyIllustrationComponent], [typeof i1.SkyIllustrationComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyIllustrationModule>;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/indicators",
3
- "version": "10.19.0",
3
+ "version": "10.21.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -41,10 +41,10 @@
41
41
  "@angular/common": "^17.3.4",
42
42
  "@angular/core": "^17.3.4",
43
43
  "@angular/platform-browser": "^17.3.4",
44
- "@skyux-sdk/testing": "10.19.0",
45
- "@skyux/core": "10.19.0",
46
- "@skyux/i18n": "10.19.0",
47
- "@skyux/theme": "10.19.0"
44
+ "@skyux-sdk/testing": "10.21.0",
45
+ "@skyux/core": "10.21.0",
46
+ "@skyux/i18n": "10.21.0",
47
+ "@skyux/theme": "10.21.0"
48
48
  },
49
49
  "dependencies": {
50
50
  "tslib": "^2.6.2"
@@ -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 `SkyIllustrationHarness` instances.
4
+ */
5
+ export interface SkyIllustrationHarnessFilters extends SkyHarnessFilters {
6
+ }
@@ -0,0 +1,27 @@
1
+ import { HarnessPredicate } from '@angular/cdk/testing';
2
+ import { SkyComponentHarness } from '@skyux/core/testing';
3
+ import { SkyIllustrationSize } from '@skyux/indicators';
4
+ import { SkyIllustrationHarnessFilters } from './illustration-harness-filters';
5
+ /**
6
+ * Harness for interacting with an illustration component in tests.
7
+ */
8
+ export declare class SkyIllustrationHarness extends SkyComponentHarness {
9
+ #private;
10
+ /**
11
+ * @internal
12
+ */
13
+ static hostSelector: string;
14
+ /**
15
+ * Gets a `HarnessPredicate` that can be used to search for a
16
+ * `SkyIllustrationHarness` that meets certain criteria.
17
+ */
18
+ static with(filters: SkyIllustrationHarnessFilters): HarnessPredicate<SkyIllustrationHarness>;
19
+ /**
20
+ * Gets the specified name of the illustration.
21
+ */
22
+ getName(): Promise<string>;
23
+ /**
24
+ * Gets the specified size of the illustration.
25
+ */
26
+ getSize(): Promise<SkyIllustrationSize>;
27
+ }
@@ -5,6 +5,8 @@ export { SkyHelpInlineHarness } from './help-inline/help-inline-harness';
5
5
  export { SkyHelpInlineHarnessFilters } from './help-inline/help-inline-harness-filters';
6
6
  export { SkyIconHarness } from './icon/icon-harness';
7
7
  export { SkyIconHarnessFilters } from './icon/icon-harness-filters';
8
+ export { SkyIllustrationHarness } from './illustration/illustration-harness';
9
+ export { SkyIllustrationHarnessFilters } from './illustration/illustration-harness-filters';
8
10
  export { SkyKeyInfoHarness } from './key-info/key-info-harness';
9
11
  export { SkyKeyInfoHarnessFilters } from './key-info/key-info-harness-filters';
10
12
  export { SkyLabelHarness } from './label/label-harness';