@skyux/forms 13.0.0-alpha.1 → 13.0.0-alpha.10
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 +34 -23
- package/fesm2022/skyux-forms-testing.mjs.map +1 -1
- package/fesm2022/skyux-forms.mjs +27 -31
- package/fesm2022/skyux-forms.mjs.map +1 -1
- package/index.d.ts +3 -16
- package/package.json +14 -9
- package/testing/index.d.ts +23 -6
package/index.d.ts
CHANGED
|
@@ -153,12 +153,6 @@ declare class SkyCheckboxComponent implements AfterViewInit, ControlValueAccesso
|
|
|
153
153
|
* Fires when the selected value changes.
|
|
154
154
|
*/
|
|
155
155
|
change: EventEmitter<SkyCheckboxChange>;
|
|
156
|
-
/**
|
|
157
|
-
* The icon to display in place of the checkbox. To group icon checkboxes
|
|
158
|
-
* like in the demo, place the checkboxes within a `sky-checkbox-group`.
|
|
159
|
-
* @deprecated Use `iconName` instead.
|
|
160
|
-
*/
|
|
161
|
-
icon: string | undefined;
|
|
162
156
|
/**
|
|
163
157
|
* The SVG icon to display in place of the checkbox. To group icon checkboxes
|
|
164
158
|
* like in the demo, place the checkboxes within a `sky-checkbox-group`.
|
|
@@ -271,7 +265,7 @@ declare class SkyCheckboxComponent implements AfterViewInit, ControlValueAccesso
|
|
|
271
265
|
/** Called when the checkbox is blurred. Needed to properly implement ControlValueAccessor. */
|
|
272
266
|
onTouched: () => any;
|
|
273
267
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCheckboxComponent, never>;
|
|
274
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyCheckboxComponent, "sky-checkbox", never, { "label": { "alias": "label"; "required": false; }; "labelledBy": { "alias": "labelledBy"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "name": { "alias": "name"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "
|
|
268
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyCheckboxComponent, "sky-checkbox", never, { "label": { "alias": "label"; "required": false; }; "labelledBy": { "alias": "labelledBy"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "name": { "alias": "name"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "checkboxType": { "alias": "checkboxType"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "required": { "alias": "required"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, { "change": "change"; "checkedChange": "checkedChange"; "disabledChange": "disabledChange"; "indeterminateChange": "indeterminateChange"; }, never, ["sky-checkbox-label", "sky-form-error"], false, [{ directive: typeof i1$1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
275
269
|
static ngAcceptInputType_disabled: unknown;
|
|
276
270
|
static ngAcceptInputType_required: unknown;
|
|
277
271
|
static ngAcceptInputType_labelHidden: unknown;
|
|
@@ -364,7 +358,7 @@ declare class SkyCheckboxGroupComponent implements Validator {
|
|
|
364
358
|
protected formGroup: FormGroup | null | undefined;
|
|
365
359
|
validate(formGroup: FormGroup): ValidationErrors | null;
|
|
366
360
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCheckboxGroupComponent, never>;
|
|
367
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyCheckboxGroupComponent, "sky-checkbox-group", never, { "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "headingText": { "alias": "headingText"; "required": true; }; "headingHidden": { "alias": "headingHidden"; "required": false; }; "headingLevel": { "alias": "headingLevel"; "required": false; }; "headingStyle": { "alias": "headingStyle"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "required": { "alias": "required"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, {}, never, ["sky-checkbox[
|
|
361
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyCheckboxGroupComponent, "sky-checkbox-group", never, { "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "headingText": { "alias": "headingText"; "required": true; }; "headingHidden": { "alias": "headingHidden"; "required": false; }; "headingLevel": { "alias": "headingLevel"; "required": false; }; "headingStyle": { "alias": "headingStyle"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "required": { "alias": "required"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, {}, never, ["sky-checkbox[iconName]", "sky-checkbox", "sky-form-error"], true, [{ directive: typeof i1$1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
368
362
|
static ngAcceptInputType_headingHidden: unknown;
|
|
369
363
|
static ngAcceptInputType_headingLevel: unknown;
|
|
370
364
|
static ngAcceptInputType_headingStyle: unknown;
|
|
@@ -1265,13 +1259,6 @@ declare class SkyRadioComponent implements OnDestroy, ControlValueAccessor {
|
|
|
1265
1259
|
* also specified.
|
|
1266
1260
|
*/
|
|
1267
1261
|
helpPopoverTitle: string | undefined;
|
|
1268
|
-
/**
|
|
1269
|
-
* The icon to display in place of the radio button. To group radio buttons like in
|
|
1270
|
-
* the demo above, place the `sky-switch-icon-group` class on the direct parent element of the
|
|
1271
|
-
* radio buttons.
|
|
1272
|
-
* @deprecated Use `iconName` instead.
|
|
1273
|
-
*/
|
|
1274
|
-
icon: string | undefined;
|
|
1275
1262
|
/**
|
|
1276
1263
|
* The SVG icon to display in place of the radio button. To group radio buttons like in
|
|
1277
1264
|
* the demo above, place the `sky-switch-icon-group` class on the direct parent element of the
|
|
@@ -1338,7 +1325,7 @@ declare class SkyRadioComponent implements OnDestroy, ControlValueAccessor {
|
|
|
1338
1325
|
onInputChange(event: Event): void;
|
|
1339
1326
|
onInputFocusChange(): void;
|
|
1340
1327
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyRadioComponent, never>;
|
|
1341
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyRadioComponent, "sky-radio", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelledBy": { "alias": "labelledBy"; "required": false; }; "name": { "alias": "name"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "value": { "alias": "value"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "
|
|
1328
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyRadioComponent, "sky-radio", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelledBy": { "alias": "labelledBy"; "required": false; }; "name": { "alias": "name"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "value": { "alias": "value"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "radioType": { "alias": "radioType"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, { "change": "change"; "checkedChange": "checkedChange"; "disabledChange": "disabledChange"; }, never, ["sky-radio-label"], false, [{ directive: typeof i1$1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
1342
1329
|
static ngAcceptInputType_disabled: unknown;
|
|
1343
1330
|
static ngAcceptInputType_labelHidden: unknown;
|
|
1344
1331
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/forms",
|
|
3
|
-
"version": "13.0.0-alpha.
|
|
3
|
+
"version": "13.0.0-alpha.10",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -21,14 +21,19 @@
|
|
|
21
21
|
"@angular/core": "^20.0.5",
|
|
22
22
|
"@angular/forms": "^20.0.5",
|
|
23
23
|
"@angular/platform-browser": "^20.0.5",
|
|
24
|
-
"@skyux-sdk/testing": "13.0.0-alpha.
|
|
25
|
-
"@skyux/core": "13.0.0-alpha.
|
|
26
|
-
"@skyux/help-inline": "13.0.0-alpha.
|
|
27
|
-
"@skyux/i18n": "13.0.0-alpha.
|
|
28
|
-
"@skyux/icon": "13.0.0-alpha.
|
|
29
|
-
"@skyux/indicators": "13.0.0-alpha.
|
|
30
|
-
"@skyux/popovers": "13.0.0-alpha.
|
|
31
|
-
"@skyux/theme": "13.0.0-alpha.
|
|
24
|
+
"@skyux-sdk/testing": "13.0.0-alpha.10",
|
|
25
|
+
"@skyux/core": "13.0.0-alpha.10",
|
|
26
|
+
"@skyux/help-inline": "13.0.0-alpha.10",
|
|
27
|
+
"@skyux/i18n": "13.0.0-alpha.10",
|
|
28
|
+
"@skyux/icon": "13.0.0-alpha.10",
|
|
29
|
+
"@skyux/indicators": "13.0.0-alpha.10",
|
|
30
|
+
"@skyux/popovers": "13.0.0-alpha.10",
|
|
31
|
+
"@skyux/theme": "13.0.0-alpha.10"
|
|
32
|
+
},
|
|
33
|
+
"peerDependenciesMeta": {
|
|
34
|
+
"@skyux-sdk/testing": {
|
|
35
|
+
"optional": true
|
|
36
|
+
}
|
|
32
37
|
},
|
|
33
38
|
"dependencies": {
|
|
34
39
|
"tslib": "^2.8.1"
|
package/testing/index.d.ts
CHANGED
|
@@ -321,9 +321,16 @@ declare class SkyCheckboxGroupHarness extends SkyComponentHarness {
|
|
|
321
321
|
*/
|
|
322
322
|
clickHelpInline(): Promise<void>;
|
|
323
323
|
/**
|
|
324
|
-
* Gets
|
|
324
|
+
* Gets a specific checkbox based on the filter criteria.
|
|
325
|
+
* @param filter The filter criteria.
|
|
325
326
|
*/
|
|
326
|
-
|
|
327
|
+
getCheckbox(filter: SkyCheckboxHarnessFilters): Promise<SkyCheckboxHarness>;
|
|
328
|
+
/**
|
|
329
|
+
* Gets an array of checkboxes based on the filter criteria.
|
|
330
|
+
* If no filter is provided, returns all checkboxes.
|
|
331
|
+
* @param filter The optional filter criteria.
|
|
332
|
+
*/
|
|
333
|
+
getCheckboxes(filters?: SkyCheckboxHarnessFilters): Promise<SkyCheckboxHarness[]>;
|
|
327
334
|
/**
|
|
328
335
|
* Gets the help popover content.
|
|
329
336
|
*/
|
|
@@ -945,9 +952,16 @@ declare class SkyRadioGroupHarness extends SkyComponentHarness {
|
|
|
945
952
|
*/
|
|
946
953
|
getHintText(): Promise<string>;
|
|
947
954
|
/**
|
|
948
|
-
* Gets
|
|
955
|
+
* Gets a specific radio button based on the filter criteria.
|
|
956
|
+
* @param filter The filter criteria.
|
|
957
|
+
*/
|
|
958
|
+
getRadioButton(filter: SkyRadioHarnessFilters): Promise<SkyRadioHarness>;
|
|
959
|
+
/**
|
|
960
|
+
* Gets an array of radio buttons based on the filter criteria.
|
|
961
|
+
* If no filter is provided, returns all radio buttons.
|
|
962
|
+
* @param filters The optional filter criteria.
|
|
949
963
|
*/
|
|
950
|
-
getRadioButtons(): Promise<SkyRadioHarness[]>;
|
|
964
|
+
getRadioButtons(filters?: SkyRadioHarnessFilters): Promise<SkyRadioHarness[]>;
|
|
951
965
|
/**
|
|
952
966
|
* Whether the radio group is required.
|
|
953
967
|
*/
|
|
@@ -1035,11 +1049,14 @@ declare class SkySelectionBoxGridHarness extends SkyComponentHarness {
|
|
|
1035
1049
|
*/
|
|
1036
1050
|
static with(filters: SkySelectionBoxGridHarnessFilters): HarnessPredicate<SkySelectionBoxGridHarness>;
|
|
1037
1051
|
/**
|
|
1038
|
-
* Gets a
|
|
1052
|
+
* Gets a specific selection box based on the filter criteria.
|
|
1053
|
+
* @param filter The filter criteria.
|
|
1039
1054
|
*/
|
|
1040
1055
|
getSelectionBox(filter: SkySelectionBoxHarnessFilters): Promise<SkySelectionBoxHarness>;
|
|
1041
1056
|
/**
|
|
1042
|
-
* Gets an array of selection boxes.
|
|
1057
|
+
* Gets an array of selection boxes based on the filter criteria.
|
|
1058
|
+
* If no filter is provided, returns all selection boxes.
|
|
1059
|
+
* @param filters The optional filter criteria.
|
|
1043
1060
|
*/
|
|
1044
1061
|
getSelectionBoxes(filters?: SkySelectionBoxHarnessFilters): Promise<SkySelectionBoxHarness[]>;
|
|
1045
1062
|
}
|