@abgov/react-components 6.5.0-alpha.1 → 6.5.0-alpha.3
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/form/form.d.ts +1 -2
- package/experimental/form/task-list.d.ts +1 -2
- package/experimental/form/task.d.ts +1 -2
- package/experimental/resizable-panel/ResizablePanel.d.ts +0 -1
- package/experimental.js.map +1 -1
- package/experimental.mjs.map +1 -1
- package/icon-CK55b563.js.map +1 -1
- package/icon-CoYGOp1V.mjs.map +1 -1
- package/index.js +28 -16
- package/index.js.map +1 -1
- package/index.mjs +28 -16
- package/index.mjs.map +1 -1
- package/lib/accordion/accordion.d.ts +1 -2
- package/lib/app-header/app-header.d.ts +0 -1
- package/lib/app-header-menu/app-header-menu.d.ts +1 -2
- package/lib/badge/badge.d.ts +1 -2
- package/lib/block/block.d.ts +1 -2
- package/lib/button/button.d.ts +1 -2
- package/lib/button-group/button-group.d.ts +1 -2
- package/lib/calendar/calendar.d.ts +1 -2
- package/lib/callout/callout.d.ts +0 -1
- package/lib/card/card-actions.d.ts +0 -1
- package/lib/card/card-content.d.ts +0 -1
- package/lib/card/card-group.d.ts +0 -1
- package/lib/card/card-image.d.ts +0 -1
- package/lib/card/card.d.ts +1 -2
- package/lib/checkbox/checkbox.d.ts +6 -3
- package/lib/chip/chip.d.ts +0 -1
- package/lib/circular-progress/circular-progress.d.ts +0 -1
- package/lib/container/container.d.ts +1 -2
- package/lib/date-picker/date-picker.d.ts +5 -4
- package/lib/details/details.d.ts +1 -2
- package/lib/divider/divider.d.ts +0 -1
- package/lib/drawer/drawer.d.ts +1 -2
- package/lib/dropdown/dropdown-item.d.ts +0 -1
- package/lib/dropdown/dropdown.d.ts +1 -2
- package/lib/file-upload-card/file-upload-card.d.ts +0 -1
- package/lib/file-upload-input/file-upload-input.d.ts +0 -1
- package/lib/filter-chip/filter-chip.d.ts +0 -1
- package/lib/footer/footer.d.ts +0 -1
- package/lib/footer-meta-section/footer-meta-section.d.ts +0 -1
- package/lib/footer-nav-section/footer-nav-section.d.ts +0 -1
- package/lib/form/fieldset.d.ts +1 -2
- package/lib/form/public-form-page.d.ts +4 -4
- package/lib/form/public-form.d.ts +2 -3
- package/lib/form-item/form-item.d.ts +1 -2
- package/lib/form-step/form-step.d.ts +0 -1
- package/lib/form-stepper/form-stepper.d.ts +1 -2
- package/lib/grid/grid.d.ts +1 -2
- package/lib/hero-banner/hero-banner-actions.d.ts +0 -1
- package/lib/hero-banner/hero-banner.d.ts +0 -1
- package/lib/icon/icon.d.ts +1 -2
- package/lib/icon-button/icon-button.d.ts +1 -2
- package/lib/input/input.d.ts +5 -4
- package/lib/link/link.d.ts +1 -2
- package/lib/link-button/link-button.d.ts +1 -2
- package/lib/microsite-header/microsite-header.d.ts +1 -2
- package/lib/modal/modal.d.ts +1 -2
- package/lib/notification/notification.d.ts +0 -1
- package/lib/one-column-layout/one-column-layout.d.ts +0 -1
- package/lib/page-block/page-block.d.ts +0 -1
- package/lib/pages/pages.d.ts +1 -2
- package/lib/pagination/pagination.d.ts +0 -1
- package/lib/popover/popover.d.ts +1 -2
- package/lib/radio-group/radio-group.d.ts +1 -2
- package/lib/radio-group/radio.d.ts +6 -3
- package/lib/side-menu/side-menu.d.ts +0 -1
- package/lib/side-menu-group/side-menu-group.d.ts +1 -2
- package/lib/side-menu-heading/side-menu-heading.d.ts +1 -2
- package/lib/skeleton/skeleton.d.ts +0 -1
- package/lib/spacer/spacer.d.ts +0 -1
- package/lib/spinner/spinner.d.ts +1 -2
- package/lib/tab/tab.d.ts +0 -1
- package/lib/table/table-sort-header.d.ts +1 -2
- package/lib/table/table.d.ts +1 -2
- package/lib/tabs/tabs.d.ts +1 -2
- package/lib/text/text.d.ts +1 -2
- package/lib/textarea/textarea.d.ts +1 -2
- package/lib/three-column-layout/three-column-layout.d.ts +0 -1
- package/lib/tooltip/tooltip.d.ts +1 -2
- package/lib/two-column-layout/two-column-layout.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabAccordionHeadingSize, GoabAccordionIconPosition, Margins } from '@abgov/ui-components-common';
|
|
2
1
|
import { ReactNode, JSX } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabAccordionHeadingSize, GoabAccordionIconPosition, Margins } from '@abgov/ui-components-common';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
ref: React.RefObject<HTMLElement | null>;
|
|
6
5
|
open?: string;
|
package/lib/badge/badge.d.ts
CHANGED
package/lib/block/block.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
1
|
import { GoabBlockAlignment, GoabBlockDirection, Margins, Spacing } from '@abgov/ui-components-common';
|
|
3
|
-
|
|
2
|
+
import { ReactNode } from 'react';
|
|
4
3
|
export interface WCProps extends Margins {
|
|
5
4
|
gap?: Spacing;
|
|
6
5
|
direction?: GoabBlockDirection;
|
package/lib/button/button.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabButtonSize, GoabButtonType, GoabButtonVariant, GoabIconType, Margins } from '@abgov/ui-components-common';
|
|
2
1
|
import { ReactNode, JSX } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabButtonSize, GoabButtonType, GoabButtonVariant, GoabIconType, Margins } from '@abgov/ui-components-common';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
type?: GoabButtonType;
|
|
6
5
|
size?: GoabButtonSize;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { JSX } from 'react';
|
|
2
1
|
import { GoabButtonGroupAlignment, GoabButtonGroupGap, Margins } from '@abgov/ui-components-common';
|
|
3
|
-
|
|
2
|
+
import { JSX } from 'react';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
alignment: GoabButtonGroupAlignment;
|
|
6
5
|
gap?: GoabButtonGroupGap;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabCalendarOnChangeDetail, Margins } from '@abgov/ui-components-common';
|
|
2
1
|
import { JSX } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabCalendarOnChangeDetail, Margins } from '@abgov/ui-components-common';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
ref: React.RefObject<HTMLElement | null>;
|
|
6
5
|
name?: string;
|
package/lib/callout/callout.d.ts
CHANGED
package/lib/card/card-group.d.ts
CHANGED
package/lib/card/card-image.d.ts
CHANGED
package/lib/card/card.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { JSX } from 'react';
|
|
2
1
|
import { GoabCheckboxOnChangeDetail, Margins } from '@abgov/ui-components-common';
|
|
3
|
-
|
|
2
|
+
import { JSX } from 'react';
|
|
4
3
|
declare module "react" {
|
|
5
4
|
namespace JSX {
|
|
6
5
|
interface IntrinsicElements {
|
|
@@ -19,6 +18,8 @@ interface WCProps extends Margins {
|
|
|
19
18
|
value?: string | number;
|
|
20
19
|
arialabel?: string;
|
|
21
20
|
description?: string | React.ReactNode;
|
|
21
|
+
reveal?: React.ReactNode;
|
|
22
|
+
revealarialabel?: string;
|
|
22
23
|
maxwidth?: string;
|
|
23
24
|
testid?: string;
|
|
24
25
|
}
|
|
@@ -34,9 +35,11 @@ export interface GoabCheckboxProps extends Margins {
|
|
|
34
35
|
testId?: string;
|
|
35
36
|
ariaLabel?: string;
|
|
36
37
|
description?: string | React.ReactNode;
|
|
38
|
+
reveal?: React.ReactNode;
|
|
39
|
+
revealAriaLabel?: string;
|
|
37
40
|
maxWidth?: string;
|
|
38
41
|
onChange?: (detail: GoabCheckboxOnChangeDetail) => void;
|
|
39
42
|
}
|
|
40
43
|
export type Props = GoabCheckboxProps;
|
|
41
|
-
export declare function GoabCheckbox({ id, name, testId, error, disabled, checked, value, text, description, maxWidth, children, onChange, ariaLabel, mt, mr, mb, ml, }: GoabCheckboxProps): JSX.Element;
|
|
44
|
+
export declare function GoabCheckbox({ id, name, testId, error, disabled, checked, value, text, description, reveal, revealAriaLabel, maxWidth, children, onChange, ariaLabel, mt, mr, mb, ml, }: GoabCheckboxProps): JSX.Element;
|
|
42
45
|
export default GoabCheckbox;
|
package/lib/chip/chip.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ReactNode, JSX } from 'react';
|
|
2
1
|
import { GoabContainerAccent, GoabContainerPadding, GoabContainerType, GoabContainerWidth, Margins } from '@abgov/ui-components-common';
|
|
3
|
-
|
|
2
|
+
import { ReactNode, JSX } from 'react';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
type?: GoabContainerType;
|
|
6
5
|
accent?: GoabContainerAccent;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabDatePickerOnChangeDetail, Margins } from '@abgov/ui-components-common';
|
|
2
1
|
import { JSX } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabDatePickerInputType, GoabDatePickerOnChangeDetail, Margins } from '@abgov/ui-components-common';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
ref: React.RefObject<HTMLElement | null>;
|
|
6
5
|
name?: string;
|
|
@@ -8,6 +7,7 @@ interface WCProps extends Margins {
|
|
|
8
7
|
error?: string;
|
|
9
8
|
min?: string;
|
|
10
9
|
max?: string;
|
|
10
|
+
type?: string;
|
|
11
11
|
relative?: string;
|
|
12
12
|
disabled?: string;
|
|
13
13
|
testid?: string;
|
|
@@ -25,13 +25,14 @@ export interface GoabDatePickerProps extends Margins {
|
|
|
25
25
|
error?: boolean;
|
|
26
26
|
min?: Date;
|
|
27
27
|
max?: Date;
|
|
28
|
+
type?: GoabDatePickerInputType;
|
|
28
29
|
testId?: string;
|
|
29
30
|
/***
|
|
30
31
|
* @deprecated This property has no effect and will be removed in a future version
|
|
31
32
|
*/
|
|
32
33
|
relative?: boolean;
|
|
33
34
|
disabled?: boolean;
|
|
34
|
-
onChange
|
|
35
|
+
onChange?: (detail: GoabDatePickerOnChangeDetail) => void;
|
|
35
36
|
}
|
|
36
|
-
export declare function GoabDatePicker({ name, value, error, min, max, testId, disabled, mt, mr, mb, ml, relative, onChange, }: GoabDatePickerProps): JSX.Element;
|
|
37
|
+
export declare function GoabDatePicker({ name, value, error, min, max, testId, disabled, type, mt, mr, mb, ml, relative, onChange, }: GoabDatePickerProps): JSX.Element;
|
|
37
38
|
export default GoabDatePicker;
|
package/lib/details/details.d.ts
CHANGED
package/lib/divider/divider.d.ts
CHANGED
package/lib/drawer/drawer.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabDrawerPosition, GoabDrawerSize } from '@abgov/ui-components-common';
|
|
2
1
|
import { ReactNode, JSX } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabDrawerPosition, GoabDrawerSize } from '@abgov/ui-components-common';
|
|
4
3
|
interface WCProps {
|
|
5
4
|
position: GoabDrawerPosition;
|
|
6
5
|
open?: boolean;
|
package/lib/footer/footer.d.ts
CHANGED
package/lib/form/fieldset.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabFieldsetOnChangeDetail, GoabFieldsetOnContinueDetail, GoabFormDispatchOn, Margins } from '@abgov/ui-components-common';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabFieldsetOnChangeDetail, GoabFieldsetOnContinueDetail, GoabFormDispatchOn, Margins } from '@abgov/ui-components-common';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
ref?: React.RefObject<HTMLElement | null>;
|
|
6
5
|
id?: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabPublicFormPageButtonVisibility, GoabPublicFormPageOnFieldsetChangeDetail, GoabPublicFormPageOnCompleteDetail, GoabPublicFormPageOnContinueDetail, GoabPublicFormPageStep, Margins } from '@abgov/ui-components-common';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabPublicFormPageButtonVisibility, GoabPublicFormPageOnFieldsetChangeDetail, GoabPublicFormPageOnCompleteDetail, GoabPublicFormPageStep, Margins } from '@abgov/ui-components-common';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
ref?: React.RefObject<HTMLElement | null>;
|
|
6
5
|
id?: string;
|
|
@@ -38,11 +37,12 @@ interface GoabPublicFormPageProps extends Margins {
|
|
|
38
37
|
* Triggered when the form page continues to the next step
|
|
39
38
|
* @param event - The continue event details
|
|
40
39
|
*/
|
|
41
|
-
onContinue?: (event:
|
|
40
|
+
onContinue?: (event: Event) => void;
|
|
42
41
|
/**
|
|
43
42
|
* Triggered when the user clicks the back link
|
|
43
|
+
* @param event: The back event details
|
|
44
44
|
*/
|
|
45
|
-
onBack?: () => void;
|
|
45
|
+
onBack?: (event: Event) => void;
|
|
46
46
|
/**
|
|
47
47
|
* Triggered when the form fieldset content changes
|
|
48
48
|
* @param event - The fieldset change event details
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabFormState, GoabPublicFormOnInitDetail, GoabPublicFormStatus } from '@abgov/ui-components-common';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabFormState, GoabPublicFormStatus } from '@abgov/ui-components-common';
|
|
4
3
|
interface WCProps {
|
|
5
4
|
ref?: React.RefObject<HTMLElement | null>;
|
|
6
5
|
status?: string;
|
|
@@ -16,7 +15,7 @@ declare module "react" {
|
|
|
16
15
|
interface GoabPublicFormProps {
|
|
17
16
|
status?: GoabPublicFormStatus;
|
|
18
17
|
name?: string;
|
|
19
|
-
onInit?: (event:
|
|
18
|
+
onInit?: (event: Event) => void;
|
|
20
19
|
onComplete?: (event: GoabFormState) => void;
|
|
21
20
|
onStateChange?: (event: GoabFormState) => void;
|
|
22
21
|
children: ReactNode;
|
package/lib/grid/grid.d.ts
CHANGED
package/lib/icon/icon.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { JSX, ReactNode } from 'react';
|
|
2
1
|
import { GoabIconButtonVariant, GoabIconSize, GoabIconType, Margins } from '@abgov/ui-components-common';
|
|
3
|
-
|
|
2
|
+
import { JSX, ReactNode } from 'react';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
ref: React.RefObject<HTMLElement | null>;
|
|
6
5
|
icon: GoabIconType;
|
package/lib/input/input.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabAutoCapitalize, GoabDate, GoabIconType, GoaInputOnBlurDetail, GoabInputOnChangeDetail, GoabInputOnFocusDetail, GoabInputOnKeyPressDetail, GoabInputType, Margins } from '@abgov/ui-components-common';
|
|
2
1
|
import { JSX } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabAutoCapitalize, GoabDate, GoabIconType, GoaInputOnBlurDetail, GoabInputOnChangeDetail, GoabInputOnFocusDetail, GoabInputOnKeyPressDetail, GoabInputType, Margins } from '@abgov/ui-components-common';
|
|
4
3
|
export interface IgnoreMe {
|
|
5
4
|
ignore: string;
|
|
6
5
|
}
|
|
@@ -26,6 +25,7 @@ interface WCProps extends Margins {
|
|
|
26
25
|
suffix?: string;
|
|
27
26
|
arialabel?: string;
|
|
28
27
|
testid?: string;
|
|
28
|
+
textalign?: string;
|
|
29
29
|
min?: string | number;
|
|
30
30
|
max?: string | number;
|
|
31
31
|
step?: number;
|
|
@@ -62,6 +62,7 @@ interface BaseProps extends Margins {
|
|
|
62
62
|
trailingContent?: React.ReactNode;
|
|
63
63
|
maxLength?: number;
|
|
64
64
|
trailingIconAriaLabel?: string;
|
|
65
|
+
textAlign?: "left" | "right";
|
|
65
66
|
}
|
|
66
67
|
type OnChange<T = string> = (detail: GoabInputOnChangeDetail<T>) => void;
|
|
67
68
|
type OnFocus<T = string> = (detail: GoabInputOnFocusDetail<T>) => void;
|
|
@@ -97,7 +98,7 @@ interface GoabDateInputProps extends BaseProps {
|
|
|
97
98
|
onBlur?: OnBlur<GoabDate>;
|
|
98
99
|
onKeyPress?: OnKeyPress<GoabDate>;
|
|
99
100
|
}
|
|
100
|
-
export declare function GoabInput({ id, debounce, name, type, autoCapitalize, leadingIcon, trailingIcon, variant, focused, disabled, readonly, value, placeholder, error, width, testId, min, max, step, prefix, suffix, ariaLabel, mt, mr, mb, ml, leadingContent, trailingContent, maxLength, trailingIconAriaLabel, onTrailingIconClick, onChange, onFocus, onBlur, onKeyPress, }: GoabInputProps & {
|
|
101
|
+
export declare function GoabInput({ id, debounce, name, type, autoCapitalize, leadingIcon, trailingIcon, variant, focused, disabled, readonly, value, placeholder, error, width, testId, min, max, step, prefix, suffix, ariaLabel, mt, mr, mb, ml, leadingContent, trailingContent, maxLength, trailingIconAriaLabel, textAlign, onTrailingIconClick, onChange, onFocus, onBlur, onKeyPress, }: GoabInputProps & {
|
|
101
102
|
type?: GoabInputType;
|
|
102
103
|
}): JSX.Element;
|
|
103
104
|
export declare function GoabInputText(props: GoabInputProps): JSX.Element;
|
|
@@ -111,6 +112,6 @@ export declare function GoabInputUrl(props: GoabInputProps): JSX.Element;
|
|
|
111
112
|
export declare function GoabInputTel(props: GoabInputProps): JSX.Element;
|
|
112
113
|
export declare function GoabInputFile(props: GoabInputProps): JSX.Element;
|
|
113
114
|
export declare function GoabInputMonth(props: GoabInputProps): JSX.Element;
|
|
114
|
-
export declare function GoabInputNumber({ min, max, value, ...props }: GoabNumberInputProps): JSX.Element;
|
|
115
|
+
export declare function GoabInputNumber({ min, max, value, textAlign, ...props }: GoabNumberInputProps): JSX.Element;
|
|
115
116
|
export declare function GoabInputRange(props: GoabInputProps): JSX.Element;
|
|
116
117
|
export default GoabInput;
|
package/lib/link/link.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabIconType, Margins } from '@abgov/ui-components-common';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabIconType, Margins } from '@abgov/ui-components-common';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
leadingicon?: GoabIconType;
|
|
6
5
|
trailingicon?: GoabIconType;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabIconType, GoabLinkButtonType, Margins } from '@abgov/ui-components-common';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabIconType, GoabLinkButtonType, Margins } from '@abgov/ui-components-common';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
type?: GoabLinkButtonType;
|
|
6
5
|
leadingicon?: GoabIconType;
|
package/lib/modal/modal.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ReactElement, ReactNode, RefObject, JSX } from 'react';
|
|
2
1
|
import { GoabModalCalloutVariant, GoabModalRole, GoabModalTransition } from '@abgov/ui-components-common';
|
|
3
|
-
|
|
2
|
+
import { ReactElement, ReactNode, RefObject, JSX } from 'react';
|
|
4
3
|
interface WCProps {
|
|
5
4
|
ref: RefObject<HTMLElement | null>;
|
|
6
5
|
heading?: ReactNode;
|
package/lib/pages/pages.d.ts
CHANGED
package/lib/popover/popover.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { GoabRadioGroupOnChangeDetail, GoabRadioGroupOrientation, Margins } from '@abgov/ui-components-common';
|
|
2
1
|
import { JSX } from 'react';
|
|
3
|
-
|
|
2
|
+
import { GoabRadioGroupOnChangeDetail, GoabRadioGroupOrientation, Margins } from '@abgov/ui-components-common';
|
|
4
3
|
export * from './radio';
|
|
5
4
|
interface WCProps extends Margins {
|
|
6
5
|
ref: React.RefObject<HTMLElement | null>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { JSX } from 'react';
|
|
2
1
|
import { Margins } from '@abgov/ui-components-common';
|
|
3
|
-
|
|
2
|
+
import { JSX } from 'react';
|
|
4
3
|
interface WCProps extends Margins {
|
|
5
4
|
name?: string;
|
|
6
5
|
value?: string;
|
|
7
6
|
description?: string | React.ReactNode;
|
|
7
|
+
reveal?: React.ReactNode;
|
|
8
|
+
revealarialabel?: string;
|
|
8
9
|
label?: string;
|
|
9
10
|
maxwidth?: string;
|
|
10
11
|
disabled?: string;
|
|
@@ -24,6 +25,8 @@ export interface GoabRadioItemProps extends Margins {
|
|
|
24
25
|
label?: string;
|
|
25
26
|
name?: string;
|
|
26
27
|
description?: string | React.ReactNode;
|
|
28
|
+
reveal?: React.ReactNode;
|
|
29
|
+
revealAriaLabel?: string;
|
|
27
30
|
maxWidth?: string;
|
|
28
31
|
disabled?: boolean;
|
|
29
32
|
checked?: boolean;
|
|
@@ -31,5 +34,5 @@ export interface GoabRadioItemProps extends Margins {
|
|
|
31
34
|
children?: React.ReactNode;
|
|
32
35
|
ariaLabel?: string;
|
|
33
36
|
}
|
|
34
|
-
export declare function GoabRadioItem({ name, label, value, description, maxWidth, disabled, checked, error, ariaLabel, children, mt, mr, mb, ml, }: GoabRadioItemProps): JSX.Element;
|
|
37
|
+
export declare function GoabRadioItem({ name, label, value, description, reveal, revealAriaLabel, maxWidth, disabled, checked, error, ariaLabel, children, mt, mr, mb, ml, }: GoabRadioItemProps): JSX.Element;
|
|
35
38
|
export default GoabRadioItem;
|
package/lib/spacer/spacer.d.ts
CHANGED
package/lib/spinner/spinner.d.ts
CHANGED
package/lib/tab/tab.d.ts
CHANGED