@skyux/forms 11.15.0 → 11.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/forms",
3
- "version": "11.15.0",
3
+ "version": "11.16.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -41,14 +41,14 @@
41
41
  "@angular/core": "^18.2.8",
42
42
  "@angular/forms": "^18.2.8",
43
43
  "@angular/platform-browser": "^18.2.8",
44
- "@skyux-sdk/testing": "11.15.0",
45
- "@skyux/core": "11.15.0",
46
- "@skyux/help-inline": "11.15.0",
47
- "@skyux/i18n": "11.15.0",
48
- "@skyux/icon": "11.15.0",
49
- "@skyux/indicators": "11.15.0",
50
- "@skyux/popovers": "11.15.0",
51
- "@skyux/theme": "11.15.0"
44
+ "@skyux-sdk/testing": "11.16.0",
45
+ "@skyux/core": "11.16.0",
46
+ "@skyux/help-inline": "11.16.0",
47
+ "@skyux/i18n": "11.16.0",
48
+ "@skyux/icon": "11.16.0",
49
+ "@skyux/indicators": "11.16.0",
50
+ "@skyux/popovers": "11.16.0",
51
+ "@skyux/theme": "11.16.0"
52
52
  },
53
53
  "dependencies": {
54
54
  "tslib": "^2.6.3"
@@ -0,0 +1,7 @@
1
+ import { SkyHarnessFilters } from '@skyux/core/testing';
2
+ /**
3
+ * A set of criteria that can be used to filter a list of `SkyFileDropHarness` instances.
4
+ * @internal
5
+ */
6
+ export interface SkyFileDropHarnessFilters extends SkyHarnessFilters {
7
+ }
@@ -0,0 +1,23 @@
1
+ import { HarnessPredicate } from '@angular/cdk/testing';
2
+ import { SkyComponentHarness } from '@skyux/core/testing';
3
+ import { SkyFileDropHarnessFilters } from './file-drop-harness-filters';
4
+ /**
5
+ * Harness for interacting with a file drop component in tests.
6
+ * @internal
7
+ */
8
+ export declare class SkyFileDropHarness 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
+ * `SkyFileDropHarness` that meets certain criteria.
17
+ */
18
+ static with(filters: SkyFileDropHarnessFilters): HarnessPredicate<SkyFileDropHarness>;
19
+ /**
20
+ * Drops a file onto the component's drop target.
21
+ */
22
+ dropFile(file: File): Promise<void>;
23
+ }
@@ -8,6 +8,8 @@ export { SkyCheckboxGroupHarnessFilters } from './checkbox/checkbox-group-harnes
8
8
  export { SkyCheckboxHarness } from './checkbox/checkbox-harness';
9
9
  export { SkyCheckboxHarnessFilters } from './checkbox/checkbox-harness-filters';
10
10
  export { SkyCheckboxLabelHarness } from './checkbox/checkbox-label-harness';
11
+ export { SkyFileDropHarness } from './file-drop/file-drop-harness';
12
+ export { SkyFileDropHarnessFilters } from './file-drop/file-drop-harness-filters';
11
13
  export { SkyFormErrorsHarness } from './form-error/form-errors-harness';
12
14
  export { SkyFormErrorsHarnessFilters } from './form-error/form-errors-harness.filters';
13
15
  export { SkyFormErrorHarness } from './form-error/form-error-harness';