@skyux/forms 10.42.0 → 10.44.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 +2954 -2954
- package/esm2022/lib/modules/character-counter/character-counter-indicator.component.mjs +4 -4
- package/esm2022/lib/modules/character-counter/character-counter-screen-reader.pipe.mjs +4 -4
- package/esm2022/lib/modules/character-counter/character-counter.directive.mjs +4 -4
- package/esm2022/lib/modules/character-counter/character-counter.module.mjs +5 -5
- package/esm2022/lib/modules/checkbox/checkbox-group.component.mjs +4 -4
- package/esm2022/lib/modules/checkbox/checkbox-label-text-label.component.mjs +4 -4
- package/esm2022/lib/modules/checkbox/checkbox-label.component.mjs +4 -4
- package/esm2022/lib/modules/checkbox/checkbox.component.mjs +4 -4
- package/esm2022/lib/modules/checkbox/checkbox.module.mjs +5 -5
- package/esm2022/lib/modules/field-group/field-group.component.mjs +4 -4
- package/esm2022/lib/modules/field-group/field-group.module.mjs +5 -5
- package/esm2022/lib/modules/file-attachment/file-attachment-label.component.mjs +4 -4
- package/esm2022/lib/modules/file-attachment/file-attachment.component.mjs +4 -4
- package/esm2022/lib/modules/file-attachment/file-attachment.service.mjs +4 -4
- package/esm2022/lib/modules/file-attachment/file-attachments.module.mjs +5 -5
- package/esm2022/lib/modules/file-attachment/file-drop.component.mjs +4 -4
- package/esm2022/lib/modules/file-attachment/file-item.component.mjs +4 -4
- package/esm2022/lib/modules/file-attachment/file-item.service.mjs +4 -4
- package/esm2022/lib/modules/file-attachment/file-size.pipe.mjs +4 -4
- package/esm2022/lib/modules/form-error/form-error.component.mjs +4 -4
- package/esm2022/lib/modules/form-error/form-error.module.mjs +5 -5
- package/esm2022/lib/modules/form-error/form-errors.component.mjs +4 -4
- package/esm2022/lib/modules/form-error/form-errors.module.mjs +5 -5
- package/esm2022/lib/modules/input-box/input-box-adapter.service.mjs +4 -4
- package/esm2022/lib/modules/input-box/input-box-control.directive.mjs +4 -4
- package/esm2022/lib/modules/input-box/input-box-hint-text.pipe.mjs +4 -4
- package/esm2022/lib/modules/input-box/input-box-host.service.mjs +21 -4
- package/esm2022/lib/modules/input-box/input-box.component.mjs +19 -6
- package/esm2022/lib/modules/input-box/input-box.module.mjs +5 -5
- package/esm2022/lib/modules/radio/radio-group-id.service.mjs +4 -4
- package/esm2022/lib/modules/radio/radio-group.component.mjs +4 -4
- package/esm2022/lib/modules/radio/radio-label.component.mjs +4 -4
- package/esm2022/lib/modules/radio/radio.component.mjs +4 -4
- package/esm2022/lib/modules/radio/radio.module.mjs +5 -5
- package/esm2022/lib/modules/required-state/required-state.directive.mjs +4 -4
- package/esm2022/lib/modules/selection-box/selection-box-adapter.service.mjs +4 -4
- package/esm2022/lib/modules/selection-box/selection-box-description.component.mjs +4 -4
- package/esm2022/lib/modules/selection-box/selection-box-grid.component.mjs +4 -4
- package/esm2022/lib/modules/selection-box/selection-box-header.component.mjs +4 -4
- package/esm2022/lib/modules/selection-box/selection-box.component.mjs +4 -4
- package/esm2022/lib/modules/selection-box/selection-box.module.mjs +5 -5
- package/esm2022/lib/modules/shared/form-field-label-text-required.directive.mjs +4 -4
- package/esm2022/lib/modules/shared/form-field-label-text-required.service.mjs +4 -4
- package/esm2022/lib/modules/shared/sky-forms-resources.module.mjs +5 -5
- package/esm2022/lib/modules/toggle-switch/toggle-switch-label.component.mjs +4 -4
- package/esm2022/lib/modules/toggle-switch/toggle-switch.component.mjs +4 -4
- package/esm2022/lib/modules/toggle-switch/toggle-switch.module.mjs +5 -5
- package/fesm2022/skyux-forms.mjs +183 -154
- package/fesm2022/skyux-forms.mjs.map +1 -1
- package/lib/modules/input-box/input-box-host.service.d.ts +10 -1
- package/package.json +14 -14
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
1
2
|
import { Observable } from 'rxjs';
|
|
2
3
|
import { SkyInputBoxPopulateArgs } from './input-box-populate-args';
|
|
3
4
|
import { SkyInputBoxComponent } from './input-box.component';
|
|
@@ -5,17 +6,25 @@ import * as i0 from "@angular/core";
|
|
|
5
6
|
/**
|
|
6
7
|
* @internal
|
|
7
8
|
*/
|
|
8
|
-
export declare class SkyInputBoxHostService {
|
|
9
|
+
export declare class SkyInputBoxHostService implements OnDestroy {
|
|
9
10
|
#private;
|
|
11
|
+
required: Observable<boolean>;
|
|
10
12
|
get controlId(): string;
|
|
11
13
|
get labelId(): string;
|
|
12
14
|
get labelText(): string;
|
|
13
15
|
get ariaDescribedBy(): Observable<string | undefined> | undefined;
|
|
14
16
|
init(host: SkyInputBoxComponent): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
15
18
|
populate(args: SkyInputBoxPopulateArgs): void;
|
|
16
19
|
setHintText(hintText: string | undefined): void;
|
|
17
20
|
setHintTextHidden(hide: boolean): void;
|
|
18
21
|
setHintTextScreenReaderOnly(hide: boolean): void;
|
|
22
|
+
/**
|
|
23
|
+
* Set required so that input box displays the label correctly. When the input is supplied by the consumer it is a content
|
|
24
|
+
* child that input box can read required from and this is unnecessary. When the input is supplied internally by the
|
|
25
|
+
* component the input box does not have a ref to it, so the component needs to inform the input box of its required state.
|
|
26
|
+
*/
|
|
27
|
+
setRequired(required: boolean): void;
|
|
19
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyInputBoxHostService, never>;
|
|
20
29
|
static ɵprov: i0.ɵɵInjectableDeclaration<SkyInputBoxHostService>;
|
|
21
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/forms",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.44.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@angular/cdk": "^17.3.
|
|
40
|
-
"@angular/common": "^17.3.
|
|
41
|
-
"@angular/core": "^17.3.
|
|
42
|
-
"@angular/forms": "^17.3.
|
|
43
|
-
"@angular/platform-browser": "^17.3.
|
|
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.
|
|
39
|
+
"@angular/cdk": "^17.3.10",
|
|
40
|
+
"@angular/common": "^17.3.12",
|
|
41
|
+
"@angular/core": "^17.3.12",
|
|
42
|
+
"@angular/forms": "^17.3.12",
|
|
43
|
+
"@angular/platform-browser": "^17.3.12",
|
|
44
|
+
"@skyux-sdk/testing": "10.44.0",
|
|
45
|
+
"@skyux/core": "10.44.0",
|
|
46
|
+
"@skyux/help-inline": "10.44.0",
|
|
47
|
+
"@skyux/i18n": "10.44.0",
|
|
48
|
+
"@skyux/indicators": "10.44.0",
|
|
49
|
+
"@skyux/popovers": "10.44.0",
|
|
50
|
+
"@skyux/theme": "10.44.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@skyux/icon": "10.
|
|
53
|
+
"@skyux/icon": "10.44.0",
|
|
54
54
|
"tslib": "^2.6.2"
|
|
55
55
|
},
|
|
56
56
|
"module": "fesm2022/skyux-forms.mjs",
|