@rango-dev/ui 0.1.14-next.10 → 0.1.14-next.11
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/dist/components/Alert/Alert.stories.d.ts +4 -4
- package/dist/components/BestRoute/BestRoute.stories.d.ts +5 -4
- package/dist/components/BlockchainsList/BlockchainsList.stories.d.ts +2 -3
- package/dist/components/Button/Button.stories.d.ts +5 -4
- package/dist/components/Checkbox/Checkbox.stories.d.ts +5 -4
- package/dist/components/Chip/Chip.stories.d.ts +2 -3
- package/dist/components/ColorPicker/ColorPicker.stories.d.ts +2 -3
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Drawer/Drawer.stories.d.ts +2 -3
- package/dist/components/Icon/Icons.stories.d.ts +2 -3
- package/dist/components/LiquiditySourceList/LiquiditySource.stories.d.ts +2 -3
- package/dist/components/Modal/Modal.stories.d.ts +2 -3
- package/dist/components/Radio/Radio.stories.d.ts +2 -3
- package/dist/components/SecondaryPage/SecondaryPage.stories.d.ts +4 -3
- package/dist/components/SelectableWalletList/SelectableWalletList.stories.d.ts +5 -4
- package/dist/components/Skeleton/Skeleton.stories.d.ts +2 -3
- package/dist/components/Spinner/Spinner.stories.d.ts +2 -3
- package/dist/components/StatusDrawer/StatusDrawer.stories.d.ts +2 -3
- package/dist/components/StepDetail/StepDetail.stories.d.ts +5 -4
- package/dist/components/SwapDetail/SwapDetail.stories.d.ts +5 -4
- package/dist/components/Switch/Switch.stories.d.ts +2 -3
- package/dist/components/TextField/TextField.stories.d.ts +1 -2
- package/dist/components/TokenList/TokenList.stories.d.ts +2 -3
- package/dist/components/Tooltip/Tooltip.stories.d.ts +5 -4
- package/dist/components/Typography/Typography.stories.d.ts +5 -4
- package/dist/components/Wallet/Wallet.stories.d.ts +4 -3
- package/dist/components/index.d.ts +0 -6
- package/dist/containers/BlockchainSelector/BlockchainSelector.stories.d.ts +5 -0
- package/dist/containers/ConfirmSwap/ConfirmSwap.stories.d.ts +5 -4
- package/dist/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts +5 -0
- package/dist/{components → containers}/ConnectWalletsModal/ConnectWalletsModal.d.ts +0 -1
- package/dist/containers/History/History.stories.d.ts +7 -4
- package/dist/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts +5 -0
- package/dist/containers/Settings/Settings.stories.d.ts +5 -0
- package/dist/containers/SwapHistory/SwapHistory.stories.d.ts +12 -4
- package/dist/{components → containers}/TokenSelector/TokenSelector.d.ts +1 -1
- package/dist/containers/TokenSelector/TokenSelector.stories.d.ts +5 -0
- package/dist/containers/index.d.ts +5 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/package.json +12 -7
- package/src/components/Alert/Alert.stories.tsx +19 -6
- package/src/components/Alert/Alert.tsx +3 -3
- package/src/components/BestRoute/BestRoute.stories.tsx +15 -5
- package/src/components/BestRoute/mock.ts +1 -1
- package/src/components/BlockchainsList/BlockchainsList.stories.tsx +9 -3
- package/src/components/BlockchainsList/mockData.ts +603 -108
- package/src/components/Button/Button.stories.tsx +8 -3
- package/src/components/Checkbox/Checkbox.stories.tsx +6 -2
- package/src/components/Chip/Chip.stories.tsx +23 -7
- package/src/components/ColorPicker/ColorPicker.stories.tsx +6 -3
- package/src/components/Divider/Divider.tsx +113 -11
- package/src/components/Drawer/Drawer.stories.tsx +8 -11
- package/src/components/Icon/Icons.stories.tsx +8 -4
- package/src/components/LiquiditySourceList/LiquiditySource.stories.tsx +6 -3
- package/src/components/LiquiditySourceList/LiquiditySourceList.tsx +3 -3
- package/src/components/Modal/Modal.stories.tsx +9 -10
- package/src/components/Radio/Radio.stories.tsx +12 -7
- package/src/components/SecondaryPage/SecondaryPage.stories.tsx +12 -3
- package/src/components/SelectableWalletList/SelectableWalletList.stories.tsx +2 -2
- package/src/components/Skeleton/Skeleton.stories.tsx +6 -2
- package/src/components/Spinner/Spinner.stories.tsx +6 -2
- package/src/components/StatusDrawer/StatusDrawer.stories.tsx +7 -2
- package/src/components/StatusDrawer/StatusDrawer.tsx +2 -2
- package/src/components/StepDetail/StepDetail.stories.tsx +9 -2
- package/src/components/SwapDetail/SwapDetail.stories.tsx +5 -2
- package/src/components/SwapDetail/SwapDetail.tsx +3 -3
- package/src/components/SwapDetail/Token.tsx +4 -4
- package/src/components/Switch/Switch.stories.tsx +2 -2
- package/src/components/TextField/TextField.stories.tsx +3 -2
- package/src/components/TokenList/TokenList.stories.tsx +3 -3
- package/src/components/Tooltip/Tooltip.stories.tsx +7 -2
- package/src/components/Typography/Typography.stories.tsx +2 -2
- package/src/components/Wallet/Wallet.stories.tsx +7 -13
- package/src/components/index.ts +0 -6
- package/src/containers/BlockchainSelector/BlockchainSelector.stories.tsx +41 -0
- package/src/{components → containers}/BlockchainSelector/BlockchainSelector.tsx +5 -5
- package/src/containers/ConfirmSwap/ConfirmSwap.stories.tsx +223 -10
- package/src/containers/ConfirmSwap/ConfirmSwap.tsx +21 -12
- package/src/containers/ConnectWalletsModal/ConnectWallets.stories.tsx +24 -0
- package/src/{components → containers}/ConnectWalletsModal/ConnectWalletsModal.tsx +3 -4
- package/src/containers/History/History.stories.tsx +2 -2
- package/src/containers/History/History.tsx +1 -1
- package/src/containers/History/mock.ts +3 -3
- package/src/{components → containers}/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.tsx +7 -4
- package/src/{components → containers}/LiquiditySourcesSelector/LiquiditySourcesSelector.tsx +2 -3
- package/src/containers/Settings/Settings.stories.tsx +27 -0
- package/src/{components → containers}/Settings/Settings.tsx +11 -8
- package/src/containers/SwapHistory/SwapHistory.stories.tsx +3 -3
- package/src/containers/SwapHistory/SwapHistory.tsx +4 -5
- package/src/containers/SwapHistory/mock.ts +2 -2
- package/src/{components → containers}/TokenSelector/TokenSelector.stories.tsx +7 -8
- package/src/{components → containers}/TokenSelector/TokenSelector.tsx +7 -6
- package/src/containers/index.ts +5 -0
- package/dist/components/BlockchainSelector/BlockchainSelector.stories.d.ts +0 -6
- package/dist/components/ConnectWalletsModal/ConnectWallets.stories.d.ts +0 -6
- package/dist/components/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts +0 -6
- package/dist/components/Settings/Settings.stories.d.ts +0 -6
- package/dist/components/Spacer/Spacer.d.ts +0 -6
- package/dist/components/Spacer/Spacer.stories.d.ts +0 -6
- package/dist/components/Spacer/index.d.ts +0 -1
- package/dist/components/SwapContainer/SwapContainer.stories.d.ts +0 -6
- package/dist/components/TokenSelector/TokenSelector.stories.d.ts +0 -6
- package/src/components/BlockchainSelector/BlockchainSelector.stories.tsx +0 -25
- package/src/components/ConnectWalletsModal/ConnectWallets.stories.tsx +0 -13
- package/src/components/Settings/Settings.stories.tsx +0 -34
- package/src/components/Spacer/Spacer.stories.tsx +0 -31
- package/src/components/Spacer/Spacer.tsx +0 -128
- package/src/components/Spacer/index.ts +0 -1
- package/src/components/SwapContainer/SwapContainer.stories.tsx +0 -13
- /package/dist/{components → containers}/BlockchainSelector/BlockchainSelector.d.ts +0 -0
- /package/dist/{components → containers}/BlockchainSelector/index.d.ts +0 -0
- /package/dist/{components → containers}/ConnectWalletsModal/index.d.ts +0 -0
- /package/dist/{components → containers}/ConnectWalletsModal/mockData.d.ts +0 -0
- /package/dist/{components → containers}/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts +0 -0
- /package/dist/{components → containers}/LiquiditySourcesSelector/index.d.ts +0 -0
- /package/dist/{components → containers}/Settings/Settings.d.ts +0 -0
- /package/dist/{components → containers}/Settings/index.d.ts +0 -0
- /package/dist/{components → containers}/TokenSelector/index.d.ts +0 -0
- /package/src/{components → containers}/BlockchainSelector/index.ts +0 -0
- /package/src/{components → containers}/ConnectWalletsModal/index.ts +0 -0
- /package/src/{components → containers}/ConnectWalletsModal/mockData.ts +0 -0
- /package/src/{components → containers}/LiquiditySourcesSelector/index.ts +0 -0
- /package/src/{components → containers}/Settings/index.ts +0 -0
- /package/src/{components → containers}/TokenSelector/index.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import { ComponentMeta } from '@storybook/react';
|
|
3
|
-
import { Alert } from '.';
|
|
1
|
+
import React from 'react';
|
|
4
2
|
import { PropTypes } from './Alert';
|
|
5
|
-
declare const _default:
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './BestRoute';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
7
8
|
export declare const With4Step: (props: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof BlockchainsList>;
|
|
2
|
+
import { PropTypes } from './BlockchainsList';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './Button';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
7
8
|
export declare const WithPrefix: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './Checkbox';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof Chip>;
|
|
2
|
+
import { PropTypes } from './Chip';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
7
6
|
export declare const ChipWithPrefix: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof ColorPicker>;
|
|
2
|
+
import { PropTypes } from './ColorPicker';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof Drawer>;
|
|
2
|
+
import { PropTypes } from './Drawer';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
7
6
|
export declare const EmptyContent: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { IconProps } from './types';
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<React.FC<IconProps>>;
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, IconProps>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (props: IconProps) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof LiquiditySourceList>;
|
|
2
|
+
import { PropTypes } from './LiquiditySourceList';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof Modal>;
|
|
2
|
+
import { PropTypes } from './Modal';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof Radio>;
|
|
2
|
+
import { PropTypes } from './Radio';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
declare const _default:
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropTypes } from './SecondaryPage';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
4
|
export default _default;
|
|
5
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './SelectableWalletList';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof Skeleton>;
|
|
2
|
+
import { PropTypes } from './Skeleton';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof Spinner>;
|
|
2
|
+
import { PropTypes } from './Spinner';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof StatusDrawer>;
|
|
2
|
+
import { PropTypes } from './StatusDrawer';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './StepDetail';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './SwapDetail';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof Switch>;
|
|
2
|
+
import { PropTypes } from './Switch';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ComponentMeta } from '@storybook/react';
|
|
3
2
|
import { PropTypes } from './TextField';
|
|
4
|
-
declare const _default:
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Omit<React.PropsWithChildren<PropTypes>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
7
6
|
export declare const WithPrefix: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: ComponentMeta<typeof TokenList>;
|
|
2
|
+
import { PropTypes } from './TokenList';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './Tooltip';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './Typography';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { PropTypes } from './Wallet';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../types/wallet").WalletInfo & {
|
|
4
|
+
onClick: (walletType: import("@rango-dev/wallets-shared").WalletType) => void;
|
|
5
|
+
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
export * from './BestRoute';
|
|
2
|
-
export * from './BlockchainSelector';
|
|
3
2
|
export * from './Button';
|
|
4
3
|
export * from './Checkbox';
|
|
5
4
|
export * from './Chip';
|
|
6
|
-
export * from './ConnectWalletsModal';
|
|
7
5
|
export * from './Icon';
|
|
8
|
-
export * from './LiquiditySourcesSelector';
|
|
9
6
|
export * from './Modal';
|
|
10
7
|
export * from './SecondaryPage';
|
|
11
8
|
export * from './SelectableWalletList';
|
|
12
|
-
export * from './Settings';
|
|
13
|
-
export * from './Spacer';
|
|
14
9
|
export * from './Spinner';
|
|
15
10
|
export * from './StepDetail';
|
|
16
11
|
export * from './SwapContainer';
|
|
17
12
|
export * from './SwapDetail';
|
|
18
13
|
export * from './Switch';
|
|
19
14
|
export * from './TextField';
|
|
20
|
-
export * from './TokenSelector';
|
|
21
15
|
export * from './Tooltip';
|
|
22
16
|
export * from './Typography';
|
|
23
17
|
export * from './Wallet';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropTypes } from './BlockchainSelector';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { PropTypes } from './ConfirmSwap';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
7
8
|
export declare const With5Wallets: (props: PropTypes) => JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropTypes } from './ConnectWalletsModal';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './History';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./SwapsGroup").PropTypes & {
|
|
4
|
+
loading: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}>;
|
|
5
8
|
export default _default;
|
|
6
9
|
export declare const Main: (props: PropTypes) => JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropTypes } from './LiquiditySourcesSelector';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropTypes } from './Settings';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropTypes } from './SwapHistory';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
4
|
+
pendingSwap: import("@rango-dev/queue-manager-rango-preset").PendingSwap;
|
|
5
|
+
onCopy: (requestId: string) => void;
|
|
6
|
+
onBack: () => void;
|
|
7
|
+
isCopied: boolean;
|
|
8
|
+
onCancel: (requestId: string) => void;
|
|
9
|
+
onRetry?: (() => void) | undefined;
|
|
10
|
+
date: string;
|
|
11
|
+
previewInputs?: React.ReactNode;
|
|
12
|
+
} & import("./SwapMessages").PropTypes>;
|
|
5
13
|
export default _default;
|
|
6
14
|
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TokenWithAmount } from '../TokenList/TokenList';
|
|
3
2
|
import { LoadingStatus } from '../../types/meta';
|
|
3
|
+
import { TokenWithAmount } from '../../components/TokenList/TokenList';
|
|
4
4
|
export declare const LoaderContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
5
5
|
sm: string;
|
|
6
6
|
md: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropTypes } from './TokenSelector';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PropTypes>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Main: (args: PropTypes) => JSX.Element;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
export * from './ConfirmSwap';
|
|
2
2
|
export * from './History';
|
|
3
3
|
export * from './SwapHistory';
|
|
4
|
+
export * from './BlockchainSelector';
|
|
5
|
+
export * from './ConnectWalletsModal';
|
|
6
|
+
export * from './LiquiditySourcesSelector';
|
|
7
|
+
export * from './TokenSelector';
|
|
8
|
+
export * from './Settings';
|