@abgov/react-components 4.0.0-alpha.78 → 4.0.0-alpha.79
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/README.md +9 -4
- package/index.d.ts +34 -34
- package/lib/app-header/app-header.d.ts +2 -2
- package/lib/badge/badge.d.ts +3 -3
- package/lib/button/button.d.ts +8 -8
- package/lib/button-group/button-group.d.ts +3 -3
- package/lib/callout/callout.d.ts +4 -4
- package/lib/card/card-actions.d.ts +2 -2
- package/lib/card/card-content.d.ts +2 -2
- package/lib/card/card-group.d.ts +2 -2
- package/lib/card/card-image.d.ts +2 -2
- package/lib/card/card.d.ts +2 -2
- package/lib/card/index.d.ts +5 -5
- package/lib/checkbox/checkbox.d.ts +2 -2
- package/lib/chip/chip.d.ts +3 -3
- package/lib/circular-progress/circular-progress.d.ts +3 -3
- package/lib/container/container.d.ts +4 -4
- package/lib/divider/divider.d.ts +1 -1
- package/lib/dropdown/dropdown-option.d.ts +1 -1
- package/lib/dropdown/dropdown.d.ts +2 -2
- package/lib/flex-column/flex-column.d.ts +3 -3
- package/lib/flex-row/flex-row.d.ts +3 -3
- package/lib/footer/footer.d.ts +1 -1
- package/lib/footer-meta-section/footer-meta-section.d.ts +1 -1
- package/lib/footer-nav-section/footer-nav-section.d.ts +2 -2
- package/lib/form/form-item.d.ts +3 -3
- package/lib/form/index.d.ts +1 -1
- package/lib/hero-banner/hero-banner-actions.d.ts +1 -1
- package/lib/hero-banner/hero-banner.d.ts +2 -2
- package/lib/icons/icon-button.d.ts +4 -4
- package/lib/icons/icon.d.ts +8 -8
- package/lib/icons/index.d.ts +2 -2
- package/lib/input/input.d.ts +4 -4
- package/lib/microsite-header/microsite-header.d.ts +3 -3
- package/lib/modal/modal.d.ts +2 -2
- package/lib/notification/notification.d.ts +3 -3
- package/lib/one-column-layout/one-column-layout.d.ts +1 -1
- package/lib/page-block/page-block.d.ts +2 -2
- package/lib/radio-group/radio-group.d.ts +4 -4
- package/lib/radio-group/radio.d.ts +2 -2
- package/lib/skeleton/skeleton.d.ts +3 -3
- package/lib/spinner/spinner.d.ts +3 -3
- package/lib/textarea/textarea.d.ts +2 -2
- package/lib/two-column-layout/two-column-layout.d.ts +2 -2
- package/package.json +1 -1
- package/react-components.esm.js +114 -165
- package/react-components.umd.js +114 -165
package/README.md
CHANGED
|
@@ -14,13 +14,18 @@ Link ionicons in app/index.html
|
|
|
14
14
|
Add the following to the head element
|
|
15
15
|
|
|
16
16
|
```html
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
<script
|
|
18
|
+
type="module"
|
|
19
|
+
src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"
|
|
20
|
+
></script>
|
|
21
|
+
<script
|
|
22
|
+
nomodule
|
|
23
|
+
src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"
|
|
24
|
+
></script>
|
|
20
25
|
```
|
|
21
26
|
|
|
22
27
|
Import the styles in the `src/index.css` file
|
|
23
28
|
|
|
24
29
|
```css
|
|
25
|
-
@import
|
|
30
|
+
@import "@abgov/styles/styles.esm.css";
|
|
26
31
|
```
|
package/index.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
export type { GoAIconType } from
|
|
3
|
-
export type { GoABadgeType } from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
1
|
+
import "@abgov/web-components";
|
|
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/one-column-layout/one-column-layout";
|
|
30
|
+
export * from "./lib/radio-group/radio-group";
|
|
31
|
+
export * from "./lib/skeleton/skeleton";
|
|
32
|
+
export * from "./lib/spinner/spinner";
|
|
33
|
+
export * from "./lib/textarea/textarea";
|
|
34
|
+
export * from "./lib/two-column-layout/two-column-layout";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { FC } from
|
|
1
|
+
import React, { FC } from "react";
|
|
2
2
|
interface WCProps {
|
|
3
3
|
heading?: string;
|
|
4
4
|
url?: string;
|
|
@@ -7,7 +7,7 @@ interface WCProps {
|
|
|
7
7
|
declare global {
|
|
8
8
|
namespace JSX {
|
|
9
9
|
interface IntrinsicElements {
|
|
10
|
-
|
|
10
|
+
"goa-app-header": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|
package/lib/badge/badge.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { FC } from
|
|
2
|
-
export declare type GoABadgeType =
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
export declare type GoABadgeType = "information" | "success" | "important" | "emergency" | "dark" | "midtone" | "light";
|
|
3
3
|
interface GoABadgeProps {
|
|
4
4
|
type: GoABadgeType;
|
|
5
5
|
icon?: boolean;
|
|
@@ -15,7 +15,7 @@ interface WCProps {
|
|
|
15
15
|
declare global {
|
|
16
16
|
namespace JSX {
|
|
17
17
|
interface IntrinsicElements {
|
|
18
|
-
|
|
18
|
+
"goa-badge": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
package/lib/button/button.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React, { FC, ReactNode } from
|
|
2
|
-
import
|
|
3
|
-
import { GoAIconType } from
|
|
4
|
-
export declare type ButtonType =
|
|
5
|
-
export declare type ButtonSize =
|
|
6
|
-
export declare type ButtonVariant =
|
|
1
|
+
import React, { FC, ReactNode } from "react";
|
|
2
|
+
import "./button.css";
|
|
3
|
+
import { GoAIconType } from "../icons";
|
|
4
|
+
export declare type ButtonType = "primary" | "submit" | "secondary" | "tertiary" | "start";
|
|
5
|
+
export declare type ButtonSize = "compact" | "normal";
|
|
6
|
+
export declare type ButtonVariant = "normal" | "destructive";
|
|
7
7
|
interface WCProps {
|
|
8
8
|
type?: ButtonType;
|
|
9
9
|
size?: ButtonSize;
|
|
@@ -16,7 +16,7 @@ interface WCProps {
|
|
|
16
16
|
declare global {
|
|
17
17
|
namespace JSX {
|
|
18
18
|
interface IntrinsicElements {
|
|
19
|
-
|
|
19
|
+
"goa-button": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -27,7 +27,7 @@ declare type ButtonProps = {
|
|
|
27
27
|
disabled?: boolean;
|
|
28
28
|
leadingIcon?: GoAIconType;
|
|
29
29
|
trailingIcon?: GoAIconType;
|
|
30
|
-
onClick?: (
|
|
30
|
+
onClick?: () => void;
|
|
31
31
|
children?: ReactNode;
|
|
32
32
|
};
|
|
33
33
|
export declare const GoAButton: FC<ButtonProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { FC } from
|
|
2
|
-
import
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import "./button-group.css";
|
|
3
3
|
declare type Alignment = "start" | "end";
|
|
4
4
|
interface WCProps {
|
|
5
5
|
alignment?: Alignment;
|
|
@@ -7,7 +7,7 @@ interface WCProps {
|
|
|
7
7
|
declare global {
|
|
8
8
|
namespace JSX {
|
|
9
9
|
interface IntrinsicElements {
|
|
10
|
-
|
|
10
|
+
"goa-button-group": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|
package/lib/callout/callout.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
declare type CalloutType = "important" |
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare type CalloutType = "important" | "information" | "event" | "success" | "emergency";
|
|
3
3
|
interface WCProps {
|
|
4
4
|
heading?: string;
|
|
5
5
|
type?: CalloutType;
|
|
@@ -7,7 +7,7 @@ interface WCProps {
|
|
|
7
7
|
declare global {
|
|
8
8
|
namespace JSX {
|
|
9
9
|
interface IntrinsicElements {
|
|
10
|
-
|
|
10
|
+
"goa-callout": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -16,5 +16,5 @@ export interface CalloutProps {
|
|
|
16
16
|
type?: CalloutType;
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
}
|
|
19
|
-
export declare const GoACallout: ({ heading, type, children }: CalloutProps) => JSX.Element;
|
|
19
|
+
export declare const GoACallout: ({ heading, type, children, }: CalloutProps) => JSX.Element;
|
|
20
20
|
export default GoACallout;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React, { FC } from
|
|
1
|
+
import React, { FC } from "react";
|
|
2
2
|
interface WCProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
5
|
declare global {
|
|
6
6
|
namespace JSX {
|
|
7
7
|
interface IntrinsicElements {
|
|
8
|
-
|
|
8
|
+
"goa-card-actions": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React, { FC } from
|
|
1
|
+
import React, { FC } from "react";
|
|
2
2
|
declare global {
|
|
3
3
|
namespace JSX {
|
|
4
4
|
interface IntrinsicElements {
|
|
5
|
-
|
|
5
|
+
"goa-card-content": React.HTMLAttributes<HTMLElement>;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
}
|
package/lib/card/card-group.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React, { FC } from
|
|
1
|
+
import React, { FC } from "react";
|
|
2
2
|
interface WCProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
5
|
declare global {
|
|
6
6
|
namespace JSX {
|
|
7
7
|
interface IntrinsicElements {
|
|
8
|
-
|
|
8
|
+
"goa-card-group": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
package/lib/card/card-image.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { FC } from
|
|
1
|
+
import React, { FC } from "react";
|
|
2
2
|
interface WCProps {
|
|
3
3
|
src: string;
|
|
4
4
|
height: string;
|
|
@@ -6,7 +6,7 @@ interface WCProps {
|
|
|
6
6
|
declare global {
|
|
7
7
|
namespace JSX {
|
|
8
8
|
interface IntrinsicElements {
|
|
9
|
-
|
|
9
|
+
"goa-card-image": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
package/lib/card/card.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { FC } from
|
|
1
|
+
import React, { FC } from "react";
|
|
2
2
|
interface WCProps {
|
|
3
3
|
elevation: number;
|
|
4
4
|
children: React.ReactNode;
|
|
@@ -6,7 +6,7 @@ interface WCProps {
|
|
|
6
6
|
declare global {
|
|
7
7
|
namespace JSX {
|
|
8
8
|
interface IntrinsicElements {
|
|
9
|
-
|
|
9
|
+
"goa-card": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
package/lib/card/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
1
|
+
export * from "./card-content";
|
|
2
|
+
export * from "./card-image";
|
|
3
|
+
export * from "./card-actions";
|
|
4
|
+
export * from "./card-group";
|
|
5
|
+
export * from "./card";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React, { FC } from
|
|
1
|
+
import React, { FC } from "react";
|
|
2
2
|
declare global {
|
|
3
3
|
namespace JSX {
|
|
4
4
|
interface IntrinsicElements {
|
|
5
|
-
|
|
5
|
+
"goa-checkbox": CheckboxProps & React.HTMLAttributes<HTMLElement>;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
}
|
package/lib/chip/chip.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare type ChipVariant = "filter";
|
|
3
3
|
interface WCProps {
|
|
4
4
|
ref: React.RefObject<HTMLElement>;
|
|
@@ -11,7 +11,7 @@ interface WCProps {
|
|
|
11
11
|
declare global {
|
|
12
12
|
namespace JSX {
|
|
13
13
|
interface IntrinsicElements {
|
|
14
|
-
|
|
14
|
+
"goa-chip": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -23,5 +23,5 @@ interface Props {
|
|
|
23
23
|
content: string;
|
|
24
24
|
variant?: ChipVariant;
|
|
25
25
|
}
|
|
26
|
-
export declare const GoAChip: ({ leadingIcon, deletable, error, variant, content, onClick }: Props) => JSX.Element;
|
|
26
|
+
export declare const GoAChip: ({ leadingIcon, deletable, error, variant, content, onClick, }: Props) => JSX.Element;
|
|
27
27
|
export default GoAChip;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
2
|
export declare type CircularProgressVariant = "fullscreen" | "inline";
|
|
3
3
|
export declare type CircularProgressSize = "small" | "large";
|
|
4
4
|
interface WCProps {
|
|
@@ -11,7 +11,7 @@ interface WCProps {
|
|
|
11
11
|
declare global {
|
|
12
12
|
namespace JSX {
|
|
13
13
|
interface IntrinsicElements {
|
|
14
|
-
|
|
14
|
+
"goa-circular-progress": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -22,5 +22,5 @@ export interface CircularProgressProps {
|
|
|
22
22
|
visible?: boolean;
|
|
23
23
|
progress?: number;
|
|
24
24
|
}
|
|
25
|
-
export declare const GoACircularProgress: ({ visible, message, progress, variant, size }: CircularProgressProps) => JSX.Element;
|
|
25
|
+
export declare const GoACircularProgress: ({ visible, message, progress, variant, size, }: CircularProgressProps) => JSX.Element;
|
|
26
26
|
export default GoACircularProgress;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { FC, ReactNode } from
|
|
2
|
-
declare type ContainerType =
|
|
3
|
-
declare type Accent =
|
|
1
|
+
import React, { FC, ReactNode } from "react";
|
|
2
|
+
declare type ContainerType = "interactive" | "non-interactive" | "info" | "error" | "success" | "important";
|
|
3
|
+
declare type Accent = "thick" | "thin" | "filled";
|
|
4
4
|
declare type ContainerPadding = "relaxed" | "compact";
|
|
5
5
|
interface WCProps {
|
|
6
6
|
type?: ContainerType;
|
|
@@ -10,7 +10,7 @@ interface WCProps {
|
|
|
10
10
|
declare global {
|
|
11
11
|
namespace JSX {
|
|
12
12
|
interface IntrinsicElements {
|
|
13
|
-
|
|
13
|
+
"goa-container": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
}
|
package/lib/divider/divider.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React, { FC } from "react";
|
|
|
2
2
|
declare global {
|
|
3
3
|
namespace JSX {
|
|
4
4
|
interface IntrinsicElements {
|
|
5
|
-
|
|
5
|
+
"goa-dropdown-item": DropdownOptionProps & React.HTMLAttributes<HTMLElement>;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FC } from "react";
|
|
2
2
|
import { GoAIconType } from "../icons";
|
|
3
|
-
export * from
|
|
3
|
+
export * from "./dropdown-option";
|
|
4
4
|
interface WCProps {
|
|
5
5
|
ref: React.MutableRefObject<HTMLElement | null>;
|
|
6
6
|
name: string;
|
|
@@ -18,7 +18,7 @@ interface WCProps {
|
|
|
18
18
|
declare global {
|
|
19
19
|
namespace JSX {
|
|
20
20
|
interface IntrinsicElements {
|
|
21
|
-
|
|
21
|
+
"goa-dropdown": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React, { FC } from "react";
|
|
2
2
|
interface WCProps {
|
|
3
|
-
gap?:
|
|
3
|
+
gap?: "small" | "medium" | "large";
|
|
4
4
|
}
|
|
5
5
|
declare global {
|
|
6
6
|
namespace JSX {
|
|
7
7
|
interface IntrinsicElements {
|
|
8
|
-
|
|
8
|
+
"goa-flex-col": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
interface Props {
|
|
13
|
-
gap?:
|
|
13
|
+
gap?: "small" | "medium" | "large";
|
|
14
14
|
children?: React.ReactNode;
|
|
15
15
|
}
|
|
16
16
|
export declare const GoAFlexCol: FC<Props>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React, { FC } from "react";
|
|
2
2
|
interface WCProps {
|
|
3
|
-
gap?:
|
|
3
|
+
gap?: "small" | "medium" | "large";
|
|
4
4
|
}
|
|
5
5
|
declare global {
|
|
6
6
|
namespace JSX {
|
|
7
7
|
interface IntrinsicElements {
|
|
8
|
-
|
|
8
|
+
"goa-flex-row": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
interface Props {
|
|
13
|
-
gap?:
|
|
13
|
+
gap?: "small" | "medium" | "large";
|
|
14
14
|
children?: React.ReactNode;
|
|
15
15
|
}
|
|
16
16
|
export declare const GoAFlexRow: FC<Props>;
|
package/lib/footer/footer.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface WCProps {
|
|
|
6
6
|
declare global {
|
|
7
7
|
namespace JSX {
|
|
8
8
|
interface IntrinsicElements {
|
|
9
|
-
|
|
9
|
+
"goa-app-footer-nav-section": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -15,5 +15,5 @@ interface FooterNavSectionProps {
|
|
|
15
15
|
heading?: string;
|
|
16
16
|
children?: ReactNode;
|
|
17
17
|
}
|
|
18
|
-
export declare function GoAAppFooterNavSection({ heading, maxColumnCount, children }: FooterNavSectionProps): JSX.Element;
|
|
18
|
+
export declare function GoAAppFooterNavSection({ heading, maxColumnCount, children, }: FooterNavSectionProps): JSX.Element;
|
|
19
19
|
export default GoAAppFooterNavSection;
|
package/lib/form/form-item.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { FC } from
|
|
2
|
-
declare type RequirementType =
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
declare type RequirementType = "optional" | "required";
|
|
3
3
|
interface WCProps {
|
|
4
4
|
label: string;
|
|
5
5
|
requirement?: RequirementType;
|
|
@@ -9,7 +9,7 @@ interface WCProps {
|
|
|
9
9
|
declare global {
|
|
10
10
|
namespace JSX {
|
|
11
11
|
interface IntrinsicElements {
|
|
12
|
-
|
|
12
|
+
"goa-form-item": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
package/lib/form/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { GoAFormItem } from
|
|
1
|
+
export { GoAFormItem } from "./form-item";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { FC } from
|
|
1
|
+
import React, { FC } from "react";
|
|
2
2
|
interface WCProps {
|
|
3
3
|
heading: string;
|
|
4
4
|
backgroundurl: string;
|
|
@@ -6,7 +6,7 @@ interface WCProps {
|
|
|
6
6
|
declare global {
|
|
7
7
|
namespace JSX {
|
|
8
8
|
interface IntrinsicElements {
|
|
9
|
-
|
|
9
|
+
"goa-hero-banner": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { FC } from
|
|
2
|
-
import { IconSize, GoAIconType } from
|
|
3
|
-
declare type IconVariant =
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import { IconSize, GoAIconType } from "./icon";
|
|
3
|
+
declare type IconVariant = "color" | "nocolor";
|
|
4
4
|
interface WCProps {
|
|
5
5
|
ref: React.RefObject<HTMLElement>;
|
|
6
6
|
icon: GoAIconType;
|
|
@@ -12,7 +12,7 @@ interface WCProps {
|
|
|
12
12
|
declare global {
|
|
13
13
|
namespace JSX {
|
|
14
14
|
interface IntrinsicElements {
|
|
15
|
-
|
|
15
|
+
"goa-icon-button": WCProps & React.HTMLAttributes<HTMLButtonElement>;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|