@skyux/forms 12.9.0 → 12.11.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/fesm2022/skyux-forms-testing.mjs +112 -1
- package/fesm2022/skyux-forms-testing.mjs.map +1 -1
- package/fesm2022/skyux-forms.mjs +4 -4
- package/fesm2022/skyux-forms.mjs.map +1 -1
- package/lib/modules/input-box/input-box.component.d.ts +1 -1
- package/package.json +9 -9
- package/testing/modules/selection-box/selection-box-description-harness.d.ts +15 -0
- package/testing/modules/selection-box/selection-box-grid-harness-filters.d.ts +6 -0
- package/testing/modules/selection-box/selection-box-grid-harness.d.ts +27 -0
- package/testing/modules/selection-box/selection-box-harness-filters.d.ts +6 -0
- package/testing/modules/selection-box/selection-box-harness.d.ts +36 -0
- package/testing/modules/selection-box/selection-box-header-harness.d.ts +15 -0
- package/testing/public-api.d.ts +4 -0
|
@@ -114,5 +114,5 @@ export declare class SkyInputBoxComponent implements OnInit, AfterContentChecked
|
|
|
114
114
|
setHostHintText(value: string | undefined): void;
|
|
115
115
|
setHintTextScreenReaderOnly(hide: boolean): void;
|
|
116
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyInputBoxComponent, never>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyInputBoxComponent, "sky-input-box", never, { "hasErrors": { "alias": "hasErrors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "characterLimit": { "alias": "characterLimit"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; }, {}, ["formControl", "formControlByName", "ngModel", "inputRef"], [".sky-control-label", ".sky-control-help", "sky-character-counter-indicator", "input,select,.sky-form-control:not(textarea),sky-text-editor", "textarea", ".sky-input-group-btn.sky-input-box-btn-left", ".sky-input-group-btn:not(.sky-input-box-btn-left):not(.sky-input-box-btn-inset)", ".sky-input-group-btn.sky-input-box-btn-inset", ".sky-input-group-icon.sky-input-box-icon-inset", ".sky-input-group-icon.sky-input-box-icon-inset-left", "sky-form-error,span.sky-input-box-descendent-form-error", ".sky-error-label,.sky-error-indicator"], false, never>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyInputBoxComponent, "sky-input-box", never, { "hasErrors": { "alias": "hasErrors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "characterLimit": { "alias": "characterLimit"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; }, {}, ["formControl", "formControlByName", "ngModel", "inputRef"], [".sky-control-label", ".sky-control-help", "sky-character-counter-indicator", "input,select,.sky-form-control:not(textarea),sky-autocomplete,sky-text-editor", "textarea", ".sky-input-group-btn.sky-input-box-btn-left", ".sky-input-group-btn:not(.sky-input-box-btn-left):not(.sky-input-box-btn-inset)", ".sky-input-group-btn.sky-input-box-btn-inset", ".sky-input-group-icon.sky-input-box-icon-inset", ".sky-input-group-icon.sky-input-box-icon-inset-left", "sky-form-error,span.sky-input-box-descendent-form-error", ".sky-error-label,.sky-error-indicator"], false, never>;
|
|
118
118
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/forms",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.11.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"@angular/core": "^19.2.7",
|
|
22
22
|
"@angular/forms": "^19.2.7",
|
|
23
23
|
"@angular/platform-browser": "^19.2.7",
|
|
24
|
-
"@skyux-sdk/testing": "12.
|
|
25
|
-
"@skyux/core": "12.
|
|
26
|
-
"@skyux/help-inline": "12.
|
|
27
|
-
"@skyux/i18n": "12.
|
|
28
|
-
"@skyux/icon": "12.
|
|
29
|
-
"@skyux/indicators": "12.
|
|
30
|
-
"@skyux/popovers": "12.
|
|
31
|
-
"@skyux/theme": "12.
|
|
24
|
+
"@skyux-sdk/testing": "12.11.0",
|
|
25
|
+
"@skyux/core": "12.11.0",
|
|
26
|
+
"@skyux/help-inline": "12.11.0",
|
|
27
|
+
"@skyux/i18n": "12.11.0",
|
|
28
|
+
"@skyux/icon": "12.11.0",
|
|
29
|
+
"@skyux/indicators": "12.11.0",
|
|
30
|
+
"@skyux/popovers": "12.11.0",
|
|
31
|
+
"@skyux/theme": "12.11.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"tslib": "^2.8.1"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
2
|
+
/**
|
|
3
|
+
* Harness to interact with a selection box description component in tests.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare class SkySelectionBoxDescriptionHarness extends SkyComponentHarness {
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
static hostSelector: string;
|
|
11
|
+
/**
|
|
12
|
+
* Gets the description text.
|
|
13
|
+
*/
|
|
14
|
+
getText(): Promise<string>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
+
import { SkySelectionBoxGridHarnessFilters } from './selection-box-grid-harness-filters';
|
|
4
|
+
import { SkySelectionBoxHarness } from './selection-box-harness';
|
|
5
|
+
import { SkySelectionBoxHarnessFilters } from './selection-box-harness-filters';
|
|
6
|
+
/**
|
|
7
|
+
* Harness for interacting with a selection box grid component in tests.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SkySelectionBoxGridHarness extends SkyComponentHarness {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
static hostSelector: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
16
|
+
* `SkySelectionBoxGridHarness` that meets certain criteria.
|
|
17
|
+
*/
|
|
18
|
+
static with(filters: SkySelectionBoxGridHarnessFilters): HarnessPredicate<SkySelectionBoxGridHarness>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets a harness for a specific selection box that meets certain criteria.
|
|
21
|
+
*/
|
|
22
|
+
getSelectionBox(filter: SkySelectionBoxHarnessFilters): Promise<SkySelectionBoxHarness>;
|
|
23
|
+
/**
|
|
24
|
+
* Gets an array of selection boxes.
|
|
25
|
+
*/
|
|
26
|
+
getSelectionBoxes(filters?: SkySelectionBoxHarnessFilters): Promise<SkySelectionBoxHarness[]>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
+
import { SkyIconHarness } from '@skyux/icon/testing';
|
|
4
|
+
import { SkyCheckboxHarness } from '../checkbox/checkbox-harness';
|
|
5
|
+
import { SkyRadioHarness } from '../radio/radio-harness';
|
|
6
|
+
import { SkySelectionBoxHarnessFilters } from './selection-box-harness-filters';
|
|
7
|
+
/**
|
|
8
|
+
* Harness to interact with a selection box component in tests.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SkySelectionBoxHarness extends SkyComponentHarness {
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
static hostSelector: string;
|
|
15
|
+
/**
|
|
16
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
17
|
+
* `SkySelectionBoxHarness` that meets certain criteria.
|
|
18
|
+
*/
|
|
19
|
+
static with(filters: SkySelectionBoxHarnessFilters): HarnessPredicate<SkySelectionBoxHarness>;
|
|
20
|
+
/**
|
|
21
|
+
* Gets the checkbox or radio harness for the selection box form control.
|
|
22
|
+
*/
|
|
23
|
+
getControl(): Promise<SkyCheckboxHarness | SkyRadioHarness>;
|
|
24
|
+
/**
|
|
25
|
+
* Gets the selection box description text.
|
|
26
|
+
*/
|
|
27
|
+
getDescriptionText(): Promise<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Gets the selection box header text.
|
|
30
|
+
*/
|
|
31
|
+
getHeaderText(): Promise<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the selection box icon, if it exists.
|
|
34
|
+
*/
|
|
35
|
+
getIcon(): Promise<SkyIconHarness | null>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
2
|
+
/**
|
|
3
|
+
* Harness to interact with a selection box header component in tests.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare class SkySelectionBoxHeaderHarness extends SkyComponentHarness {
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
static hostSelector: string;
|
|
11
|
+
/**
|
|
12
|
+
* Gets the header text.
|
|
13
|
+
*/
|
|
14
|
+
getText(): Promise<string>;
|
|
15
|
+
}
|
package/testing/public-api.d.ts
CHANGED
|
@@ -27,5 +27,9 @@ export { SkyRadioGroupHarnessFilters } from './modules/radio/radio-group-harness
|
|
|
27
27
|
export { SkyRadioHarness } from './modules/radio/radio-harness';
|
|
28
28
|
export { SkyRadioHarnessFilters } from './modules/radio/radio-harness-filters';
|
|
29
29
|
export { SkyRadioLabelHarness } from './modules/radio/radio-label-harness';
|
|
30
|
+
export { SkySelectionBoxGridHarness } from './modules/selection-box/selection-box-grid-harness';
|
|
31
|
+
export { SkySelectionBoxGridHarnessFilters } from './modules/selection-box/selection-box-grid-harness-filters';
|
|
32
|
+
export { SkySelectionBoxHarness } from './modules/selection-box/selection-box-harness';
|
|
33
|
+
export { SkySelectionBoxHarnessFilters } from './modules/selection-box/selection-box-harness-filters';
|
|
30
34
|
export { SkyToggleSwitchHarness } from './modules/toggle-switch/toggle-switch-harness';
|
|
31
35
|
export { SkyToggleSwitchHarnessFilters } from './modules/toggle-switch/toggle-switch-harness-filters';
|