@transferwise/components 45.0.1 → 45.1.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/LICENSE.md +4 -4
- package/README.md +3 -0
- package/build/es/no-polyfill/actionOption/ActionOption.story.js +1 -1
- package/build/es/no-polyfill/avatarWrapper/AvatarWrapper.js +1 -2
- package/build/es/no-polyfill/button/Button.js +1 -1
- package/build/es/no-polyfill/checkboxButton/CheckboxButton.story.js +1 -1
- package/build/es/no-polyfill/checkboxOption/CheckboxOption.story.js +1 -1
- package/build/es/no-polyfill/chips/Chips.story.js +1 -1
- package/build/es/no-polyfill/common/bottomSheet/BottomSheet.js +1 -21
- package/build/es/no-polyfill/common/hooks/useHasIntersected/useHasIntersected.js +1 -2
- package/build/es/no-polyfill/common/requirements.js +1 -19
- package/build/es/no-polyfill/dateInput/DateInput.js +3 -9
- package/build/es/no-polyfill/index.js +1 -1
- package/build/es/no-polyfill/inputs/Input.js +1 -0
- package/build/es/no-polyfill/inputs/TextArea.js +1 -0
- package/build/es/no-polyfill/inputs/_common.js +2 -0
- package/build/es/no-polyfill/modal/Modal.js +1 -2
- package/build/es/no-polyfill/moneyInput/MoneyInput.js +1 -1
- package/build/es/no-polyfill/phoneNumberInput/PhoneNumberInput.js +1 -1
- package/build/es/no-polyfill/progressBar/ProgressBar.story.js +1 -1
- package/build/es/no-polyfill/provider/Provider.spec.js +1 -2
- package/build/es/no-polyfill/select/searchBox/SearchBox.js +1 -1
- package/build/es/no-polyfill/slidingPanel/SlidingPanel.js +1 -1
- package/build/es/no-polyfill/tabs/Tabs.js +1 -6
- package/build/es/no-polyfill/typeahead/typeaheadInput/TypeaheadInput.js +1 -1
- package/build/es/no-polyfill/uploadInput/UploadInput.story.js +1 -1
- package/build/es/no-polyfill/utils.js +0 -0
- package/build/es/no-polyfill/withDisplayFormat/WithDisplayFormat.js +1 -2
- package/build/es/polyfill/actionOption/ActionOption.story.js +1 -1
- package/build/es/polyfill/avatarWrapper/AvatarWrapper.js +1 -2
- package/build/es/polyfill/button/Button.js +1 -1
- package/build/es/polyfill/checkboxButton/CheckboxButton.story.js +1 -1
- package/build/es/polyfill/checkboxOption/CheckboxOption.story.js +1 -1
- package/build/es/polyfill/chips/Chips.story.js +1 -1
- package/build/es/polyfill/common/bottomSheet/BottomSheet.js +1 -21
- package/build/es/polyfill/common/hooks/useHasIntersected/useHasIntersected.js +1 -2
- package/build/es/polyfill/common/requirements.js +1 -19
- package/build/es/polyfill/dateInput/DateInput.js +3 -9
- package/build/es/polyfill/index.js +1 -1
- package/build/es/polyfill/inputs/Input.js +1 -0
- package/build/es/polyfill/inputs/TextArea.js +1 -0
- package/build/es/polyfill/inputs/_common.js +2 -0
- package/build/es/polyfill/modal/Modal.js +1 -2
- package/build/es/polyfill/moneyInput/MoneyInput.js +1 -1
- package/build/es/polyfill/phoneNumberInput/PhoneNumberInput.js +1 -1
- package/build/es/polyfill/progressBar/ProgressBar.story.js +1 -1
- package/build/es/polyfill/provider/Provider.spec.js +1 -2
- package/build/es/polyfill/select/searchBox/SearchBox.js +1 -1
- package/build/es/polyfill/slidingPanel/SlidingPanel.js +1 -1
- package/build/es/polyfill/tabs/Tabs.js +1 -6
- package/build/es/polyfill/typeahead/typeaheadInput/TypeaheadInput.js +1 -1
- package/build/es/polyfill/uploadInput/UploadInput.story.js +1 -1
- package/build/es/polyfill/utils.js +0 -0
- package/build/es/polyfill/withDisplayFormat/WithDisplayFormat.js +1 -2
- package/build/main.css +1 -1
- package/build/styles/inputs/Input.css +1 -0
- package/build/styles/inputs/TextArea.css +1 -0
- package/build/styles/main.css +1 -1
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts +8 -9
- package/build/types/actionButton/ActionButton.story.d.ts +7 -3
- package/build/types/actionOption/ActionOption.story.d.ts +4 -13
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts +2 -3
- package/build/types/alert/withArrow/withArrow.d.ts +1 -2
- package/build/types/checkboxButton/CheckboxButton.story.d.ts +4 -2
- package/build/types/checkboxOption/CheckboxOption.story.d.ts +4 -5
- package/build/types/chips/Chips.story.d.ts +9 -14
- package/build/types/common/RadioButton/RadioButton.d.ts +7 -8
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts +4 -5
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts +8 -9
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts +6 -7
- package/build/types/dateLookup/tableLink/TableLink.d.ts +8 -9
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts +7 -8
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts +6 -7
- package/build/types/dynamicFieldDefinitionList/FormattedValue/FormattedValue.d.ts +2 -16
- package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts +3 -4
- package/build/types/flowNavigation/backButton/BackButton.d.ts +3 -4
- package/build/types/index.d.ts +4 -0
- package/build/types/inputs/Input.d.ts +13 -0
- package/build/types/inputs/TextArea.d.ts +10 -0
- package/build/types/inputs/_common.d.ts +5 -0
- package/build/types/modal/Modal.story.d.ts +3 -2
- package/build/types/progressBar/ProgressBar.story.d.ts +3 -3
- package/build/types/provider/Provider.story.d.ts +2 -6
- package/build/types/select/searchBox/SearchBox.d.ts +1 -1
- package/build/types/tabs/TabList.d.ts +1 -2
- package/build/types/tabs/TabPanel.d.ts +4 -7
- package/build/types/test-utils/GlobalsDecorator.d.ts +4 -5
- package/build/types/test-utils/index.d.ts +1 -1
- package/build/types/tile/Tile.d.ts +9 -10
- package/build/types/tooltip/Tooltip.story.d.ts +2 -1
- package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts +15 -16
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts +4 -9
- package/build/types/upload/steps/completeStep/completeStep.d.ts +9 -10
- package/build/types/upload/steps/mediaUploadStep/mediaUploadStep.d.ts +8 -9
- package/build/types/upload/steps/processingStep/processingStep.d.ts +8 -9
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts +8 -9
- package/build/types/uploadInput/UploadInput.story.d.ts +20 -37
- package/build/types/utils.d.ts +1 -0
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +18 -19
- package/build/umd/no-polyfill/main.js +1 -1
- package/build/umd/polyfill/main.js +1 -1
- package/package.json +65 -33
- package/upgrades/2021-04-v35-36-typescript-support.js +1 -0
|
@@ -11,14 +11,14 @@ declare function AccordionItem({ "aria-label": ariaLabel, id, title, content, on
|
|
|
11
11
|
}): JSX.Element;
|
|
12
12
|
declare namespace AccordionItem {
|
|
13
13
|
const propTypes: {
|
|
14
|
-
'aria-label':
|
|
15
|
-
content:
|
|
16
|
-
icon:
|
|
17
|
-
id:
|
|
18
|
-
open:
|
|
19
|
-
onClick:
|
|
20
|
-
title:
|
|
21
|
-
theme:
|
|
14
|
+
'aria-label': any;
|
|
15
|
+
content: any;
|
|
16
|
+
icon: any;
|
|
17
|
+
id: any;
|
|
18
|
+
open: any;
|
|
19
|
+
onClick: any;
|
|
20
|
+
title: any;
|
|
21
|
+
theme: any;
|
|
22
22
|
};
|
|
23
23
|
const defaultProps: {
|
|
24
24
|
'aria-label': undefined;
|
|
@@ -27,5 +27,4 @@ declare namespace AccordionItem {
|
|
|
27
27
|
theme: Theme;
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
import PropTypes from "prop-types";
|
|
31
30
|
import { Theme } from "../../common/theme";
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const _default:
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
declare const _default: {
|
|
3
|
+
component: import("react").ForwardRefExoticComponent<{
|
|
4
|
+
text?: string | undefined;
|
|
5
|
+
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
title: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
};
|
|
5
9
|
export default _default;
|
|
6
10
|
export declare const Variants: () => JSX.Element;
|
|
7
11
|
export declare const Basic: () => JSX.Element;
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
media?: import("react").ReactChild | undefined;
|
|
7
|
-
showMediaAtAllSizes?: boolean | undefined;
|
|
8
|
-
onClick: () => void;
|
|
9
|
-
title: import("react").ReactChild;
|
|
10
|
-
action: import("react").ReactChild;
|
|
11
|
-
showMediaCircle?: boolean | undefined;
|
|
12
|
-
isContainerAligned?: boolean | undefined;
|
|
13
|
-
} & import("../common").CommonProps>;
|
|
14
|
-
export default _default;
|
|
2
|
+
import { Meta } from '@storybook/react';
|
|
3
|
+
import ActionOption from './ActionOption';
|
|
4
|
+
declare const meta: Meta<typeof ActionOption>;
|
|
5
|
+
export default meta;
|
|
15
6
|
export declare const Basic: () => JSX.Element;
|
|
16
7
|
export declare const Multiple: () => JSX.Element;
|
|
17
8
|
export declare const WithContainerContent: () => JSX.Element;
|
|
@@ -2,12 +2,11 @@ export default InlineMarkdown;
|
|
|
2
2
|
declare function InlineMarkdown(props: any): JSX.Element;
|
|
3
3
|
declare namespace InlineMarkdown {
|
|
4
4
|
namespace propTypes {
|
|
5
|
-
const children:
|
|
6
|
-
const className:
|
|
5
|
+
const children: any;
|
|
6
|
+
const className: any;
|
|
7
7
|
}
|
|
8
8
|
namespace defaultProps {
|
|
9
9
|
const className_1: undefined;
|
|
10
10
|
export { className_1 as className };
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
import PropTypes from "prop-types";
|
|
@@ -2,10 +2,9 @@ export default withArrow;
|
|
|
2
2
|
declare function withArrow(Alert: any, arrow: any): {
|
|
3
3
|
(props: any): JSX.Element;
|
|
4
4
|
propTypes: {
|
|
5
|
-
className:
|
|
5
|
+
className: any;
|
|
6
6
|
};
|
|
7
7
|
defaultProps: {
|
|
8
8
|
className: undefined;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
-
import PropTypes from "prop-types";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import { Meta } from '@storybook/react';
|
|
3
|
+
import CheckboxButton from './CheckboxButton';
|
|
4
|
+
declare const meta: Meta<typeof CheckboxButton>;
|
|
5
|
+
export default meta;
|
|
4
6
|
export declare const Basic: () => JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export default _default;
|
|
2
|
+
import { Meta } from '@storybook/react';
|
|
3
|
+
import CheckboxOption from './CheckboxOption';
|
|
4
|
+
declare const meta: Meta<typeof CheckboxOption>;
|
|
5
|
+
export default meta;
|
|
7
6
|
export declare const Basic: () => JSX.Element;
|
|
8
7
|
export declare const Multiple: () => JSX.Element;
|
|
9
8
|
export declare const WithContainerContent: () => JSX.Element;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}>;
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const FilterChips: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ChipsProps>;
|
|
13
|
-
export declare const PreSelectedFilterChips: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ChipsProps>;
|
|
14
|
-
export declare const ChoiceChips: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ChipsProps>;
|
|
1
|
+
import { Story, Meta } from '@storybook/react';
|
|
2
|
+
import Chips, { ChipsProps } from './Chips';
|
|
3
|
+
declare const meta: Meta<typeof Chips>;
|
|
4
|
+
export default meta;
|
|
5
|
+
declare const FilterTemplate: Story<ChipsProps>;
|
|
6
|
+
declare const ChoiceTemplate: Story<ChipsProps>;
|
|
7
|
+
export declare const FilterChips: typeof FilterTemplate;
|
|
8
|
+
export declare const PreSelectedFilterChips: typeof FilterTemplate;
|
|
9
|
+
export declare const ChoiceChips: typeof ChoiceTemplate;
|
|
@@ -10,13 +10,13 @@ declare function RadioButton({ id, value, name, checked, onChange, disabled, rea
|
|
|
10
10
|
}): JSX.Element;
|
|
11
11
|
declare namespace RadioButton {
|
|
12
12
|
namespace propTypes {
|
|
13
|
-
const id:
|
|
14
|
-
const name:
|
|
15
|
-
const checked:
|
|
16
|
-
const onChange:
|
|
17
|
-
const disabled:
|
|
18
|
-
const value:
|
|
19
|
-
const readOnly:
|
|
13
|
+
const id: any;
|
|
14
|
+
const name: any;
|
|
15
|
+
const checked: any;
|
|
16
|
+
const onChange: any;
|
|
17
|
+
const disabled: any;
|
|
18
|
+
const value: any;
|
|
19
|
+
const readOnly: any;
|
|
20
20
|
}
|
|
21
21
|
namespace defaultProps {
|
|
22
22
|
const checked_1: boolean;
|
|
@@ -33,4 +33,3 @@ declare namespace RadioButton {
|
|
|
33
33
|
export { readOnly_1 as readOnly };
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
import PropTypes from "prop-types";
|
|
@@ -7,10 +7,10 @@ declare function DateHeader({ label, onLabelClick, onPreviousClick, onNextClick
|
|
|
7
7
|
}): JSX.Element;
|
|
8
8
|
declare namespace DateHeader {
|
|
9
9
|
namespace propTypes {
|
|
10
|
-
const label:
|
|
11
|
-
const onLabelClick:
|
|
12
|
-
const onPreviousClick:
|
|
13
|
-
const onNextClick:
|
|
10
|
+
const label: any;
|
|
11
|
+
const onLabelClick: any;
|
|
12
|
+
const onPreviousClick: any;
|
|
13
|
+
const onNextClick: any;
|
|
14
14
|
}
|
|
15
15
|
namespace defaultProps {
|
|
16
16
|
const label_1: null;
|
|
@@ -19,4 +19,3 @@ declare namespace DateHeader {
|
|
|
19
19
|
export { onLabelClick_1 as onLabelClick };
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
import PropTypes from "prop-types";
|
|
@@ -11,14 +11,14 @@ declare function DateTrigger({ selectedDate, size, placeholder, label, monthForm
|
|
|
11
11
|
}): JSX.Element;
|
|
12
12
|
declare namespace DateTrigger {
|
|
13
13
|
namespace propTypes {
|
|
14
|
-
const selectedDate:
|
|
15
|
-
const size:
|
|
16
|
-
const placeholder:
|
|
17
|
-
const label:
|
|
18
|
-
const monthFormat:
|
|
19
|
-
const disabled:
|
|
20
|
-
const onClick:
|
|
21
|
-
const onClear:
|
|
14
|
+
const selectedDate: any;
|
|
15
|
+
const size: any;
|
|
16
|
+
const placeholder: any;
|
|
17
|
+
const label: any;
|
|
18
|
+
const monthFormat: any;
|
|
19
|
+
const disabled: any;
|
|
20
|
+
const onClick: any;
|
|
21
|
+
const onClear: any;
|
|
22
22
|
}
|
|
23
23
|
namespace defaultProps {
|
|
24
24
|
const selectedDate_1: null;
|
|
@@ -29,5 +29,4 @@ declare namespace DateTrigger {
|
|
|
29
29
|
export { onClear_1 as onClear };
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
import PropTypes from "prop-types";
|
|
33
32
|
import { Size } from "../../common/propsValues/size";
|
|
@@ -9,12 +9,12 @@ declare function MonthCalendarTable({ selectedDate: selected, min, max, viewYear
|
|
|
9
9
|
}): JSX.Element;
|
|
10
10
|
declare namespace MonthCalendarTable {
|
|
11
11
|
namespace propTypes {
|
|
12
|
-
const selectedDate:
|
|
13
|
-
const min:
|
|
14
|
-
const max:
|
|
15
|
-
const viewYear:
|
|
16
|
-
const placeholder:
|
|
17
|
-
const onSelect:
|
|
12
|
+
const selectedDate: any;
|
|
13
|
+
const min: any;
|
|
14
|
+
const max: any;
|
|
15
|
+
const viewYear: any;
|
|
16
|
+
const placeholder: any;
|
|
17
|
+
const onSelect: any;
|
|
18
18
|
}
|
|
19
19
|
namespace defaultProps {
|
|
20
20
|
const selectedDate_1: null;
|
|
@@ -25,4 +25,3 @@ declare namespace MonthCalendarTable {
|
|
|
25
25
|
export { max_1 as max };
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
import PropTypes from "prop-types";
|
|
@@ -7,14 +7,14 @@ declare class TableLink extends PureComponent<any, any, any> {
|
|
|
7
7
|
}
|
|
8
8
|
declare namespace TableLink {
|
|
9
9
|
namespace propTypes {
|
|
10
|
-
const item:
|
|
11
|
-
const type:
|
|
12
|
-
const title:
|
|
13
|
-
const longTitle:
|
|
14
|
-
const active:
|
|
15
|
-
const disabled:
|
|
16
|
-
const today:
|
|
17
|
-
const onClick:
|
|
10
|
+
const item: any;
|
|
11
|
+
const type: any;
|
|
12
|
+
const title: any;
|
|
13
|
+
const longTitle: any;
|
|
14
|
+
const active: any;
|
|
15
|
+
const disabled: any;
|
|
16
|
+
const today: any;
|
|
17
|
+
const onClick: any;
|
|
18
18
|
}
|
|
19
19
|
namespace defaultProps {
|
|
20
20
|
const title_1: null;
|
|
@@ -24,4 +24,3 @@ declare namespace TableLink {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
import { PureComponent } from "react";
|
|
27
|
-
import PropTypes from "prop-types";
|
|
@@ -9,13 +9,13 @@ declare class YearCalendar extends PureComponent<any, any, any> {
|
|
|
9
9
|
}
|
|
10
10
|
declare namespace YearCalendar {
|
|
11
11
|
namespace propTypes {
|
|
12
|
-
const selectedDate:
|
|
13
|
-
const min:
|
|
14
|
-
const max:
|
|
15
|
-
const viewYear:
|
|
16
|
-
const placeholder:
|
|
17
|
-
const onSelect:
|
|
18
|
-
const onViewDateUpdate:
|
|
12
|
+
const selectedDate: any;
|
|
13
|
+
const min: any;
|
|
14
|
+
const max: any;
|
|
15
|
+
const viewYear: any;
|
|
16
|
+
const placeholder: any;
|
|
17
|
+
const onSelect: any;
|
|
18
|
+
const onViewDateUpdate: any;
|
|
19
19
|
}
|
|
20
20
|
namespace defaultProps {
|
|
21
21
|
const selectedDate_1: null;
|
|
@@ -27,4 +27,3 @@ declare namespace YearCalendar {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
import { PureComponent } from "react";
|
|
30
|
-
import PropTypes from "prop-types";
|
|
@@ -9,12 +9,12 @@ declare function YearCalendarTable({ selectedDate, min, max, viewYear, placehold
|
|
|
9
9
|
}): JSX.Element;
|
|
10
10
|
declare namespace YearCalendarTable {
|
|
11
11
|
namespace propTypes {
|
|
12
|
-
const selectedDate:
|
|
13
|
-
const min:
|
|
14
|
-
const max:
|
|
15
|
-
const viewYear:
|
|
16
|
-
const placeholder:
|
|
17
|
-
const onSelect:
|
|
12
|
+
const selectedDate: any;
|
|
13
|
+
const min: any;
|
|
14
|
+
const max: any;
|
|
15
|
+
const viewYear: any;
|
|
16
|
+
const placeholder: any;
|
|
17
|
+
const onSelect: any;
|
|
18
18
|
}
|
|
19
19
|
namespace defaultProps {
|
|
20
20
|
const selectedDate_1: null;
|
|
@@ -25,4 +25,3 @@ declare namespace YearCalendarTable {
|
|
|
25
25
|
export { max_1 as max };
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
import PropTypes from "prop-types";
|
|
@@ -5,21 +5,7 @@ declare function FormattedValue({ field, value }: {
|
|
|
5
5
|
}): JSX.Element;
|
|
6
6
|
declare namespace FormattedValue {
|
|
7
7
|
namespace propTypes {
|
|
8
|
-
const field:
|
|
9
|
-
|
|
10
|
-
displayFormat: PropTypes.Requireable<string>;
|
|
11
|
-
refreshRequirementsOnChange: PropTypes.Requireable<boolean>;
|
|
12
|
-
title: PropTypes.Validator<string>;
|
|
13
|
-
type: PropTypes.Validator<string>;
|
|
14
|
-
width: PropTypes.Requireable<string>;
|
|
15
|
-
tagClassName: PropTypes.Requireable<PropTypes.InferProps<{
|
|
16
|
-
h3: PropTypes.Requireable<boolean>;
|
|
17
|
-
}>>;
|
|
18
|
-
values: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
19
|
-
value: PropTypes.Requireable<any>;
|
|
20
|
-
}> | null | undefined)[]>;
|
|
21
|
-
}>>>;
|
|
22
|
-
const value: PropTypes.Validator<any>;
|
|
8
|
+
const field: any;
|
|
9
|
+
const value: any;
|
|
23
10
|
}
|
|
24
11
|
}
|
|
25
|
-
import PropTypes from "prop-types";
|
|
@@ -6,13 +6,12 @@ declare function AnimatedLabel({ activeLabel, className, labels }: {
|
|
|
6
6
|
}): JSX.Element;
|
|
7
7
|
declare namespace AnimatedLabel {
|
|
8
8
|
namespace propTypes {
|
|
9
|
-
const activeLabel:
|
|
10
|
-
const className:
|
|
11
|
-
const labels:
|
|
9
|
+
const activeLabel: any;
|
|
10
|
+
const className: any;
|
|
11
|
+
const labels: any;
|
|
12
12
|
}
|
|
13
13
|
namespace defaultProps {
|
|
14
14
|
const className_1: undefined;
|
|
15
15
|
export { className_1 as className };
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
import PropTypes from "prop-types";
|
|
@@ -6,9 +6,9 @@ declare function BackButton({ label, className, onClick }: {
|
|
|
6
6
|
}): JSX.Element;
|
|
7
7
|
declare namespace BackButton {
|
|
8
8
|
namespace propTypes {
|
|
9
|
-
const className:
|
|
10
|
-
const label:
|
|
11
|
-
const onClick:
|
|
9
|
+
const className: any;
|
|
10
|
+
const label: any;
|
|
11
|
+
const onClick: any;
|
|
12
12
|
}
|
|
13
13
|
namespace defaultProps {
|
|
14
14
|
const className_1: undefined;
|
|
@@ -17,4 +17,3 @@ declare namespace BackButton {
|
|
|
17
17
|
export { label_1 as label };
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
import PropTypes from "prop-types";
|
package/build/types/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Types
|
|
3
3
|
*/
|
|
4
|
+
export type { InputProps } from './inputs/Input';
|
|
5
|
+
export type { TextAreaProps } from './inputs/TextArea';
|
|
4
6
|
export type { UploadedFile, UploadError, UploadResponse } from './uploadInput/types';
|
|
5
7
|
export type { ModalProps } from './modal';
|
|
6
8
|
export type { LayoutDirection, TypographyTypes, TitleTypes, BodyTypes, LinkTypes, DisplayTypes, } from './common';
|
|
@@ -40,6 +42,8 @@ export { default as Header } from './header';
|
|
|
40
42
|
export { default as Image } from './image';
|
|
41
43
|
export { default as Info } from './info';
|
|
42
44
|
export { default as InlineAlert } from './inlineAlert';
|
|
45
|
+
export { Input } from './inputs/Input';
|
|
46
|
+
export { TextArea } from './inputs/TextArea';
|
|
43
47
|
export { default as InputWithDisplayFormat } from './inputWithDisplayFormat';
|
|
44
48
|
export { default as InstructionsList } from './instructionsList';
|
|
45
49
|
export { default as Link } from './link';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SizeLarge, SizeMedium, SizeSmall } from '../common';
|
|
3
|
+
import { Merge } from '../utils';
|
|
4
|
+
export type InputProps = Merge<React.ComponentPropsWithRef<'input'>, {
|
|
5
|
+
size?: 'auto' | SizeSmall | SizeMedium | SizeLarge;
|
|
6
|
+
'aria-invalid'?: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
export declare const Input: import("react").ForwardRefExoticComponent<Pick<Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>> & {
|
|
9
|
+
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
10
|
+
}, "size" | "aria-invalid"> & {
|
|
11
|
+
size?: "auto" | "sm" | "md" | "lg" | undefined;
|
|
12
|
+
'aria-invalid'?: boolean | undefined;
|
|
13
|
+
}, "size" | "form" | "slot" | "style" | "title" | "pattern" | "key" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "enterKeyHint" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "placeholder" | "readOnly" | "required" | "src" | "step" | "type" | "value" | "width" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Merge } from '../utils';
|
|
3
|
+
export type TextAreaProps = Merge<React.ComponentPropsWithRef<'textarea'>, {
|
|
4
|
+
'aria-invalid'?: boolean;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const TextArea: import("react").ForwardRefExoticComponent<Pick<Omit<Pick<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "key" | keyof import("react").TextareaHTMLAttributes<HTMLTextAreaElement>> & {
|
|
7
|
+
ref?: ((instance: HTMLTextAreaElement | null) => void) | import("react").RefObject<HTMLTextAreaElement> | null | undefined;
|
|
8
|
+
}, "aria-invalid"> & {
|
|
9
|
+
'aria-invalid'?: boolean | undefined;
|
|
10
|
+
}, "form" | "slot" | "style" | "title" | "key" | "autoComplete" | "autoFocus" | "disabled" | "maxLength" | "minLength" | "name" | "placeholder" | "readOnly" | "required" | "value" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "cols" | "dirName" | "rows" | "wrap"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { Story } from '@storybook/react';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
component: ({ title, body, footer, onClose, className, open, size, scroll, position, ...otherProps }: import("./Modal").ModalProps) => JSX.Element;
|
|
4
5
|
title: string;
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
|
-
export declare const Basic:
|
|
8
|
+
export declare const Basic: Story;
|
|
8
9
|
export declare const WithLongText: () => JSX.Element;
|
|
9
|
-
export declare const WithLongTextMobileView:
|
|
10
|
+
export declare const WithLongTextMobileView: Story;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
import ProgressBar from './ProgressBar';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const meta: Meta<typeof ProgressBar>;
|
|
4
|
+
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof ProgressBar>;
|
|
6
6
|
export declare const Basic: Story;
|
|
@@ -6,12 +6,8 @@ declare const _default: {
|
|
|
6
6
|
children: any;
|
|
7
7
|
}): JSX.Element;
|
|
8
8
|
propTypes: {
|
|
9
|
-
i18n:
|
|
10
|
-
|
|
11
|
-
messages: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{}>>>;
|
|
12
|
-
defaultRichTextElements: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
13
|
-
}>>>;
|
|
14
|
-
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
9
|
+
i18n: any;
|
|
10
|
+
children: any;
|
|
15
11
|
};
|
|
16
12
|
defaultProps: {
|
|
17
13
|
children: undefined;
|
|
@@ -3,5 +3,5 @@ declare const SearchBox: import("react").ForwardRefExoticComponent<{
|
|
|
3
3
|
id?: string | undefined;
|
|
4
4
|
classNames?: Record<string, string> | undefined;
|
|
5
5
|
focusedOptionId?: string | undefined;
|
|
6
|
-
} & Pick<InputHTMLAttributes<HTMLInputElement>, "
|
|
6
|
+
} & Pick<InputHTMLAttributes<HTMLInputElement>, "placeholder" | "value" | "onChange" | "onClick"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
7
|
export default SearchBox;
|
|
@@ -7,12 +7,9 @@ declare function TabPanel({ children, id, tabId, style }: {
|
|
|
7
7
|
}): JSX.Element;
|
|
8
8
|
declare namespace TabPanel {
|
|
9
9
|
namespace propTypes {
|
|
10
|
-
const children:
|
|
11
|
-
const id:
|
|
12
|
-
const tabId:
|
|
13
|
-
const style:
|
|
14
|
-
width: PropTypes.Validator<string>;
|
|
15
|
-
}>>>;
|
|
10
|
+
const children: any;
|
|
11
|
+
const id: any;
|
|
12
|
+
const tabId: any;
|
|
13
|
+
const style: any;
|
|
16
14
|
}
|
|
17
15
|
}
|
|
18
|
-
import PropTypes from "prop-types";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const GlobalsDecorator: (Story: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Args>, options: Args) => JSX.Element;
|
|
1
|
+
import { Decorator } from '@storybook/react';
|
|
2
|
+
export declare const DarkThemeDecorator: Decorator;
|
|
3
|
+
export declare const RtlDecorator: Decorator;
|
|
4
|
+
export declare const GlobalsDecorator: Decorator;
|
|
@@ -50,7 +50,7 @@ declare function customRender(ui: any, { locale, messages, ...renderOptions }?:
|
|
|
50
50
|
"neptune.UploadItem.uploading": string;
|
|
51
51
|
"neptune.UploadItem.uploadingFailed": string;
|
|
52
52
|
} | undefined;
|
|
53
|
-
}): import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement>;
|
|
53
|
+
}): import("@testing-library/react").RenderResult<typeof import(".pnpm/@testing-library+dom@8.20.0/node_modules/@testing-library/dom/types/queries"), HTMLElement>;
|
|
54
54
|
/**
|
|
55
55
|
* Custom `renderHook` function which wraps passed elements in Provider component
|
|
56
56
|
* For more info: https://react-hooks-testing-library.com/usage/advanced-hooks#context
|
|
@@ -11,15 +11,15 @@ export function Tile({ className, description, disabled, href, target, media, on
|
|
|
11
11
|
}): JSX.Element;
|
|
12
12
|
export namespace Tile {
|
|
13
13
|
namespace propTypes {
|
|
14
|
-
const className:
|
|
15
|
-
const description:
|
|
16
|
-
const disabled:
|
|
17
|
-
const href:
|
|
18
|
-
const target:
|
|
19
|
-
const media:
|
|
20
|
-
const onClick:
|
|
21
|
-
const size:
|
|
22
|
-
const title:
|
|
14
|
+
const className: any;
|
|
15
|
+
const description: any;
|
|
16
|
+
const disabled: any;
|
|
17
|
+
const href: any;
|
|
18
|
+
const target: any;
|
|
19
|
+
const media: any;
|
|
20
|
+
const onClick: any;
|
|
21
|
+
const size: any;
|
|
22
|
+
const title: any;
|
|
23
23
|
}
|
|
24
24
|
namespace defaultProps {
|
|
25
25
|
const className_1: string;
|
|
@@ -35,5 +35,4 @@ export namespace Tile {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
export default Tile;
|
|
38
|
-
import PropTypes from "prop-types";
|
|
39
38
|
import { Size } from "../common/propsValues/size";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { Story } from '@storybook/react';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
component: ({ position, children, label, className, }: {
|
|
4
5
|
position?: "top" | "bottom" | "left" | "right" | undefined;
|
|
@@ -13,7 +14,7 @@ export declare const Basic: {
|
|
|
13
14
|
(): JSX.Element;
|
|
14
15
|
play: typeof hoverOverButton;
|
|
15
16
|
};
|
|
16
|
-
export declare const BasicDarkMode:
|
|
17
|
+
export declare const BasicDarkMode: Story;
|
|
17
18
|
declare function hoverOverButton({ canvasElement }: {
|
|
18
19
|
canvasElement: HTMLElement;
|
|
19
20
|
}): void;
|