@abgov/angular-components 5.2.0-dev.2 → 5.2.0-dev.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.
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.2.0-dev.2",
8
+ "version": "5.2.0-dev.4",
9
9
  "keywords": [
10
10
  "Goab",
11
11
  "ui-components",
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { ElementRef, Renderer2, OnInit, TemplateRef, EventEmitter } from '@angular/core';
3
3
  import { ControlValueAccessor, CheckboxControlValueAccessor } from '@angular/forms';
4
- import { Spacing, GoabAccordionHeadingSize, GoabAccordionIconPosition, GoabBadgeType, GoabIconType, GoabBadgeSize, GoabBadgeEmphasis, GoabBlockDirection, GoabBlockAlignment, GoabButtonType, GoabButtonSize, GoabButtonVariant, GoabButtonGroupAlignment, GoabButtonGroupGap, GoabCalendarOnChangeDetail, GoabCalloutType, GoabCalloutSize, GoabCalloutAriaLive, GoabCalloutIconTheme, GoabCalloutEmphasis, GoabCheckboxSize, GoabCheckboxOnChangeDetail, GoabCheckboxListOnChangeDetail, GoabChipVariant, GoabChipTheme, GoabCircularProgressVariant, GoabCircularProgressSize, GoabContainerType, GoabContainerAccent, GoabContainerPadding, GoabContainerWidth, GoabDatePickerInputType, GoabDatePickerOnChangeDetail, GoabDrawerPosition, GoabDrawerSize, GoabDropdownSize, GoabDropdownOnChangeDetail, GoabDropdownItemMountType, GoabFileUploadOnCancelDetail, GoabFileUploadOnDeleteDetail, GoabFileUploadInputVariant, GoabFileUploadInputOnSelectFileDetail, GoabPublicFormStatus, GoabFormState, GoabPublicFormPageStep, GoabPublicFormPageButtonVisibility, GoabPublicFormTaskStatus, GoabFormDispatchOn, GoabFieldsetOnContinueDetail, GoabFormItemLabelSize, GoabFormItemRequirement, GoabFormItemType, GoabFormStepStatus, GoabFormStepperOnChangeDetail, GoabIconOverridesType, GoabIconSize, GoabIconTheme, GoabIconButtonVariant, GoabInputType, GoabInputAutoCapitalize, GoabInputSize, GoabInputOnFocusDetail, GoabInputOnBlurDetail, GoabInputOnKeyPressDetail, GoabInputOnChangeDetail, GoabLinkColor, GoabLinkSize, GoabServiceLevel, GoabLinkTarget, GoabModalCalloutVariant, GoabModalTransition, GoabMenuButtonOnActionDetail, GoabNotificationType, GoabAriaLiveType, GoabNotificationEmphasis, GoabPageBlockSize, GoabPaginationVariant, GoabPaginationOnChangeDetail, GoabPopoverPosition, GoabRadioGroupOrientation, GoabRadioGroupSize, GoabRadioGroupOnChangeDetail, GoabSkeletonType, GoabSkeletonSize, GoabSpacerHorizontalSpacing, GoabSpacerVerticalSpacing, GoabTableVariant, GoabTableSortMode, GoabTableOnSortDetail, GoabTableOnMultiSortDetail, GoabTableSortDirection, GoabTableSortOrder, GoabTabsVariant, GoabTabsOrientation, GoabTabsNavigation, GoabTabsOnChangeDetail, GoabTextTextElement, GoabTextHeadingElement, GoabTextSize, GoabTextMaxWidth, GoabTextColor, GoabTextAreaCountBy, GoabTextAreaSize, GoabTextAreaOnChangeDetail, GoabTextAreaOnKeyPressDetail, GoabTextAreaOnBlurDetail, GoabTooltipPosition, GoabTooltipHorizontalAlignment, GoabWorkSideMenuItemType, GoabWorkSideNotificationItemType, GoabWorkSideNotificationReadStatus, GoabWorkSideNotificationPriority, GoabWorkSideNotificationActiveTabType } from '@abgov/ui-components-common';
4
+ import { Spacing, GoabAccordionHeadingSize, GoabAccordionIconPosition, GoabAccordionHeadingType, GoabBadgeType, GoabIconType, GoabBadgeSize, GoabBadgeEmphasis, GoabBlockDirection, GoabBlockAlignment, GoabButtonType, GoabButtonSize, GoabButtonVariant, GoabButtonGroupAlignment, GoabButtonGroupGap, GoabCalendarOnChangeDetail, GoabCalloutType, GoabCalloutSize, GoabCalloutAriaLive, GoabCalloutIconTheme, GoabCalloutEmphasis, GoabCheckboxSize, GoabCheckboxOnChangeDetail, GoabCheckboxListOnChangeDetail, GoabChipVariant, GoabChipTheme, GoabCircularProgressVariant, GoabCircularProgressSize, GoabContainerType, GoabContainerAccent, GoabContainerPadding, GoabContainerWidth, GoabDatePickerInputType, GoabDatePickerOnChangeDetail, GoabDrawerPosition, GoabDrawerSize, GoabDropdownSize, GoabDropdownOnChangeDetail, GoabDropdownItemMountType, GoabFileUploadOnCancelDetail, GoabFileUploadOnDeleteDetail, GoabFileUploadInputVariant, GoabFileUploadInputOnSelectFileDetail, GoabPublicFormStatus, GoabFormState, GoabPublicFormPageStep, GoabPublicFormPageButtonVisibility, GoabPublicFormTaskStatus, GoabFormDispatchOn, GoabFieldsetOnContinueDetail, GoabFormItemLabelSize, GoabFormItemRequirement, GoabFormItemType, GoabFormStepStatus, GoabFormStepperOnChangeDetail, GoabIconOverridesType, GoabIconSize, GoabIconTheme, GoabIconButtonVariant, GoabInputType, GoabInputAutoCapitalize, GoabInputSize, GoabInputOnFocusDetail, GoabInputOnBlurDetail, GoabInputOnKeyPressDetail, GoabInputOnChangeDetail, GoabLinkColor, GoabLinkSize, GoabServiceLevel, GoabLinkTarget, GoabModalCalloutVariant, GoabModalTransition, GoabMenuButtonOnActionDetail, GoabNotificationType, GoabAriaLiveType, GoabNotificationEmphasis, GoabPageBlockSize, GoabPaginationVariant, GoabPaginationOnChangeDetail, GoabPopoverPosition, GoabRadioGroupOrientation, GoabRadioGroupSize, GoabRadioGroupOnChangeDetail, GoabSkeletonType, GoabSkeletonSize, GoabSpacerHorizontalSpacing, GoabSpacerVerticalSpacing, GoabTableVariant, GoabTableSortMode, GoabTableOnSortDetail, GoabTableOnMultiSortDetail, GoabTableSortDirection, GoabTableSortOrder, GoabTabsVariant, GoabTabsOrientation, GoabTabsNavigation, GoabTabsOnChangeDetail, GoabTextTextElement, GoabTextHeadingElement, GoabTextSize, GoabTextMaxWidth, GoabTextColor, GoabTextAreaCountBy, GoabTextAreaSize, GoabTextAreaOnChangeDetail, GoabTextAreaOnKeyPressDetail, GoabTextAreaOnBlurDetail, GoabTooltipPosition, GoabTooltipHorizontalAlignment, GoabWorkSideMenuItemType, GoabWorkSideNotificationItemType, GoabWorkSideNotificationReadStatus, GoabWorkSideNotificationPriority, GoabWorkSideNotificationActiveTabType } from '@abgov/ui-components-common';
5
5
  export * from '@abgov/ui-components-common';
6
6
 
7
7
  declare class ValueDirective implements ControlValueAccessor {
@@ -151,17 +151,21 @@ declare class GoabAccordion extends GoabBaseComponent implements OnInit {
151
151
  headingSize?: GoabAccordionHeadingSize;
152
152
  /** Sets the heading content template reference. */
153
153
  headingContent: TemplateRef<any>;
154
+ /** Sets the actions content template reference, rendered right-aligned in the heading before the expand/collapse icon. */
155
+ actions?: TemplateRef<any>;
154
156
  /** Sets the maximum width of the accordion. */
155
157
  maxWidth?: string;
156
158
  /** Sets the position of the expand/collapse icon. */
157
159
  iconPosition?: GoabAccordionIconPosition;
160
+ /** Sets the accordion style variant. */
161
+ headingType?: GoabAccordionHeadingType;
158
162
  /** Emits when the accordion opens or closes. Emits the new open state as a boolean. */
159
163
  onChange: EventEmitter<boolean>;
160
164
  isReady: boolean;
161
165
  ngOnInit(): void;
162
166
  _onChange(e: Event): void;
163
167
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabAccordion, never>;
164
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabAccordion, "goab-accordion", never, { "heading": { "alias": "heading"; "required": false; }; "secondaryText": { "alias": "secondaryText"; "required": false; }; "open": { "alias": "open"; "required": false; }; "headingSize": { "alias": "headingSize"; "required": false; }; "headingContent": { "alias": "headingContent"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
168
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabAccordion, "goab-accordion", never, { "heading": { "alias": "heading"; "required": false; }; "secondaryText": { "alias": "secondaryText"; "required": false; }; "open": { "alias": "open"; "required": false; }; "headingSize": { "alias": "headingSize"; "required": false; }; "headingContent": { "alias": "headingContent"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "headingType": { "alias": "headingType"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
165
169
  static ngAcceptInputType_open: unknown;
166
170
  }
167
171
 
@@ -1707,6 +1711,7 @@ declare class GoabTable extends GoabBaseComponent implements OnInit {
1707
1711
  declare class GoabTableSortHeader implements OnInit {
1708
1712
  private cdr;
1709
1713
  isReady: boolean;
1714
+ version: string;
1710
1715
  /** Column name identifier for sorting. */
1711
1716
  name?: string;
1712
1717
  /** Sets the sort direction indicator. @default "none" */
@@ -1900,7 +1905,7 @@ declare class GoabWorkSideMenuItem implements OnInit {
1900
1905
  label: string;
1901
1906
  /** The URL the menu item links to. Optional — when absent, renders as a button instead of a link. */
1902
1907
  url?: string;
1903
- /** Badge text displayed alongside the menu item (e.g., notification count). */
1908
+ /** @deprecated Use trailingContent instead. Badge text displayed alongside the menu item (e.g., notification count). */
1904
1909
  badge?: string;
1905
1910
  /** When true, indicates this is the currently active menu item. */
1906
1911
  current?: boolean;
@@ -1910,14 +1915,16 @@ declare class GoabWorkSideMenuItem implements OnInit {
1910
1915
  icon?: string;
1911
1916
  /** Sets a data-testid attribute for automated testing. */
1912
1917
  testId?: string;
1913
- /** Sets the visual style of the badge. Use "emergency" for urgent items, "success" for positive status. @default "normal" */
1918
+ /** @deprecated Use trailingContent instead. Sets the visual style of the badge. Use "emergency" for urgent items, "success" for positive status. @default "normal" */
1914
1919
  type?: GoabWorkSideMenuItemType;
1915
1920
  /** Template reference for the popover content slot. */
1916
1921
  popoverContent: TemplateRef<any>;
1922
+ /** Template reference for the trailing content slot. */
1923
+ trailingContent: TemplateRef<any>;
1917
1924
  isReady: boolean;
1918
1925
  ngOnInit(): void;
1919
1926
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabWorkSideMenuItem, never>;
1920
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabWorkSideMenuItem, "goab-work-side-menu-item", never, { "label": { "alias": "label"; "required": true; }; "url": { "alias": "url"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "current": { "alias": "current"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "type": { "alias": "type"; "required": false; }; "popoverContent": { "alias": "popoverContent"; "required": false; }; }, {}, never, ["*"], true, never>;
1927
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabWorkSideMenuItem, "goab-work-side-menu-item", never, { "label": { "alias": "label"; "required": true; }; "url": { "alias": "url"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "current": { "alias": "current"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "type": { "alias": "type"; "required": false; }; "popoverContent": { "alias": "popoverContent"; "required": false; }; "trailingContent": { "alias": "trailingContent"; "required": false; }; }, {}, never, ["*"], true, never>;
1921
1928
  }
1922
1929
 
1923
1930
  declare class GoabWorkSideNotificationItem implements OnInit {