@abgov/angular-components 4.11.0-dev.8 → 4.11.0-dev.9

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": "4.11.0-dev.8",
8
+ "version": "4.11.0-dev.9",
9
9
  "keywords": [
10
10
  "Goab",
11
11
  "ui-components",
@@ -18,19 +18,19 @@
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@abgov/ui-components-common": "^0.0.0 || ^1.0.0",
21
- "@angular/forms": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
22
- "@angular/common": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
23
- "@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0"
21
+ "@angular/forms": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
22
+ "@angular/common": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
23
+ "@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0"
24
24
  },
25
25
  "sideEffects": false,
26
26
  "module": "fesm2022/abgov-angular-components.mjs",
27
- "typings": "index.d.ts",
27
+ "typings": "types/abgov-angular-components.d.ts",
28
28
  "exports": {
29
29
  "./package.json": {
30
30
  "default": "./package.json"
31
31
  },
32
32
  ".": {
33
- "types": "./index.d.ts",
33
+ "types": "./types/abgov-angular-components.d.ts",
34
34
  "default": "./fesm2022/abgov-angular-components.mjs"
35
35
  }
36
36
  },
@@ -1,7 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { ElementRef, Renderer2, OnInit, TemplateRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
3
3
  import { ControlValueAccessor, CheckboxControlValueAccessor } from '@angular/forms';
4
- import * as i1 from '@angular/common';
5
4
  import { Spacing, GoabAccordionHeadingSize, GoabAccordionIconPosition, GoabBadgeType, GoabIconType, GoabBlockDirection, GoabBlockAlignment, GoabButtonType, GoabButtonSize, GoabButtonVariant, GoabButtonGroupAlignment, GoabButtonGroupGap, GoabCalendarOnChangeDetail, GoabCalloutType, GoabCalloutSize, GoabCalloutAriaLive, GoabCalloutIconTheme, GoabCheckboxOnChangeDetail, GoabCheckboxListOnChangeDetail, GoabChipVariant, GoabChipTheme, GoabCircularProgressVariant, GoabCircularProgressSize, GoabContainerType, GoabContainerAccent, GoabContainerPadding, GoabContainerWidth, GoabDatePickerInputType, GoabDatePickerOnChangeDetail, GoabDrawerPosition, GoabDrawerSize, GoabDropdownOnChangeDetail, GoabDropdownItemMountType, GoabFileUploadOnCancelDetail, GoabFileUploadOnDeleteDetail, GoabFileUploadInputVariant, GoabFileUploadInputOnSelectFileDetail, GoabPublicFormStatus, GoabFormState, GoabPublicFormPageStep, GoabPublicFormPageButtonVisibility, GoabPublicFormTaskStatus, GoabFormDispatchOn, GoabFieldsetOnContinueDetail, GoabFormItemLabelSize, GoabFormItemRequirement, GoabFormStepStatus, GoabFormStepperOnChangeDetail, GoabIconOverridesType, GoabIconSize, GoabIconTheme, GoabIconButtonVariant, GoabInputType, GoabInputAutoCapitalize, GoabInputOnFocusDetail, GoabInputOnBlurDetail, GoabInputOnKeyPressDetail, GoabInputOnChangeDetail, GoabServiceLevel, GoabLinkTarget, GoabModalCalloutVariant, GoabModalTransition, GoabMenuButtonOnActionDetail, GoabNotificationType, GoabAriaLiveType, GoabPageBlockSize, GoabPaginationVariant, GoabPaginationOnChangeDetail, GoabPopoverPosition, GoabRadioGroupOrientation, GoabRadioGroupOnChangeDetail, GoabSkeletonType, GoabSkeletonSize, GoabSpacerHorizontalSpacing, GoabSpacerVerticalSpacing, GoabTableVariant, GoabTableOnSortDetail, GoabTableSortDirection, GoabTabsVariant, GoabTabsOnChangeDetail, GoabTextTextElement, GoabTextHeadingElement, GoabTextSize, GoabTextMaxWidth, GoabTextColor, GoabTextAreaCountBy, GoabTextAreaOnChangeDetail, GoabTextAreaOnKeyPressDetail, GoabTextAreaOnBlurDetail, GoabTooltipPosition, GoabTooltipHorizontalAlignment, GoabxBadgeType, GoabBadgeSize, GoabBadgeEmphasis, GoabCalloutEmphasis, GoabCheckboxSize, GoabDropdownSize, GoabFormItemType, GoabInputSize, GoabLinkColor, GoabLinkSize, GoabNotificationEmphasis, GoabRadioGroupSize, GoabTextAreaSize, GoabTabsOrientation, GoabWorkSideMenuItemType } from '@abgov/ui-components-common';
6
5
  export * from '@abgov/ui-components-common';
7
6
 
@@ -18,8 +17,8 @@ declare class ValueDirective implements ControlValueAccessor {
18
17
  registerOnTouched(fn: () => void): void;
19
18
  setDisabledState(isDisabled: boolean): void;
20
19
  constructor(elementRef: ElementRef);
21
- listenForValueChange(value: string): void;
22
- listenForDisabledChange(isDisabled: boolean): void;
20
+ listenForValueChange(event: Event): void;
21
+ listenForDisabledChange(event: Event): void;
23
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ValueDirective, never>;
24
23
  static ɵdir: i0.ɵɵDirectiveDeclaration<ValueDirective, "[goaValue]", never, {}, {}, never, never, true, never>;
25
24
  }
@@ -34,7 +33,7 @@ declare class ValueListDirective implements ControlValueAccessor {
34
33
  registerOnChange(fn: () => void): void;
35
34
  registerOnTouched(fn: () => void): void;
36
35
  constructor(elementRef: ElementRef);
37
- listenForValueChange(value: string): void;
36
+ listenForValueChange(event: Event): void;
38
37
  _setValue(value?: string[]): void;
39
38
  static ɵfac: i0.ɵɵFactoryDeclaration<ValueListDirective, never>;
40
39
  static ɵdir: i0.ɵɵDirectiveDeclaration<ValueListDirective, "[goaValueList]", never, {}, {}, never, never, true, never>;
@@ -52,14 +51,14 @@ declare class CheckedDirective extends CheckboxControlValueAccessor {
52
51
  writeValue(checked: any): void;
53
52
  registerOnChange(fn: (_: any) => void): void;
54
53
  registerOnTouched(fn: () => void): void;
55
- listenForValueChange(checked: any): void;
54
+ listenForValueChange(event: Event): void;
56
55
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckedDirective, never>;
57
56
  static ɵdir: i0.ɵɵDirectiveDeclaration<CheckedDirective, "[goaChecked]", never, {}, {}, never, never, true, never>;
58
57
  }
59
58
 
60
59
  declare class AngularComponentsModule {
61
60
  static ɵfac: i0.ɵɵFactoryDeclaration<AngularComponentsModule, never>;
62
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularComponentsModule, never, [typeof i1.CommonModule, typeof ValueDirective, typeof ValueListDirective, typeof CheckedDirective], [typeof ValueDirective, typeof ValueListDirective, typeof CheckedDirective]>;
61
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularComponentsModule, never, [typeof ValueDirective, typeof ValueListDirective, typeof CheckedDirective], [typeof ValueDirective, typeof ValueListDirective, typeof CheckedDirective]>;
63
62
  static ɵinj: i0.ɵɵInjectorDeclaration<AngularComponentsModule>;
64
63
  }
65
64
 
@@ -425,7 +424,7 @@ declare class GoabDatePicker extends GoabControlValueAccessor$1 implements OnIni
425
424
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, renderer: Renderer2);
426
425
  ngOnInit(): void;
427
426
  setDisabledState(isDisabled: boolean): void;
428
- listenDisabledChange(isDisabled: boolean): void;
427
+ listenDisabledChange(event: Event): void;
429
428
  writeValue(value: Date | null): void;
430
429
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabDatePicker, never>;
431
430
  static ɵcmp: i0.ɵɵComponentDeclaration<GoabDatePicker, "goab-date-picker", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "type": { "alias": "type"; "required": false; }; "relative": { "alias": "relative"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
@@ -1264,6 +1263,7 @@ declare class GoabTab implements OnInit {
1264
1263
  slug?: string;
1265
1264
  constructor(cdr: ChangeDetectorRef);
1266
1265
  ngOnInit(): void;
1266
+ isHeadingTemplate(): boolean;
1267
1267
  getHeadingAsString(): string;
1268
1268
  getHeadingAsTemplate(): TemplateRef<any> | null;
1269
1269
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabTab, never>;
@@ -1597,7 +1597,7 @@ declare class GoabxDatePicker extends GoabControlValueAccessor implements OnInit
1597
1597
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, renderer: Renderer2);
1598
1598
  ngOnInit(): void;
1599
1599
  setDisabledState(isDisabled: boolean): void;
1600
- listenDisabledChange(isDisabled: boolean): void;
1600
+ listenDisabledChange(event: Event): void;
1601
1601
  writeValue(value: Date | null): void;
1602
1602
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabxDatePicker, never>;
1603
1603
  static ɵcmp: i0.ɵɵComponentDeclaration<GoabxDatePicker, "goabx-date-picker", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "type": { "alias": "type"; "required": false; }; "relative": { "alias": "relative"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;