@0xsquid/ui 0.16.2 → 0.17.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/index.js +6889 -35457
  3. package/dist/cjs/types/components/badges/IconLabel.d.ts +10 -0
  4. package/dist/cjs/types/components/badges/ImageIcon.d.ts +9 -0
  5. package/dist/cjs/types/components/badges/LoadingSkeleton.d.ts +8 -2
  6. package/dist/cjs/types/components/badges/TransactionState.d.ts +15 -0
  7. package/dist/cjs/types/components/badges/WalletLink.d.ts +6 -0
  8. package/dist/cjs/types/components/badges/index.d.ts +4 -0
  9. package/dist/cjs/types/components/buttons/AssetsButton.d.ts +1 -1
  10. package/dist/cjs/types/components/buttons/FilterButton.d.ts +6 -0
  11. package/dist/cjs/types/components/buttons/index.d.ts +1 -0
  12. package/dist/cjs/types/components/controls/Input.d.ts +2 -1
  13. package/dist/cjs/types/components/icons/Approve.d.ts +1 -0
  14. package/dist/cjs/types/components/icons/Arrow.d.ts +12 -2
  15. package/dist/cjs/types/components/icons/ArrowRotate.d.ts +1 -0
  16. package/dist/cjs/types/components/icons/Bag.d.ts +1 -0
  17. package/dist/cjs/types/components/icons/BoostBadge.d.ts +1 -0
  18. package/dist/cjs/types/components/icons/Calendar.d.ts +1 -0
  19. package/dist/cjs/types/components/icons/Collection.d.ts +1 -0
  20. package/dist/cjs/types/components/icons/Copy.d.ts +5 -0
  21. package/dist/cjs/types/components/icons/Filter.d.ts +1 -0
  22. package/dist/cjs/types/components/icons/HomeIcon.d.ts +3 -0
  23. package/dist/cjs/types/components/icons/ImageSparkle.d.ts +1 -0
  24. package/dist/cjs/types/components/icons/Link.d.ts +2 -0
  25. package/dist/cjs/types/components/icons/Loader.d.ts +3 -3
  26. package/dist/cjs/types/components/icons/NotAllowed.d.ts +1 -0
  27. package/dist/cjs/types/components/icons/PieChart.d.ts +1 -0
  28. package/dist/cjs/types/components/icons/Separator.d.ts +3 -0
  29. package/dist/cjs/types/components/icons/SquareArrowCenter.d.ts +1 -0
  30. package/dist/cjs/types/components/icons/Tag.d.ts +4 -0
  31. package/dist/cjs/types/components/icons/ThumbsUp.d.ts +3 -0
  32. package/dist/cjs/types/components/icons/Tick.d.ts +3 -0
  33. package/dist/cjs/types/components/icons/Timeline.d.ts +11 -0
  34. package/dist/cjs/types/components/layout/Breadcrumb.d.ts +5 -0
  35. package/dist/cjs/types/components/layout/Collapse.d.ts +11 -0
  36. package/dist/cjs/types/components/layout/DescriptionBlocks.d.ts +8 -0
  37. package/dist/cjs/types/components/layout/DetailsToolbar.d.ts +6 -3
  38. package/dist/cjs/types/components/layout/ExploreLayout.d.ts +7 -0
  39. package/dist/cjs/types/components/layout/HashLink.d.ts +10 -0
  40. package/dist/cjs/types/components/layout/Join.d.ts +7 -0
  41. package/dist/cjs/types/components/layout/SwapConfiguration.d.ts +3 -2
  42. package/dist/cjs/types/components/layout/TokenPair.d.ts +6 -3
  43. package/dist/cjs/types/components/layout/TransactionFilters.d.ts +20 -0
  44. package/dist/cjs/types/components/layout/TransactionHeader/BridgeHeader.d.ts +11 -0
  45. package/dist/cjs/types/components/layout/TransactionHeader/BuyNFTHeader.d.ts +10 -0
  46. package/dist/cjs/types/components/layout/TransactionHeader/InteractionHeader.d.ts +11 -0
  47. package/dist/cjs/types/components/layout/TransactionHeader/ProfileHeader.d.ts +11 -0
  48. package/dist/cjs/types/components/layout/TransactionHeader/SwapHeader.d.ts +16 -0
  49. package/dist/cjs/types/components/layout/TransactionHeader/TransactionHeader.d.ts +23 -0
  50. package/dist/cjs/types/components/layout/TransactionHeader/TransactionHeaderLayout.d.ts +10 -0
  51. package/dist/cjs/types/components/layout/TransactionHeader/index.d.ts +1 -0
  52. package/dist/cjs/types/components/layout/TransactionProperties/BridgeProperties.d.ts +21 -0
  53. package/dist/cjs/types/components/layout/TransactionProperties/BuyNFTProperties.d.ts +33 -0
  54. package/dist/cjs/types/components/layout/TransactionProperties/InteractionProperties.d.ts +11 -0
  55. package/dist/cjs/types/components/layout/TransactionProperties/PropertiesLayout.d.ts +7 -0
  56. package/dist/cjs/types/components/layout/TransactionProperties/SwapProperties.d.ts +28 -0
  57. package/dist/cjs/types/components/layout/TransactionProperties/TransactionProperties.d.ts +21 -0
  58. package/dist/cjs/types/components/layout/TransactionProperties/index.d.ts +6 -0
  59. package/dist/cjs/types/components/layout/TransactionSearch.d.ts +8 -0
  60. package/dist/cjs/types/components/layout/Transfer.d.ts +9 -0
  61. package/dist/cjs/types/components/layout/index.d.ts +23 -0
  62. package/dist/cjs/types/components/lists/PropertyListItem.d.ts +10 -0
  63. package/dist/cjs/types/components/lists/SwapStepItem.d.ts +3 -3
  64. package/dist/cjs/types/components/lists/TransactionAction/ActionLayout.d.ts +40 -0
  65. package/dist/cjs/types/components/lists/TransactionAction/ApproveAction.d.ts +21 -0
  66. package/dist/cjs/types/components/lists/TransactionAction/BaseActionProps.d.ts +10 -0
  67. package/dist/cjs/types/components/lists/TransactionAction/BridgeAction.d.ts +20 -0
  68. package/dist/cjs/types/components/lists/TransactionAction/FeesAction.d.ts +28 -0
  69. package/dist/cjs/types/components/lists/TransactionAction/IncompleteAction.d.ts +8 -0
  70. package/dist/cjs/types/components/lists/TransactionAction/ReceiveNFTAction.d.ts +21 -0
  71. package/dist/cjs/types/components/lists/TransactionAction/ReceiveTokensAction.d.ts +22 -0
  72. package/dist/cjs/types/components/lists/TransactionAction/SendTokensAction.d.ts +22 -0
  73. package/dist/cjs/types/components/lists/TransactionAction/StakeAction.d.ts +16 -0
  74. package/dist/cjs/types/components/lists/TransactionAction/StartAction.d.ts +8 -0
  75. package/dist/cjs/types/components/lists/TransactionAction/SuccessAction.d.ts +9 -0
  76. package/dist/cjs/types/components/lists/TransactionAction/SwapAction.d.ts +20 -0
  77. package/dist/cjs/types/components/lists/TransactionAction/TransactionAction.d.ts +37 -0
  78. package/dist/cjs/types/components/lists/TransactionAction/WrapAction.d.ts +20 -0
  79. package/dist/cjs/types/components/lists/TransactionAction/index.d.ts +14 -0
  80. package/dist/cjs/types/components/lists/TransactionAction/linkActionTimelineProps.d.ts +2 -0
  81. package/dist/cjs/types/components/lists/TransactionItem.d.ts +25 -0
  82. package/dist/cjs/types/components/lists/index.d.ts +18 -1
  83. package/dist/cjs/types/components/typography/BodyText.d.ts +4 -3
  84. package/dist/cjs/types/components/typography/HeadingText.d.ts +2 -1
  85. package/dist/cjs/types/components/views/TransactionView/BaseTransactionViewProps.d.ts +10 -0
  86. package/dist/cjs/types/components/views/TransactionView/BridgeTransactionView.d.ts +22 -0
  87. package/dist/cjs/types/components/views/TransactionView/BuyNFTTransactionView.d.ts +34 -0
  88. package/dist/cjs/types/components/views/TransactionView/InteractionTransactionView.d.ts +14 -0
  89. package/dist/cjs/types/components/views/TransactionView/SwapTransactionView.d.ts +30 -0
  90. package/dist/cjs/types/components/views/TransactionView/TransactionView.d.ts +21 -0
  91. package/dist/cjs/types/components/views/TransactionView/TransactionViewLayout.d.ts +10 -0
  92. package/dist/cjs/types/components/views/TransactionView/index.d.ts +6 -0
  93. package/dist/cjs/types/components/views/index.d.ts +7 -1
  94. package/dist/cjs/types/core/utils.d.ts +7 -1
  95. package/dist/cjs/types/hooks/useRect.d.ts +3 -0
  96. package/dist/cjs/types/providers/SquidConfigProvider.d.ts +1 -0
  97. package/dist/cjs/types/stories/badges/IconLabel.stories.d.ts +7 -0
  98. package/dist/cjs/types/stories/badges/ImageIcon.stories.d.ts +7 -0
  99. package/dist/cjs/types/stories/badges/Loader.stories.d.ts +0 -1
  100. package/dist/cjs/types/stories/badges/LoadingSkeleton.stories.d.ts +3 -1
  101. package/dist/cjs/types/stories/badges/TransactionState.stories.d.ts +15 -0
  102. package/dist/cjs/types/stories/badges/WalletLink.stories.d.ts +6 -0
  103. package/dist/cjs/types/stories/buttons/FilterButton.stories.d.ts +7 -0
  104. package/dist/cjs/types/stories/controls/Input.stories.d.ts +1 -0
  105. package/dist/cjs/types/stories/data/actions.d.ts +223 -0
  106. package/dist/cjs/types/stories/data/network.d.ts +52 -0
  107. package/dist/cjs/types/stories/data/transaction.d.ts +49 -0
  108. package/dist/cjs/types/stories/layout/ExploreLayout.stories.d.ts +6 -0
  109. package/dist/cjs/types/stories/layout/HashLink.stories.d.ts +11 -0
  110. package/dist/cjs/types/stories/layout/SwapConfiguration.stories.d.ts +2 -1
  111. package/dist/cjs/types/stories/layout/TokenPair.stories.d.ts +4 -1
  112. package/dist/cjs/types/stories/layout/TransactionFilters.stories.d.ts +6 -0
  113. package/dist/cjs/types/stories/layout/TransactionHeader.stories.d.ts +10 -0
  114. package/dist/cjs/types/stories/layout/TransactionProperties.stories.d.ts +9 -0
  115. package/dist/cjs/types/stories/layout/TransactionSearch.stories.d.ts +7 -0
  116. package/dist/cjs/types/stories/{lists/SwapDetailListItem.stories.d.ts → layout/Transfer.stories.d.ts} +2 -3
  117. package/dist/cjs/types/stories/lists/ListItem.stories.d.ts +1 -0
  118. package/dist/cjs/types/stories/lists/PropertyListItem.stories.d.ts +9 -0
  119. package/dist/cjs/types/stories/lists/TransactionAction.stories.d.ts +23 -0
  120. package/dist/cjs/types/stories/lists/TransactionItem.stories.d.ts +10 -0
  121. package/dist/cjs/types/stories/views/TransactionView.stories.d.ts +9 -0
  122. package/dist/cjs/types/styles/compiled-tailwind.css +4 -0
  123. package/dist/cjs/types/types/components.d.ts +13 -4
  124. package/dist/cjs/types/types/data.d.ts +155 -0
  125. package/dist/cjs/types/types/index.d.ts +1 -1
  126. package/dist/esm/index.js +6825 -35456
  127. package/dist/esm/types/components/badges/IconLabel.d.ts +10 -0
  128. package/dist/esm/types/components/badges/ImageIcon.d.ts +9 -0
  129. package/dist/esm/types/components/badges/LoadingSkeleton.d.ts +8 -2
  130. package/dist/esm/types/components/badges/TransactionState.d.ts +15 -0
  131. package/dist/esm/types/components/badges/WalletLink.d.ts +6 -0
  132. package/dist/esm/types/components/badges/index.d.ts +4 -0
  133. package/dist/esm/types/components/buttons/AssetsButton.d.ts +1 -1
  134. package/dist/esm/types/components/buttons/FilterButton.d.ts +6 -0
  135. package/dist/esm/types/components/buttons/index.d.ts +1 -0
  136. package/dist/esm/types/components/controls/Input.d.ts +2 -1
  137. package/dist/esm/types/components/icons/Approve.d.ts +1 -0
  138. package/dist/esm/types/components/icons/Arrow.d.ts +12 -2
  139. package/dist/esm/types/components/icons/ArrowRotate.d.ts +1 -0
  140. package/dist/esm/types/components/icons/Bag.d.ts +1 -0
  141. package/dist/esm/types/components/icons/BoostBadge.d.ts +1 -0
  142. package/dist/esm/types/components/icons/Calendar.d.ts +1 -0
  143. package/dist/esm/types/components/icons/Collection.d.ts +1 -0
  144. package/dist/esm/types/components/icons/Copy.d.ts +5 -0
  145. package/dist/esm/types/components/icons/Filter.d.ts +1 -0
  146. package/dist/esm/types/components/icons/HomeIcon.d.ts +3 -0
  147. package/dist/esm/types/components/icons/ImageSparkle.d.ts +1 -0
  148. package/dist/esm/types/components/icons/Link.d.ts +2 -0
  149. package/dist/esm/types/components/icons/Loader.d.ts +3 -3
  150. package/dist/esm/types/components/icons/NotAllowed.d.ts +1 -0
  151. package/dist/esm/types/components/icons/PieChart.d.ts +1 -0
  152. package/dist/esm/types/components/icons/Separator.d.ts +3 -0
  153. package/dist/esm/types/components/icons/SquareArrowCenter.d.ts +1 -0
  154. package/dist/esm/types/components/icons/Tag.d.ts +4 -0
  155. package/dist/esm/types/components/icons/ThumbsUp.d.ts +3 -0
  156. package/dist/esm/types/components/icons/Tick.d.ts +3 -0
  157. package/dist/esm/types/components/icons/Timeline.d.ts +11 -0
  158. package/dist/esm/types/components/layout/Breadcrumb.d.ts +5 -0
  159. package/dist/esm/types/components/layout/Collapse.d.ts +11 -0
  160. package/dist/esm/types/components/layout/DescriptionBlocks.d.ts +8 -0
  161. package/dist/esm/types/components/layout/DetailsToolbar.d.ts +6 -3
  162. package/dist/esm/types/components/layout/ExploreLayout.d.ts +7 -0
  163. package/dist/esm/types/components/layout/HashLink.d.ts +10 -0
  164. package/dist/esm/types/components/layout/Join.d.ts +7 -0
  165. package/dist/esm/types/components/layout/SwapConfiguration.d.ts +3 -2
  166. package/dist/esm/types/components/layout/TokenPair.d.ts +6 -3
  167. package/dist/esm/types/components/layout/TransactionFilters.d.ts +20 -0
  168. package/dist/esm/types/components/layout/TransactionHeader/BridgeHeader.d.ts +11 -0
  169. package/dist/esm/types/components/layout/TransactionHeader/BuyNFTHeader.d.ts +10 -0
  170. package/dist/esm/types/components/layout/TransactionHeader/InteractionHeader.d.ts +11 -0
  171. package/dist/esm/types/components/layout/TransactionHeader/ProfileHeader.d.ts +11 -0
  172. package/dist/esm/types/components/layout/TransactionHeader/SwapHeader.d.ts +16 -0
  173. package/dist/esm/types/components/layout/TransactionHeader/TransactionHeader.d.ts +23 -0
  174. package/dist/esm/types/components/layout/TransactionHeader/TransactionHeaderLayout.d.ts +10 -0
  175. package/dist/esm/types/components/layout/TransactionHeader/index.d.ts +1 -0
  176. package/dist/esm/types/components/layout/TransactionProperties/BridgeProperties.d.ts +21 -0
  177. package/dist/esm/types/components/layout/TransactionProperties/BuyNFTProperties.d.ts +33 -0
  178. package/dist/esm/types/components/layout/TransactionProperties/InteractionProperties.d.ts +11 -0
  179. package/dist/esm/types/components/layout/TransactionProperties/PropertiesLayout.d.ts +7 -0
  180. package/dist/esm/types/components/layout/TransactionProperties/SwapProperties.d.ts +28 -0
  181. package/dist/esm/types/components/layout/TransactionProperties/TransactionProperties.d.ts +21 -0
  182. package/dist/esm/types/components/layout/TransactionProperties/index.d.ts +6 -0
  183. package/dist/esm/types/components/layout/TransactionSearch.d.ts +8 -0
  184. package/dist/esm/types/components/layout/Transfer.d.ts +9 -0
  185. package/dist/esm/types/components/layout/index.d.ts +23 -0
  186. package/dist/esm/types/components/lists/PropertyListItem.d.ts +10 -0
  187. package/dist/esm/types/components/lists/SwapStepItem.d.ts +3 -3
  188. package/dist/esm/types/components/lists/TransactionAction/ActionLayout.d.ts +40 -0
  189. package/dist/esm/types/components/lists/TransactionAction/ApproveAction.d.ts +21 -0
  190. package/dist/esm/types/components/lists/TransactionAction/BaseActionProps.d.ts +10 -0
  191. package/dist/esm/types/components/lists/TransactionAction/BridgeAction.d.ts +20 -0
  192. package/dist/esm/types/components/lists/TransactionAction/FeesAction.d.ts +28 -0
  193. package/dist/esm/types/components/lists/TransactionAction/IncompleteAction.d.ts +8 -0
  194. package/dist/esm/types/components/lists/TransactionAction/ReceiveNFTAction.d.ts +21 -0
  195. package/dist/esm/types/components/lists/TransactionAction/ReceiveTokensAction.d.ts +22 -0
  196. package/dist/esm/types/components/lists/TransactionAction/SendTokensAction.d.ts +22 -0
  197. package/dist/esm/types/components/lists/TransactionAction/StakeAction.d.ts +16 -0
  198. package/dist/esm/types/components/lists/TransactionAction/StartAction.d.ts +8 -0
  199. package/dist/esm/types/components/lists/TransactionAction/SuccessAction.d.ts +9 -0
  200. package/dist/esm/types/components/lists/TransactionAction/SwapAction.d.ts +20 -0
  201. package/dist/esm/types/components/lists/TransactionAction/TransactionAction.d.ts +37 -0
  202. package/dist/esm/types/components/lists/TransactionAction/WrapAction.d.ts +20 -0
  203. package/dist/esm/types/components/lists/TransactionAction/index.d.ts +14 -0
  204. package/dist/esm/types/components/lists/TransactionAction/linkActionTimelineProps.d.ts +2 -0
  205. package/dist/esm/types/components/lists/TransactionItem.d.ts +25 -0
  206. package/dist/esm/types/components/lists/index.d.ts +18 -1
  207. package/dist/esm/types/components/typography/BodyText.d.ts +4 -3
  208. package/dist/esm/types/components/typography/HeadingText.d.ts +2 -1
  209. package/dist/esm/types/components/views/TransactionView/BaseTransactionViewProps.d.ts +10 -0
  210. package/dist/esm/types/components/views/TransactionView/BridgeTransactionView.d.ts +22 -0
  211. package/dist/esm/types/components/views/TransactionView/BuyNFTTransactionView.d.ts +34 -0
  212. package/dist/esm/types/components/views/TransactionView/InteractionTransactionView.d.ts +14 -0
  213. package/dist/esm/types/components/views/TransactionView/SwapTransactionView.d.ts +30 -0
  214. package/dist/esm/types/components/views/TransactionView/TransactionView.d.ts +21 -0
  215. package/dist/esm/types/components/views/TransactionView/TransactionViewLayout.d.ts +10 -0
  216. package/dist/esm/types/components/views/TransactionView/index.d.ts +6 -0
  217. package/dist/esm/types/components/views/index.d.ts +7 -1
  218. package/dist/esm/types/core/utils.d.ts +7 -1
  219. package/dist/esm/types/hooks/useRect.d.ts +3 -0
  220. package/dist/esm/types/providers/SquidConfigProvider.d.ts +1 -0
  221. package/dist/esm/types/stories/badges/IconLabel.stories.d.ts +7 -0
  222. package/dist/esm/types/stories/badges/ImageIcon.stories.d.ts +7 -0
  223. package/dist/esm/types/stories/badges/Loader.stories.d.ts +0 -1
  224. package/dist/esm/types/stories/badges/LoadingSkeleton.stories.d.ts +3 -1
  225. package/dist/esm/types/stories/badges/TransactionState.stories.d.ts +15 -0
  226. package/dist/esm/types/stories/badges/WalletLink.stories.d.ts +6 -0
  227. package/dist/esm/types/stories/buttons/FilterButton.stories.d.ts +7 -0
  228. package/dist/esm/types/stories/controls/Input.stories.d.ts +1 -0
  229. package/dist/esm/types/stories/data/actions.d.ts +223 -0
  230. package/dist/esm/types/stories/data/network.d.ts +52 -0
  231. package/dist/esm/types/stories/data/transaction.d.ts +49 -0
  232. package/dist/esm/types/stories/layout/ExploreLayout.stories.d.ts +6 -0
  233. package/dist/esm/types/stories/layout/HashLink.stories.d.ts +11 -0
  234. package/dist/esm/types/stories/layout/SwapConfiguration.stories.d.ts +2 -1
  235. package/dist/esm/types/stories/layout/TokenPair.stories.d.ts +4 -1
  236. package/dist/esm/types/stories/layout/TransactionFilters.stories.d.ts +6 -0
  237. package/dist/esm/types/stories/layout/TransactionHeader.stories.d.ts +10 -0
  238. package/dist/esm/types/stories/layout/TransactionProperties.stories.d.ts +9 -0
  239. package/dist/esm/types/stories/layout/TransactionSearch.stories.d.ts +7 -0
  240. package/dist/esm/types/stories/{lists/SwapDetailListItem.stories.d.ts → layout/Transfer.stories.d.ts} +2 -3
  241. package/dist/esm/types/stories/lists/ListItem.stories.d.ts +1 -0
  242. package/dist/esm/types/stories/lists/PropertyListItem.stories.d.ts +9 -0
  243. package/dist/esm/types/stories/lists/TransactionAction.stories.d.ts +23 -0
  244. package/dist/esm/types/stories/lists/TransactionItem.stories.d.ts +10 -0
  245. package/dist/esm/types/stories/views/TransactionView.stories.d.ts +9 -0
  246. package/dist/esm/types/styles/compiled-tailwind.css +4 -0
  247. package/dist/esm/types/types/components.d.ts +13 -4
  248. package/dist/esm/types/types/data.d.ts +155 -0
  249. package/dist/esm/types/types/index.d.ts +1 -1
  250. package/dist/index.css +485 -18
  251. package/dist/index.d.ts +825 -88
  252. package/package.json +5 -2
  253. package/dist/cjs/types/components/lists/SwapDetailListItem.d.ts +0 -9
  254. package/dist/esm/types/components/lists/SwapDetailListItem.d.ts +0 -9
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as React$1 from 'react';
4
- import React__default from 'react';
4
+ import React__default, { ReactNode, ComponentProps } from 'react';
5
5
 
6
6
  interface BadgeImageProps {
7
7
  imageUrl?: string;
@@ -13,17 +13,98 @@ interface BadgeImageProps {
13
13
  type BadgeSize = 'sm' | 'md';
14
14
  declare function BadgeImage({ imageUrl, badgeUrl, size, extraMarginForBadge, rounded, }: BadgeImageProps): react_jsx_runtime.JSX.Element | null;
15
15
 
16
- declare function LoadingSkeleton({ className, height, width, }: {
16
+ type TextSize = 'small' | 'medium' | 'large';
17
+ type SwitchSize = 'small' | 'large';
18
+ type ButtonVariant = 'primary' | 'secondary' | 'tertiary';
19
+ type ButtonSize = 'md' | 'lg';
20
+ type SwapDirection = 'from' | 'to';
21
+ type BoostMode = 'normal' | 'boost';
22
+ type HistoryItemStatus = 'completed' | 'pending' | 'failed' | 'warning';
23
+ type DescriptionBlock = {
24
+ type: 'string';
25
+ value: string;
26
+ } | {
27
+ type: 'image';
28
+ value: string;
29
+ rounded?: boolean;
30
+ };
31
+ type SwapStep = {
32
+ descriptionBlocks: DescriptionBlock[];
33
+ link?: string;
34
+ status: ActionStatus;
35
+ };
36
+ declare enum SwapState {
37
+ CONFIRM = 0,
38
+ PROGRESS = 1,
39
+ COMPLETED = 2,
40
+ ERROR = 3,
41
+ PARTIAL_SUCCESS = 4,
42
+ CONFIRMATION_TOO_LONG = 5,
43
+ CONFIRMATION_REJECTED = 6,
44
+ NEEDS_GAS = 7
45
+ }
46
+ type ThemeType = 'light' | 'dark';
47
+ type ActionStatus = 'pending' | 'waiting' | 'ongoing' | 'executed' | 'success' | 'error' | 'warning';
48
+ type TransactionStateVariant = 'full' | 'compact';
49
+ type TokenPairVariant = 'horizontal' | 'vertical';
50
+ type TokenPairSize = 'small' | 'medium';
51
+ type ImageIconVariant = 'square' | 'round' | 'proportional';
52
+ type ImageIconSize = 'small' | 'medium' | 'large' | 'xlarge';
53
+ type ChainTypeFilter = 'source' | 'destination';
54
+ type StatusFilter = 'success' | 'ongoing' | 'error';
55
+ type AssetsButtonVariant = 'primary' | 'accent';
56
+ type PropertyListItemSize = 'small' | 'large';
57
+
58
+ interface IconLabelProps {
59
+ isLoading?: boolean;
60
+ src?: string;
61
+ children?: ReactNode;
62
+ variant?: ImageIconVariant;
63
+ }
64
+ declare function IconLabel({ src, children, variant }: IconLabelProps): react_jsx_runtime.JSX.Element;
65
+
66
+ interface ImageIconProps {
67
+ src?: string;
68
+ variant?: ImageIconVariant;
69
+ size?: ImageIconSize;
70
+ className?: string;
71
+ }
72
+ declare function ImageIcon({ src, variant, size, className: propsClassName, }: ImageIconProps): react_jsx_runtime.JSX.Element;
73
+
74
+ declare const LoadingProvider: React$1.Provider<boolean | null>;
75
+ interface LoadingSkeletonProps {
17
76
  className?: string;
18
77
  height?: string;
78
+ isLoading?: boolean;
79
+ children?: React.ReactNode;
19
80
  width?: string;
20
- }): react_jsx_runtime.JSX.Element;
81
+ }
82
+ declare function LoadingSkeleton({ className, height, isLoading: isLoadingProp, children, width, }: LoadingSkeletonProps): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<React$1.ReactNode> | null | undefined;
83
+
84
+ declare const statusBgClassMap: Record<ActionStatus, string>;
85
+ declare const statusTextClassMap: Record<ActionStatus, string>;
86
+ declare const statusColorClassMap: {
87
+ bg: Record<ActionStatus, string>;
88
+ text: Record<ActionStatus, string>;
89
+ };
90
+ interface TransactionStateProps extends React.HTMLAttributes<HTMLDivElement> {
91
+ status: ActionStatus;
92
+ variant?: TransactionStateVariant;
93
+ icon?: ReactNode;
94
+ }
95
+ declare function TransactionState({ status, variant, icon, ...props }: TransactionStateProps): react_jsx_runtime.JSX.Element;
21
96
 
22
97
  interface UsdAmountProps {
23
98
  usdAmount: string;
24
99
  }
25
100
  declare function UsdAmount({ usdAmount }: UsdAmountProps): react_jsx_runtime.JSX.Element;
26
101
 
102
+ interface WalletLinkProps {
103
+ imageURI: string;
104
+ address: string;
105
+ }
106
+ declare function WalletLink({ imageURI, address }: WalletLinkProps): react_jsx_runtime.JSX.Element;
107
+
27
108
  interface AddressButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
28
109
  label: string;
29
110
  imageUrl?: string;
@@ -38,7 +119,6 @@ interface ArrowButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
38
119
  }
39
120
  declare function ArrowButton({ label, disabled, ...props }: ArrowButtonProps): react_jsx_runtime.JSX.Element;
40
121
 
41
- type AssetsButtonVariant = 'primary' | 'accent';
42
122
  interface AssetsButtonProps {
43
123
  tokenImageUrl?: string;
44
124
  chainImageUrl?: string;
@@ -51,39 +131,6 @@ interface AssetsButtonProps {
51
131
  }
52
132
  declare function AssetsButton({ chainImageUrl, tokenImageUrl, tokenSymbol, chainBgColor: _chainBgColor, tokenBgColor: _tokenBgColor, tokenTextColor, onClick, variant, }: AssetsButtonProps): react_jsx_runtime.JSX.Element;
53
133
 
54
- type TextSize = 'small' | 'medium' | 'large';
55
- type SwitchSize = 'small' | 'large';
56
- type ButtonVariant = 'primary' | 'secondary' | 'tertiary';
57
- type ButtonSize = 'md' | 'lg';
58
- type SwapDirection = 'from' | 'to';
59
- type BoostMode = 'normal' | 'boost';
60
- type HistoryItemStatus = 'completed' | 'pending' | 'failed' | 'warning';
61
- type SwapStepDescriptionBlock = {
62
- type: 'string';
63
- value: string;
64
- } | {
65
- type: 'image';
66
- value: string;
67
- rounded?: boolean;
68
- };
69
- type SwapStep = {
70
- descriptionBlocks: SwapStepDescriptionBlock[];
71
- link?: string;
72
- status: SwapStepItemStatus;
73
- };
74
- declare enum SwapState {
75
- CONFIRM = 0,
76
- PROGRESS = 1,
77
- COMPLETED = 2,
78
- ERROR = 3,
79
- PARTIAL_SUCCESS = 4,
80
- CONFIRMATION_TOO_LONG = 5,
81
- CONFIRMATION_REJECTED = 6,
82
- NEEDS_GAS = 7
83
- }
84
- type ThemeType = 'light' | 'dark';
85
- type SwapStepItemStatus = 'pending' | 'waiting' | 'ongoing' | 'executed' | 'success' | 'error' | 'warning';
86
-
87
134
  interface BoostButtonProps {
88
135
  boostMode: BoostMode;
89
136
  canToggleBoostMode?: boolean;
@@ -115,6 +162,12 @@ interface FeeButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
115
162
  }
116
163
  declare function FeeButton({ feeInUsd, chipLabel, className, ...props }: FeeButtonProps): react_jsx_runtime.JSX.Element;
117
164
 
165
+ interface FilterButtonProps {
166
+ selected: boolean;
167
+ numApplied?: number;
168
+ }
169
+ declare function FilterButton({ selected, numApplied }: FilterButtonProps): react_jsx_runtime.JSX.Element;
170
+
118
171
  interface SettingsButtonProps {
119
172
  label: string;
120
173
  isSelected?: boolean;
@@ -129,21 +182,22 @@ interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
129
182
  isError?: boolean;
130
183
  containerClassName?: string;
131
184
  actionButtonProps?: InputActionButtonProps;
185
+ autoFocusTimeout?: number;
132
186
  }
133
- declare function Input({ placeholder, showIcon, className, icon, isError, containerClassName, actionButtonProps, ...props }: InputProps): react_jsx_runtime.JSX.Element;
187
+ declare function Input({ placeholder, showIcon, className, icon, isError, containerClassName, actionButtonProps, autoFocusTimeout, ...props }: InputProps): react_jsx_runtime.JSX.Element;
134
188
  type InputActionButtonProps = {
135
189
  onClick?: () => void;
136
190
  variant?: ButtonVariant;
137
191
  label?: string;
138
192
  };
139
193
 
140
- interface Token$1 {
194
+ interface Token {
141
195
  price: number;
142
196
  symbol: string;
143
197
  decimals: number;
144
198
  }
145
199
  interface NumericInputProps {
146
- token: Token$1;
200
+ token: Token;
147
201
  onAmountChange: (tokenAmount: string) => void;
148
202
  forcedAmount?: string;
149
203
  maxDecimals?: {
@@ -200,6 +254,13 @@ interface TooltipProps {
200
254
  }
201
255
  declare function Tooltip({ children, tooltipContent, tooltipWidth, threshold, containerClassName, childrenClassName, tooltipClassName, displayDelayMs, }: TooltipProps): react_jsx_runtime.JSX.Element;
202
256
 
257
+ interface Props {
258
+ lottieJsonFile: object;
259
+ animReplacement?: JSX.Element;
260
+ hideAnimations?: boolean;
261
+ }
262
+ declare const AnimationWrapper: ({ lottieJsonFile, animReplacement, hideAnimations, }: Props) => react_jsx_runtime.JSX.Element;
263
+
203
264
  interface BoostProps {
204
265
  boostMode: BoostMode;
205
266
  onToggleBoostMode?: ({ boostMode }: {
@@ -212,6 +273,27 @@ interface BoostProps {
212
273
  }
213
274
  declare function Boost({ boostMode, onToggleBoostMode, estimatedTime, boostDisabledMessage, canToggleBoostMode, boostTooltipDisplayDelayMs, }: BoostProps): react_jsx_runtime.JSX.Element;
214
275
 
276
+ declare function Breadcrumb({ children, className, }: {
277
+ children: ReactNode;
278
+ className?: string;
279
+ }): react_jsx_runtime.JSX.Element;
280
+
281
+ interface CollapseProps extends ComponentProps<'div'> {
282
+ collapsed: boolean;
283
+ collapsedHeight?: number;
284
+ duration?: number;
285
+ }
286
+ declare function Collapse({ collapsed, collapsedHeight, children, className, duration, ...props }: CollapseProps): react_jsx_runtime.JSX.Element;
287
+ interface SizeTransitionProps extends ComponentProps<'div'> {
288
+ }
289
+ declare function SizeTransition({ children, className, ...props }: SizeTransitionProps): react_jsx_runtime.JSX.Element;
290
+
291
+ interface DescriptionBlocksProps extends ComponentProps<'div'> {
292
+ blocks: DescriptionBlock[] | string;
293
+ }
294
+ declare function DescriptionBlocks({ className, blocks: blocksProp, ...props }: DescriptionBlocksProps): react_jsx_runtime.JSX.Element;
295
+ declare function Inline({ className, children, ...props }: ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
296
+
215
297
  interface DetailsToolbarProps {
216
298
  errorMessage?: string;
217
299
  boostMode?: BoostMode;
@@ -220,8 +302,11 @@ interface DetailsToolbarProps {
220
302
  }) => void;
221
303
  onInvertSwapButtonClick?: () => void;
222
304
  onFeeButtonClick?: () => void;
223
- isFlipButtonDisabled?: boolean;
224
- flipButtonDisabledMessage?: string;
305
+ flipButton?: {
306
+ disabledMessage: string;
307
+ isDisabled: boolean;
308
+ tooltipDisplayDelayMs: number;
309
+ };
225
310
  feeInUsd?: string;
226
311
  estimatedTime?: string;
227
312
  canToggleBoostMode?: boolean;
@@ -234,7 +319,7 @@ interface DetailsToolbarProps {
234
319
  };
235
320
  boostTooltipDisplayDelayMs?: number;
236
321
  }
237
- declare function DetailsToolbar({ errorMessage, boostMode, onToggleBoostMode, onInvertSwapButtonClick, onFeeButtonClick, feeInUsd, estimatedTime, canToggleBoostMode, boostDisabledMessage, helpButton, isLoading, isEmpty, boostTooltipDisplayDelayMs, isFlipButtonDisabled, flipButtonDisabledMessage, }: DetailsToolbarProps): react_jsx_runtime.JSX.Element;
322
+ declare function DetailsToolbar({ errorMessage, boostMode, onToggleBoostMode, onInvertSwapButtonClick, onFeeButtonClick, feeInUsd, estimatedTime, canToggleBoostMode, boostDisabledMessage, helpButton, isLoading, isEmpty, boostTooltipDisplayDelayMs, flipButton, }: DetailsToolbarProps): react_jsx_runtime.JSX.Element;
238
323
 
239
324
  interface DropdownMenuItemProps {
240
325
  label: string;
@@ -292,6 +377,15 @@ interface MenuItemProps {
292
377
  }
293
378
  declare function MenuItem({ label, imageUrl, icon }: MenuItemProps): react_jsx_runtime.JSX.Element;
294
379
 
380
+ interface PropertyListItemProps extends ComponentProps<'li'> {
381
+ label: React.ReactNode;
382
+ icon?: React.ReactNode;
383
+ detail?: React.ReactNode;
384
+ isLoading?: boolean;
385
+ variant?: PropertyListItemSize;
386
+ }
387
+ declare function PropertyListItem({ label, detail, icon, isLoading, className, variant, ...props }: PropertyListItemProps): react_jsx_runtime.JSX.Element;
388
+
295
389
  interface SectionTitleProps extends React.HTMLAttributes<HTMLDivElement> {
296
390
  title: string;
297
391
  icon?: React.ReactNode;
@@ -342,23 +436,313 @@ interface SettingsItemProps {
342
436
  }
343
437
  declare function SettingsItem({ icon, label, control, link, transparent, helpTooltip, }: SettingsItemProps): react_jsx_runtime.JSX.Element;
344
438
 
345
- interface SwapDetailListItemProps {
346
- label: string;
347
- icon: React.ReactNode;
348
- detail?: React.ReactNode;
349
- isLoading?: boolean;
350
- }
351
- declare function SwapDetailListItem({ label, detail, icon, isLoading, }: SwapDetailListItemProps): react_jsx_runtime.JSX.Element;
352
-
353
439
  interface SwapStepItemProps {
354
- descriptionBlocks: SwapStepDescriptionBlock[];
440
+ descriptionBlocks: DescriptionBlock[];
355
441
  showStepSeparator?: boolean;
356
442
  link?: string;
357
- status?: SwapStepItemStatus;
443
+ status?: ActionStatus;
358
444
  }
359
445
  declare const STEP_ITEM_HEIGHT = 52;
360
446
  declare function SwapStepItem({ descriptionBlocks, showStepSeparator, link, status, }: SwapStepItemProps): react_jsx_runtime.JSX.Element;
361
447
 
448
+ interface ActionLayoutProps {
449
+ lineCap?: ReactNode;
450
+ status?: ActionStatus;
451
+ showTimeline?: boolean;
452
+ statusIcon?: ReactNode;
453
+ nextStatus?: ActionStatus;
454
+ description?: ReactNode;
455
+ title?: string;
456
+ icon?: ReactNode;
457
+ children?: ReactNode;
458
+ showBody?: boolean;
459
+ }
460
+ declare function ActionLayout({ lineCap, status, showTimeline, showBody, nextStatus, statusIcon, description, title, icon, children, }: ActionLayoutProps): react_jsx_runtime.JSX.Element;
461
+ interface ActionPropertiesProps {
462
+ timestamp?: number;
463
+ hash?: string;
464
+ url?: string;
465
+ }
466
+ declare function ActionProperties({ timestamp, hash, url, }: ActionPropertiesProps): react_jsx_runtime.JSX.Element;
467
+ declare const ActionLineOutRow: ({ status }: {
468
+ status?: ActionStatus;
469
+ }) => react_jsx_runtime.JSX.Element;
470
+ declare const ActionStatusRow: ({ children, status, icon, }: {
471
+ children?: ReactNode;
472
+ status: ActionStatus;
473
+ icon?: ReactNode;
474
+ }) => react_jsx_runtime.JSX.Element;
475
+ declare function ActionRow({ className, ...props }: ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
476
+ declare function ActionWrapper({ children, status, className, }: {
477
+ children?: ReactNode;
478
+ status?: ActionStatus;
479
+ className?: string;
480
+ }): react_jsx_runtime.JSX.Element;
481
+ interface TimestampProps {
482
+ time: number;
483
+ }
484
+ declare function Timestamp({ time }: TimestampProps): react_jsx_runtime.JSX.Element;
485
+
486
+ interface BaseActionProps {
487
+ status: ActionStatus;
488
+ /** if set, renders a line upwards to the next item in the status color */
489
+ nextStatus?: ActionStatus;
490
+ /** should we render a line down to the previous item? (default true) */
491
+ showTimeline?: boolean;
492
+ /** if false, fades out everything but the status line (for collapsed timeline state) */
493
+ showBody?: boolean;
494
+ }
495
+
496
+ interface ApproveActionProps extends BaseActionProps {
497
+ profile: {
498
+ imageURI: string;
499
+ label: string;
500
+ };
501
+ chain: {
502
+ logoURI: string;
503
+ name: string;
504
+ };
505
+ wallet: {
506
+ imageURI: string;
507
+ address: string;
508
+ url: string;
509
+ };
510
+ timestamp: number;
511
+ hash: string;
512
+ url: string;
513
+ }
514
+ declare function ApproveAction({ status, nextStatus, showTimeline, showBody, profile, chain, wallet, timestamp, hash, url, }: ApproveActionProps): react_jsx_runtime.JSX.Element;
515
+
516
+ interface BridgeActionProps extends BaseActionProps {
517
+ token: {
518
+ logoURI: string;
519
+ symbol: string;
520
+ };
521
+ chain: {
522
+ logoURI: string;
523
+ name: string;
524
+ };
525
+ provider: {
526
+ logoURI: string;
527
+ name: string;
528
+ };
529
+ timestamp: number;
530
+ hash: string;
531
+ url: string;
532
+ }
533
+ declare function BridgeAction({ status, nextStatus, showTimeline, showBody, token, chain, provider, timestamp, hash, url, }: BridgeActionProps): react_jsx_runtime.JSX.Element;
534
+
535
+ interface FeesActionProps extends BaseActionProps {
536
+ total: FeesRowProps;
537
+ lines?: FeesRowProps[];
538
+ }
539
+ declare function FeesAction({ status, nextStatus, showTimeline, total, lines, }: FeesActionProps): react_jsx_runtime.JSX.Element;
540
+ interface FeesTotalProps {
541
+ status: ActionStatus;
542
+ nextStatus?: ActionStatus;
543
+ total: FeesRowProps;
544
+ showTimeline?: boolean;
545
+ collapsed?: boolean;
546
+ }
547
+ declare function FeesTotal({ status, nextStatus, total, showTimeline, collapsed, }: FeesTotalProps): react_jsx_runtime.JSX.Element;
548
+ interface FeesLinesProps {
549
+ status: ActionStatus;
550
+ lines?: FeesRowProps[];
551
+ showTimeline?: boolean;
552
+ }
553
+ declare function FeesLines({ status, lines, showTimeline, }: FeesLinesProps): react_jsx_runtime.JSX.Element;
554
+ interface FeesRowProps {
555
+ label: string;
556
+ usd: string;
557
+ eth: string;
558
+ collapsed?: boolean;
559
+ }
560
+
561
+ interface IncompleteActionProps extends BaseActionProps {
562
+ message: string;
563
+ buttons: ReactNode;
564
+ }
565
+ declare function IncompleteAction({ status, nextStatus, message, buttons, }: IncompleteActionProps): react_jsx_runtime.JSX.Element;
566
+
567
+ interface ReceiveNFTActionProps extends BaseActionProps {
568
+ nft: {
569
+ imageURI: string;
570
+ name: string;
571
+ };
572
+ chain: {
573
+ logoURI: string;
574
+ name: string;
575
+ };
576
+ wallet: {
577
+ imageURI: string;
578
+ address: string;
579
+ url: string;
580
+ };
581
+ timestamp: number;
582
+ hash: string;
583
+ url: string;
584
+ }
585
+ declare function ReceiveNFTAction({ status, nextStatus, showTimeline, showBody, nft, chain, wallet, timestamp, hash, url, }: ReceiveNFTActionProps): react_jsx_runtime.JSX.Element;
586
+
587
+ interface ReceiveTokensActionProps extends BaseActionProps {
588
+ amount: string;
589
+ token: {
590
+ logoURI: string;
591
+ symbol: string;
592
+ };
593
+ chain: {
594
+ logoURI: string;
595
+ name: string;
596
+ };
597
+ wallet: {
598
+ imageURI: string;
599
+ address: string;
600
+ url: string;
601
+ };
602
+ timestamp: number;
603
+ hash: string;
604
+ url: string;
605
+ }
606
+ declare function ReceiveTokensAction({ status, nextStatus, showTimeline, showBody, token, amount, chain, wallet, timestamp, hash, url, }: ReceiveTokensActionProps): react_jsx_runtime.JSX.Element;
607
+
608
+ interface SendTokensActionProps extends BaseActionProps {
609
+ amount: string;
610
+ token: {
611
+ logoURI: string;
612
+ symbol: string;
613
+ };
614
+ chain: {
615
+ logoURI: string;
616
+ name: string;
617
+ };
618
+ wallet: {
619
+ imageURI: string;
620
+ address: string;
621
+ url: string;
622
+ };
623
+ timestamp: number;
624
+ hash: string;
625
+ url: string;
626
+ }
627
+ declare function SendTokensAction({ status, nextStatus, showTimeline, showBody, token, amount, chain, wallet, timestamp, hash, url, }: SendTokensActionProps): react_jsx_runtime.JSX.Element;
628
+
629
+ interface StakeActionProps extends BaseActionProps {
630
+ token: {
631
+ logoURI: string;
632
+ symbol: string;
633
+ };
634
+ provider: {
635
+ logoURI: string;
636
+ name: string;
637
+ };
638
+ timestamp: number;
639
+ hash: string;
640
+ url: string;
641
+ }
642
+ declare function StakeAction({ status, nextStatus, showTimeline, showBody, token, provider, timestamp, hash, url, }: StakeActionProps): react_jsx_runtime.JSX.Element;
643
+
644
+ interface StartActionProps extends BaseActionProps {
645
+ timestamp: number;
646
+ hash: string;
647
+ url: string;
648
+ }
649
+ declare function StartAction({ status, nextStatus, showTimeline, showBody, timestamp, hash, url, }: StartActionProps): react_jsx_runtime.JSX.Element;
650
+
651
+ interface SuccessActionProps extends BaseActionProps {
652
+ description?: string;
653
+ timestamp: number;
654
+ hash: string;
655
+ url: string;
656
+ }
657
+ declare function SuccessAction({ nextStatus, status, description, showTimeline, showBody, timestamp, hash, url, }: SuccessActionProps): react_jsx_runtime.JSX.Element;
658
+
659
+ interface SwapActionProps extends BaseActionProps {
660
+ fromToken: {
661
+ logoURI: string;
662
+ symbol: string;
663
+ };
664
+ toToken: {
665
+ logoURI: string;
666
+ symbol: string;
667
+ };
668
+ provider: {
669
+ logoURI: string;
670
+ name: string;
671
+ };
672
+ timestamp: number;
673
+ hash: string;
674
+ url: string;
675
+ }
676
+ declare function SwapAction({ status, nextStatus, showTimeline, showBody, fromToken, toToken, provider, timestamp, hash, url, }: SwapActionProps): react_jsx_runtime.JSX.Element;
677
+
678
+ interface WrapActionProps extends BaseActionProps {
679
+ fromToken: {
680
+ logoURI: string;
681
+ symbol: string;
682
+ };
683
+ toToken: {
684
+ logoURI: string;
685
+ symbol: string;
686
+ };
687
+ provider: {
688
+ logoURI: string;
689
+ name: string;
690
+ };
691
+ timestamp: number;
692
+ hash: string;
693
+ url: string;
694
+ }
695
+ declare function WrapAction({ status, nextStatus, showTimeline, showBody, fromToken, toToken, provider, timestamp, hash, url, }: WrapActionProps): react_jsx_runtime.JSX.Element;
696
+
697
+ declare const actionComponentMap: {
698
+ readonly success: typeof SuccessAction;
699
+ readonly receive_tokens: typeof ReceiveTokensAction;
700
+ readonly receive_nft: typeof ReceiveNFTAction;
701
+ readonly approve: typeof ApproveAction;
702
+ readonly send_tokens: typeof SendTokensAction;
703
+ readonly swap: typeof SwapAction;
704
+ readonly bridge: typeof BridgeAction;
705
+ readonly wrap: typeof WrapAction;
706
+ readonly stake: typeof StakeAction;
707
+ readonly start: typeof StartAction;
708
+ readonly fees: typeof FeesAction;
709
+ readonly incomplete: typeof IncompleteAction;
710
+ };
711
+ type TransactionActionComponents = typeof actionComponentMap;
712
+ type TransactionActionType = keyof TransactionActionComponents;
713
+ type TransactionActionProps = {
714
+ [Type in TransactionActionType]: {
715
+ type: Type;
716
+ props: ComponentProps<TransactionActionComponents[Type]>;
717
+ };
718
+ }[TransactionActionType];
719
+ declare function TransactionAction({ type, props }: TransactionActionProps): react_jsx_runtime.JSX.Element;
720
+
721
+ declare function linkActionTimelineProps(actions: TransactionActionProps[], collapsed: boolean): TransactionActionProps[];
722
+
723
+ interface TransactionItemProps {
724
+ isLoading?: boolean;
725
+ status?: ActionStatus;
726
+ image?: ReactNode;
727
+ type?: {
728
+ icon?: ReactNode;
729
+ name: string;
730
+ };
731
+ hash?: string;
732
+ fromChain?: {
733
+ logoURI: string;
734
+ name: string;
735
+ };
736
+ toChain?: {
737
+ logoURI: string;
738
+ name: string;
739
+ };
740
+ fromAmount?: string;
741
+ toAmount?: string;
742
+ timestamp?: string;
743
+ }
744
+ declare function TransactionItem({ isLoading, status, image, type, hash, fromChain, toChain, fromAmount, toAmount, timestamp, }: TransactionItemProps): react_jsx_runtime.JSX.Element;
745
+
362
746
  interface DropdownMenuProps {
363
747
  dropdownRef?: React.RefObject<HTMLDivElement>;
364
748
  menuRef?: React.RefObject<HTMLDivElement>;
@@ -375,6 +759,21 @@ type ErrorMessageProps = {
375
759
  };
376
760
  declare function ErrorMessage({ message, showIcon }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
377
761
 
762
+ interface ExploreLayoutProps {
763
+ navigation?: ReactNode;
764
+ children?: ReactNode;
765
+ }
766
+ declare function ExploreLayout({ navigation, children }: ExploreLayoutProps): react_jsx_runtime.JSX.Element;
767
+
768
+ interface HashLinkProps {
769
+ showTx?: boolean;
770
+ hash: string;
771
+ children?: ReactNode;
772
+ showCopyButton?: boolean;
773
+ url?: string;
774
+ }
775
+ declare function HashLink({ showTx, hash, showCopyButton, url, children, }: HashLinkProps): react_jsx_runtime.JSX.Element;
776
+
378
777
  interface InfoBoxProps {
379
778
  title: string;
380
779
  description: string;
@@ -382,6 +781,12 @@ interface InfoBoxProps {
382
781
  }
383
782
  declare function InfoBox({ title, description, icon }: InfoBoxProps): react_jsx_runtime.JSX.Element;
384
783
 
784
+ interface JoinProps {
785
+ children?: ReactNode;
786
+ glue: () => ReactNode;
787
+ }
788
+ declare function Join({ children, glue }: JoinProps): react_jsx_runtime.JSX.Element[] | null | undefined;
789
+
385
790
  type Rounded = 'sm' | 'lg';
386
791
  interface MenuProps extends React__default.ComponentProps<'div'> {
387
792
  containerClassName?: string;
@@ -465,8 +870,9 @@ interface SwapConfigurationProps {
465
870
  };
466
871
  criticalPriceImpactPercentage?: number;
467
872
  emptyAddressLabel?: string;
873
+ assetsButtonVariant?: AssetsButtonVariant;
468
874
  }
469
- declare function SwapConfiguration({ amount, tokenPrice, isFetching, chain, token, direction, onAmountChange, onWalletButtonClick, onAssetsButtonClick, address, emptyAddressLabel, balance, criticalPriceImpactPercentage, error, priceImpactPercentage, amountUsd, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;
875
+ declare function SwapConfiguration({ amount, tokenPrice, isFetching, chain, token, direction, onAmountChange, onWalletButtonClick, onAssetsButtonClick, address, emptyAddressLabel, balance, criticalPriceImpactPercentage, error, priceImpactPercentage, amountUsd, assetsButtonVariant, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;
470
876
 
471
877
  interface SwapProgressViewHeaderProps {
472
878
  title: string;
@@ -492,22 +898,254 @@ declare const SwapStepsCollapsed: React$1.ForwardRefExoticComponent<SwapStepsCol
492
898
 
493
899
  interface TokenPairProps {
494
900
  firstToken: {
495
- imageUrl: string;
901
+ logoURI: string;
496
902
  bgColor: string;
497
903
  };
498
904
  secondToken: {
499
- imageUrl: string;
905
+ logoURI: string;
906
+ bgColor: string;
907
+ };
908
+ variant?: TokenPairVariant;
909
+ size?: TokenPairSize;
910
+ }
911
+ declare function TokenPair({ firstToken, secondToken, variant, size, }: TokenPairProps): react_jsx_runtime.JSX.Element;
912
+
913
+ interface TransactionFiltersProps {
914
+ chainType: ChainTypeFilter;
915
+ setChainType: (chainType: ChainTypeFilter) => void;
916
+ chain: string | null;
917
+ setChain: (chain: string | null) => void;
918
+ fromDate: Date | null;
919
+ setFromDate: (fromDate: Date | null) => void;
920
+ toDate: Date | null;
921
+ setToDate: (toDate: Date | null) => void;
922
+ status: StatusFilter[];
923
+ setStatus: (status: StatusFilter[]) => void;
924
+ chains: {
925
+ name: string;
926
+ logoURI: string;
927
+ }[];
928
+ }
929
+ declare function TransactionFilters({ chainType, setChainType, chain, setChain, fromDate, setFromDate, toDate, setToDate, status, setStatus, chains, }: TransactionFiltersProps): react_jsx_runtime.JSX.Element;
930
+
931
+ interface BridgeHeaderProps {
932
+ tokenLogoURI: string;
933
+ chainLogoURI: string;
934
+ title?: string;
935
+ hash: string;
936
+ url?: string;
937
+ status: ActionStatus;
938
+ }
939
+ declare function BridgeHeader({ tokenLogoURI, chainLogoURI, title, hash, url, status, }: BridgeHeaderProps): react_jsx_runtime.JSX.Element;
940
+
941
+ interface BuyNFTHeaderProps {
942
+ imageUrl: string;
943
+ title?: string;
944
+ hash: string;
945
+ url?: string;
946
+ status: ActionStatus;
947
+ }
948
+ declare function BuyNFTHeader({ imageUrl, title, hash, url, status, }: BuyNFTHeaderProps): react_jsx_runtime.JSX.Element;
949
+
950
+ interface InteractionHeaderProps {
951
+ title?: string;
952
+ image?: ReactNode;
953
+ hash: string;
954
+ url?: string;
955
+ status: ActionStatus;
956
+ }
957
+ declare function InteractionHeader({ title, image, hash, url, status, }: InteractionHeaderProps): react_jsx_runtime.JSX.Element;
958
+
959
+ interface ProfileHeaderProps {
960
+ imageUrl: string;
961
+ title: string;
962
+ wallet: {
963
+ imageURI: string;
964
+ address: string;
965
+ };
966
+ amount: string;
967
+ }
968
+ declare function ProfileHeader({ imageUrl, title, wallet, amount, }: ProfileHeaderProps): react_jsx_runtime.JSX.Element;
969
+
970
+ interface SwapHeaderProps {
971
+ fromToken: {
972
+ logoURI: string;
973
+ bgColor: string;
974
+ };
975
+ toToken: {
976
+ logoURI: string;
977
+ bgColor: string;
978
+ };
979
+ title?: string;
980
+ hash: string;
981
+ url?: string;
982
+ status: ActionStatus;
983
+ }
984
+ declare function SwapHeader({ fromToken, toToken, title, hash, url, status, }: SwapHeaderProps): react_jsx_runtime.JSX.Element;
985
+
986
+ declare const headerComponentsMap: {
987
+ readonly swap: typeof SwapHeader;
988
+ readonly buy_nft: typeof BuyNFTHeader;
989
+ readonly interaction: typeof InteractionHeader;
990
+ readonly bridge: typeof BridgeHeader;
991
+ readonly profile: typeof ProfileHeader;
992
+ };
993
+ type TransactionHeaderComponents = typeof headerComponentsMap;
994
+ type TransactionHeaderType = keyof TransactionHeaderComponents;
995
+ type TransactionHeaderProps = {
996
+ [Type in TransactionHeaderType]: {
997
+ type: Type;
998
+ props: ComponentProps<TransactionHeaderComponents[Type]>;
999
+ };
1000
+ }[TransactionHeaderType];
1001
+ declare function TransactionHeader({ type, props }: TransactionHeaderProps): react_jsx_runtime.JSX.Element;
1002
+
1003
+ interface TransactionHeaderLayoutProps {
1004
+ status?: ActionStatus;
1005
+ title: string;
1006
+ image?: ReactNode;
1007
+ children?: ReactNode;
1008
+ }
1009
+ declare function TransactionHeaderLayout({ status, title, image, children, }: TransactionHeaderLayoutProps): react_jsx_runtime.JSX.Element;
1010
+
1011
+ interface BridgePropertiesProps {
1012
+ amount: string;
1013
+ token: {
1014
+ logoURI: string;
1015
+ bgColor: string;
1016
+ symbol: string;
1017
+ };
1018
+ fromChain: {
1019
+ logoURI: string;
1020
+ name: string;
1021
+ };
1022
+ toChain: {
1023
+ logoURI: string;
1024
+ name: string;
1025
+ };
1026
+ wallet: string;
1027
+ boosted?: boolean;
1028
+ timeToComplete: string;
1029
+ }
1030
+ declare function BridgeProperties({ amount, token, fromChain, toChain, wallet, boosted, timeToComplete, }: BridgePropertiesProps): react_jsx_runtime.JSX.Element;
1031
+
1032
+ interface BuyNFTPropertiesProps {
1033
+ title: string;
1034
+ imageURI: string;
1035
+ collection: {
1036
+ imageURI: string;
1037
+ name: string;
1038
+ };
1039
+ price: string;
1040
+ token: {
1041
+ logoURI: string;
1042
+ symbol: string;
1043
+ };
1044
+ marketplace: {
1045
+ logoURI: string;
1046
+ name: string;
1047
+ };
1048
+ fromChain: {
1049
+ logoURI: string;
1050
+ name: string;
1051
+ };
1052
+ toChain: {
1053
+ logoURI: string;
1054
+ name: string;
1055
+ };
1056
+ fromAddress: string;
1057
+ toAddress: string;
1058
+ boosted?: boolean;
1059
+ timeToComplete: string;
1060
+ tokenId: string;
1061
+ nftType: string;
1062
+ }
1063
+ declare function BuyNFTProperties({ title, imageURI, collection, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, tokenId, nftType, }: BuyNFTPropertiesProps): react_jsx_runtime.JSX.Element;
1064
+
1065
+ interface InteractionPropertiesProps {
1066
+ chain: {
1067
+ logoURI: string;
1068
+ name: string;
1069
+ };
1070
+ wallet: string;
1071
+ boosted?: boolean;
1072
+ timeToComplete: string;
1073
+ }
1074
+ declare function InteractionProperties({ chain, wallet, boosted, timeToComplete, }: InteractionPropertiesProps): react_jsx_runtime.JSX.Element;
1075
+
1076
+ interface PropertiesLayoutProps {
1077
+ children?: ReactNode;
1078
+ className?: string;
1079
+ }
1080
+ declare function PropertiesLayout({ children, className, }: PropertiesLayoutProps): react_jsx_runtime.JSX.Element;
1081
+
1082
+ interface SwapPropertiesProps {
1083
+ fromAmount: string;
1084
+ fromToken: {
1085
+ logoURI: string;
1086
+ bgColor: string;
1087
+ symbol: string;
1088
+ };
1089
+ toAmount: string;
1090
+ toToken: {
1091
+ logoURI: string;
500
1092
  bgColor: string;
1093
+ symbol: string;
1094
+ };
1095
+ fromChain: {
1096
+ logoURI: string;
1097
+ name: string;
1098
+ };
1099
+ toChain: {
1100
+ logoURI: string;
1101
+ name: string;
1102
+ };
1103
+ fromAddress: string;
1104
+ toAddress: string;
1105
+ exchangeRate: string;
1106
+ boosted?: boolean;
1107
+ timeToComplete: string;
1108
+ }
1109
+ declare function SwapProperties({ fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, boosted, timeToComplete, }: SwapPropertiesProps): react_jsx_runtime.JSX.Element;
1110
+
1111
+ declare const propertiesComponentsMap: {
1112
+ readonly swap: typeof SwapProperties;
1113
+ readonly buy_nft: typeof BuyNFTProperties;
1114
+ readonly interaction: typeof InteractionProperties;
1115
+ readonly bridge: typeof BridgeProperties;
1116
+ };
1117
+ type TransactionPropertiesComponents = typeof propertiesComponentsMap;
1118
+ type TransactionPropertiesType = keyof TransactionPropertiesComponents;
1119
+ type TransactionPropertiesProps = {
1120
+ [Type in TransactionPropertiesType]: {
1121
+ type: Type;
1122
+ props: ComponentProps<TransactionPropertiesComponents[Type]>;
501
1123
  };
1124
+ }[TransactionPropertiesType];
1125
+ declare function TransactionProperties({ type, props, }: TransactionPropertiesProps): react_jsx_runtime.JSX.Element;
1126
+
1127
+ interface TransactionSearchProps {
1128
+ query: string;
1129
+ setQuery: (query: string) => void;
1130
+ children?: ReactNode;
502
1131
  }
503
- declare function TokenPair({ firstToken, secondToken }: TokenPairProps): react_jsx_runtime.JSX.Element;
1132
+ declare function TransactionSearch({ query, setQuery, children, }: TransactionSearchProps): react_jsx_runtime.JSX.Element;
1133
+
1134
+ interface FromToProps {
1135
+ isLoading?: boolean;
1136
+ from?: ReactNode;
1137
+ to?: ReactNode;
1138
+ className?: string;
1139
+ }
1140
+ declare function Transfer({ isLoading, from, to, className }: FromToProps): react_jsx_runtime.JSX.Element;
504
1141
 
505
1142
  interface BodyTextProps extends React.HTMLAttributes<HTMLSpanElement> {
506
- children: string | undefined;
1143
+ children: ReactNode;
507
1144
  size: TextSize;
508
1145
  bold?: boolean;
1146
+ tight?: boolean;
509
1147
  }
510
- declare function BodyText({ size, children, bold, ...props }: BodyTextProps): react_jsx_runtime.JSX.Element;
1148
+ declare function BodyText({ size, children, bold, tight, ...props }: BodyTextProps): react_jsx_runtime.JSX.Element;
511
1149
 
512
1150
  interface CaptionProps extends React.HTMLAttributes<HTMLSpanElement> {
513
1151
  bold?: boolean;
@@ -518,38 +1156,137 @@ interface HeadingTextProps {
518
1156
  children: string;
519
1157
  size: TextSize;
520
1158
  bold?: boolean;
1159
+ className?: string;
521
1160
  }
522
- declare function HeadingText({ children, bold, size }: HeadingTextProps): react_jsx_runtime.JSX.Element;
1161
+ declare function HeadingText({ children, bold, size, className, }: HeadingTextProps): react_jsx_runtime.JSX.Element;
523
1162
 
524
- type ChainData = {
525
- networkName: string;
526
- logoUrl: string;
527
- bgColor: string;
528
- };
529
- type Token = {
530
- symbol: string;
531
- logoUrl: string;
532
- bgColor: string;
533
- };
534
- declare function SwapProgressView({ steps, isOpen, handleClose, handleComplete, socialLink, supportLink, fromAmount, fromChain, fromToken, toAmount, toChain, toToken, fromAddressFormatted, toAddressFormatted, swapState, estimatedTimeToComplete, footerButton, }: {
535
- steps: SwapStep[];
536
- handleClose?: () => void;
537
- handleComplete?: () => void;
538
- isOpen?: boolean;
539
- socialLink?: string;
540
- supportLink?: string;
541
- fromToken: Token;
542
- toToken: Token;
1163
+ interface BaseTransactionViewProps {
1164
+ title?: string;
1165
+ hash: string;
1166
+ status: ActionStatus;
1167
+ url?: string;
1168
+ actions: TransactionActionProps[];
1169
+ fees: FeesActionProps;
1170
+ }
1171
+
1172
+ interface BridgeTransactionViewProps extends BaseTransactionViewProps {
1173
+ amount: string;
1174
+ token: {
1175
+ logoURI: string;
1176
+ bgColor: string;
1177
+ symbol: string;
1178
+ };
1179
+ fromChain: {
1180
+ logoURI: string;
1181
+ name: string;
1182
+ };
1183
+ toChain: {
1184
+ logoURI: string;
1185
+ name: string;
1186
+ };
1187
+ address: string;
1188
+ boosted?: boolean;
1189
+ timeToComplete: string;
1190
+ }
1191
+ declare function BridgeTransactionView({ title, hash, status, url, amount, token, fromChain, toChain, address, actions, fees, boosted, timeToComplete, }: BridgeTransactionViewProps): react_jsx_runtime.JSX.Element;
1192
+
1193
+ interface BuyNFTTTransactionViewProps extends BaseTransactionViewProps {
1194
+ title: string;
1195
+ imageURI: string;
1196
+ collection: {
1197
+ imageURI: string;
1198
+ name: string;
1199
+ };
1200
+ price: string;
1201
+ token: {
1202
+ logoURI: string;
1203
+ symbol: string;
1204
+ };
1205
+ marketplace: {
1206
+ logoURI: string;
1207
+ name: string;
1208
+ };
1209
+ fromChain: {
1210
+ logoURI: string;
1211
+ name: string;
1212
+ };
1213
+ toChain: {
1214
+ logoURI: string;
1215
+ name: string;
1216
+ };
1217
+ fromAddress: string;
1218
+ toAddress: string;
1219
+ boosted?: boolean;
1220
+ tokenId: string;
1221
+ nftType: string;
1222
+ timeToComplete: string;
1223
+ }
1224
+ declare function BuyNFTTransactionView({ title, hash, status, url, imageURI, collection, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, tokenId, nftType, actions, fees, }: BuyNFTTTransactionViewProps): react_jsx_runtime.JSX.Element;
1225
+
1226
+ interface InteractionTTransactionViewProps extends BaseTransactionViewProps {
1227
+ image?: ReactNode;
1228
+ chain: {
1229
+ logoURI: string;
1230
+ name: string;
1231
+ };
1232
+ address: string;
1233
+ boosted?: boolean;
1234
+ timeToComplete: string;
1235
+ }
1236
+ declare function InteractionTransactionView({ title, hash, status, url, image, chain, address, boosted, timeToComplete, actions, fees, }: InteractionTTransactionViewProps): react_jsx_runtime.JSX.Element;
1237
+
1238
+ interface SwapTransactionViewProps extends BaseTransactionViewProps {
543
1239
  fromAmount: string;
1240
+ fromToken: {
1241
+ logoURI: string;
1242
+ bgColor: string;
1243
+ symbol: string;
1244
+ };
544
1245
  toAmount: string;
545
- fromChain: ChainData;
546
- toChain: ChainData;
547
- fromAddressFormatted: string;
548
- toAddressFormatted: string;
549
- swapState: SwapState;
550
- estimatedTimeToComplete?: string;
551
- footerButton?: SwapStepsCollapsedFooterButton;
552
- }): react_jsx_runtime.JSX.Element;
1246
+ toToken: {
1247
+ logoURI: string;
1248
+ bgColor: string;
1249
+ symbol: string;
1250
+ };
1251
+ fromChain: {
1252
+ logoURI: string;
1253
+ name: string;
1254
+ };
1255
+ toChain: {
1256
+ logoURI: string;
1257
+ name: string;
1258
+ };
1259
+ fromAddress: string;
1260
+ toAddress: string;
1261
+ exchangeRate: string;
1262
+ boosted?: boolean;
1263
+ timeToComplete: string;
1264
+ }
1265
+ declare function SwapTransactionView({ title, hash, status, url, fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, boosted, timeToComplete, actions, fees, }: SwapTransactionViewProps): react_jsx_runtime.JSX.Element;
1266
+
1267
+ declare const componentMap: {
1268
+ readonly swap: typeof SwapTransactionView;
1269
+ readonly buy_nft: typeof BuyNFTTransactionView;
1270
+ readonly interaction: typeof InteractionTransactionView;
1271
+ readonly bridge: typeof BridgeTransactionView;
1272
+ };
1273
+ type TransactionViewComponents = typeof componentMap;
1274
+ type TransactionViewType = keyof TransactionViewComponents;
1275
+ type TransactionViewProps = {
1276
+ [Type in TransactionViewType]: {
1277
+ type: Type;
1278
+ props: ComponentProps<TransactionViewComponents[Type]>;
1279
+ };
1280
+ }[TransactionViewType];
1281
+ declare function TransactionView({ type, props }: TransactionViewProps): react_jsx_runtime.JSX.Element;
1282
+
1283
+ interface TransactionViewLayoutProps extends ComponentProps<'div'> {
1284
+ header: ReactNode;
1285
+ properties: ReactNode;
1286
+ actions: TransactionActionProps[];
1287
+ fees: FeesActionProps;
1288
+ }
1289
+ declare function TransactionViewLayout({ header, properties, actions, fees, ...props }: TransactionViewLayoutProps): react_jsx_runtime.JSX.Element;
553
1290
 
554
1291
  type SquidTheme = {
555
1292
  'content-100': string;
@@ -584,4 +1321,4 @@ declare function useDropdownMenu(props?: {
584
1321
  openDropdownButtonRef: React.RefObject<HTMLButtonElement>;
585
1322
  };
586
1323
 
587
- export { AddressButton, ArrowButton, AssetsButton, BadgeImage, BodyText, Boost, BoostButton, BorderedContainer, Button, CaptionText, Chip, DetailsToolbar, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, ErrorMessage, FeeButton, HeadingText, HistoryItem, type HistoryItemStatus, InfoBox, Input, ListItem, LoadingSkeleton, Menu, MenuItem, Modal, ModalContent, ModalContentDivider, NavigationBar, NumericInput, ProductCard, ProfileHeaderBackground, STEP_ITEM_HEIGHT, SectionTitle, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsItem, type SettingsItemProps, SettingsSlider, type SettingsSliderProps, SquidConfigProvider, type SquidTheme, SwapConfiguration, SwapDetailListItem, SwapProgressView, SwapProgressViewHeader, SwapState, type SwapStep, SwapStepItem, type SwapStepItemStatus, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, Switch, type ThemeType, TokenPair, Tooltip, type TooltipProps, type TooltipThreshold, type TooltipWidth, UsdAmount, useDropdownMenu };
1324
+ export { ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, AnimationWrapper, ApproveAction, ArrowButton, AssetsButton, BadgeImage, type BaseActionProps, type BaseTransactionViewProps, BodyText, Boost, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BridgeTransactionView, Button, BuyNFTHeader, BuyNFTProperties, BuyNFTTransactionView, CaptionText, Chip, Collapse, DescriptionBlocks, DetailsToolbar, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, ErrorMessage, ExploreLayout, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FilterButton, HashLink, HeadingText, HistoryItem, type HistoryItemStatus, IconLabel, ImageIcon, IncompleteAction, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, ListItem, LoadingProvider, LoadingSkeleton, Menu, MenuItem, Modal, ModalContent, ModalContentDivider, NavigationBar, NumericInput, ProductCard, ProfileHeader, ProfileHeaderBackground, PropertiesLayout, PropertyListItem, type PropertyListItemProps, ReceiveNFTAction, ReceiveTokensAction, STEP_ITEM_HEIGHT, SectionTitle, SendTokensAction, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsItem, type SettingsItemProps, SettingsSlider, type SettingsSliderProps, SizeTransition, SquidConfigProvider, type SquidTheme, StakeAction, StartAction, SuccessAction, SwapAction, SwapConfiguration, SwapHeader, type SwapHeaderProps, SwapProgressViewHeader, SwapProperties, type SwapPropertiesProps, SwapState, type SwapStep, SwapStepItem, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, SwapTransactionView, Switch, type ThemeType, Timestamp, TokenPair, Tooltip, type TooltipProps, type TooltipThreshold, type TooltipWidth, TransactionAction, type TransactionActionProps, type TransactionActionType, TransactionFilters, TransactionHeader, TransactionHeaderLayout, type TransactionHeaderProps, type TransactionHeaderType, TransactionItem, TransactionProperties, type TransactionPropertiesProps, type TransactionPropertiesType, TransactionSearch, TransactionState, TransactionView, TransactionViewLayout, type TransactionViewProps, type TransactionViewType, Transfer, UsdAmount, WalletLink, WrapAction, linkActionTimelineProps, statusBgClassMap, statusColorClassMap, statusTextClassMap, useDropdownMenu };