@abgov/react-components 4.0.0-alpha.6 → 4.0.0-alpha.61

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 (41) hide show
  1. package/README.md +9 -42
  2. package/experimental/package.json +2 -1
  3. package/index.d.ts +34 -35
  4. package/lib/app-header/app-header.d.ts +5 -2
  5. package/lib/badge/badge.d.ts +4 -5
  6. package/lib/button/button.d.ts +3 -5
  7. package/lib/button-group/button-group.d.ts +1 -0
  8. package/lib/callout/callout.d.ts +3 -3
  9. package/lib/checkbox/checkbox.d.ts +3 -2
  10. package/lib/chip/chip.d.ts +1 -1
  11. package/lib/circular-progress/circular-progress.d.ts +1 -4
  12. package/lib/container/container.d.ts +11 -6
  13. package/lib/divider/divider.d.ts +17 -0
  14. package/lib/dropdown/dropdown.d.ts +9 -5
  15. package/lib/flex-column/flex-column.d.ts +17 -0
  16. package/lib/{flex/row.d.ts → flex-row/flex-row.d.ts} +4 -3
  17. package/lib/footer/footer.d.ts +17 -0
  18. package/lib/footer-meta-section/footer-meta-section.d.ts +13 -0
  19. package/lib/footer-nav-section/footer-nav-section.d.ts +19 -0
  20. package/lib/form/form-item.d.ts +2 -1
  21. package/lib/hero-banner/hero-banner-actions.d.ts +5 -3
  22. package/lib/hero-banner/hero-banner.d.ts +3 -2
  23. package/lib/icons/icon-button.d.ts +1 -0
  24. package/lib/icons/icon.d.ts +1 -1
  25. package/lib/input/input.d.ts +35 -25
  26. package/lib/microsite-header/microsite-header.d.ts +2 -2
  27. package/lib/modal/modal.d.ts +1 -0
  28. package/lib/notification/notification.d.ts +1 -1
  29. package/lib/page/page.d.ts +13 -0
  30. package/lib/page-block/page-block.d.ts +10 -3
  31. package/lib/radio-group/radio-group.d.ts +1 -0
  32. package/lib/radio-group/radio.d.ts +1 -0
  33. package/lib/textarea/textarea.d.ts +2 -0
  34. package/lib/two-column-layout/two-column-layout.d.ts +22 -0
  35. package/package.json +6 -6
  36. package/react-components.esm.js +14420 -119
  37. package/react-components.umd.js +15263 -921
  38. package/lib/app-footer/app-footer.d.ts +0 -26
  39. package/lib/app-footer/meta-link.d.ts +0 -20
  40. package/lib/app-footer/navigation-link.d.ts +0 -22
  41. package/lib/flex/index.d.ts +0 -1
package/README.md CHANGED
@@ -2,58 +2,25 @@
2
2
 
3
3
  This library contains react components from the Government of Alberta.
4
4
 
5
- Create react app
6
- ```bash
7
- npm init vite@latest
8
- ```
9
-
10
5
  Add Dependencies
6
+
11
7
  ```bash
12
- npm i
13
- npm i @abgov/react-components@3.4.0-alpha.7
14
- npm i @abgov/styles
8
+ npm i @abgov/react-components@alpha
9
+ npm i @abgov/web-components@alpha
10
+ npm i @abgov/styles@alpha
15
11
  ```
16
12
 
17
13
  Link ionicons in app/index.html
18
- ```html
19
- <!DOCTYPE html>
20
- <html lang="en">
21
- <head>
22
- <meta charset="UTF-8" />
23
- <link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
24
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
25
- <title>Vite App</title>
26
- <!-- Ionicons -->
27
- <script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
28
- <script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
29
- <!-- -->
30
- </head>
31
- <body>
32
- <div id="root"></div>
33
- <script type="module" src="/src/main.tsx"></script>
34
- </body>
35
- </html>
36
-
37
- ```
38
-
39
- ```typescript
40
- // App.tsx
41
- import './App.css'
42
-
43
- import { GoABadge } from '@abgov/react-components';
44
-
45
- function App() {
46
- return (
47
- <GoABadge type="information" content="Some info" icon={true} />
48
- )
49
- }
50
-
51
- export default App
14
+ Add the following to the head element
52
15
 
16
+ ```html
17
+ <script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
18
+ <script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
53
19
 
54
20
  ```
55
21
 
56
22
  Import the styles in the `src/index.css` file
23
+
57
24
  ```css
58
25
  @import '@abgov/styles/styles.esm.css';
59
26
  ```
@@ -5,6 +5,7 @@
5
5
  "typings": "./index.d.ts",
6
6
  "dependencies": {},
7
7
  "peerDependencies": {
8
- "react": "17.0.2"
8
+ "react": "17.0.2",
9
+ "date-fns": "^2.29.2"
9
10
  }
10
11
  }
package/index.d.ts CHANGED
@@ -1,36 +1,35 @@
1
- /**
2
- * IMPORTANT: Do NOT export experimental components in this file.
3
- */
4
1
  import '@abgov/web-components';
5
- import { GoAAppHeader } from './lib/app-header/app-header';
6
- import { GoAAppFooter } from './lib/app-footer/app-footer';
7
- import { GoAMetaLink } from './lib/app-footer/meta-link';
8
- import { GoANavigationLink } from './lib/app-footer/navigation-link';
9
- import { GoABadge, GoAInfoBadge, GoAEmergencyBadge, GoASuccessBadge, GoAWarningBadge } from './lib/badge/badge';
10
- import { GoAButton } from './lib/button/button';
11
- import { GoAButtonGroup } from './lib/button-group/button-group';
12
- import { GoACallout } from './lib/callout/callout';
13
- import { GoACheckbox } from './lib/checkbox/checkbox';
14
- import { GoAChip } from './lib/chip/chip';
15
- import { GoACircularProgress } from './lib/circular-progress/circular-progress';
16
- import { GoAContainer } from './lib/container/container';
17
- import { GoADropdown, GoADropdownOption } from './lib/dropdown/dropdown';
18
- import { GoAFlexRow } from './lib/flex';
19
- import { GoAFormItem } from './lib/form';
20
- import { GoAHeroBanner } from './lib/hero-banner/hero-banner';
21
- import { GoAHeroBannerActions } from './lib/hero-banner/hero-banner-actions';
22
- import { GoAIcon, GoAIconButton } from './lib/icons';
23
- import { GoAInput, GoAInputText, GoAInputPassword, GoAInputDate, GoAInputTime, GoAInputDateTime, GoAInputEmail, GoAInputSearch, GoAInputUrl, GoAInputTel, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputRange } from './lib/input/input';
24
- import { GoAMicrositeHeader } from './lib/microsite-header/microsite-header';
25
- import { GoAModal } from './lib/modal/modal';
26
- import { GoANotification } from './lib/notification/notification';
27
- import { GoAPageBlock } from './lib/page-block/page-block';
28
- import { GoARadioGroup, GoARadioItem } from './lib/radio-group/radio-group';
29
- import { GoASkeleton } from './lib/skeleton/skeleton';
30
- import { GoASpinner } from './lib/spinner/spinner';
31
- import { GoATextArea } from './lib/textarea/textarea';
32
- import type { GoAIconType } from './lib/icons';
33
- import type { GoABadgeType } from './lib/badge/badge';
34
- export type { GoAIconType };
35
- export type { GoABadgeType };
36
- export { GoAAppHeader, GoAAppFooter, GoAMetaLink, GoANavigationLink, GoABadge, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADropdown, GoADropdownOption, GoAEmergencyBadge, GoAFlexRow, GoAFormItem, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAPageBlock, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpinner, GoASuccessBadge, GoATextArea, GoAWarningBadge, };
2
+ export type { GoAIconType } from './lib/icons';
3
+ export type { GoABadgeType } from './lib/badge/badge';
4
+ export * from './lib/app-header/app-header';
5
+ export * from './lib/badge/badge';
6
+ export * from './lib/button-group/button-group';
7
+ export * from './lib/button/button';
8
+ export * from './lib/callout/callout';
9
+ export * from './lib/checkbox/checkbox';
10
+ export * from './lib/chip/chip';
11
+ export * from './lib/circular-progress/circular-progress';
12
+ export * from './lib/container/container';
13
+ export * from './lib/divider/divider';
14
+ export * from './lib/dropdown/dropdown';
15
+ export * from './lib/flex-column/flex-column';
16
+ export * from './lib/flex-row/flex-row';
17
+ export * from './lib/footer-meta-section/footer-meta-section';
18
+ export * from './lib/footer-nav-section/footer-nav-section';
19
+ export * from './lib/footer/footer';
20
+ export * from './lib/form';
21
+ export * from './lib/hero-banner/hero-banner';
22
+ export * from './lib/hero-banner/hero-banner-actions';
23
+ export * from './lib/icons';
24
+ export * from './lib/input/input';
25
+ export * from './lib/microsite-header/microsite-header';
26
+ export * from './lib/modal/modal';
27
+ export * from './lib/notification/notification';
28
+ export * from './lib/page-block/page-block';
29
+ export * from './lib/page/page';
30
+ export * from './lib/page/page';
31
+ export * from './lib/radio-group/radio-group';
32
+ export * from './lib/skeleton/skeleton';
33
+ export * from './lib/spinner/spinner';
34
+ export * from './lib/textarea/textarea';
35
+ export * from './lib/two-column-layout/two-column-layout';
@@ -1,7 +1,8 @@
1
1
  import React, { FC } from 'react';
2
2
  interface WCProps {
3
- title: string;
3
+ heading?: string;
4
4
  url?: string;
5
+ maxcontentwidth?: string;
5
6
  }
6
7
  declare global {
7
8
  namespace JSX {
@@ -11,8 +12,10 @@ declare global {
11
12
  }
12
13
  }
13
14
  interface Props {
14
- title: string;
15
+ heading?: string;
15
16
  url?: string;
17
+ maxContentWidth?: string;
18
+ children?: React.ReactNode;
16
19
  }
17
20
  export declare const GoAAppHeader: FC<Props>;
18
21
  export default GoAAppHeader;
@@ -1,15 +1,14 @@
1
1
  import React, { FC } from 'react';
2
- import { GoAIconType } from '../icons';
3
- export declare type GoABadgeType = 'information' | 'success' | 'warning' | 'emergency' | 'dark' | 'midtone' | 'light' | 'inactive';
2
+ export declare type GoABadgeType = 'information' | 'success' | 'important' | 'emergency' | 'dark' | 'midtone' | 'light';
4
3
  interface GoABadgeProps {
5
4
  type: GoABadgeType;
6
- icon?: GoAIconType;
5
+ icon?: boolean;
7
6
  content?: string;
8
7
  testId?: string;
9
8
  }
10
9
  interface WCProps {
11
10
  type: GoABadgeType;
12
- icon?: GoAIconType;
11
+ icon?: boolean;
13
12
  content?: string;
14
13
  testid?: string;
15
14
  }
@@ -23,6 +22,6 @@ declare global {
23
22
  export declare const GoABadge: FC<GoABadgeProps>;
24
23
  export declare const GoAInfoBadge: FC<GoABadgeProps>;
25
24
  export declare const GoASuccessBadge: FC<GoABadgeProps>;
26
- export declare const GoAWarningBadge: FC<GoABadgeProps>;
25
+ export declare const GoAImportantBadge: FC<GoABadgeProps>;
27
26
  export declare const GoAEmergencyBadge: FC<GoABadgeProps>;
28
27
  export {};
@@ -1,15 +1,14 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
2
  import './button.css';
3
3
  import { GoAIconType } from '../icons';
4
- export declare type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'start';
4
+ export declare type ButtonType = 'primary' | 'submit' | 'secondary' | 'tertiary' | 'start';
5
5
  export declare type ButtonSize = 'compact' | 'normal';
6
- export declare type ButtonVariant = 'default' | 'danger';
6
+ export declare type ButtonVariant = 'normal' | 'destructive';
7
7
  interface WCProps {
8
8
  type?: ButtonType;
9
9
  size?: ButtonSize;
10
10
  variant?: ButtonVariant;
11
11
  disabled?: boolean;
12
- title?: string;
13
12
  leadingicon?: string;
14
13
  trailingicon?: string;
15
14
  ref: React.RefObject<HTMLElement>;
@@ -23,14 +22,13 @@ declare global {
23
22
  }
24
23
  declare type ButtonProps = {
25
24
  type?: ButtonType;
26
- title?: string;
27
25
  size?: ButtonSize;
28
26
  variant?: ButtonVariant;
29
27
  disabled?: boolean;
30
28
  leadingIcon?: GoAIconType;
31
29
  trailingIcon?: GoAIconType;
32
30
  onClick: (e: any) => void;
33
- children: ReactNode;
31
+ children?: ReactNode;
34
32
  };
35
33
  export declare const GoAButton: FC<ButtonProps>;
36
34
  export default GoAButton;
@@ -13,6 +13,7 @@ declare global {
13
13
  }
14
14
  declare type ButtonGroupProps = {
15
15
  alignment: Alignment;
16
+ children?: React.ReactNode;
16
17
  };
17
18
  export declare const GoAButtonGroup: FC<ButtonGroupProps>;
18
19
  export default GoAButtonGroup;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  declare type CalloutType = "important" | 'information' | 'event' | 'success' | 'emergency';
3
3
  interface WCProps {
4
- title?: string;
4
+ heading?: string;
5
5
  type?: CalloutType;
6
6
  }
7
7
  declare global {
@@ -12,9 +12,9 @@ declare global {
12
12
  }
13
13
  }
14
14
  export interface CalloutProps {
15
- title?: string;
15
+ heading?: string;
16
16
  type?: CalloutType;
17
17
  children?: React.ReactNode;
18
18
  }
19
- export declare const GoACallout: ({ title, type, children }: CalloutProps) => JSX.Element;
19
+ export declare const GoACallout: ({ heading, type, children }: CalloutProps) => JSX.Element;
20
20
  export default GoACallout;
@@ -10,7 +10,7 @@ interface CheckboxProps {
10
10
  ref: React.RefObject<HTMLElement>;
11
11
  id?: string;
12
12
  name: string;
13
- checked?: boolean;
13
+ checked: boolean;
14
14
  disabled?: boolean;
15
15
  error?: boolean;
16
16
  text?: string;
@@ -19,11 +19,12 @@ interface CheckboxProps {
19
19
  export interface Props {
20
20
  id?: string;
21
21
  name: string;
22
- checked?: boolean;
22
+ checked: boolean;
23
23
  disabled?: boolean;
24
24
  error?: boolean;
25
25
  text?: string;
26
26
  value?: string | number | boolean;
27
+ children?: React.ReactNode;
27
28
  testId?: string;
28
29
  onChange?: (name: string, checked: boolean, value: string) => void;
29
30
  }
@@ -13,7 +13,7 @@ declare global {
13
13
  }
14
14
  }
15
15
  }
16
- export interface Props {
16
+ interface Props {
17
17
  onClick?: () => void;
18
18
  deletable?: boolean;
19
19
  leadingIcon?: string;
@@ -1,9 +1,7 @@
1
1
  import React from 'react';
2
- export declare type CircularProgressType = 'infinite' | 'progress';
3
2
  export declare type CircularProgressVariant = "fullscreen" | "inline";
4
3
  export declare type CircularProgressSize = "small" | "large";
5
4
  interface WCProps {
6
- type?: CircularProgressType;
7
5
  variant?: CircularProgressVariant;
8
6
  size?: CircularProgressSize;
9
7
  message?: string;
@@ -18,12 +16,11 @@ declare global {
18
16
  }
19
17
  }
20
18
  export interface CircularProgressProps {
21
- type?: CircularProgressType;
22
19
  variant?: CircularProgressVariant;
23
20
  size?: CircularProgressSize;
24
21
  message?: string;
25
22
  visible?: boolean;
26
23
  progress?: number;
27
24
  }
28
- export declare const GoACircularProgress: ({ type, visible, message, progress, variant, size }: CircularProgressProps) => JSX.Element;
25
+ export declare const GoACircularProgress: ({ visible, message, progress, variant, size }: CircularProgressProps) => JSX.Element;
29
26
  export default GoACircularProgress;
@@ -1,9 +1,12 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
- declare type ContainerVariant = 'primary' | 'info' | 'error' | 'success' | 'warning' | 'default';
2
+ declare type ContainerType = 'interactive' | 'non-interactive' | 'info' | 'error' | 'success' | 'warning';
3
3
  declare type HeadingSize = 'large' | 'small' | 'none';
4
+ declare type ContainerPadding = "relaxed" | "compact";
4
5
  interface WCProps {
5
- variant: ContainerVariant;
6
- headingsize: HeadingSize;
6
+ type?: ContainerType;
7
+ headingsize?: HeadingSize;
8
+ colored?: boolean;
9
+ padding?: ContainerPadding;
7
10
  }
8
11
  declare global {
9
12
  namespace JSX {
@@ -13,11 +16,13 @@ declare global {
13
16
  }
14
17
  }
15
18
  interface Props {
16
- headingSize: HeadingSize;
17
- variant?: ContainerVariant;
19
+ headingSize?: HeadingSize;
20
+ type?: ContainerType;
18
21
  title?: ReactNode;
22
+ colored?: boolean;
23
+ padding?: ContainerPadding;
19
24
  actions?: ReactNode;
20
- children: ReactNode;
25
+ children?: ReactNode;
21
26
  }
22
27
  export declare const GoAContainer: FC<Props>;
23
28
  export default GoAContainer;
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ declare type DividerSpacing = "small" | "medium" | "large";
3
+ interface WCDividerProps {
4
+ spacing: DividerSpacing;
5
+ }
6
+ declare global {
7
+ namespace JSX {
8
+ interface IntrinsicElements {
9
+ 'goa-divider': WCDividerProps & React.HTMLAttributes<HTMLElement>;
10
+ }
11
+ }
12
+ }
13
+ export interface DividerProps {
14
+ spacing: DividerSpacing;
15
+ }
16
+ export declare function GoADivider(props: DividerProps): JSX.Element;
17
+ export default GoADivider;
@@ -4,14 +4,16 @@ export * from './dropdown-option';
4
4
  interface WCProps {
5
5
  ref: React.MutableRefObject<HTMLElement | null>;
6
6
  name: string;
7
- values: string;
7
+ value: string;
8
8
  leadingicon?: string;
9
- maxheight?: number;
9
+ maxheight?: string;
10
10
  placeholder?: string;
11
11
  filterable?: boolean;
12
12
  disabled?: boolean;
13
13
  error?: boolean;
14
14
  multiselect?: boolean;
15
+ width?: string;
16
+ testid?: string;
15
17
  }
16
18
  declare global {
17
19
  namespace JSX {
@@ -22,16 +24,18 @@ declare global {
22
24
  }
23
25
  interface Props {
24
26
  name: string;
25
- values: string[];
26
- onChange: (name: string, values: string[]) => void;
27
+ value: string[] | string;
28
+ onChange: (name: string, values: string[] | string) => void;
27
29
  disabled?: boolean;
28
30
  filterable?: boolean;
29
31
  leadingIcon?: GoAIconType;
30
- maxHeight?: number;
32
+ maxHeight?: string;
31
33
  error?: boolean;
32
34
  multiselect?: boolean;
33
35
  placeholder?: string;
34
36
  testId?: string;
37
+ width?: string;
38
+ children?: React.ReactNode;
35
39
  }
36
40
  export declare const GoADropdown: FC<Props>;
37
41
  export default GoADropdown;
@@ -0,0 +1,17 @@
1
+ import React, { FC } from "react";
2
+ interface WCProps {
3
+ gap?: 'small' | 'medium' | 'large';
4
+ }
5
+ declare global {
6
+ namespace JSX {
7
+ interface IntrinsicElements {
8
+ 'goa-flex-col': WCProps & React.HTMLAttributes<HTMLElement>;
9
+ }
10
+ }
11
+ }
12
+ interface Props {
13
+ gap?: 'small' | 'medium' | 'large';
14
+ children?: React.ReactNode;
15
+ }
16
+ export declare const GoAFlexCol: FC<Props>;
17
+ export default GoAFlexCol;
@@ -1,6 +1,6 @@
1
1
  import React, { FC } from "react";
2
2
  interface WCProps {
3
- gap: 'small' | 'medium' | 'large';
3
+ gap?: 'small' | 'medium' | 'large';
4
4
  }
5
5
  declare global {
6
6
  namespace JSX {
@@ -9,8 +9,9 @@ declare global {
9
9
  }
10
10
  }
11
11
  }
12
- export interface Props {
13
- gap: 'small' | 'medium' | 'large';
12
+ interface Props {
13
+ gap?: 'small' | 'medium' | 'large';
14
+ children?: React.ReactNode;
14
15
  }
15
16
  export declare const GoAFlexRow: FC<Props>;
16
17
  export default GoAFlexRow;
@@ -0,0 +1,17 @@
1
+ import React, { ReactNode } from "react";
2
+ interface WCProps {
3
+ maxcontentwidth?: string;
4
+ }
5
+ declare global {
6
+ namespace JSX {
7
+ interface IntrinsicElements {
8
+ 'goa-app-footer': WCProps & React.HTMLAttributes<HTMLElement>;
9
+ }
10
+ }
11
+ }
12
+ export interface FooterProps {
13
+ maxContentWidth?: string;
14
+ children?: ReactNode;
15
+ }
16
+ export declare function GoAAppFooter({ maxContentWidth, children }: FooterProps): JSX.Element;
17
+ export default GoAAppFooter;
@@ -0,0 +1,13 @@
1
+ import React, { ReactNode } from "react";
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'goa-app-footer-meta-section': React.HTMLAttributes<HTMLElement>;
6
+ }
7
+ }
8
+ }
9
+ export interface FooterMetaSectionProps {
10
+ children?: ReactNode;
11
+ }
12
+ export declare function GoAAppFooterMetaSection({ children }: FooterMetaSectionProps): JSX.Element;
13
+ export default GoAAppFooterMetaSection;
@@ -0,0 +1,19 @@
1
+ import React, { ReactNode } from "react";
2
+ interface WCProps {
3
+ maxcolumncount?: number;
4
+ heading?: string;
5
+ }
6
+ declare global {
7
+ namespace JSX {
8
+ interface IntrinsicElements {
9
+ 'goa-app-footer-nav-section': WCProps & React.HTMLAttributes<HTMLElement>;
10
+ }
11
+ }
12
+ }
13
+ interface FooterNavSectionProps {
14
+ maxColumnCount?: number;
15
+ heading?: string;
16
+ children?: ReactNode;
17
+ }
18
+ export declare function GoAAppFooterNavSection({ heading, maxColumnCount, children }: FooterNavSectionProps): JSX.Element;
19
+ export default GoAAppFooterNavSection;
@@ -1,7 +1,7 @@
1
1
  import React, { FC } from 'react';
2
2
  interface WCProps {
3
3
  label: string;
4
- optional?: boolean;
4
+ optional?: string;
5
5
  error?: string;
6
6
  helptext?: string;
7
7
  }
@@ -17,6 +17,7 @@ interface GoAFormItemProps {
17
17
  optional?: boolean;
18
18
  error?: string;
19
19
  helpText?: string;
20
+ children?: React.ReactNode;
20
21
  }
21
22
  export declare const GoAFormItem: FC<GoAFormItemProps>;
22
23
  export default GoAFormItem;
@@ -1,4 +1,6 @@
1
- import { FC } from 'react';
2
- export declare type GoAHeroBannerActionsType = FC;
3
- export declare const GoAHeroBannerActions: GoAHeroBannerActionsType;
1
+ import React, { FC } from 'react';
2
+ export declare type GoAHeroBannerActionsType = {
3
+ children?: React.ReactNode;
4
+ };
5
+ export declare const GoAHeroBannerActions: FC<GoAHeroBannerActionsType>;
4
6
  export default GoAHeroBannerActions;
@@ -1,6 +1,6 @@
1
1
  import React, { FC } from 'react';
2
2
  interface WCProps {
3
- title: string;
3
+ heading: string;
4
4
  backgroundurl: string;
5
5
  }
6
6
  declare global {
@@ -11,8 +11,9 @@ declare global {
11
11
  }
12
12
  }
13
13
  interface Props {
14
- title: string;
14
+ heading: string;
15
15
  backgroundUrl: string;
16
+ children?: React.ReactNode;
16
17
  }
17
18
  export declare const GoAHeroBanner: FC<Props>;
18
19
  export default GoAHeroBanner;
@@ -21,6 +21,7 @@ interface Props {
21
21
  variant?: IconVariant;
22
22
  title?: string;
23
23
  disabled?: boolean;
24
+ children?: React.ReactNode;
24
25
  onClick: () => void;
25
26
  }
26
27
  export declare const GoAIconButton: FC<Props>;
@@ -19,7 +19,7 @@ declare global {
19
19
  }
20
20
  }
21
21
  }
22
- export declare 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';
22
+ export declare 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
23
  export declare type IconSize = 'small' | 'medium' | 'large' | 'xlarge';
24
24
  export declare type IconVariant = 'primary' | 'secondary' | 'tertiary';
25
25
  export declare type IconTheme = 'outline' | 'filled' | 'sharp';