@rango-dev/ui 0.8.1-next.9 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/index.js.map +2 -2
  3. package/dist/widget/ui/src/components/Alert/Alert.d.ts +2 -2
  4. package/dist/widget/ui/src/components/Alert/Alert.d.ts.map +1 -1
  5. package/dist/widget/ui/src/components/Alert/Alert.stories.d.ts +1 -1
  6. package/dist/widget/ui/src/components/Alert/Alert.stories.d.ts.map +1 -1
  7. package/dist/widget/ui/src/components/Alert/LoadingFailedAlert.d.ts +2 -2
  8. package/dist/widget/ui/src/components/Alert/LoadingFailedAlert.d.ts.map +1 -1
  9. package/dist/widget/ui/src/components/Alert/NotFoundAlert.d.ts +2 -2
  10. package/dist/widget/ui/src/components/Alert/NotFoundAlert.d.ts.map +1 -1
  11. package/dist/widget/ui/src/components/BestRoute/BestRoute.d.ts +2 -2
  12. package/dist/widget/ui/src/components/BestRoute/BestRoute.d.ts.map +1 -1
  13. package/dist/widget/ui/src/components/BestRoute/BestRoute.stories.d.ts +4 -4
  14. package/dist/widget/ui/src/components/BestRoute/BestRoute.stories.d.ts.map +1 -1
  15. package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.d.ts +2 -2
  16. package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.d.ts.map +1 -1
  17. package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.stories.d.ts +2 -2
  18. package/dist/widget/ui/src/components/BlockchainsList/BlockchainsList.stories.d.ts.map +1 -1
  19. package/dist/widget/ui/src/components/BottomLogo/BottomLogo.d.ts +2 -2
  20. package/dist/widget/ui/src/components/BottomLogo/BottomLogo.d.ts.map +1 -1
  21. package/dist/widget/ui/src/components/Button/Button.d.ts +1 -1
  22. package/dist/widget/ui/src/components/Button/Button.d.ts.map +1 -1
  23. package/dist/widget/ui/src/components/Button/Button.stories.d.ts +4 -4
  24. package/dist/widget/ui/src/components/Button/Button.stories.d.ts.map +1 -1
  25. package/dist/widget/ui/src/components/ChangeSlippageButton/ChangeSlippageButton.d.ts +2 -2
  26. package/dist/widget/ui/src/components/ChangeSlippageButton/ChangeSlippageButton.d.ts.map +1 -1
  27. package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts +2 -2
  28. package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts.map +1 -1
  29. package/dist/widget/ui/src/components/Checkbox/Checkbox.stories.d.ts +1 -1
  30. package/dist/widget/ui/src/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
  31. package/dist/widget/ui/src/components/Chip/Chip.d.ts +1 -1
  32. package/dist/widget/ui/src/components/Chip/Chip.d.ts.map +1 -1
  33. package/dist/widget/ui/src/components/Chip/Chip.stories.d.ts +4 -4
  34. package/dist/widget/ui/src/components/Chip/Chip.stories.d.ts.map +1 -1
  35. package/dist/widget/ui/src/components/ColorPicker/ColorPicker.d.ts +2 -2
  36. package/dist/widget/ui/src/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  37. package/dist/widget/ui/src/components/ColorPicker/ColorPicker.stories.d.ts +2 -2
  38. package/dist/widget/ui/src/components/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
  39. package/dist/widget/ui/src/components/Divider/Divider.d.ts +2 -2
  40. package/dist/widget/ui/src/components/Divider/Divider.d.ts.map +1 -1
  41. package/dist/widget/ui/src/components/Drawer/Drawer.d.ts +1 -1
  42. package/dist/widget/ui/src/components/Drawer/Drawer.d.ts.map +1 -1
  43. package/dist/widget/ui/src/components/Drawer/Drawer.stories.d.ts +5 -5
  44. package/dist/widget/ui/src/components/Drawer/Drawer.stories.d.ts.map +1 -1
  45. package/dist/widget/ui/src/components/Header/Header.d.ts +1 -1
  46. package/dist/widget/ui/src/components/Header/Header.d.ts.map +1 -1
  47. package/dist/widget/ui/src/components/HeaderButtons/HeaderButtons.d.ts +2 -2
  48. package/dist/widget/ui/src/components/HeaderButtons/HeaderButtons.d.ts.map +1 -1
  49. package/dist/widget/ui/src/components/I18nManager/I18nManager.d.ts +2 -1
  50. package/dist/widget/ui/src/components/I18nManager/I18nManager.d.ts.map +1 -1
  51. package/dist/widget/ui/src/components/Icon/Icons.stories.d.ts +2 -2
  52. package/dist/widget/ui/src/components/Icon/Icons.stories.d.ts.map +1 -1
  53. package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySource.stories.d.ts +2 -2
  54. package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySource.stories.d.ts.map +1 -1
  55. package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySourceList.d.ts +2 -2
  56. package/dist/widget/ui/src/components/LiquiditySourceList/LiquiditySourceList.d.ts.map +1 -1
  57. package/dist/widget/ui/src/components/Modal/Modal.d.ts +1 -1
  58. package/dist/widget/ui/src/components/Modal/Modal.d.ts.map +1 -1
  59. package/dist/widget/ui/src/components/Modal/Modal.stories.d.ts +2 -2
  60. package/dist/widget/ui/src/components/Modal/Modal.stories.d.ts.map +1 -1
  61. package/dist/widget/ui/src/components/Radio/Radio.d.ts +2 -2
  62. package/dist/widget/ui/src/components/Radio/Radio.d.ts.map +1 -1
  63. package/dist/widget/ui/src/components/Radio/Radio.stories.d.ts +2 -2
  64. package/dist/widget/ui/src/components/Radio/Radio.stories.d.ts.map +1 -1
  65. package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.d.ts +1 -1
  66. package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.d.ts.map +1 -1
  67. package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.stories.d.ts +2 -2
  68. package/dist/widget/ui/src/components/SecondaryPage/SecondaryPage.stories.d.ts.map +1 -1
  69. package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.d.ts +2 -2
  70. package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.d.ts.map +1 -1
  71. package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.stories.d.ts +1 -1
  72. package/dist/widget/ui/src/components/SelectableWalletList/SelectableWalletList.stories.d.ts.map +1 -1
  73. package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts +2 -2
  74. package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts.map +1 -1
  75. package/dist/widget/ui/src/components/Skeleton/Skeleton.stories.d.ts +2 -2
  76. package/dist/widget/ui/src/components/Skeleton/Skeleton.stories.d.ts.map +1 -1
  77. package/dist/widget/ui/src/components/Spinner/Spinner.d.ts +2 -2
  78. package/dist/widget/ui/src/components/Spinner/Spinner.d.ts.map +1 -1
  79. package/dist/widget/ui/src/components/Spinner/Spinner.stories.d.ts +2 -2
  80. package/dist/widget/ui/src/components/Spinner/Spinner.stories.d.ts.map +1 -1
  81. package/dist/widget/ui/src/components/StatusDrawer/StatusDrawer.d.ts +1 -1
  82. package/dist/widget/ui/src/components/StatusDrawer/StatusDrawer.d.ts.map +1 -1
  83. package/dist/widget/ui/src/components/StatusDrawer/StatusDrawer.stories.d.ts +2 -2
  84. package/dist/widget/ui/src/components/StatusDrawer/StatusDrawer.stories.d.ts.map +1 -1
  85. package/dist/widget/ui/src/components/StepDetail/StepDetail.d.ts +2 -2
  86. package/dist/widget/ui/src/components/StepDetail/StepDetail.d.ts.map +1 -1
  87. package/dist/widget/ui/src/components/StepDetail/StepDetail.stories.d.ts +1 -1
  88. package/dist/widget/ui/src/components/StepDetail/StepDetail.stories.d.ts.map +1 -1
  89. package/dist/widget/ui/src/components/SwapContainer/SwapContainer.d.ts +2 -2
  90. package/dist/widget/ui/src/components/SwapContainer/SwapContainer.d.ts.map +1 -1
  91. package/dist/widget/ui/src/components/SwapDetail/SwapDetail.d.ts +2 -2
  92. package/dist/widget/ui/src/components/SwapDetail/SwapDetail.d.ts.map +1 -1
  93. package/dist/widget/ui/src/components/SwapDetail/SwapDetail.stories.d.ts +1 -1
  94. package/dist/widget/ui/src/components/SwapDetail/SwapDetail.stories.d.ts.map +1 -1
  95. package/dist/widget/ui/src/components/SwapDetail/Token.d.ts +2 -2
  96. package/dist/widget/ui/src/components/SwapDetail/Token.d.ts.map +1 -1
  97. package/dist/widget/ui/src/components/Switch/Switch.d.ts +2 -2
  98. package/dist/widget/ui/src/components/Switch/Switch.d.ts.map +1 -1
  99. package/dist/widget/ui/src/components/Switch/Switch.stories.d.ts +2 -2
  100. package/dist/widget/ui/src/components/Switch/Switch.stories.d.ts.map +1 -1
  101. package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts +3 -3
  102. package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts.map +1 -1
  103. package/dist/widget/ui/src/components/TokenList/TokenItem.d.ts +2 -2
  104. package/dist/widget/ui/src/components/TokenList/TokenItem.d.ts.map +1 -1
  105. package/dist/widget/ui/src/components/TokenList/TokenList.d.ts +2 -2
  106. package/dist/widget/ui/src/components/TokenList/TokenList.d.ts.map +1 -1
  107. package/dist/widget/ui/src/components/TokenList/TokenList.stories.d.ts +2 -2
  108. package/dist/widget/ui/src/components/TokenList/TokenList.stories.d.ts.map +1 -1
  109. package/dist/widget/ui/src/components/TokenList/mockData.d.ts.map +1 -1
  110. package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts +2 -2
  111. package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  112. package/dist/widget/ui/src/components/Tooltip/Tooltip.stories.d.ts +1 -1
  113. package/dist/widget/ui/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  114. package/dist/widget/ui/src/components/Typography/Typography.d.ts +2 -2
  115. package/dist/widget/ui/src/components/Typography/Typography.d.ts.map +1 -1
  116. package/dist/widget/ui/src/components/Typography/Typography.stories.d.ts +1 -1
  117. package/dist/widget/ui/src/components/Typography/Typography.stories.d.ts.map +1 -1
  118. package/dist/widget/ui/src/components/VirtualizedList/VirtualizedList.d.ts +2 -2
  119. package/dist/widget/ui/src/components/VirtualizedList/VirtualizedList.d.ts.map +1 -1
  120. package/dist/widget/ui/src/components/Wallet/State.d.ts +2 -2
  121. package/dist/widget/ui/src/components/Wallet/State.d.ts.map +1 -1
  122. package/dist/widget/ui/src/components/Wallet/Wallet.d.ts +2 -2
  123. package/dist/widget/ui/src/components/Wallet/Wallet.d.ts.map +1 -1
  124. package/dist/widget/ui/src/components/Wallet/Wallet.stories.d.ts +2 -2
  125. package/dist/widget/ui/src/components/Wallet/Wallet.stories.d.ts.map +1 -1
  126. package/dist/widget/ui/src/components/common/Image.d.ts +1 -1
  127. package/dist/widget/ui/src/components/common/Image.d.ts.map +1 -1
  128. package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.d.ts +2 -2
  129. package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.d.ts.map +1 -1
  130. package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.stories.d.ts +2 -2
  131. package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.stories.d.ts.map +1 -1
  132. package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.d.ts +1 -1
  133. package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.d.ts.map +1 -1
  134. package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.stories.d.ts +2 -2
  135. package/dist/widget/ui/src/containers/ConfirmSwap/ConfirmSwap.stories.d.ts.map +1 -1
  136. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts +2 -2
  137. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts.map +1 -1
  138. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts +2 -2
  139. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts.map +1 -1
  140. package/dist/widget/ui/src/containers/History/History.d.ts +2 -2
  141. package/dist/widget/ui/src/containers/History/History.d.ts.map +1 -1
  142. package/dist/widget/ui/src/containers/History/History.stories.d.ts +1 -1
  143. package/dist/widget/ui/src/containers/History/History.stories.d.ts.map +1 -1
  144. package/dist/widget/ui/src/containers/History/SwapsGroup.d.ts +2 -2
  145. package/dist/widget/ui/src/containers/History/SwapsGroup.d.ts.map +1 -1
  146. package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts +2 -2
  147. package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.d.ts.map +1 -1
  148. package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts +2 -2
  149. package/dist/widget/ui/src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.d.ts.map +1 -1
  150. package/dist/widget/ui/src/containers/Settings/Settings.d.ts +2 -2
  151. package/dist/widget/ui/src/containers/Settings/Settings.d.ts.map +1 -1
  152. package/dist/widget/ui/src/containers/Settings/Settings.stories.d.ts +2 -2
  153. package/dist/widget/ui/src/containers/Settings/Settings.stories.d.ts.map +1 -1
  154. package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts +1 -1
  155. package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts.map +1 -1
  156. package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.stories.d.ts +1 -1
  157. package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.stories.d.ts.map +1 -1
  158. package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts +2 -2
  159. package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts.map +1 -1
  160. package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.stories.d.ts +2 -2
  161. package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.stories.d.ts.map +1 -1
  162. package/dist/widget/ui/src/containers/Warnings/BalanceErrors.d.ts +2 -2
  163. package/dist/widget/ui/src/containers/Warnings/BalanceErrors.d.ts.map +1 -1
  164. package/dist/widget/ui/src/containers/Warnings/HighSlippageWarning.d.ts +2 -2
  165. package/dist/widget/ui/src/containers/Warnings/HighSlippageWarning.d.ts.map +1 -1
  166. package/dist/widget/ui/src/containers/Warnings/MinRequiredSlippage.d.ts +2 -2
  167. package/dist/widget/ui/src/containers/Warnings/MinRequiredSlippage.d.ts.map +1 -1
  168. package/dist/widget/ui/src/theme.d.ts +1 -1
  169. package/package.json +4 -4
  170. package/src/components/TokenList/mockData.ts +1 -0
  171. package/src/components/VirtualizedList/VirtualizedList.tsx +3 -5
@@ -4,6 +4,6 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
4
4
  children?: React.ReactNode;
5
5
  }>;
6
6
  export default _default;
7
- export declare const Main: (props: PropTypes) => JSX.Element;
8
- export declare const With5Wallets: (props: PropTypes) => JSX.Element;
7
+ export declare const Main: (props: PropTypes) => React.JSX.Element;
8
+ export declare const With5Wallets: (props: PropTypes) => React.JSX.Element;
9
9
  //# sourceMappingURL=ConfirmSwap.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmSwap.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConfirmSwap/ConfirmSwap.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;AAEvD,OAAO,KAAK,MAAM,OAAO,CAAC;;;;AA8M1B,wBAO8B;AAE9B,eAAO,MAAM,IAAI,UAAW,SAAS,gBAOpC,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,SAAS,gBAO5C,CAAC"}
1
+ {"version":3,"file":"ConfirmSwap.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConfirmSwap/ConfirmSwap.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;AAEvD,OAAO,KAAK,MAAM,OAAO,CAAC;;;;AA8M1B,wBAO8B;AAE9B,eAAO,MAAM,IAAI,UAAW,SAAS,sBAOpC,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,SAAS,sBAO5C,CAAC"}
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { PropTypes } from './ConnectWalletsModal';
3
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;
5
+ export declare const Main: (args: PropTypes) => React.JSX.Element;
6
6
  //# sourceMappingURL=ConnectWallets.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectWallets.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWallets.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;;AAGvE,wBAGsC;AAEtC,eAAO,MAAM,IAAI,SAAU,SAAS,gBAanC,CAAC"}
1
+ {"version":3,"file":"ConnectWallets.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWallets.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;;AAGvE,wBAGsC;AAEtC,eAAO,MAAM,IAAI,SAAU,SAAS,sBAanC,CAAC"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { WalletInfo } from '../../types/wallet';
3
3
  import { WalletType } from '@rango-dev/wallets-shared';
4
4
  export interface PropTypes {
@@ -8,5 +8,5 @@ export interface PropTypes {
8
8
  onClose: () => void;
9
9
  error?: string;
10
10
  }
11
- export declare function ConnectWalletsModal(props: PropTypes): JSX.Element;
11
+ export declare function ConnectWalletsModal(props: PropTypes): React.JSX.Element;
12
12
  //# sourceMappingURL=ConnectWalletsModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectWalletsModal.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAIvD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AASD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,eAoBnD"}
1
+ {"version":3,"file":"ConnectWalletsModal.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAIvD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AASD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,qBAoBnD"}
@@ -1,7 +1,7 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  import { PropTypes as SwapsGroupPropTypes } from './SwapsGroup';
3
3
  export type PropTypes = SwapsGroupPropTypes & {
4
4
  loading: boolean;
5
5
  };
6
- export declare function History(props: PropsWithChildren<PropTypes>): JSX.Element;
6
+ export declare function History(props: PropsWithChildren<PropTypes>): React.JSX.Element;
7
7
  //# sourceMappingURL=History.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"History.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/History/History.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAOjD,OAAO,EAAc,SAAS,IAAI,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAuB5E,MAAM,MAAM,SAAS,GAAG,mBAAmB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEnE,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,eAuC1D"}
1
+ {"version":3,"file":"History.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/History/History.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAOjD,OAAO,EAAc,SAAS,IAAI,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAuB5E,MAAM,MAAM,SAAS,GAAG,mBAAmB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEnE,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAuC1D"}
@@ -6,5 +6,5 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
6
6
  children?: React.ReactNode;
7
7
  }>;
8
8
  export default _default;
9
- export declare const Main: (props: PropTypes) => JSX.Element;
9
+ export declare const Main: (props: PropTypes) => React.JSX.Element;
10
10
  //# sourceMappingURL=History.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"History.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/History/History.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAW,SAAS,EAAE,MAAM,WAAW,CAAC;;;;;;AAG/C,wBAG0B;AAE1B,eAAO,MAAM,IAAI,UAAW,SAAS,gBAEpC,CAAC"}
1
+ {"version":3,"file":"History.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/History/History.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAW,SAAS,EAAE,MAAM,WAAW,CAAC;;;;;;AAG/C,wBAG0B;AAE1B,eAAO,MAAM,IAAI,UAAW,SAAS,sBAEpC,CAAC"}
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { PendingSwap } from '@rango-dev/queue-manager-rango-preset';
2
+ import React from 'react';
3
3
  export type GroupBy = (list: PendingSwap[]) => {
4
4
  title: string;
5
5
  swaps: PendingSwap[];
@@ -10,5 +10,5 @@ export interface PropTypes {
10
10
  onSwapClick: (requestId: string) => void;
11
11
  groupBy?: GroupBy;
12
12
  }
13
- export declare function SwapsGroup(props: Omit<PropTypes, 'onBack'>): JSX.Element;
13
+ export declare function SwapsGroup(props: Omit<PropTypes, 'onBack'>): React.JSX.Element;
14
14
  //# sourceMappingURL=SwapsGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SwapsGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/History/SwapsGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAWpE,MAAM,MAAM,OAAO,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,EAAE,CAAC;AAEJ,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,WAAW,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,eAmC1D"}
1
+ {"version":3,"file":"SwapsGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/History/SwapsGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,MAAM,OAAO,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,EAAE,CAAC;AAEJ,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,WAAW,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,qBAmC1D"}
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { CSSProperties } from '@stitches/react';
2
+ import React from 'react';
3
3
  import { LiquiditySource, LoadingStatus } from '../../types/meta';
4
4
  export interface PropTypes {
5
5
  list: LiquiditySource[];
@@ -10,5 +10,5 @@ export interface PropTypes {
10
10
  listContainerStyle?: CSSProperties;
11
11
  loadingStatus: LoadingStatus;
12
12
  }
13
- export declare function LiquiditySourcesSelector(props: PropTypes): JSX.Element;
13
+ export declare function LiquiditySourcesSelector(props: PropTypes): React.JSX.Element;
14
14
  //# sourceMappingURL=LiquiditySourcesSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiquiditySourcesSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAWlE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,eAAe,EAAE,eAAe,KAAK,IAAI,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,SAAS,eAmCxD"}
1
+ {"version":3,"file":"LiquiditySourcesSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAWlE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,eAAe,EAAE,eAAe,KAAK,IAAI,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,SAAS,qBAmCxD"}
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { PropTypes } from './LiquiditySourcesSelector';
3
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;
5
+ export declare const Main: (args: PropTypes) => React.JSX.Element;
6
6
  //# sourceMappingURL=LiquiditySourcesSelector.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiquiditySourcesSelector.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAEL,SAAS,EACV,MAAM,4BAA4B,CAAC;;AAGpC,wBAM2C;AAE3C,eAAO,MAAM,IAAI,SAAU,SAAS,gBAEnC,CAAC"}
1
+ {"version":3,"file":"LiquiditySourcesSelector.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/LiquiditySourcesSelector/LiquiditySourcesSelector.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,SAAS,EACV,MAAM,4BAA4B,CAAC;;AAGpC,wBAM2C;AAE3C,eAAO,MAAM,IAAI,SAAU,SAAS,sBAEnC,CAAC"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { LiquiditySource, LoadingStatus } from '../../types/meta';
3
3
  type Theme = 'dark' | 'light' | 'auto';
4
4
  export interface PropTypes {
@@ -20,6 +20,6 @@ export interface PropTypes {
20
20
  loadingStatus: LoadingStatus;
21
21
  singleTheme?: boolean;
22
22
  }
23
- export declare function Settings(props: PropTypes): JSX.Element;
23
+ export declare function Settings(props: PropTypes): React.JSX.Element;
24
24
  export {};
25
25
  //# sourceMappingURL=Settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/Settings/Settings.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAyDlE,KAAK,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAEvC,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,CA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,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,sBAAsB,EAAE,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAChE,aAAa,EAAE,KAAK,CAAC;IACrB,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACtC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,qBAAqB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,qBAsIxC"}
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { PropTypes } from './Settings';
3
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;
5
+ export declare const Main: (args: PropTypes) => React.JSX.Element;
6
6
  //# sourceMappingURL=Settings.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/Settings/Settings.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAY,SAAS,EAAE,MAAM,YAAY,CAAC;;AAIjD,wBAS2B;AAG3B,eAAO,MAAM,IAAI,SAAU,SAAS,gBAQnC,CAAC"}
1
+ {"version":3,"file":"Settings.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/Settings/Settings.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAY,SAAS,EAAE,MAAM,YAAY,CAAC;;AAIjD,wBAS2B;AAG3B,eAAO,MAAM,IAAI,SAAU,SAAS,sBAQnC,CAAC"}
@@ -1125,5 +1125,5 @@ export type PropTypes = {
1125
1125
  date: string;
1126
1126
  previewInputs?: React.ReactNode;
1127
1127
  } & SwapMessagesPropTypes;
1128
- export declare function SwapHistory(props: PropTypes): JSX.Element;
1128
+ export declare function SwapHistory(props: PropTypes): React.JSX.Element;
1129
1129
  //# sourceMappingURL=SwapHistory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SwapHistory.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapHistory/SwapHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAIL,UAAU,EASX,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAEL,SAAS,IAAI,qBAAqB,EACnC,MAAM,gBAAgB,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAgB3B,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKpB,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAEnB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGvB,CAAC;AAEH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;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CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACjC,GAAG,qBAAqB,CAAC;AAE1B,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,qBA4O3C"}
@@ -11,5 +11,5 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
11
11
  previewInputs?: React.ReactNode;
12
12
  } & import("./SwapMessages").PropTypes>;
13
13
  export default _default;
14
- export declare const Main: (args: PropTypes) => JSX.Element;
14
+ export declare const Main: (args: PropTypes) => React.JSX.Element;
15
15
  //# sourceMappingURL=SwapHistory.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SwapHistory.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapHistory/SwapHistory.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAe,MAAM,eAAe,CAAC;;;;;;;;;;;AAGvD,wBAG8B;AAE9B,eAAO,MAAM,IAAI,SAAU,SAAS,gBAEnC,CAAC"}
1
+ {"version":3,"file":"SwapHistory.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapHistory/SwapHistory.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAe,MAAM,eAAe,CAAC;;;;;;;;;;;AAGvD,wBAG8B;AAE9B,eAAO,MAAM,IAAI,SAAU,SAAS,sBAEnC,CAAC"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { LoadingStatus } from '../../types/meta';
3
3
  import { TokenWithAmount } from '../../components/TokenList/TokenList';
4
4
  export declare const LoaderContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
@@ -121,5 +121,5 @@ export interface PropTypes {
121
121
  loadingStatus: LoadingStatus;
122
122
  hasHeader?: boolean;
123
123
  }
124
- export declare function TokenSelector(props: PropTypes): JSX.Element;
124
+ export declare function TokenSelector(props: PropTypes): React.JSX.Element;
125
125
  //# sourceMappingURL=TokenSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/TokenSelector/TokenSelector.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIjD,OAAO,EAEL,eAAe,EAChB,MAAM,sCAAsC,CAAC;AAE9C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAM1B,CAAC;AACH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,IAAI,CAAC,EAAE,QAAQ,GAAG,aAAa,CAAC;IAChC,QAAQ,EAAE,eAAe,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAUD,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,eAkC7C"}
1
+ {"version":3,"file":"TokenSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/TokenSelector/TokenSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIjD,OAAO,EAEL,eAAe,EAChB,MAAM,sCAAsC,CAAC;AAE9C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAM1B,CAAC;AACH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,IAAI,CAAC,EAAE,QAAQ,GAAG,aAAa,CAAC;IAChC,QAAQ,EAAE,eAAe,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAUD,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,qBAkC7C"}
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { PropTypes } from './TokenSelector';
3
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;
5
+ export declare const Main: (args: PropTypes) => React.JSX.Element;
6
6
  //# sourceMappingURL=TokenSelector.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenSelector.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/TokenSelector/TokenSelector.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAiB,SAAS,EAAE,MAAM,iBAAiB,CAAC;;AAG3D,wBAOgC;AAEhC,eAAO,MAAM,IAAI,SAAU,SAAS,gBAEnC,CAAC"}
1
+ {"version":3,"file":"TokenSelector.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/TokenSelector/TokenSelector.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAiB,SAAS,EAAE,MAAM,iBAAiB,CAAC;;AAG3D,wBAOgC;AAEhC,eAAO,MAAM,IAAI,SAAU,SAAS,sBAEnC,CAAC"}
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  interface PropTypes {
3
3
  messages: string[];
4
4
  }
5
- export declare function BalanceErrors({ messages }: PropTypes): JSX.Element;
5
+ export declare function BalanceErrors({ messages }: PropTypes): React.JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=BalanceErrors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BalanceErrors.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/Warnings/BalanceErrors.tsx"],"names":[],"mappings":";AAIA,UAAU,SAAS;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAwBD,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,SAAS,eAiBpD"}
1
+ {"version":3,"file":"BalanceErrors.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/Warnings/BalanceErrors.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,SAAS;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAwBD,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,SAAS,qBAiBpD"}
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  interface PropTypes {
3
3
  selectedSlippage: number;
4
4
  highSlippage: boolean;
5
5
  changeSlippage: () => void;
6
6
  }
7
- export declare function HighSlippageWarning(props: PropTypes): JSX.Element;
7
+ export declare function HighSlippageWarning(props: PropTypes): React.JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=HighSlippageWarning.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HighSlippageWarning.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/Warnings/HighSlippageWarning.tsx"],"names":[],"mappings":";AAKA,UAAU,SAAS;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,eAqBnD"}
1
+ {"version":3,"file":"HighSlippageWarning.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/Warnings/HighSlippageWarning.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,SAAS;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,qBAqBnD"}
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  interface PropTypes {
3
3
  minRequiredSlippage: string | null;
4
4
  changeSlippage: () => void;
5
5
  }
6
- export declare function MinRequiredSlippage({ minRequiredSlippage, changeSlippage, }: PropTypes): JSX.Element;
6
+ export declare function MinRequiredSlippage({ minRequiredSlippage, changeSlippage, }: PropTypes): React.JSX.Element;
7
7
  export {};
8
8
  //# sourceMappingURL=MinRequiredSlippage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MinRequiredSlippage.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/Warnings/MinRequiredSlippage.tsx"],"names":[],"mappings":";AAKA,UAAU,SAAS;IACjB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAMD,wBAAgB,mBAAmB,CAAC,EAClC,mBAAmB,EACnB,cAAc,GACf,EAAE,SAAS,eAeX"}
1
+ {"version":3,"file":"MinRequiredSlippage.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/Warnings/MinRequiredSlippage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,SAAS;IACjB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAMD,wBAAgB,mBAAmB,CAAC,EAClC,mBAAmB,EACnB,cAAc,GACf,EAAE,SAAS,qBAeX"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { DefaultThemeMap } from '@stitches/react/types/config';
3
- export declare const styled: <Type extends import("react").ComponentType<any> | keyof JSX.IntrinsicElements | import("@stitches/react/types/util").Function, Composers extends (string | import("react").ComponentType<any> | import("@stitches/react/types/util").Function | {
3
+ export declare const styled: <Type extends import("react").ComponentType<any> | import("@stitches/react/types/util").Function | keyof JSX.IntrinsicElements, Composers extends (string | import("react").ComponentType<any> | import("@stitches/react/types/util").Function | {
4
4
  [name: string]: unknown;
5
5
  })[], CSS = import("@stitches/react/types/css-util").CSS<{
6
6
  sm: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/ui",
3
- "version": "0.8.1-next.9",
3
+ "version": "0.9.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
@@ -30,7 +30,6 @@
30
30
  "@babel/preset-env": "^7.21.4",
31
31
  "@babel/preset-react": "^7.18.6",
32
32
  "@babel/preset-typescript": "^7.21.4",
33
- "@size-limit/preset-small-lib": "^8.1.0",
34
33
  "@storybook/addon-essentials": "^7.0.9",
35
34
  "@storybook/addon-info": "^5.3.21",
36
35
  "@storybook/addon-links": "^7.0.9",
@@ -47,18 +46,19 @@
47
46
  "react": "^18.2.0",
48
47
  "react-dom": "^18.2.0",
49
48
  "react-is": "^18.2.0",
50
- "size-limit": "^8.1.0",
51
49
  "storybook": "^7.0.9",
52
50
  "tsdx": "^0.14.1",
53
51
  "tslib": "^2.4.1",
54
52
  "typescript": "^4.8.4"
55
53
  },
56
54
  "dependencies": {
55
+ "@lingui/core": "4.2.1",
56
+ "@lingui/react": "4.2.1",
57
57
  "@radix-ui/react-checkbox": "^1.0.1",
58
58
  "@radix-ui/react-radio-group": "^1.1.1",
59
59
  "@radix-ui/react-switch": "^1.0.1",
60
60
  "@radix-ui/react-tooltip": "^1.0.2",
61
- "@rango-dev/wallets-shared": "^0.8.1-next.4",
61
+ "@rango-dev/wallets-shared": "^0.9.0",
62
62
  "@stitches/react": "^1.2.8",
63
63
  "@types/react-color": "^3.0.6",
64
64
  "rango-sdk": "^0.1.35",
@@ -1,3 +1,4 @@
1
+ // TODO: fix ts errors
1
2
  // eslint-disable-next-line
2
3
  // @ts-nocheck
3
4
  import { TokenWithAmount } from './TokenList';
@@ -29,13 +29,12 @@ export function VirtualizedList(props: PropsWithChildren<PropTypes>) {
29
29
 
30
30
  return (
31
31
  <AutoSizer>
32
- {({ width, height }) => (
32
+ {({ width, height }: { width: number; height: number }) => (
33
33
  <InfiniteLoader
34
34
  isItemLoaded={isItemLoaded}
35
35
  itemCount={hasNextPage ? itemCount + 1 : itemCount}
36
36
  loadMoreItems={loadNextPage}
37
- threshold={1}
38
- >
37
+ threshold={1}>
39
38
  {({ onItemsRendered, ref }) => {
40
39
  return (
41
40
  <List
@@ -45,8 +44,7 @@ export function VirtualizedList(props: PropsWithChildren<PropTypes>) {
45
44
  itemCount={itemCount}
46
45
  height={height || 0}
47
46
  width={width || 0}
48
- onItemsRendered={onItemsRendered}
49
- >
47
+ onItemsRendered={onItemsRendered}>
50
48
  {({ index, style }) =>
51
49
  isItemLoaded(index) ? (
52
50
  <Item index={index} style={style as CSSProperties} />