@rango-dev/ui 0.23.0 → 0.24.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 (211) hide show
  1. package/CHANGELOG.md +1 -86
  2. package/dist/index.js +6 -6
  3. package/dist/index.js.map +4 -4
  4. package/dist/translations/en.d.ts.map +1 -1
  5. package/dist/translations/es.d.ts.map +1 -1
  6. package/dist/translations/fr.d.ts.map +1 -1
  7. package/dist/translations/ja.d.ts.map +1 -1
  8. package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts +0 -157
  9. package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts.map +1 -1
  10. package/dist/widget/ui/src/components/BestRoute/BestRoute.d.ts +4 -0
  11. package/dist/widget/ui/src/components/BestRoute/BestRoute.d.ts.map +1 -0
  12. package/dist/widget/ui/src/components/BestRoute/BestRoute.stories.d.ts +7 -0
  13. package/dist/widget/ui/src/components/BestRoute/BestRoute.stories.d.ts.map +1 -0
  14. package/dist/widget/ui/src/components/BestRoute/BestRoute.styles.d.ts +1429 -0
  15. package/dist/widget/ui/src/components/BestRoute/BestRoute.styles.d.ts.map +1 -0
  16. package/dist/widget/ui/src/components/BestRoute/BestRoute.types.d.ts +34 -0
  17. package/dist/widget/ui/src/components/BestRoute/BestRoute.types.d.ts.map +1 -0
  18. package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.d.ts +4 -0
  19. package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.d.ts.map +1 -0
  20. package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.styles.d.ts +319 -0
  21. package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.styles.d.ts.map +1 -0
  22. package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.types.d.ts +6 -0
  23. package/dist/widget/ui/src/components/BestRoute/BestRouteSkeleton.types.d.ts.map +1 -0
  24. package/dist/widget/ui/src/components/BestRoute/RouteSummary.d.ts +12 -0
  25. package/dist/widget/ui/src/components/BestRoute/RouteSummary.d.ts.map +1 -0
  26. package/dist/widget/ui/src/components/BestRoute/RouteSummary.styles.d.ts +158 -0
  27. package/dist/widget/ui/src/components/BestRoute/RouteSummary.styles.d.ts.map +1 -0
  28. package/dist/widget/ui/src/components/BestRoute/index.d.ts +5 -0
  29. package/dist/widget/ui/src/components/BestRoute/index.d.ts.map +1 -0
  30. package/dist/widget/ui/src/components/BestRoute/mock.d.ts +3 -0
  31. package/dist/widget/ui/src/components/BestRoute/mock.d.ts.map +1 -0
  32. package/dist/widget/ui/src/components/BlockchainsChip/BlockchainsChip.styles.d.ts.map +1 -1
  33. package/dist/widget/ui/src/components/Button/Button.d.ts +54 -54
  34. package/dist/widget/ui/src/components/Button/Button.styles.d.ts.map +1 -1
  35. package/dist/widget/ui/src/components/Checkbox/Checkbox.styles.d.ts.map +1 -1
  36. package/dist/widget/ui/src/components/ListItem/ListItem.styles.d.ts.map +1 -1
  37. package/dist/widget/ui/src/components/ListItemButton/ListItemButton.styles.d.ts.map +1 -1
  38. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts +0 -158
  39. package/dist/widget/ui/src/components/PriceImpact/PriceImpact.styles.d.ts.map +1 -1
  40. package/dist/widget/ui/src/components/Radio/Radio.styles.d.ts.map +1 -1
  41. package/dist/widget/ui/src/components/RouteCost/RouteCost.d.ts +4 -0
  42. package/dist/widget/ui/src/components/RouteCost/RouteCost.d.ts.map +1 -0
  43. package/dist/widget/ui/src/components/RouteCost/RouteCost.styles.d.ts +158 -0
  44. package/dist/widget/ui/src/components/RouteCost/RouteCost.styles.d.ts.map +1 -0
  45. package/dist/widget/ui/src/components/{QuoteCost/QuoteCost.types.d.ts → RouteCost/RouteCost.types.d.ts} +1 -1
  46. package/dist/widget/ui/src/components/RouteCost/RouteCost.types.d.ts.map +1 -0
  47. package/dist/widget/ui/src/components/RouteCost/index.d.ts +2 -0
  48. package/dist/widget/ui/src/components/RouteCost/index.d.ts.map +1 -0
  49. package/dist/widget/ui/src/components/RoutesOverview/RoutesOverview.d.ts.map +1 -1
  50. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.d.ts.map +1 -1
  51. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts +2 -16
  52. package/dist/widget/ui/src/components/SelectableCategoryList/SelectableCategoryList.helpers.d.ts.map +1 -1
  53. package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts +0 -1
  54. package/dist/widget/ui/src/components/SelectableCategoryList/index.d.ts.map +1 -1
  55. package/dist/widget/ui/src/components/Skeleton/Skeleton.d.ts.map +1 -1
  56. package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts +1 -1
  57. package/dist/widget/ui/src/components/Skeleton/Skeleton.types.d.ts.map +1 -1
  58. package/dist/widget/ui/src/components/StepDetails/StepDetails.d.ts.map +1 -1
  59. package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts +1 -7
  60. package/dist/widget/ui/src/components/StepDetails/StepDetails.styles.d.ts.map +1 -1
  61. package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts +2 -16
  62. package/dist/widget/ui/src/components/StepDetails/StepDetails.types.d.ts.map +1 -1
  63. package/dist/widget/ui/src/components/StepDetails/index.d.ts +1 -1
  64. package/dist/widget/ui/src/components/StepDetails/index.d.ts.map +1 -1
  65. package/dist/widget/ui/src/components/StepDetails/mock.d.ts +1 -1
  66. package/dist/widget/ui/src/components/StepDetails/mock.d.ts.map +1 -1
  67. package/dist/widget/ui/src/components/SwapListItem/mock.d.ts +1 -1
  68. package/dist/widget/ui/src/components/SwapListItem/mock.d.ts.map +1 -1
  69. package/dist/widget/ui/src/components/Switch/Switch.styles.d.ts.map +1 -1
  70. package/dist/widget/ui/src/components/TextField/TextField.d.ts.map +1 -1
  71. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.d.ts.map +1 -1
  72. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts +1 -471
  73. package/dist/widget/ui/src/components/TokenAmount/TokenAmount.styles.d.ts.map +1 -1
  74. package/dist/widget/ui/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  75. package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts +2 -2
  76. package/dist/widget/ui/src/components/Tooltip/Tooltip.styles.d.ts.map +1 -1
  77. package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts +17 -3
  78. package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts.map +1 -1
  79. package/dist/widget/ui/src/components/common/Image.d.ts +0 -157
  80. package/dist/widget/ui/src/components/common/Image.d.ts.map +1 -1
  81. package/dist/widget/ui/src/components/common/index.d.ts +1 -1
  82. package/dist/widget/ui/src/components/common/index.d.ts.map +1 -1
  83. package/dist/widget/ui/src/components/index.d.ts +2 -1
  84. package/dist/widget/ui/src/components/index.d.ts.map +1 -1
  85. package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.d.ts +3 -3
  86. package/dist/widget/ui/src/containers/BlockchainSelector/BlockchainSelector.d.ts.map +1 -1
  87. package/dist/widget/ui/src/containers/History/types.d.ts +2 -0
  88. package/dist/widget/ui/src/containers/History/types.d.ts.map +1 -0
  89. package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts +1 -1
  90. package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.d.ts.map +1 -1
  91. package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.stories.d.ts +2 -2
  92. package/dist/widget/ui/src/containers/SwapHistory/SwapHistory.stories.d.ts.map +1 -1
  93. package/dist/widget/ui/src/containers/SwapHistory/mock.d.ts +1 -1
  94. package/dist/widget/ui/src/containers/SwapHistory/mock.d.ts.map +1 -1
  95. package/dist/widget/ui/src/containers/SwapInput/SwapInput.d.ts.map +1 -1
  96. package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts +54 -1313
  97. package/dist/widget/ui/src/containers/SwapInput/SwapInput.styles.d.ts.map +1 -1
  98. package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts +0 -2
  99. package/dist/widget/ui/src/containers/SwapInput/SwapInput.types.d.ts.map +1 -1
  100. package/dist/widget/ui/src/containers/SwapInput/TokenSection.d.ts.map +1 -1
  101. package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts +54 -525
  102. package/dist/widget/ui/src/containers/SwapInput/TokenSection.styles.d.ts.map +1 -1
  103. package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts +2 -2
  104. package/dist/widget/ui/src/containers/TokenSelector/TokenSelector.d.ts.map +1 -1
  105. package/dist/widget/ui/src/{utils → helper}/index.d.ts +3 -0
  106. package/dist/widget/ui/src/helper/index.d.ts.map +1 -0
  107. package/dist/widget/ui/src/icons/Icons.stories.d.ts +1 -1
  108. package/dist/widget/ui/src/icons/index.d.ts +0 -5
  109. package/dist/widget/ui/src/icons/index.d.ts.map +1 -1
  110. package/dist/widget/ui/src/index.d.ts +1 -0
  111. package/dist/widget/ui/src/index.d.ts.map +1 -1
  112. package/dist/widget/ui/src/types/index.d.ts +1 -0
  113. package/dist/widget/ui/src/types/index.d.ts.map +1 -1
  114. package/dist/widget/ui/src/types/swaps.d.ts +27 -1
  115. package/dist/widget/ui/src/types/swaps.d.ts.map +1 -1
  116. package/package.json +5 -6
  117. package/src/components/Alert/Alert.styles.ts +12 -9
  118. package/src/components/Alert/Alert.tsx +2 -2
  119. package/src/components/BestRoute/BestRoute.stories.tsx +17 -0
  120. package/src/components/BestRoute/BestRoute.styles.ts +213 -0
  121. package/src/components/BestRoute/BestRoute.tsx +176 -0
  122. package/src/components/BestRoute/BestRoute.types.ts +32 -0
  123. package/src/components/BestRoute/BestRouteSkeleton.styles.ts +110 -0
  124. package/src/components/BestRoute/BestRouteSkeleton.tsx +112 -0
  125. package/src/components/BestRoute/BestRouteSkeleton.types.ts +5 -0
  126. package/src/components/BestRoute/RouteSummary.styles.ts +15 -0
  127. package/src/components/BestRoute/RouteSummary.tsx +48 -0
  128. package/src/components/BestRoute/index.ts +4 -0
  129. package/src/components/BestRoute/mock.ts +142 -0
  130. package/src/components/BlockchainsChip/BlockchainsChip.styles.ts +1 -2
  131. package/src/components/Button/Button.styles.tsx +0 -1
  132. package/src/components/Checkbox/Checkbox.styles.ts +1 -5
  133. package/src/components/ListItem/ListItem.styles.ts +0 -9
  134. package/src/components/ListItem/ListItem.tsx +1 -1
  135. package/src/components/ListItemButton/ListItemButton.styles.ts +0 -1
  136. package/src/components/PriceImpact/PriceImpact.styles.ts +1 -9
  137. package/src/components/PriceImpact/PriceImpact.tsx +5 -5
  138. package/src/components/Radio/Radio.styles.tsx +2 -5
  139. package/src/components/RouteCost/RouteCost.styles.ts +20 -0
  140. package/src/components/{QuoteCost/QuoteCost.tsx → RouteCost/RouteCost.tsx} +10 -14
  141. package/src/components/RouteCost/index.ts +1 -0
  142. package/src/components/RoutesOverview/RoutesOverview.tsx +2 -6
  143. package/src/components/SelectableCategoryList/SelectableCategoryList.helpers.ts +13 -40
  144. package/src/components/SelectableCategoryList/SelectableCategoryList.tsx +46 -47
  145. package/src/components/SelectableCategoryList/index.ts +0 -1
  146. package/src/components/SelectableWalletList/SelectableWalletList.tsx +1 -1
  147. package/src/components/Skeleton/Skeleton.tsx +2 -3
  148. package/src/components/Skeleton/Skeleton.types.ts +1 -1
  149. package/src/components/StepDetails/StepDetails.stories.tsx +1 -1
  150. package/src/components/StepDetails/StepDetails.styles.ts +28 -36
  151. package/src/components/StepDetails/StepDetails.tsx +7 -11
  152. package/src/components/StepDetails/StepDetails.types.ts +2 -17
  153. package/src/components/StepDetails/index.ts +1 -1
  154. package/src/components/StepDetails/mock.ts +1 -1
  155. package/src/components/SvgIcon/SvgIcon.style.ts +1 -1
  156. package/src/components/SwapListItem/mock.ts +6 -21
  157. package/src/components/Switch/Switch.styles.tsx +6 -8
  158. package/src/components/TextField/TextField.tsx +5 -3
  159. package/src/components/TokenAmount/TokenAmount.styles.ts +10 -12
  160. package/src/components/TokenAmount/TokenAmount.tsx +17 -23
  161. package/src/components/Tooltip/Tooltip.styles.ts +5 -8
  162. package/src/components/Tooltip/Tooltip.tsx +3 -2
  163. package/src/components/Wallet/Wallet.styles.ts +1 -1
  164. package/src/components/Wallet/Wallet.types.ts +23 -3
  165. package/src/components/common/Image.tsx +2 -1
  166. package/src/components/common/index.ts +1 -1
  167. package/src/components/index.ts +2 -1
  168. package/src/containers/BlockchainSelector/BlockchainSelector.tsx +8 -9
  169. package/src/containers/History/types.tsx +1 -0
  170. package/src/containers/SwapHistory/SwapHistory.stories.tsx +2 -5
  171. package/src/containers/SwapHistory/SwapHistory.tsx +1 -1
  172. package/src/containers/SwapHistory/mock.ts +8 -24
  173. package/src/containers/SwapInput/SwapInput.styles.ts +27 -78
  174. package/src/containers/SwapInput/SwapInput.tsx +29 -37
  175. package/src/containers/SwapInput/SwapInput.types.ts +0 -2
  176. package/src/containers/SwapInput/TokenSection.styles.ts +12 -27
  177. package/src/containers/SwapInput/TokenSection.tsx +6 -15
  178. package/src/containers/TokenSelector/TokenSelector.tsx +10 -8
  179. package/src/helper/index.ts +99 -0
  180. package/src/icons/index.ts +0 -5
  181. package/src/index.ts +1 -0
  182. package/src/theme.ts +4 -4
  183. package/src/types/index.ts +1 -0
  184. package/src/types/swaps.ts +38 -0
  185. package/dist/widget/ui/src/components/QuoteCost/QuoteCost.d.ts +0 -4
  186. package/dist/widget/ui/src/components/QuoteCost/QuoteCost.d.ts.map +0 -1
  187. package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts +0 -629
  188. package/dist/widget/ui/src/components/QuoteCost/QuoteCost.styles.d.ts.map +0 -1
  189. package/dist/widget/ui/src/components/QuoteCost/QuoteCost.types.d.ts.map +0 -1
  190. package/dist/widget/ui/src/components/QuoteCost/index.d.ts +0 -2
  191. package/dist/widget/ui/src/components/QuoteCost/index.d.ts.map +0 -1
  192. package/dist/widget/ui/src/icons/CosmosCategory.d.ts +0 -5
  193. package/dist/widget/ui/src/icons/CosmosCategory.d.ts.map +0 -1
  194. package/dist/widget/ui/src/icons/EvmCategory.d.ts +0 -5
  195. package/dist/widget/ui/src/icons/EvmCategory.d.ts.map +0 -1
  196. package/dist/widget/ui/src/icons/Language.d.ts +0 -5
  197. package/dist/widget/ui/src/icons/Language.d.ts.map +0 -1
  198. package/dist/widget/ui/src/icons/OtherCategory.d.ts +0 -5
  199. package/dist/widget/ui/src/icons/OtherCategory.d.ts.map +0 -1
  200. package/dist/widget/ui/src/icons/UtxoCategory.d.ts +0 -5
  201. package/dist/widget/ui/src/icons/UtxoCategory.d.ts.map +0 -1
  202. package/dist/widget/ui/src/utils/index.d.ts.map +0 -1
  203. package/src/components/QuoteCost/QuoteCost.styles.ts +0 -29
  204. package/src/components/QuoteCost/index.ts +0 -1
  205. package/src/icons/CosmosCategory.tsx +0 -137
  206. package/src/icons/EvmCategory.tsx +0 -74
  207. package/src/icons/Language.tsx +0 -55
  208. package/src/icons/OtherCategory.tsx +0 -72
  209. package/src/icons/UtxoCategory.tsx +0 -44
  210. package/src/utils/index.ts +0 -23
  211. /package/src/components/{QuoteCost/QuoteCost.types.ts → RouteCost/RouteCost.types.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BestRoute.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BestRoute/BestRoute.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAM3D,eAAO,MAAM,qCAAqC,MAAM,CAAC;AAEzD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DA6BzB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAU9B,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMpB,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { SwapInputProps } from '../../containers/SwapInput/SwapInput.types';
2
+ import type { PriceImpactProps } from '../PriceImpact/PriceImpact.types';
3
+ import type { ReactNode } from 'react';
4
+ type BaseStep = Pick<SwapInputProps, 'chain' | 'token' | 'price'>;
5
+ export type Step = {
6
+ swapper: SwapInputProps['chain'];
7
+ from: BaseStep;
8
+ to: BaseStep;
9
+ error?: {
10
+ title?: string;
11
+ description?: string;
12
+ };
13
+ alerts?: ReactNode;
14
+ };
15
+ export type BestRouteProps = Pick<PriceImpactProps, 'percentageChange' | 'warningLevel'> & {
16
+ type: 'basic' | 'list-item' | 'swap-preview';
17
+ recommended: boolean;
18
+ tag?: ReactNode;
19
+ input: {
20
+ value: string;
21
+ usdValue: string;
22
+ };
23
+ output: {
24
+ value: string;
25
+ usdValue?: string;
26
+ };
27
+ steps: Step[];
28
+ totalFee: string;
29
+ totalTime: string;
30
+ expanded?: boolean;
31
+ tooltipContainer?: HTMLElement;
32
+ };
33
+ export {};
34
+ //# sourceMappingURL=BestRoute.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BestRoute.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BestRoute/BestRoute.types.ts"],"names":[],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teSkeleton(props: PropTypes): React.JSX.Element;
4
+ //# sourceMappingURL=BestRouteSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BestRouteSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BestRoute/BestRouteSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAwC1B,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,qBAqEjD"}
@@ -0,0 +1,319 @@
1
+ export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {
2
+ rounded?: boolean | "true" | undefined;
3
+ }, {
4
+ sm: string;
5
+ md: string;
6
+ lg: string;
7
+ }, import("@stitches/react/types/css-util").CSS<{
8
+ sm: string;
9
+ md: string;
10
+ lg: string;
11
+ }, {
12
+ colors: {
13
+ primary: string;
14
+ primary500: string;
15
+ primary600: string;
16
+ secondary: string;
17
+ secondary100: string;
18
+ secondary200: string;
19
+ secondary300: string;
20
+ secondary400: string;
21
+ secondary500: string;
22
+ secondary600: string;
23
+ secondary700: string;
24
+ secondary800: string;
25
+ secondary900: string;
26
+ neutral: string;
27
+ neutral100: string;
28
+ neutral200: string;
29
+ neutral300: string;
30
+ neutral400: string;
31
+ neutral500: string;
32
+ neutral600: string;
33
+ neutral700: string;
34
+ neutral800: string;
35
+ neutral900: string;
36
+ error100: string;
37
+ error300: string;
38
+ error500: string;
39
+ error600: string;
40
+ error700: string;
41
+ warning100: string;
42
+ warning300: string;
43
+ warning500: string;
44
+ warning600: string;
45
+ warning700: string;
46
+ info: string;
47
+ info100: string;
48
+ info300: string;
49
+ info500: string;
50
+ info600: string;
51
+ info700: string;
52
+ success100: string;
53
+ success300: string;
54
+ success500: string;
55
+ success600: string;
56
+ success700: string;
57
+ background: string;
58
+ foreground: string;
59
+ };
60
+ space: {
61
+ 0: string;
62
+ 5: string;
63
+ 10: string;
64
+ 15: string;
65
+ 20: string;
66
+ 25: string;
67
+ 30: string;
68
+ 40: string;
69
+ 46: string;
70
+ 50: string;
71
+ 60: string;
72
+ 70: string;
73
+ 80: string;
74
+ 90: string;
75
+ 100: string;
76
+ 2: string;
77
+ 4: string;
78
+ 6: string;
79
+ 8: string;
80
+ 12: string;
81
+ 16: string;
82
+ 24: string;
83
+ 28: string;
84
+ 32: string;
85
+ };
86
+ radii: {
87
+ xs: string;
88
+ sm: string;
89
+ xm: string;
90
+ md: string;
91
+ xl: string;
92
+ lg: string;
93
+ primary: string;
94
+ secondary: string;
95
+ };
96
+ fontSizes: {
97
+ 10: string;
98
+ 12: string;
99
+ 14: string;
100
+ 16: string;
101
+ 18: string;
102
+ 20: string;
103
+ 22: string;
104
+ 24: string;
105
+ 28: string;
106
+ 32: string;
107
+ 36: string;
108
+ 40: string;
109
+ 48: string;
110
+ };
111
+ fonts: {
112
+ primary: string;
113
+ widget: string;
114
+ };
115
+ fontWeights: {
116
+ regular: number;
117
+ medium: number;
118
+ semiBold: number;
119
+ bold: number;
120
+ };
121
+ lineHeights: {
122
+ 12: string;
123
+ 16: string;
124
+ 20: string;
125
+ 24: string;
126
+ 26: string;
127
+ 28: string;
128
+ 30: string;
129
+ 36: string;
130
+ 40: string;
131
+ 44: string;
132
+ 52: string;
133
+ 64: string;
134
+ };
135
+ letterSpacings: {};
136
+ sizes: {
137
+ 4: string;
138
+ 6: string;
139
+ 8: string;
140
+ 12: string;
141
+ 16: string;
142
+ 18: string;
143
+ 20: string;
144
+ 24: string;
145
+ 28: string;
146
+ 32: string;
147
+ 36: string;
148
+ 40: string;
149
+ 45: string;
150
+ 48: string;
151
+ };
152
+ borderWidths: {};
153
+ borderStyles: {};
154
+ shadows: {
155
+ s: string;
156
+ };
157
+ zIndices: {};
158
+ transitions: {};
159
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
160
+ export declare const StepSeparator: import("@stitches/react/types/styled-component").StyledComponent<"div", {
161
+ hideSeparator?: boolean | "true" | undefined;
162
+ }, {
163
+ sm: string;
164
+ md: string;
165
+ lg: string;
166
+ }, import("@stitches/react/types/css-util").CSS<{
167
+ sm: string;
168
+ md: string;
169
+ lg: string;
170
+ }, {
171
+ colors: {
172
+ primary: string;
173
+ primary500: string;
174
+ primary600: string;
175
+ secondary: string;
176
+ secondary100: string;
177
+ secondary200: string;
178
+ secondary300: string;
179
+ secondary400: string;
180
+ secondary500: string;
181
+ secondary600: string;
182
+ secondary700: string;
183
+ secondary800: string;
184
+ secondary900: string;
185
+ neutral: string;
186
+ neutral100: string;
187
+ neutral200: string;
188
+ neutral300: string;
189
+ neutral400: string;
190
+ neutral500: string;
191
+ neutral600: string;
192
+ neutral700: string;
193
+ neutral800: string;
194
+ neutral900: string;
195
+ error100: string;
196
+ error300: string;
197
+ error500: string;
198
+ error600: string;
199
+ error700: string;
200
+ warning100: string;
201
+ warning300: string;
202
+ warning500: string;
203
+ warning600: string;
204
+ warning700: string;
205
+ info: string;
206
+ info100: string;
207
+ info300: string;
208
+ info500: string;
209
+ info600: string;
210
+ info700: string;
211
+ success100: string;
212
+ success300: string;
213
+ success500: string;
214
+ success600: string;
215
+ success700: string;
216
+ background: string;
217
+ foreground: string;
218
+ };
219
+ space: {
220
+ 0: string;
221
+ 5: string;
222
+ 10: string;
223
+ 15: string;
224
+ 20: string;
225
+ 25: string;
226
+ 30: string;
227
+ 40: string;
228
+ 46: string;
229
+ 50: string;
230
+ 60: string;
231
+ 70: string;
232
+ 80: string;
233
+ 90: string;
234
+ 100: string;
235
+ 2: string;
236
+ 4: string;
237
+ 6: string;
238
+ 8: string;
239
+ 12: string;
240
+ 16: string;
241
+ 24: string;
242
+ 28: string;
243
+ 32: string;
244
+ };
245
+ radii: {
246
+ xs: string;
247
+ sm: string;
248
+ xm: string;
249
+ md: string;
250
+ xl: string;
251
+ lg: string;
252
+ primary: string;
253
+ secondary: string;
254
+ };
255
+ fontSizes: {
256
+ 10: string;
257
+ 12: string;
258
+ 14: string;
259
+ 16: string;
260
+ 18: string;
261
+ 20: string;
262
+ 22: string;
263
+ 24: string;
264
+ 28: string;
265
+ 32: string;
266
+ 36: string;
267
+ 40: string;
268
+ 48: string;
269
+ };
270
+ fonts: {
271
+ primary: string;
272
+ widget: string;
273
+ };
274
+ fontWeights: {
275
+ regular: number;
276
+ medium: number;
277
+ semiBold: number;
278
+ bold: number;
279
+ };
280
+ lineHeights: {
281
+ 12: string;
282
+ 16: string;
283
+ 20: string;
284
+ 24: string;
285
+ 26: string;
286
+ 28: string;
287
+ 30: string;
288
+ 36: string;
289
+ 40: string;
290
+ 44: string;
291
+ 52: string;
292
+ 64: string;
293
+ };
294
+ letterSpacings: {};
295
+ sizes: {
296
+ 4: string;
297
+ 6: string;
298
+ 8: string;
299
+ 12: string;
300
+ 16: string;
301
+ 18: string;
302
+ 20: string;
303
+ 24: string;
304
+ 28: string;
305
+ 32: string;
306
+ 36: string;
307
+ 40: string;
308
+ 45: string;
309
+ 48: string;
310
+ };
311
+ borderWidths: {};
312
+ borderStyles: {};
313
+ shadows: {
314
+ s: string;
315
+ };
316
+ zIndices: {};
317
+ transitions: {};
318
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
319
+ //# sourceMappingURL=BestRouteSkeleton.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BestRouteSkeleton.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BestRoute/BestRouteSkeleton.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DA4FpB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAaxB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export type PropTypes = {
2
+ type: 'basic' | 'list-item' | 'swap-preview';
3
+ expanded?: boolean;
4
+ tag?: boolean;
5
+ };
6
+ //# sourceMappingURL=BestRouteSkeleton.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BestRouteSkeleton.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BestRoute/BestRouteSkeleton.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,OAAO,GAAG,WAAW,GAAG,cAAc,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { Step } from './BestRoute.types';
2
+ import type { PriceImpactWarningLevel } from '../PriceImpact';
3
+ import React from 'react';
4
+ type PropTypes = {
5
+ from: Step['from'];
6
+ to: Step['to'];
7
+ percentageChange?: string | null;
8
+ warningLevel: PriceImpactWarningLevel;
9
+ };
10
+ export declare function RouteSummary(props: PropTypes): React.JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=RouteSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RouteSummary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BestRoute/RouteSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAE9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACnB,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,YAAY,EAAE,uBAAuB,CAAC;CACvC,CAAC;AAEF,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,qBA+B5C"}
@@ -0,0 +1,158 @@
1
+ export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
2
+ sm: string;
3
+ md: string;
4
+ lg: string;
5
+ }, import("@stitches/react/types/css-util").CSS<{
6
+ sm: string;
7
+ md: string;
8
+ lg: string;
9
+ }, {
10
+ colors: {
11
+ primary: string;
12
+ primary500: string;
13
+ primary600: string;
14
+ secondary: string;
15
+ secondary100: string;
16
+ secondary200: string;
17
+ secondary300: string;
18
+ secondary400: string;
19
+ secondary500: string;
20
+ secondary600: string;
21
+ secondary700: string;
22
+ secondary800: string;
23
+ secondary900: string;
24
+ neutral: string;
25
+ neutral100: string;
26
+ neutral200: string;
27
+ neutral300: string;
28
+ neutral400: string;
29
+ neutral500: string;
30
+ neutral600: string;
31
+ neutral700: string;
32
+ neutral800: string;
33
+ neutral900: string;
34
+ error100: string;
35
+ error300: string;
36
+ error500: string;
37
+ error600: string;
38
+ error700: string;
39
+ warning100: string;
40
+ warning300: string;
41
+ warning500: string;
42
+ warning600: string;
43
+ warning700: string;
44
+ info: string;
45
+ info100: string;
46
+ info300: string;
47
+ info500: string;
48
+ info600: string;
49
+ info700: string;
50
+ success100: string;
51
+ success300: string;
52
+ success500: string;
53
+ success600: string;
54
+ success700: string;
55
+ background: string;
56
+ foreground: string;
57
+ };
58
+ space: {
59
+ 0: string;
60
+ 5: string;
61
+ 10: string;
62
+ 15: string;
63
+ 20: string;
64
+ 25: string;
65
+ 30: string;
66
+ 40: string;
67
+ 46: string;
68
+ 50: string;
69
+ 60: string;
70
+ 70: string;
71
+ 80: string;
72
+ 90: string;
73
+ 100: string;
74
+ 2: string;
75
+ 4: string;
76
+ 6: string;
77
+ 8: string;
78
+ 12: string;
79
+ 16: string;
80
+ 24: string;
81
+ 28: string;
82
+ 32: string;
83
+ };
84
+ radii: {
85
+ xs: string;
86
+ sm: string;
87
+ xm: string;
88
+ md: string;
89
+ xl: string;
90
+ lg: string;
91
+ primary: string;
92
+ secondary: string;
93
+ };
94
+ fontSizes: {
95
+ 10: string;
96
+ 12: string;
97
+ 14: string;
98
+ 16: string;
99
+ 18: string;
100
+ 20: string;
101
+ 22: string;
102
+ 24: string;
103
+ 28: string;
104
+ 32: string;
105
+ 36: string;
106
+ 40: string;
107
+ 48: string;
108
+ };
109
+ fonts: {
110
+ primary: string;
111
+ widget: string;
112
+ };
113
+ fontWeights: {
114
+ regular: number;
115
+ medium: number;
116
+ semiBold: number;
117
+ bold: number;
118
+ };
119
+ lineHeights: {
120
+ 12: string;
121
+ 16: string;
122
+ 20: string;
123
+ 24: string;
124
+ 26: string;
125
+ 28: string;
126
+ 30: string;
127
+ 36: string;
128
+ 40: string;
129
+ 44: string;
130
+ 52: string;
131
+ 64: string;
132
+ };
133
+ letterSpacings: {};
134
+ sizes: {
135
+ 4: string;
136
+ 6: string;
137
+ 8: string;
138
+ 12: string;
139
+ 16: string;
140
+ 18: string;
141
+ 20: string;
142
+ 24: string;
143
+ 28: string;
144
+ 32: string;
145
+ 36: string;
146
+ 40: string;
147
+ 45: string;
148
+ 48: string;
149
+ };
150
+ borderWidths: {};
151
+ borderStyles: {};
152
+ shadows: {
153
+ s: string;
154
+ };
155
+ zIndices: {};
156
+ transitions: {};
157
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
158
+ //# sourceMappingURL=RouteSummary.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RouteSummary.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BestRoute/RouteSummary.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAYpB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { BestRoute } from './BestRoute';
2
+ export type { Step } from './BestRoute.types';
3
+ export { BestRouteSkeleton } from './BestRouteSkeleton';
4
+ export { RouteSummary } from './RouteSummary';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BestRoute/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { BestRouteProps } from './BestRoute.types';
2
+ export declare const route1: BestRouteProps;
3
+ //# sourceMappingURL=mock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BestRoute/mock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,MAAM,EAAE,cA2IpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BlockchainsChip.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BlockchainsChip/BlockchainsChip.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAwCf,CAAC"}
1
+ {"version":3,"file":"BlockchainsChip.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BlockchainsChip/BlockchainsChip.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAwCf,CAAC"}