@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.
Files changed (125) hide show
  1. package/dist/components/Alert/Alert.stories.d.ts +4 -4
  2. package/dist/components/BestRoute/BestRoute.stories.d.ts +5 -4
  3. package/dist/components/BlockchainsList/BlockchainsList.stories.d.ts +2 -3
  4. package/dist/components/Button/Button.stories.d.ts +5 -4
  5. package/dist/components/Checkbox/Checkbox.stories.d.ts +5 -4
  6. package/dist/components/Chip/Chip.stories.d.ts +2 -3
  7. package/dist/components/ColorPicker/ColorPicker.stories.d.ts +2 -3
  8. package/dist/components/Divider/Divider.d.ts +1 -1
  9. package/dist/components/Drawer/Drawer.stories.d.ts +2 -3
  10. package/dist/components/Icon/Icons.stories.d.ts +2 -3
  11. package/dist/components/LiquiditySourceList/LiquiditySource.stories.d.ts +2 -3
  12. package/dist/components/Modal/Modal.stories.d.ts +2 -3
  13. package/dist/components/Radio/Radio.stories.d.ts +2 -3
  14. package/dist/components/SecondaryPage/SecondaryPage.stories.d.ts +4 -3
  15. package/dist/components/SelectableWalletList/SelectableWalletList.stories.d.ts +5 -4
  16. package/dist/components/Skeleton/Skeleton.stories.d.ts +2 -3
  17. package/dist/components/Spinner/Spinner.stories.d.ts +2 -3
  18. package/dist/components/StatusDrawer/StatusDrawer.stories.d.ts +2 -3
  19. package/dist/components/StepDetail/StepDetail.stories.d.ts +5 -4
  20. package/dist/components/SwapDetail/SwapDetail.stories.d.ts +5 -4
  21. package/dist/components/Switch/Switch.stories.d.ts +2 -3
  22. package/dist/components/TextField/TextField.stories.d.ts +1 -2
  23. package/dist/components/TokenList/TokenList.stories.d.ts +2 -3
  24. package/dist/components/Tooltip/Tooltip.stories.d.ts +5 -4
  25. package/dist/components/Typography/Typography.stories.d.ts +5 -4
  26. package/dist/components/Wallet/Wallet.stories.d.ts +4 -3
  27. package/dist/components/index.d.ts +0 -6
  28. package/dist/containers/BlockchainSelector/BlockchainSelector.stories.d.ts +5 -0
  29. package/dist/containers/ConfirmSwap/ConfirmSwap.stories.d.ts +5 -4
  30. package/dist/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts +5 -0
  31. package/dist/{components → containers}/ConnectWalletsModal/ConnectWalletsModal.d.ts +0 -1
  32. package/dist/containers/History/History.stories.d.ts +7 -4
  33. package/dist/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts +5 -0
  34. package/dist/containers/Settings/Settings.stories.d.ts +5 -0
  35. package/dist/containers/SwapHistory/SwapHistory.stories.d.ts +12 -4
  36. package/dist/{components → containers}/TokenSelector/TokenSelector.d.ts +1 -1
  37. package/dist/containers/TokenSelector/TokenSelector.stories.d.ts +5 -0
  38. package/dist/containers/index.d.ts +5 -0
  39. package/dist/index.js +6 -6
  40. package/dist/index.js.map +4 -4
  41. package/package.json +12 -7
  42. package/src/components/Alert/Alert.stories.tsx +19 -6
  43. package/src/components/Alert/Alert.tsx +3 -3
  44. package/src/components/BestRoute/BestRoute.stories.tsx +15 -5
  45. package/src/components/BestRoute/mock.ts +1 -1
  46. package/src/components/BlockchainsList/BlockchainsList.stories.tsx +9 -3
  47. package/src/components/BlockchainsList/mockData.ts +603 -108
  48. package/src/components/Button/Button.stories.tsx +8 -3
  49. package/src/components/Checkbox/Checkbox.stories.tsx +6 -2
  50. package/src/components/Chip/Chip.stories.tsx +23 -7
  51. package/src/components/ColorPicker/ColorPicker.stories.tsx +6 -3
  52. package/src/components/Divider/Divider.tsx +113 -11
  53. package/src/components/Drawer/Drawer.stories.tsx +8 -11
  54. package/src/components/Icon/Icons.stories.tsx +8 -4
  55. package/src/components/LiquiditySourceList/LiquiditySource.stories.tsx +6 -3
  56. package/src/components/LiquiditySourceList/LiquiditySourceList.tsx +3 -3
  57. package/src/components/Modal/Modal.stories.tsx +9 -10
  58. package/src/components/Radio/Radio.stories.tsx +12 -7
  59. package/src/components/SecondaryPage/SecondaryPage.stories.tsx +12 -3
  60. package/src/components/SelectableWalletList/SelectableWalletList.stories.tsx +2 -2
  61. package/src/components/Skeleton/Skeleton.stories.tsx +6 -2
  62. package/src/components/Spinner/Spinner.stories.tsx +6 -2
  63. package/src/components/StatusDrawer/StatusDrawer.stories.tsx +7 -2
  64. package/src/components/StatusDrawer/StatusDrawer.tsx +2 -2
  65. package/src/components/StepDetail/StepDetail.stories.tsx +9 -2
  66. package/src/components/SwapDetail/SwapDetail.stories.tsx +5 -2
  67. package/src/components/SwapDetail/SwapDetail.tsx +3 -3
  68. package/src/components/SwapDetail/Token.tsx +4 -4
  69. package/src/components/Switch/Switch.stories.tsx +2 -2
  70. package/src/components/TextField/TextField.stories.tsx +3 -2
  71. package/src/components/TokenList/TokenList.stories.tsx +3 -3
  72. package/src/components/Tooltip/Tooltip.stories.tsx +7 -2
  73. package/src/components/Typography/Typography.stories.tsx +2 -2
  74. package/src/components/Wallet/Wallet.stories.tsx +7 -13
  75. package/src/components/index.ts +0 -6
  76. package/src/containers/BlockchainSelector/BlockchainSelector.stories.tsx +41 -0
  77. package/src/{components → containers}/BlockchainSelector/BlockchainSelector.tsx +5 -5
  78. package/src/containers/ConfirmSwap/ConfirmSwap.stories.tsx +223 -10
  79. package/src/containers/ConfirmSwap/ConfirmSwap.tsx +21 -12
  80. package/src/containers/ConnectWalletsModal/ConnectWallets.stories.tsx +24 -0
  81. package/src/{components → containers}/ConnectWalletsModal/ConnectWalletsModal.tsx +3 -4
  82. package/src/containers/History/History.stories.tsx +2 -2
  83. package/src/containers/History/History.tsx +1 -1
  84. package/src/containers/History/mock.ts +3 -3
  85. package/src/{components → containers}/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.tsx +7 -4
  86. package/src/{components → containers}/LiquiditySourcesSelector/LiquiditySourcesSelector.tsx +2 -3
  87. package/src/containers/Settings/Settings.stories.tsx +27 -0
  88. package/src/{components → containers}/Settings/Settings.tsx +11 -8
  89. package/src/containers/SwapHistory/SwapHistory.stories.tsx +3 -3
  90. package/src/containers/SwapHistory/SwapHistory.tsx +4 -5
  91. package/src/containers/SwapHistory/mock.ts +2 -2
  92. package/src/{components → containers}/TokenSelector/TokenSelector.stories.tsx +7 -8
  93. package/src/{components → containers}/TokenSelector/TokenSelector.tsx +7 -6
  94. package/src/containers/index.ts +5 -0
  95. package/dist/components/BlockchainSelector/BlockchainSelector.stories.d.ts +0 -6
  96. package/dist/components/ConnectWalletsModal/ConnectWallets.stories.d.ts +0 -6
  97. package/dist/components/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts +0 -6
  98. package/dist/components/Settings/Settings.stories.d.ts +0 -6
  99. package/dist/components/Spacer/Spacer.d.ts +0 -6
  100. package/dist/components/Spacer/Spacer.stories.d.ts +0 -6
  101. package/dist/components/Spacer/index.d.ts +0 -1
  102. package/dist/components/SwapContainer/SwapContainer.stories.d.ts +0 -6
  103. package/dist/components/TokenSelector/TokenSelector.stories.d.ts +0 -6
  104. package/src/components/BlockchainSelector/BlockchainSelector.stories.tsx +0 -25
  105. package/src/components/ConnectWalletsModal/ConnectWallets.stories.tsx +0 -13
  106. package/src/components/Settings/Settings.stories.tsx +0 -34
  107. package/src/components/Spacer/Spacer.stories.tsx +0 -31
  108. package/src/components/Spacer/Spacer.tsx +0 -128
  109. package/src/components/Spacer/index.ts +0 -1
  110. package/src/components/SwapContainer/SwapContainer.stories.tsx +0 -13
  111. /package/dist/{components → containers}/BlockchainSelector/BlockchainSelector.d.ts +0 -0
  112. /package/dist/{components → containers}/BlockchainSelector/index.d.ts +0 -0
  113. /package/dist/{components → containers}/ConnectWalletsModal/index.d.ts +0 -0
  114. /package/dist/{components → containers}/ConnectWalletsModal/mockData.d.ts +0 -0
  115. /package/dist/{components → containers}/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts +0 -0
  116. /package/dist/{components → containers}/LiquiditySourcesSelector/index.d.ts +0 -0
  117. /package/dist/{components → containers}/Settings/Settings.d.ts +0 -0
  118. /package/dist/{components → containers}/Settings/index.d.ts +0 -0
  119. /package/dist/{components → containers}/TokenSelector/index.d.ts +0 -0
  120. /package/src/{components → containers}/BlockchainSelector/index.ts +0 -0
  121. /package/src/{components → containers}/ConnectWalletsModal/index.ts +0 -0
  122. /package/src/{components → containers}/ConnectWalletsModal/mockData.ts +0 -0
  123. /package/src/{components → containers}/LiquiditySourcesSelector/index.ts +0 -0
  124. /package/src/{components → containers}/Settings/index.ts +0 -0
  125. /package/src/{components → containers}/TokenSelector/index.ts +0 -0
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
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: ComponentMeta<typeof Alert>;
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
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { BestRoute, PropTypes } from './BestRoute';
4
- declare const _default: ComponentMeta<typeof BestRoute>;
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 { ComponentMeta } from '@storybook/react';
3
- import { BlockchainsList, PropTypes } from './BlockchainsList';
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
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { Button, PropTypes } from './Button';
4
- declare const _default: ComponentMeta<typeof Button>;
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
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { Checkbox, PropTypes } from './Checkbox';
4
- declare const _default: ComponentMeta<typeof Checkbox>;
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 { ComponentMeta } from '@storybook/react';
3
- import { Chip, PropTypes } from './Chip';
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 { ComponentMeta } from '@storybook/react';
3
- import { ColorPicker, PropTypes } from './ColorPicker';
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;
@@ -3,4 +3,4 @@ export interface PropTypes {
3
3
  size?: 4 | 8 | 12 | 16 | 18 | 20 | 24 | 32;
4
4
  direction?: 'vertical' | 'horizontal';
5
5
  }
6
- export declare function Divider({ size }: PropTypes): JSX.Element;
6
+ export declare function Divider({ size, direction }: PropTypes): JSX.Element;
@@ -1,7 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { Drawer, PropTypes } from './Drawer';
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
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { IconProps } from './types';
3
- import { ComponentMeta } from '@storybook/react';
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 { ComponentMeta } from '@storybook/react';
3
- import { LiquiditySourceList, PropTypes } from './LiquiditySourceList';
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 { ComponentMeta } from '@storybook/react';
3
- import { Modal, PropTypes } from './Modal';
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 { ComponentMeta } from '@storybook/react';
3
- import { PropTypes, Radio } from './Radio';
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
- import { ComponentMeta } from '@storybook/react';
2
- import { SecondaryPage } from './SecondaryPage';
3
- declare const _default: ComponentMeta<typeof SecondaryPage>;
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
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { SelectableWalletList, PropTypes } from './SelectableWalletList';
4
- declare const _default: ComponentMeta<typeof SelectableWalletList>;
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 { ComponentMeta } from '@storybook/react';
3
- import { Skeleton, PropTypes } from './Skeleton';
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 { ComponentMeta } from '@storybook/react';
3
- import { Spinner, PropTypes } from './Spinner';
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 { ComponentMeta } from '@storybook/react';
3
- import { StatusDrawer, PropTypes } from './StatusDrawer';
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
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { StepDetail, PropTypes } from './StepDetail';
4
- declare const _default: ComponentMeta<typeof StepDetail>;
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
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { SwapDetail, PropTypes } from './SwapDetail';
4
- declare const _default: ComponentMeta<typeof SwapDetail>;
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 { ComponentMeta } from '@storybook/react';
3
- import { Switch, PropTypes } from './Switch';
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: ComponentMeta<React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<PropTypes>, "ref"> & React.RefAttributes<HTMLInputElement>>>;
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 { ComponentMeta } from '@storybook/react';
3
- import { TokenList, PropTypes } from './TokenList';
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
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { Tooltip, PropTypes } from './Tooltip';
4
- declare const _default: ComponentMeta<typeof Tooltip>;
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
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { Typography, PropTypes } from './Typography';
4
- declare const _default: ComponentMeta<typeof Typography>;
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 { ComponentMeta } from '@storybook/react';
3
- import { PropTypes, Wallet } from './Wallet';
4
- declare const _default: ComponentMeta<typeof Wallet>;
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
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { ConfirmSwap, PropTypes } from './ConfirmSwap';
4
- declare const _default: ComponentMeta<typeof ConfirmSwap>;
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;
@@ -6,6 +6,5 @@ export interface PropTypes {
6
6
  list: WalletInfo[];
7
7
  onSelect: (walletType: WalletType) => void;
8
8
  onClose: () => void;
9
- error?: string;
10
9
  }
11
10
  export declare function ConnectWalletsModal(props: PropTypes): JSX.Element;
@@ -1,6 +1,9 @@
1
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { History, PropTypes } from './History';
4
- declare const _default: ComponentMeta<typeof History>;
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
- /// <reference types="react" />
2
- import { ComponentMeta } from '@storybook/react';
3
- import { PropTypes, SwapHistory } from './SwapHistory';
4
- declare const _default: ComponentMeta<typeof SwapHistory>;
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';