@rango-dev/ui 0.1.13 → 0.1.14-next.10

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 (225) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/components/Alert/Alert.d.ts +7 -7
  3. package/dist/components/Alert/Alert.stories.d.ts +7 -5
  4. package/dist/components/Alert/LoadingFailedAlert.d.ts +2 -2
  5. package/dist/components/Alert/NotFoundAlert.d.ts +7 -7
  6. package/dist/components/Alert/index.d.ts +2 -2
  7. package/dist/components/BestRoute/BestRoute.d.ts +15 -12
  8. package/dist/components/BestRoute/BestRoute.stories.d.ts +9 -8
  9. package/dist/components/BestRoute/index.d.ts +1 -1
  10. package/dist/components/BestRoute/mock.d.ts +4 -4
  11. package/dist/components/BlockchainSelector/BlockchainSelector.d.ts +17 -17
  12. package/dist/components/BlockchainSelector/BlockchainSelector.stories.d.ts +6 -5
  13. package/dist/components/BlockchainSelector/index.d.ts +1 -1
  14. package/dist/components/BlockchainsList/BlockchainsList.d.ts +10 -10
  15. package/dist/components/BlockchainsList/BlockchainsList.stories.d.ts +6 -5
  16. package/dist/components/BlockchainsList/index.d.ts +1 -1
  17. package/dist/components/BlockchainsList/mockData.d.ts +2 -2
  18. package/dist/components/Button/Button.d.ts +17 -17
  19. package/dist/components/Button/Button.stories.d.ts +9 -8
  20. package/dist/components/Button/index.d.ts +1 -1
  21. package/dist/components/Checkbox/Checkbox.d.ts +11 -11
  22. package/dist/components/Checkbox/Checkbox.stories.d.ts +6 -5
  23. package/dist/components/Checkbox/index.d.ts +1 -1
  24. package/dist/components/Chip/Chip.d.ts +12 -12
  25. package/dist/components/Chip/Chip.stories.d.ts +8 -7
  26. package/dist/components/Chip/index.d.ts +1 -1
  27. package/dist/components/ColorPicker/ColorPicker.d.ts +9 -9
  28. package/dist/components/ColorPicker/ColorPicker.stories.d.ts +6 -5
  29. package/dist/components/ColorPicker/index.d.ts +1 -1
  30. package/dist/components/ConnectWalletsModal/ConnectWallets.stories.d.ts +6 -5
  31. package/dist/components/ConnectWalletsModal/ConnectWalletsModal.d.ts +11 -11
  32. package/dist/components/ConnectWalletsModal/index.d.ts +1 -1
  33. package/dist/components/ConnectWalletsModal/mockData.d.ts +2 -2
  34. package/dist/components/Divider/Divider.d.ts +6 -6
  35. package/dist/components/Divider/index.d.ts +1 -1
  36. package/dist/components/Drawer/Drawer.d.ts +13 -13
  37. package/dist/components/Drawer/Drawer.stories.d.ts +9 -8
  38. package/dist/components/Drawer/index.d.ts +1 -1
  39. package/dist/components/Header/Header.d.ts +9 -9
  40. package/dist/components/Header/index.d.ts +1 -1
  41. package/dist/components/Icon/AddCircleIcon.d.ts +3 -3
  42. package/dist/components/Icon/AddIcon.d.ts +3 -3
  43. package/dist/components/Icon/AddWalletIcon.d.ts +3 -3
  44. package/dist/components/Icon/AngleDownIcon.d.ts +3 -3
  45. package/dist/components/Icon/AngleLeftIcon.d.ts +3 -3
  46. package/dist/components/Icon/AngleRightIcon.d.ts +3 -3
  47. package/dist/components/Icon/AngleUpIcon.d.ts +3 -3
  48. package/dist/components/Icon/ArrowRightIcon.d.ts +3 -3
  49. package/dist/components/Icon/BagIcon.d.ts +3 -3
  50. package/dist/components/Icon/BanIcon.d.ts +3 -3
  51. package/dist/components/Icon/CheckCircleIcon.d.ts +3 -3
  52. package/dist/components/Icon/CheckIcon.d.ts +3 -3
  53. package/dist/components/Icon/CheckSquareIcon.d.ts +3 -3
  54. package/dist/components/Icon/CheckWalletIcon.d.ts +3 -3
  55. package/dist/components/Icon/ChevronRightIcon.d.ts +3 -3
  56. package/dist/components/Icon/CloseIcon.d.ts +112 -1
  57. package/dist/components/Icon/CopyIcon.d.ts +3 -3
  58. package/dist/components/Icon/DeleteCircleIcon.d.ts +3 -3
  59. package/dist/components/Icon/DeleteWalletIcon.d.ts +3 -3
  60. package/dist/components/Icon/DisconnectIcon.d.ts +3 -3
  61. package/dist/components/Icon/DownloadIcon.d.ts +3 -3
  62. package/dist/components/Icon/GasIcon.d.ts +3 -3
  63. package/dist/components/Icon/HistoryIcon.d.ts +3 -3
  64. package/dist/components/Icon/HorizontalSwapIcon.d.ts +3 -3
  65. package/dist/components/Icon/Icons.stories.d.ts +6 -5
  66. package/dist/components/Icon/InfoCircleIcon.d.ts +3 -3
  67. package/dist/components/Icon/MinusCircleIcon.d.ts +3 -3
  68. package/dist/components/Icon/RetryIcon.d.ts +3 -3
  69. package/dist/components/Icon/RetryLeftIcon.d.ts +3 -3
  70. package/dist/components/Icon/RetryRightIcon.d.ts +3 -3
  71. package/dist/components/Icon/SearchIcon.d.ts +3 -3
  72. package/dist/components/Icon/SearchMinusIcon.d.ts +3 -3
  73. package/dist/components/Icon/SettingIcon.d.ts +3 -3
  74. package/dist/components/Icon/SignatureIcon.d.ts +3 -3
  75. package/dist/components/Icon/SwapWalletIcon.d.ts +3 -3
  76. package/dist/components/Icon/TimeIcon.d.ts +3 -3
  77. package/dist/components/Icon/TrashIcon.d.ts +3 -3
  78. package/dist/components/Icon/TryAgainIcon.d.ts +3 -3
  79. package/dist/components/Icon/VerticalSwapIcon.d.ts +3 -3
  80. package/dist/components/Icon/WalletIconIcon.d.ts +3 -3
  81. package/dist/components/Icon/WarningIcon.d.ts +3 -3
  82. package/dist/components/Icon/common.d.ts +228 -2
  83. package/dist/components/Icon/index.d.ts +40 -40
  84. package/dist/components/Icon/types.d.ts +7 -7
  85. package/dist/components/LiquiditySourceList/LiquiditySource.stories.d.ts +6 -5
  86. package/dist/components/LiquiditySourceList/LiquiditySourceList.d.ts +11 -11
  87. package/dist/components/LiquiditySourceList/index.d.ts +1 -1
  88. package/dist/components/LiquiditySourceList/mockData.d.ts +2 -2
  89. package/dist/components/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts +13 -13
  90. package/dist/components/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts +6 -5
  91. package/dist/components/LiquiditySourcesSelector/index.d.ts +1 -1
  92. package/dist/components/Modal/Modal.d.ts +11 -11
  93. package/dist/components/Modal/Modal.stories.d.ts +6 -5
  94. package/dist/components/Modal/index.d.ts +1 -1
  95. package/dist/components/Radio/Radio.d.ts +13 -13
  96. package/dist/components/Radio/Radio.stories.d.ts +6 -5
  97. package/dist/components/Radio/index.d.ts +1 -1
  98. package/dist/components/SecondaryPage/SecondaryPage.d.ts +16 -16
  99. package/dist/components/SecondaryPage/SecondaryPage.stories.d.ts +4 -2
  100. package/dist/components/SecondaryPage/index.d.ts +1 -1
  101. package/dist/components/SelectableWalletList/SelectableWalletList.d.ts +7 -7
  102. package/dist/components/SelectableWalletList/SelectableWalletList.stories.d.ts +6 -5
  103. package/dist/components/SelectableWalletList/index.d.ts +1 -1
  104. package/dist/components/SelectableWalletList/mock.d.ts +2 -2
  105. package/dist/components/Settings/Settings.d.ts +24 -23
  106. package/dist/components/Settings/Settings.stories.d.ts +6 -5
  107. package/dist/components/Settings/index.d.ts +1 -1
  108. package/dist/components/Skeleton/Skeleton.d.ts +6 -6
  109. package/dist/components/Skeleton/Skeleton.stories.d.ts +6 -5
  110. package/dist/components/Skeleton/index.d.ts +1 -1
  111. package/dist/components/Spacer/Spacer.d.ts +6 -6
  112. package/dist/components/Spacer/Spacer.stories.d.ts +6 -5
  113. package/dist/components/Spacer/index.d.ts +1 -1
  114. package/dist/components/Spinner/Spinner.d.ts +6 -6
  115. package/dist/components/Spinner/Spinner.stories.d.ts +6 -5
  116. package/dist/components/Spinner/index.d.ts +1 -1
  117. package/dist/components/StatusDrawer/StatusDrawer.d.ts +11 -11
  118. package/dist/components/StatusDrawer/StatusDrawer.stories.d.ts +6 -5
  119. package/dist/components/StatusDrawer/index.d.ts +1 -1
  120. package/dist/components/StepDetail/StepDetail.d.ts +12 -12
  121. package/dist/components/StepDetail/StepDetail.stories.d.ts +6 -5
  122. package/dist/components/StepDetail/index.d.ts +1 -1
  123. package/dist/components/SwapContainer/SwapContainer.d.ts +7 -7
  124. package/dist/components/SwapContainer/SwapContainer.stories.d.ts +6 -5
  125. package/dist/components/SwapContainer/index.d.ts +1 -1
  126. package/dist/components/SwapDetail/SwapDetail.d.ts +8 -8
  127. package/dist/components/SwapDetail/SwapDetail.stories.d.ts +6 -5
  128. package/dist/components/SwapDetail/Token.d.ts +17 -17
  129. package/dist/components/SwapDetail/index.d.ts +1 -1
  130. package/dist/components/SwapDetail/mock.d.ts +2 -2
  131. package/dist/components/Switch/Switch.d.ts +6 -6
  132. package/dist/components/Switch/Switch.stories.d.ts +6 -5
  133. package/dist/components/Switch/index.d.ts +1 -1
  134. package/dist/components/TextField/TextField.d.ts +10 -10
  135. package/dist/components/TextField/TextField.stories.d.ts +8 -7
  136. package/dist/components/TextField/index.d.ts +1 -1
  137. package/dist/components/TokenList/TokenItem.d.ts +11 -11
  138. package/dist/components/TokenList/TokenList.d.ts +17 -17
  139. package/dist/components/TokenList/TokenList.stories.d.ts +6 -5
  140. package/dist/components/TokenList/index.d.ts +1 -1
  141. package/dist/components/TokenList/mockData.d.ts +2 -2
  142. package/dist/components/TokenSelector/TokenSelector.d.ts +124 -14
  143. package/dist/components/TokenSelector/TokenSelector.stories.d.ts +6 -5
  144. package/dist/components/TokenSelector/index.d.ts +1 -1
  145. package/dist/components/Tooltip/Tooltip.d.ts +7 -7
  146. package/dist/components/Tooltip/Tooltip.stories.d.ts +6 -5
  147. package/dist/components/Tooltip/index.d.ts +1 -1
  148. package/dist/components/Typography/Typography.d.ts +18 -18
  149. package/dist/components/Typography/Typography.stories.d.ts +6 -5
  150. package/dist/components/Typography/index.d.ts +1 -1
  151. package/dist/components/VirtualizedList/VirtualizedList.d.ts +17 -17
  152. package/dist/components/Wallet/State.d.ts +7 -7
  153. package/dist/components/Wallet/Wallet.d.ts +7 -7
  154. package/dist/components/Wallet/Wallet.stories.d.ts +6 -5
  155. package/dist/components/Wallet/index.d.ts +1 -1
  156. package/dist/components/common/FilledCircle.d.ts +111 -1
  157. package/dist/components/common/Image.d.ts +6 -6
  158. package/dist/components/common/index.d.ts +2 -2
  159. package/dist/components/index.d.ts +31 -31
  160. package/dist/containers/ConfirmSwap/ConfirmSwap.d.ts +22 -22
  161. package/dist/containers/ConfirmSwap/ConfirmSwap.stories.d.ts +7 -6
  162. package/dist/containers/ConfirmSwap/index.d.ts +1 -1
  163. package/dist/containers/ConfirmSwap/mock.d.ts +5 -5
  164. package/dist/containers/History/History.d.ts +6 -6
  165. package/dist/containers/History/History.stories.d.ts +6 -5
  166. package/dist/containers/History/SwapsGroup.d.ts +13 -13
  167. package/dist/containers/History/index.d.ts +3 -2
  168. package/dist/containers/History/mock.d.ts +2 -2
  169. package/dist/containers/History/types.d.ts +39 -39
  170. package/dist/containers/SwapHistory/SwapHistory.d.ts +1128 -24
  171. package/dist/containers/SwapHistory/SwapHistory.stories.d.ts +6 -5
  172. package/dist/containers/SwapHistory/SwapMessages.d.ts +17 -17
  173. package/dist/containers/SwapHistory/index.d.ts +1 -1
  174. package/dist/containers/SwapHistory/mock.d.ts +2 -2
  175. package/dist/containers/index.d.ts +3 -3
  176. package/dist/helper/index.d.ts +6 -3
  177. package/dist/hooks/index.d.ts +1 -1
  178. package/dist/hooks/useCopyToClipboard.d.ts +1 -1
  179. package/dist/index.d.ts +6 -5
  180. package/dist/index.js +20 -8
  181. package/dist/index.js.map +7 -0
  182. package/dist/theme.d.ts +928 -8
  183. package/dist/types/index.d.ts +2 -2
  184. package/dist/types/meta.d.ts +23 -23
  185. package/dist/types/swaps.d.ts +29 -29
  186. package/dist/types/wallet.d.ts +23 -23
  187. package/package.json +10 -34
  188. package/src/components/Alert/Alert.tsx +2 -2
  189. package/src/components/BestRoute/BestRoute.tsx +4 -3
  190. package/src/components/Button/Button.tsx +42 -42
  191. package/src/components/Checkbox/Checkbox.tsx +2 -0
  192. package/src/components/Chip/Chip.tsx +1 -1
  193. package/src/components/ColorPicker/ColorPicker.stories.tsx +9 -2
  194. package/src/components/ColorPicker/ColorPicker.tsx +34 -10
  195. package/src/components/Icon/common.ts +2 -2
  196. package/src/components/LiquiditySourceList/LiquiditySourceList.tsx +2 -2
  197. package/src/components/Modal/Modal.tsx +3 -2
  198. package/src/components/Radio/Radio.tsx +2 -2
  199. package/src/components/SelectableWalletList/SelectableWalletList.tsx +5 -5
  200. package/src/components/Settings/Settings.tsx +22 -18
  201. package/src/components/Skeleton/Skeleton.tsx +1 -1
  202. package/src/components/Spinner/Spinner.tsx +1 -1
  203. package/src/components/StepDetail/StepDetail.tsx +4 -4
  204. package/src/components/SwapContainer/SwapContainer.tsx +3 -3
  205. package/src/components/SwapDetail/SwapDetail.tsx +1 -1
  206. package/src/components/SwapDetail/Token.tsx +2 -2
  207. package/src/components/Switch/Switch.tsx +2 -2
  208. package/src/components/TextField/TextField.tsx +3 -3
  209. package/src/components/TokenList/TokenItem.tsx +1 -1
  210. package/src/components/Tooltip/Tooltip.tsx +2 -2
  211. package/src/containers/ConfirmSwap/ConfirmSwap.tsx +4 -4
  212. package/src/containers/History/SwapsGroup.tsx +1 -1
  213. package/src/containers/History/index.ts +2 -1
  214. package/src/containers/History/types.tsx +1 -1
  215. package/src/containers/SwapHistory/SwapHistory.tsx +5 -5
  216. package/src/helper/index.ts +75 -0
  217. package/src/index.ts +1 -0
  218. package/src/theme.ts +34 -36
  219. package/src/types/index.ts +1 -1
  220. package/dist/ui.cjs.development.js +0 -5094
  221. package/dist/ui.cjs.development.js.map +0 -1
  222. package/dist/ui.cjs.production.min.js +0 -2
  223. package/dist/ui.cjs.production.min.js.map +0 -1
  224. package/dist/ui.esm.js +0 -5005
  225. package/dist/ui.esm.js.map +0 -1
@@ -1,40 +1,40 @@
1
- export { DeleteCircleIcon } from './DeleteCircleIcon';
2
- export { CheckSquareIcon } from './CheckSquareIcon';
3
- export { AddIcon } from './AddIcon';
4
- export { InfoCircleIcon } from './InfoCircleIcon';
5
- export { AddCircleIcon } from './AddCircleIcon';
6
- export { MinusCircleIcon } from './MinusCircleIcon';
7
- export { CheckCircleIcon } from './CheckCircleIcon';
8
- export { CheckIcon } from './CheckIcon';
9
- export { BanIcon } from './BanIcon';
10
- export { WarningIcon } from './WarningIcon';
11
- export { HistoryIcon } from './HistoryIcon';
12
- export { GasIcon } from './GasIcon';
13
- export { SettingsIcon } from './SettingIcon';
14
- export { TrashIcon } from './TrashIcon';
15
- export { SearchMinusIcon } from './SearchMinusIcon';
16
- export { SearchIcon } from './SearchIcon';
17
- export { AngleRightIcon } from './AngleRightIcon';
18
- export { AngleUpIcon } from './AngleUpIcon';
19
- export { AngleDownIcon } from './AngleDownIcon';
20
- export { AngleLeftIcon } from './AngleLeftIcon';
21
- export { DownloadIcon } from './DownloadIcon';
22
- export { ChevronRightIcon } from './ChevronRightIcon';
23
- export { ArrowRightIcon } from './ArrowRightIcon';
24
- export { RetryRightIcon } from './RetryRightIcon';
25
- export { RetryLeftIcon } from './RetryLeftIcon';
26
- export { TryAgainIcon } from './TryAgainIcon';
27
- export { VerticalSwapIcon } from './VerticalSwapIcon';
28
- export { HorizontalSwapIcon } from './HorizontalSwapIcon';
29
- export { RetryIcon } from './RetryIcon';
30
- export { WalletIcon } from './WalletIconIcon';
31
- export { AddWalletIcon } from './AddWalletIcon';
32
- export { DeleteWalletIcon } from './DeleteWalletIcon';
33
- export { CheckWalletIcon } from './CheckWalletIcon';
34
- export { SwapWalletIcon } from './SwapWalletIcon';
35
- export { DisconnectIcon } from './DisconnectIcon';
36
- export { BagIcon } from './BagIcon';
37
- export { TimeIcon } from './TimeIcon';
38
- export { CloseIcon } from './CloseIcon';
39
- export { SignatureIcon } from './SignatureIcon';
40
- export { CopyIcon } from './CopyIcon';
1
+ export { DeleteCircleIcon } from './DeleteCircleIcon';
2
+ export { CheckSquareIcon } from './CheckSquareIcon';
3
+ export { AddIcon } from './AddIcon';
4
+ export { InfoCircleIcon } from './InfoCircleIcon';
5
+ export { AddCircleIcon } from './AddCircleIcon';
6
+ export { MinusCircleIcon } from './MinusCircleIcon';
7
+ export { CheckCircleIcon } from './CheckCircleIcon';
8
+ export { CheckIcon } from './CheckIcon';
9
+ export { BanIcon } from './BanIcon';
10
+ export { WarningIcon } from './WarningIcon';
11
+ export { HistoryIcon } from './HistoryIcon';
12
+ export { GasIcon } from './GasIcon';
13
+ export { SettingsIcon } from './SettingIcon';
14
+ export { TrashIcon } from './TrashIcon';
15
+ export { SearchMinusIcon } from './SearchMinusIcon';
16
+ export { SearchIcon } from './SearchIcon';
17
+ export { AngleRightIcon } from './AngleRightIcon';
18
+ export { AngleUpIcon } from './AngleUpIcon';
19
+ export { AngleDownIcon } from './AngleDownIcon';
20
+ export { AngleLeftIcon } from './AngleLeftIcon';
21
+ export { DownloadIcon } from './DownloadIcon';
22
+ export { ChevronRightIcon } from './ChevronRightIcon';
23
+ export { ArrowRightIcon } from './ArrowRightIcon';
24
+ export { RetryRightIcon } from './RetryRightIcon';
25
+ export { RetryLeftIcon } from './RetryLeftIcon';
26
+ export { TryAgainIcon } from './TryAgainIcon';
27
+ export { VerticalSwapIcon } from './VerticalSwapIcon';
28
+ export { HorizontalSwapIcon } from './HorizontalSwapIcon';
29
+ export { RetryIcon } from './RetryIcon';
30
+ export { WalletIcon } from './WalletIconIcon';
31
+ export { AddWalletIcon } from './AddWalletIcon';
32
+ export { DeleteWalletIcon } from './DeleteWalletIcon';
33
+ export { CheckWalletIcon } from './CheckWalletIcon';
34
+ export { SwapWalletIcon } from './SwapWalletIcon';
35
+ export { DisconnectIcon } from './DisconnectIcon';
36
+ export { BagIcon } from './BagIcon';
37
+ export { TimeIcon } from './TimeIcon';
38
+ export { CloseIcon } from './CloseIcon';
39
+ export { SignatureIcon } from './SignatureIcon';
40
+ export { CopyIcon } from './CopyIcon';
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
2
- export interface IconProps extends React.SVGAttributes<SVGElement> {
3
- size?: 12 | 16 | 18 | 20 | 24 | 28 | 32 | 36 | 40;
4
- color?: 'primary' | 'error' | 'warning' | 'success' | 'black' | 'white';
5
- disabled?: boolean;
6
- }
7
- export declare type Icon = 'DeleteCircleIcon' | 'CheckSquareIcon' | 'AddIcon' | 'InfoCircleIcon' | 'AddCircleIcon' | 'MinusCircleIcon' | 'CheckCircleIcon' | 'CheckIcon' | 'BanIcon' | 'WarningIcon' | 'HistoryIcon' | 'GasIcon' | 'SettingsIcon' | 'TrashIcon' | 'SearchMinusIcon' | 'SearchIcon' | 'AngleRightIcon' | 'AngleUpIcon' | 'AngleDownIcon' | 'AngleLeftIcon' | 'DownloadIcon' | 'RetryRightIcon' | 'RetryLeftIcon' | 'TryAgainIcon' | 'VerticalSwapIcon' | 'HorizontalSwapIcon' | 'RetryIcon' | 'WalletIcon' | 'AddWalletIcon' | 'DeleteWalletIcon' | 'CheckWalletIcon' | 'SwapWalletIcon' | 'BagIcon' | 'TimeIcon' | 'CloseIcon' | 'SignatureIcon' | 'CopyIcon';
1
+ import * as React from 'react';
2
+ export interface IconProps extends React.SVGAttributes<SVGElement> {
3
+ size?: 12 | 16 | 18 | 20 | 24 | 28 | 32 | 36 | 40;
4
+ color?: 'primary' | 'error' | 'warning' | 'success' | 'black' | 'white';
5
+ disabled?: boolean;
6
+ }
7
+ export type Icon = 'DeleteCircleIcon' | 'CheckSquareIcon' | 'AddIcon' | 'InfoCircleIcon' | 'AddCircleIcon' | 'MinusCircleIcon' | 'CheckCircleIcon' | 'CheckIcon' | 'BanIcon' | 'WarningIcon' | 'HistoryIcon' | 'GasIcon' | 'SettingsIcon' | 'TrashIcon' | 'SearchMinusIcon' | 'SearchIcon' | 'AngleRightIcon' | 'AngleUpIcon' | 'AngleDownIcon' | 'AngleLeftIcon' | 'DownloadIcon' | 'RetryRightIcon' | 'RetryLeftIcon' | 'TryAgainIcon' | 'VerticalSwapIcon' | 'HorizontalSwapIcon' | 'RetryIcon' | 'WalletIcon' | 'AddWalletIcon' | 'DeleteWalletIcon' | 'CheckWalletIcon' | 'SwapWalletIcon' | 'BagIcon' | 'TimeIcon' | 'CloseIcon' | 'SignatureIcon' | 'CopyIcon';
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- import { PropTypes } from './LiquiditySourceList';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, PropTypes>;
4
- export default _default;
5
- export declare const Main: (args: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { LiquiditySourceList, PropTypes } from './LiquiditySourceList';
4
+ declare const _default: ComponentMeta<typeof LiquiditySourceList>;
5
+ export default _default;
6
+ export declare const Main: (args: PropTypes) => JSX.Element;
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
- import { CSSProperties } from '@stitches/react';
3
- import { LiquiditySource, LoadingStatus } from '../../types/meta';
4
- export interface PropTypes {
5
- list: LiquiditySource[];
6
- onChange: (liquiditySource: LiquiditySource) => void;
7
- listContainerStyle?: CSSProperties;
8
- loadingStatus: LoadingStatus;
9
- searchedFor: string;
10
- }
11
- export declare function LiquiditySourceList(props: PropTypes): JSX.Element;
1
+ /// <reference types="react" />
2
+ import { CSSProperties } from '@stitches/react';
3
+ import { LiquiditySource, LoadingStatus } from '../../types/meta';
4
+ export interface PropTypes {
5
+ list: LiquiditySource[];
6
+ onChange: (liquiditySource: LiquiditySource) => void;
7
+ listContainerStyle?: CSSProperties;
8
+ loadingStatus: LoadingStatus;
9
+ searchedFor: string;
10
+ }
11
+ export declare function LiquiditySourceList(props: PropTypes): JSX.Element;
@@ -1 +1 @@
1
- export { LiquiditySourceList } from './LiquiditySourceList';
1
+ export { LiquiditySourceList } from './LiquiditySourceList';
@@ -1,2 +1,2 @@
1
- import { LiquiditySource } from '../../types/meta';
2
- export declare const liquiditySources: LiquiditySource[];
1
+ import { LiquiditySource } from '../../types/meta';
2
+ export declare const liquiditySources: LiquiditySource[];
@@ -1,13 +1,13 @@
1
- /// <reference types="react" />
2
- import { CSSProperties } from '@stitches/react';
3
- import { LiquiditySource, LoadingStatus } from '../../types/meta';
4
- export interface PropTypes {
5
- list: LiquiditySource[];
6
- onChange: (liquiditySource: LiquiditySource) => void;
7
- toggleAll?: () => void;
8
- onBack?: () => void;
9
- hasHeader?: boolean;
10
- listContainerStyle?: CSSProperties;
11
- loadingStatus: LoadingStatus;
12
- }
13
- export declare function LiquiditySourcesSelector(props: PropTypes): JSX.Element;
1
+ /// <reference types="react" />
2
+ import { CSSProperties } from '@stitches/react';
3
+ import { LiquiditySource, LoadingStatus } from '../../types/meta';
4
+ export interface PropTypes {
5
+ list: LiquiditySource[];
6
+ onChange: (liquiditySource: LiquiditySource) => void;
7
+ toggleAll?: () => void;
8
+ onBack?: () => void;
9
+ hasHeader?: boolean;
10
+ listContainerStyle?: CSSProperties;
11
+ loadingStatus: LoadingStatus;
12
+ }
13
+ export declare function LiquiditySourcesSelector(props: PropTypes): JSX.Element;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- import { PropTypes } from './LiquiditySourcesSelector';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, PropTypes>;
4
- export default _default;
5
- export declare const Main: (args: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { LiquiditySourcesSelector, PropTypes } from './LiquiditySourcesSelector';
4
+ declare const _default: ComponentMeta<typeof LiquiditySourcesSelector>;
5
+ export default _default;
6
+ export declare const Main: (args: PropTypes) => JSX.Element;
@@ -1 +1 @@
1
- export { LiquiditySourcesSelector } from './LiquiditySourcesSelector';
1
+ export { LiquiditySourcesSelector } from './LiquiditySourcesSelector';
@@ -1,11 +1,11 @@
1
- import { CSSProperties } from '@stitches/react';
2
- import React from 'react';
3
- export interface PropTypes {
4
- title: string;
5
- open: boolean;
6
- onClose: () => void;
7
- content: React.ReactNode;
8
- action?: React.ReactNode;
9
- containerStyle?: CSSProperties;
10
- }
11
- export declare function Modal(props: PropTypes): JSX.Element;
1
+ import { CSSProperties } from '@stitches/react';
2
+ import React from 'react';
3
+ export interface PropTypes {
4
+ title: string;
5
+ open: boolean;
6
+ onClose: () => void;
7
+ content: React.ReactNode;
8
+ action?: React.ReactNode;
9
+ containerStyle?: CSSProperties;
10
+ }
11
+ export declare function Modal(props: PropTypes): JSX.Element;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- import { PropTypes } from './Modal';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, PropTypes>;
4
- export default _default;
5
- export declare const Main: (args: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { Modal, PropTypes } from './Modal';
4
+ declare const _default: ComponentMeta<typeof Modal>;
5
+ export default _default;
6
+ export declare const Main: (args: PropTypes) => JSX.Element;
@@ -1 +1 @@
1
- export { Modal } from './Modal';
1
+ export { Modal } from './Modal';
@@ -1,13 +1,13 @@
1
- /// <reference types="react" />
2
- import { CSSProperties } from '@stitches/react';
3
- export interface PropTypes {
4
- options: {
5
- label: string;
6
- value: string;
7
- }[];
8
- value: string;
9
- onChange: (value: string) => void;
10
- direction?: 'vertical' | 'horizontal';
11
- style?: CSSProperties;
12
- }
13
- export declare function Radio(props: PropTypes): JSX.Element;
1
+ /// <reference types="react" />
2
+ import { CSSProperties } from '@stitches/react';
3
+ export interface PropTypes {
4
+ options: {
5
+ label: string;
6
+ value: string;
7
+ }[];
8
+ value: string;
9
+ onChange: (value: string) => void;
10
+ direction?: 'vertical' | 'horizontal';
11
+ style?: CSSProperties;
12
+ }
13
+ export declare function Radio(props: PropTypes): JSX.Element;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- import { PropTypes } from './Radio';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, PropTypes>;
4
- export default _default;
5
- export declare const Main: (args: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { PropTypes, Radio } from './Radio';
4
+ declare const _default: ComponentMeta<typeof Radio>;
5
+ export default _default;
6
+ export declare const Main: (args: PropTypes) => JSX.Element;
@@ -1 +1 @@
1
- export { Radio } from './Radio';
1
+ export { Radio } from './Radio';
@@ -1,16 +1,16 @@
1
- import React, { ReactNode } from 'react';
2
- export declare type PropTypes = ({
3
- textField: true;
4
- children?: (searchedFor: string) => ReactNode;
5
- textFieldPlaceholder: string;
6
- } | {
7
- textField: false;
8
- children?: ReactNode;
9
- }) & {
10
- title?: string;
11
- onBack?: () => void;
12
- TopButton?: React.ReactNode;
13
- Footer?: React.ReactNode;
14
- hasHeader?: boolean;
15
- };
16
- export declare function SecondaryPage(props: PropTypes): JSX.Element;
1
+ import React, { ReactNode } from 'react';
2
+ export type PropTypes = ({
3
+ textField: true;
4
+ children?: (searchedFor: string) => ReactNode;
5
+ textFieldPlaceholder: string;
6
+ } | {
7
+ textField: false;
8
+ children?: ReactNode;
9
+ }) & {
10
+ title?: string;
11
+ onBack?: () => void;
12
+ TopButton?: React.ReactNode;
13
+ Footer?: React.ReactNode;
14
+ hasHeader?: boolean;
15
+ };
16
+ export declare function SecondaryPage(props: PropTypes): JSX.Element;
@@ -1,2 +1,4 @@
1
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("./SecondaryPage").PropTypes>;
2
- export default _default;
1
+ import { ComponentMeta } from '@storybook/react';
2
+ import { SecondaryPage } from './SecondaryPage';
3
+ declare const _default: ComponentMeta<typeof SecondaryPage>;
4
+ export default _default;
@@ -1 +1 @@
1
- export { SecondaryPage } from './SecondaryPage';
1
+ export { SecondaryPage } from './SecondaryPage';
@@ -1,7 +1,7 @@
1
- import { PropsWithChildren } from 'react';
2
- import { SelectableWallet } from '../../types';
3
- export interface PropTypes {
4
- list: SelectableWallet[];
5
- onChange: (w: SelectableWallet) => void;
6
- }
7
- export declare function SelectableWalletList({ list, onChange, }: PropsWithChildren<PropTypes>): JSX.Element;
1
+ import { PropsWithChildren } from 'react';
2
+ import { SelectableWallet } from '../../types';
3
+ export interface PropTypes {
4
+ list: SelectableWallet[];
5
+ onChange: (w: SelectableWallet) => void;
6
+ }
7
+ export declare function SelectableWalletList({ list, onChange, }: PropsWithChildren<PropTypes>): JSX.Element;
@@ -1,5 +1,6 @@
1
- import React from 'react';
2
- import { PropTypes } from './SelectableWalletList';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, React.PropsWithChildren<PropTypes>>;
4
- export default _default;
5
- export declare const Main: (props: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { SelectableWalletList, PropTypes } from './SelectableWalletList';
4
+ declare const _default: ComponentMeta<typeof SelectableWalletList>;
5
+ export default _default;
6
+ export declare const Main: (props: PropTypes) => JSX.Element;
@@ -1 +1 @@
1
- export { SelectableWalletList } from './SelectableWalletList';
1
+ export { SelectableWalletList } from './SelectableWalletList';
@@ -1,2 +1,2 @@
1
- import { SelectableWallet } from '../../types';
2
- export declare const data: SelectableWallet[];
1
+ import { SelectableWallet } from '../../types';
2
+ export declare const data: SelectableWallet[];
@@ -1,23 +1,24 @@
1
- /// <reference types="react" />
2
- import { LiquiditySource, LoadingStatus } from '../../types/meta';
3
- declare type Theme = 'dark' | 'light' | 'auto';
4
- export interface PropTypes {
5
- slippages: number[];
6
- selectedSlippage: number;
7
- customSlippage: number;
8
- maxSlippage: number;
9
- minSlippage: number;
10
- liquiditySources: LiquiditySource[];
11
- onLiquiditySourcesClick: () => void;
12
- selectedLiquiditySources: LiquiditySource[];
13
- onSlippageChange: (slippage: number) => void;
14
- onCustomSlippageChange: (customSlippage: number | null) => void;
15
- selectedTheme: Theme;
16
- onThemeChange: (theme: Theme) => void;
17
- onBack: () => void;
18
- infiniteApprove: boolean;
19
- toggleInfiniteApprove: (infinite: boolean) => void;
20
- loadingStatus: LoadingStatus;
21
- }
22
- export declare function Settings(props: PropTypes): JSX.Element;
23
- export {};
1
+ /// <reference types="react" />
2
+ import { LiquiditySource, LoadingStatus } from '../../types/meta';
3
+ type Theme = 'dark' | 'light' | 'auto';
4
+ export interface PropTypes {
5
+ slippages: number[];
6
+ selectedSlippage: number;
7
+ customSlippage: number | null;
8
+ maxSlippage: number;
9
+ minSlippage: number;
10
+ liquiditySources: LiquiditySource[];
11
+ onLiquiditySourcesClick: () => void;
12
+ selectedLiquiditySources: LiquiditySource[];
13
+ onSlippageChange: (slippage: number) => void;
14
+ onCustomSlippageChange: (customSlippage: number | null) => void;
15
+ selectedTheme: Theme;
16
+ onThemeChange: (theme: Theme) => void;
17
+ onBack: () => void;
18
+ infiniteApprove: boolean;
19
+ toggleInfiniteApprove: (infinite: boolean) => void;
20
+ loadingStatus: LoadingStatus;
21
+ singleTheme?: boolean;
22
+ }
23
+ export declare function Settings(props: PropTypes): JSX.Element;
24
+ export {};
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- import { PropTypes } from './Settings';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, PropTypes>;
4
- export default _default;
5
- export declare const Main: (args: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { Settings, PropTypes } from './Settings';
4
+ declare const _default: ComponentMeta<typeof Settings>;
5
+ export default _default;
6
+ export declare const Main: (args: PropTypes) => JSX.Element;
@@ -1 +1 @@
1
- export { Settings } from './Settings';
1
+ export { Settings } from './Settings';
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- export interface PropTypes {
3
- width?: 20 | 24 | 36 | 48;
4
- height?: 20 | 24 | 36 | 48 | 94;
5
- }
6
- export declare function Skeleton({ width, height }: PropTypes): JSX.Element;
1
+ /// <reference types="react" />
2
+ export interface PropTypes {
3
+ width?: 20 | 24 | 36 | 48;
4
+ height?: 20 | 24 | 36 | 48 | 94;
5
+ }
6
+ export declare function Skeleton({ width, height }: PropTypes): JSX.Element;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- import { PropTypes } from './Skeleton';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, PropTypes>;
4
- export default _default;
5
- export declare const Main: (props: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { Skeleton, PropTypes } from './Skeleton';
4
+ declare const _default: ComponentMeta<typeof Skeleton>;
5
+ export default _default;
6
+ export declare const Main: (props: PropTypes) => JSX.Element;
@@ -1 +1 @@
1
- export { Skeleton } from './Skeleton';
1
+ export { Skeleton } from './Skeleton';
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- export interface PropTypes {
3
- size?: 4 | 8 | 12 | 16 | 18 | 20 | 24;
4
- direction?: 'vertical' | 'horizontal';
5
- }
6
- export declare function Spacer({ size, direction }: PropTypes): JSX.Element;
1
+ /// <reference types="react" />
2
+ export interface PropTypes {
3
+ size?: 4 | 8 | 12 | 16 | 18 | 20 | 24;
4
+ direction?: 'vertical' | 'horizontal';
5
+ }
6
+ export declare function Spacer({ size, direction }: PropTypes): JSX.Element;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- import { PropTypes } from './Spacer';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, PropTypes>;
4
- export default _default;
5
- export declare const Main: (props: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { Spacer, PropTypes } from './Spacer';
4
+ declare const _default: ComponentMeta<typeof Spacer>;
5
+ export default _default;
6
+ export declare const Main: (props: PropTypes) => JSX.Element;
@@ -1 +1 @@
1
- export { Spacer } from './Spacer';
1
+ export { Spacer } from './Spacer';
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- export interface PropTypes {
3
- size?: 16 | 20 | 24;
4
- color?: 'primary' | 'error' | 'warning' | 'success' | 'black' | 'white';
5
- }
6
- export declare function Spinner({ size, color }: PropTypes): JSX.Element;
1
+ /// <reference types="react" />
2
+ export interface PropTypes {
3
+ size?: 16 | 20 | 24;
4
+ color?: 'primary' | 'error' | 'warning' | 'success' | 'black' | 'white';
5
+ }
6
+ export declare function Spinner({ size, color }: PropTypes): JSX.Element;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- import { PropTypes } from './Spinner';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, PropTypes>;
4
- export default _default;
5
- export declare const Main: (props: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { Spinner, PropTypes } from './Spinner';
4
+ declare const _default: ComponentMeta<typeof Spinner>;
5
+ export default _default;
6
+ export declare const Main: (props: PropTypes) => JSX.Element;
@@ -1 +1 @@
1
- export { Spinner } from './Spinner';
1
+ export { Spinner } from './Spinner';
@@ -1,11 +1,11 @@
1
- import React from 'react';
2
- export interface PropTypes {
3
- open: boolean;
4
- onClose: () => void;
5
- status: 'continue' | 'success' | 'failed';
6
- title: string;
7
- subtitle: string;
8
- onSubmit?: (event: React.MouseEvent<HTMLButtonElement>) => void;
9
- onCancel?: (event: React.MouseEvent<HTMLButtonElement>) => void;
10
- }
11
- export declare function StatusDrawer({ status, title, subtitle, onSubmit, onCancel, ...props }: PropTypes): JSX.Element;
1
+ import React from 'react';
2
+ export interface PropTypes {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ status: 'continue' | 'success' | 'failed';
6
+ title: string;
7
+ subtitle: string;
8
+ onSubmit?: (event: React.MouseEvent<HTMLButtonElement>) => void;
9
+ onCancel?: (event: React.MouseEvent<HTMLButtonElement>) => void;
10
+ }
11
+ export declare function StatusDrawer({ status, title, subtitle, onSubmit, onCancel, ...props }: PropTypes): JSX.Element;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- import { PropTypes } from './StatusDrawer';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, PropTypes>;
4
- export default _default;
5
- export declare const Main: (args: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { StatusDrawer, PropTypes } from './StatusDrawer';
4
+ declare const _default: ComponentMeta<typeof StatusDrawer>;
5
+ export default _default;
6
+ export declare const Main: (args: PropTypes) => JSX.Element;
@@ -1 +1 @@
1
- export { StatusDrawer } from './StatusDrawer';
1
+ export { StatusDrawer } from './StatusDrawer';
@@ -1,12 +1,12 @@
1
- import { PropsWithChildren } from 'react';
2
- export interface PropTypes {
3
- logo: string;
4
- chainLogo: string;
5
- amount: string;
6
- symbol: string;
7
- blockchain: string;
8
- estimatedAmount?: string;
9
- direction?: 'horizontal' | 'vertical';
10
- success?: boolean;
11
- }
12
- export declare function StepDetail(props: PropsWithChildren<PropTypes>): JSX.Element;
1
+ import { PropsWithChildren } from 'react';
2
+ export interface PropTypes {
3
+ logo: string;
4
+ chainLogo: string;
5
+ amount: string;
6
+ symbol: string;
7
+ blockchain: string;
8
+ estimatedAmount?: string;
9
+ direction?: 'horizontal' | 'vertical';
10
+ success?: boolean;
11
+ }
12
+ export declare function StepDetail(props: PropsWithChildren<PropTypes>): JSX.Element;
@@ -1,5 +1,6 @@
1
- import React from 'react';
2
- import { PropTypes } from './StepDetail';
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, React.PropsWithChildren<PropTypes>>;
4
- export default _default;
5
- export declare const Main: (props: PropTypes) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ import { StepDetail, PropTypes } from './StepDetail';
4
+ declare const _default: ComponentMeta<typeof StepDetail>;
5
+ export default _default;
6
+ export declare const Main: (props: PropTypes) => JSX.Element;
@@ -1 +1 @@
1
- export { StepDetail } from './StepDetail';
1
+ export { StepDetail } from './StepDetail';