@abgov/angular-components 3.2.1 → 4.0.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.
Files changed (123) hide show
  1. package/README.md +12 -7
  2. package/esm2022/index.mjs +2 -1
  3. package/esm2022/lib/angular-components.module.mjs +4 -4
  4. package/esm2022/lib/checked-directive.mjs +5 -4
  5. package/esm2022/lib/components/accordion/accordion.mjs +91 -0
  6. package/esm2022/lib/components/badge/badge.mjs +60 -0
  7. package/esm2022/lib/components/block/block.mjs +58 -0
  8. package/esm2022/lib/components/button/button.mjs +85 -0
  9. package/esm2022/lib/components/button-group/button-group.mjs +54 -0
  10. package/esm2022/lib/components/callout/callout.mjs +77 -0
  11. package/esm2022/lib/components/card/card.mjs +54 -0
  12. package/esm2022/lib/components/card-actions/card-actions.mjs +24 -0
  13. package/esm2022/lib/components/card-content/card-content.mjs +24 -0
  14. package/esm2022/lib/components/card-image/card-image.mjs +36 -0
  15. package/esm2022/lib/components/checkbox/checkbox.mjs +147 -0
  16. package/esm2022/lib/components/chip/chip.mjs +77 -0
  17. package/esm2022/lib/components/circular-progress/circular-progress.mjs +48 -0
  18. package/esm2022/lib/components/column-layout/column-layout.mjs +24 -0
  19. package/esm2022/lib/components/container/container.mjs +86 -0
  20. package/esm2022/lib/components/date-picker/date-picker.mjs +123 -0
  21. package/esm2022/lib/components/details/details.mjs +59 -0
  22. package/esm2022/lib/components/divider/divider.mjs +44 -0
  23. package/esm2022/lib/components/dropdown/dropdown.mjs +153 -0
  24. package/esm2022/lib/components/dropdown-item/dropdown-item.mjs +44 -0
  25. package/esm2022/lib/components/file-upload-card/file-upload-card.mjs +63 -0
  26. package/esm2022/lib/components/file-upload-input/file-upload-input.mjs +70 -0
  27. package/esm2022/lib/components/footer/footer.mjs +38 -0
  28. package/esm2022/lib/components/footer-meta-section/footer-meta-section.mjs +24 -0
  29. package/esm2022/lib/components/footer-nav-section/footer-nav-section.mjs +39 -0
  30. package/esm2022/lib/components/form-item/form-item-slot.mjs +24 -0
  31. package/esm2022/lib/components/form-item/form-item.mjs +76 -0
  32. package/esm2022/lib/components/form-step/form-step.mjs +28 -0
  33. package/esm2022/lib/components/form-stepper/form-stepper.mjs +62 -0
  34. package/esm2022/lib/components/grid/grid.mjs +55 -0
  35. package/esm2022/lib/components/header/header.mjs +58 -0
  36. package/esm2022/lib/components/header-menu/header-menu.mjs +38 -0
  37. package/esm2022/lib/components/hero-banner/hero-banner.mjs +64 -0
  38. package/esm2022/lib/components/icon/icon.mjs +81 -0
  39. package/esm2022/lib/components/icon-button/icon-button.mjs +82 -0
  40. package/esm2022/lib/components/index.mjs +59 -0
  41. package/esm2022/lib/components/input/input.mjs +232 -0
  42. package/esm2022/lib/components/microsite-header/microsite-header.mjs +81 -0
  43. package/esm2022/lib/components/modal/modal.mjs +93 -0
  44. package/esm2022/lib/components/notification-banner/notification-banner.mjs +53 -0
  45. package/esm2022/lib/components/pages/pages.mjs +46 -0
  46. package/esm2022/lib/components/pagination/pagination.mjs +75 -0
  47. package/esm2022/lib/components/popover/popover.mjs +81 -0
  48. package/esm2022/lib/components/radio-group/radio-group.mjs +116 -0
  49. package/esm2022/lib/components/radio-item/radio-item.mjs +94 -0
  50. package/esm2022/lib/components/side-menu/side-menu.mjs +26 -0
  51. package/esm2022/lib/components/side-menu-group/side-menu-group.mjs +55 -0
  52. package/esm2022/lib/components/side-menu-heading/side-menu-heading.mjs +38 -0
  53. package/esm2022/lib/components/skeleton/skeleton.mjs +64 -0
  54. package/esm2022/lib/components/spacer/spacer.mjs +36 -0
  55. package/esm2022/lib/components/tab/tab.mjs +44 -0
  56. package/esm2022/lib/components/table/table.mjs +69 -0
  57. package/esm2022/lib/components/table-sort-header/table-sort-header.mjs +37 -0
  58. package/esm2022/lib/components/tabs/tabs.mjs +47 -0
  59. package/esm2022/lib/components/textarea/textarea.mjs +153 -0
  60. package/esm2022/lib/components/tooltip/tooltip.mjs +58 -0
  61. package/esm2022/lib/validation.mjs +1 -1
  62. package/esm2022/lib/value-directive.mjs +8 -7
  63. package/fesm2022/abgov-angular-components.mjs +3560 -15
  64. package/fesm2022/abgov-angular-components.mjs.map +1 -1
  65. package/index.d.ts +1 -0
  66. package/lib/components/accordion/accordion.d.ts +21 -0
  67. package/lib/components/badge/badge.d.ts +15 -0
  68. package/lib/components/block/block.d.ts +14 -0
  69. package/lib/components/button/button.d.ts +21 -0
  70. package/lib/components/button-group/button-group.d.ts +13 -0
  71. package/lib/components/callout/callout.d.ts +17 -0
  72. package/lib/components/card/card.d.ts +13 -0
  73. package/lib/components/card-actions/card-actions.d.ts +5 -0
  74. package/lib/components/card-content/card-content.d.ts +5 -0
  75. package/lib/components/card-image/card-image.d.ts +7 -0
  76. package/lib/components/checkbox/checkbox.d.ts +35 -0
  77. package/lib/components/chip/chip.d.ts +20 -0
  78. package/lib/components/circular-progress/circular-progress.d.ts +12 -0
  79. package/lib/components/column-layout/column-layout.d.ts +5 -0
  80. package/lib/components/container/container.d.ts +19 -0
  81. package/lib/components/date-picker/date-picker.d.ts +33 -0
  82. package/lib/components/details/details.d.ts +14 -0
  83. package/lib/components/divider/divider.d.ts +11 -0
  84. package/lib/components/dropdown/dropdown.d.ts +38 -0
  85. package/lib/components/dropdown-item/dropdown-item.d.ts +11 -0
  86. package/lib/components/file-upload-card/file-upload-card.d.ts +17 -0
  87. package/lib/components/file-upload-input/file-upload-input.d.ts +18 -0
  88. package/lib/components/footer/footer.d.ts +7 -0
  89. package/lib/components/footer-meta-section/footer-meta-section.d.ts +8 -0
  90. package/lib/components/footer-nav-section/footer-nav-section.d.ts +10 -0
  91. package/lib/components/form-item/form-item-slot.d.ts +6 -0
  92. package/lib/components/form-item/form-item.d.ts +18 -0
  93. package/lib/components/form-step/form-step.d.ts +8 -0
  94. package/lib/components/form-stepper/form-stepper.d.ts +15 -0
  95. package/lib/components/grid/grid.d.ts +13 -0
  96. package/lib/components/header/header.d.ts +13 -0
  97. package/lib/components/header-menu/header-menu.d.ts +9 -0
  98. package/lib/components/hero-banner/hero-banner.d.ts +14 -0
  99. package/lib/components/icon/icon.d.ts +19 -0
  100. package/lib/components/icon-button/icon-button.d.ts +20 -0
  101. package/lib/components/index.d.ts +58 -0
  102. package/lib/components/input/input.d.ts +56 -0
  103. package/lib/components/microsite-header/microsite-header.d.ts +18 -0
  104. package/lib/components/modal/modal.d.ts +20 -0
  105. package/lib/components/notification-banner/notification-banner.d.ts +13 -0
  106. package/lib/components/pages/pages.d.ts +11 -0
  107. package/lib/components/pagination/pagination.d.ts +18 -0
  108. package/lib/components/popover/popover.d.ts +18 -0
  109. package/lib/components/radio-group/radio-group.d.ts +29 -0
  110. package/lib/components/radio-item/radio-item.d.ts +22 -0
  111. package/lib/components/side-menu/side-menu.d.ts +6 -0
  112. package/lib/components/side-menu-group/side-menu-group.d.ts +13 -0
  113. package/lib/components/side-menu-heading/side-menu-heading.d.ts +10 -0
  114. package/lib/components/skeleton/skeleton.d.ts +15 -0
  115. package/lib/components/spacer/spacer.d.ts +9 -0
  116. package/lib/components/tab/tab.d.ts +9 -0
  117. package/lib/components/table/table.d.ts +16 -0
  118. package/lib/components/table-sort-header/table-sort-header.d.ts +8 -0
  119. package/lib/components/tabs/tabs.d.ts +11 -0
  120. package/lib/components/textarea/textarea.d.ts +38 -0
  121. package/lib/components/tooltip/tooltip.d.ts +14 -0
  122. package/lib/validation.d.ts +1 -1
  123. package/package.json +5 -4
@@ -0,0 +1,17 @@
1
+ import { GoabCalloutAriaLive, GoabCalloutSize, GoabCalloutType, Spacing, GoabCalloutIconTheme } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabCallout {
4
+ type?: GoabCalloutType;
5
+ heading?: string;
6
+ size?: GoabCalloutSize;
7
+ maxWidth?: string;
8
+ ariaLive?: GoabCalloutAriaLive;
9
+ iconTheme?: GoabCalloutIconTheme;
10
+ testId?: string;
11
+ mt?: Spacing;
12
+ mb?: Spacing;
13
+ ml?: Spacing;
14
+ mr?: Spacing;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabCallout, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabCallout, "goab-callout", never, { "type": { "alias": "type"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "size": { "alias": "size"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "ariaLive": { "alias": "ariaLive"; "required": false; }; "iconTheme": { "alias": "iconTheme"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, {}, never, ["*"], true, never>;
17
+ }
@@ -0,0 +1,13 @@
1
+ import { Spacing } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabCard {
4
+ elevation?: number;
5
+ width?: string;
6
+ testId?: string;
7
+ mt?: Spacing;
8
+ mb?: Spacing;
9
+ ml?: Spacing;
10
+ mr?: Spacing;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabCard, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabCard, "goab-card", never, { "elevation": { "alias": "elevation"; "required": false; }; "width": { "alias": "width"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, {}, never, ["*"], true, never>;
13
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GoabCardActions {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabCardActions, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabCardActions, "goab-card-actions", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GoabCardContent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabCardContent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabCardContent, "goab-card-content", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GoabCardImage {
3
+ src: string;
4
+ height: string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabCardImage, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabCardImage, "goab-card-image", never, { "src": { "alias": "src"; "required": true; }; "height": { "alias": "height"; "required": true; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -0,0 +1,35 @@
1
+ import { GoabCheckboxOnChangeDetail, Spacing } from "@abgov/ui-components-common";
2
+ import { EventEmitter, TemplateRef } from "@angular/core";
3
+ import { ControlValueAccessor } from "@angular/forms";
4
+ import * as i0 from "@angular/core";
5
+ export declare class GoabCheckbox implements ControlValueAccessor {
6
+ name?: string;
7
+ checked?: boolean;
8
+ disabled?: boolean;
9
+ error?: boolean;
10
+ text?: string;
11
+ value?: string | number | boolean;
12
+ testId?: string;
13
+ ariaLabel?: string;
14
+ description: string | TemplateRef<any>;
15
+ id?: string;
16
+ maxWidth?: string;
17
+ mt?: Spacing;
18
+ mb?: Spacing;
19
+ ml?: Spacing;
20
+ mr?: Spacing;
21
+ onChange: EventEmitter<GoabCheckboxOnChangeDetail>;
22
+ getDescriptionAsString(): string;
23
+ getDescriptionAsTemplate(): TemplateRef<any> | null;
24
+ _onChange(e: Event): void;
25
+ private fcChange?;
26
+ private fcTouched?;
27
+ touched: boolean;
28
+ markAsTouched(): void;
29
+ writeValue(value: string | boolean): void;
30
+ registerOnChange(fn: any): void;
31
+ registerOnTouched(fn: any): void;
32
+ setDisabledState?(isDisabled: boolean): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabCheckbox, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabCheckbox, "goab-checkbox", never, { "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "text": { "alias": "text"; "required": false; }; "value": { "alias": "value"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "description": { "alias": "description"; "required": false; }; "id": { "alias": "id"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
35
+ }
@@ -0,0 +1,20 @@
1
+ import { GoabChipTheme, GoabChipVariant, GoabIconType, Spacing } from "@abgov/ui-components-common";
2
+ import { EventEmitter } from "@angular/core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class GoabChip {
5
+ leadingIcon?: GoabIconType | null;
6
+ error?: boolean;
7
+ deletable?: boolean;
8
+ content?: string;
9
+ testId?: string;
10
+ variant?: GoabChipVariant;
11
+ iconTheme?: GoabChipTheme;
12
+ mt?: Spacing;
13
+ mb?: Spacing;
14
+ ml?: Spacing;
15
+ mr?: Spacing;
16
+ onClick: EventEmitter<any>;
17
+ _onClick(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabChip, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabChip, "goab-chip", never, { "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "error": { "alias": "error"; "required": false; }; "deletable": { "alias": "deletable"; "required": false; }; "content": { "alias": "content"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "iconTheme": { "alias": "iconTheme"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
20
+ }
@@ -0,0 +1,12 @@
1
+ import { GoabCircularProgressSize, GoabCircularProgressVariant } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabCircularProgress {
4
+ variant?: GoabCircularProgressVariant;
5
+ size?: GoabCircularProgressSize;
6
+ message?: string;
7
+ visible?: boolean;
8
+ progress?: number;
9
+ testId?: string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabCircularProgress, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabCircularProgress, "goab-circular-progress", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "message": { "alias": "message"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GoabColumnLayout {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabColumnLayout, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabColumnLayout, "goab-column-layout", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -0,0 +1,19 @@
1
+ import { GoabContainerAccent, GoabContainerPadding, GoabContainerType, GoabContainerWidth, Spacing } from "@abgov/ui-components-common";
2
+ import { TemplateRef } from "@angular/core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class GoabContainer {
5
+ type?: GoabContainerType;
6
+ accent?: GoabContainerAccent;
7
+ padding?: GoabContainerPadding;
8
+ width?: GoabContainerWidth;
9
+ maxWidth?: string;
10
+ testId?: string;
11
+ title: TemplateRef<any>;
12
+ actions: TemplateRef<any>;
13
+ mt?: Spacing;
14
+ mb?: Spacing;
15
+ ml?: Spacing;
16
+ mr?: Spacing;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabContainer, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabContainer, "goab-container", never, { "type": { "alias": "type"; "required": false; }; "accent": { "alias": "accent"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, {}, never, ["*"], true, never>;
19
+ }
@@ -0,0 +1,33 @@
1
+ import { GoabDatePickerOnChangeDetail, Spacing } from "@abgov/ui-components-common";
2
+ import { EventEmitter, ElementRef } from "@angular/core";
3
+ import { ControlValueAccessor } from "@angular/forms";
4
+ import * as i0 from "@angular/core";
5
+ export declare class GoabDatePicker implements ControlValueAccessor {
6
+ protected elementRef: ElementRef;
7
+ name?: string;
8
+ value?: Date | string | null | undefined;
9
+ min?: Date | string;
10
+ max?: Date | string;
11
+ error?: boolean;
12
+ disabled?: boolean;
13
+ relative?: boolean;
14
+ testId?: string;
15
+ mt?: Spacing;
16
+ mb?: Spacing;
17
+ ml?: Spacing;
18
+ mr?: Spacing;
19
+ onChange: EventEmitter<GoabDatePickerOnChangeDetail>;
20
+ _onChange(e: Event): void;
21
+ constructor(elementRef: ElementRef);
22
+ setDisabledState(isDisabled: boolean): void;
23
+ listenDisabledChange(isDisabled: boolean): void;
24
+ private fcChange?;
25
+ private fcTouched?;
26
+ touched: boolean;
27
+ markAsTouched(): void;
28
+ writeValue(value: Date | null): void;
29
+ registerOnChange(fn: any): void;
30
+ registerOnTouched(fn: any): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabDatePicker, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabDatePicker, "goab-date-picker", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "error": { "alias": "error"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "relative": { "alias": "relative"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
33
+ }
@@ -0,0 +1,14 @@
1
+ import { Spacing } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabDetails {
4
+ heading: string;
5
+ testId?: string;
6
+ open?: boolean;
7
+ maxWidth?: string;
8
+ mt?: Spacing;
9
+ mb?: Spacing;
10
+ ml?: Spacing;
11
+ mr?: Spacing;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabDetails, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabDetails, "goab-details", never, { "heading": { "alias": "heading"; "required": true; }; "testId": { "alias": "testId"; "required": false; }; "open": { "alias": "open"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, {}, never, ["*"], true, never>;
14
+ }
@@ -0,0 +1,11 @@
1
+ import { Spacing } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabDivider {
4
+ testId?: string;
5
+ mt?: Spacing;
6
+ mb?: Spacing;
7
+ ml?: Spacing;
8
+ mr?: Spacing;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabDivider, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabDivider, "goab-divider", never, { "testId": { "alias": "testId"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,38 @@
1
+ import { GoabDropdownOnChangeDetail, GoabIconType, Spacing } from "@abgov/ui-components-common";
2
+ import { EventEmitter } from "@angular/core";
3
+ import { ControlValueAccessor } from "@angular/forms";
4
+ import * as i0 from "@angular/core";
5
+ export declare class GoabDropdown implements ControlValueAccessor {
6
+ name?: string;
7
+ value?: string;
8
+ ariaLabel?: string;
9
+ ariaLabelledBy?: string;
10
+ id?: string;
11
+ disabled?: boolean;
12
+ error?: boolean;
13
+ filterable?: boolean;
14
+ leadingIcon?: GoabIconType;
15
+ maxHeight?: string;
16
+ multiselect?: boolean;
17
+ native?: boolean;
18
+ placeholder?: string;
19
+ testId?: string;
20
+ width?: string;
21
+ relative?: boolean;
22
+ mt?: Spacing;
23
+ mb?: Spacing;
24
+ ml?: Spacing;
25
+ mr?: Spacing;
26
+ onChange: EventEmitter<GoabDropdownOnChangeDetail>;
27
+ _onChange(e: Event): void;
28
+ private fcChange?;
29
+ private fcTouched?;
30
+ touched: boolean;
31
+ markAsTouched(): void;
32
+ writeValue(value: string): void;
33
+ registerOnChange(fn: any): void;
34
+ registerOnTouched(fn: any): void;
35
+ setDisabledState?(isDisabled: boolean): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabDropdown, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabDropdown, "goab-dropdown", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "native": { "alias": "native"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "width": { "alias": "width"; "required": false; }; "relative": { "alias": "relative"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
38
+ }
@@ -0,0 +1,11 @@
1
+ import { GoabDropdownItemMountType } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabDropdownItem {
4
+ value?: string;
5
+ filter?: string;
6
+ label?: string;
7
+ name?: string;
8
+ mountType?: GoabDropdownItemMountType;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabDropdownItem, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabDropdownItem, "goab-dropdown-item", never, { "value": { "alias": "value"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "mountType": { "alias": "mountType"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,17 @@
1
+ import { GoabFileUploadOnCancelDetail, GoabFileUploadOnDeleteDetail } from "@abgov/ui-components-common";
2
+ import { EventEmitter } from "@angular/core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class GoabFileUploadCard {
5
+ filename: string;
6
+ size?: number;
7
+ type?: string;
8
+ progress?: number;
9
+ error?: string;
10
+ testId?: string;
11
+ onCancel: EventEmitter<GoabFileUploadOnCancelDetail>;
12
+ onDelete: EventEmitter<GoabFileUploadOnDeleteDetail>;
13
+ _onCancel(): void;
14
+ _onDelete(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabFileUploadCard, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabFileUploadCard, "goab-file-upload-card", never, { "filename": { "alias": "filename"; "required": true; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "error": { "alias": "error"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "onCancel": "onCancel"; "onDelete": "onDelete"; }, never, never, true, never>;
17
+ }
@@ -0,0 +1,18 @@
1
+ import { GoabFileUploadInputOnSelectFileDetail, GoabFileUploadInputVariant, Spacing } from "@abgov/ui-components-common";
2
+ import { EventEmitter } from "@angular/core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class GoabFileUploadInput {
5
+ id?: string;
6
+ variant: GoabFileUploadInputVariant;
7
+ maxFileSize?: string;
8
+ accept?: string;
9
+ testId?: string;
10
+ mt?: Spacing;
11
+ mb?: Spacing;
12
+ mr?: Spacing;
13
+ ml?: Spacing;
14
+ onSelectFile: EventEmitter<GoabFileUploadInputOnSelectFileDetail>;
15
+ _onSelectFile(e: Event): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabFileUploadInput, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabFileUploadInput, "goab-file-upload-input", never, { "id": { "alias": "id"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; }, { "onSelectFile": "onSelectFile"; }, never, never, true, never>;
18
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GoabAppFooter {
3
+ maxContentWidth?: string;
4
+ testId?: string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabAppFooter, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabAppFooter, "goab-app-footer", never, { "maxContentWidth": { "alias": "maxContentWidth"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, ["[slot=nav]", "goab-app-footer-meta-section", "*"], true, never>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GoabAppFooterMetaSection {
3
+ testId?: string;
4
+ /** "slot" is required and must equal to "meta" so it can be rendered in the correct position **/
5
+ slot: "meta";
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabAppFooterMetaSection, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabAppFooterMetaSection, "goab-app-footer-meta-section", never, { "testId": { "alias": "testId"; "required": false; }; "slot": { "alias": "slot"; "required": true; }; }, {}, never, ["*"], true, never>;
8
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GoabAppFooterNavSection {
3
+ heading?: string;
4
+ maxColumnCount?: number | undefined;
5
+ testId?: string;
6
+ /** "slot" is required and must equal to "nav" so it can be rendered in the correct position **/
7
+ slot: "nav";
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabAppFooterNavSection, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabAppFooterNavSection, "goab-app-footer-nav-section", never, { "heading": { "alias": "heading"; "required": false; }; "maxColumnCount": { "alias": "maxColumnCount"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "slot": { "alias": "slot"; "required": true; }; }, {}, never, ["*"], true, never>;
10
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GoabFormItemSlot {
3
+ slot: "helptext" | "error";
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabFormItemSlot, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabFormItemSlot, "goab-form-item-slot", never, { "slot": { "alias": "slot"; "required": true; }; }, {}, never, ["*"], true, never>;
6
+ }
@@ -0,0 +1,18 @@
1
+ import { GoabFormItemLabelSize, GoabFormItemRequirement, Spacing } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabFormItem {
4
+ label?: string;
5
+ labelSize?: GoabFormItemLabelSize;
6
+ helpText?: string;
7
+ error?: string;
8
+ requirement?: GoabFormItemRequirement;
9
+ maxWidth?: string;
10
+ testId?: string;
11
+ id?: string;
12
+ mt?: Spacing;
13
+ mb?: Spacing;
14
+ mr?: Spacing;
15
+ ml?: Spacing;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabFormItem, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabFormItem, "goab-form-item", never, { "label": { "alias": "label"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "error": { "alias": "error"; "required": false; }; "requirement": { "alias": "requirement"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "id": { "alias": "id"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; }, {}, never, ["*", "goab-form-item-slot"], true, never>;
18
+ }
@@ -0,0 +1,8 @@
1
+ import { GoabFormStepStatus } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabFormStep {
4
+ text?: string;
5
+ status?: GoabFormStepStatus;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabFormStep, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabFormStep, "goab-form-step", never, { "text": { "alias": "text"; "required": false; }; "status": { "alias": "status"; "required": false; }; }, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,15 @@
1
+ import { GoabFormStepperOnChangeDetail, Spacing } from "@abgov/ui-components-common";
2
+ import { EventEmitter } from "@angular/core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class GoabFormStepper {
5
+ step?: number;
6
+ testId?: string;
7
+ mt?: Spacing;
8
+ mb?: Spacing;
9
+ ml?: Spacing;
10
+ mr?: Spacing;
11
+ onChange: EventEmitter<GoabFormStepperOnChangeDetail>;
12
+ _onChange(e: Event): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabFormStepper, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabFormStepper, "goab-form-stepper", never, { "step": { "alias": "step"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
15
+ }
@@ -0,0 +1,13 @@
1
+ import { Spacing } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabGrid {
4
+ minChildWidth: string;
5
+ gap?: Spacing;
6
+ testId?: string;
7
+ mt?: Spacing;
8
+ mb?: Spacing;
9
+ ml?: Spacing;
10
+ mr?: Spacing;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabGrid, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabGrid, "goab-grid", never, { "minChildWidth": { "alias": "minChildWidth"; "required": true; }; "gap": { "alias": "gap"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, {}, never, ["*"], true, never>;
13
+ }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabAppHeader {
4
+ url?: string;
5
+ heading?: string;
6
+ maxContentWidth?: string;
7
+ testId?: string;
8
+ fullMenuBreakpoint?: number;
9
+ onMenuClick: EventEmitter<any>;
10
+ _onMenuClick(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabAppHeader, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabAppHeader, "goab-app-header", never, { "url": { "alias": "url"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "maxContentWidth": { "alias": "maxContentWidth"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "fullMenuBreakpoint": { "alias": "fullMenuBreakpoint"; "required": false; }; }, { "onMenuClick": "onMenuClick"; }, never, ["*"], true, never>;
13
+ }
@@ -0,0 +1,9 @@
1
+ import { GoabIconType } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabAppHeaderMenu {
4
+ leadingIcon?: GoabIconType;
5
+ heading?: string;
6
+ testId?: string;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabAppHeaderMenu, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabAppHeaderMenu, "goab-app-header-menu", never, { "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, ["*"], true, never>;
9
+ }
@@ -0,0 +1,14 @@
1
+ import { TemplateRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabHeroBanner {
4
+ heading?: string;
5
+ backgroundUrl?: string;
6
+ minHeight?: string;
7
+ testId?: string;
8
+ maxContentWidth?: string;
9
+ backgroundColor?: string;
10
+ textColor?: string;
11
+ actions: TemplateRef<any>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabHeroBanner, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabHeroBanner, "goab-hero-banner", never, { "heading": { "alias": "heading"; "required": false; }; "backgroundUrl": { "alias": "backgroundUrl"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "maxContentWidth": { "alias": "maxContentWidth"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, {}, never, ["*"], true, never>;
14
+ }
@@ -0,0 +1,19 @@
1
+ import { GoabIconSize, GoabIconTheme, GoabIconType, Spacing } from "@abgov/ui-components-common";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GoabIcon {
4
+ type: GoabIconType;
5
+ size?: GoabIconSize;
6
+ theme?: GoabIconTheme;
7
+ inverted?: boolean;
8
+ fillColor?: string;
9
+ opacity?: number;
10
+ title?: string;
11
+ ariaLabel?: string;
12
+ testId?: string;
13
+ mt?: Spacing;
14
+ mb?: Spacing;
15
+ ml?: Spacing;
16
+ mr?: Spacing;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabIcon, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabIcon, "goab-icon", never, { "type": { "alias": "type"; "required": true; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "fillColor": { "alias": "fillColor"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "title": { "alias": "title"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,20 @@
1
+ import { GoabIconButtonVariant, GoabIconSize, GoabIconType, Spacing } from "@abgov/ui-components-common";
2
+ import { EventEmitter } from "@angular/core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class GoabIconButton {
5
+ icon: GoabIconType;
6
+ size?: GoabIconSize;
7
+ variant?: GoabIconButtonVariant;
8
+ title?: string;
9
+ disabled?: boolean;
10
+ ariaLabel?: string;
11
+ testId?: string;
12
+ mt?: Spacing;
13
+ mb?: Spacing;
14
+ ml?: Spacing;
15
+ mr?: Spacing;
16
+ onClick: EventEmitter<any>;
17
+ _onClick(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabIconButton, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabIconButton, "goab-icon-button", never, { "icon": { "alias": "icon"; "required": true; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
20
+ }
@@ -0,0 +1,58 @@
1
+ export * from "./accordion/accordion";
2
+ export * from "./badge/badge";
3
+ export * from "./block/block";
4
+ export * from "./button/button";
5
+ export * from "./button-group/button-group";
6
+ export * from "./callout/callout";
7
+ export * from "./card/card";
8
+ export * from "./card-content/card-content";
9
+ export * from "./card-actions/card-actions";
10
+ export * from "./card-image/card-image";
11
+ export * from "./checkbox/checkbox";
12
+ export * from "./chip/chip";
13
+ export * from "./circular-progress/circular-progress";
14
+ export * from "./column-layout/column-layout";
15
+ export * from "./container/container";
16
+ export * from "./date-picker/date-picker";
17
+ export * from "./details/details";
18
+ export * from "./divider/divider";
19
+ export * from "./dropdown/dropdown";
20
+ export * from "./dropdown-item/dropdown-item";
21
+ export * from "./file-upload-card/file-upload-card";
22
+ export * from "./file-upload-input/file-upload-input";
23
+ export * from "./footer/footer";
24
+ export * from "./footer/footer";
25
+ export * from "./footer-meta-section/footer-meta-section";
26
+ export * from "./footer-meta-section/footer-meta-section";
27
+ export * from "./footer-nav-section/footer-nav-section";
28
+ export * from "./footer-nav-section/footer-nav-section";
29
+ export * from "./form-item/form-item";
30
+ export * from "./form-item/form-item-slot";
31
+ export * from "./form-step/form-step";
32
+ export * from "./form-stepper/form-stepper";
33
+ export * from "./grid/grid";
34
+ export * from "./header/header";
35
+ export * from "./header-menu/header-menu";
36
+ export * from "./hero-banner/hero-banner";
37
+ export * from "./icon/icon";
38
+ export * from "./icon-button/icon-button";
39
+ export * from "./input/input";
40
+ export * from "./microsite-header/microsite-header";
41
+ export * from "./modal/modal";
42
+ export * from "./notification-banner/notification-banner";
43
+ export * from "./pages/pages";
44
+ export * from "./pagination/pagination";
45
+ export * from "./popover/popover";
46
+ export * from "./radio-group/radio-group";
47
+ export * from "./radio-item/radio-item";
48
+ export * from "./side-menu/side-menu";
49
+ export * from "./side-menu-group/side-menu-group";
50
+ export * from "./side-menu-heading/side-menu-heading";
51
+ export * from "./skeleton/skeleton";
52
+ export * from "./spacer/spacer";
53
+ export * from "./tab/tab";
54
+ export * from "./table/table";
55
+ export * from "./table-sort-header/table-sort-header";
56
+ export * from "./tabs/tabs";
57
+ export * from "./textarea/textarea";
58
+ export * from "./tooltip/tooltip";