@skyux/core 6.11.0 → 6.12.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.
@@ -1,3 +1,4 @@
1
+ import { StaticProvider } from '@angular/core';
1
2
  import { SkyDynamicComponentLocation } from './dynamic-component-location';
2
3
  /**
3
4
  * Options for adding a dynamic component to the page.
@@ -7,6 +8,10 @@ export interface SkyDynamicComponentOptions {
7
8
  * The location on the page where the dynamic component should be rendered.
8
9
  */
9
10
  location?: SkyDynamicComponentLocation;
11
+ /**
12
+ * Providers to inject into the new component.
13
+ */
14
+ providers?: StaticProvider[];
10
15
  /**
11
16
  * The reference element used when using the `ElementTop` or `ElementBottom` locations.
12
17
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/core",
3
- "version": "6.11.0",
3
+ "version": "6.12.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -40,11 +40,12 @@
40
40
  }
41
41
  },
42
42
  "peerDependencies": {
43
+ "@angular/cdk": "^13.3.2",
43
44
  "@angular/common": "^13.3.2",
44
45
  "@angular/core": "^13.3.2",
45
46
  "@angular/platform-browser": "^13.3.2",
46
47
  "@angular/router": "^13.3.2",
47
- "@skyux/i18n": "6.11.0"
48
+ "@skyux/i18n": "6.12.0"
48
49
  },
49
50
  "dependencies": {
50
51
  "tslib": "^2.3.1"
@@ -1,3 +1,5 @@
1
+ export * from './shared/component-harness';
2
+ export * from './shared/harness-filters';
1
3
  export * from './core-testing.module';
2
4
  export * from './mock-media-query.service';
3
5
  export * from './mock-ui-config.service';
@@ -0,0 +1,7 @@
1
+ import { ComponentHarness } from '@angular/cdk/testing';
2
+ /**
3
+ * @experimental
4
+ */
5
+ export declare abstract class SkyComponentHarness extends ComponentHarness {
6
+ protected getSkyId(): Promise<string | null>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseHarnessFilters } from '@angular/cdk/testing';
2
+ /**
3
+ * @experimental
4
+ */
5
+ export interface SkyHarnessFilters extends BaseHarnessFilters {
6
+ dataSkyId?: string | RegExp;
7
+ }