@skyux/forms 11.17.0 → 11.19.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/documentation.json +1179 -1153
- package/esm2022/lib/modules/checkbox/checkbox-group.component.mjs +14 -11
- package/esm2022/lib/modules/checkbox/checkbox.component.mjs +5 -6
- package/esm2022/lib/modules/checkbox/checkbox.module.mjs +7 -3
- package/esm2022/lib/modules/field-group/field-group.component.mjs +3 -3
- package/esm2022/lib/modules/radio/radio-group.component.mjs +13 -11
- package/esm2022/lib/modules/radio/radio.component.mjs +9 -7
- package/esm2022/lib/modules/radio/radio.module.mjs +7 -3
- package/esm2022/lib/modules/toggle-switch/toggle-switch.component.mjs +2 -2
- package/esm2022/testing/checkbox/checkbox-group-harness.mjs +9 -9
- package/esm2022/testing/checkbox/checkbox-harness.mjs +2 -2
- package/esm2022/testing/radio/radio-group-harness.mjs +9 -8
- package/fesm2022/skyux-forms-testing.mjs +17 -16
- package/fesm2022/skyux-forms-testing.mjs.map +1 -1
- package/fesm2022/skyux-forms.mjs +57 -51
- package/fesm2022/skyux-forms.mjs.map +1 -1
- package/lib/modules/checkbox/checkbox-group.component.d.ts +2 -1
- package/lib/modules/checkbox/checkbox.module.d.ts +2 -1
- package/lib/modules/radio/radio-group.component.d.ts +2 -1
- package/lib/modules/radio/radio.component.d.ts +2 -1
- package/lib/modules/radio/radio.module.d.ts +2 -1
- package/package.json +9 -9
|
@@ -3,6 +3,7 @@ import { FormGroup, ValidationErrors, Validator } from '@angular/forms';
|
|
|
3
3
|
import { SkyCheckboxGroupHeadingLevel } from './checkbox-group-heading-level';
|
|
4
4
|
import { SkyCheckboxGroupHeadingStyle } from './checkbox-group-heading-style';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@skyux/theme";
|
|
6
7
|
/**
|
|
7
8
|
* Organizes checkboxes into a group.
|
|
8
9
|
*/
|
|
@@ -66,7 +67,7 @@ export declare class SkyCheckboxGroupComponent implements Validator {
|
|
|
66
67
|
protected formGroup: FormGroup | null | undefined;
|
|
67
68
|
validate(formGroup: FormGroup): ValidationErrors | null;
|
|
68
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCheckboxGroupComponent, never>;
|
|
69
|
-
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[icon]", "sky-checkbox", "sky-form-error"], true,
|
|
70
|
+
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[icon]", "sky-checkbox", "sky-form-error"], true, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
70
71
|
static ngAcceptInputType_headingHidden: unknown;
|
|
71
72
|
static ngAcceptInputType_headingLevel: unknown;
|
|
72
73
|
static ngAcceptInputType_headingStyle: unknown;
|
|
@@ -11,8 +11,9 @@ import * as i9 from "../shared/sky-forms-resources.module";
|
|
|
11
11
|
import * as i10 from "@skyux/help-inline";
|
|
12
12
|
import * as i11 from "@skyux/icon";
|
|
13
13
|
import * as i12 from "@skyux/core";
|
|
14
|
+
import * as i13 from "@skyux/theme";
|
|
14
15
|
export declare class SkyCheckboxModule {
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCheckboxModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyCheckboxModule, [typeof i1.SkyCheckboxComponent, typeof i2.SkyCheckboxLabelComponent, typeof i3.SkyCheckboxLabelTextLabelComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.SkyCheckboxGroupComponent, typeof i7.SkyFormErrorModule, typeof i8.SkyFormErrorsModule, typeof i9.SkyFormsResourcesModule, typeof i10.SkyHelpInlineModule, typeof i11.SkyIconModule, typeof i12.SkyIdModule, typeof i12.SkyTrimModule], [typeof i1.SkyCheckboxComponent, typeof i2.SkyCheckboxLabelComponent, typeof i6.SkyCheckboxGroupComponent, typeof i7.SkyFormErrorModule]>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyCheckboxModule, [typeof i1.SkyCheckboxComponent, typeof i2.SkyCheckboxLabelComponent, typeof i3.SkyCheckboxLabelTextLabelComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.SkyCheckboxGroupComponent, typeof i7.SkyFormErrorModule, typeof i8.SkyFormErrorsModule, typeof i9.SkyFormsResourcesModule, typeof i10.SkyHelpInlineModule, typeof i11.SkyIconModule, typeof i12.SkyIdModule, typeof i12.SkyTrimModule, typeof i13.SkyThemeModule], [typeof i1.SkyCheckboxComponent, typeof i2.SkyCheckboxLabelComponent, typeof i6.SkyCheckboxGroupComponent, typeof i7.SkyFormErrorModule]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyCheckboxModule>;
|
|
18
19
|
}
|
|
@@ -5,6 +5,7 @@ import { SkyRadioComponent } from './radio.component';
|
|
|
5
5
|
import { SkyRadioGroupHeadingLevel } from './types/radio-group-heading-level';
|
|
6
6
|
import { SkyRadioGroupHeadingStyle } from './types/radio-group-heading-style';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@skyux/theme";
|
|
8
9
|
/**
|
|
9
10
|
* Organizes radio buttons into a group. It is required for radio
|
|
10
11
|
* buttons on Angular reactive forms, and we recommend using it with all radio buttons.
|
|
@@ -146,7 +147,7 @@ export declare class SkyRadioGroupComponent implements AfterContentInit, OnDestr
|
|
|
146
147
|
registerOnChange(fn: (value: any) => void): void;
|
|
147
148
|
registerOnTouched(fn: any): void;
|
|
148
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyRadioGroupComponent, [null, null, { optional: true; self: true; }]>;
|
|
149
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyRadioGroupComponent, "sky-radio-group", never, { "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "headingLevel": { "alias": "headingLevel"; "required": false; }; "headingStyle": { "alias": "headingStyle"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "headingText": { "alias": "headingText"; "required": false; }; "headingHidden": { "alias": "headingHidden"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, {}, ["radios"], ["*", "sky-form-error"], false,
|
|
150
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyRadioGroupComponent, "sky-radio-group", never, { "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "headingLevel": { "alias": "headingLevel"; "required": false; }; "headingStyle": { "alias": "headingStyle"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "headingText": { "alias": "headingText"; "required": false; }; "headingHidden": { "alias": "headingHidden"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, {}, ["radios"], ["*", "sky-form-error"], false, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
150
151
|
static ngAcceptInputType_disabled: unknown;
|
|
151
152
|
static ngAcceptInputType_headingLevel: unknown;
|
|
152
153
|
static ngAcceptInputType_headingStyle: unknown;
|
|
@@ -4,6 +4,7 @@ import { Subject } from 'rxjs';
|
|
|
4
4
|
import { SkyRadioChange } from './types/radio-change';
|
|
5
5
|
import { SkyRadioType } from './types/radio-type';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@skyux/theme";
|
|
7
8
|
/**
|
|
8
9
|
* Renders a SKY UX-themed replacement for an HTML `input` element
|
|
9
10
|
* with `type="radio"`. When users select a radio button, its value is driven through an
|
|
@@ -155,7 +156,7 @@ export declare class SkyRadioComponent implements OnDestroy, ControlValueAccesso
|
|
|
155
156
|
onInputChange(event: Event): void;
|
|
156
157
|
onInputFocusChange(): void;
|
|
157
158
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyRadioComponent, never>;
|
|
158
|
-
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; }; "icon": { "alias": "icon"; "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,
|
|
159
|
+
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; }; "icon": { "alias": "icon"; "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.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
159
160
|
static ngAcceptInputType_disabled: unknown;
|
|
160
161
|
static ngAcceptInputType_labelHidden: unknown;
|
|
161
162
|
}
|
|
@@ -10,8 +10,9 @@ import * as i8 from "@skyux/help-inline";
|
|
|
10
10
|
import * as i9 from "@skyux/icon";
|
|
11
11
|
import * as i10 from "@skyux/core";
|
|
12
12
|
import * as i11 from "../shared/sky-forms-resources.module";
|
|
13
|
+
import * as i12 from "@skyux/theme";
|
|
13
14
|
export declare class SkyRadioModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyRadioModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyRadioModule, [typeof i1.SkyRadioComponent, typeof i2.SkyRadioGroupComponent, typeof i3.SkyRadioLabelComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.SkyFormErrorModule, typeof i7.SkyFormErrorsModule, typeof i8.SkyHelpInlineModule, typeof i9.SkyIconModule, typeof i10.SkyIdModule, typeof i11.SkyFormsResourcesModule, typeof i10.SkyTrimModule], [typeof i6.SkyFormErrorModule, typeof i1.SkyRadioComponent, typeof i2.SkyRadioGroupComponent, typeof i3.SkyRadioLabelComponent]>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyRadioModule, [typeof i1.SkyRadioComponent, typeof i2.SkyRadioGroupComponent, typeof i3.SkyRadioLabelComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.SkyFormErrorModule, typeof i7.SkyFormErrorsModule, typeof i8.SkyHelpInlineModule, typeof i9.SkyIconModule, typeof i10.SkyIdModule, typeof i11.SkyFormsResourcesModule, typeof i10.SkyTrimModule, typeof i12.SkyThemeModule], [typeof i6.SkyFormErrorModule, typeof i1.SkyRadioComponent, typeof i2.SkyRadioGroupComponent, typeof i3.SkyRadioLabelComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyRadioModule>;
|
|
17
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/forms",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.19.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.
|
|
45
|
-
"@skyux/core": "11.
|
|
46
|
-
"@skyux/help-inline": "11.
|
|
47
|
-
"@skyux/i18n": "11.
|
|
48
|
-
"@skyux/icon": "11.
|
|
49
|
-
"@skyux/indicators": "11.
|
|
50
|
-
"@skyux/popovers": "11.
|
|
51
|
-
"@skyux/theme": "11.
|
|
44
|
+
"@skyux-sdk/testing": "11.19.0",
|
|
45
|
+
"@skyux/core": "11.19.0",
|
|
46
|
+
"@skyux/help-inline": "11.19.0",
|
|
47
|
+
"@skyux/i18n": "11.19.0",
|
|
48
|
+
"@skyux/icon": "11.19.0",
|
|
49
|
+
"@skyux/indicators": "11.19.0",
|
|
50
|
+
"@skyux/popovers": "11.19.0",
|
|
51
|
+
"@skyux/theme": "11.19.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"tslib": "^2.6.3"
|