@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
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './ChainToken.types';
1
+ import type { ChainTokenPropTypes } from './ChainToken.types';
2
2
 
3
3
  import React from 'react';
4
4
 
@@ -8,7 +8,7 @@ import { Skeleton } from '../Skeleton';
8
8
  import { tokenChainSizeMap } from './ChainToken.constants';
9
9
  import { ChainImageContainer, Container } from './ChainToken.styles';
10
10
 
11
- export const ChainToken: React.FC<PropTypes> = (props) => {
11
+ export const ChainToken: React.FC<ChainTokenPropTypes> = (props) => {
12
12
  const {
13
13
  tokenImage,
14
14
  chainImage,
@@ -4,7 +4,7 @@ import type * as Stitches from '@stitches/react';
4
4
  type BaseProps = Stitches.VariantProps<typeof ChainImageContainer>;
5
5
  type BaseSizes = Exclude<BaseProps['size'], object>;
6
6
 
7
- export type PropTypes = {
7
+ export type ChainTokenPropTypes = {
8
8
  tokenImage: string;
9
9
  chainImage: string;
10
10
  chianImageId?: string;
@@ -1 +1,2 @@
1
1
  export { ChainToken } from './ChainToken';
2
+ export type { ChainTokenPropTypes } from './ChainToken.types';
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './Checkbox.types';
1
+ import type { CheckboxPropTypes } from './Checkbox.types';
2
2
  import type { PropsWithChildren } from 'react';
3
3
 
4
4
  import React from 'react';
@@ -13,7 +13,7 @@ import {
13
13
  Label,
14
14
  } from './Checkbox.styles';
15
15
 
16
- export function Checkbox(props: PropsWithChildren<PropTypes>) {
16
+ export function Checkbox(props: PropsWithChildren<CheckboxPropTypes>) {
17
17
  const { id, label, ...otherProps } = props;
18
18
  const hasLabel = id && label;
19
19
  return (
@@ -14,4 +14,5 @@ interface ComponentProps {
14
14
  label?: never;
15
15
  }
16
16
 
17
- export type PropTypes = RadixCheckboxProps & (ComponentProps | WithLabelProps);
17
+ export type CheckboxPropTypes = RadixCheckboxProps &
18
+ (ComponentProps | WithLabelProps);
@@ -1 +1,2 @@
1
1
  export { Checkbox } from './Checkbox';
2
+ export type { CheckboxPropTypes } from './Checkbox.types';
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './Chip.types';
1
+ import type { ChipPropTypes } from './Chip.types';
2
2
 
3
3
  import React from 'react';
4
4
 
@@ -6,7 +6,7 @@ import { Typography } from '../Typography';
6
6
 
7
7
  import { ChipContainer } from './Chip.styles';
8
8
 
9
- export function Chip(props: PropTypes) {
9
+ export function Chip(props: ChipPropTypes) {
10
10
  const { label, selected, prefix, suffix, ...otherProps } = props;
11
11
  return (
12
12
  <ChipContainer selected={selected} {...otherProps}>
@@ -12,4 +12,4 @@ interface ChipProps {
12
12
  suffix?: ReactNode;
13
13
  }
14
14
 
15
- export type PropTypes = ButtonElement & ChipProps;
15
+ export type ChipPropTypes = ButtonElement & ChipProps;
@@ -1 +1,2 @@
1
1
  export { Chip } from './Chip';
2
+ export type { ChipPropTypes } from './Chip.types';
@@ -1,4 +1,4 @@
1
- import type { CollapsibleProps } from './Collapsible.types';
1
+ import type { CollapsiblePropTypes } from './Collapsible.types';
2
2
  import type { PropsWithChildren } from 'react';
3
3
 
4
4
  import * as Collapsible from '@radix-ui/react-collapsible';
@@ -9,7 +9,7 @@ import { CollapsibleContent } from '../common/styles';
9
9
  import { Trigger } from './Collapsible.styles';
10
10
 
11
11
  export function CollapsibleComponent(
12
- props: PropsWithChildren<CollapsibleProps>
12
+ props: PropsWithChildren<CollapsiblePropTypes>
13
13
  ) {
14
14
  const { open, onOpenChange, trigger, children, ...otherProps } = props;
15
15
  return (
@@ -1,6 +1,6 @@
1
1
  import type React from 'react';
2
2
 
3
- export interface CollapsibleProps {
3
+ export interface CollapsiblePropTypes {
4
4
  trigger: React.ReactNode;
5
5
  open: boolean;
6
6
  onOpenChange: (open: boolean) => void;
@@ -1 +1,2 @@
1
1
  export { CollapsibleComponent as Collapsible } from './Collapsible';
2
+ export type { CollapsiblePropTypes } from './Collapsible.types';
@@ -1,15 +1,15 @@
1
- import type { SwapInputProps } from '../../containers/SwapInput/SwapInput.types';
2
- import type { PropTypes as ChainTokenPropTypes } from '../ChainToken/ChainToken.types';
3
- import type { PriceImpactProps } from '../PriceImpact/PriceImpact.types';
1
+ import type { SwapInputPropTypes } from '../../containers/SwapInput/SwapInput.types';
2
+ import type { ChainTokenPropTypes } from '../ChainToken';
3
+ import type { PriceImpactPropTypes } from '../PriceImpact/PriceImpact.types';
4
4
  import type { PropTypes as QuoteCostProps } from '../QuoteCost/QuoteCost.types';
5
5
  import type { InternalSwap, Step } from '../StepDetails/StepDetails.types';
6
- import type { PropTypes as TooltipPropTypes } from '../Tooltip/Tooltip.types';
6
+ import type { TooltipPropTypes } from '../Tooltip/Tooltip.types';
7
7
  import type { CSSProperties } from '@stitches/react';
8
8
  import type { RouteTag } from 'rango-sdk';
9
9
 
10
10
  type BaseProps = {
11
- percentageChange?: PriceImpactProps['percentageChange'];
12
- warningLevel?: PriceImpactProps['warningLevel'];
11
+ percentageChange?: PriceImpactPropTypes['percentageChange'];
12
+ warningLevel?: PriceImpactPropTypes['warningLevel'];
13
13
  tooltipContainer?: HTMLElement;
14
14
  onClick?: () => void;
15
15
  selected?: boolean;
@@ -21,7 +21,7 @@ export type DataLoadedProps = {
21
21
  tags: RouteTag[];
22
22
  time: QuoteCostProps['time'];
23
23
  fee: QuoteCostProps['fee'];
24
- outputPrice: SwapInputProps['price'];
24
+ outputPrice: SwapInputPropTypes['price'];
25
25
  loading?: false;
26
26
  };
27
27
  type LoadingProps = {
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './IconButton.types';
1
+ import type { IconButtonPropTypes } from './IconButton.types';
2
2
  import type { PropsWithChildren, Ref } from 'react';
3
3
 
4
4
  import React from 'react';
@@ -7,7 +7,7 @@ import { Button } from '../Button';
7
7
 
8
8
  // border-radius: 100% + overflow: hidden
9
9
  function IconButtonComponent(
10
- props: PropsWithChildren<PropTypes>,
10
+ props: PropsWithChildren<IconButtonPropTypes>,
11
11
  ref: Ref<HTMLButtonElement>
12
12
  ) {
13
13
  const { style, ...otherProps } = props;
@@ -1,7 +1,7 @@
1
- import type { PropTypes as ButtonPropTypes } from '../Button/Button.types';
1
+ import type { ButtonPropTypes } from '../Button/Button.types';
2
2
  import type { CSSProperties } from 'react';
3
3
 
4
- export type PropTypes = {
4
+ export type IconButtonPropTypes = {
5
5
  size?: ButtonPropTypes['size'];
6
6
  type?: ButtonPropTypes['type'];
7
7
  variant?: ButtonPropTypes['variant'];
@@ -1 +1,2 @@
1
1
  export { IconButton } from './IconButton';
2
+ export type { IconButtonPropTypes } from './IconButton.types';
@@ -1,10 +1,10 @@
1
- import type { ListItemProps } from '../ListItem';
1
+ import type { ListItemPropTypes } from '../ListItem';
2
2
  import type * as Stitches from '@stitches/react';
3
3
  import type React from 'react';
4
4
 
5
5
  export interface ListPropTypes {
6
6
  type?: React.ReactElement;
7
- items: (ListItemProps & {
7
+ items: (ListItemPropTypes & {
8
8
  id: string;
9
9
  type?: React.ReactElement;
10
10
  })[];
@@ -1,4 +1,4 @@
1
- import type { ListItemProps } from './ListItem.types';
1
+ import type { ListItemPropTypes } from './ListItem.types';
2
2
 
3
3
  import React from 'react';
4
4
 
@@ -6,7 +6,7 @@ import { Typography } from '../Typography';
6
6
 
7
7
  import { BaseListItem } from './ListItem.styles';
8
8
 
9
- function ListItem(props: ListItemProps) {
9
+ function ListItem(props: ListItemPropTypes) {
10
10
  const { start, title, description, end, onClick, hasDivider, ...restProps } =
11
11
  props;
12
12
 
@@ -1,4 +1,4 @@
1
- export type ListItemProps = {
1
+ export type ListItemPropTypes = {
2
2
  title?: string | React.ReactElement;
3
3
  description?: string | React.ReactElement;
4
4
  start?: React.ReactNode;
@@ -1,2 +1,2 @@
1
- export type { ListItemProps } from './ListItem.types';
1
+ export type { ListItemPropTypes } from './ListItem.types';
2
2
  export { ListItem } from './ListItem';
@@ -1,7 +1,7 @@
1
- import type { ListItemProps } from '../ListItem';
1
+ import type { ListItemPropTypes } from '../ListItem';
2
2
  import type { CSSProperties } from '@stitches/react';
3
3
 
4
- export type ListItemButtonProps = Omit<ListItemProps, 'onClick'> & {
4
+ export type ListItemButtonProps = Omit<ListItemPropTypes, 'onClick'> & {
5
5
  id: string;
6
6
  onClick: (id: string) => void;
7
7
  style?: CSSProperties;
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './Modal.types';
1
+ import type { ModalPropTypes } from './Modal.types';
2
2
  import type { PropsWithChildren } from 'react';
3
3
 
4
4
  import React, { useEffect, useRef, useState } from 'react';
@@ -22,7 +22,7 @@ import {
22
22
  const CLOSED_DELAY = 600;
23
23
  const OPEN_DELAY = 100;
24
24
 
25
- export function Modal(props: PropsWithChildren<PropTypes>) {
25
+ export function Modal(props: PropsWithChildren<ModalPropTypes>) {
26
26
  const {
27
27
  title,
28
28
  open,
@@ -5,7 +5,7 @@ import type * as Stitches from '@stitches/react';
5
5
  type BaseProps = Stitches.VariantProps<typeof BackDrop>;
6
6
  type BaseAnchor = Exclude<BaseProps['anchor'], object>;
7
7
 
8
- export interface PropTypes {
8
+ export interface ModalPropTypes {
9
9
  title?: string;
10
10
  open: boolean;
11
11
  onClose: () => void;
@@ -1,3 +1,3 @@
1
1
  export { Modal } from './Modal';
2
2
  export { ModalHeader } from './Modal.styles';
3
- export type { PropTypes as ModalPropTypes } from './Modal.types';
3
+ export type { ModalPropTypes } from './Modal.types';
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './NotFound.types';
1
+ import type { NotFoundPropTypes } from './NotFound.types';
2
2
 
3
3
  import React from 'react';
4
4
 
@@ -8,7 +8,7 @@ import { Typography } from '../Typography';
8
8
 
9
9
  import { Container } from './NotFound.styles';
10
10
 
11
- export function NotFound(props: PropTypes) {
11
+ export function NotFound(props: NotFoundPropTypes) {
12
12
  return (
13
13
  <Container>
14
14
  <SearchIcon color="secondary" size={26} />
@@ -1,4 +1,4 @@
1
- export type PropTypes = {
1
+ export type NotFoundPropTypes = {
2
2
  title: string;
3
3
  description?: string;
4
4
  };
@@ -1 +1,2 @@
1
1
  export { NotFound } from './NotFound';
2
+ export type { NotFoundPropTypes } from './NotFound.types';
@@ -1,4 +1,4 @@
1
- import type { ContentType, PropTypes, Ref } from './Popover.types';
1
+ import type { ContentType, PopoverPropTypes, Ref } from './Popover.types';
2
2
  import type { PropsWithChildren } from 'react';
3
3
 
4
4
  import * as RadixPopover from '@radix-ui/react-popover';
@@ -27,7 +27,7 @@ export const PopoverContentComponent = (
27
27
  const PopoverContent = React.forwardRef(PopoverContentComponent);
28
28
  PopoverContent.displayName = 'PopoverContent';
29
29
 
30
- export function Popover(props: PropsWithChildren<PropTypes>) {
30
+ export function Popover(props: PropsWithChildren<PopoverPropTypes>) {
31
31
  const {
32
32
  children,
33
33
  content,
@@ -24,6 +24,6 @@ export interface ContentType {
24
24
  onOpenChange?: (open: boolean) => void;
25
25
  }
26
26
 
27
- export type PropTypes = ContentType & {
27
+ export type PopoverPropTypes = ContentType & {
28
28
  content: ReactNode;
29
29
  };
@@ -1 +1,2 @@
1
1
  export { Popover } from './Popover';
2
+ export type { PopoverPropTypes } from './Popover.types';
@@ -1,4 +1,4 @@
1
- import type { PriceImpactProps } from './PriceImpact.types';
1
+ import type { PriceImpactPropTypes } from './PriceImpact.types';
2
2
 
3
3
  import React from 'react';
4
4
 
@@ -6,7 +6,7 @@ import { Divider, Tooltip, Typography } from '..';
6
6
 
7
7
  import { Container, OutputUsdValue } from './PriceImpact.styles';
8
8
 
9
- export function PriceImpact(props: PriceImpactProps) {
9
+ export function PriceImpact(props: PriceImpactPropTypes) {
10
10
  const {
11
11
  size = 'medium',
12
12
  outputUsdValue,
@@ -1,9 +1,9 @@
1
- import type { PropTypes as TooltipPropTypes } from '../Tooltip/Tooltip.types';
1
+ import type { TooltipPropTypes } from '../Tooltip/Tooltip.types';
2
2
  import type { TypographyPropTypes } from '../Typography';
3
3
 
4
4
  export type PriceImpactWarningLevel = 'low' | 'high' | undefined;
5
5
 
6
- export type PriceImpactProps = {
6
+ export type PriceImpactPropTypes = {
7
7
  size: TypographyPropTypes['size'];
8
8
  outputUsdValue?: string;
9
9
  outputColor?: string;
@@ -1,2 +1,5 @@
1
1
  export { PriceImpact } from './PriceImpact';
2
- export type { PriceImpactWarningLevel } from './PriceImpact.types';
2
+ export type {
3
+ PriceImpactWarningLevel,
4
+ PriceImpactPropTypes,
5
+ } from './PriceImpact.types';
@@ -1,10 +1,10 @@
1
- import type { PropTypes } from './Radio.types';
1
+ import type { RadioPropTypes } from './Radio.types';
2
2
 
3
3
  import React from 'react';
4
4
 
5
5
  import { StyledIndicator, StyledItem } from './Radio.styles';
6
6
 
7
- export function Radio(props: PropTypes) {
7
+ export function Radio(props: RadioPropTypes) {
8
8
  const { value } = props;
9
9
  return (
10
10
  <StyledItem value={value} id={value}>
@@ -1,3 +1,3 @@
1
- export interface PropTypes {
1
+ export interface RadioPropTypes {
2
2
  value: string;
3
3
  }
@@ -1 +1,2 @@
1
1
  export { Radio } from './Radio';
2
+ export type { RadioPropTypes } from './Radio.types';
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './RadioGroup.types';
1
+ import type { RadioGroupPropTypes } from './RadioGroup.types';
2
2
 
3
3
  import React from 'react';
4
4
 
@@ -12,7 +12,7 @@ import {
12
12
  RadioRoot,
13
13
  } from './RadioGroup.styles';
14
14
 
15
- export function RadioGroup(props: PropTypes) {
15
+ export function RadioGroup(props: RadioGroupPropTypes) {
16
16
  const { value, onChange, direction = 'vertical', style, options } = props;
17
17
  return (
18
18
  <Container>
@@ -1,12 +1,12 @@
1
- import type { PropTypes as RadioType } from '../Radio/Radio.types';
1
+ import type { RadioPropTypes } from '../Radio';
2
2
  import type { CSSProperties } from '@stitches/react';
3
3
 
4
- export interface PropTypes {
4
+ export interface RadioGroupPropTypes {
5
5
  options: {
6
6
  label: string;
7
- value: RadioType['value'];
7
+ value: RadioPropTypes['value'];
8
8
  }[];
9
- value: RadioType['value'];
9
+ value: RadioPropTypes['value'];
10
10
  onChange: (value: string) => void;
11
11
  direction?: 'vertical' | 'horizontal';
12
12
  style?: CSSProperties;
@@ -1,2 +1,3 @@
1
1
  export { RadioGroup } from './RadioGroup';
2
2
  export { RadioRoot } from './RadioGroup.styles';
3
+ export type { RadioGroupPropTypes } from './RadioGroup.types';
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './Select.types';
1
+ import type { SelectPropTypes } from './Select.types';
2
2
 
3
3
  import * as Select from '@radix-ui/react-select';
4
4
  import React, { useEffect, useRef, useState } from 'react';
@@ -8,7 +8,7 @@ import { Typography } from '../Typography';
8
8
 
9
9
  import { SelectContent, SelectItem, SelectTrigger } from './Select.styles';
10
10
 
11
- export function SelectComponent<T extends string>(props: PropTypes<T>) {
11
+ export function SelectComponent<T extends string>(props: SelectPropTypes<T>) {
12
12
  const [open, setOpen] = useState(false);
13
13
  const selectRef = useRef<HTMLDivElement>(null);
14
14
  const { options, value, container, handleItemClick, variant } = props;
@@ -5,7 +5,7 @@ type Item<T> = {
5
5
 
6
6
  type Variant = 'filled' | 'outlined';
7
7
 
8
- export type PropTypes<T> = {
8
+ export type SelectPropTypes<T> = {
9
9
  options: Item<T>[];
10
10
  handleItemClick?: (item: Item<T>) => void;
11
11
  value: string;
@@ -1 +1,2 @@
1
1
  export { SelectComponent as Select } from './Select';
2
+ export type { SelectPropTypes } from './Select.types';
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-magic-numbers */
2
- import type { PropTypes } from './SelectableCategoryList.types';
2
+ import type { SelectableCategoryListPropTypes } from './SelectableCategoryList.types';
3
3
 
4
4
  import { i18n } from '@lingui/core';
5
5
  import React from 'react';
@@ -15,7 +15,7 @@ import {
15
15
  import { Container } from './SelectableCategoryList.styles';
16
16
  import { BlockchainCategories } from './SelectableCategoryList.types';
17
17
 
18
- export function SelectableCategoryList(props: PropTypes) {
18
+ export function SelectableCategoryList(props: SelectableCategoryListPropTypes) {
19
19
  const { setCategory, category, isLoading, blockchains } = props;
20
20
  const categories = Object.keys(
21
21
  BlockchainCategories
@@ -1,6 +1,6 @@
1
1
  import type { BlockchainMeta } from 'rango-sdk';
2
2
 
3
- export interface PropTypes {
3
+ export interface SelectableCategoryListPropTypes {
4
4
  setCategory: (type: string) => void;
5
5
  category: string;
6
6
  blockchains: BlockchainMeta[];
@@ -1,3 +1,4 @@
1
1
  export { SelectableCategoryList } from './SelectableCategoryList';
2
+ export type { SelectableCategoryListPropTypes } from './SelectableCategoryList.types';
2
3
  export { BlockchainCategories } from './SelectableCategoryList.types';
3
4
  export { getCountCategories } from './SelectableCategoryList.helpers';
@@ -1,10 +1,10 @@
1
- import type { PropTypes } from './Skeleton.types';
1
+ import type { SkeletonPropTypes } from './Skeleton.types';
2
2
 
3
3
  import React from 'react';
4
4
 
5
5
  import { SkeletonContainer } from './Skeleton.styles';
6
6
 
7
- export function Skeleton(props: PropTypes) {
7
+ export function Skeleton(props: SkeletonPropTypes) {
8
8
  const { width = '100%' } = props;
9
9
  const customCss =
10
10
  props.variant !== 'text'
@@ -17,4 +17,4 @@ type OtherVariant = {
17
17
  height: number;
18
18
  };
19
19
 
20
- export type PropTypes = TextVariant | OtherVariant;
20
+ export type SkeletonPropTypes = TextVariant | OtherVariant;
@@ -1 +1,2 @@
1
1
  export { Skeleton } from './Skeleton';
2
+ export type { SkeletonPropTypes } from './Skeleton.types';
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './Spinner.types';
1
+ import type { SpinnerPropTypes } from './Spinner.types';
2
2
 
3
3
  import React from 'react';
4
4
 
@@ -6,7 +6,7 @@ import { LoadingIcon } from '../../icons';
6
6
 
7
7
  import { SpinnerContainer } from './Spinner.styles';
8
8
 
9
- export function Spinner(props: PropTypes) {
9
+ export function Spinner(props: SpinnerPropTypes) {
10
10
  const { size, color, css = {} } = props;
11
11
  return (
12
12
  <SpinnerContainer css={css}>
@@ -1,7 +1,7 @@
1
1
  import type { SvgIconProps } from '../SvgIcon';
2
2
  import type * as Stitches from '@stitches/react';
3
3
 
4
- export interface PropTypes {
4
+ export interface SpinnerPropTypes {
5
5
  // eslint-disable-next-line @typescript-eslint/no-magic-numbers
6
6
  size?: 12 | 16 | 20 | 24 | 30;
7
7
  color?: SvgIconProps['color'];
@@ -1 +1,2 @@
1
1
  export { Spinner } from './Spinner';
2
+ export type { SpinnerPropTypes } from './Spinner.types';
@@ -1,13 +1,13 @@
1
1
  import type { SwapperType } from 'rango-sdk';
2
2
  import type { ReactNode } from 'react';
3
- import type { SwapInputProps } from 'src/containers/SwapInput/SwapInput.types';
3
+ import type { SwapInputPropTypes } from 'src/containers/SwapInput/SwapInput.types';
4
4
 
5
- type BaseStep = Pick<SwapInputProps, 'chain' | 'token' | 'price'>;
5
+ type BaseStep = Pick<SwapInputPropTypes, 'chain' | 'token' | 'price'>;
6
6
  type BaseInternalStep = {
7
7
  chain: BaseStep['chain'];
8
8
  } & Partial<Pick<BaseStep, 'token' | 'price'>>;
9
9
 
10
- type SwapperInfo = SwapInputProps['chain'] & {
10
+ type SwapperInfo = SwapInputPropTypes['chain'] & {
11
11
  type?: SwapperType;
12
12
  };
13
13
 
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './SwapListItem.types';
1
+ import type { SwapListItemPropTypes } from './SwapListItem.types';
2
2
  import type { PropsWithChildren } from 'react';
3
3
 
4
4
  import React from 'react';
@@ -18,7 +18,7 @@ import {
18
18
  import { StatusColors } from './SwapListItem.types';
19
19
  import { SwapToken } from './SwapToken';
20
20
 
21
- export function SwapListItem(props: PropsWithChildren<PropTypes>) {
21
+ export function SwapListItem(props: PropsWithChildren<SwapListItemPropTypes>) {
22
22
  if ('isLoading' in props) {
23
23
  return (
24
24
  <LoadingMain>
@@ -14,7 +14,7 @@ export interface LoadingProps {
14
14
  isLoading: true;
15
15
  }
16
16
 
17
- export type PropTypes = SwapListItemProps | LoadingProps;
17
+ export type SwapListItemPropTypes = SwapListItemProps | LoadingProps;
18
18
 
19
19
  export const StatusColors = {
20
20
  failed: 'error500',
@@ -1 +1,5 @@
1
1
  export { SwapListItem } from './SwapListItem';
2
+ export type {
3
+ SwapTokenData,
4
+ SwapListItemPropTypes,
5
+ } from './SwapListItem.types';
@@ -1,10 +1,10 @@
1
- import type { PropTypes } from './Switch.types';
1
+ import type { SwitchPropTypes } from './Switch.types';
2
2
 
3
3
  import React from 'react';
4
4
 
5
5
  import { StyledSwitchRoot, StyledSwitchThumb } from './Switch.styles';
6
6
 
7
- export function Switch(props: PropTypes) {
7
+ export function Switch(props: SwitchPropTypes) {
8
8
  const { checked, onChange } = props;
9
9
  return (
10
10
  <StyledSwitchRoot checked={checked} onCheckedChange={onChange}>
@@ -1,4 +1,4 @@
1
- export interface PropTypes {
1
+ export interface SwitchPropTypes {
2
2
  checked: boolean;
3
3
  onChange?: (checked: boolean) => void;
4
4
  }
@@ -1 +1,2 @@
1
1
  export { Switch } from './Switch';
2
+ export type { SwitchPropTypes } from './Switch.types';
@@ -1,4 +1,4 @@
1
- import type { PropTypes } from './Tabs.types';
1
+ import type { TabsPropTypes } from './Tabs.types';
2
2
 
3
3
  import React, { useEffect, useRef, useState } from 'react';
4
4
 
@@ -8,7 +8,7 @@ import { Tooltip } from '../Tooltip';
8
8
  import { BackdropTab, Tab, Tabs } from './Tabs.styles';
9
9
 
10
10
  const INITIAL_RENDER_DELAY = 100;
11
- export function TabsComponent(props: PropTypes) {
11
+ export function TabsComponent(props: TabsPropTypes) {
12
12
  const {
13
13
  items: tabItems,
14
14
  onChange,