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

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.6",
8
+ "version": "5.0.0-dev.8",
9
9
  "keywords": [
10
10
  "Goab",
11
11
  "ui-components",
@@ -211,11 +211,11 @@ declare class GoabBlock extends GoabBaseComponent implements OnInit {
211
211
 
212
212
  declare class GoabButton extends GoabBaseComponent implements OnInit {
213
213
  private cdr;
214
- /** Sets the visual style of the button. Use "primary" for main actions, "secondary" for alternative actions, "tertiary" for low-emphasis actions, and "start" for prominent call-to-action buttons. @default "primary" */
214
+ /** Sets the visual style of the button. Use "primary" for main actions, "secondary" for alternative actions, "tertiary" for low-emphasis actions, "start" for prominent call-to-action buttons, and "text" for text-only buttons. @default "primary" */
215
215
  type?: GoabButtonType;
216
216
  /** Sets the size of the button. Use "compact" for inline actions or space-constrained layouts. @default "normal" */
217
217
  size?: GoabButtonSize;
218
- /** Sets the color variant for semantic meaning. Use "destructive" for delete or irreversible actions, "inverse" for dark backgrounds. @default "normal" */
218
+ /** Sets the color variant for semantic meaning. Use "destructive" for delete or irreversible actions, "inverse" for light-colored text on dark backgrounds, and "dark" for dark text color on text buttons only. Note: "dark" has no effect on non-text button types. @default "normal" */
219
219
  variant?: GoabButtonVariant;
220
220
  /** Sets the disabled state. When true, prevents user interaction and applies disabled styling. */
221
221
  disabled?: boolean;
@@ -1030,10 +1030,12 @@ declare class GoabIcon extends GoabBaseComponent implements OnInit {
1030
1030
  title?: string;
1031
1031
  /** Defines how the icon will be announced by screen readers. */
1032
1032
  ariaLabel?: string;
1033
+ /** Sets the ARIA role for the icon. Use 'presentation' for decorative icons. */
1034
+ role?: string;
1033
1035
  isReady: boolean;
1034
1036
  ngOnInit(): void;
1035
1037
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabIcon, never>;
1036
- 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; }; }, {}, never, never, true, never>;
1038
+ 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; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
1037
1039
  static ngAcceptInputType_inverted: unknown;
1038
1040
  static ngAcceptInputType_opacity: unknown;
1039
1041
  }