@rango-dev/ui 0.33.1-next.1 → 0.33.1-next.3

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 (390) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/index.js.map +4 -4
  3. package/dist/widget/ui/src/components/Button/Button.types.d.ts +1 -1
  4. package/dist/widget/ui/src/components/Button/Button.types.d.ts.map +1 -1
  5. package/dist/widget/ui/src/components/Button/index.d.ts +1 -0
  6. package/dist/widget/ui/src/components/Button/index.d.ts.map +1 -1
  7. package/dist/widget/ui/src/components/ChainToken/ChainToken.constants.d.ts +2 -2
  8. package/dist/widget/ui/src/components/ChainToken/ChainToken.constants.d.ts.map +1 -1
  9. package/dist/widget/ui/src/components/ChainToken/ChainToken.d.ts +2 -2
  10. package/dist/widget/ui/src/components/ChainToken/ChainToken.d.ts.map +1 -1
  11. package/dist/widget/ui/src/components/ChainToken/ChainToken.types.d.ts +1 -1
  12. package/dist/widget/ui/src/components/ChainToken/ChainToken.types.d.ts.map +1 -1
  13. package/dist/widget/ui/src/components/ChainToken/index.d.ts +1 -0
  14. package/dist/widget/ui/src/components/ChainToken/index.d.ts.map +1 -1
  15. package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts +2 -2
  16. package/dist/widget/ui/src/components/Checkbox/Checkbox.d.ts.map +1 -1
  17. package/dist/widget/ui/src/components/Checkbox/Checkbox.types.d.ts +1 -1
  18. package/dist/widget/ui/src/components/Checkbox/Checkbox.types.d.ts.map +1 -1
  19. package/dist/widget/ui/src/components/Checkbox/index.d.ts +1 -0
  20. package/dist/widget/ui/src/components/Checkbox/index.d.ts.map +1 -1
  21. package/dist/widget/ui/src/components/Chip/Chip.d.ts +2 -2
  22. package/dist/widget/ui/src/components/Chip/Chip.d.ts.map +1 -1
  23. package/dist/widget/ui/src/components/Chip/Chip.types.d.ts +1 -1
  24. package/dist/widget/ui/src/components/Chip/Chip.types.d.ts.map +1 -1
  25. package/dist/widget/ui/src/components/Chip/index.d.ts +1 -0
  26. package/dist/widget/ui/src/components/Chip/index.d.ts.map +1 -1
  27. package/dist/widget/ui/src/components/Collapsible/Collapsible.d.ts +2 -2
  28. package/dist/widget/ui/src/components/Collapsible/Collapsible.d.ts.map +1 -1
  29. package/dist/widget/ui/src/components/Collapsible/Collapsible.types.d.ts +1 -1
  30. package/dist/widget/ui/src/components/Collapsible/Collapsible.types.d.ts.map +1 -1
  31. package/dist/widget/ui/src/components/Collapsible/index.d.ts +1 -0
  32. package/dist/widget/ui/src/components/Collapsible/index.d.ts.map +1 -1
  33. package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.types.d.ts +7 -7
  34. package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.types.d.ts.map +1 -1
  35. package/dist/widget/ui/src/components/IconButton/IconButton.d.ts +2 -2
  36. package/dist/widget/ui/src/components/IconButton/IconButton.d.ts.map +1 -1
  37. package/dist/widget/ui/src/components/IconButton/IconButton.types.d.ts +2 -2
  38. package/dist/widget/ui/src/components/IconButton/IconButton.types.d.ts.map +1 -1
  39. package/dist/widget/ui/src/components/IconButton/index.d.ts +1 -0
  40. package/dist/widget/ui/src/components/IconButton/index.d.ts.map +1 -1
  41. package/dist/widget/ui/src/components/List/List.types.d.ts +2 -2
  42. package/dist/widget/ui/src/components/List/List.types.d.ts.map +1 -1
  43. package/dist/widget/ui/src/components/ListItem/ListItem.d.ts +2 -2
  44. package/dist/widget/ui/src/components/ListItem/ListItem.d.ts.map +1 -1
  45. package/dist/widget/ui/src/components/ListItem/ListItem.types.d.ts +1 -1
  46. package/dist/widget/ui/src/components/ListItem/ListItem.types.d.ts.map +1 -1
  47. package/dist/widget/ui/src/components/ListItem/index.d.ts +1 -1
  48. package/dist/widget/ui/src/components/ListItem/index.d.ts.map +1 -1
  49. package/dist/widget/ui/src/components/ListItemButton/ListItemButton.types.d.ts +2 -2
  50. package/dist/widget/ui/src/components/ListItemButton/ListItemButton.types.d.ts.map +1 -1
  51. package/dist/widget/ui/src/components/Modal/Modal.d.ts +2 -2
  52. package/dist/widget/ui/src/components/Modal/Modal.d.ts.map +1 -1
  53. package/dist/widget/ui/src/components/Modal/Modal.types.d.ts +1 -1
  54. package/dist/widget/ui/src/components/Modal/Modal.types.d.ts.map +1 -1
  55. package/dist/widget/ui/src/components/Modal/index.d.ts +1 -1
  56. package/dist/widget/ui/src/components/Modal/index.d.ts.map +1 -1
  57. package/dist/widget/ui/src/components/NotFound/NotFound.d.ts +2 -2
  58. package/dist/widget/ui/src/components/NotFound/NotFound.d.ts.map +1 -1
  59. package/dist/widget/ui/src/components/NotFound/NotFound.types.d.ts +1 -1
  60. package/dist/widget/ui/src/components/NotFound/NotFound.types.d.ts.map +1 -1
  61. package/dist/widget/ui/src/components/NotFound/index.d.ts +1 -0
  62. package/dist/widget/ui/src/components/NotFound/index.d.ts.map +1 -1
  63. package/dist/widget/ui/src/components/Popover/Popover.d.ts +2 -2
  64. package/dist/widget/ui/src/components/Popover/Popover.d.ts.map +1 -1
  65. package/dist/widget/ui/src/components/Popover/Popover.types.d.ts +1 -1
  66. package/dist/widget/ui/src/components/Popover/Popover.types.d.ts.map +1 -1
  67. package/dist/widget/ui/src/components/Popover/index.d.ts +1 -0
  68. package/dist/widget/ui/src/components/Popover/index.d.ts.map +1 -1
  69. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.d.ts +2 -2
  70. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.d.ts.map +1 -1
  71. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.types.d.ts +2 -2
  72. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.types.d.ts.map +1 -1
  73. package/dist/widget/ui/src/components/PriceImpact/index.d.ts +1 -1
  74. package/dist/widget/ui/src/components/PriceImpact/index.d.ts.map +1 -1
  75. package/dist/widget/ui/src/components/Radio/Radio.d.ts +2 -2
  76. package/dist/widget/ui/src/components/Radio/Radio.d.ts.map +1 -1
  77. package/dist/widget/ui/src/components/Radio/Radio.types.d.ts +1 -1
  78. package/dist/widget/ui/src/components/Radio/Radio.types.d.ts.map +1 -1
  79. package/dist/widget/ui/src/components/Radio/index.d.ts +1 -0
  80. package/dist/widget/ui/src/components/Radio/index.d.ts.map +1 -1
  81. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.d.ts +2 -2
  82. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  83. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.types.d.ts +4 -4
  84. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.types.d.ts.map +1 -1
  85. package/dist/widget/ui/src/components/RadioGroup/index.d.ts +1 -0
  86. package/dist/widget/ui/src/components/RadioGroup/index.d.ts.map +1 -1
  87. package/dist/widget/ui/src/components/Select/Select.d.ts +2 -2
  88. package/dist/widget/ui/src/components/Select/Select.d.ts.map +1 -1
  89. package/dist/widget/ui/src/components/Select/Select.types.d.ts +1 -1
  90. package/dist/widget/ui/src/components/Select/Select.types.d.ts.map +1 -1
  91. package/dist/widget/ui/src/components/Select/index.d.ts +1 -0
  92. package/dist/widget/ui/src/components/Select/index.d.ts.map +1 -1
  93. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts +2 -2
  94. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts.map +1 -1
  95. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.types.d.ts +1 -1
  96. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.types.d.ts.map +1 -1
  97. package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts +1 -0
  98. package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts.map +1 -1
  99. package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts +2 -2
  100. package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts.map +1 -1
  101. package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts +1 -1
  102. package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts.map +1 -1
  103. package/dist/widget/ui/src/components/Skeleton/index.d.ts +1 -0
  104. package/dist/widget/ui/src/components/Skeleton/index.d.ts.map +1 -1
  105. package/dist/widget/ui/src/components/Spinner/Spinner.d.ts +2 -2
  106. package/dist/widget/ui/src/components/Spinner/Spinner.d.ts.map +1 -1
  107. package/dist/widget/ui/src/components/Spinner/Spinner.types.d.ts +1 -1
  108. package/dist/widget/ui/src/components/Spinner/Spinner.types.d.ts.map +1 -1
  109. package/dist/widget/ui/src/components/Spinner/index.d.ts +1 -0
  110. package/dist/widget/ui/src/components/Spinner/index.d.ts.map +1 -1
  111. package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts +3 -3
  112. package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts.map +1 -1
  113. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.d.ts +2 -2
  114. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.d.ts.map +1 -1
  115. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.types.d.ts +1 -1
  116. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.types.d.ts.map +1 -1
  117. package/dist/widget/ui/src/components/SwapListItem/index.d.ts +1 -0
  118. package/dist/widget/ui/src/components/SwapListItem/index.d.ts.map +1 -1
  119. package/dist/widget/ui/src/components/Switch/Switch.d.ts +2 -2
  120. package/dist/widget/ui/src/components/Switch/Switch.d.ts.map +1 -1
  121. package/dist/widget/ui/src/components/Switch/Switch.types.d.ts +1 -1
  122. package/dist/widget/ui/src/components/Switch/Switch.types.d.ts.map +1 -1
  123. package/dist/widget/ui/src/components/Switch/index.d.ts +1 -0
  124. package/dist/widget/ui/src/components/Switch/index.d.ts.map +1 -1
  125. package/dist/widget/ui/src/components/Tabs/Tabs.d.ts +2 -2
  126. package/dist/widget/ui/src/components/Tabs/Tabs.d.ts.map +1 -1
  127. package/dist/widget/ui/src/components/Tabs/Tabs.types.d.ts +1 -1
  128. package/dist/widget/ui/src/components/Tabs/Tabs.types.d.ts.map +1 -1
  129. package/dist/widget/ui/src/components/Tabs/index.d.ts +1 -0
  130. package/dist/widget/ui/src/components/Tabs/index.d.ts.map +1 -1
  131. package/dist/widget/ui/src/components/TextField/TextField.d.ts.map +1 -1
  132. package/dist/widget/ui/src/components/TextField/TextField.types.d.ts +3 -3
  133. package/dist/widget/ui/src/components/TextField/TextField.types.d.ts.map +1 -1
  134. package/dist/widget/ui/src/components/TextField/index.d.ts +1 -0
  135. package/dist/widget/ui/src/components/TextField/index.d.ts.map +1 -1
  136. package/dist/widget/ui/src/components/Toast/Toast.Provider.d.ts.map +1 -1
  137. package/dist/widget/ui/src/components/Toast/Toast.d.ts +2 -2
  138. package/dist/widget/ui/src/components/Toast/Toast.d.ts.map +1 -1
  139. package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts +0 -162
  140. package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts.map +1 -1
  141. package/dist/widget/ui/src/components/Toast/Toast.types.d.ts +1 -1
  142. package/dist/widget/ui/src/components/Toast/Toast.types.d.ts.map +1 -1
  143. package/dist/widget/ui/src/components/Toast/index.d.ts +1 -0
  144. package/dist/widget/ui/src/components/Toast/index.d.ts.map +1 -1
  145. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.types.d.ts +5 -5
  146. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.types.d.ts.map +1 -1
  147. package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts +2 -2
  148. package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  149. package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts +1 -1
  150. package/dist/widget/ui/src/components/Tooltip/Tooltip.types.d.ts.map +1 -1
  151. package/dist/widget/ui/src/components/Tooltip/index.d.ts +1 -0
  152. package/dist/widget/ui/src/components/Tooltip/index.d.ts.map +1 -1
  153. package/dist/widget/ui/src/components/Typography/Typography.d.ts +2 -2
  154. package/dist/widget/ui/src/components/Typography/Typography.d.ts.map +1 -1
  155. package/dist/widget/ui/src/components/Typography/Typography.types.d.ts +1 -1
  156. package/dist/widget/ui/src/components/Typography/Typography.types.d.ts.map +1 -1
  157. package/dist/widget/ui/src/components/Typography/index.d.ts +1 -1
  158. package/dist/widget/ui/src/components/Typography/index.d.ts.map +1 -1
  159. package/dist/widget/ui/src/components/index.d.ts +1 -1
  160. package/dist/widget/ui/src/components/index.d.ts.map +1 -1
  161. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts +2 -10
  162. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.d.ts.map +1 -1
  163. package/dist/widget/ui/src/{components/Tabs/Tabs.stories.d.ts → containers/ConnectWalletsModal/ConnectWalletsModal.styles.d.ts} +2 -7
  164. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.styles.d.ts.map +1 -0
  165. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts +10 -0
  166. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts.map +1 -0
  167. package/dist/widget/ui/src/containers/ConnectWalletsModal/index.d.ts +1 -0
  168. package/dist/widget/ui/src/containers/ConnectWalletsModal/index.d.ts.map +1 -1
  169. package/dist/widget/ui/src/containers/ConnectWalletsModal/mockData.d.ts.map +1 -1
  170. package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts +2 -2
  171. package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts.map +1 -1
  172. package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts +1 -1
  173. package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts.map +1 -1
  174. package/dist/widget/ui/src/containers/SwapInput/index.d.ts +1 -0
  175. package/dist/widget/ui/src/containers/SwapInput/index.d.ts.map +1 -1
  176. package/package.json +4 -15
  177. package/src/components/Button/Button.tsx +2 -2
  178. package/src/components/Button/Button.types.tsx +1 -1
  179. package/src/components/Button/index.ts +1 -0
  180. package/src/components/ChainToken/ChainToken.constants.ts +2 -2
  181. package/src/components/ChainToken/ChainToken.tsx +2 -2
  182. package/src/components/ChainToken/ChainToken.types.ts +1 -1
  183. package/src/components/ChainToken/index.ts +1 -0
  184. package/src/components/Checkbox/Checkbox.tsx +2 -2
  185. package/src/components/Checkbox/Checkbox.types.ts +2 -1
  186. package/src/components/Checkbox/index.ts +1 -0
  187. package/src/components/Chip/Chip.tsx +2 -2
  188. package/src/components/Chip/Chip.types.ts +1 -1
  189. package/src/components/Chip/index.ts +1 -0
  190. package/src/components/Collapsible/Collapsible.tsx +2 -2
  191. package/src/components/Collapsible/Collapsible.types.ts +1 -1
  192. package/src/components/Collapsible/index.ts +1 -0
  193. package/src/components/FullExpandedQuote/FullExpandedQuote.types.ts +7 -7
  194. package/src/components/IconButton/IconButton.tsx +2 -2
  195. package/src/components/IconButton/IconButton.types.ts +2 -2
  196. package/src/components/IconButton/index.ts +1 -0
  197. package/src/components/List/List.types.ts +2 -2
  198. package/src/components/ListItem/ListItem.tsx +2 -2
  199. package/src/components/ListItem/ListItem.types.ts +1 -1
  200. package/src/components/ListItem/index.ts +1 -1
  201. package/src/components/ListItemButton/ListItemButton.types.ts +2 -2
  202. package/src/components/Modal/Modal.tsx +2 -2
  203. package/src/components/Modal/Modal.types.ts +1 -1
  204. package/src/components/Modal/index.ts +1 -1
  205. package/src/components/NotFound/NotFound.tsx +2 -2
  206. package/src/components/NotFound/NotFound.types.ts +1 -1
  207. package/src/components/NotFound/index.tsx +1 -0
  208. package/src/components/Popover/Popover.tsx +2 -2
  209. package/src/components/Popover/Popover.types.ts +1 -1
  210. package/src/components/Popover/index.ts +1 -0
  211. package/src/components/PriceImpact/PriceImpact.tsx +2 -2
  212. package/src/components/PriceImpact/PriceImpact.types.ts +2 -2
  213. package/src/components/PriceImpact/index.ts +4 -1
  214. package/src/components/Radio/Radio.tsx +2 -2
  215. package/src/components/Radio/Radio.types.tsx +1 -1
  216. package/src/components/Radio/index.ts +1 -0
  217. package/src/components/RadioGroup/RadioGroup.tsx +2 -2
  218. package/src/components/RadioGroup/RadioGroup.types.tsx +4 -4
  219. package/src/components/RadioGroup/index.ts +1 -0
  220. package/src/components/Select/Select.tsx +2 -2
  221. package/src/components/Select/Select.types.ts +1 -1
  222. package/src/components/Select/index.ts +1 -0
  223. package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +2 -2
  224. package/src/components/SelectableCategoryList/SelectableCategoryList.types.ts +1 -1
  225. package/src/components/SelectableCategoryList/index.ts +1 -0
  226. package/src/components/Skeleton/Skeleton.tsx +2 -2
  227. package/src/components/Skeleton/Skeleton.types.ts +1 -1
  228. package/src/components/Skeleton/index.ts +1 -0
  229. package/src/components/Spinner/Spinner.tsx +2 -2
  230. package/src/components/Spinner/Spinner.types.ts +1 -1
  231. package/src/components/Spinner/index.ts +1 -0
  232. package/src/components/StepDetails/StepDetails.types.ts +3 -3
  233. package/src/components/SwapListItem/SwapListItem.tsx +2 -2
  234. package/src/components/SwapListItem/SwapListItem.types.ts +1 -1
  235. package/src/components/SwapListItem/index.ts +4 -0
  236. package/src/components/Switch/Switch.tsx +2 -2
  237. package/src/components/Switch/Switch.types.tsx +1 -1
  238. package/src/components/Switch/index.ts +1 -0
  239. package/src/components/Tabs/Tabs.tsx +2 -2
  240. package/src/components/Tabs/Tabs.types.tsx +1 -1
  241. package/src/components/Tabs/index.ts +1 -0
  242. package/src/components/TextField/TextField.tsx +5 -2
  243. package/src/components/TextField/TextField.types.tsx +3 -3
  244. package/src/components/TextField/index.ts +1 -0
  245. package/src/components/Toast/Toast.Provider.tsx +12 -8
  246. package/src/components/Toast/Toast.styles.ts +0 -5
  247. package/src/components/Toast/Toast.tsx +2 -2
  248. package/src/components/Toast/Toast.types.ts +1 -1
  249. package/src/components/Toast/index.ts +1 -0
  250. package/src/components/TokenAmount/TokenAmount.types.ts +5 -5
  251. package/src/components/Tooltip/Tooltip.tsx +2 -2
  252. package/src/components/Tooltip/Tooltip.types.ts +1 -1
  253. package/src/components/Tooltip/index.ts +1 -0
  254. package/src/components/Typography/Typography.tsx +2 -2
  255. package/src/components/Typography/Typography.types.tsx +1 -1
  256. package/src/components/Typography/index.ts +1 -1
  257. package/src/components/index.ts +1 -1
  258. package/src/containers/ConnectWalletsModal/ConnectWalletsModal.styles.ts +8 -0
  259. package/src/containers/ConnectWalletsModal/ConnectWalletsModal.tsx +3 -18
  260. package/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts +10 -0
  261. package/src/containers/ConnectWalletsModal/index.ts +1 -0
  262. package/src/containers/ConnectWalletsModal/mockData.ts +32 -16
  263. package/src/containers/SwapInput/SwapInput.tsx +2 -2
  264. package/src/containers/SwapInput/SwapInput.types.ts +1 -1
  265. package/src/containers/SwapInput/index.ts +1 -0
  266. package/dist/widget/ui/src/components/Alert/Alert.stories.d.ts +0 -9
  267. package/dist/widget/ui/src/components/Alert/Alert.stories.d.ts.map +0 -1
  268. package/dist/widget/ui/src/components/Button/Button.stories.d.ts +0 -10
  269. package/dist/widget/ui/src/components/Button/Button.stories.d.ts.map +0 -1
  270. package/dist/widget/ui/src/components/ChainToken/ChainToken.stories.d.ts +0 -8
  271. package/dist/widget/ui/src/components/ChainToken/ChainToken.stories.d.ts.map +0 -1
  272. package/dist/widget/ui/src/components/Checkbox/Checkbox.stories.d.ts +0 -8
  273. package/dist/widget/ui/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  274. package/dist/widget/ui/src/components/Chip/Chip.stories.d.ts +0 -32
  275. package/dist/widget/ui/src/components/Chip/Chip.stories.d.ts.map +0 -1
  276. package/dist/widget/ui/src/components/Collapsible/Collapsible.stories.d.ts +0 -22
  277. package/dist/widget/ui/src/components/Collapsible/Collapsible.stories.d.ts.map +0 -1
  278. package/dist/widget/ui/src/components/Flags/flags.stories.d.ts +0 -6
  279. package/dist/widget/ui/src/components/Flags/flags.stories.d.ts.map +0 -1
  280. package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.stories.d.ts +0 -7
  281. package/dist/widget/ui/src/components/FullExpandedQuote/FullExpandedQuote.stories.d.ts.map +0 -1
  282. package/dist/widget/ui/src/components/FullExpandedQuote/mock.d.ts +0 -7
  283. package/dist/widget/ui/src/components/FullExpandedQuote/mock.d.ts.map +0 -1
  284. package/dist/widget/ui/src/components/IconButton/IconButton.stories.d.ts +0 -8
  285. package/dist/widget/ui/src/components/IconButton/IconButton.stories.d.ts.map +0 -1
  286. package/dist/widget/ui/src/components/List/List.stories.d.ts +0 -12
  287. package/dist/widget/ui/src/components/List/List.stories.d.ts.map +0 -1
  288. package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.stories.d.ts +0 -7
  289. package/dist/widget/ui/src/components/MessageBox/CollapsibleMessageBox.stories.d.ts.map +0 -1
  290. package/dist/widget/ui/src/components/MessageBox/MessageBox.stories.d.ts +0 -7
  291. package/dist/widget/ui/src/components/MessageBox/MessageBox.stories.d.ts.map +0 -1
  292. package/dist/widget/ui/src/components/Modal/Modal.stories.d.ts +0 -8
  293. package/dist/widget/ui/src/components/Modal/Modal.stories.d.ts.map +0 -1
  294. package/dist/widget/ui/src/components/NotFound/NotFound.stories.d.ts +0 -6
  295. package/dist/widget/ui/src/components/NotFound/NotFound.stories.d.ts.map +0 -1
  296. package/dist/widget/ui/src/components/Popover/Popover.stories.d.ts +0 -10
  297. package/dist/widget/ui/src/components/Popover/Popover.stories.d.ts.map +0 -1
  298. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.stories.d.ts +0 -8
  299. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.stories.d.ts.map +0 -1
  300. package/dist/widget/ui/src/components/Radio/Radio.stories.d.ts +0 -6
  301. package/dist/widget/ui/src/components/Radio/Radio.stories.d.ts.map +0 -1
  302. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.stories.d.ts +0 -6
  303. package/dist/widget/ui/src/components/RadioGroup/RadioGroup.stories.d.ts.map +0 -1
  304. package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.stories.d.ts +0 -12
  305. package/dist/widget/ui/src/components/RefreshProgressButton/RefreshProgressButton.stories.d.ts.map +0 -1
  306. package/dist/widget/ui/src/components/Select/Select.stories.d.ts +0 -6
  307. package/dist/widget/ui/src/components/Select/Select.stories.d.ts.map +0 -1
  308. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.stories.d.ts +0 -6
  309. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.stories.d.ts.map +0 -1
  310. package/dist/widget/ui/src/components/SelectableCategoryList/mock.d.ts +0 -139
  311. package/dist/widget/ui/src/components/SelectableCategoryList/mock.d.ts.map +0 -1
  312. package/dist/widget/ui/src/components/Skeleton/Skeleton.stories.d.ts +0 -6
  313. package/dist/widget/ui/src/components/Skeleton/Skeleton.stories.d.ts.map +0 -1
  314. package/dist/widget/ui/src/components/Spinner/Spinner.stories.d.ts +0 -6
  315. package/dist/widget/ui/src/components/Spinner/Spinner.stories.d.ts.map +0 -1
  316. package/dist/widget/ui/src/components/StepDetails/StepDetails.stories.d.ts +0 -7
  317. package/dist/widget/ui/src/components/StepDetails/StepDetails.stories.d.ts.map +0 -1
  318. package/dist/widget/ui/src/components/StepDetails/mock.d.ts +0 -3
  319. package/dist/widget/ui/src/components/StepDetails/mock.d.ts.map +0 -1
  320. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.stories.d.ts +0 -6
  321. package/dist/widget/ui/src/components/SwapListItem/SwapListItem.stories.d.ts.map +0 -1
  322. package/dist/widget/ui/src/components/SwapListItem/mock.d.ts +0 -5
  323. package/dist/widget/ui/src/components/SwapListItem/mock.d.ts.map +0 -1
  324. package/dist/widget/ui/src/components/Switch/Switch.stories.d.ts +0 -6
  325. package/dist/widget/ui/src/components/Switch/Switch.stories.d.ts.map +0 -1
  326. package/dist/widget/ui/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
  327. package/dist/widget/ui/src/components/Tabs/mock.d.ts +0 -7
  328. package/dist/widget/ui/src/components/Tabs/mock.d.ts.map +0 -1
  329. package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts +0 -18
  330. package/dist/widget/ui/src/components/TextField/TextField.stories.d.ts.map +0 -1
  331. package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts +0 -8
  332. package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts.map +0 -1
  333. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.stories.d.ts +0 -7
  334. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.stories.d.ts.map +0 -1
  335. package/dist/widget/ui/src/components/Tooltip/Tooltip.stories.d.ts +0 -8
  336. package/dist/widget/ui/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  337. package/dist/widget/ui/src/components/Typography/Typography.stories.d.ts +0 -33
  338. package/dist/widget/ui/src/components/Typography/Typography.stories.d.ts.map +0 -1
  339. package/dist/widget/ui/src/components/Wallet/ClickableWallet.stories.d.ts +0 -7
  340. package/dist/widget/ui/src/components/Wallet/ClickableWallet.stories.d.ts.map +0 -1
  341. package/dist/widget/ui/src/components/Wallet/SelectableWallet.stories.d.ts +0 -7
  342. package/dist/widget/ui/src/components/Wallet/SelectableWallet.stories.d.ts.map +0 -1
  343. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts +0 -6
  344. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWallets.stories.d.ts.map +0 -1
  345. package/dist/widget/ui/src/containers/SwapInput/SwapInput.stories.d.ts +0 -9
  346. package/dist/widget/ui/src/containers/SwapInput/SwapInput.stories.d.ts.map +0 -1
  347. package/dist/widget/ui/src/icons/Icons.stories.d.ts +0 -6
  348. package/dist/widget/ui/src/icons/Icons.stories.d.ts.map +0 -1
  349. package/src/components/Alert/Alert.stories.tsx +0 -47
  350. package/src/components/Button/Button.stories.tsx +0 -36
  351. package/src/components/ChainToken/ChainToken.stories.tsx +0 -20
  352. package/src/components/Checkbox/Checkbox.stories.tsx +0 -33
  353. package/src/components/Chip/Chip.stories.tsx +0 -54
  354. package/src/components/Collapsible/Collapsible.stories.tsx +0 -47
  355. package/src/components/Flags/flags.stories.tsx +0 -67
  356. package/src/components/FullExpandedQuote/FullExpandedQuote.stories.tsx +0 -29
  357. package/src/components/FullExpandedQuote/mock.tsx +0 -449
  358. package/src/components/IconButton/IconButton.stories.tsx +0 -20
  359. package/src/components/List/List.stories.tsx +0 -181
  360. package/src/components/MessageBox/CollapsibleMessageBox.stories.tsx +0 -27
  361. package/src/components/MessageBox/MessageBox.stories.tsx +0 -18
  362. package/src/components/Modal/Modal.stories.tsx +0 -33
  363. package/src/components/NotFound/NotFound.stories.tsx +0 -17
  364. package/src/components/Popover/Popover.stories.tsx +0 -63
  365. package/src/components/PriceImpact/PriceImpact.stories.tsx +0 -21
  366. package/src/components/Radio/Radio.stories.tsx +0 -21
  367. package/src/components/RadioGroup/RadioGroup.stories.tsx +0 -31
  368. package/src/components/RefreshProgressButton/RefreshProgressButton.stories.tsx +0 -20
  369. package/src/components/Select/Select.stories.tsx +0 -41
  370. package/src/components/SelectableCategoryList/SelectableCategoryList.stories.tsx +0 -27
  371. package/src/components/SelectableCategoryList/mock.ts +0 -235
  372. package/src/components/Skeleton/Skeleton.stories.tsx +0 -52
  373. package/src/components/Spinner/Spinner.stories.tsx +0 -33
  374. package/src/components/StepDetails/StepDetails.stories.tsx +0 -23
  375. package/src/components/StepDetails/mock.ts +0 -35
  376. package/src/components/SwapListItem/SwapListItem.stories.tsx +0 -32
  377. package/src/components/SwapListItem/mock.ts +0 -321
  378. package/src/components/Switch/Switch.stories.tsx +0 -12
  379. package/src/components/Tabs/Tabs.stories.tsx +0 -40
  380. package/src/components/Tabs/mock.tsx +0 -34
  381. package/src/components/TextField/TextField.stories.tsx +0 -40
  382. package/src/components/Toast/Toast.stories.tsx +0 -68
  383. package/src/components/TokenAmount/TokenAmount.stories.tsx +0 -24
  384. package/src/components/Tooltip/Tooltip.stories.tsx +0 -43
  385. package/src/components/Typography/Typography.stories.tsx +0 -125
  386. package/src/components/Wallet/ClickableWallet.stories.tsx +0 -23
  387. package/src/components/Wallet/SelectableWallet.stories.tsx +0 -23
  388. package/src/containers/ConnectWalletsModal/ConnectWallets.stories.tsx +0 -24
  389. package/src/containers/SwapInput/SwapInput.stories.tsx +0 -40
  390. package/src/icons/Icons.stories.tsx +0 -68
@@ -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,
@@ -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';