@abgov/angular-components 5.2.0-dev.3 → 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
|
@@ -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
|
|
|
@@ -1901,7 +1905,7 @@ declare class GoabWorkSideMenuItem implements OnInit {
|
|
|
1901
1905
|
label: string;
|
|
1902
1906
|
/** The URL the menu item links to. Optional — when absent, renders as a button instead of a link. */
|
|
1903
1907
|
url?: string;
|
|
1904
|
-
/** 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). */
|
|
1905
1909
|
badge?: string;
|
|
1906
1910
|
/** When true, indicates this is the currently active menu item. */
|
|
1907
1911
|
current?: boolean;
|
|
@@ -1911,14 +1915,16 @@ declare class GoabWorkSideMenuItem implements OnInit {
|
|
|
1911
1915
|
icon?: string;
|
|
1912
1916
|
/** Sets a data-testid attribute for automated testing. */
|
|
1913
1917
|
testId?: string;
|
|
1914
|
-
/** 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" */
|
|
1915
1919
|
type?: GoabWorkSideMenuItemType;
|
|
1916
1920
|
/** Template reference for the popover content slot. */
|
|
1917
1921
|
popoverContent: TemplateRef<any>;
|
|
1922
|
+
/** Template reference for the trailing content slot. */
|
|
1923
|
+
trailingContent: TemplateRef<any>;
|
|
1918
1924
|
isReady: boolean;
|
|
1919
1925
|
ngOnInit(): void;
|
|
1920
1926
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabWorkSideMenuItem, never>;
|
|
1921
|
-
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>;
|
|
1922
1928
|
}
|
|
1923
1929
|
|
|
1924
1930
|
declare class GoabWorkSideNotificationItem implements OnInit {
|