@abgov/angular-components 4.3.0-alpha.2 → 4.3.0-alpha.4

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 (70) hide show
  1. package/esm2022/lib/components/accordion/accordion.mjs +8 -16
  2. package/esm2022/lib/components/badge/badge.mjs +6 -15
  3. package/esm2022/lib/components/base.component.mjs +118 -0
  4. package/esm2022/lib/components/block/block.mjs +6 -15
  5. package/esm2022/lib/components/button/button.mjs +8 -16
  6. package/esm2022/lib/components/button-group/button-group.mjs +6 -15
  7. package/esm2022/lib/components/callout/callout.mjs +7 -15
  8. package/esm2022/lib/components/card/card.mjs +6 -15
  9. package/esm2022/lib/components/checkbox/checkbox.mjs +52 -87
  10. package/esm2022/lib/components/chip/chip.mjs +7 -15
  11. package/esm2022/lib/components/container/container.mjs +6 -14
  12. package/esm2022/lib/components/date-picker/date-picker.mjs +6 -32
  13. package/esm2022/lib/components/details/details.mjs +6 -15
  14. package/esm2022/lib/components/divider/divider.mjs +8 -17
  15. package/esm2022/lib/components/dropdown/dropdown.mjs +10 -45
  16. package/esm2022/lib/components/file-upload-input/file-upload-input.mjs +7 -15
  17. package/esm2022/lib/components/filter-chip/filter-chip.mjs +7 -15
  18. package/esm2022/lib/components/form-item/form-item.mjs +6 -15
  19. package/esm2022/lib/components/form-stepper/form-stepper.mjs +8 -16
  20. package/esm2022/lib/components/grid/grid.mjs +5 -14
  21. package/esm2022/lib/components/icon/icon.mjs +7 -15
  22. package/esm2022/lib/components/icon-button/icon-button.mjs +8 -16
  23. package/esm2022/lib/components/input/input.mjs +7 -43
  24. package/esm2022/lib/components/modal/modal.mjs +14 -10
  25. package/esm2022/lib/components/pages/pages.mjs +5 -12
  26. package/esm2022/lib/components/pagination/pagination.mjs +9 -17
  27. package/esm2022/lib/components/popover/popover.mjs +6 -14
  28. package/esm2022/lib/components/radio-group/radio-group.mjs +8 -41
  29. package/esm2022/lib/components/radio-item/radio-item.mjs +8 -13
  30. package/esm2022/lib/components/side-menu-group/side-menu-group.mjs +5 -14
  31. package/esm2022/lib/components/skeleton/skeleton.mjs +7 -15
  32. package/esm2022/lib/components/table/table.mjs +8 -16
  33. package/esm2022/lib/components/textarea/textarea.mjs +11 -47
  34. package/esm2022/lib/components/tooltip/tooltip.mjs +6 -15
  35. package/fesm2022/abgov-angular-components.mjs +321 -648
  36. package/fesm2022/abgov-angular-components.mjs.map +1 -1
  37. package/lib/components/accordion/accordion.d.ts +4 -8
  38. package/lib/components/badge/badge.d.ts +4 -8
  39. package/lib/components/base.component.d.ts +58 -0
  40. package/lib/components/block/block.d.ts +3 -7
  41. package/lib/components/button/button.d.ts +4 -8
  42. package/lib/components/button-group/button-group.d.ts +4 -8
  43. package/lib/components/callout/callout.d.ts +4 -8
  44. package/lib/components/card/card.d.ts +3 -8
  45. package/lib/components/checkbox/checkbox.d.ts +4 -20
  46. package/lib/components/chip/chip.d.ts +4 -8
  47. package/lib/components/container/container.d.ts +4 -8
  48. package/lib/components/date-picker/date-picker.d.ts +4 -17
  49. package/lib/components/details/details.d.ts +3 -8
  50. package/lib/components/divider/divider.d.ts +3 -8
  51. package/lib/components/dropdown/dropdown.d.ts +4 -21
  52. package/lib/components/file-upload-input/file-upload-input.d.ts +4 -8
  53. package/lib/components/filter-chip/filter-chip.d.ts +4 -8
  54. package/lib/components/form-item/form-item.d.ts +4 -8
  55. package/lib/components/form-stepper/form-stepper.d.ts +4 -8
  56. package/lib/components/grid/grid.d.ts +3 -7
  57. package/lib/components/icon/icon.d.ts +4 -8
  58. package/lib/components/icon-button/icon-button.d.ts +4 -8
  59. package/lib/components/input/input.d.ts +4 -21
  60. package/lib/components/pages/pages.d.ts +3 -7
  61. package/lib/components/pagination/pagination.d.ts +4 -8
  62. package/lib/components/popover/popover.d.ts +4 -8
  63. package/lib/components/radio-group/radio-group.d.ts +4 -20
  64. package/lib/components/radio-item/radio-item.d.ts +3 -7
  65. package/lib/components/side-menu-group/side-menu-group.d.ts +4 -8
  66. package/lib/components/skeleton/skeleton.d.ts +4 -8
  67. package/lib/components/table/table.d.ts +4 -8
  68. package/lib/components/textarea/textarea.d.ts +4 -21
  69. package/lib/components/tooltip/tooltip.d.ts +4 -8
  70. package/package.json +1 -1
@@ -1,20 +1,16 @@
1
- import { GoabIconButtonVariant, GoabIconSize, GoabIconType, Spacing } from "@abgov/ui-components-common";
1
+ import { GoabIconButtonVariant, GoabIconSize, GoabIconType } from "@abgov/ui-components-common";
2
2
  import { EventEmitter } from "@angular/core";
3
+ import { GoabBaseComponent } from "../base.component";
3
4
  import * as i0 from "@angular/core";
4
- export declare class GoabIconButton {
5
+ export declare class GoabIconButton extends GoabBaseComponent {
5
6
  icon: GoabIconType;
6
7
  size?: GoabIconSize;
7
8
  variant?: GoabIconButtonVariant;
8
9
  title?: string;
9
10
  disabled?: boolean;
10
11
  ariaLabel?: string;
11
- testId?: string;
12
- mt?: Spacing;
13
- mb?: Spacing;
14
- ml?: Spacing;
15
- mr?: Spacing;
16
12
  onClick: EventEmitter<any>;
17
13
  _onClick(): void;
18
14
  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>;
15
+ 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; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
20
16
  }
@@ -1,16 +1,14 @@
1
- import { GoabIconType, GoabInputAutoCapitalize, GoaInputOnBlurDetail, GoabInputOnChangeDetail, GoabInputOnFocusDetail, GoabInputOnKeyPressDetail, GoabInputType, Spacing } from "@abgov/ui-components-common";
1
+ import { GoabIconType, GoabInputAutoCapitalize, GoaInputOnBlurDetail, GoabInputOnChangeDetail, GoabInputOnFocusDetail, GoabInputOnKeyPressDetail, GoabInputType } from "@abgov/ui-components-common";
2
2
  import { EventEmitter, OnInit } from "@angular/core";
3
- import { ControlValueAccessor } from "@angular/forms";
3
+ import { GoabControlValueAccessor } from "../base.component";
4
4
  import * as i0 from "@angular/core";
5
5
  export interface IgnoreMe {
6
6
  ignore: string;
7
7
  }
8
- export declare class GoabInput implements ControlValueAccessor, OnInit {
8
+ export declare class GoabInput extends GoabControlValueAccessor implements OnInit {
9
9
  type?: GoabInputType;
10
10
  name?: string;
11
- id?: string;
12
11
  debounce?: number;
13
- disabled?: boolean;
14
12
  autoCapitalize?: GoabInputAutoCapitalize;
15
13
  placeholder?: string;
16
14
  leadingIcon?: GoabIconType;
@@ -18,22 +16,15 @@ export declare class GoabInput implements ControlValueAccessor, OnInit {
18
16
  variant?: string;
19
17
  focused?: boolean;
20
18
  readonly?: boolean;
21
- error?: boolean;
22
19
  width?: string;
23
20
  prefix?: string;
24
21
  suffix?: string;
25
- testId?: string;
26
22
  ariaLabel?: string;
27
23
  maxLength?: number;
28
- value?: string | null;
29
24
  min?: string | number;
30
25
  max?: string | number;
31
26
  step?: number;
32
27
  ariaLabelledBy?: string;
33
- mt?: Spacing;
34
- mr?: Spacing;
35
- mb?: Spacing;
36
- ml?: Spacing;
37
28
  trailingIconAriaLabel?: string;
38
29
  onTrailingIconClick: EventEmitter<any>;
39
30
  onFocus: EventEmitter<GoabInputOnFocusDetail>;
@@ -47,14 +38,6 @@ export declare class GoabInput implements ControlValueAccessor, OnInit {
47
38
  _onKeyPress(e: Event): void;
48
39
  _onFocus(e: Event): void;
49
40
  _onBlur(e: Event): void;
50
- private fcChange?;
51
- private fcTouched?;
52
- touched: boolean;
53
- markAsTouched(): void;
54
- writeValue(value: string): void;
55
- registerOnChange(fn: any): void;
56
- registerOnTouched(fn: any): void;
57
- setDisabledState?(isDisabled: boolean): void;
58
41
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabInput, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabInput, "goab-input", never, { "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "error": { "alias": "error"; "required": false; }; "width": { "alias": "width"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "mt": { "alias": "mt"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "trailingIconAriaLabel": { "alias": "trailingIconAriaLabel"; "required": false; }; }, { "onTrailingIconClick": "onTrailingIconClick"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onKeyPress": "onKeyPress"; "onChange": "onChange"; }, never, ["*"], true, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabInput, "goab-input", never, { "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "width": { "alias": "width"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "trailingIconAriaLabel": { "alias": "trailingIconAriaLabel"; "required": false; }; }, { "onTrailingIconClick": "onTrailingIconClick"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onKeyPress": "onKeyPress"; "onChange": "onChange"; }, never, ["*"], true, never>;
60
43
  }
@@ -1,11 +1,7 @@
1
- import { Spacing } from "@abgov/ui-components-common";
1
+ import { GoabBaseComponent } from "../base.component";
2
2
  import * as i0 from "@angular/core";
3
- export declare class GoabPages {
3
+ export declare class GoabPages extends GoabBaseComponent {
4
4
  current?: number;
5
- mt?: Spacing;
6
- mb?: Spacing;
7
- ml?: Spacing;
8
- mr?: Spacing;
9
5
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabPages, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabPages, "goab-pages", never, { "current": { "alias": "current"; "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>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabPages, "goab-pages", never, { "current": { "alias": "current"; "required": false; }; }, {}, never, ["*"], true, never>;
11
7
  }
@@ -1,18 +1,14 @@
1
- import { GoabPaginationOnChangeDetail, GoabPaginationVariant, Spacing } from "@abgov/ui-components-common";
1
+ import { GoabPaginationOnChangeDetail, GoabPaginationVariant } from "@abgov/ui-components-common";
2
2
  import { EventEmitter } from "@angular/core";
3
+ import { GoabBaseComponent } from "../base.component";
3
4
  import * as i0 from "@angular/core";
4
- export declare class GoabPagination {
5
+ export declare class GoabPagination extends GoabBaseComponent {
5
6
  itemCount: number;
6
7
  pageNumber: number;
7
8
  perPageCount?: number;
8
9
  variant?: GoabPaginationVariant;
9
- testId?: string;
10
- mt?: Spacing;
11
- mb?: Spacing;
12
- ml?: Spacing;
13
- mr?: Spacing;
14
10
  onChange: EventEmitter<GoabPaginationOnChangeDetail>;
15
11
  _onChange(e: Event): void;
16
12
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabPagination, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabPagination, "goab-pagination", never, { "itemCount": { "alias": "itemCount"; "required": true; }; "pageNumber": { "alias": "pageNumber"; "required": true; }; "perPageCount": { "alias": "perPageCount"; "required": false; }; "variant": { "alias": "variant"; "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>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabPagination, "goab-pagination", never, { "itemCount": { "alias": "itemCount"; "required": true; }; "pageNumber": { "alias": "pageNumber"; "required": true; }; "perPageCount": { "alias": "perPageCount"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
18
14
  }
@@ -1,7 +1,8 @@
1
- import { GoabPopoverPosition, Spacing } from "@abgov/ui-components-common";
1
+ import { GoabPopoverPosition } from "@abgov/ui-components-common";
2
2
  import { TemplateRef } from "@angular/core";
3
+ import { GoabBaseComponent } from "../base.component";
3
4
  import * as i0 from "@angular/core";
4
- export declare class GoabPopover {
5
+ export declare class GoabPopover extends GoabBaseComponent {
5
6
  maxWidth: string;
6
7
  minWidth?: string;
7
8
  padded: boolean;
@@ -10,12 +11,7 @@ export declare class GoabPopover {
10
11
  * @deprecated This property has no effect and will be removed in a future version
11
12
  */
12
13
  relative?: boolean;
13
- testId?: string;
14
- mt?: Spacing;
15
- mb?: Spacing;
16
- ml?: Spacing;
17
- mr?: Spacing;
18
14
  target: TemplateRef<any>;
19
15
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabPopover, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabPopover, "goab-popover", never, { "maxWidth": { "alias": "maxWidth"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; "position": { "alias": "position"; "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; }; "target": { "alias": "target"; "required": true; }; }, {}, never, ["*"], true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabPopover, "goab-popover", never, { "maxWidth": { "alias": "maxWidth"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; "position": { "alias": "position"; "required": false; }; "relative": { "alias": "relative"; "required": false; }; "target": { "alias": "target"; "required": true; }; }, {}, never, ["*"], true, never>;
21
17
  }
@@ -1,29 +1,13 @@
1
- import { GoabRadioGroupOnChangeDetail, GoabRadioGroupOrientation, Spacing } from "@abgov/ui-components-common";
1
+ import { GoabRadioGroupOnChangeDetail, GoabRadioGroupOrientation } from "@abgov/ui-components-common";
2
2
  import { EventEmitter } from "@angular/core";
3
- import { ControlValueAccessor } from "@angular/forms";
3
+ import { GoabControlValueAccessor } from "../base.component";
4
4
  import * as i0 from "@angular/core";
5
- export declare class GoabRadioGroup implements ControlValueAccessor {
5
+ export declare class GoabRadioGroup extends GoabControlValueAccessor {
6
6
  name?: string;
7
- value?: string;
8
- disabled?: boolean;
9
7
  orientation?: GoabRadioGroupOrientation;
10
- error?: boolean;
11
8
  ariaLabel?: string;
12
- testId?: string;
13
- mt?: Spacing;
14
- mb?: Spacing;
15
- ml?: Spacing;
16
- mr?: Spacing;
17
9
  onChange: EventEmitter<GoabRadioGroupOnChangeDetail>;
18
10
  _onChange(e: Event): void;
19
- private fcChange?;
20
- private fcTouched?;
21
- touched: boolean;
22
- markAsTouched(): void;
23
- writeValue(value: string): void;
24
- registerOnChange(fn: any): void;
25
- registerOnTouched(fn: any): void;
26
- setDisabledState?(isDisabled: boolean): void;
27
11
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabRadioGroup, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabRadioGroup, "goab-radio-group", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "error": { "alias": "error"; "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; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabRadioGroup, "goab-radio-group", never, { "name": { "alias": "name"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
29
13
  }
@@ -1,7 +1,7 @@
1
1
  import { TemplateRef } from "@angular/core";
2
- import { Spacing } from "@abgov/ui-components-common";
2
+ import { GoabBaseComponent } from "../base.component";
3
3
  import * as i0 from "@angular/core";
4
- export declare class GoabRadioItem {
4
+ export declare class GoabRadioItem extends GoabBaseComponent {
5
5
  value?: string;
6
6
  label?: string;
7
7
  name?: string;
@@ -11,12 +11,8 @@ export declare class GoabRadioItem {
11
11
  checked?: boolean;
12
12
  error?: boolean;
13
13
  maxWidth?: string;
14
- mt?: Spacing;
15
- mb?: Spacing;
16
- ml?: Spacing;
17
- mr?: Spacing;
18
14
  getDescriptionAsString(): string;
19
15
  getDescriptionAsTemplate(): TemplateRef<any> | null;
20
16
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabRadioItem, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabRadioItem, "goab-radio-item", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "description": { "alias": "description"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "error": { "alias": "error"; "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>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabRadioItem, "goab-radio-item", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "description": { "alias": "description"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "error": { "alias": "error"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, ["*"], true, never>;
22
18
  }
@@ -1,13 +1,9 @@
1
- import { GoabIconType, Spacing } from "@abgov/ui-components-common";
1
+ import { GoabIconType } from "@abgov/ui-components-common";
2
+ import { GoabBaseComponent } from "../base.component";
2
3
  import * as i0 from "@angular/core";
3
- export declare class GoabSideMenuGroup {
4
+ export declare class GoabSideMenuGroup extends GoabBaseComponent {
4
5
  heading: string;
5
- testId?: string;
6
6
  icon?: GoabIconType;
7
- mt?: Spacing;
8
- mb?: Spacing;
9
- ml?: Spacing;
10
- mr?: Spacing;
11
7
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabSideMenuGroup, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabSideMenuGroup, "goab-side-menu-group", never, { "heading": { "alias": "heading"; "required": true; }; "testId": { "alias": "testId"; "required": false; }; "icon": { "alias": "icon"; "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>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabSideMenuGroup, "goab-side-menu-group", never, { "heading": { "alias": "heading"; "required": true; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], true, never>;
13
9
  }
@@ -1,15 +1,11 @@
1
- import { GoabSkeletonSize, GoabSkeletonType, Spacing } from "@abgov/ui-components-common";
1
+ import { GoabSkeletonSize, GoabSkeletonType } from "@abgov/ui-components-common";
2
+ import { GoabBaseComponent } from "../base.component";
2
3
  import * as i0 from "@angular/core";
3
- export declare class GoabSkeleton {
4
+ export declare class GoabSkeleton extends GoabBaseComponent {
4
5
  type: GoabSkeletonType;
5
6
  maxWidth: string;
6
7
  size?: GoabSkeletonSize;
7
8
  lineCount?: number;
8
- testId?: string;
9
- mt?: Spacing;
10
- mb?: Spacing;
11
- ml?: Spacing;
12
- mr?: Spacing;
13
9
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabSkeleton, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabSkeleton, "goab-skeleton", never, { "type": { "alias": "type"; "required": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "size": { "alias": "size"; "required": false; }; "lineCount": { "alias": "lineCount"; "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>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabSkeleton, "goab-skeleton", never, { "type": { "alias": "type"; "required": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "size": { "alias": "size"; "required": false; }; "lineCount": { "alias": "lineCount"; "required": false; }; }, {}, never, never, true, never>;
15
11
  }
@@ -1,16 +1,12 @@
1
- import { GoabTableOnSortDetail, GoabTableVariant, Spacing } from "@abgov/ui-components-common";
1
+ import { GoabTableOnSortDetail, GoabTableVariant } from "@abgov/ui-components-common";
2
2
  import { EventEmitter } from "@angular/core";
3
+ import { GoabBaseComponent } from "../base.component";
3
4
  import * as i0 from "@angular/core";
4
- export declare class GoabTable {
5
+ export declare class GoabTable extends GoabBaseComponent {
5
6
  width?: string;
6
7
  variant?: GoabTableVariant;
7
- testId?: string;
8
- mt?: Spacing;
9
- mb?: Spacing;
10
- ml?: Spacing;
11
- mr?: Spacing;
12
8
  onSort: EventEmitter<GoabTableOnSortDetail>;
13
9
  _onSort(e: Event): void;
14
10
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabTable, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabTable, "goab-table", never, { "width": { "alias": "width"; "required": false; }; "variant": { "alias": "variant"; "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; }; }, { "onSort": "onSort"; }, never, ["*"], true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabTable, "goab-table", never, { "width": { "alias": "width"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "onSort": "onSort"; }, never, ["*"], true, never>;
16
12
  }
@@ -1,38 +1,21 @@
1
- import { GoabTextAreaCountBy, GoabTextAreaOnChangeDetail, GoabTextAreaOnKeyPressDetail, Spacing } from "@abgov/ui-components-common";
1
+ import { GoabTextAreaCountBy, GoabTextAreaOnChangeDetail, GoabTextAreaOnKeyPressDetail } from "@abgov/ui-components-common";
2
2
  import { EventEmitter } from "@angular/core";
3
- import { ControlValueAccessor } from "@angular/forms";
3
+ import { GoabControlValueAccessor } from "../base.component";
4
4
  import * as i0 from "@angular/core";
5
- export declare class GoabTextArea implements ControlValueAccessor {
5
+ export declare class GoabTextArea extends GoabControlValueAccessor {
6
6
  name?: string;
7
- value?: string;
8
- id?: string;
9
7
  placeholder?: string;
10
8
  rows?: number;
11
- error?: boolean;
12
- disabled?: boolean;
13
9
  readOnly?: boolean;
14
10
  width?: string;
15
11
  ariaLabel?: string;
16
12
  countBy?: GoabTextAreaCountBy;
17
13
  maxCount?: number;
18
14
  maxWidth?: string;
19
- testId?: string;
20
- mt?: Spacing;
21
- mb?: Spacing;
22
- ml?: Spacing;
23
- mr?: Spacing;
24
15
  onChange: EventEmitter<GoabTextAreaOnChangeDetail>;
25
16
  onKeyPress: EventEmitter<GoabTextAreaOnKeyPressDetail>;
26
17
  _onChange(e: Event): void;
27
18
  _onKeyPress(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
19
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabTextArea, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabTextArea, "goab-textarea", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "error": { "alias": "error"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "width": { "alias": "width"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "countBy": { "alias": "countBy"; "required": false; }; "maxCount": { "alias": "maxCount"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "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"; "onKeyPress": "onKeyPress"; }, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabTextArea, "goab-textarea", never, { "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "width": { "alias": "width"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "countBy": { "alias": "countBy"; "required": false; }; "maxCount": { "alias": "maxCount"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, { "onChange": "onChange"; "onKeyPress": "onKeyPress"; }, never, never, true, never>;
38
21
  }
@@ -1,14 +1,10 @@
1
- import { GoabTooltipHorizontalAlignment, GoabTooltipPosition, Spacing } from "@abgov/ui-components-common";
1
+ import { GoabTooltipHorizontalAlignment, GoabTooltipPosition } from "@abgov/ui-components-common";
2
+ import { GoabBaseComponent } from "../base.component";
2
3
  import * as i0 from "@angular/core";
3
- export declare class GoabTooltip {
4
+ export declare class GoabTooltip extends GoabBaseComponent {
4
5
  position?: GoabTooltipPosition;
5
6
  content?: string;
6
7
  hAlign?: GoabTooltipHorizontalAlignment;
7
- testId?: string;
8
- mt?: Spacing;
9
- mb?: Spacing;
10
- ml?: Spacing;
11
- mr?: Spacing;
12
8
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabTooltip, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabTooltip, "goab-tooltip", never, { "position": { "alias": "position"; "required": false; }; "content": { "alias": "content"; "required": false; }; "hAlign": { "alias": "hAlign"; "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>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabTooltip, "goab-tooltip", never, { "position": { "alias": "position"; "required": false; }; "content": { "alias": "content"; "required": false; }; "hAlign": { "alias": "hAlign"; "required": false; }; }, {}, never, ["*"], true, never>;
14
10
  }
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "https://github.com/GovAlta/ui-components/issues"
6
6
  },
7
7
  "license": "Apache-2.0",
8
- "version": "4.3.0-alpha.2",
8
+ "version": "4.3.0-alpha.4",
9
9
  "keywords": [
10
10
  "Goab",
11
11
  "ui-components",