@rango-dev/ui 0.33.1-next.0 → 0.33.1-next.2

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 (405) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/index.js.map +4 -4
  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.helpers.d.ts +3 -3
  6. package/dist/widget/ui/src/components/Alert/Alert.helpers.d.ts.map +1 -1
  7. package/dist/widget/ui/src/components/Alert/Alert.icon.d.ts +2 -2
  8. package/dist/widget/ui/src/components/Alert/Alert.icon.d.ts.map +1 -1
  9. package/dist/widget/ui/src/components/Alert/Alert.types.d.ts +1 -1
  10. package/dist/widget/ui/src/components/Alert/Alert.types.d.ts.map +1 -1
  11. package/dist/widget/ui/src/components/Alert/index.d.ts +1 -0
  12. package/dist/widget/ui/src/components/Alert/index.d.ts.map +1 -1
  13. package/dist/widget/ui/src/components/Button/Button.types.d.ts +1 -1
  14. package/dist/widget/ui/src/components/Button/Button.types.d.ts.map +1 -1
  15. package/dist/widget/ui/src/components/Button/index.d.ts +1 -0
  16. package/dist/widget/ui/src/components/Button/index.d.ts.map +1 -1
  17. package/dist/widget/ui/src/components/ChainToken/ChainToken.constants.d.ts +2 -2
  18. package/dist/widget/ui/src/components/ChainToken/ChainToken.constants.d.ts.map +1 -1
  19. package/dist/widget/ui/src/components/ChainToken/ChainToken.d.ts +2 -2
  20. package/dist/widget/ui/src/components/ChainToken/ChainToken.d.ts.map +1 -1
  21. package/dist/widget/ui/src/components/ChainToken/ChainToken.types.d.ts +1 -1
  22. package/dist/widget/ui/src/components/ChainToken/ChainToken.types.d.ts.map +1 -1
  23. package/dist/widget/ui/src/components/ChainToken/index.d.ts +1 -0
  24. package/dist/widget/ui/src/components/ChainToken/index.d.ts.map +1 -1
  25. package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts +2 -2
  26. package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts.map +1 -1
  27. package/dist/widget/ui/src/components/Checkbox/Checkbox.types.d.ts +1 -1
  28. package/dist/widget/ui/src/components/Checkbox/Checkbox.types.d.ts.map +1 -1
  29. package/dist/widget/ui/src/components/Checkbox/index.d.ts +1 -0
  30. package/dist/widget/ui/src/components/Checkbox/index.d.ts.map +1 -1
  31. package/dist/widget/ui/src/components/Chip/Chip.d.ts +2 -2
  32. package/dist/widget/ui/src/components/Chip/Chip.d.ts.map +1 -1
  33. package/dist/widget/ui/src/components/Chip/Chip.types.d.ts +1 -1
  34. package/dist/widget/ui/src/components/Chip/Chip.types.d.ts.map +1 -1
  35. package/dist/widget/ui/src/components/Chip/index.d.ts +1 -0
  36. package/dist/widget/ui/src/components/Chip/index.d.ts.map +1 -1
  37. package/dist/widget/ui/src/components/Collapsible/Collapsible.d.ts +2 -2
  38. package/dist/widget/ui/src/components/Collapsible/Collapsible.d.ts.map +1 -1
  39. package/dist/widget/ui/src/components/Collapsible/Collapsible.types.d.ts +1 -1
  40. package/dist/widget/ui/src/components/Collapsible/Collapsible.types.d.ts.map +1 -1
  41. package/dist/widget/ui/src/components/Collapsible/index.d.ts +1 -0
  42. package/dist/widget/ui/src/components/Collapsible/index.d.ts.map +1 -1
  43. package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.types.d.ts +7 -7
  44. package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.types.d.ts.map +1 -1
  45. package/dist/widget/ui/src/components/IconButton/IconButton.d.ts +2 -2
  46. package/dist/widget/ui/src/components/IconButton/IconButton.d.ts.map +1 -1
  47. package/dist/widget/ui/src/components/IconButton/IconButton.types.d.ts +2 -2
  48. package/dist/widget/ui/src/components/IconButton/IconButton.types.d.ts.map +1 -1
  49. package/dist/widget/ui/src/components/IconButton/index.d.ts +1 -0
  50. package/dist/widget/ui/src/components/IconButton/index.d.ts.map +1 -1
  51. package/dist/widget/ui/src/components/List/List.types.d.ts +2 -2
  52. package/dist/widget/ui/src/components/List/List.types.d.ts.map +1 -1
  53. package/dist/widget/ui/src/components/ListItem/ListItem.d.ts +2 -2
  54. package/dist/widget/ui/src/components/ListItem/ListItem.d.ts.map +1 -1
  55. package/dist/widget/ui/src/components/ListItem/ListItem.types.d.ts +1 -1
  56. package/dist/widget/ui/src/components/ListItem/ListItem.types.d.ts.map +1 -1
  57. package/dist/widget/ui/src/components/ListItem/index.d.ts +1 -1
  58. package/dist/widget/ui/src/components/ListItem/index.d.ts.map +1 -1
  59. package/dist/widget/ui/src/components/ListItemButton/ListItemButton.types.d.ts +2 -2
  60. package/dist/widget/ui/src/components/ListItemButton/ListItemButton.types.d.ts.map +1 -1
  61. package/dist/widget/ui/src/components/Modal/Modal.d.ts +2 -2
  62. package/dist/widget/ui/src/components/Modal/Modal.d.ts.map +1 -1
  63. package/dist/widget/ui/src/components/Modal/Modal.types.d.ts +1 -1
  64. package/dist/widget/ui/src/components/Modal/Modal.types.d.ts.map +1 -1
  65. package/dist/widget/ui/src/components/Modal/index.d.ts +1 -1
  66. package/dist/widget/ui/src/components/Modal/index.d.ts.map +1 -1
  67. package/dist/widget/ui/src/components/NotFound/NotFound.d.ts +2 -2
  68. package/dist/widget/ui/src/components/NotFound/NotFound.d.ts.map +1 -1
  69. package/dist/widget/ui/src/components/NotFound/NotFound.types.d.ts +1 -1
  70. package/dist/widget/ui/src/components/NotFound/NotFound.types.d.ts.map +1 -1
  71. package/dist/widget/ui/src/components/NotFound/index.d.ts +1 -0
  72. package/dist/widget/ui/src/components/NotFound/index.d.ts.map +1 -1
  73. package/dist/widget/ui/src/components/Popover/Popover.d.ts +2 -2
  74. package/dist/widget/ui/src/components/Popover/Popover.d.ts.map +1 -1
  75. package/dist/widget/ui/src/components/Popover/Popover.types.d.ts +1 -1
  76. package/dist/widget/ui/src/components/Popover/Popover.types.d.ts.map +1 -1
  77. package/dist/widget/ui/src/components/Popover/index.d.ts +1 -0
  78. package/dist/widget/ui/src/components/Popover/index.d.ts.map +1 -1
  79. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.d.ts +2 -2
  80. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.d.ts.map +1 -1
  81. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.types.d.ts +2 -2
  82. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.types.d.ts.map +1 -1
  83. package/dist/widget/ui/src/components/PriceImpact/index.d.ts +1 -1
  84. package/dist/widget/ui/src/components/PriceImpact/index.d.ts.map +1 -1
  85. package/dist/widget/ui/src/components/Radio/Radio.d.ts +2 -2
  86. package/dist/widget/ui/src/components/Radio/Radio.d.ts.map +1 -1
  87. package/dist/widget/ui/src/components/Radio/Radio.types.d.ts +1 -1
  88. package/dist/widget/ui/src/components/Radio/Radio.types.d.ts.map +1 -1
  89. package/dist/widget/ui/src/components/Radio/index.d.ts +1 -0
  90. package/dist/widget/ui/src/components/Radio/index.d.ts.map +1 -1
  91. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.d.ts +2 -2
  92. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  93. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.types.d.ts +4 -4
  94. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.types.d.ts.map +1 -1
  95. package/dist/widget/ui/src/components/RadioGroup/index.d.ts +1 -0
  96. package/dist/widget/ui/src/components/RadioGroup/index.d.ts.map +1 -1
  97. package/dist/widget/ui/src/components/Select/Select.d.ts +2 -2
  98. package/dist/widget/ui/src/components/Select/Select.d.ts.map +1 -1
  99. package/dist/widget/ui/src/components/Select/Select.types.d.ts +1 -1
  100. package/dist/widget/ui/src/components/Select/Select.types.d.ts.map +1 -1
  101. package/dist/widget/ui/src/components/Select/index.d.ts +1 -0
  102. package/dist/widget/ui/src/components/Select/index.d.ts.map +1 -1
  103. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts +2 -2
  104. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts.map +1 -1
  105. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.types.d.ts +1 -1
  106. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.types.d.ts.map +1 -1
  107. package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts +1 -0
  108. package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts.map +1 -1
  109. package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts +2 -2
  110. package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts.map +1 -1
  111. package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts +1 -1
  112. package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts.map +1 -1
  113. package/dist/widget/ui/src/components/Skeleton/index.d.ts +1 -0
  114. package/dist/widget/ui/src/components/Skeleton/index.d.ts.map +1 -1
  115. package/dist/widget/ui/src/components/Spinner/Spinner.d.ts +2 -2
  116. package/dist/widget/ui/src/components/Spinner/Spinner.d.ts.map +1 -1
  117. package/dist/widget/ui/src/components/Spinner/Spinner.types.d.ts +1 -1
  118. package/dist/widget/ui/src/components/Spinner/Spinner.types.d.ts.map +1 -1
  119. package/dist/widget/ui/src/components/Spinner/index.d.ts +1 -0
  120. package/dist/widget/ui/src/components/Spinner/index.d.ts.map +1 -1
  121. package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts +3 -3
  122. package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts.map +1 -1
  123. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.d.ts +2 -2
  124. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.d.ts.map +1 -1
  125. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.types.d.ts +1 -1
  126. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.types.d.ts.map +1 -1
  127. package/dist/widget/ui/src/components/SwapListItem/index.d.ts +1 -0
  128. package/dist/widget/ui/src/components/SwapListItem/index.d.ts.map +1 -1
  129. package/dist/widget/ui/src/components/Switch/Switch.d.ts +2 -2
  130. package/dist/widget/ui/src/components/Switch/Switch.d.ts.map +1 -1
  131. package/dist/widget/ui/src/components/Switch/Switch.types.d.ts +1 -1
  132. package/dist/widget/ui/src/components/Switch/Switch.types.d.ts.map +1 -1
  133. package/dist/widget/ui/src/components/Switch/index.d.ts +1 -0
  134. package/dist/widget/ui/src/components/Switch/index.d.ts.map +1 -1
  135. package/dist/widget/ui/src/components/Tabs/Tabs.d.ts +2 -2
  136. package/dist/widget/ui/src/components/Tabs/Tabs.d.ts.map +1 -1
  137. package/dist/widget/ui/src/components/Tabs/Tabs.types.d.ts +1 -1
  138. package/dist/widget/ui/src/components/Tabs/Tabs.types.d.ts.map +1 -1
  139. package/dist/widget/ui/src/components/Tabs/index.d.ts +1 -0
  140. package/dist/widget/ui/src/components/Tabs/index.d.ts.map +1 -1
  141. package/dist/widget/ui/src/components/TextField/TextField.d.ts.map +1 -1
  142. package/dist/widget/ui/src/components/TextField/TextField.types.d.ts +3 -3
  143. package/dist/widget/ui/src/components/TextField/TextField.types.d.ts.map +1 -1
  144. package/dist/widget/ui/src/components/TextField/index.d.ts +1 -0
  145. package/dist/widget/ui/src/components/TextField/index.d.ts.map +1 -1
  146. package/dist/widget/ui/src/components/Toast/Toast.Provider.d.ts.map +1 -1
  147. package/dist/widget/ui/src/components/Toast/Toast.d.ts +2 -2
  148. package/dist/widget/ui/src/components/Toast/Toast.d.ts.map +1 -1
  149. package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts +0 -162
  150. package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts.map +1 -1
  151. package/dist/widget/ui/src/components/Toast/Toast.types.d.ts +1 -1
  152. package/dist/widget/ui/src/components/Toast/Toast.types.d.ts.map +1 -1
  153. package/dist/widget/ui/src/components/Toast/index.d.ts +1 -0
  154. package/dist/widget/ui/src/components/Toast/index.d.ts.map +1 -1
  155. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.types.d.ts +5 -5
  156. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.types.d.ts.map +1 -1
  157. package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts +2 -2
  158. package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  159. package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts +1 -1
  160. package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts.map +1 -1
  161. package/dist/widget/ui/src/components/Tooltip/index.d.ts +1 -0
  162. package/dist/widget/ui/src/components/Tooltip/index.d.ts.map +1 -1
  163. package/dist/widget/ui/src/components/Typography/Typography.d.ts +2 -2
  164. package/dist/widget/ui/src/components/Typography/Typography.d.ts.map +1 -1
  165. package/dist/widget/ui/src/components/Typography/Typography.types.d.ts +1 -1
  166. package/dist/widget/ui/src/components/Typography/Typography.types.d.ts.map +1 -1
  167. package/dist/widget/ui/src/components/Typography/index.d.ts +1 -1
  168. package/dist/widget/ui/src/components/Typography/index.d.ts.map +1 -1
  169. package/dist/widget/ui/src/components/index.d.ts +1 -1
  170. package/dist/widget/ui/src/components/index.d.ts.map +1 -1
  171. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts +2 -10
  172. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts.map +1 -1
  173. package/dist/widget/ui/src/{components/Tabs/Tabs.stories.d.ts → containers/ConnectWalletsModal/ConnectWalletsModal.styles.d.ts} +2 -7
  174. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.styles.d.ts.map +1 -0
  175. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts +10 -0
  176. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts.map +1 -0
  177. package/dist/widget/ui/src/containers/ConnectWalletsModal/index.d.ts +1 -0
  178. package/dist/widget/ui/src/containers/ConnectWalletsModal/index.d.ts.map +1 -1
  179. package/dist/widget/ui/src/containers/ConnectWalletsModal/mockData.d.ts.map +1 -1
  180. package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts +2 -2
  181. package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts.map +1 -1
  182. package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts +1 -1
  183. package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts.map +1 -1
  184. package/dist/widget/ui/src/containers/SwapInput/index.d.ts +1 -0
  185. package/dist/widget/ui/src/containers/SwapInput/index.d.ts.map +1 -1
  186. package/package.json +3 -13
  187. package/src/components/Alert/Alert.helpers.ts +3 -3
  188. package/src/components/Alert/Alert.icon.tsx +2 -2
  189. package/src/components/Alert/Alert.tsx +2 -2
  190. package/src/components/Alert/Alert.types.ts +1 -1
  191. package/src/components/Alert/index.ts +1 -0
  192. package/src/components/Button/Button.tsx +2 -2
  193. package/src/components/Button/Button.types.tsx +1 -1
  194. package/src/components/Button/index.ts +1 -0
  195. package/src/components/ChainToken/ChainToken.constants.ts +2 -2
  196. package/src/components/ChainToken/ChainToken.tsx +2 -2
  197. package/src/components/ChainToken/ChainToken.types.ts +1 -1
  198. package/src/components/ChainToken/index.ts +1 -0
  199. package/src/components/Checkbox/Checkbox.tsx +2 -2
  200. package/src/components/Checkbox/Checkbox.types.ts +2 -1
  201. package/src/components/Checkbox/index.ts +1 -0
  202. package/src/components/Chip/Chip.tsx +2 -2
  203. package/src/components/Chip/Chip.types.ts +1 -1
  204. package/src/components/Chip/index.ts +1 -0
  205. package/src/components/Collapsible/Collapsible.tsx +2 -2
  206. package/src/components/Collapsible/Collapsible.types.ts +1 -1
  207. package/src/components/Collapsible/index.ts +1 -0
  208. package/src/components/FullExpandedQuote/FullExpandedQuote.types.ts +7 -7
  209. package/src/components/IconButton/IconButton.tsx +2 -2
  210. package/src/components/IconButton/IconButton.types.ts +2 -2
  211. package/src/components/IconButton/index.ts +1 -0
  212. package/src/components/List/List.types.ts +2 -2
  213. package/src/components/ListItem/ListItem.tsx +2 -2
  214. package/src/components/ListItem/ListItem.types.ts +1 -1
  215. package/src/components/ListItem/index.ts +1 -1
  216. package/src/components/ListItemButton/ListItemButton.types.ts +2 -2
  217. package/src/components/Modal/Modal.tsx +2 -2
  218. package/src/components/Modal/Modal.types.ts +1 -1
  219. package/src/components/Modal/index.ts +1 -1
  220. package/src/components/NotFound/NotFound.tsx +2 -2
  221. package/src/components/NotFound/NotFound.types.ts +1 -1
  222. package/src/components/NotFound/index.tsx +1 -0
  223. package/src/components/Popover/Popover.tsx +2 -2
  224. package/src/components/Popover/Popover.types.ts +1 -1
  225. package/src/components/Popover/index.ts +1 -0
  226. package/src/components/PriceImpact/PriceImpact.tsx +2 -2
  227. package/src/components/PriceImpact/PriceImpact.types.ts +2 -2
  228. package/src/components/PriceImpact/index.ts +4 -1
  229. package/src/components/Radio/Radio.tsx +2 -2
  230. package/src/components/Radio/Radio.types.tsx +1 -1
  231. package/src/components/Radio/index.ts +1 -0
  232. package/src/components/RadioGroup/RadioGroup.tsx +2 -2
  233. package/src/components/RadioGroup/RadioGroup.types.tsx +4 -4
  234. package/src/components/RadioGroup/index.ts +1 -0
  235. package/src/components/Select/Select.tsx +2 -2
  236. package/src/components/Select/Select.types.ts +1 -1
  237. package/src/components/Select/index.ts +1 -0
  238. package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +2 -2
  239. package/src/components/SelectableCategoryList/SelectableCategoryList.types.ts +1 -1
  240. package/src/components/SelectableCategoryList/index.ts +1 -0
  241. package/src/components/Skeleton/Skeleton.tsx +2 -2
  242. package/src/components/Skeleton/Skeleton.types.ts +1 -1
  243. package/src/components/Skeleton/index.ts +1 -0
  244. package/src/components/Spinner/Spinner.tsx +2 -2
  245. package/src/components/Spinner/Spinner.types.ts +1 -1
  246. package/src/components/Spinner/index.ts +1 -0
  247. package/src/components/StepDetails/StepDetails.types.ts +3 -3
  248. package/src/components/SwapListItem/SwapListItem.tsx +2 -2
  249. package/src/components/SwapListItem/SwapListItem.types.ts +1 -1
  250. package/src/components/SwapListItem/index.ts +4 -0
  251. package/src/components/Switch/Switch.tsx +2 -2
  252. package/src/components/Switch/Switch.types.tsx +1 -1
  253. package/src/components/Switch/index.ts +1 -0
  254. package/src/components/Tabs/Tabs.tsx +2 -2
  255. package/src/components/Tabs/Tabs.types.tsx +1 -1
  256. package/src/components/Tabs/index.ts +1 -0
  257. package/src/components/TextField/TextField.tsx +5 -2
  258. package/src/components/TextField/TextField.types.tsx +3 -3
  259. package/src/components/TextField/index.ts +1 -0
  260. package/src/components/Toast/Toast.Provider.tsx +12 -8
  261. package/src/components/Toast/Toast.styles.ts +0 -5
  262. package/src/components/Toast/Toast.tsx +2 -2
  263. package/src/components/Toast/Toast.types.ts +1 -1
  264. package/src/components/Toast/index.ts +1 -0
  265. package/src/components/TokenAmount/TokenAmount.types.ts +5 -5
  266. package/src/components/Tooltip/Tooltip.tsx +2 -2
  267. package/src/components/Tooltip/Tooltip.types.ts +1 -1
  268. package/src/components/Tooltip/index.ts +1 -0
  269. package/src/components/Typography/Typography.tsx +2 -2
  270. package/src/components/Typography/Typography.types.tsx +1 -1
  271. package/src/components/Typography/index.ts +1 -1
  272. package/src/components/index.ts +1 -1
  273. package/src/containers/ConnectWalletsModal/ConnectWalletsModal.styles.ts +8 -0
  274. package/src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx +3 -18
  275. package/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts +10 -0
  276. package/src/containers/ConnectWalletsModal/index.ts +1 -0
  277. package/src/containers/ConnectWalletsModal/mockData.ts +32 -16
  278. package/src/containers/SwapInput/SwapInput.tsx +2 -2
  279. package/src/containers/SwapInput/SwapInput.types.ts +1 -1
  280. package/src/containers/SwapInput/index.ts +1 -0
  281. package/dist/widget/ui/src/components/Alert/Alert.stories.d.ts +0 -9
  282. package/dist/widget/ui/src/components/Alert/Alert.stories.d.ts.map +0 -1
  283. package/dist/widget/ui/src/components/Button/Button.stories.d.ts +0 -10
  284. package/dist/widget/ui/src/components/Button/Button.stories.d.ts.map +0 -1
  285. package/dist/widget/ui/src/components/ChainToken/ChainToken.stories.d.ts +0 -8
  286. package/dist/widget/ui/src/components/ChainToken/ChainToken.stories.d.ts.map +0 -1
  287. package/dist/widget/ui/src/components/Checkbox/Checkbox.stories.d.ts +0 -8
  288. package/dist/widget/ui/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  289. package/dist/widget/ui/src/components/Chip/Chip.stories.d.ts +0 -32
  290. package/dist/widget/ui/src/components/Chip/Chip.stories.d.ts.map +0 -1
  291. package/dist/widget/ui/src/components/Collapsible/Collapsible.stories.d.ts +0 -22
  292. package/dist/widget/ui/src/components/Collapsible/Collapsible.stories.d.ts.map +0 -1
  293. package/dist/widget/ui/src/components/Flags/flags.stories.d.ts +0 -6
  294. package/dist/widget/ui/src/components/Flags/flags.stories.d.ts.map +0 -1
  295. package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.stories.d.ts +0 -7
  296. package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.stories.d.ts.map +0 -1
  297. package/dist/widget/ui/src/components/FullExpandedQuote/mock.d.ts +0 -7
  298. package/dist/widget/ui/src/components/FullExpandedQuote/mock.d.ts.map +0 -1
  299. package/dist/widget/ui/src/components/IconButton/IconButton.stories.d.ts +0 -8
  300. package/dist/widget/ui/src/components/IconButton/IconButton.stories.d.ts.map +0 -1
  301. package/dist/widget/ui/src/components/List/List.stories.d.ts +0 -12
  302. package/dist/widget/ui/src/components/List/List.stories.d.ts.map +0 -1
  303. package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.stories.d.ts +0 -7
  304. package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.stories.d.ts.map +0 -1
  305. package/dist/widget/ui/src/components/MessageBox/MessageBox.stories.d.ts +0 -7
  306. package/dist/widget/ui/src/components/MessageBox/MessageBox.stories.d.ts.map +0 -1
  307. package/dist/widget/ui/src/components/Modal/Modal.stories.d.ts +0 -8
  308. package/dist/widget/ui/src/components/Modal/Modal.stories.d.ts.map +0 -1
  309. package/dist/widget/ui/src/components/NotFound/NotFound.stories.d.ts +0 -6
  310. package/dist/widget/ui/src/components/NotFound/NotFound.stories.d.ts.map +0 -1
  311. package/dist/widget/ui/src/components/Popover/Popover.stories.d.ts +0 -10
  312. package/dist/widget/ui/src/components/Popover/Popover.stories.d.ts.map +0 -1
  313. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.stories.d.ts +0 -8
  314. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.stories.d.ts.map +0 -1
  315. package/dist/widget/ui/src/components/Radio/Radio.stories.d.ts +0 -6
  316. package/dist/widget/ui/src/components/Radio/Radio.stories.d.ts.map +0 -1
  317. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.stories.d.ts +0 -6
  318. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.stories.d.ts.map +0 -1
  319. package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.stories.d.ts +0 -12
  320. package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.stories.d.ts.map +0 -1
  321. package/dist/widget/ui/src/components/Select/Select.stories.d.ts +0 -6
  322. package/dist/widget/ui/src/components/Select/Select.stories.d.ts.map +0 -1
  323. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.stories.d.ts +0 -6
  324. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.stories.d.ts.map +0 -1
  325. package/dist/widget/ui/src/components/SelectableCategoryList/mock.d.ts +0 -139
  326. package/dist/widget/ui/src/components/SelectableCategoryList/mock.d.ts.map +0 -1
  327. package/dist/widget/ui/src/components/Skeleton/Skeleton.stories.d.ts +0 -6
  328. package/dist/widget/ui/src/components/Skeleton/Skeleton.stories.d.ts.map +0 -1
  329. package/dist/widget/ui/src/components/Spinner/Spinner.stories.d.ts +0 -6
  330. package/dist/widget/ui/src/components/Spinner/Spinner.stories.d.ts.map +0 -1
  331. package/dist/widget/ui/src/components/StepDetails/StepDetails.stories.d.ts +0 -7
  332. package/dist/widget/ui/src/components/StepDetails/StepDetails.stories.d.ts.map +0 -1
  333. package/dist/widget/ui/src/components/StepDetails/mock.d.ts +0 -3
  334. package/dist/widget/ui/src/components/StepDetails/mock.d.ts.map +0 -1
  335. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.stories.d.ts +0 -6
  336. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.stories.d.ts.map +0 -1
  337. package/dist/widget/ui/src/components/SwapListItem/mock.d.ts +0 -5
  338. package/dist/widget/ui/src/components/SwapListItem/mock.d.ts.map +0 -1
  339. package/dist/widget/ui/src/components/Switch/Switch.stories.d.ts +0 -6
  340. package/dist/widget/ui/src/components/Switch/Switch.stories.d.ts.map +0 -1
  341. package/dist/widget/ui/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
  342. package/dist/widget/ui/src/components/Tabs/mock.d.ts +0 -7
  343. package/dist/widget/ui/src/components/Tabs/mock.d.ts.map +0 -1
  344. package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts +0 -18
  345. package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts.map +0 -1
  346. package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts +0 -8
  347. package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts.map +0 -1
  348. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.stories.d.ts +0 -7
  349. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.stories.d.ts.map +0 -1
  350. package/dist/widget/ui/src/components/Tooltip/Tooltip.stories.d.ts +0 -8
  351. package/dist/widget/ui/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  352. package/dist/widget/ui/src/components/Typography/Typography.stories.d.ts +0 -33
  353. package/dist/widget/ui/src/components/Typography/Typography.stories.d.ts.map +0 -1
  354. package/dist/widget/ui/src/components/Wallet/ClickableWallet.stories.d.ts +0 -7
  355. package/dist/widget/ui/src/components/Wallet/ClickableWallet.stories.d.ts.map +0 -1
  356. package/dist/widget/ui/src/components/Wallet/SelectableWallet.stories.d.ts +0 -7
  357. package/dist/widget/ui/src/components/Wallet/SelectableWallet.stories.d.ts.map +0 -1
  358. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts +0 -6
  359. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts.map +0 -1
  360. package/dist/widget/ui/src/containers/SwapInput/SwapInput.stories.d.ts +0 -9
  361. package/dist/widget/ui/src/containers/SwapInput/SwapInput.stories.d.ts.map +0 -1
  362. package/dist/widget/ui/src/icons/Icons.stories.d.ts +0 -6
  363. package/dist/widget/ui/src/icons/Icons.stories.d.ts.map +0 -1
  364. package/src/components/Alert/Alert.stories.tsx +0 -47
  365. package/src/components/Button/Button.stories.tsx +0 -36
  366. package/src/components/ChainToken/ChainToken.stories.tsx +0 -20
  367. package/src/components/Checkbox/Checkbox.stories.tsx +0 -33
  368. package/src/components/Chip/Chip.stories.tsx +0 -54
  369. package/src/components/Collapsible/Collapsible.stories.tsx +0 -47
  370. package/src/components/Flags/flags.stories.tsx +0 -67
  371. package/src/components/FullExpandedQuote/FullExpandedQuote.stories.tsx +0 -29
  372. package/src/components/FullExpandedQuote/mock.tsx +0 -449
  373. package/src/components/IconButton/IconButton.stories.tsx +0 -20
  374. package/src/components/List/List.stories.tsx +0 -181
  375. package/src/components/MessageBox/CollapsibleMessageBox.stories.tsx +0 -27
  376. package/src/components/MessageBox/MessageBox.stories.tsx +0 -18
  377. package/src/components/Modal/Modal.stories.tsx +0 -33
  378. package/src/components/NotFound/NotFound.stories.tsx +0 -17
  379. package/src/components/Popover/Popover.stories.tsx +0 -63
  380. package/src/components/PriceImpact/PriceImpact.stories.tsx +0 -21
  381. package/src/components/Radio/Radio.stories.tsx +0 -21
  382. package/src/components/RadioGroup/RadioGroup.stories.tsx +0 -31
  383. package/src/components/RefreshProgressButton/RefreshProgressButton.stories.tsx +0 -20
  384. package/src/components/Select/Select.stories.tsx +0 -41
  385. package/src/components/SelectableCategoryList/SelectableCategoryList.stories.tsx +0 -27
  386. package/src/components/SelectableCategoryList/mock.ts +0 -235
  387. package/src/components/Skeleton/Skeleton.stories.tsx +0 -52
  388. package/src/components/Spinner/Spinner.stories.tsx +0 -33
  389. package/src/components/StepDetails/StepDetails.stories.tsx +0 -23
  390. package/src/components/StepDetails/mock.ts +0 -35
  391. package/src/components/SwapListItem/SwapListItem.stories.tsx +0 -32
  392. package/src/components/SwapListItem/mock.ts +0 -321
  393. package/src/components/Switch/Switch.stories.tsx +0 -12
  394. package/src/components/Tabs/Tabs.stories.tsx +0 -40
  395. package/src/components/Tabs/mock.tsx +0 -34
  396. package/src/components/TextField/TextField.stories.tsx +0 -40
  397. package/src/components/Toast/Toast.stories.tsx +0 -68
  398. package/src/components/TokenAmount/TokenAmount.stories.tsx +0 -24
  399. package/src/components/Tooltip/Tooltip.stories.tsx +0 -43
  400. package/src/components/Typography/Typography.stories.tsx +0 -125
  401. package/src/components/Wallet/ClickableWallet.stories.tsx +0 -23
  402. package/src/components/Wallet/SelectableWallet.stories.tsx +0 -23
  403. package/src/containers/ConnectWalletsModal/ConnectWallets.stories.tsx +0 -24
  404. package/src/containers/SwapInput/SwapInput.stories.tsx +0 -40
  405. package/src/icons/Icons.stories.tsx +0 -68
@@ -21,7 +21,7 @@ type BaseProps = Stitches.VariantProps<typeof Tabs>;
21
21
  type BaseType = Exclude<BaseProps['type'], object>;
22
22
  type BaseBorderRadius = Exclude<BaseProps['borderRadius'], object>;
23
23
 
24
- export interface PropTypes {
24
+ export interface TabsPropTypes {
25
25
  items: Item[];
26
26
  container?: HTMLElement;
27
27
  onChange: (item: Item) => void;
@@ -1 +1,2 @@
1
1
  export { TabsComponent as Tabs } from './Tabs';
2
+ export type { TabsPropTypes } from './Tabs.types';
@@ -1,4 +1,4 @@
1
- import type { PropTypes, Ref } from './TextField.types';
1
+ import type { Ref, TextFieldPropTypes } from './TextField.types';
2
2
  import type { PropsWithChildren } from 'react';
3
3
 
4
4
  import React from 'react';
@@ -8,7 +8,10 @@ import { Typography } from '../Typography';
8
8
 
9
9
  import { Input, InputContainer, Label } from './TextField.styles';
10
10
 
11
- function TextFieldComponent(props: PropsWithChildren<PropTypes>, ref?: Ref) {
11
+ function TextFieldComponent(
12
+ props: PropsWithChildren<TextFieldPropTypes>,
13
+ ref?: Ref
14
+ ) {
12
15
  const {
13
16
  label,
14
17
  prefix,
@@ -1,5 +1,5 @@
1
1
  import type { InputContainer } from './TextField.styles';
2
- import type { PropTypes as TypographyProps } from '../Typography/Typography.types';
2
+ import type { TypographyPropTypes } from '../Typography';
3
3
  import type * as Stitches from '@stitches/react';
4
4
 
5
5
  type BaseProps = Stitches.VariantProps<typeof InputContainer>;
@@ -12,12 +12,12 @@ export type Ref =
12
12
  | null
13
13
  | undefined;
14
14
 
15
- export type PropTypes = {
15
+ export type TextFieldPropTypes = {
16
16
  label?: string | React.ReactNode;
17
17
  prefix?: React.ReactNode;
18
18
  suffix?: React.ReactNode;
19
19
  size?: BaseSizes;
20
20
  variant?: BaseVariants;
21
21
  fullWidth?: boolean;
22
- labelProps?: TypographyProps;
22
+ labelProps?: TypographyPropTypes;
23
23
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'prefix' | 'size'>;
@@ -1 +1,2 @@
1
1
  export { TextField } from './TextField';
2
+ export type { TextFieldPropTypes } from './TextField.types';
@@ -2,7 +2,7 @@ import type {
2
2
  ProviderContext,
3
3
  ProviderPropTypes,
4
4
  ToastPosition,
5
- ToastProps,
5
+ ToastPropTypes,
6
6
  ToastType,
7
7
  } from './Toast.types';
8
8
  import type { PropsWithChildren } from 'react';
@@ -17,7 +17,7 @@ import { ToastContainer } from './Toast.styles';
17
17
  const ToastContext = createContext<ProviderContext | undefined>(undefined);
18
18
 
19
19
  const renderToastContainer = (
20
- toasts: ToastProps[],
20
+ toasts: ToastPropTypes[],
21
21
  position: ToastPosition
22
22
  ) => (
23
23
  <>
@@ -35,14 +35,18 @@ export const ToastProvider = (props: PropsWithChildren<ProviderPropTypes>) => {
35
35
  const generateId = useMemo(() => idGenerator(), []);
36
36
 
37
37
  const { children, container } = props;
38
- const [leftTopToasts, setLeftTopToasts] = useState<ToastProps[]>([]);
39
- const [leftBottomToasts, setLeftBottomToasts] = useState<ToastProps[]>([]);
40
- const [rightTopToasts, setRightTopToasts] = useState<ToastProps[]>([]);
41
- const [rightBottomToasts, setRightBottomToasts] = useState<ToastProps[]>([]);
42
- const [centerTopToasts, setCenterTopToasts] = useState<ToastProps[]>([]);
43
- const [centerBottomToasts, setCenterBottomToasts] = useState<ToastProps[]>(
38
+ const [leftTopToasts, setLeftTopToasts] = useState<ToastPropTypes[]>([]);
39
+ const [leftBottomToasts, setLeftBottomToasts] = useState<ToastPropTypes[]>(
44
40
  []
45
41
  );
42
+ const [rightTopToasts, setRightTopToasts] = useState<ToastPropTypes[]>([]);
43
+ const [rightBottomToasts, setRightBottomToasts] = useState<ToastPropTypes[]>(
44
+ []
45
+ );
46
+ const [centerTopToasts, setCenterTopToasts] = useState<ToastPropTypes[]>([]);
47
+ const [centerBottomToasts, setCenterBottomToasts] = useState<
48
+ ToastPropTypes[]
49
+ >([]);
46
50
 
47
51
  const getToastSetter = (position: ToastPosition) => {
48
52
  switch (position) {
@@ -346,8 +346,3 @@ export const StyledTypography = styled(Typography, {
346
346
  },
347
347
  },
348
348
  });
349
-
350
- export const ToastStoryContainer = styled('div', {
351
- display: 'flex',
352
- alignItems: 'center',
353
- });
@@ -1,4 +1,4 @@
1
- import type { ToastProps } from './Toast.types';
1
+ import type { ToastPropTypes } from './Toast.types';
2
2
 
3
3
  import React, { useEffect, useState } from 'react';
4
4
 
@@ -19,7 +19,7 @@ import {
19
19
  toastContentStyles,
20
20
  } from './Toast.styles';
21
21
 
22
- export const Toast = (props: ToastProps) => {
22
+ export const Toast = (props: ToastPropTypes) => {
23
23
  const {
24
24
  id,
25
25
  autoHideDuration,
@@ -23,7 +23,7 @@ export type ToastType = {
23
23
  variant?: 'custom' | 'standard';
24
24
  };
25
25
 
26
- export type ToastProps = ToastType & {
26
+ export type ToastPropTypes = ToastType & {
27
27
  id: number | string;
28
28
  };
29
29
 
@@ -1,2 +1,3 @@
1
1
  export { Toast } from './Toast';
2
2
  export { ToastProvider, useToast } from './Toast.Provider';
3
+ export type { ToastPropTypes } from './Toast.types';
@@ -1,8 +1,8 @@
1
- import type { SwapInputProps } from '../../containers/SwapInput/SwapInput.types';
2
- import type { PriceImpactProps } from '../PriceImpact/PriceImpact.types';
1
+ import type { SwapInputPropTypes } from '../../containers/SwapInput/SwapInput.types';
2
+ import type { PriceImpactPropTypes } from '../PriceImpact/PriceImpact.types';
3
3
 
4
- type BaseProps = Pick<SwapInputProps, 'token' | 'price'> & {
5
- chain: Pick<SwapInputProps['chain'], 'image'>;
4
+ type BaseProps = Pick<SwapInputPropTypes, 'token' | 'price'> & {
5
+ chain: Pick<SwapInputPropTypes['chain'], 'image'>;
6
6
  direction?: 'vertical' | 'horizontal';
7
7
  centerAlign?: boolean;
8
8
  label?: string;
@@ -12,7 +12,7 @@ type BaseProps = Pick<SwapInputProps, 'token' | 'price'> & {
12
12
  type InputAmountProps = { type: 'input' };
13
13
 
14
14
  type OutputAmountProps = Pick<
15
- PriceImpactProps,
15
+ PriceImpactPropTypes,
16
16
  'percentageChange' | 'warningLevel'
17
17
  > & {
18
18
  type: 'output';
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './Tooltip.types';
1
+ import type { TooltipPropTypes } from './Tooltip.types';
2
2
  import type { PropsWithChildren } from 'react';
3
3
 
4
4
  import * as RadixTooltip from '@radix-ui/react-tooltip';
@@ -10,7 +10,7 @@ import {
10
10
  TriggerContent,
11
11
  } from './Tooltip.styles';
12
12
 
13
- export function Tooltip(props: PropsWithChildren<PropTypes>) {
13
+ export function Tooltip(props: PropsWithChildren<TooltipPropTypes>) {
14
14
  const {
15
15
  children,
16
16
  content,
@@ -5,7 +5,7 @@ import type { ComponentProps, ReactNode } from 'react';
5
5
 
6
6
  type RadixTooltipContentProps = ComponentProps<typeof RadixTooltip.Content>;
7
7
 
8
- export interface PropTypes {
8
+ export interface TooltipPropTypes {
9
9
  content: ReactNode;
10
10
  side?: RadixTooltipContentProps['side'];
11
11
  color?: 'primary' | 'error' | 'warning' | 'success';
@@ -1 +1,2 @@
1
1
  export { Tooltip } from './Tooltip';
2
+ export type { TooltipPropTypes } from './Tooltip.types';
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './Typography.types';
1
+ import type { TypographyPropTypes } from './Typography.types';
2
2
  import type { PropsWithChildren } from 'react';
3
3
 
4
4
  import React from 'react';
@@ -10,7 +10,7 @@ export function Typography({
10
10
  className,
11
11
  color,
12
12
  ...props
13
- }: PropsWithChildren<PropTypes>) {
13
+ }: PropsWithChildren<TypographyPropTypes>) {
14
14
  const customCss = color
15
15
  ? {
16
16
  color: color.startsWith('$') ? color : `$${color}`,
@@ -6,7 +6,7 @@ type BaseSizes = Exclude<BaseProps['size'], object>;
6
6
  type BaseVariants = Exclude<BaseProps['variant'], object>;
7
7
  export type BaseAlign = Exclude<BaseProps['align'], object>;
8
8
 
9
- export interface PropTypes {
9
+ export interface TypographyPropTypes {
10
10
  variant: BaseVariants;
11
11
  size: BaseSizes;
12
12
  align?: BaseAlign;
@@ -1,3 +1,3 @@
1
1
  export { Typography } from './Typography';
2
2
  export { NotSelectableTypography } from './NotSelectableTypography';
3
- export type { PropTypes as TypographyPropTypes } from './Typography.types';
3
+ export type { TypographyPropTypes } from './Typography.types';
@@ -43,4 +43,4 @@ export * from './Flags';
43
43
  export * from './Select';
44
44
  export * from './QuoteTag';
45
45
  export * from './Tabs';
46
- export type { SvgIconProps } from './SvgIcon';
46
+ export type { SvgIconProps, SvgIconPropsWithChildren } from './SvgIcon';
@@ -0,0 +1,8 @@
1
+ import { styled } from '../../theme';
2
+
3
+ export const ModalContent = styled('div', {
4
+ display: 'grid',
5
+ gap: '$8',
6
+ gridTemplateColumns: 'repeat(2, minmax(0, 1fr))',
7
+ overflow: 'auto',
8
+ });
@@ -1,28 +1,13 @@
1
- import type { WalletInfo } from '../../components';
2
- import type { WalletType } from '@rango-dev/wallets-shared';
1
+ import type { ConnectWalletsModalPropTypes } from './ConnectWalletsModal.types';
3
2
 
4
3
  import { i18n } from '@lingui/core';
5
4
  import React from 'react';
6
5
 
7
6
  import { Modal, Wallet } from '../../components';
8
- import { styled } from '../../theme';
9
7
 
10
- export interface PropTypes {
11
- open: boolean;
12
- list: WalletInfo[];
13
- onSelect: (walletType: WalletType) => void;
14
- onClose: () => void;
15
- error?: string;
16
- }
17
-
18
- const ModalContent = styled('div', {
19
- display: 'grid',
20
- gap: '$8',
21
- gridTemplateColumns: 'repeat(2, minmax(0, 1fr))',
22
- overflow: 'auto',
23
- });
8
+ import { ModalContent } from './ConnectWalletsModal.styles';
24
9
 
25
- export function ConnectWalletsModal(props: PropTypes) {
10
+ export function ConnectWalletsModal(props: ConnectWalletsModalPropTypes) {
26
11
  const { open, list, onSelect, onClose } = props;
27
12
 
28
13
  return (
@@ -0,0 +1,10 @@
1
+ import type { WalletInfo } from '../../components';
2
+ import type { WalletType } from '@rango-dev/wallets-shared';
3
+
4
+ export interface ConnectWalletsModalPropTypes {
5
+ open: boolean;
6
+ list: WalletInfo[];
7
+ onSelect: (walletType: WalletType) => void;
8
+ onClose: () => void;
9
+ error?: string;
10
+ }
@@ -1 +1,2 @@
1
1
  export { ConnectWalletsModal } from './ConnectWalletsModal';
2
+ export type { ConnectWalletsModalPropTypes } from './ConnectWalletsModal.types';
@@ -6,28 +6,32 @@ import { WalletState } from '../../components';
6
6
 
7
7
  export const walletsInfo: WalletInfo[] = [
8
8
  {
9
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
9
+ image:
10
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
10
11
  title: 'Coinbase',
11
12
  state: WalletState.DISCONNECTED,
12
13
  link: '',
13
14
  type: WalletTypes.COINBASE,
14
15
  },
15
16
  {
16
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
17
+ image:
18
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
17
19
  title: 'Coinbase',
18
20
  state: WalletState.CONNECTED,
19
21
  link: '',
20
22
  type: WalletTypes.COINBASE,
21
23
  },
22
24
  {
23
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
25
+ image:
26
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
24
27
  title: 'Coinbase',
25
28
  state: WalletState.CONNECTING,
26
29
  link: '',
27
30
  type: WalletTypes.COINBASE,
28
31
  },
29
32
  {
30
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
33
+ image:
34
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
31
35
  title: 'Coinbase',
32
36
  state: WalletState.NOT_INSTALLED,
33
37
  type: WalletTypes.COINBASE,
@@ -35,84 +39,96 @@ export const walletsInfo: WalletInfo[] = [
35
39
  link: 'https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad?hl=en',
36
40
  },
37
41
  {
38
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
42
+ image:
43
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
39
44
  title: 'Coinbase',
40
45
  state: WalletState.DISCONNECTED,
41
46
  link: '',
42
47
  type: WalletTypes.COINBASE,
43
48
  },
44
49
  {
45
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
50
+ image:
51
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
46
52
  title: 'Coinbase',
47
53
  state: WalletState.CONNECTED,
48
54
  link: '',
49
55
  type: WalletTypes.COINBASE,
50
56
  },
51
57
  {
52
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
58
+ image:
59
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
53
60
  title: 'Coinbase',
54
61
  state: WalletState.DISCONNECTED,
55
62
  link: '',
56
63
  type: WalletTypes.COINBASE,
57
64
  },
58
65
  {
59
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
66
+ image:
67
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
60
68
  title: 'Coinbase',
61
69
  state: WalletState.DISCONNECTED,
62
70
  link: '',
63
71
  type: WalletTypes.COINBASE,
64
72
  },
65
73
  {
66
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
74
+ image:
75
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
67
76
  title: 'Coinbase',
68
77
  state: WalletState.DISCONNECTED,
69
78
  link: '',
70
79
  type: WalletTypes.COINBASE,
71
80
  },
72
81
  {
73
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
82
+ image:
83
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
74
84
  title: 'Coinbase',
75
85
  state: WalletState.DISCONNECTED,
76
86
  link: '',
77
87
  type: WalletTypes.COINBASE,
78
88
  },
79
89
  {
80
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
90
+ image:
91
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
81
92
  title: 'Coinbase',
82
93
  state: WalletState.DISCONNECTED,
83
94
  link: '',
84
95
  type: WalletTypes.COINBASE,
85
96
  },
86
97
  {
87
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
98
+ image:
99
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
88
100
  title: 'Coinbase',
89
101
  state: WalletState.DISCONNECTED,
90
102
  link: '',
91
103
  type: WalletTypes.COINBASE,
92
104
  },
93
105
  {
94
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
106
+ image:
107
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
95
108
  title: 'Coinbase',
96
109
  state: WalletState.DISCONNECTED,
97
110
  link: '',
98
111
  type: WalletTypes.COINBASE,
99
112
  },
100
113
  {
101
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
114
+ image:
115
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
102
116
  title: 'Coinbase',
103
117
  state: WalletState.DISCONNECTED,
104
118
  link: '',
105
119
  type: WalletTypes.COINBASE,
106
120
  },
107
121
  {
108
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
122
+ image:
123
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
109
124
  title: 'Coinbase',
110
125
  state: WalletState.DISCONNECTED,
111
126
  link: '',
112
127
  type: WalletTypes.COINBASE,
113
128
  },
114
129
  {
115
- image: 'https://app.rango.exchange/wallets/coinbase.svg',
130
+ image:
131
+ 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/coinbase/icon.svg',
116
132
  title: 'Coinbase',
117
133
  state: WalletState.DISCONNECTED,
118
134
  link: '',
@@ -1,4 +1,4 @@
1
- import type { SwapInputProps } from './SwapInput.types';
1
+ import type { SwapInputPropTypes } from './SwapInput.types';
2
2
 
3
3
  import { i18n } from '@lingui/core';
4
4
  import React from 'react';
@@ -27,7 +27,7 @@ import {
27
27
  } from './SwapInput.styles';
28
28
  import { TokenSection } from './TokenSection';
29
29
 
30
- export function SwapInput(props: SwapInputProps) {
30
+ export function SwapInput(props: SwapInputPropTypes) {
31
31
  const showBalance =
32
32
  'balance' in props && !props.loading && !props.loadingBalance;
33
33
  const showBalanceSkeleton =
@@ -40,4 +40,4 @@ type ToProps = {
40
40
  warningLevel: PriceImpactWarningLevel;
41
41
  };
42
42
 
43
- export type SwapInputProps = BaseProps & (FromProps | ToProps);
43
+ export type SwapInputPropTypes = BaseProps & (FromProps | ToProps);
@@ -1 +1,2 @@
1
1
  export { SwapInput } from './SwapInput';
2
+ export type { SwapInputPropTypes } from './SwapInput.types';
@@ -1,9 +0,0 @@
1
- import type { PropTypes } from './Alert.types';
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
- }>;
6
- export default _default;
7
- export declare const Main: (args: PropTypes) => React.JSX.Element;
8
- export declare const WithoutFooter: (args: PropTypes) => React.JSX.Element;
9
- //# sourceMappingURL=Alert.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Alert.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Alert/Alert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG/C,OAAO,KAAK,MAAM,OAAO,CAAC;;;;AAI1B,wBAyBwB;AAExB,eAAO,MAAM,IAAI,SAAU,SAAS,sBAOnC,CAAC;AACF,eAAO,MAAM,aAAa,SAAU,SAAS,sBAI5C,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { PropTypes } from './Button.types';
2
- import type { Meta } from '@storybook/react';
3
- import React from 'react';
4
- import { Button } from './Button';
5
- declare const meta: Meta<typeof Button>;
6
- export default meta;
7
- export declare const Main: (props: PropTypes) => React.JSX.Element;
8
- export declare const WithPrefix: (args: PropTypes) => React.JSX.Element;
9
- export declare const WithSuffix: (args: PropTypes) => React.JSX.Element;
10
- //# sourceMappingURL=Button.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAE7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,IAAI,UAAW,SAAS,sBAEpC,CAAC;AAEF,eAAO,MAAM,UAAU,SAAU,SAAS,sBAQzC,CAAC;AAEF,eAAO,MAAM,UAAU,SAAU,SAAS,sBAMzC,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { PropTypes } from './ChainToken.types';
2
- import type { Meta } from '@storybook/react';
3
- import React from 'react';
4
- import { ChainToken } from './ChainToken';
5
- declare const meta: Meta<typeof ChainToken>;
6
- export default meta;
7
- export declare const Main: (args: PropTypes) => React.JSX.Element;
8
- //# sourceMappingURL=ChainToken.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChainToken.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChainToken/ChainToken.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAQjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,IAAI,SAAU,SAAS,sBAA6B,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { PropTypes } from './Checkbox.types';
2
- import type { Meta } from '@storybook/react';
3
- import React from 'react';
4
- import { Checkbox } from './Checkbox';
5
- declare const meta: Meta<typeof Checkbox>;
6
- export default meta;
7
- export declare const Main: (props: PropTypes) => React.JSX.Element;
8
- //# sourceMappingURL=Checkbox.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAmB/B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,IAAI,UAAW,SAAS,sBAEpC,CAAC"}
@@ -1,32 +0,0 @@
1
- import type { PropTypes } from './Chip.types';
2
- import React from 'react';
3
- import { Chip } from './Chip';
4
- declare const _default: {
5
- title: string;
6
- component: typeof Chip;
7
- args: {
8
- label: string;
9
- selected: boolean;
10
- };
11
- argTypes: {
12
- label: {
13
- name: string;
14
- defaultValue: string;
15
- control: {
16
- type: string;
17
- };
18
- };
19
- selected: {
20
- name: string;
21
- control: {
22
- type: string;
23
- };
24
- defaultValue: boolean;
25
- };
26
- };
27
- };
28
- export default _default;
29
- export declare const Main: (args: PropTypes) => React.JSX.Element;
30
- export declare const ChipWithPrefix: (args: PropTypes) => React.JSX.Element;
31
- export declare const ChipWithSuffix: (args: PropTypes) => React.JSX.Element;
32
- //# sourceMappingURL=Chip.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Chip.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Chip/Chip.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;AAE9B,wBAqBE;AAEF,eAAO,MAAM,IAAI,SAAU,SAAS,sBAAuB,CAAC;AAE5D,eAAO,MAAM,cAAc,SAAU,SAAS,sBAU7C,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU,SAAS,sBAU7C,CAAC"}
@@ -1,22 +0,0 @@
1
- import type { CollapsibleProps } from './Collapsible.types';
2
- import React from 'react';
3
- import { CollapsibleComponent as Collapsible } from './Collapsible';
4
- declare const _default: {
5
- title: string;
6
- component: typeof Collapsible;
7
- args: {
8
- open: boolean;
9
- };
10
- argTypes: {
11
- open: {
12
- name: string;
13
- defaultValue: boolean;
14
- control: {
15
- type: string;
16
- };
17
- };
18
- };
19
- };
20
- export default _default;
21
- export declare const Main: (args: CollapsibleProps) => React.JSX.Element;
22
- //# sourceMappingURL=Collapsible.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Collapsible.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collapsible/Collapsible.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAE,oBAAoB,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;AAEpE,wBAaE;AAEF,eAAO,MAAM,IAAI,SAAU,gBAAgB,sBAqB1C,CAAC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import * as Flags from '.';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, any>;
4
- export default _default;
5
- export declare const Main: (props: Flags.FlagPropTypes) => React.JSX.Element;
6
- //# sourceMappingURL=flags.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flags.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Flags/flags.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,KAAK,MAAM,GAAG,CAAC;;AAE3B,wBAgCe;AAQf,eAAO,MAAM,IAAI,UAAW,MAAM,aAAa,sBAiB9C,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { FullExpandedQuote } from './FullExpandedQuote';
3
- declare const meta: Meta<typeof FullExpandedQuote>;
4
- export default meta;
5
- type Story = StoryObj<typeof FullExpandedQuote>;
6
- export declare const Main: Story;
7
- //# sourceMappingURL=FullExpandedQuote.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FullExpandedQuote.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FullExpandedQuote/FullExpandedQuote.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAExC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,IAAI,EAAE,KAgBlB,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Step } from '../StepDetails/StepDetails.types';
2
- export declare const steps: Step[];
3
- export declare const tags: {
4
- value: string;
5
- label: string;
6
- }[];
7
- //# sourceMappingURL=mock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FullExpandedQuote/mock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAM7D,eAAO,MAAM,KAAK,EAAE,IAAI,EAmavB,CAAC;AAEF,eAAO,MAAM,IAAI;;;GAqBhB,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { PropTypes } from './IconButton.types';
2
- import type { Meta } from '@storybook/react';
3
- import React from 'react';
4
- import { IconButton } from './IconButton';
5
- declare const meta: Meta<typeof IconButton>;
6
- export default meta;
7
- export declare const Main: (props: PropTypes) => React.JSX.Element;
8
- //# sourceMappingURL=IconButton.stories.d.ts.map