@abgov/angular-components 5.1.0 → 5.2.0-dev.2
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
|
@@ -408,17 +408,17 @@ declare class GoabChip extends GoabBaseComponent implements OnInit {
|
|
|
408
408
|
private cdr;
|
|
409
409
|
isReady: boolean;
|
|
410
410
|
ngOnInit(): void;
|
|
411
|
-
/** @deprecated Use
|
|
411
|
+
/** @deprecated Use GoabFilterChip (goab-filter-chip) instead. Icon displayed at the start of the chip. */
|
|
412
412
|
leadingIcon?: GoabIconType | null;
|
|
413
|
-
/** @deprecated Use
|
|
413
|
+
/** @deprecated Use GoabFilterChip (goab-filter-chip) instead. Shows an error state on the chip. */
|
|
414
414
|
error?: boolean;
|
|
415
|
-
/** @deprecated Use
|
|
415
|
+
/** @deprecated Use GoabFilterChip (goab-filter-chip) instead. When true, shows a delete icon and makes chip clickable. */
|
|
416
416
|
deletable?: boolean;
|
|
417
|
-
/** @deprecated Use
|
|
417
|
+
/** @deprecated Use GoabFilterChip (goab-filter-chip) instead. The text content displayed in the chip. */
|
|
418
418
|
content?: string;
|
|
419
|
-
/** @deprecated Use
|
|
419
|
+
/** @deprecated Use GoabFilterChip (goab-filter-chip) instead. The chip variant style. */
|
|
420
420
|
variant?: GoabChipVariant;
|
|
421
|
-
/** @deprecated Use
|
|
421
|
+
/** @deprecated Use GoabFilterChip (goab-filter-chip) instead. The icon theme - outline or filled. */
|
|
422
422
|
iconTheme?: GoabChipTheme;
|
|
423
423
|
/** Emits when the chip is clicked. */
|
|
424
424
|
onClick: EventEmitter<any>;
|
|
@@ -577,7 +577,7 @@ declare class GoabDrawer implements OnInit {
|
|
|
577
577
|
onClose: EventEmitter<any>;
|
|
578
578
|
isReady: boolean;
|
|
579
579
|
ngOnInit(): void;
|
|
580
|
-
_onClose(): void;
|
|
580
|
+
_onClose(event: Event): void;
|
|
581
581
|
getHeadingAsString(): string;
|
|
582
582
|
getHeadingAsTemplate(): TemplateRef<any> | null;
|
|
583
583
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabDrawer, never>;
|
|
@@ -599,7 +599,7 @@ declare class GoabDropdown extends GoabControlValueAccessor implements OnInit {
|
|
|
599
599
|
leadingIcon?: GoabIconType;
|
|
600
600
|
/** Maximum height of the dropdown menu. Non-native only. */
|
|
601
601
|
maxHeight?: string;
|
|
602
|
-
/** When true, allows multiple items to be selected.
|
|
602
|
+
/** When true, allows multiple items to be selected. @internal */
|
|
603
603
|
multiselect?: boolean;
|
|
604
604
|
/** When true will render the native select HTML element. */
|
|
605
605
|
native?: boolean;
|
|
@@ -950,7 +950,7 @@ declare class GoabGrid extends GoabBaseComponent implements OnInit {
|
|
|
950
950
|
static ɵcmp: i0.ɵɵComponentDeclaration<GoabGrid, "goab-grid", never, { "minChildWidth": { "alias": "minChildWidth"; "required": true; }; "gap": { "alias": "gap"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
951
951
|
}
|
|
952
952
|
|
|
953
|
-
declare class GoabAppHeader
|
|
953
|
+
declare class GoabAppHeader implements OnInit {
|
|
954
954
|
private cdr;
|
|
955
955
|
/** Sets the URL to link from the alberta.ca logo. A full url is required. */
|
|
956
956
|
url?: string;
|
|
@@ -962,6 +962,8 @@ declare class GoabAppHeader extends GoabBaseComponent implements OnInit {
|
|
|
962
962
|
maxContentWidth?: string;
|
|
963
963
|
/** Sets the breakpoint in px for the full menu to display. */
|
|
964
964
|
fullMenuBreakpoint?: number;
|
|
965
|
+
/** Sets a data-testid attribute for automated testing. */
|
|
966
|
+
testId?: string;
|
|
965
967
|
isReady: boolean;
|
|
966
968
|
version: string;
|
|
967
969
|
ngOnInit(): void;
|
|
@@ -969,23 +971,25 @@ declare class GoabAppHeader extends GoabBaseComponent implements OnInit {
|
|
|
969
971
|
onMenuClick: EventEmitter<any>;
|
|
970
972
|
_onMenuClick(): void;
|
|
971
973
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabAppHeader, never>;
|
|
972
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabAppHeader, "goab-app-header", never, { "url": { "alias": "url"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "secondaryText": { "alias": "secondaryText"; "required": false; }; "maxContentWidth": { "alias": "maxContentWidth"; "required": false; }; "fullMenuBreakpoint": { "alias": "fullMenuBreakpoint"; "required": false; }; }, { "onMenuClick": "onMenuClick"; }, never, ["*"], true, never>;
|
|
974
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabAppHeader, "goab-app-header", never, { "url": { "alias": "url"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "secondaryText": { "alias": "secondaryText"; "required": false; }; "maxContentWidth": { "alias": "maxContentWidth"; "required": false; }; "fullMenuBreakpoint": { "alias": "fullMenuBreakpoint"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "onMenuClick": "onMenuClick"; }, never, ["*"], true, never>;
|
|
973
975
|
static ngAcceptInputType_fullMenuBreakpoint: unknown;
|
|
974
976
|
}
|
|
975
977
|
|
|
976
|
-
declare class GoabAppHeaderMenu
|
|
978
|
+
declare class GoabAppHeaderMenu implements OnInit {
|
|
977
979
|
private cdr;
|
|
978
980
|
/** Icon displayed before the heading text. */
|
|
979
981
|
leadingIcon?: GoabIconType;
|
|
980
982
|
/** The menu heading text displayed as the dropdown trigger. */
|
|
981
983
|
heading?: string;
|
|
984
|
+
/** Sets a data-testid attribute for automated testing. */
|
|
985
|
+
testId?: string;
|
|
982
986
|
/** Sets the slot name for the component. */
|
|
983
987
|
slotName?: string;
|
|
984
988
|
get hostSlot(): string | null;
|
|
985
989
|
isReady: boolean;
|
|
986
990
|
ngOnInit(): void;
|
|
987
991
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabAppHeaderMenu, never>;
|
|
988
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabAppHeaderMenu, "goab-app-header-menu", never, { "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
992
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabAppHeaderMenu, "goab-app-header-menu", never, { "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
989
993
|
}
|
|
990
994
|
|
|
991
995
|
declare class GoabHeroBanner implements OnInit {
|
|
@@ -1005,8 +1009,8 @@ declare class GoabHeroBanner implements OnInit {
|
|
|
1005
1009
|
backgroundColor?: string;
|
|
1006
1010
|
/** Text color within the hero banner. */
|
|
1007
1011
|
textColor?: string;
|
|
1008
|
-
/**
|
|
1009
|
-
actions
|
|
1012
|
+
/** Content rendered in the actions slot. */
|
|
1013
|
+
actions?: TemplateRef<any>;
|
|
1010
1014
|
ngOnInit(): void;
|
|
1011
1015
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabHeroBanner, never>;
|
|
1012
1016
|
static ɵcmp: i0.ɵɵComponentDeclaration<GoabHeroBanner, "goab-hero-banner", never, { "heading": { "alias": "heading"; "required": false; }; "backgroundUrl": { "alias": "backgroundUrl"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "maxContentWidth": { "alias": "maxContentWidth"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
@@ -1334,7 +1338,7 @@ declare class GoabMicrositeHeader implements OnInit {
|
|
|
1334
1338
|
headerUrlTarget?: GoabLinkTarget;
|
|
1335
1339
|
ngOnInit(): void;
|
|
1336
1340
|
/** Emits when the feedback link is clicked. */
|
|
1337
|
-
onFeedbackClick: EventEmitter<
|
|
1341
|
+
onFeedbackClick: EventEmitter<void>;
|
|
1338
1342
|
getVersionAsString(): string;
|
|
1339
1343
|
getVersionAsTemplate(): TemplateRef<any> | null;
|
|
1340
1344
|
_onFeedbackClick(): void;
|
|
@@ -1369,10 +1373,10 @@ declare class GoabModal implements OnInit {
|
|
|
1369
1373
|
/** Sets the template reference for the modal action buttons. */
|
|
1370
1374
|
actions: TemplateRef<any>;
|
|
1371
1375
|
/** Emits when the modal is closed. */
|
|
1372
|
-
onClose: EventEmitter<
|
|
1376
|
+
onClose: EventEmitter<void>;
|
|
1373
1377
|
getHeadingAsString(): string;
|
|
1374
1378
|
getHeadingAsTemplate(): TemplateRef<any> | null;
|
|
1375
|
-
_onClose(): void;
|
|
1379
|
+
_onClose(event: Event): void;
|
|
1376
1380
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabModal, never>;
|
|
1377
1381
|
static ɵcmp: i0.ɵɵComponentDeclaration<GoabModal, "goab-modal", never, { "calloutVariant": { "alias": "calloutVariant"; "required": false; }; "open": { "alias": "open"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "transition": { "alias": "transition"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "role": { "alias": "role"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "onClose": "onClose"; }, never, ["*"], true, never>;
|
|
1378
1382
|
static ngAcceptInputType_open: unknown;
|
|
@@ -1517,10 +1521,10 @@ declare class GoabPushDrawer implements OnInit {
|
|
|
1517
1521
|
/** Sets the template reference for the actions slot content. */
|
|
1518
1522
|
actions: TemplateRef<any>;
|
|
1519
1523
|
/** Emits when the push drawer closes. */
|
|
1520
|
-
onClose: EventEmitter<
|
|
1524
|
+
onClose: EventEmitter<void>;
|
|
1521
1525
|
isReady: boolean;
|
|
1522
1526
|
ngOnInit(): void;
|
|
1523
|
-
_onClose(): void;
|
|
1527
|
+
_onClose(event: Event): void;
|
|
1524
1528
|
getHeadingAsString(): string;
|
|
1525
1529
|
getHeadingAsTemplate(): TemplateRef<any> | null;
|
|
1526
1530
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabPushDrawer, never>;
|
|
@@ -1534,6 +1538,8 @@ declare class GoabRadioGroup extends GoabControlValueAccessor implements OnInit
|
|
|
1534
1538
|
version: string;
|
|
1535
1539
|
/** The name for the radio group. Used for accessibility and change events. */
|
|
1536
1540
|
name?: string;
|
|
1541
|
+
/** The currently selected value in the radio group. */
|
|
1542
|
+
value?: string;
|
|
1537
1543
|
/** Sets the layout direction. 'vertical' stacks items, 'horizontal' places them in a row. */
|
|
1538
1544
|
orientation?: GoabRadioGroupOrientation;
|
|
1539
1545
|
/** Defines how the radio group will be announced by screen readers. */
|
|
@@ -1545,7 +1551,7 @@ declare class GoabRadioGroup extends GoabControlValueAccessor implements OnInit
|
|
|
1545
1551
|
onChange: EventEmitter<GoabRadioGroupOnChangeDetail>;
|
|
1546
1552
|
_onChange(e: Event): void;
|
|
1547
1553
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabRadioGroup, never>;
|
|
1548
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabRadioGroup, "goab-radio-group", never, { "name": { "alias": "name"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
|
|
1554
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabRadioGroup, "goab-radio-group", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
|
|
1549
1555
|
}
|
|
1550
1556
|
|
|
1551
1557
|
declare class GoabRadioItem extends GoabBaseComponent implements OnInit {
|
|
@@ -1566,7 +1572,7 @@ declare class GoabRadioItem extends GoabBaseComponent implements OnInit {
|
|
|
1566
1572
|
revealAriaLabel?: string;
|
|
1567
1573
|
/** Disables this radio option. Also disabled if the parent RadioGroup is disabled. */
|
|
1568
1574
|
disabled?: boolean;
|
|
1569
|
-
/** Sets this radio option as checked/selected. */
|
|
1575
|
+
/** @internal Sets this radio option as checked/selected. */
|
|
1570
1576
|
checked?: boolean;
|
|
1571
1577
|
/** Shows an error state on this radio option. */
|
|
1572
1578
|
error?: boolean;
|
|
@@ -1859,7 +1865,7 @@ declare class GoabWorkSideMenu implements OnInit {
|
|
|
1859
1865
|
/** Template reference for the account slot content. */
|
|
1860
1866
|
accountContent: TemplateRef<any>;
|
|
1861
1867
|
/** Emits when the side menu is toggled open or closed. */
|
|
1862
|
-
onToggle: EventEmitter<
|
|
1868
|
+
onToggle: EventEmitter<void>;
|
|
1863
1869
|
/** Emits when a navigation link is clicked. Emits the URL as a string. */
|
|
1864
1870
|
onNavigate: EventEmitter<string>;
|
|
1865
1871
|
isReady: boolean;
|