@skyux/forms 11.0.0-alpha.7 → 11.0.0-alpha.8
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 +2350 -2411
- package/esm2022/lib/modules/file-attachment/file-attachment.component.mjs +13 -9
- package/esm2022/lib/modules/radio/radio-group.component.mjs +12 -14
- package/fesm2022/skyux-forms.mjs +20 -20
- package/fesm2022/skyux-forms.mjs.map +1 -1
- package/lib/modules/file-attachment/file-attachment.component.d.ts +3 -1
- package/lib/modules/radio/radio-group.component.d.ts +5 -4
- package/package.json +9 -9
|
@@ -104,7 +104,7 @@ export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterC
|
|
|
104
104
|
* is complete.
|
|
105
105
|
* For more information about the `aria-required` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-required).
|
|
106
106
|
*/
|
|
107
|
-
required: boolean
|
|
107
|
+
required: boolean;
|
|
108
108
|
display: string | undefined;
|
|
109
109
|
set value(value: SkyFileItem | undefined | null);
|
|
110
110
|
get value(): SkyFileItem | undefined;
|
|
@@ -115,6 +115,7 @@ export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterC
|
|
|
115
115
|
inputEl: ElementRef | undefined;
|
|
116
116
|
labelComponents: QueryList<SkyFileAttachmentLabelComponent> | undefined;
|
|
117
117
|
isImage: boolean;
|
|
118
|
+
protected get isRequired(): boolean;
|
|
118
119
|
protected ngControl: NgControl | undefined;
|
|
119
120
|
protected errorId: string;
|
|
120
121
|
protected fileErrorName: SkyFileItemErrorType | undefined;
|
|
@@ -147,4 +148,5 @@ export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterC
|
|
|
147
148
|
static ngAcceptInputType_disabled: unknown;
|
|
148
149
|
static ngAcceptInputType_labelHidden: unknown;
|
|
149
150
|
static ngAcceptInputType_stacked: unknown;
|
|
151
|
+
static ngAcceptInputType_required: unknown;
|
|
150
152
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit,
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { SkyRadioGroupIdService } from './radio-group-id.service';
|
|
4
4
|
import { SkyRadioComponent } from './radio.component';
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
* On Angular forms, the component manages the selected values and keeps the forms up-to-date.
|
|
12
12
|
* When users select a radio button, its value is driven through an `ngModel` attribute that you specify on the `sky-radio-group` element.
|
|
13
13
|
*/
|
|
14
|
-
export declare class SkyRadioGroupComponent implements AfterContentInit,
|
|
14
|
+
export declare class SkyRadioGroupComponent implements AfterContentInit, OnInit, OnDestroy {
|
|
15
15
|
#private;
|
|
16
16
|
/**
|
|
17
17
|
* The HTML element ID of the element that labels
|
|
@@ -66,7 +66,7 @@ export declare class SkyRadioGroupComponent implements AfterContentInit, AfterVi
|
|
|
66
66
|
* For more information about the `aria-required` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-required).
|
|
67
67
|
* @default false
|
|
68
68
|
*/
|
|
69
|
-
required: boolean
|
|
69
|
+
required: boolean;
|
|
70
70
|
/**
|
|
71
71
|
* Whether the radio button group is stacked on another form component. When specified,
|
|
72
72
|
* the appropriate vertical spacing is automatically added to the radio button group.
|
|
@@ -130,12 +130,12 @@ export declare class SkyRadioGroupComponent implements AfterContentInit, AfterVi
|
|
|
130
130
|
display: string | undefined;
|
|
131
131
|
stackedLg: boolean;
|
|
132
132
|
stackedXL: boolean;
|
|
133
|
+
protected get isRequired(): boolean;
|
|
133
134
|
protected headingClass: string;
|
|
134
135
|
protected errorId: string;
|
|
135
136
|
protected ngControl: NgControl | undefined;
|
|
136
137
|
constructor(changeDetector: ChangeDetectorRef, radioGroupIdSvc: SkyRadioGroupIdService, ngControl: NgControl);
|
|
137
138
|
ngAfterContentInit(): void;
|
|
138
|
-
ngAfterViewInit(): void;
|
|
139
139
|
watchForSelections(): void;
|
|
140
140
|
ngOnInit(): void;
|
|
141
141
|
ngOnDestroy(): void;
|
|
@@ -152,6 +152,7 @@ export declare class SkyRadioGroupComponent implements AfterContentInit, AfterVi
|
|
|
152
152
|
static ngAcceptInputType_disabled: unknown;
|
|
153
153
|
static ngAcceptInputType_headingLevel: unknown;
|
|
154
154
|
static ngAcceptInputType_headingStyle: unknown;
|
|
155
|
+
static ngAcceptInputType_required: unknown;
|
|
155
156
|
static ngAcceptInputType_stacked: unknown;
|
|
156
157
|
static ngAcceptInputType_headingHidden: unknown;
|
|
157
158
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/forms",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.8",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"@angular/core": "^18.1.2",
|
|
42
42
|
"@angular/forms": "^18.1.2",
|
|
43
43
|
"@angular/platform-browser": "^18.1.2",
|
|
44
|
-
"@skyux-sdk/testing": "11.0.0-alpha.
|
|
45
|
-
"@skyux/core": "11.0.0-alpha.
|
|
46
|
-
"@skyux/help-inline": "11.0.0-alpha.
|
|
47
|
-
"@skyux/i18n": "11.0.0-alpha.
|
|
48
|
-
"@skyux/indicators": "11.0.0-alpha.
|
|
49
|
-
"@skyux/popovers": "11.0.0-alpha.
|
|
50
|
-
"@skyux/theme": "11.0.0-alpha.
|
|
44
|
+
"@skyux-sdk/testing": "11.0.0-alpha.8",
|
|
45
|
+
"@skyux/core": "11.0.0-alpha.8",
|
|
46
|
+
"@skyux/help-inline": "11.0.0-alpha.8",
|
|
47
|
+
"@skyux/i18n": "11.0.0-alpha.8",
|
|
48
|
+
"@skyux/indicators": "11.0.0-alpha.8",
|
|
49
|
+
"@skyux/popovers": "11.0.0-alpha.8",
|
|
50
|
+
"@skyux/theme": "11.0.0-alpha.8"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@skyux/icon": "11.0.0-alpha.
|
|
53
|
+
"@skyux/icon": "11.0.0-alpha.8",
|
|
54
54
|
"tslib": "^2.6.3"
|
|
55
55
|
},
|
|
56
56
|
"module": "fesm2022/skyux-forms.mjs",
|