@skyux/forms 6.0.0-beta.1 → 6.0.0-beta.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/documentation.json +723 -694
- package/esm2020/lib/modules/character-counter/character-counter-indicator.component.mjs +3 -3
- package/esm2020/lib/modules/character-counter/character-counter.directive.mjs +3 -3
- package/esm2020/lib/modules/character-counter/character-counter.module.mjs +4 -4
- package/esm2020/lib/modules/checkbox/checkbox-label.component.mjs +3 -3
- package/esm2020/lib/modules/checkbox/checkbox-required-validator.directive.mjs +4 -6
- package/esm2020/lib/modules/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/lib/modules/checkbox/checkbox.module.mjs +4 -4
- package/esm2020/lib/modules/file-attachment/file-attachment-label.component.mjs +3 -3
- package/esm2020/lib/modules/file-attachment/file-attachment.component.mjs +21 -20
- package/esm2020/lib/modules/file-attachment/file-attachment.service.mjs +3 -3
- package/esm2020/lib/modules/file-attachment/file-attachments.module.mjs +4 -4
- package/esm2020/lib/modules/file-attachment/file-drop.component.mjs +4 -5
- package/esm2020/lib/modules/file-attachment/file-item.component.mjs +3 -3
- package/esm2020/lib/modules/file-attachment/file-item.service.mjs +4 -6
- package/esm2020/lib/modules/file-attachment/file-size.pipe.mjs +4 -6
- package/esm2020/lib/modules/input-box/input-box-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/input-box/input-box-host.service.mjs +3 -3
- package/esm2020/lib/modules/input-box/input-box-populate-args.mjs +1 -1
- package/esm2020/lib/modules/input-box/input-box.component.mjs +4 -4
- package/esm2020/lib/modules/input-box/input-box.module.mjs +4 -4
- package/esm2020/lib/modules/radio/radio-group.component.mjs +4 -4
- package/esm2020/lib/modules/radio/radio-label.component.mjs +3 -3
- package/esm2020/lib/modules/radio/radio.component.mjs +4 -6
- package/esm2020/lib/modules/radio/radio.module.mjs +4 -4
- package/esm2020/lib/modules/selection-box/selection-box-adapter.service.mjs +4 -5
- package/esm2020/lib/modules/selection-box/selection-box-description.component.mjs +3 -3
- package/esm2020/lib/modules/selection-box/selection-box-grid.component.mjs +13 -11
- package/esm2020/lib/modules/selection-box/selection-box-header.component.mjs +3 -3
- package/esm2020/lib/modules/selection-box/selection-box.component.mjs +3 -3
- package/esm2020/lib/modules/selection-box/selection-box.module.mjs +4 -4
- package/esm2020/lib/modules/shared/sky-forms-resources.module.mjs +4 -4
- package/esm2020/lib/modules/toggle-switch/toggle-switch-label.component.mjs +3 -3
- package/esm2020/lib/modules/toggle-switch/toggle-switch.component.mjs +4 -6
- package/esm2020/lib/modules/toggle-switch/toggle-switch.module.mjs +4 -4
- package/fesm2015/skyux-forms.mjs +133 -140
- package/fesm2015/skyux-forms.mjs.map +1 -1
- package/fesm2020/skyux-forms.mjs +131 -140
- package/fesm2020/skyux-forms.mjs.map +1 -1
- package/lib/modules/file-attachment/file-attachment.component.d.ts +4 -4
- package/lib/modules/input-box/input-box-populate-args.d.ts +6 -6
- package/lib/modules/input-box/input-box.component.d.ts +6 -6
- package/lib/modules/selection-box/selection-box-grid.component.d.ts +3 -3
- package/package.json +25 -22
|
@@ -11,11 +11,11 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
* Provides an element to attach a single local file.
|
|
12
12
|
*/
|
|
13
13
|
export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterContentInit, OnInit, OnDestroy {
|
|
14
|
-
themeSvc: SkyThemeService;
|
|
15
14
|
private changeDetector;
|
|
16
15
|
private fileAttachmentService;
|
|
17
16
|
private fileItemService;
|
|
18
|
-
private ngControl
|
|
17
|
+
private ngControl?;
|
|
18
|
+
private themeSvc?;
|
|
19
19
|
/**
|
|
20
20
|
* Specifies a comma-delimited string literal of MIME types that users can attach.
|
|
21
21
|
* By default, all file types are allowed.
|
|
@@ -73,7 +73,7 @@ export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterC
|
|
|
73
73
|
private ngUnsubscribe;
|
|
74
74
|
private _disabled;
|
|
75
75
|
private _value;
|
|
76
|
-
constructor(
|
|
76
|
+
constructor(changeDetector: ChangeDetectorRef, fileAttachmentService: SkyFileAttachmentService, fileItemService: SkyFileItemService, ngControl?: NgControl, themeSvc?: SkyThemeService);
|
|
77
77
|
ngOnInit(): void;
|
|
78
78
|
ngAfterViewInit(): void;
|
|
79
79
|
ngAfterContentInit(): void;
|
|
@@ -103,6 +103,6 @@ export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterC
|
|
|
103
103
|
private updateFileAttachmentButton;
|
|
104
104
|
private _onChange;
|
|
105
105
|
private _onTouched;
|
|
106
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileAttachmentComponent, [null, null, null,
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileAttachmentComponent, [null, null, null, { optional: true; self: true; }, { optional: true; }]>;
|
|
107
107
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyFileAttachmentComponent, "sky-file-attachment", never, { "acceptedTypes": "acceptedTypes"; "disabled": "disabled"; "maxFileSize": "maxFileSize"; "minFileSize": "minFileSize"; "validateFn": "validateFn"; "required": "required"; }, { "fileChange": "fileChange"; "fileClick": "fileClick"; }, ["labelComponents"], ["sky-file-attachment-label"]>;
|
|
108
108
|
}
|
|
@@ -3,10 +3,10 @@ import { TemplateRef } from '@angular/core';
|
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
5
|
export interface SkyInputBoxPopulateArgs {
|
|
6
|
-
inputTemplate: TemplateRef<
|
|
7
|
-
buttonsTemplate?: TemplateRef<
|
|
8
|
-
buttonsLeftTemplate?: TemplateRef<
|
|
9
|
-
buttonsInsetTemplate?: TemplateRef<
|
|
10
|
-
iconsInsetTemplate?: TemplateRef<
|
|
11
|
-
iconsInsetLeftTemplate?: TemplateRef<
|
|
6
|
+
inputTemplate: TemplateRef<unknown>;
|
|
7
|
+
buttonsTemplate?: TemplateRef<unknown>;
|
|
8
|
+
buttonsLeftTemplate?: TemplateRef<unknown>;
|
|
9
|
+
buttonsInsetTemplate?: TemplateRef<unknown>;
|
|
10
|
+
iconsInsetTemplate?: TemplateRef<unknown>;
|
|
11
|
+
iconsInsetLeftTemplate?: TemplateRef<unknown>;
|
|
12
12
|
}
|
|
@@ -30,13 +30,13 @@ export declare class SkyInputBoxComponent implements OnInit {
|
|
|
30
30
|
* @default false
|
|
31
31
|
*/
|
|
32
32
|
disabled: boolean;
|
|
33
|
-
hostInputTemplate: TemplateRef<
|
|
34
|
-
hostButtonsTemplate: TemplateRef<
|
|
35
|
-
hostButtonsInsetTemplate: TemplateRef<
|
|
36
|
-
hostButtonsLeftTemplate: TemplateRef<
|
|
33
|
+
hostInputTemplate: TemplateRef<unknown>;
|
|
34
|
+
hostButtonsTemplate: TemplateRef<unknown>;
|
|
35
|
+
hostButtonsInsetTemplate: TemplateRef<unknown>;
|
|
36
|
+
hostButtonsLeftTemplate: TemplateRef<unknown>;
|
|
37
37
|
formControlHasFocus: boolean;
|
|
38
|
-
hostIconsInsetTemplate: TemplateRef<
|
|
39
|
-
hostIconsInsetLeftTemplate: TemplateRef<
|
|
38
|
+
hostIconsInsetTemplate: TemplateRef<unknown>;
|
|
39
|
+
hostIconsInsetLeftTemplate: TemplateRef<unknown>;
|
|
40
40
|
formControl: FormControlDirective;
|
|
41
41
|
formControlByName: FormControlName;
|
|
42
42
|
ngModel: NgModel;
|
|
@@ -9,12 +9,12 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* Creates a grid layout for an array of selection boxes.
|
|
10
10
|
*/
|
|
11
11
|
export declare class SkySelectionBoxGridComponent implements AfterViewInit, OnDestroy, OnInit {
|
|
12
|
-
private themeSvc;
|
|
13
12
|
private coreAdapterService;
|
|
14
13
|
private selectionBoxAdapter;
|
|
15
14
|
private hostElRef;
|
|
16
15
|
private mutationObserverSvc;
|
|
17
16
|
private ngZone;
|
|
17
|
+
private themeSvc?;
|
|
18
18
|
/**
|
|
19
19
|
* @internal
|
|
20
20
|
* Specifies how to display the selection boxes in the grid.
|
|
@@ -29,7 +29,7 @@ export declare class SkySelectionBoxGridComponent implements AfterViewInit, OnDe
|
|
|
29
29
|
private ngUnsubscribe;
|
|
30
30
|
private _alignItems;
|
|
31
31
|
private _currentBreakpoint;
|
|
32
|
-
constructor(
|
|
32
|
+
constructor(coreAdapterService: SkyCoreAdapterService, selectionBoxAdapter: SkySelectionBoxAdapterService, hostElRef: ElementRef, mutationObserverSvc: MutationObserverService, ngZone: NgZone, themeSvc?: SkyThemeService);
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
ngAfterViewInit(): void;
|
|
35
35
|
ngOnDestroy(): void;
|
|
@@ -38,6 +38,6 @@ export declare class SkySelectionBoxGridComponent implements AfterViewInit, OnDe
|
|
|
38
38
|
private destroyMutationObserver;
|
|
39
39
|
private updateBreakpointClass;
|
|
40
40
|
private updateChildrenHeights;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkySelectionBoxGridComponent,
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkySelectionBoxGridComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
42
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkySelectionBoxGridComponent, "sky-selection-box-grid", never, { "alignItems": "alignItems"; }, {}, ["selectionBoxes"], ["sky-selection-box"]>;
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/forms",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.10",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -15,26 +15,6 @@
|
|
|
15
15
|
"url": "https://github.com/blackbaud/skyux/issues"
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/blackbaud/skyux#readme",
|
|
18
|
-
"peerDependencies": {
|
|
19
|
-
"@angular/common": "^13.2.7",
|
|
20
|
-
"@angular/core": "^13.2.7",
|
|
21
|
-
"@angular/forms": "^13.2.7",
|
|
22
|
-
"@angular/platform-browser": "^13.2.7",
|
|
23
|
-
"@skyux-sdk/testing": "6.0.0-beta.1",
|
|
24
|
-
"@skyux/core": "6.0.0-beta.1",
|
|
25
|
-
"@skyux/i18n": "6.0.0-beta.1",
|
|
26
|
-
"@skyux/indicators": "6.0.0-beta.1",
|
|
27
|
-
"@skyux/theme": "6.0.0-beta.1"
|
|
28
|
-
},
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"tslib": "^2.3.1"
|
|
31
|
-
},
|
|
32
|
-
"module": "fesm2015/skyux-forms.mjs",
|
|
33
|
-
"es2020": "fesm2020/skyux-forms.mjs",
|
|
34
|
-
"esm2020": "esm2020/skyux-forms.mjs",
|
|
35
|
-
"fesm2020": "fesm2020/skyux-forms.mjs",
|
|
36
|
-
"fesm2015": "fesm2015/skyux-forms.mjs",
|
|
37
|
-
"typings": "skyux-forms.d.ts",
|
|
38
18
|
"exports": {
|
|
39
19
|
"./package.json": {
|
|
40
20
|
"default": "./package.json"
|
|
@@ -54,7 +34,30 @@
|
|
|
54
34
|
"es2015": "./fesm2015/skyux-forms-testing.mjs",
|
|
55
35
|
"node": "./fesm2015/skyux-forms-testing.mjs",
|
|
56
36
|
"default": "./fesm2020/skyux-forms-testing.mjs"
|
|
37
|
+
},
|
|
38
|
+
"./documentation.json": {
|
|
39
|
+
"default": "./documentation.json"
|
|
57
40
|
}
|
|
58
41
|
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@angular/common": "^13.3.2",
|
|
44
|
+
"@angular/core": "^13.3.2",
|
|
45
|
+
"@angular/forms": "^13.3.2",
|
|
46
|
+
"@angular/platform-browser": "^13.3.2",
|
|
47
|
+
"@skyux-sdk/testing": "6.0.0-beta.10",
|
|
48
|
+
"@skyux/core": "6.0.0-beta.10",
|
|
49
|
+
"@skyux/i18n": "6.0.0-beta.10",
|
|
50
|
+
"@skyux/indicators": "6.0.0-beta.10",
|
|
51
|
+
"@skyux/theme": "6.0.0-beta.10"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"tslib": "^2.3.1"
|
|
55
|
+
},
|
|
56
|
+
"module": "fesm2015/skyux-forms.mjs",
|
|
57
|
+
"es2020": "fesm2020/skyux-forms.mjs",
|
|
58
|
+
"esm2020": "esm2020/skyux-forms.mjs",
|
|
59
|
+
"fesm2020": "fesm2020/skyux-forms.mjs",
|
|
60
|
+
"fesm2015": "fesm2015/skyux-forms.mjs",
|
|
61
|
+
"typings": "skyux-forms.d.ts",
|
|
59
62
|
"sideEffects": false
|
|
60
|
-
}
|
|
63
|
+
}
|