@abgov/react-components 6.10.0-next.1 → 6.11.0-dev.1
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/experimental/badge/badge.d.ts +33 -0
- package/experimental/button/button.d.ts +43 -0
- package/experimental/calendar/calendar.d.ts +30 -0
- package/experimental/callout/callout.d.ts +33 -0
- package/experimental/checkbox/checkbox.d.ts +52 -0
- package/experimental/date-picker/date-picker.d.ts +43 -0
- package/experimental/drawer/drawer.d.ts +31 -0
- package/experimental/dropdown/dropdown-item.d.ts +26 -0
- package/experimental/dropdown/dropdown.d.ts +62 -0
- package/experimental/file-upload-card/file-upload-card.d.ts +32 -0
- package/experimental/file-upload-input/file-upload-input.d.ts +27 -0
- package/experimental/filter-chip/filter-chip.d.ts +31 -0
- package/experimental/footer/footer.d.ts +24 -0
- package/experimental/footer-meta-section/footer-meta-section.d.ts +18 -0
- package/experimental/footer-nav-section/footer-nav-section.d.ts +22 -0
- package/experimental/form-item/form-item.d.ts +46 -0
- package/experimental/index.d.ts +30 -2
- package/experimental/input/input.d.ts +124 -0
- package/experimental/link/link.d.ts +32 -0
- package/experimental/modal/modal.d.ts +44 -0
- package/experimental/notification/notification.d.ts +31 -0
- package/experimental/pagination/pagination.d.ts +29 -0
- package/experimental/radio-group/radio-group.d.ts +40 -0
- package/experimental/radio-group/radio.d.ts +42 -0
- package/experimental/side-menu/side-menu.d.ts +19 -0
- package/experimental/side-menu-group/side-menu-group.d.ts +24 -0
- package/experimental/side-menu-heading/side-menu-heading.d.ts +23 -0
- package/experimental/table/table-sort-header.d.ts +20 -0
- package/experimental/table/table.d.ts +30 -0
- package/experimental/tabs/tabs.d.ts +27 -0
- package/experimental/textarea/textarea.d.ts +53 -0
- package/experimental/work-side-menu-group/work-side-menu-group.d.ts +22 -0
- package/experimental.js +1160 -64
- package/experimental.js.map +1 -1
- package/experimental.mjs +1163 -68
- package/experimental.mjs.map +1 -1
- package/index.js +139 -1753
- package/index.js.map +1 -1
- package/index.mjs +68 -1683
- package/index.mjs.map +1 -1
- package/lib/badge/badge.d.ts +0 -16
- package/lib/button/button.d.ts +0 -22
- package/lib/calendar/calendar.d.ts +0 -16
- package/lib/callout/callout.d.ts +0 -16
- package/lib/checkbox/checkbox.d.ts +0 -25
- package/lib/date-picker/date-picker.d.ts +0 -21
- package/lib/drawer/drawer.d.ts +0 -15
- package/lib/dropdown/dropdown-item.d.ts +0 -15
- package/lib/dropdown/dropdown.d.ts +0 -29
- package/lib/file-upload-card/file-upload-card.d.ts +0 -17
- package/lib/file-upload-input/file-upload-input.d.ts +0 -15
- package/lib/filter-chip/filter-chip.d.ts +0 -15
- package/lib/footer/footer.d.ts +0 -12
- package/lib/footer-meta-section/footer-meta-section.d.ts +0 -10
- package/lib/footer-nav-section/footer-nav-section.d.ts +0 -12
- package/lib/form-item/form-item.d.ts +0 -19
- package/lib/input/input.d.ts +0 -38
- package/lib/link/link.d.ts +0 -15
- package/lib/modal/modal.d.ts +1 -23
- package/lib/notification/notification.d.ts +0 -14
- package/lib/pagination/pagination.d.ts +0 -15
- package/lib/radio-group/radio-group.d.ts +0 -19
- package/lib/radio-group/radio.d.ts +0 -20
- package/lib/side-menu/side-menu.d.ts +0 -10
- package/lib/side-menu-group/side-menu-group.d.ts +0 -12
- package/lib/side-menu-heading/side-menu-heading.d.ts +0 -11
- package/lib/tab/tab.d.ts +3 -1
- package/lib/table/table-sort-header.d.ts +0 -11
- package/lib/table/table.d.ts +0 -14
- package/lib/tabs/tabs.d.ts +0 -14
- package/lib/textarea/textarea.d.ts +0 -25
- package/package.json +1 -1
- package/parseISO-BHUUf1QW.mjs +1693 -0
- package/parseISO-BHUUf1QW.mjs.map +1 -0
- package/parseISO-Dj57mwuH.js +1692 -0
- package/parseISO-Dj57mwuH.js.map +1 -0
- package/experimental/form/form-summary.d.ts +0 -10
- package/experimental/form/form.d.ts +0 -23
- package/experimental/resizable-panel/ResizablePanel.d.ts +0 -7
- package/icon-B3p90m2x.js +0 -75
- package/icon-B3p90m2x.js.map +0 -1
- package/icon-CCNDGfBO.mjs +0 -76
- package/icon-CCNDGfBO.mjs.map +0 -1
- package/style.css +0 -49
package/lib/badge/badge.d.ts
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
import { DataAttributes, GoabBadgeType, GoabIconType, Margins } from '@abgov/ui-components-common';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
|
-
interface WCProps extends Margins {
|
|
4
|
-
type: GoabBadgeType;
|
|
5
|
-
icon?: string;
|
|
6
|
-
content?: string;
|
|
7
|
-
arialabel?: string;
|
|
8
|
-
testid?: string;
|
|
9
|
-
icontype?: GoabIconType;
|
|
10
|
-
}
|
|
11
|
-
declare module "react" {
|
|
12
|
-
namespace JSX {
|
|
13
|
-
interface IntrinsicElements {
|
|
14
|
-
"goa-badge": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
3
|
export interface GoabBadgeProps extends Margins, DataAttributes {
|
|
19
4
|
type: GoabBadgeType;
|
|
20
5
|
icon?: boolean;
|
|
@@ -40,4 +25,3 @@ export declare function GoabImportantBadge({ content, testId, icon, mt, mr, mb,
|
|
|
40
25
|
* @deprecated
|
|
41
26
|
*/
|
|
42
27
|
export declare function GoabEmergencyBadge({ content, testId, icon, mt, mr, mb, ml, ariaLabel, }: GoabBadgeProps): JSX.Element;
|
|
43
|
-
export {};
|
package/lib/button/button.d.ts
CHANGED
|
@@ -1,27 +1,5 @@
|
|
|
1
1
|
import { ReactNode, JSX } from 'react';
|
|
2
2
|
import { GoabButtonSize, GoabButtonType, GoabButtonVariant, GoabIconType, Margins, DataAttributes } from '@abgov/ui-components-common';
|
|
3
|
-
interface WCProps extends Margins {
|
|
4
|
-
type?: GoabButtonType;
|
|
5
|
-
size?: GoabButtonSize;
|
|
6
|
-
variant?: GoabButtonVariant;
|
|
7
|
-
disabled?: string;
|
|
8
|
-
leadingicon?: string;
|
|
9
|
-
trailingicon?: string;
|
|
10
|
-
width?: string;
|
|
11
|
-
testid?: string;
|
|
12
|
-
action?: string;
|
|
13
|
-
actionArgs?: string;
|
|
14
|
-
actionArg?: string;
|
|
15
|
-
}
|
|
16
|
-
declare module "react" {
|
|
17
|
-
namespace JSX {
|
|
18
|
-
interface IntrinsicElements {
|
|
19
|
-
"goa-button": WCProps & React.HTMLAttributes<HTMLElement> & {
|
|
20
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
3
|
export interface GoabButtonProps extends Margins, DataAttributes {
|
|
26
4
|
type?: GoabButtonType;
|
|
27
5
|
size?: GoabButtonSize;
|
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
2
|
import { DataAttributes, GoabCalendarOnChangeDetail, Margins } from '@abgov/ui-components-common';
|
|
3
|
-
interface WCProps extends Margins {
|
|
4
|
-
name?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
min?: string;
|
|
7
|
-
max?: string;
|
|
8
|
-
testid?: string;
|
|
9
|
-
}
|
|
10
|
-
declare module "react" {
|
|
11
|
-
namespace JSX {
|
|
12
|
-
interface IntrinsicElements {
|
|
13
|
-
"goa-calendar": WCProps & React.HTMLAttributes<HTMLElement> & {
|
|
14
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
3
|
export interface GoabCalendarProps extends Margins, DataAttributes {
|
|
20
4
|
name?: string;
|
|
21
5
|
value?: string;
|
package/lib/callout/callout.d.ts
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
1
|
import { GoabCalloutAriaLive, GoabCalloutSize, GoabCalloutType, GoabCalloutIconTheme, Margins, DataAttributes } from '@abgov/ui-components-common';
|
|
2
|
-
interface WCProps extends Margins {
|
|
3
|
-
heading?: string;
|
|
4
|
-
type?: GoabCalloutType;
|
|
5
|
-
size?: GoabCalloutSize;
|
|
6
|
-
arialive?: GoabCalloutAriaLive;
|
|
7
|
-
maxwidth?: string;
|
|
8
|
-
icontheme?: GoabCalloutIconTheme;
|
|
9
|
-
testid?: string;
|
|
10
|
-
}
|
|
11
|
-
declare module "react" {
|
|
12
|
-
namespace JSX {
|
|
13
|
-
interface IntrinsicElements {
|
|
14
|
-
"goa-callout": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
2
|
export interface GoabCalloutProps extends Margins, DataAttributes {
|
|
19
3
|
heading?: string;
|
|
20
4
|
type?: GoabCalloutType;
|
|
@@ -1,30 +1,5 @@
|
|
|
1
1
|
import { DataAttributes, GoabCheckboxOnChangeDetail, Margins } from '@abgov/ui-components-common';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
|
-
declare module "react" {
|
|
4
|
-
namespace JSX {
|
|
5
|
-
interface IntrinsicElements {
|
|
6
|
-
"goa-checkbox": WCProps & React.HTMLAttributes<HTMLElement> & {
|
|
7
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
interface WCProps extends Margins {
|
|
13
|
-
id?: string;
|
|
14
|
-
name: string;
|
|
15
|
-
checked?: string;
|
|
16
|
-
indeterminate?: string;
|
|
17
|
-
disabled?: string;
|
|
18
|
-
error?: string;
|
|
19
|
-
text?: string;
|
|
20
|
-
value?: string | number;
|
|
21
|
-
arialabel?: string;
|
|
22
|
-
description?: string | React.ReactNode;
|
|
23
|
-
reveal?: React.ReactNode;
|
|
24
|
-
revealarialabel?: string;
|
|
25
|
-
maxwidth?: string;
|
|
26
|
-
testid?: string;
|
|
27
|
-
}
|
|
28
3
|
export interface GoabCheckboxProps extends Margins, DataAttributes {
|
|
29
4
|
id?: string;
|
|
30
5
|
name: string;
|
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
2
|
import { GoabDatePickerInputType, GoabDatePickerOnChangeDetail, Margins, DataAttributes } from '@abgov/ui-components-common';
|
|
3
|
-
interface WCProps extends Margins {
|
|
4
|
-
name?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
error?: string;
|
|
7
|
-
min?: string;
|
|
8
|
-
max?: string;
|
|
9
|
-
type?: string;
|
|
10
|
-
relative?: string;
|
|
11
|
-
disabled?: string;
|
|
12
|
-
testid?: string;
|
|
13
|
-
width?: string;
|
|
14
|
-
}
|
|
15
|
-
declare module "react" {
|
|
16
|
-
namespace JSX {
|
|
17
|
-
interface IntrinsicElements {
|
|
18
|
-
"goa-date-picker": WCProps & React.HTMLAttributes<HTMLElement> & {
|
|
19
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
3
|
export interface GoabDatePickerProps extends Margins, DataAttributes {
|
|
25
4
|
name?: string;
|
|
26
5
|
value?: Date | string | undefined;
|
package/lib/drawer/drawer.d.ts
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
import { ReactNode, JSX } from 'react';
|
|
2
2
|
import { GoabDrawerPosition, GoabDrawerSize } from '@abgov/ui-components-common';
|
|
3
|
-
interface WCProps {
|
|
4
|
-
position: GoabDrawerPosition;
|
|
5
|
-
open?: boolean;
|
|
6
|
-
heading?: string;
|
|
7
|
-
maxsize?: GoabDrawerSize;
|
|
8
|
-
testid?: string;
|
|
9
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
10
|
-
}
|
|
11
|
-
declare module "react" {
|
|
12
|
-
namespace JSX {
|
|
13
|
-
interface IntrinsicElements {
|
|
14
|
-
"goa-drawer": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
3
|
export interface GoabDrawerProps {
|
|
19
4
|
position: GoabDrawerPosition;
|
|
20
5
|
open?: boolean;
|
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
import { GoabDropdownItemMountType } from '@abgov/ui-components-common';
|
|
2
|
-
interface WCProps {
|
|
3
|
-
value: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
filter?: string;
|
|
6
|
-
mount?: GoabDropdownItemMountType;
|
|
7
|
-
name?: string;
|
|
8
|
-
}
|
|
9
|
-
declare module "react" {
|
|
10
|
-
namespace JSX {
|
|
11
|
-
interface IntrinsicElements {
|
|
12
|
-
"goa-dropdown-item": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
2
|
export interface GoabDropdownItemProps {
|
|
17
3
|
value: string;
|
|
18
4
|
label?: string;
|
|
@@ -23,4 +9,3 @@ export interface GoabDropdownItemProps {
|
|
|
23
9
|
}
|
|
24
10
|
export declare function GoabDropdownOption(props: GoabDropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
25
11
|
export declare function GoabDropdownItem({ value, label, filter, name, mountType, }: GoabDropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export {};
|
|
@@ -1,34 +1,5 @@
|
|
|
1
1
|
import { GoabDropdownOnChangeDetail, GoabIconType, Margins, DataAttributes } from '@abgov/ui-components-common';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
|
-
interface WCProps extends Margins {
|
|
4
|
-
arialabel?: string;
|
|
5
|
-
arialabelledby?: string;
|
|
6
|
-
disabled?: string;
|
|
7
|
-
error?: string;
|
|
8
|
-
filterable?: string;
|
|
9
|
-
leadingicon?: string;
|
|
10
|
-
maxheight?: string;
|
|
11
|
-
multiselect?: string;
|
|
12
|
-
name?: string;
|
|
13
|
-
native?: string;
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
value?: string;
|
|
16
|
-
width?: string;
|
|
17
|
-
maxwidth?: string;
|
|
18
|
-
relative?: string;
|
|
19
|
-
id?: string;
|
|
20
|
-
autocomplete?: string;
|
|
21
|
-
testid?: string;
|
|
22
|
-
}
|
|
23
|
-
declare module "react" {
|
|
24
|
-
namespace JSX {
|
|
25
|
-
interface IntrinsicElements {
|
|
26
|
-
"goa-dropdown": WCProps & React.HTMLAttributes<HTMLElement> & {
|
|
27
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
3
|
export interface GoabDropdownProps extends Margins, DataAttributes {
|
|
33
4
|
name?: string;
|
|
34
5
|
value?: string[] | string;
|
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
import { DataAttributes, GoabFileUploadOnCancelDetail, GoabFileUploadOnDeleteDetail } from '@abgov/ui-components-common';
|
|
2
|
-
interface WCProps {
|
|
3
|
-
filename: string;
|
|
4
|
-
size: number;
|
|
5
|
-
type?: string;
|
|
6
|
-
progress?: number;
|
|
7
|
-
error?: string;
|
|
8
|
-
testid?: string;
|
|
9
|
-
}
|
|
10
|
-
declare module "react" {
|
|
11
|
-
namespace JSX {
|
|
12
|
-
interface IntrinsicElements {
|
|
13
|
-
"goa-file-upload-card": WCProps & React.HTMLAttributes<HTMLElement> & {
|
|
14
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
2
|
export interface GoabFileUploadCardProps extends DataAttributes {
|
|
20
3
|
filename: string;
|
|
21
4
|
size: number;
|
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
import { DataAttributes, GoabFileUploadInputOnSelectFileDetail, GoabFileUploadInputVariant } from '@abgov/ui-components-common';
|
|
2
|
-
interface WCProps {
|
|
3
|
-
variant?: GoabFileUploadInputVariant;
|
|
4
|
-
accept?: string;
|
|
5
|
-
maxfilesize?: string;
|
|
6
|
-
testid?: string;
|
|
7
|
-
}
|
|
8
|
-
declare module "react" {
|
|
9
|
-
namespace JSX {
|
|
10
|
-
interface IntrinsicElements {
|
|
11
|
-
"goa-file-upload-input": WCProps & React.HTMLAttributes<HTMLElement> & {
|
|
12
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
2
|
export interface GoabFileUploadInputProps extends DataAttributes {
|
|
18
3
|
variant?: GoabFileUploadInputVariant;
|
|
19
4
|
accept?: string;
|
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
import { DataAttributes, GoabFilterChipTheme, Margins } from '@abgov/ui-components-common';
|
|
2
|
-
interface WCProps extends Margins {
|
|
3
|
-
icontheme: GoabFilterChipTheme;
|
|
4
|
-
error?: string;
|
|
5
|
-
content: string;
|
|
6
|
-
testid?: string;
|
|
7
|
-
}
|
|
8
|
-
declare module "react" {
|
|
9
|
-
namespace JSX {
|
|
10
|
-
interface IntrinsicElements {
|
|
11
|
-
"goa-filter-chip": WCProps & React.HTMLAttributes<HTMLElement> & {
|
|
12
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
2
|
export interface GoabFilterChipProps extends Margins, DataAttributes {
|
|
18
3
|
onClick?: () => void;
|
|
19
4
|
iconTheme?: GoabFilterChipTheme;
|
package/lib/footer/footer.d.ts
CHANGED
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
import { ReactNode, JSX } from 'react';
|
|
2
2
|
import { DataAttributes } from '@abgov/ui-components-common';
|
|
3
|
-
interface WCProps {
|
|
4
|
-
maxcontentwidth?: string;
|
|
5
|
-
testid?: string;
|
|
6
|
-
url?: string;
|
|
7
|
-
}
|
|
8
|
-
declare module "react" {
|
|
9
|
-
namespace JSX {
|
|
10
|
-
interface IntrinsicElements {
|
|
11
|
-
"goa-app-footer": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
3
|
export interface GoabAppFooterProps extends DataAttributes {
|
|
16
4
|
maxContentWidth?: string;
|
|
17
5
|
children?: ReactNode;
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { DataAttributes } from '@abgov/ui-components-common';
|
|
3
|
-
interface WCProps {
|
|
4
|
-
testid?: string;
|
|
5
|
-
}
|
|
6
|
-
declare module "react" {
|
|
7
|
-
namespace JSX {
|
|
8
|
-
interface IntrinsicElements {
|
|
9
|
-
"goa-app-footer-meta-section": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
3
|
export interface GoabAppFooterMetaSectionProps extends DataAttributes {
|
|
14
4
|
testId?: string;
|
|
15
5
|
children?: ReactNode;
|
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { DataAttributes } from '@abgov/ui-components-common';
|
|
3
|
-
interface WCProps {
|
|
4
|
-
maxcolumncount?: number;
|
|
5
|
-
heading?: string;
|
|
6
|
-
testid?: string;
|
|
7
|
-
}
|
|
8
|
-
declare module "react" {
|
|
9
|
-
namespace JSX {
|
|
10
|
-
interface IntrinsicElements {
|
|
11
|
-
"goa-app-footer-nav-section": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
3
|
export interface GoabFooterNavSectionProps extends DataAttributes {
|
|
16
4
|
maxColumnCount?: number;
|
|
17
5
|
heading?: string;
|
|
@@ -1,24 +1,5 @@
|
|
|
1
1
|
import { GoabFormItemLabelSize, GoabFormItemRequirement, Margins, DataAttributes } from '@abgov/ui-components-common';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
|
-
interface WCProps extends Margins {
|
|
4
|
-
label?: string;
|
|
5
|
-
labelsize?: GoabFormItemLabelSize;
|
|
6
|
-
requirement?: GoabFormItemRequirement;
|
|
7
|
-
error?: string;
|
|
8
|
-
helptext?: string;
|
|
9
|
-
maxwidth?: string;
|
|
10
|
-
"public-form-summary-order"?: number;
|
|
11
|
-
name?: string;
|
|
12
|
-
id?: string;
|
|
13
|
-
testid?: string;
|
|
14
|
-
}
|
|
15
|
-
declare module "react" {
|
|
16
|
-
namespace JSX {
|
|
17
|
-
interface IntrinsicElements {
|
|
18
|
-
"goa-form-item": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
3
|
export interface GoabFormItemProps extends Margins, DataAttributes {
|
|
23
4
|
label?: string;
|
|
24
5
|
labelSize?: GoabFormItemLabelSize;
|
package/lib/input/input.d.ts
CHANGED
|
@@ -3,44 +3,6 @@ import { GoabAutoCapitalize, GoabDate, GoabIconType, GoabInputOnBlurDetail, Goab
|
|
|
3
3
|
export interface IgnoreMe {
|
|
4
4
|
ignore: string;
|
|
5
5
|
}
|
|
6
|
-
interface WCProps extends Margins {
|
|
7
|
-
type?: GoabInputType;
|
|
8
|
-
name: string;
|
|
9
|
-
value?: string;
|
|
10
|
-
id?: string;
|
|
11
|
-
autocapitalize?: GoabAutoCapitalize;
|
|
12
|
-
autocomplete?: string;
|
|
13
|
-
debounce?: number;
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
leadingicon?: string;
|
|
16
|
-
trailingicon?: string;
|
|
17
|
-
variant: string;
|
|
18
|
-
disabled?: string;
|
|
19
|
-
error?: string;
|
|
20
|
-
readonly?: string;
|
|
21
|
-
focused?: string;
|
|
22
|
-
handletrailingiconclick: string;
|
|
23
|
-
width?: string;
|
|
24
|
-
prefix?: string;
|
|
25
|
-
suffix?: string;
|
|
26
|
-
arialabel?: string;
|
|
27
|
-
testid?: string;
|
|
28
|
-
textalign?: string;
|
|
29
|
-
min?: string | number;
|
|
30
|
-
max?: string | number;
|
|
31
|
-
step?: number;
|
|
32
|
-
maxlength?: number;
|
|
33
|
-
trailingiconarialabel?: string;
|
|
34
|
-
}
|
|
35
|
-
declare module "react" {
|
|
36
|
-
namespace JSX {
|
|
37
|
-
interface IntrinsicElements {
|
|
38
|
-
"goa-input": WCProps & React.HTMLAttributes<HTMLInputElement> & {
|
|
39
|
-
ref?: React.RefObject<HTMLInputElement | null>;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
6
|
interface BaseProps extends Margins, DataAttributes {
|
|
45
7
|
name: string;
|
|
46
8
|
id?: string;
|
package/lib/link/link.d.ts
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { GoabIconType, Margins, DataAttributes } from '@abgov/ui-components-common';
|
|
3
|
-
interface WCProps extends Margins {
|
|
4
|
-
leadingicon?: GoabIconType;
|
|
5
|
-
trailingicon?: GoabIconType;
|
|
6
|
-
action?: string;
|
|
7
|
-
actionArgs?: string;
|
|
8
|
-
actionArg?: string;
|
|
9
|
-
testid?: string;
|
|
10
|
-
}
|
|
11
|
-
declare module "react" {
|
|
12
|
-
namespace JSX {
|
|
13
|
-
interface IntrinsicElements {
|
|
14
|
-
"goa-link": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
3
|
interface GoabLinkProps extends Margins, DataAttributes {
|
|
19
4
|
leadingIcon?: GoabIconType;
|
|
20
5
|
trailingIcon?: GoabIconType;
|
package/lib/modal/modal.d.ts
CHANGED
|
@@ -1,27 +1,5 @@
|
|
|
1
1
|
import { GoabModalCalloutVariant, GoabModalRole, GoabModalTransition } from '@abgov/ui-components-common';
|
|
2
|
-
import { ReactElement, ReactNode,
|
|
3
|
-
interface WCProps {
|
|
4
|
-
ref: RefObject<HTMLElement | null>;
|
|
5
|
-
heading?: ReactNode;
|
|
6
|
-
open?: string;
|
|
7
|
-
maxwidth?: string;
|
|
8
|
-
closable: string;
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated The role property is deprecated and will be removed in a future version.
|
|
11
|
-
* The modal will always use role="dialog".
|
|
12
|
-
*/
|
|
13
|
-
role?: GoabModalRole;
|
|
14
|
-
transition?: GoabModalTransition;
|
|
15
|
-
calloutvariant?: GoabModalCalloutVariant;
|
|
16
|
-
testid?: string;
|
|
17
|
-
}
|
|
18
|
-
declare module "react" {
|
|
19
|
-
namespace JSX {
|
|
20
|
-
interface IntrinsicElements {
|
|
21
|
-
"goa-modal": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
2
|
+
import { ReactElement, ReactNode, JSX } from 'react';
|
|
25
3
|
export interface GoabModalProps {
|
|
26
4
|
heading?: ReactNode;
|
|
27
5
|
maxWidth?: string;
|
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
import { GoabAriaLiveType, GoabNotificationType } from '@abgov/ui-components-common';
|
|
2
|
-
interface WCProps {
|
|
3
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
4
|
-
type: GoabNotificationType;
|
|
5
|
-
maxcontentwidth?: string;
|
|
6
|
-
arialive?: GoabAriaLiveType;
|
|
7
|
-
testid?: string;
|
|
8
|
-
}
|
|
9
|
-
declare module "react" {
|
|
10
|
-
namespace JSX {
|
|
11
|
-
interface IntrinsicElements {
|
|
12
|
-
"goa-notification": WCProps & React.HTMLAttributes<HTMLButtonElement>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
2
|
export interface GoabNotificationProps {
|
|
17
3
|
type?: GoabNotificationType;
|
|
18
4
|
ariaLive?: GoabAriaLiveType;
|
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
import { GoabPaginationOnChangeDetail, Margins } from '@abgov/ui-components-common';
|
|
2
|
-
interface WCProps extends Margins {
|
|
3
|
-
ref?: React.RefObject<HTMLElement | null>;
|
|
4
|
-
itemcount: number;
|
|
5
|
-
perpagecount?: number;
|
|
6
|
-
pagenumber: number;
|
|
7
|
-
variant?: "all" | "links-only";
|
|
8
|
-
testid?: string;
|
|
9
|
-
}
|
|
10
|
-
declare module "react" {
|
|
11
|
-
namespace JSX {
|
|
12
|
-
interface IntrinsicElements {
|
|
13
|
-
"goa-pagination": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
2
|
export interface GoabPaginationProps extends Margins {
|
|
18
3
|
itemCount: number;
|
|
19
4
|
perPageCount?: number;
|
|
@@ -1,25 +1,6 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
2
|
import { GoabRadioGroupOnChangeDetail, GoabRadioGroupOrientation, Margins, DataAttributes } from '@abgov/ui-components-common';
|
|
3
3
|
export * from './radio';
|
|
4
|
-
interface WCProps extends Margins {
|
|
5
|
-
name: string;
|
|
6
|
-
value?: string;
|
|
7
|
-
id?: string;
|
|
8
|
-
orientation?: GoabRadioGroupOrientation;
|
|
9
|
-
disabled?: string;
|
|
10
|
-
error?: string;
|
|
11
|
-
arialabel?: string;
|
|
12
|
-
testid?: string;
|
|
13
|
-
}
|
|
14
|
-
declare module "react" {
|
|
15
|
-
namespace JSX {
|
|
16
|
-
interface IntrinsicElements {
|
|
17
|
-
"goa-radio-group": WCProps & React.HTMLAttributes<HTMLElement> & {
|
|
18
|
-
ref: React.RefObject<HTMLElement | null>;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
4
|
export interface GoabRadioGroupProps extends Margins, DataAttributes {
|
|
24
5
|
name: string;
|
|
25
6
|
value?: string;
|
|
@@ -1,25 +1,5 @@
|
|
|
1
1
|
import { Margins } from '@abgov/ui-components-common';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
|
-
interface WCProps extends Margins {
|
|
4
|
-
name?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
description?: string | React.ReactNode;
|
|
7
|
-
reveal?: React.ReactNode;
|
|
8
|
-
revealarialabel?: string;
|
|
9
|
-
label?: string;
|
|
10
|
-
maxwidth?: string;
|
|
11
|
-
disabled?: string;
|
|
12
|
-
checked?: string;
|
|
13
|
-
error?: string;
|
|
14
|
-
arialabel?: string;
|
|
15
|
-
}
|
|
16
|
-
declare module "react" {
|
|
17
|
-
namespace JSX {
|
|
18
|
-
interface IntrinsicElements {
|
|
19
|
-
"goa-radio-item": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
3
|
export interface GoabRadioItemProps extends Margins {
|
|
24
4
|
value?: string;
|
|
25
5
|
label?: string;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
import { ReactNode, JSX } from 'react';
|
|
2
|
-
interface WCProps {
|
|
3
|
-
testid?: string;
|
|
4
|
-
}
|
|
5
|
-
declare module "react" {
|
|
6
|
-
namespace JSX {
|
|
7
|
-
interface IntrinsicElements {
|
|
8
|
-
"goa-side-menu": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
2
|
export interface GoabSideMenuProps {
|
|
13
3
|
testId?: string;
|
|
14
4
|
children: ReactNode;
|
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
import { ReactNode, JSX } from 'react';
|
|
2
2
|
import { GoabIconType, Margins } from '@abgov/ui-components-common';
|
|
3
|
-
interface WCProps extends Margins {
|
|
4
|
-
heading: string;
|
|
5
|
-
icon?: GoabIconType;
|
|
6
|
-
testid?: string;
|
|
7
|
-
}
|
|
8
|
-
declare module "react" {
|
|
9
|
-
namespace JSX {
|
|
10
|
-
interface IntrinsicElements {
|
|
11
|
-
"goa-side-menu-group": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
3
|
export interface GoabSideMenuGroupProps extends Margins {
|
|
16
4
|
heading: string;
|
|
17
5
|
icon?: GoabIconType;
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import { GoabIconType } from '@abgov/ui-components-common';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
interface WCProps {
|
|
4
|
-
testid?: string;
|
|
5
|
-
icon?: GoabIconType;
|
|
6
|
-
}
|
|
7
|
-
declare module "react" {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
"goa-side-menu-heading": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
3
|
export interface GoabSideMenuHeadingProps {
|
|
15
4
|
meta?: ReactNode;
|
|
16
5
|
testId?: string;
|
package/lib/tab/tab.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { JSX } from 'react';
|
|
|
2
2
|
interface WCProps {
|
|
3
3
|
heading?: React.ReactNode;
|
|
4
4
|
disabled?: string;
|
|
5
|
+
slug?: string;
|
|
5
6
|
}
|
|
6
7
|
declare module "react" {
|
|
7
8
|
namespace JSX {
|
|
@@ -14,6 +15,7 @@ export interface GoabTabItemProps {
|
|
|
14
15
|
heading?: React.ReactNode;
|
|
15
16
|
disabled?: boolean;
|
|
16
17
|
children?: React.ReactNode;
|
|
18
|
+
slug?: string;
|
|
17
19
|
}
|
|
18
|
-
export declare function GoabTab({ heading, disabled, children }: GoabTabItemProps): JSX.Element;
|
|
20
|
+
export declare function GoabTab({ heading, disabled, slug, children }: GoabTabItemProps): JSX.Element;
|
|
19
21
|
export {};
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import { DataAttributes, GoabTableSortDirection } from '@abgov/ui-components-common';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
|
-
interface WCProps {
|
|
4
|
-
name?: string;
|
|
5
|
-
direction?: GoabTableSortDirection;
|
|
6
|
-
}
|
|
7
|
-
declare module "react" {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
"goa-table-sort-header": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
3
|
export interface GoabTableSortProps extends DataAttributes {
|
|
15
4
|
name?: string;
|
|
16
5
|
direction?: GoabTableSortDirection;
|