@abgov/angular-components 4.7.1-alpha.2 → 4.8.0-alpha.1
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/esm2022/lib/components/badge/badge.mjs +6 -2
- package/esm2022/lib/components/checkbox/checkbox.mjs +7 -2
- package/esm2022/lib/components/checkbox-list/checkbox-list.mjs +99 -0
- package/esm2022/lib/components/dropdown-item/dropdown-item.mjs +2 -2
- package/esm2022/lib/components/index.mjs +2 -1
- package/esm2022/lib/components/radio-item/radio-item.mjs +3 -9
- package/fesm2022/abgov-angular-components.mjs +110 -12
- package/fesm2022/abgov-angular-components.mjs.map +1 -1
- package/lib/components/badge/badge.d.ts +3 -2
- package/lib/components/checkbox/checkbox.d.ts +3 -1
- package/lib/components/checkbox-list/checkbox-list.d.ts +14 -0
- package/lib/components/dropdown-item/dropdown-item.d.ts +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/radio-item/radio-item.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { GoabBadgeType } from "@abgov/ui-components-common";
|
|
1
|
+
import { GoabBadgeType, GoabIconType } from "@abgov/ui-components-common";
|
|
2
2
|
import { GoabBaseComponent } from "../base.component";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GoabBadge extends GoabBaseComponent {
|
|
5
5
|
type?: GoabBadgeType;
|
|
6
6
|
content?: string;
|
|
7
7
|
icon?: boolean;
|
|
8
|
+
iconType?: GoabIconType;
|
|
8
9
|
ariaLabel?: string;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabBadge, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabBadge, "goab-badge", never, { "type": { "alias": "type"; "required": false; }; "content": { "alias": "content"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabBadge, "goab-badge", never, { "type": { "alias": "type"; "required": false; }; "content": { "alias": "content"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
12
|
static ngAcceptInputType_icon: unknown;
|
|
12
13
|
}
|
|
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class GoabCheckbox extends GoabControlValueAccessor {
|
|
6
6
|
name?: string;
|
|
7
7
|
checked?: boolean;
|
|
8
|
+
indeterminate?: boolean;
|
|
8
9
|
text?: string;
|
|
9
10
|
value?: string | number | boolean;
|
|
10
11
|
ariaLabel?: string;
|
|
@@ -17,6 +18,7 @@ export declare class GoabCheckbox extends GoabControlValueAccessor {
|
|
|
17
18
|
getDescriptionAsTemplate(): TemplateRef<any> | null;
|
|
18
19
|
_onChange(e: Event): void;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabCheckbox, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabCheckbox, "goab-checkbox", never, { "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "text": { "alias": "text"; "required": false; }; "value": { "alias": "value"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "description": { "alias": "description"; "required": false; }; "reveal": { "alias": "reveal"; "required": false; }; "revealArialLabel": { "alias": "revealArialLabel"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabCheckbox, "goab-checkbox", never, { "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "text": { "alias": "text"; "required": false; }; "value": { "alias": "value"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "description": { "alias": "description"; "required": false; }; "reveal": { "alias": "reveal"; "required": false; }; "revealArialLabel": { "alias": "revealArialLabel"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
|
|
21
22
|
static ngAcceptInputType_checked: unknown;
|
|
23
|
+
static ngAcceptInputType_indeterminate: unknown;
|
|
22
24
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GoabCheckboxListOnChangeDetail } from "@abgov/ui-components-common";
|
|
2
|
+
import { EventEmitter } from "@angular/core";
|
|
3
|
+
import { GoabControlValueAccessor } from "../base.component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GoabCheckboxList extends GoabControlValueAccessor {
|
|
6
|
+
name: string;
|
|
7
|
+
maxWidth?: string;
|
|
8
|
+
value?: string[];
|
|
9
|
+
onChange: EventEmitter<GoabCheckboxListOnChangeDetail>;
|
|
10
|
+
_onChange(e: Event): void;
|
|
11
|
+
writeValue(value: string[] | null): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoabCheckboxList, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabCheckboxList, "goab-checkbox-list", never, { "name": { "alias": "name"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
|
|
14
|
+
}
|
|
@@ -9,6 +9,7 @@ export * from "./card-content/card-content";
|
|
|
9
9
|
export * from "./card-actions/card-actions";
|
|
10
10
|
export * from "./card-image/card-image";
|
|
11
11
|
export * from "./checkbox/checkbox";
|
|
12
|
+
export * from "./checkbox-list/checkbox-list";
|
|
12
13
|
export * from "./chip/chip";
|
|
13
14
|
export * from "./circular-progress/circular-progress";
|
|
14
15
|
export * from "./column-layout/column-layout";
|
|
@@ -2,7 +2,7 @@ import { TemplateRef } from "@angular/core";
|
|
|
2
2
|
import { GoabBaseComponent } from "../base.component";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GoabRadioItem extends GoabBaseComponent {
|
|
5
|
-
value?: string;
|
|
5
|
+
value?: string | number | boolean;
|
|
6
6
|
label?: string;
|
|
7
7
|
name?: string;
|
|
8
8
|
description: string | TemplateRef<any>;
|