@abgov/angular-components 5.0.0-dev.4 → 5.0.0-dev.6

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/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": "5.0.0-dev.4",
8
+ "version": "5.0.0-dev.6",
9
9
  "keywords": [
10
10
  "Goab",
11
11
  "ui-components",
@@ -880,9 +880,9 @@ declare class GoabFormItem extends GoabBaseComponent implements OnInit {
880
880
  /** Sets the label size. 'regular' for standard, 'large' for emphasis. */
881
881
  labelSize?: GoabFormItemLabelSize;
882
882
  /** Help text displayed under the form field to provide additional explanation. */
883
- helpText?: string;
883
+ helpText?: string | TemplateRef<any>;
884
884
  /** Error text displayed under the form field. Leave blank to indicate a valid field. */
885
- error?: string;
885
+ error?: string | TemplateRef<any>;
886
886
  /** Marks the field with an optional or required label indicator. */
887
887
  requirement?: GoabFormItemRequirement;
888
888
  /** Sets the maximum width of the form item. */
@@ -897,9 +897,13 @@ declare class GoabFormItem extends GoabBaseComponent implements OnInit {
897
897
  name?: string;
898
898
  isReady: boolean;
899
899
  version: string;
900
+ getHelpTextAsString(): string | undefined;
901
+ getHelpTextAsTemplate(): TemplateRef<any> | null;
902
+ getErrorAsString(): string | undefined;
903
+ getErrorAsTemplate(): TemplateRef<any> | null;
900
904
  ngOnInit(): void;
901
905
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabFormItem, never>;
902
- 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; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "publicFormSummaryOrder": { "alias": "publicFormSummaryOrder"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["*", "goab-form-item-slot"], true, never>;
906
+ 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; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "publicFormSummaryOrder": { "alias": "publicFormSummaryOrder"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], true, never>;
903
907
  }
904
908
 
905
909
  declare class GoabFormItemSlot {
@@ -1044,6 +1048,8 @@ declare class GoabIconButton extends GoabBaseComponent implements OnInit {
1044
1048
  size?: GoabIconSize;
1045
1049
  /** Styles the button to show color, light, dark or destructive action. */
1046
1050
  variant?: GoabIconButtonVariant;
1051
+ /** Sets the icon theme. "outline" for stroked icons, "filled" for solid icons. @default "outline" */
1052
+ theme?: GoabIconTheme;
1047
1053
  /** Sets the title of the button. */
1048
1054
  title?: string;
1049
1055
  /** Disables the button. */
@@ -1061,7 +1067,7 @@ declare class GoabIconButton extends GoabBaseComponent implements OnInit {
1061
1067
  ngOnInit(): void;
1062
1068
  _onClick(): void;
1063
1069
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabIconButton, never>;
1064
- 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; }; "action": { "alias": "action"; "required": false; }; "actionArg": { "alias": "actionArg"; "required": false; }; "actionArgs": { "alias": "actionArgs"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
1070
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabIconButton, "goab-icon-button", never, { "icon": { "alias": "icon"; "required": true; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "action": { "alias": "action"; "required": false; }; "actionArg": { "alias": "actionArg"; "required": false; }; "actionArgs": { "alias": "actionArgs"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
1065
1071
  static ngAcceptInputType_disabled: unknown;
1066
1072
  }
1067
1073