@abgov/react-components 5.0.0-alpha.14 → 5.0.0-alpha.16

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.
Files changed (91) hide show
  1. package/experimental/form/form-summary.d.ts +2 -1
  2. package/experimental/form/form.d.ts +10 -21
  3. package/experimental/form/task-list.d.ts +6 -5
  4. package/experimental/form/task.d.ts +6 -5
  5. package/experimental/index.d.ts +2 -2
  6. package/experimental/resizable-panel/ResizablePanel.d.ts +2 -1
  7. package/experimental.js +4 -4
  8. package/experimental.js.map +1 -1
  9. package/experimental.mjs +4 -4
  10. package/experimental.mjs.map +1 -1
  11. package/{icon-1IRcN4Uf.js → icon-DmXlIizF.js} +3 -3
  12. package/icon-DmXlIizF.js.map +1 -0
  13. package/{icon-DgSW1II3.mjs → icon-iZ6Uu6WB.mjs} +3 -3
  14. package/icon-iZ6Uu6WB.mjs.map +1 -0
  15. package/index.d.ts +60 -61
  16. package/index.js +241 -257
  17. package/index.js.map +1 -1
  18. package/index.mjs +241 -257
  19. package/index.mjs.map +1 -1
  20. package/lib/accordion/accordion.d.ts +11 -12
  21. package/lib/app-header/app-header.d.ts +4 -3
  22. package/lib/app-header-menu/app-header-menu.d.ts +8 -7
  23. package/lib/badge/badge.d.ts +10 -10
  24. package/lib/block/block.d.ts +9 -9
  25. package/lib/button/button.d.ts +14 -20
  26. package/lib/button-group/button-group.d.ts +9 -11
  27. package/lib/calendar/calendar.d.ts +6 -5
  28. package/lib/callout/callout.d.ts +13 -17
  29. package/lib/card/card-actions.d.ts +4 -3
  30. package/lib/card/card-content.d.ts +4 -3
  31. package/lib/card/card-group.d.ts +4 -3
  32. package/lib/card/card-image.d.ts +4 -3
  33. package/lib/card/card.d.ts +6 -4
  34. package/lib/card/index.d.ts +5 -5
  35. package/lib/checkbox/checkbox.d.ts +7 -6
  36. package/lib/chip/chip.d.ts +9 -10
  37. package/lib/circular-progress/circular-progress.d.ts +9 -11
  38. package/lib/container/container.d.ts +14 -17
  39. package/lib/date-picker/date-picker.d.ts +6 -5
  40. package/lib/details/details.d.ts +6 -6
  41. package/lib/divider/divider.d.ts +5 -4
  42. package/lib/drawer/drawer.d.ts +2 -1
  43. package/lib/dropdown/dropdown-item.d.ts +7 -6
  44. package/lib/dropdown/dropdown.d.ts +7 -7
  45. package/lib/fieldset/fieldset.d.ts +7 -6
  46. package/lib/file-upload-card/file-upload-card.d.ts +8 -6
  47. package/lib/file-upload-input/file-upload-input.d.ts +8 -7
  48. package/lib/filter-chip/filter-chip.d.ts +2 -1
  49. package/lib/footer/footer.d.ts +6 -5
  50. package/lib/footer-meta-section/footer-meta-section.d.ts +5 -5
  51. package/lib/footer-nav-section/footer-nav-section.d.ts +5 -4
  52. package/lib/form-item/form-item.d.ts +11 -12
  53. package/lib/form-step/form-step.d.ts +7 -7
  54. package/lib/form-stepper/form-stepper.d.ts +7 -7
  55. package/lib/grid/grid.d.ts +5 -4
  56. package/lib/hero-banner/hero-banner-actions.d.ts +4 -3
  57. package/lib/hero-banner/hero-banner.d.ts +4 -3
  58. package/lib/icon/icon.d.ts +11 -18
  59. package/lib/icon-button/icon-button.d.ts +10 -12
  60. package/lib/input/input.d.ts +39 -42
  61. package/lib/link/link.d.ts +7 -7
  62. package/lib/link-button/link-button.d.ts +9 -10
  63. package/lib/microsite-header/microsite-header.d.ts +12 -14
  64. package/lib/modal/modal.d.ts +12 -17
  65. package/lib/notification/notification.d.ts +9 -11
  66. package/lib/one-column-layout/one-column-layout.d.ts +6 -5
  67. package/lib/page-block/page-block.d.ts +5 -4
  68. package/lib/pages/pages.d.ts +6 -5
  69. package/lib/pagination/pagination.d.ts +7 -6
  70. package/lib/popover/popover.d.ts +8 -8
  71. package/lib/radio-group/radio-group.d.ts +9 -9
  72. package/lib/radio-group/radio.d.ts +5 -4
  73. package/lib/side-menu/side-menu.d.ts +5 -5
  74. package/lib/side-menu-group/side-menu-group.d.ts +8 -8
  75. package/lib/side-menu-heading/side-menu-heading.d.ts +8 -7
  76. package/lib/skeleton/skeleton.d.ts +10 -12
  77. package/lib/spacer/spacer.d.ts +9 -9
  78. package/lib/spinner/spinner.d.ts +10 -10
  79. package/lib/tab/tab.d.ts +3 -3
  80. package/lib/table/table-sort-header.d.ts +7 -6
  81. package/lib/table/table.d.ts +10 -11
  82. package/lib/tabs/tabs.d.ts +7 -5
  83. package/lib/text/text.d.ts +11 -16
  84. package/lib/textarea/textarea.d.ts +9 -10
  85. package/lib/three-column-layout/three-column-layout.d.ts +5 -4
  86. package/lib/tooltip/tooltip.d.ts +10 -11
  87. package/lib/two-column-layout/two-column-layout.d.ts +5 -4
  88. package/package.json +2 -2
  89. package/common/styling.d.ts +0 -12
  90. package/icon-1IRcN4Uf.js.map +0 -1
  91. package/icon-DgSW1II3.mjs.map +0 -1
@@ -1,4 +1,5 @@
1
- import { Margins } from "../../common/styling";
1
+ import { Margins } from '../../../../../dist/libs/common/index.d.ts';
2
+
2
3
  interface WCProps extends Margins {
3
4
  testid?: string;
4
5
  }
@@ -9,8 +10,8 @@ declare global {
9
10
  }
10
11
  }
11
12
  }
12
- export interface GoADividerProps extends Margins {
13
+ export interface GoabDividerProps extends Margins {
13
14
  testId?: string;
14
15
  }
15
- export declare function GoADivider(props: GoADividerProps): import("react/jsx-runtime").JSX.Element;
16
- export default GoADivider;
16
+ export declare function GoabDivider(props: GoabDividerProps): import("react/jsx-runtime").JSX.Element;
17
+ export default GoabDivider;
@@ -1,4 +1,5 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
+
2
3
  type DrawerPosition = "bottom" | "left" | "right" | undefined;
3
4
  type DrawerSizeUnit = "px" | "rem" | "ch" | "vh" | "vw";
4
5
  type DrawerSize = `${number}${DrawerSizeUnit}` | undefined;
@@ -1,11 +1,12 @@
1
+ import { GoabDropdownItemMountType } from '../../../../../dist/libs/common/index.d.ts';
2
+
1
3
  interface WCProps {
2
4
  value: string;
3
5
  label?: string;
4
6
  filter?: string;
5
- mount?: DropdownItemMountType;
7
+ mount?: GoabDropdownItemMountType;
6
8
  name?: string;
7
9
  }
8
- export type DropdownItemMountType = "append" | "prepend" | "reset";
9
10
  declare global {
10
11
  namespace JSX {
11
12
  interface IntrinsicElements {
@@ -13,14 +14,14 @@ declare global {
13
14
  }
14
15
  }
15
16
  }
16
- export interface GoADropdownItemProps {
17
+ export interface GoabDropdownItemProps {
17
18
  value: string;
18
19
  label?: string;
19
20
  filter?: string;
20
21
  testId?: string;
21
- mountType?: DropdownItemMountType;
22
+ mountType?: GoabDropdownItemMountType;
22
23
  name?: string;
23
24
  }
24
- export declare function GoADropdownOption(props: GoADropdownItemProps): import("react/jsx-runtime").JSX.Element;
25
- export declare function GoADropdownItem({ value, label, filter, name, testId, mountType }: GoADropdownItemProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function GoabDropdownOption(props: GoabDropdownItemProps): import("react/jsx-runtime").JSX.Element;
26
+ export declare function GoabDropdownItem({ value, label, filter, name, mountType }: GoabDropdownItemProps): import("react/jsx-runtime").JSX.Element;
26
27
  export {};
@@ -1,5 +1,5 @@
1
- import { Margins } from "../../common/styling";
2
- import { GoAIconType } from "../icon/icon";
1
+ import { GoabDropdownOnChangeDetail, GoabIconType, Margins } from '../../../../../dist/libs/common/index.d.ts';
2
+
3
3
  interface WCProps extends Margins {
4
4
  ref: React.MutableRefObject<HTMLElement | null>;
5
5
  arialabel?: string;
@@ -26,10 +26,10 @@ declare global {
26
26
  }
27
27
  }
28
28
  }
29
- export interface GoADropdownProps extends Margins {
29
+ export interface GoabDropdownProps extends Margins {
30
30
  name?: string;
31
31
  value?: string[] | string;
32
- onChange?: (name: string, values: string[] | string) => void;
32
+ onChange: (detail: GoabDropdownOnChangeDetail) => void;
33
33
  ariaLabel?: string;
34
34
  ariaLabelledBy?: string;
35
35
  id?: string;
@@ -37,7 +37,7 @@ export interface GoADropdownProps extends Margins {
37
37
  disabled?: boolean;
38
38
  error?: boolean;
39
39
  filterable?: boolean;
40
- leadingIcon?: GoAIconType;
40
+ leadingIcon?: GoabIconType;
41
41
  maxHeight?: string;
42
42
  multiselect?: boolean;
43
43
  native?: boolean;
@@ -46,5 +46,5 @@ export interface GoADropdownProps extends Margins {
46
46
  width?: string;
47
47
  relative?: boolean;
48
48
  }
49
- export declare function GoADropdown(props: GoADropdownProps): JSX.Element;
50
- export default GoADropdown;
49
+ export declare function GoabDropdown(props: GoabDropdownProps): JSX.Element;
50
+ export default GoabDropdown;
@@ -1,5 +1,6 @@
1
- import { ReactNode } from "react";
2
- import { Margins } from "../../common/styling";
1
+ import { Margins, GoabFielsetOnContinueDetail } from '../../../../../dist/libs/common/index.d.ts';
2
+ import { ReactNode } from 'react';
3
+
3
4
  interface WCProps extends Margins {
4
5
  ref?: React.MutableRefObject<HTMLElement | null>;
5
6
  id: string;
@@ -15,15 +16,15 @@ declare global {
15
16
  }
16
17
  }
17
18
  }
18
- interface GoAFieldsetProps extends Margins {
19
+ interface GoabFieldsetProps extends Margins {
19
20
  id: string;
20
21
  first?: boolean;
21
22
  last?: boolean;
22
23
  heading?: string;
23
24
  buttonText?: string;
24
25
  errors?: Record<string, string>;
25
- onContinue?: (el: HTMLElement, state: Record<string, string>) => boolean | void | undefined;
26
+ onContinue?: (event: GoabFielsetOnContinueDetail) => boolean | void | undefined;
26
27
  children: ReactNode;
27
28
  }
28
- export declare function GoAFieldset({ heading, buttonText, id, onContinue, children, mt, mr, mb, ml, first, last, }: GoAFieldsetProps): import("react/jsx-runtime").JSX.Element;
29
- export default GoAFieldset;
29
+ export declare function GoabFieldset({ heading, buttonText, id, onContinue, children, mt, mr, mb, ml, first, last, }: GoabFieldsetProps): import("react/jsx-runtime").JSX.Element;
30
+ export default GoabFieldset;
@@ -1,3 +1,5 @@
1
+ import { GoabFileUploadOnCancelDetail, GoabFileUploadOnDeleteDetail } from '../../../../../dist/libs/common/index.d.ts';
2
+
1
3
  interface WCProps {
2
4
  ref: React.MutableRefObject<HTMLElement | null>;
3
5
  filename: string;
@@ -14,15 +16,15 @@ declare global {
14
16
  }
15
17
  }
16
18
  }
17
- export interface GoAFileUploadCardProps {
19
+ export interface GoabFileUploadCardProps {
18
20
  filename: string;
19
21
  size: number;
20
22
  type?: string;
21
23
  progress?: number;
24
+ testId: string;
22
25
  error?: string;
23
- testId?: string;
24
- onDelete?: () => void;
25
- onCancel?: () => void;
26
+ onDelete?: (detail: GoabFileUploadOnDeleteDetail) => void;
27
+ onCancel?: (detail: GoabFileUploadOnCancelDetail) => void;
26
28
  }
27
- export declare function GoAFileUploadCard({ filename, size, type, progress, error, testId, onDelete, onCancel, }: GoAFileUploadCardProps): import("react/jsx-runtime").JSX.Element;
28
- export default GoAFileUploadCard;
29
+ export declare function GoabFileUploadCard({ filename, size, type, progress, error, testId, onDelete, onCancel, }: GoabFileUploadCardProps): import("react/jsx-runtime").JSX.Element;
30
+ export default GoabFileUploadCard;
@@ -1,7 +1,8 @@
1
- export type GoAFileUploadInputVariant = "dragdrop" | "button";
1
+ import { GoabFileUploadInputOnSelectFileDetail, GoabFileUploadInputVariant } from '../../../../../dist/libs/common/index.d.ts';
2
+
2
3
  interface WCProps {
3
4
  ref: React.MutableRefObject<HTMLElement | null>;
4
- variant?: GoAFileUploadInputVariant;
5
+ variant?: GoabFileUploadInputVariant;
5
6
  accept?: string;
6
7
  maxfilesize?: string;
7
8
  testid?: string;
@@ -13,12 +14,12 @@ declare global {
13
14
  }
14
15
  }
15
16
  }
16
- export interface GoAFileUploadInputProps {
17
- variant?: GoAFileUploadInputVariant;
17
+ export interface GoabFileUploadInputProps {
18
+ variant?: GoabFileUploadInputVariant;
18
19
  accept?: string;
19
20
  maxFileSize?: string;
20
21
  testId?: string;
21
- onSelectFile: (file: File) => void;
22
+ onSelectFile: (detail: GoabFileUploadInputOnSelectFileDetail) => void;
22
23
  }
23
- export declare function GoAFileUploadInput({ variant, accept, maxFileSize, testId, onSelectFile, }: GoAFileUploadInputProps): import("react/jsx-runtime").JSX.Element;
24
- export default GoAFileUploadInput;
24
+ export declare function GoabFileUploadInput({ variant, accept, maxFileSize, testId, onSelectFile, }: GoabFileUploadInputProps): import("react/jsx-runtime").JSX.Element;
25
+ export default GoabFileUploadInput;
@@ -1,4 +1,5 @@
1
- import { Margins } from "../../common/styling";
1
+ import { Margins } from '../../../../../dist/libs/common/index.d.ts';
2
+
2
3
  export type GoAFilterChipTheme = "outline" | "filled";
3
4
  interface WCProps extends Margins {
4
5
  ref: React.RefObject<HTMLElement>;
@@ -1,4 +1,5 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
+
2
3
  interface WCProps {
3
4
  maxcontentwidth?: string;
4
5
  testid?: string;
@@ -10,11 +11,11 @@ declare global {
10
11
  }
11
12
  }
12
13
  }
13
- export interface GoAAppFooterProps {
14
+ export interface GoabAppFooterProps {
14
15
  maxContentWidth?: string;
15
16
  children?: ReactNode;
16
17
  testId?: string;
17
18
  }
18
- export type FooterProps = GoAAppFooterProps;
19
- export declare function GoAAppFooter({ maxContentWidth, children, testId, }: GoAAppFooterProps): JSX.Element;
20
- export default GoAAppFooter;
19
+ export type FooterProps = GoabAppFooterProps;
20
+ export declare function GoabAppFooter({ maxContentWidth, children, testId, }: GoabAppFooterProps): JSX.Element;
21
+ export default GoabAppFooter;
@@ -1,4 +1,5 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
+
2
3
  interface WCProps {
3
4
  testid?: string;
4
5
  }
@@ -9,10 +10,9 @@ declare global {
9
10
  }
10
11
  }
11
12
  }
12
- export interface GoAAppFooterMetaSectionProps {
13
+ export interface GoabAppFooterMetaSectionProps {
13
14
  testId?: string;
14
15
  children?: ReactNode;
15
16
  }
16
- export type FooterMetaSectionProps = GoAAppFooterMetaSectionProps;
17
- export declare function GoAAppFooterMetaSection({ testId, children }: GoAAppFooterMetaSectionProps): import("react/jsx-runtime").JSX.Element;
18
- export default GoAAppFooterMetaSection;
17
+ export declare function GoabAppFooterMetaSection({ testId, children, }: GoabAppFooterMetaSectionProps): import("react/jsx-runtime").JSX.Element;
18
+ export default GoabAppFooterMetaSection;
@@ -1,4 +1,5 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
+
2
3
  interface WCProps {
3
4
  maxcolumncount?: number;
4
5
  heading?: string;
@@ -11,11 +12,11 @@ declare global {
11
12
  }
12
13
  }
13
14
  }
14
- export interface GoAFooterNavSectionProps {
15
+ export interface GoabFooterNavSectionProps {
15
16
  maxColumnCount?: number;
16
17
  heading?: string;
17
18
  testId?: string;
18
19
  children?: ReactNode;
19
20
  }
20
- export declare function GoAAppFooterNavSection({ heading, maxColumnCount, testId, children, }: GoAFooterNavSectionProps): import("react/jsx-runtime").JSX.Element;
21
- export default GoAAppFooterNavSection;
21
+ export declare function GoabAppFooterNavSection({ heading, maxColumnCount, testId, children, }: GoabFooterNavSectionProps): import("react/jsx-runtime").JSX.Element;
22
+ export default GoabAppFooterNavSection;
@@ -1,10 +1,9 @@
1
- import { Margins } from "../../common/styling";
2
- export type GoAFormItemRequirement = "optional" | "required";
3
- export type GoAFormItemLabelSize = "regular" | "large";
1
+ import { GoabFormItemLabelSize, GoabFormItemRequirement, Margins } from '../../../../../dist/libs/common/index.d.ts';
2
+
4
3
  interface WCProps extends Margins {
5
4
  label?: string;
6
- labelsize?: GoAFormItemLabelSize;
7
- requirement?: GoAFormItemRequirement;
5
+ labelsize?: GoabFormItemLabelSize;
6
+ requirement?: GoabFormItemRequirement;
8
7
  error?: string;
9
8
  helptext?: string;
10
9
  maxwidth?: string;
@@ -18,16 +17,16 @@ declare global {
18
17
  }
19
18
  }
20
19
  }
21
- export interface GoAFormItemProps extends Margins {
20
+ export interface GoabFormItemprops extends Margins {
22
21
  label?: string;
23
- labelSize?: GoAFormItemLabelSize;
24
- requirement?: GoAFormItemRequirement;
25
- error?: React.ReactNode;
26
- helpText?: React.ReactNode;
22
+ labelSize?: GoabFormItemLabelSize;
23
+ requirement?: GoabFormItemRequirement;
24
+ error?: string | React.ReactNode;
25
+ helpText?: string | React.ReactNode;
27
26
  maxWidth?: string;
28
27
  children?: React.ReactNode;
29
28
  testId?: string;
30
29
  id?: string;
31
30
  }
32
- export declare function GoAFormItem({ children, helpText, error, requirement, label, labelSize, maxWidth, mt, mr, mb, ml, testId, id, }: GoAFormItemProps): JSX.Element;
33
- export default GoAFormItem;
31
+ export declare function GoabFormItem({ children, helpText, error, requirement, label, labelSize, maxWidth, mt, mr, mb, ml, testId, id, }: GoabFormItemprops): JSX.Element;
32
+ export default GoabFormItem;
@@ -1,7 +1,8 @@
1
- export type GoAFormStepStatusType = "complete" | "incomplete";
1
+ import { GoabFormStepStatus } from '../../../../../dist/libs/common/index.d.ts';
2
+
2
3
  interface WCProps {
3
4
  text: string;
4
- status?: GoAFormStepStatusType;
5
+ status?: GoabFormStepStatus;
5
6
  }
6
7
  declare global {
7
8
  namespace JSX {
@@ -10,10 +11,9 @@ declare global {
10
11
  }
11
12
  }
12
13
  }
13
- export interface GoAFormStepProps {
14
+ export interface GoabFormStepProps {
14
15
  text: string;
15
- status?: GoAFormStepStatusType;
16
+ status?: GoabFormStepStatus;
16
17
  }
17
- export type FormStepProps = GoAFormStepProps;
18
- export declare function GoAFormStep(props: GoAFormStepProps): import("react/jsx-runtime").JSX.Element;
19
- export default GoAFormStep;
18
+ export declare function GoabFormStep(props: GoabFormStepProps): import("react/jsx-runtime").JSX.Element;
19
+ export default GoabFormStep;
@@ -1,5 +1,6 @@
1
- import { ReactNode } from "react";
2
- import { Margins } from "../../common/styling";
1
+ import { ReactNode } from 'react';
2
+ import { GoabFormStepperOnChangeDetail, Margins } from '../../../../../dist/libs/common/index.d.ts';
3
+
3
4
  interface WCProps extends Margins {
4
5
  ref?: React.MutableRefObject<HTMLElement | null>;
5
6
  step?: number;
@@ -12,12 +13,11 @@ declare global {
12
13
  }
13
14
  }
14
15
  }
15
- export interface GoAFormStepperProps extends Margins {
16
+ export interface GoabFormStepperProps extends Margins {
16
17
  step?: number;
17
18
  testId?: string;
18
19
  children?: ReactNode;
19
- onChange?: (step: number) => void;
20
+ onChange?: (detail: GoabFormStepperOnChangeDetail) => void;
20
21
  }
21
- export type FormStepperProps = GoAFormStepperProps;
22
- export declare function GoAFormStepper({ testId, step, mt, mb, ml, mr, onChange, children, }: GoAFormStepperProps): import("react/jsx-runtime").JSX.Element;
23
- export default GoAFormStepper;
22
+ export declare function GoabFormStepper({ testId, step, mt, mb, ml, mr, onChange, children, }: GoabFormStepperProps): import("react/jsx-runtime").JSX.Element;
23
+ export default GoabFormStepper;
@@ -1,4 +1,5 @@
1
- import { Margins, Spacing } from "../../common/styling";
1
+ import { Margins, Spacing } from '../../../../../dist/libs/common/index.d.ts';
2
+
2
3
  interface WCProps extends Margins {
3
4
  gap?: Spacing;
4
5
  minchildwidth: string;
@@ -11,11 +12,11 @@ declare global {
11
12
  }
12
13
  }
13
14
  }
14
- export interface GoAGridProps extends Margins {
15
+ export interface GoabGridProps extends Margins {
15
16
  gap?: Spacing;
16
17
  minChildWidth: string;
17
18
  testId?: string;
18
19
  children?: React.ReactNode;
19
20
  }
20
- export declare function GoAGrid({ gap, minChildWidth, mt, mr, mb, ml, testId, children, }: GoAGridProps): JSX.Element;
21
- export default GoAGrid;
21
+ export declare function GoabGrid({ gap, minChildWidth, mt, mr, mb, ml, testId, children, }: GoabGridProps): JSX.Element;
22
+ export default GoabGrid;
@@ -1,5 +1,6 @@
1
- export type GoAHeroBannerActionsType = {
1
+ /// <reference types="react" />
2
+ export type GoabHeroBannerActionsType = {
2
3
  children?: React.ReactNode;
3
4
  };
4
- export declare function GoAHeroBannerActions({ children, }: GoAHeroBannerActionsType): JSX.Element;
5
- export default GoAHeroBannerActions;
5
+ export declare function GoabHeroBannerActions({ children, }: GoabHeroBannerActionsType): JSX.Element;
6
+ export default GoabHeroBannerActions;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface WCProps {
2
3
  heading: string;
3
4
  backgroundurl?: string;
@@ -14,7 +15,7 @@ declare global {
14
15
  }
15
16
  }
16
17
  }
17
- export interface GoAHeroBannerProps {
18
+ export interface GoabHeroBannerProps {
18
19
  heading: string;
19
20
  backgroundUrl?: string;
20
21
  minHeight?: string;
@@ -24,5 +25,5 @@ export interface GoAHeroBannerProps {
24
25
  backgroundColor?: string;
25
26
  textColor?: string;
26
27
  }
27
- export declare function GoAHeroBanner({ heading, backgroundUrl, minHeight, maxContentWidth, backgroundColor, textColor, children, testId, }: GoAHeroBannerProps): JSX.Element;
28
- export default GoAHeroBanner;
28
+ export declare function GoabHeroBanner({ heading, backgroundUrl, minHeight, maxContentWidth, backgroundColor, textColor, children, testId, }: GoabHeroBannerProps): JSX.Element;
29
+ export default GoabHeroBanner;
@@ -1,7 +1,7 @@
1
- import { Margins } from "../../common/styling";
2
- export type GoAIconFilledType = `${GoAIconType}-${GoAIconTheme}`;
1
+ import { GoabIconFilledType, GoabIconSize, GoabIconTheme, GoabIconType, Margins } from '../../../../../dist/libs/common/index.d.ts';
2
+
3
3
  interface IonIconProps {
4
- name: GoAIconType | GoAIconFilledType;
4
+ name: GoabIconType | GoabIconFilledType;
5
5
  }
6
6
  interface IonIconElement extends HTMLElement {
7
7
  }
@@ -19,17 +19,10 @@ declare global {
19
19
  }
20
20
  }
21
21
  }
22
- export type GoAIconType = "accessibility" | "add-circle" | "add" | "airplane" | "alarm" | "albums" | "alert-circle" | "alert" | "american-football" | "analytics" | "aperture" | "apps" | "archive" | "arrow-back-circle" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-forward-circle" | "arrow-forward" | "arrow-redo-circle" | "arrow-redo" | "arrow-undo-circle" | "arrow-undo" | "arrow-up-circle" | "arrow-up" | "at-circle" | "at" | "attach" | "backspace" | "bag-add" | "bag-check" | "bag-handle" | "bag" | "bag-remove" | "balloon" | "ban" | "bandage" | "bar-chart" | "barbell" | "barcode" | "baseball" | "basket" | "basketball" | "battery-charging" | "battery-dead" | "battery-full" | "battery-half" | "beaker" | "bed" | "beer" | "bicycle" | "bluetooth" | "boat" | "body" | "bonfire" | "book" | "bookmark" | "bookmarks" | "bowling-ball" | "briefcase" | "browsers" | "brush" | "bug" | "build" | "bulb" | "bus" | "business" | "cafe" | "calculator" | "calendar-clear" | "calendar-number" | "calendar" | "call" | "camera" | "camera-reverse" | "car" | "car-sport" | "card" | "caret-back-circle" | "caret-back" | "caret-down-circle" | "caret-down" | "caret-forward-circle" | "caret-forward" | "caret-up-circle" | "caret-up" | "cart" | "cash" | "cellular" | "chatbox-ellipses" | "chatbox" | "chatbubble-ellipses" | "chatbubble" | "chatbubbles" | "checkbox" | "checkmark-circle" | "checkmark-done-circle" | "checkmark-done" | "checkmark" | "chevron-back-circle" | "chevron-back" | "chevron-down-circle" | "chevron-down" | "chevron-forward-circle" | "chevron-forward" | "chevron-up-circle" | "chevron-up" | "clipboard" | "close-circle" | "close" | "cloud-circle" | "cloud-done" | "cloud-download" | "cloud-offline" | "cloud" | "cloud-upload" | "cloudy-night" | "cloudy" | "code-download" | "code" | "code-slash" | "code-working" | "cog" | "color-fill" | "color-filter" | "color-palette" | "color-wand" | "compass" | "construct" | "contract" | "contrast" | "copy" | "create" | "crop" | "cube" | "cut" | "desktop" | "diamond" | "dice" | "disc" | "document-attach" | "document-lock" | "document" | "document-text" | "documents" | "download" | "duplicate" | "ear" | "earth" | "easel" | "egg" | "ellipse" | "ellipsis-horizontal-circle" | "ellipsis-horizontal" | "ellipsis-vertical-circle" | "ellipsis-vertical" | "enter" | "exit" | "expand" | "extension-puzzle" | "eye-off" | "eye" | "eyedrop" | "fast-food" | "female" | "file-tray-full" | "file-tray" | "file-tray-stacked" | "filenames.ps1" | "film" | "filter-circle" | "filter" | "finger-print" | "fish" | "fitness" | "flag" | "flame" | "flash-off" | "flash" | "flashlight" | "flask" | "flower" | "folder-open" | "folder" | "football" | "footsteps" | "funnel" | "game-controller" | "gift" | "git-branch" | "git-commit" | "git-compare" | "git-merge" | "git-network" | "git-pull-request" | "glasses" | "globe" | "golf" | "grid" | "hammer" | "hand-left" | "hand-right" | "happy" | "hardware-chip" | "headset" | "heart-circle" | "heart-dislike-circle" | "heart-dislike" | "heart-half" | "heart" | "help-buoy" | "help-circle" | "help" | "home" | "hourglass" | "ice-cream" | "id-card" | "image" | "images" | "infinite" | "information-circle" | "information" | "invert-mode" | "journal" | "key" | "keypad" | "language" | "laptop" | "layers" | "leaf" | "library" | "link" | "list-circle" | "list" | "locate" | "location" | "lock-closed" | "lock-open" | "log-in" | "log-out" | "magnet" | "mail-open" | "mail" | "mail-unread" | "male-female" | "male" | "man" | "map" | "medal" | "medical" | "medkit" | "megaphone" | "menu" | "mic-circle" | "mic-off-circle" | "mic-off" | "mic" | "moon" | "move" | "musical-note" | "musical-notes" | "navigate-circle" | "navigate" | "newspaper" | "notifications-circle" | "notifications-off-circle" | "notifications-off" | "notifications" | "nuclear" | "nutrition" | "open" | "options" | "paper-plane" | "partly-sunny" | "pause-circle" | "pause" | "paw" | "pencil" | "people-circle" | "people" | "person-add" | "person-circle" | "person" | "person-remove" | "phone-landscape" | "phone-portrait" | "pie-chart" | "pin" | "pint" | "pizza" | "planet" | "play-back-circle" | "play-back" | "play-circle" | "play-forward-circle" | "play-forward" | "play" | "play-skip-back-circle" | "play-skip-back" | "play-skip-forward-circle" | "play-skip-forward" | "podium" | "power" | "pricetag" | "pricetags" | "print" | "prism" | "pulse" | "push" | "qr-code" | "radio-button-off" | "radio-button-on" | "radio" | "rainy" | "reader" | "receipt" | "recording" | "refresh-circle" | "refresh" | "reload-circle" | "reload" | "remove-circle" | "remove" | "reorder-four" | "reorder-three" | "reorder-two" | "repeat" | "resize" | "restaurant" | "return-down-back" | "return-down-forward" | "return-up-back" | "return-up-forward" | "ribbon" | "rocket" | "rose" | "sad" | "save" | "scale" | "scan-circle" | "scan" | "school" | "search-circle" | "search" | "send" | "server" | "settings" | "shapes" | "share" | "share-social" | "shield-checkmark" | "shield-half" | "shield" | "shirt" | "shuffle" | "skull" | "snow" | "sparkles" | "speedometer" | "square" | "star-half" | "star" | "stats-chart" | "stop-circle" | "stop" | "stopwatch" | "storefront" | "subway" | "sunny" | "swap-horizontal" | "swap-vertical" | "sync-circle" | "sync" | "tablet-landscape" | "tablet-portrait" | "telescope" | "tennisball" | "terminal" | "text" | "thermometer" | "thumbs-down" | "thumbs-up" | "thunderstorm" | "ticket" | "time" | "timer" | "today" | "toggle" | "trail-sign" | "train" | "transgender" | "trash-bin" | "trash" | "trending-down" | "trending-up" | "triangle" | "trophy" | "tv" | "umbrella" | "unlink" | "videocam-off" | "videocam" | "volume-high" | "volume-low" | "volume-medium" | "volume-mute" | "volume-off" | "walk" | "wallet" | "warning" | "watch" | "water" | "wifi" | "wine" | "woman" | "logo-alipay" | "logo-amazon" | "logo-amplify" | "logo-android" | "logo-angular" | "logo-apple" | "logo-apple-appstore" | "logo-apple-ar" | "logo-behance" | "logo-bitbucket" | "logo-bitcoin" | "logo-buffer" | "logo-capacitor" | "logo-chrome" | "logo-closed-captioning" | "logo-codepen" | "logo-css3" | "logo-designernews" | "logo-deviantart" | "logo-discord" | "logo-docker" | "logo-dribbble" | "logo-dropbox" | "logo-edge" | "logo-electron" | "logo-euro" | "logo-facebook" | "logo-figma" | "logo-firebase" | "logo-firefox" | "logo-flickr" | "logo-foursquare" | "logo-github" | "logo-gitlab" | "logo-google" | "logo-google-playstore" | "logo-hackernews" | "logo-html5" | "logo-instagram" | "logo-ionic" | "logo-ionitron" | "logo-javascript" | "logo-laravel" | "logo-linkedin" | "logo-markdown" | "logo-mastodon" | "logo-medium" | "logo-microsoft" | "logo-no-smoking" | "logo-nodejs" | "logo-npm" | "logo-octocat" | "logo-paypal" | "logo-pinterest" | "logo-playstation" | "logo-pwa" | "logo-python" | "logo-react" | "logo-reddit" | "logo-rss" | "logo-sass" | "logo-skype" | "logo-slack" | "logo-snapchat" | "logo-soundcloud" | "logo-stackoverflow" | "logo-steam" | "logo-stencil" | "logo-tableau" | "logo-tiktok" | "logo-tumblr" | "logo-tux" | "logo-twitch" | "logo-twitter" | "logo-usd" | "logo-venmo" | "logo-vercel" | "logo-vimeo" | "logo-vk" | "logo-vue" | "logo-web-component" | "logo-wechat" | "logo-whatsapp" | "logo-windows" | "logo-wordpress" | "logo-xbox" | "logo-xing" | "logo-yahoo" | "logo-yen" | "logo-youtube";
23
- export type GoAIconSize = "small" | "medium" | "large" | "xlarge";
24
- export type GoAIconVariant = "primary" | "secondary" | "tertiary";
25
- export type GoAIconTheme = "outline" | "filled" | "sharp";
26
- export type IconSize = GoAIconSize;
27
- export type IconVariant = GoAIconVariant;
28
- export type IconTheme = GoAIconTheme;
29
- export interface GoAIconProps extends Margins {
30
- type: GoAIconType;
31
- size?: GoAIconSize;
32
- theme?: GoAIconTheme;
22
+ export interface GoabIconProps extends Margins {
23
+ type: GoabIconType;
24
+ size?: GoabIconSize;
25
+ theme?: GoabIconTheme;
33
26
  inverted?: string;
34
27
  fillColor?: string;
35
28
  opacity?: number;
@@ -38,9 +31,9 @@ export interface GoAIconProps extends Margins {
38
31
  testId?: string;
39
32
  }
40
33
  interface WCProps extends Margins {
41
- type: GoAIconType;
42
- theme?: GoAIconTheme;
43
- size?: GoAIconSize;
34
+ type: GoabIconType;
35
+ theme?: GoabIconTheme;
36
+ size?: GoabIconSize;
44
37
  inverted?: string;
45
38
  fillcolor?: string;
46
39
  opacity?: number;
@@ -48,5 +41,5 @@ interface WCProps extends Margins {
48
41
  arialabel?: string;
49
42
  testid?: string;
50
43
  }
51
- export declare function GoAIcon({ type, theme, size, inverted, fillColor, opacity, title, ariaLabel, mt, mr, mb, ml, testId, }: GoAIconProps): JSX.Element;
44
+ export declare function GoabIcon({ type, theme, size, inverted, fillColor, opacity, title, ariaLabel, mt, mr, mb, ml, testId, }: GoabIconProps): JSX.Element;
52
45
  export {};
@@ -1,12 +1,10 @@
1
- import { Margins } from "../../common/styling";
2
- import { GoAIconSize, GoAIconType } from "../icon/icon";
3
- export type GoAIconButtonVariant = "color" | "nocolor" | "light" | "dark" | "destructive";
4
- export type IconButtonVariant = GoAIconButtonVariant;
1
+ import { GoabIconButtonVariant, GoabIconSize, GoabIconType, Margins } from '../../../../../dist/libs/common/index.d.ts';
2
+
5
3
  interface WCProps extends Margins {
6
4
  ref: React.RefObject<HTMLElement>;
7
- icon: GoAIconType;
8
- size?: GoAIconSize;
9
- variant?: GoAIconButtonVariant;
5
+ icon: GoabIconType;
6
+ size?: GoabIconSize;
7
+ variant?: GoabIconButtonVariant;
10
8
  title?: string;
11
9
  disabled?: boolean;
12
10
  arialabel?: string;
@@ -19,10 +17,10 @@ declare global {
19
17
  }
20
18
  }
21
19
  }
22
- export interface GoAIconButtonProps extends Margins {
23
- icon: GoAIconType;
24
- size?: GoAIconSize;
25
- variant?: GoAIconButtonVariant;
20
+ export interface GoabIconButtonProps extends Margins {
21
+ icon: GoabIconType;
22
+ size?: GoabIconSize;
23
+ variant?: GoabIconButtonVariant;
26
24
  title?: string;
27
25
  disabled?: boolean;
28
26
  children?: React.ReactNode;
@@ -30,5 +28,5 @@ export interface GoAIconButtonProps extends Margins {
30
28
  testId?: string;
31
29
  ariaLabel?: string;
32
30
  }
33
- export declare function GoAIconButton({ icon, disabled, variant, onClick, size, title, ariaLabel, testId, children, mt, mr, mb, ml, }: GoAIconButtonProps): JSX.Element;
31
+ export declare function GoabIconButton({ icon, disabled, variant, onClick, size, title, ariaLabel, testId, children, mt, mr, mb, ml, }: GoabIconButtonProps): JSX.Element;
34
32
  export {};