@abgov/react-components 4.0.0-alpha.40 → 4.0.0-alpha.43
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/index.d.ts +34 -40
- package/lib/app-header/app-header.d.ts +1 -0
- package/lib/button/button.d.ts +1 -3
- package/lib/button-group/button-group.d.ts +1 -0
- package/lib/checkbox/checkbox.d.ts +1 -0
- package/lib/chip/chip.d.ts +1 -1
- package/lib/container/container.d.ts +1 -0
- package/lib/dropdown/dropdown.d.ts +1 -0
- package/lib/flex-column/flex-column.d.ts +2 -1
- package/lib/flex-row/flex-row.d.ts +2 -1
- 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 +1 -1
- package/lib/form/form-item.d.ts +1 -0
- package/lib/hero-banner/hero-banner-actions.d.ts +5 -3
- package/lib/hero-banner/hero-banner.d.ts +1 -0
- package/lib/icons/icon-button.d.ts +1 -0
- package/lib/input/input.d.ts +5 -1
- package/lib/modal/modal.d.ts +1 -0
- package/lib/notification/notification.d.ts +1 -1
- package/lib/page/page.d.ts +1 -1
- package/lib/page-block/page-block.d.ts +1 -1
- package/lib/radio-group/radio-group.d.ts +1 -0
- package/lib/radio-group/radio.d.ts +1 -0
- package/package.json +1 -1
- package/react-components.esm.js +8264 -8143
- package/react-components.umd.js +7727 -7606
package/index.d.ts
CHANGED
|
@@ -1,40 +1,34 @@
|
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from './lib/flex-column/flex-column';
|
|
36
|
-
export * from './lib/page/page';
|
|
37
|
-
export * from './lib/divider/divider';
|
|
38
|
-
export type { GoAIconType };
|
|
39
|
-
export type { GoABadgeType };
|
|
40
|
-
export { GoAAppHeader, 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, GoAImportantBadge, };
|
|
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/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";
|
package/lib/button/button.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ interface WCProps {
|
|
|
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
|
|
31
|
+
children?: ReactNode;
|
|
34
32
|
};
|
|
35
33
|
export declare const GoAButton: FC<ButtonProps>;
|
|
36
34
|
export default GoAButton;
|
package/lib/chip/chip.d.ts
CHANGED
package/lib/footer/footer.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare global {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
export interface FooterMetaSectionProps {
|
|
10
|
-
children
|
|
10
|
+
children?: ReactNode;
|
|
11
11
|
}
|
|
12
12
|
export declare function GoAAppFooterMetaSection({ children }: FooterMetaSectionProps): JSX.Element;
|
|
13
13
|
export default GoAAppFooterMetaSection;
|
|
@@ -13,7 +13,7 @@ declare global {
|
|
|
13
13
|
interface FooterNavSectionProps {
|
|
14
14
|
name: string;
|
|
15
15
|
maxColumnCount?: number;
|
|
16
|
-
children
|
|
16
|
+
children?: ReactNode;
|
|
17
17
|
}
|
|
18
18
|
export declare function GoAAppFooterNavSection({ name, maxColumnCount, children }: FooterNavSectionProps): JSX.Element;
|
|
19
19
|
export default GoAAppFooterNavSection;
|
package/lib/form/form-item.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
export declare type GoAHeroBannerActionsType =
|
|
3
|
-
|
|
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;
|
package/lib/input/input.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ interface WCProps {
|
|
|
19
19
|
maxcharcount?: number;
|
|
20
20
|
handletrailingiconclick: boolean;
|
|
21
21
|
width?: string;
|
|
22
|
+
prefix?: string;
|
|
23
|
+
suffix?: string;
|
|
22
24
|
testid?: string;
|
|
23
25
|
min?: string;
|
|
24
26
|
max?: string;
|
|
@@ -31,7 +33,7 @@ declare global {
|
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
|
-
|
|
36
|
+
interface Props {
|
|
35
37
|
name: string;
|
|
36
38
|
value: string;
|
|
37
39
|
onChange: (name: string, value: string) => void;
|
|
@@ -48,6 +50,8 @@ export interface Props {
|
|
|
48
50
|
width?: string;
|
|
49
51
|
showCounter?: boolean;
|
|
50
52
|
maxCharCount?: number;
|
|
53
|
+
prefix?: string;
|
|
54
|
+
suffix?: string;
|
|
51
55
|
testId?: string;
|
|
52
56
|
min?: string;
|
|
53
57
|
max?: string;
|
package/lib/modal/modal.d.ts
CHANGED
package/lib/page/page.d.ts
CHANGED
package/package.json
CHANGED