@abgov/react-components 4.18.1 → 4.20.0
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/common/styling.d.ts +12 -9
- package/index.d.ts +56 -59
- package/index.mjs +23454 -0
- package/index.mjs.map +1 -0
- package/lib/accordion/accordion.d.ts +28 -28
- package/lib/app-header/app-header.d.ts +23 -22
- package/lib/app-header-menu/app-header-menu.d.ts +20 -20
- package/lib/badge/badge.d.ts +40 -41
- package/lib/block/block.d.ts +23 -23
- package/lib/button/button.d.ts +38 -38
- package/lib/button-group/button-group.d.ts +23 -24
- package/lib/calendar/calendar.d.ts +24 -25
- package/lib/callout/callout.d.ts +25 -26
- package/lib/checkbox/checkbox.d.ts +37 -38
- package/lib/chip/chip.d.ts +28 -29
- package/lib/circular-progress/circular-progress.d.ts +28 -29
- package/lib/container/container.d.ts +29 -29
- package/lib/date-picker/date-picker.d.ts +24 -25
- package/lib/details/details.d.ts +21 -21
- package/lib/divider/divider.d.ts +13 -14
- package/lib/dropdown/dropdown-item.d.ts +23 -24
- package/lib/dropdown/dropdown.d.ts +49 -50
- package/lib/file-upload-card/file-upload-card.d.ts +26 -27
- package/lib/file-upload-input/file-upload-input.d.ts +22 -23
- package/lib/footer/footer.d.ts +19 -19
- package/lib/footer-meta-section/footer-meta-section.d.ts +14 -14
- package/lib/footer-nav-section/footer-nav-section.d.ts +20 -20
- package/lib/{form → form-item}/form-item.d.ts +30 -31
- package/lib/form-step/form-step.d.ts +19 -20
- package/lib/form-stepper/form-stepper.d.ts +22 -22
- package/lib/grid/grid.d.ts +20 -21
- package/lib/hero-banner/hero-banner-actions.d.ts +5 -6
- package/lib/hero-banner/hero-banner.d.ts +27 -28
- package/lib/icon/icon.d.ts +41 -42
- package/lib/icon-button/icon-button.d.ts +31 -32
- package/lib/input/input.d.ts +112 -113
- package/lib/microsite-header/microsite-header.d.ts +30 -31
- package/lib/modal/modal.d.ts +36 -36
- package/lib/notification/notification.d.ts +27 -28
- package/lib/one-column-layout/one-column-layout.d.ts +14 -14
- package/lib/page-block/page-block.d.ts +19 -18
- package/lib/pages/pages.d.ts +18 -18
- package/lib/pagination/pagination.d.ts +26 -27
- package/lib/popover/popover.d.ts +27 -27
- package/lib/radio-group/radio-group.d.ts +32 -33
- package/lib/radio-group/radio.d.ts +29 -30
- package/lib/side-menu/side-menu.d.ts +14 -14
- package/lib/side-menu-group/side-menu-group.d.ts +17 -17
- package/lib/side-menu-heading/side-menu-heading.d.ts +19 -19
- package/lib/skeleton/skeleton.d.ts +27 -28
- package/lib/spacer/spacer.d.ts +20 -21
- package/lib/spinner/spinner.d.ts +25 -26
- package/lib/tab/tab.d.ts +17 -18
- package/lib/table/table-sort-header.d.ts +19 -20
- package/lib/table/table.d.ts +27 -27
- package/lib/tabs/tabs.d.ts +16 -17
- package/lib/textarea/textarea.d.ts +41 -42
- package/lib/three-column-layout/three-column-layout.d.ts +26 -26
- package/lib/tooltip/tooltip.d.ts +25 -25
- package/lib/two-column-layout/two-column-layout.d.ts +22 -22
- package/package.json +16 -11
- package/README.md +0 -34
- package/experimental/index.d.ts +0 -0
- package/experimental/package.json +0 -11
- package/experimental/react-components.esm.js +0 -1
- package/experimental/react-components.umd.js +0 -8
- package/lib/card/card-actions.d.ts +0 -13
- package/lib/card/card-content.d.ts +0 -13
- package/lib/card/card-group.d.ts +0 -13
- package/lib/card/card-image.d.ts +0 -18
- package/lib/card/card.d.ts +0 -22
- package/lib/card/index.d.ts +0 -5
- package/lib/form/index.d.ts +0 -1
- package/lib/form/validators.d.ts +0 -10
- package/react-components.esm.js +0 -3435
- package/react-components.umd.js +0 -3494
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
export
|
|
29
|
-
export default GoACircularProgress;
|
|
1
|
+
export type GoACircularProgressVariant = "fullscreen" | "inline";
|
|
2
|
+
export type GoACircularProgressSize = "small" | "large";
|
|
3
|
+
export type CircularProgressVariant = GoACircularProgressVariant;
|
|
4
|
+
export type CircularProgressSize = GoACircularProgressSize;
|
|
5
|
+
interface WCProps {
|
|
6
|
+
variant?: GoACircularProgressVariant;
|
|
7
|
+
size?: GoACircularProgressSize;
|
|
8
|
+
message?: string;
|
|
9
|
+
visible?: string;
|
|
10
|
+
progress?: number;
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
namespace JSX {
|
|
14
|
+
interface IntrinsicElements {
|
|
15
|
+
"goa-circular-progress": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export interface GoACircularProgressProps {
|
|
20
|
+
variant?: GoACircularProgressVariant;
|
|
21
|
+
size?: GoACircularProgressSize;
|
|
22
|
+
message?: string;
|
|
23
|
+
visible?: boolean;
|
|
24
|
+
progress?: number;
|
|
25
|
+
testId?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const GoACircularProgress: ({ visible, message, progress, variant, size, testId, }: GoACircularProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export default GoACircularProgress;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { Margins } from "../../common/styling";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
interface WCProps extends Margins {
|
|
7
|
-
type?: GoAContainerType;
|
|
8
|
-
accent?: GoAContainerAccent;
|
|
9
|
-
padding?: GoAContainerPadding;
|
|
10
|
-
}
|
|
11
|
-
declare global {
|
|
12
|
-
namespace JSX {
|
|
13
|
-
interface IntrinsicElements {
|
|
14
|
-
"goa-container": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export interface GoAContainerProps extends Margins {
|
|
19
|
-
accent?: GoAContainerAccent;
|
|
20
|
-
type?: GoAContainerType;
|
|
21
|
-
heading?: ReactNode;
|
|
22
|
-
title?: ReactNode;
|
|
23
|
-
padding?: GoAContainerPadding;
|
|
24
|
-
actions?: ReactNode;
|
|
25
|
-
children?: ReactNode;
|
|
26
|
-
testId?: string;
|
|
27
|
-
}
|
|
28
|
-
export declare function GoAContainer({ accent, heading, title, padding, children, actions, type, mt, mr, mb, ml, testId, }: GoAContainerProps): JSX.Element;
|
|
29
|
-
export default GoAContainer;
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { Margins } from "../../common/styling";
|
|
3
|
+
export type GoAContainerType = "interactive" | "non-interactive" | "info" | "error" | "success" | "important";
|
|
4
|
+
export type GoAContainerAccent = "thick" | "thin" | "filled";
|
|
5
|
+
export type GoAContainerPadding = "relaxed" | "compact";
|
|
6
|
+
interface WCProps extends Margins {
|
|
7
|
+
type?: GoAContainerType;
|
|
8
|
+
accent?: GoAContainerAccent;
|
|
9
|
+
padding?: GoAContainerPadding;
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
namespace JSX {
|
|
13
|
+
interface IntrinsicElements {
|
|
14
|
+
"goa-container": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export interface GoAContainerProps extends Margins {
|
|
19
|
+
accent?: GoAContainerAccent;
|
|
20
|
+
type?: GoAContainerType;
|
|
21
|
+
heading?: ReactNode;
|
|
22
|
+
title?: ReactNode;
|
|
23
|
+
padding?: GoAContainerPadding;
|
|
24
|
+
actions?: ReactNode;
|
|
25
|
+
children?: ReactNode;
|
|
26
|
+
testId?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function GoAContainer({ accent, heading, title, padding, children, actions, type, mt, mr, mb, ml, testId, }: GoAContainerProps): JSX.Element;
|
|
29
|
+
export default GoAContainer;
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
export
|
|
25
|
-
export default GoADatePicker;
|
|
1
|
+
import { Margins } from "../../common/styling";
|
|
2
|
+
interface WCProps extends Margins {
|
|
3
|
+
ref: React.RefObject<HTMLElement>;
|
|
4
|
+
name?: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
min?: string;
|
|
7
|
+
max?: string;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
namespace JSX {
|
|
11
|
+
interface IntrinsicElements {
|
|
12
|
+
"goa-date-picker": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export interface GoADatePickerProps extends Margins {
|
|
17
|
+
name?: string;
|
|
18
|
+
value?: Date;
|
|
19
|
+
min?: Date;
|
|
20
|
+
max?: Date;
|
|
21
|
+
onChange: (name: string, value: Date) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare function GoADatePicker({ name, value, min, max, mt, mr, mb, ml, onChange, }: GoADatePickerProps): JSX.Element;
|
|
24
|
+
export default GoADatePicker;
|
package/lib/details/details.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { Margins } from "../../common/styling";
|
|
3
|
-
interface WCProps extends Margins {
|
|
4
|
-
heading: string;
|
|
5
|
-
open?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
"goa-details": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export interface GoADetailsProps extends Margins {
|
|
15
|
-
heading: string;
|
|
16
|
-
open?: boolean;
|
|
17
|
-
children: ReactNode;
|
|
18
|
-
}
|
|
19
|
-
export
|
|
20
|
-
export declare function GoADetails(props: GoADetailsProps): JSX.Element;
|
|
21
|
-
export default GoADetails;
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { Margins } from "../../common/styling";
|
|
3
|
+
interface WCProps extends Margins {
|
|
4
|
+
heading: string;
|
|
5
|
+
open?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
namespace JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
"goa-details": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export interface GoADetailsProps extends Margins {
|
|
15
|
+
heading: string;
|
|
16
|
+
open?: boolean;
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export type DetailsProps = GoADetailsProps;
|
|
20
|
+
export declare function GoADetails(props: GoADetailsProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default GoADetails;
|
package/lib/divider/divider.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export
|
|
14
|
-
export default GoADivider;
|
|
1
|
+
import { Margins } from "../../common/styling";
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
"goa-divider": Margins & React.HTMLAttributes<HTMLElement>;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export interface GoADividerProps extends Margins {
|
|
10
|
+
testId?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function GoADivider(props: GoADividerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default GoADivider;
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare function
|
|
23
|
-
export
|
|
24
|
-
export {};
|
|
1
|
+
interface WCProps {
|
|
2
|
+
value: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
filter?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
namespace JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
"goa-dropdown-item": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export interface GoADropdownItemProps {
|
|
15
|
+
value: string;
|
|
16
|
+
label?: string;
|
|
17
|
+
filter?: string;
|
|
18
|
+
testId?: string;
|
|
19
|
+
name?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function GoADropdownOption(props: GoADropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function GoADropdownItem({ value, label, filter, name, testId }: GoADropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export {};
|
|
@@ -1,50 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
export
|
|
50
|
-
export default GoADropdown;
|
|
1
|
+
import { Margins } from "../../common/styling";
|
|
2
|
+
import { GoAIconType } from "../icon/icon";
|
|
3
|
+
interface WCProps extends Margins {
|
|
4
|
+
ref: React.MutableRefObject<HTMLElement | null>;
|
|
5
|
+
arialabel?: string;
|
|
6
|
+
arialabelledby?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
error?: boolean;
|
|
9
|
+
filterable?: boolean;
|
|
10
|
+
leadingicon?: string;
|
|
11
|
+
maxheight?: string;
|
|
12
|
+
multiselect?: boolean;
|
|
13
|
+
name?: string;
|
|
14
|
+
native?: boolean;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
value?: string;
|
|
17
|
+
width?: string;
|
|
18
|
+
relative?: boolean;
|
|
19
|
+
id?: string;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
namespace JSX {
|
|
23
|
+
interface IntrinsicElements {
|
|
24
|
+
"goa-dropdown": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export interface GoADropdownProps extends Margins {
|
|
29
|
+
name?: string;
|
|
30
|
+
value?: string[] | string;
|
|
31
|
+
onChange: (name: string, values: string[] | string) => void;
|
|
32
|
+
ariaLabel?: string;
|
|
33
|
+
ariaLabelledBy?: string;
|
|
34
|
+
id?: string;
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
error?: boolean;
|
|
38
|
+
filterable?: boolean;
|
|
39
|
+
leadingIcon?: GoAIconType;
|
|
40
|
+
maxHeight?: string;
|
|
41
|
+
multiselect?: boolean;
|
|
42
|
+
native?: boolean;
|
|
43
|
+
placeholder?: string;
|
|
44
|
+
testId?: string;
|
|
45
|
+
width?: string;
|
|
46
|
+
relative?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export declare function GoADropdown(props: GoADropdownProps): JSX.Element;
|
|
49
|
+
export default GoADropdown;
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
export
|
|
27
|
-
export default GoAFileUploadCard;
|
|
1
|
+
interface WCProps {
|
|
2
|
+
ref: React.MutableRefObject<HTMLElement | null>;
|
|
3
|
+
filename: string;
|
|
4
|
+
size: number;
|
|
5
|
+
type?: string;
|
|
6
|
+
progress?: number;
|
|
7
|
+
error?: string;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
namespace JSX {
|
|
11
|
+
interface IntrinsicElements {
|
|
12
|
+
"goa-file-upload-card": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export interface GoAFileUploadCardProps {
|
|
17
|
+
filename: string;
|
|
18
|
+
size: number;
|
|
19
|
+
type?: string;
|
|
20
|
+
progress?: number;
|
|
21
|
+
error?: string;
|
|
22
|
+
onDelete?: () => void;
|
|
23
|
+
onCancel?: () => void;
|
|
24
|
+
}
|
|
25
|
+
export declare function GoAFileUploadCard({ filename, size, type, progress, error, onDelete, onCancel, }: GoAFileUploadCardProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export default GoAFileUploadCard;
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
export
|
|
23
|
-
export default GoAFileUploadInput;
|
|
1
|
+
export type GoAFileUploadInputVariant = "dragdrop" | "button";
|
|
2
|
+
interface WCProps {
|
|
3
|
+
ref: React.MutableRefObject<HTMLElement | null>;
|
|
4
|
+
variant?: GoAFileUploadInputVariant;
|
|
5
|
+
accept?: string;
|
|
6
|
+
maxfilesize?: string;
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
namespace JSX {
|
|
10
|
+
interface IntrinsicElements {
|
|
11
|
+
"goa-file-upload-input": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export interface GoAFileUploadInputProps {
|
|
16
|
+
variant?: GoAFileUploadInputVariant;
|
|
17
|
+
accept?: string;
|
|
18
|
+
maxFileSize?: string;
|
|
19
|
+
onSelectFile: (file: File) => void;
|
|
20
|
+
}
|
|
21
|
+
export declare function GoAFileUploadInput({ variant, accept, maxFileSize, onSelectFile, }: GoAFileUploadInputProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export default GoAFileUploadInput;
|
package/lib/footer/footer.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { 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 GoAAppFooterProps {
|
|
13
|
-
maxContentWidth?: string;
|
|
14
|
-
children?: ReactNode;
|
|
15
|
-
testId?: string;
|
|
16
|
-
}
|
|
17
|
-
export
|
|
18
|
-
export declare function GoAAppFooter({ maxContentWidth, children, testId, }: GoAAppFooterProps): JSX.Element;
|
|
19
|
-
export default GoAAppFooter;
|
|
1
|
+
import { 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 GoAAppFooterProps {
|
|
13
|
+
maxContentWidth?: string;
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
testId?: string;
|
|
16
|
+
}
|
|
17
|
+
export type FooterProps = GoAAppFooterProps;
|
|
18
|
+
export declare function GoAAppFooter({ maxContentWidth, children, testId, }: GoAAppFooterProps): JSX.Element;
|
|
19
|
+
export default GoAAppFooter;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { 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 GoAAppFooterMetaSectionProps {
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export
|
|
13
|
-
export declare function GoAAppFooterMetaSection({ children }: GoAAppFooterMetaSectionProps): JSX.Element;
|
|
14
|
-
export default GoAAppFooterMetaSection;
|
|
1
|
+
import { 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 GoAAppFooterMetaSectionProps {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export type FooterMetaSectionProps = GoAAppFooterMetaSectionProps;
|
|
13
|
+
export declare function GoAAppFooterMetaSection({ children }: GoAAppFooterMetaSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default GoAAppFooterMetaSection;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { 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
|
-
export interface GoAFooterNavSectionProps {
|
|
14
|
-
maxColumnCount?: number;
|
|
15
|
-
heading?: string;
|
|
16
|
-
testId?: string;
|
|
17
|
-
children?: ReactNode;
|
|
18
|
-
}
|
|
19
|
-
export declare function GoAAppFooterNavSection({ heading, maxColumnCount, testId, children, }: GoAFooterNavSectionProps): JSX.Element;
|
|
20
|
-
export default GoAAppFooterNavSection;
|
|
1
|
+
import { 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
|
+
export interface GoAFooterNavSectionProps {
|
|
14
|
+
maxColumnCount?: number;
|
|
15
|
+
heading?: string;
|
|
16
|
+
testId?: string;
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export declare function GoAAppFooterNavSection({ heading, maxColumnCount, testId, children, }: GoAFooterNavSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export default GoAAppFooterNavSection;
|