@skyux/forms 10.33.0 → 10.34.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 +2741 -2763
- package/esm2022/lib/modules/checkbox/checkbox-group.component.mjs +14 -11
- package/esm2022/lib/modules/checkbox/checkbox-label-text-label.component.mjs +3 -3
- package/esm2022/lib/modules/checkbox/checkbox.component.mjs +13 -11
- package/esm2022/lib/modules/field-group/field-group.component.mjs +7 -4
- package/esm2022/lib/modules/file-attachment/file-attachment.component.mjs +4 -3
- package/esm2022/lib/modules/file-attachment/file-drop.component.mjs +4 -3
- package/esm2022/lib/modules/file-attachment/file-item.component.mjs +1 -1
- package/esm2022/lib/modules/file-attachment/file-size.pipe.mjs +4 -1
- package/esm2022/lib/modules/radio/radio-group.component.mjs +14 -11
- package/esm2022/lib/modules/radio/radio-label.component.mjs +2 -2
- package/esm2022/lib/modules/radio/radio.component.mjs +2 -2
- package/esm2022/lib/modules/shared/sky-forms-resources.module.mjs +5 -5
- package/fesm2022/skyux-forms.mjs +110 -98
- package/fesm2022/skyux-forms.mjs.map +1 -1
- package/lib/modules/checkbox/checkbox-group.component.d.ts +2 -2
- package/lib/modules/checkbox/checkbox.component.d.ts +2 -1
- package/lib/modules/file-attachment/file-size.pipe.d.ts +1 -1
- package/lib/modules/radio/radio-group.component.d.ts +2 -2
- package/package.json +9 -9
|
@@ -36,7 +36,7 @@ export declare class SkyCheckboxGroupComponent implements Validator {
|
|
|
36
36
|
* The heading [font style](https://developer.blackbaud.com/skyux/design/styles/typography#headings).
|
|
37
37
|
* @default 4
|
|
38
38
|
*/
|
|
39
|
-
headingStyle: SkyCheckboxGroupHeadingStyle;
|
|
39
|
+
set headingStyle(value: SkyCheckboxGroupHeadingStyle);
|
|
40
40
|
/**
|
|
41
41
|
* [Persistent inline help text](https://developer.blackbaud.com/skyux/design/guidelines/user-assistance#inline-help) that provides
|
|
42
42
|
* additional context to the user.
|
|
@@ -60,8 +60,8 @@ export declare class SkyCheckboxGroupComponent implements Validator {
|
|
|
60
60
|
helpKey: string | undefined;
|
|
61
61
|
stackedLg: boolean;
|
|
62
62
|
stackedXL: boolean;
|
|
63
|
-
get headingClass(): string;
|
|
64
63
|
protected errorId: string;
|
|
64
|
+
protected headingClass: string;
|
|
65
65
|
protected formErrorsDataId: string;
|
|
66
66
|
protected formGroup: FormGroup | null | undefined;
|
|
67
67
|
validate(formGroup: FormGroup): ValidationErrors | null;
|
|
@@ -3,6 +3,7 @@ import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } fr
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { SkyCheckboxChange } from './checkbox-change';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@skyux/theme";
|
|
6
7
|
/**
|
|
7
8
|
* Replaces the HTML input element with `type="checkbox"`. When users select a checkbox, its value
|
|
8
9
|
* is driven through an `ngModel` attribute that you specify on the `sky-checkbox` element.
|
|
@@ -181,7 +182,7 @@ export declare class SkyCheckboxComponent implements ControlValueAccessor, OnIni
|
|
|
181
182
|
/** Called when the checkbox is blurred. Needed to properly implement ControlValueAccessor. */
|
|
182
183
|
onTouched: () => any;
|
|
183
184
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCheckboxComponent, never>;
|
|
184
|
-
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; }; "icon": { "alias": "icon"; "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,
|
|
185
|
+
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; }; "icon": { "alias": "icon"; "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.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
185
186
|
static ngAcceptInputType_required: unknown;
|
|
186
187
|
static ngAcceptInputType_labelHidden: unknown;
|
|
187
188
|
static ngAcceptInputType_stacked: unknown;
|
|
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class SkyFileSizePipe implements PipeTransform {
|
|
9
9
|
#private;
|
|
10
10
|
constructor(decimalPipe: DecimalPipe, resourcesService: SkyLibResourcesService);
|
|
11
|
-
transform(input?: number | null): string;
|
|
11
|
+
transform(input?: number | string | null): string;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileSizePipe, never>;
|
|
13
13
|
static ɵpipe: i0.ɵɵPipeDeclaration<SkyFileSizePipe, "skyFileSize", false>;
|
|
14
14
|
}
|
|
@@ -49,7 +49,7 @@ export declare class SkyRadioGroupComponent implements AfterContentInit, AfterVi
|
|
|
49
49
|
* The heading [font style](https://developer.blackbaud.com/skyux/design/styles/typography#headings).
|
|
50
50
|
* @default 4
|
|
51
51
|
*/
|
|
52
|
-
headingStyle: SkyRadioGroupHeadingStyle;
|
|
52
|
+
set headingStyle(value: SkyRadioGroupHeadingStyle);
|
|
53
53
|
/**
|
|
54
54
|
* The name for the collection of radio buttons that the component groups together.
|
|
55
55
|
* This property overwrites the deprecated `name` property on individual `sky-radio` elements,
|
|
@@ -118,7 +118,6 @@ export declare class SkyRadioGroupComponent implements AfterContentInit, AfterVi
|
|
|
118
118
|
* as configured by the application.
|
|
119
119
|
*/
|
|
120
120
|
helpKey: string | undefined;
|
|
121
|
-
get headingClass(): string;
|
|
122
121
|
/**
|
|
123
122
|
* Our radio components are usually implemented using an unordered list. This is an
|
|
124
123
|
* accessibility violation because the unordered list has an implicit role which
|
|
@@ -131,6 +130,7 @@ export declare class SkyRadioGroupComponent implements AfterContentInit, AfterVi
|
|
|
131
130
|
display: string | undefined;
|
|
132
131
|
stackedLg: boolean;
|
|
133
132
|
stackedXL: boolean;
|
|
133
|
+
protected headingClass: string;
|
|
134
134
|
protected errorId: string;
|
|
135
135
|
protected ngControl: NgControl | undefined;
|
|
136
136
|
constructor(changeDetector: ChangeDetectorRef, radioGroupIdSvc: SkyRadioGroupIdService, ngControl: NgControl);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/forms",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.34.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"@angular/core": "^17.3.4",
|
|
42
42
|
"@angular/forms": "^17.3.4",
|
|
43
43
|
"@angular/platform-browser": "^17.3.4",
|
|
44
|
-
"@skyux-sdk/testing": "10.
|
|
45
|
-
"@skyux/core": "10.
|
|
46
|
-
"@skyux/help-inline": "10.
|
|
47
|
-
"@skyux/i18n": "10.
|
|
48
|
-
"@skyux/indicators": "10.
|
|
49
|
-
"@skyux/popovers": "10.
|
|
50
|
-
"@skyux/theme": "10.
|
|
44
|
+
"@skyux-sdk/testing": "10.34.0",
|
|
45
|
+
"@skyux/core": "10.34.0",
|
|
46
|
+
"@skyux/help-inline": "10.34.0",
|
|
47
|
+
"@skyux/i18n": "10.34.0",
|
|
48
|
+
"@skyux/indicators": "10.34.0",
|
|
49
|
+
"@skyux/popovers": "10.34.0",
|
|
50
|
+
"@skyux/theme": "10.34.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@skyux/icon": "10.
|
|
53
|
+
"@skyux/icon": "10.34.0",
|
|
54
54
|
"tslib": "^2.6.2"
|
|
55
55
|
},
|
|
56
56
|
"module": "fesm2022/skyux-forms.mjs",
|