@rango-dev/widget-embedded 0.14.1-next.9 → 0.16.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 (147) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/Widget.d.ts.map +1 -1
  3. package/dist/components/BlockchainList/BlockchainList.styles.d.ts +2 -0
  4. package/dist/components/BlockchainList/BlockchainList.styles.d.ts.map +1 -1
  5. package/dist/components/BlockchainsSection/BlockchainsSection.d.ts.map +1 -1
  6. package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts +1 -0
  7. package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts.map +1 -1
  8. package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +15 -0
  9. package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts.map +1 -1
  10. package/dist/components/ConfirmWalletsModal/ConfirmWalletsModal.d.ts.map +1 -1
  11. package/dist/components/ConfirmWalletsModal/WalletList.d.ts.map +1 -1
  12. package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts +3 -0
  13. package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts.map +1 -1
  14. package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts +4 -0
  15. package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts.map +1 -1
  16. package/dist/components/Layout/Layout.styles.d.ts +3 -0
  17. package/dist/components/Layout/Layout.styles.d.ts.map +1 -1
  18. package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts +1 -0
  19. package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts.map +1 -1
  20. package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts +3 -0
  21. package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts.map +1 -1
  22. package/dist/components/NoRoutes/NoRoutes.styles.d.ts +3 -0
  23. package/dist/components/NoRoutes/NoRoutes.styles.d.ts.map +1 -1
  24. package/dist/components/NotificationContent/NotificationContent.styles.d.ts +4 -0
  25. package/dist/components/NotificationContent/NotificationContent.styles.d.ts.map +1 -1
  26. package/dist/components/RouteErrors/RouteErrors.styles.d.ts +4 -0
  27. package/dist/components/RouteErrors/RouteErrors.styles.d.ts.map +1 -1
  28. package/dist/components/SearchInput/SearchInput.styles.d.ts +1 -0
  29. package/dist/components/SearchInput/SearchInput.styles.d.ts.map +1 -1
  30. package/dist/components/SettingsContainer/SettingsContainer.style.d.ts +4 -0
  31. package/dist/components/SettingsContainer/SettingsContainer.style.d.ts.map +1 -1
  32. package/dist/components/Slippage/Slippage.styles.d.ts +4 -0
  33. package/dist/components/Slippage/Slippage.styles.d.ts.map +1 -1
  34. package/dist/components/SwapDetails/SwapDetails.Placeholder.d.ts.map +1 -1
  35. package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
  36. package/dist/components/SwapDetails/SwapDetails.styles.d.ts +6 -0
  37. package/dist/components/SwapDetails/SwapDetails.styles.d.ts.map +1 -1
  38. package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts +1 -0
  39. package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts.map +1 -1
  40. package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts +1 -0
  41. package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts.map +1 -1
  42. package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts +4 -0
  43. package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts.map +1 -1
  44. package/dist/components/TokenList/TokenList.styles.d.ts +10 -0
  45. package/dist/components/TokenList/TokenList.styles.d.ts.map +1 -1
  46. package/dist/components/WalletModal/WalletModalContent.styles.d.ts +4 -0
  47. package/dist/components/WalletModal/WalletModalContent.styles.d.ts.map +1 -1
  48. package/dist/constants/configs.d.ts +2 -0
  49. package/dist/constants/configs.d.ts.map +1 -0
  50. package/dist/constants/errors.d.ts +1 -1
  51. package/dist/constants/errors.d.ts.map +1 -1
  52. package/dist/constants/languages.d.ts +11 -0
  53. package/dist/constants/languages.d.ts.map +1 -0
  54. package/dist/constants/messages.d.ts +1 -1
  55. package/dist/constants/messages.d.ts.map +1 -1
  56. package/dist/hooks/useLanguage.d.ts +11 -0
  57. package/dist/hooks/useLanguage.d.ts.map +1 -0
  58. package/dist/hooks/usePrepareBlockchainList/index.d.ts +2 -0
  59. package/dist/hooks/usePrepareBlockchainList/index.d.ts.map +1 -0
  60. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.constants.d.ts +2 -0
  61. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.constants.d.ts.map +1 -0
  62. package/dist/hooks/{usePrepareBlockchainList.d.ts → usePrepareBlockchainList/usePrepareBlockchainList.d.ts} +1 -9
  63. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.d.ts.map +1 -0
  64. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.helpers.d.ts +10 -0
  65. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.helpers.d.ts.map +1 -0
  66. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.mock.d.ts +3 -0
  67. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.mock.d.ts.map +1 -0
  68. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.test.d.ts +2 -0
  69. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.test.d.ts.map +1 -0
  70. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.types.d.ts +11 -0
  71. package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.types.d.ts.map +1 -0
  72. package/dist/hooks/useSyncStoresWithConfig.d.ts.map +1 -1
  73. package/dist/hooks/useTheme.d.ts +1 -1
  74. package/dist/hooks/useTheme.d.ts.map +1 -1
  75. package/dist/index.js +1 -1
  76. package/dist/index.js.map +4 -4
  77. package/dist/pages/ConfirmSwapPage.d.ts.map +1 -1
  78. package/dist/pages/Home.d.ts.map +1 -1
  79. package/dist/pages/LanguagePage.d.ts.map +1 -1
  80. package/dist/store/settings.d.ts +15 -6
  81. package/dist/store/settings.d.ts.map +1 -1
  82. package/dist/types/config.d.ts +7 -3
  83. package/dist/types/config.d.ts.map +1 -1
  84. package/dist/utils/colors.d.ts +1 -1
  85. package/dist/utils/colors.d.ts.map +1 -1
  86. package/dist/utils/configs.d.ts +2 -0
  87. package/dist/utils/configs.d.ts.map +1 -1
  88. package/dist/utils/hash.d.ts +2 -0
  89. package/dist/utils/hash.d.ts.map +1 -0
  90. package/dist/utils/swap.d.ts.map +1 -1
  91. package/dist/utils/time.d.ts.map +1 -1
  92. package/dist/utils/ui.d.ts +13 -0
  93. package/dist/utils/ui.d.ts.map +1 -0
  94. package/dist/utils/wallets.d.ts +0 -1
  95. package/dist/utils/wallets.d.ts.map +1 -1
  96. package/package.json +8 -8
  97. package/src/Widget.tsx +14 -2
  98. package/src/components/BlockchainsSection/BlockchainsSection.tsx +21 -6
  99. package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +5 -11
  100. package/src/components/ConfirmWalletsModal/WalletList.tsx +35 -24
  101. package/src/components/Layout/Layout.styles.ts +7 -2
  102. package/src/components/LoadingSwapDetails/LoadingSwapDetails.styles.ts +1 -1
  103. package/src/components/NoRoutes/NoRoutes.helper.ts +4 -4
  104. package/src/components/NoRoutes/NoRoutes.tsx +2 -2
  105. package/src/components/NotificationContent/NotificationContent.tsx +1 -1
  106. package/src/components/NotificationContent/NotificationNotFound.tsx +1 -1
  107. package/src/components/RouteErrors/RouteErrors.tsx +2 -2
  108. package/src/components/RouteErrors/RouteErrorsModal.tsx +6 -6
  109. package/src/components/RouteErrors/RouteErrorsModalItem.tsx +1 -1
  110. package/src/components/Slippage/SlippageTooltipContent.tsx +1 -1
  111. package/src/components/SwapDetails/SwapDetails.Placeholder.tsx +5 -6
  112. package/src/components/SwapDetails/SwapDetails.tsx +6 -10
  113. package/src/components/SwapDetailsModal/SwapDetailsCompleteModal.tsx +1 -1
  114. package/src/components/SwapsGroup/SwapsGroup.tsx +2 -2
  115. package/src/components/TokenList/TokenList.styles.ts +1 -1
  116. package/src/components/TokenList/TokenList.tsx +1 -1
  117. package/src/constants/configs.ts +1 -0
  118. package/src/constants/errors.ts +44 -41
  119. package/src/constants/languages.ts +19 -0
  120. package/src/constants/messages.ts +7 -5
  121. package/src/hooks/useConfirmSwap.ts +1 -1
  122. package/src/hooks/useLanguage.ts +27 -0
  123. package/src/hooks/usePrepareBlockchainList/index.ts +1 -0
  124. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.constants.ts +1 -0
  125. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.helpers.ts +108 -0
  126. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.mock.ts +3101 -0
  127. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.test.ts +273 -0
  128. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.ts +38 -0
  129. package/src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.types.ts +12 -0
  130. package/src/hooks/useSyncStoresWithConfig.ts +49 -1
  131. package/src/hooks/useTheme.ts +34 -56
  132. package/src/pages/ConfirmSwapPage.tsx +9 -18
  133. package/src/pages/Home.tsx +6 -7
  134. package/src/pages/LanguagePage.tsx +16 -39
  135. package/src/pages/SettingsPage.tsx +1 -1
  136. package/src/store/settings.ts +46 -4
  137. package/src/types/config.ts +6 -2
  138. package/src/utils/colors.ts +16 -0
  139. package/src/utils/configs.ts +3 -0
  140. package/src/utils/hash.ts +27 -0
  141. package/src/utils/settings.ts +1 -1
  142. package/src/utils/swap.ts +15 -20
  143. package/src/utils/time.ts +2 -4
  144. package/src/utils/ui.ts +72 -0
  145. package/src/utils/wallets.ts +4 -25
  146. package/dist/hooks/usePrepareBlockchainList.d.ts.map +0 -1
  147. package/src/hooks/usePrepareBlockchainList.ts +0 -125
@@ -41,6 +41,7 @@ export declare const Alerts: import("@stitches/react/types/styled-component").St
41
41
  warning500: string;
42
42
  warning600: string;
43
43
  warning700: string;
44
+ info: string;
44
45
  info100: string;
45
46
  info300: string;
46
47
  info500: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SwapDetailsAlerts.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIjB,CAAC"}
1
+ {"version":3,"file":"SwapDetailsAlerts.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIjB,CAAC"}
@@ -41,6 +41,7 @@ export declare const WalletContainer: import("@stitches/react/types/styled-compo
41
41
  warning500: string;
42
42
  warning600: string;
43
43
  warning700: string;
44
+ info: string;
44
45
  info100: string;
45
46
  info300: string;
46
47
  info500: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SwapDetailsModal.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAG1B,CAAC"}
1
+ {"version":3,"file":"SwapDetailsModal.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAG1B,CAAC"}
@@ -41,6 +41,7 @@ export declare const Group: import("@stitches/react/types/styled-component").Sty
41
41
  warning500: string;
42
42
  warning600: string;
43
43
  warning700: string;
44
+ info: string;
44
45
  info100: string;
45
46
  info300: string;
46
47
  info500: string;
@@ -197,6 +198,7 @@ export declare const Time: import("@stitches/react/types/styled-component").Styl
197
198
  warning500: string;
198
199
  warning600: string;
199
200
  warning700: string;
201
+ info: string;
200
202
  info100: string;
201
203
  info300: string;
202
204
  info500: string;
@@ -353,6 +355,7 @@ export declare const SwapList: import("@stitches/react/types/styled-component").
353
355
  warning500: string;
354
356
  warning600: string;
355
357
  warning700: string;
358
+ info: string;
356
359
  info100: string;
357
360
  info300: string;
358
361
  info500: string;
@@ -509,6 +512,7 @@ export declare const NotFoundContainer: import("@stitches/react/types/styled-com
509
512
  warning500: string;
510
513
  warning600: string;
511
514
  warning700: string;
515
+ info: string;
512
516
  info100: string;
513
517
  info300: string;
514
518
  info500: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SwapsGroup.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapsGroup/SwapsGroup.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIf,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAInB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAK5B,CAAC"}
@@ -42,6 +42,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
42
42
  warning500: string;
43
43
  warning600: string;
44
44
  warning700: string;
45
+ info: string;
45
46
  info100: string;
46
47
  info300: string;
47
48
  info500: string;
@@ -198,6 +199,7 @@ export declare const Title: import("@stitches/react/types/styled-component").Sty
198
199
  warning500: string;
199
200
  warning600: string;
200
201
  warning700: string;
202
+ info: string;
201
203
  info100: string;
202
204
  info300: string;
203
205
  info500: string;
@@ -354,6 +356,7 @@ export declare const List: import("@stitches/react/types/styled-component").Styl
354
356
  warning500: string;
355
357
  warning600: string;
356
358
  warning700: string;
359
+ info: string;
357
360
  info100: string;
358
361
  info300: string;
359
362
  info500: string;
@@ -510,6 +513,7 @@ export declare const Tag: import("@stitches/react/types/styled-component").Style
510
513
  warning500: string;
511
514
  warning600: string;
512
515
  warning700: string;
516
+ info: string;
513
517
  info100: string;
514
518
  info300: string;
515
519
  info500: string;
@@ -666,6 +670,7 @@ export declare const TagTitle: import("@stitches/react/types/styled-component").
666
670
  warning500: string;
667
671
  warning600: string;
668
672
  warning700: string;
673
+ info: string;
669
674
  info100: string;
670
675
  info300: string;
671
676
  info500: string;
@@ -822,6 +827,7 @@ export declare const BalanceContainer: import("@stitches/react/types/styled-comp
822
827
  warning500: string;
823
828
  warning600: string;
824
829
  warning700: string;
830
+ info: string;
825
831
  info100: string;
826
832
  info300: string;
827
833
  info500: string;
@@ -978,6 +984,7 @@ export declare const End: import("@stitches/react/types/styled-component").Style
978
984
  warning500: string;
979
985
  warning600: string;
980
986
  warning700: string;
987
+ info: string;
981
988
  info100: string;
982
989
  info300: string;
983
990
  info500: string;
@@ -1134,6 +1141,7 @@ export declare const Description: import("@stitches/react/types/styled-component
1134
1141
  warning500: string;
1135
1142
  warning600: string;
1136
1143
  warning700: string;
1144
+ info: string;
1137
1145
  info100: string;
1138
1146
  info300: string;
1139
1147
  info500: string;
@@ -1290,6 +1298,7 @@ export declare const ImageSection: import("@stitches/react/types/styled-componen
1290
1298
  warning500: string;
1291
1299
  warning600: string;
1292
1300
  warning700: string;
1301
+ info: string;
1293
1302
  info100: string;
1294
1303
  info300: string;
1295
1304
  info500: string;
@@ -1446,6 +1455,7 @@ export declare const Pin: import("@stitches/react/types/styled-component").Style
1446
1455
  warning500: string;
1447
1456
  warning600: string;
1448
1457
  warning700: string;
1458
+ info: string;
1449
1459
  info100: string;
1450
1460
  info300: string;
1451
1461
  info500: string;
@@ -1 +1 @@
1
- {"version":3,"file":"TokenList.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,UAAU,EAAE,MAAM,eAAe,CAAC;AAEnD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIpB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;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WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGtB,CAAC;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMvB,CAAC;AACH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAOd,CAAC"}
@@ -41,6 +41,7 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
41
41
  warning500: string;
42
42
  warning600: string;
43
43
  warning700: string;
44
+ info: string;
44
45
  info100: string;
45
46
  info300: string;
46
47
  info500: string;
@@ -197,6 +198,7 @@ export declare const LogoContainer: import("@stitches/react/types/styled-compone
197
198
  warning500: string;
198
199
  warning600: string;
199
200
  warning700: string;
201
+ info: string;
200
202
  info100: string;
201
203
  info300: string;
202
204
  info500: string;
@@ -353,6 +355,7 @@ export declare const Spinner: import("@stitches/react/types/styled-component").S
353
355
  warning500: string;
354
356
  warning600: string;
355
357
  warning700: string;
358
+ info: string;
356
359
  info100: string;
357
360
  info300: string;
358
361
  info500: string;
@@ -509,6 +512,7 @@ export declare const WalletImageContainer: import("@stitches/react/types/styled-
509
512
  warning500: string;
510
513
  warning600: string;
511
514
  warning700: string;
515
+ info: string;
512
516
  info100: string;
513
517
  info300: string;
514
518
  info500: string;
@@ -1 +1 @@
1
- {"version":3,"file":"WalletModalContent.styles.d.ts","sourceRoot":"","sources":["../../../src/components/WalletModal/WalletModalContent.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQxB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAExB,CAAC;AAWH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAYlB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAI/B,CAAC"}
1
+ {"version":3,"file":"WalletModalContent.styles.d.ts","sourceRoot":"","sources":["../../../src/components/WalletModal/WalletModalContent.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQxB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAExB,CAAC;AAWH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAYlB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAI/B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const BLOCKCHAIN_LIST_SIZE = 10;
2
+ //# sourceMappingURL=configs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configs.d.ts","sourceRoot":"","sources":["../../src/constants/configs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ConfirmSwapError } from '../types';
2
- export declare const errorMessages: {
2
+ export declare const errorMessages: () => {
3
3
  genericServerError: string;
4
4
  liquiditySourcesError: {
5
5
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/constants/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAMjD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCzB,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,gBAAgB,UAWjE"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/constants/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAMjD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCzB,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,gBAAgB,UAWjE"}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import type { FlagPropTypes, Language } from '@rango-dev/ui';
3
+ export type LanguageItem = {
4
+ title: string;
5
+ label: string;
6
+ local: Language;
7
+ SVGFlag: React.ComponentType<FlagPropTypes>;
8
+ };
9
+ export declare const LANGUAGES: LanguageItem[];
10
+ export declare const DEFAULT_LANGUAGE = "en";
11
+ //# sourceMappingURL=languages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"languages.d.ts","sourceRoot":"","sources":["../../src/constants/languages.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI7D,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,QAAQ,CAAC;IAChB,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,YAAY,EAKnC,CAAC;AAEF,eAAO,MAAM,gBAAgB,OAAO,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare const swapButtonTitles: {
1
+ export declare const swapButtonTitles: () => {
2
2
  connectWallet: string;
3
3
  swap: string;
4
4
  swapAnyway: string;
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/constants/messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAC"}
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/constants/messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;CAO5B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { LanguageItem } from '../constants/languages';
2
+ import { type Language } from '@rango-dev/ui';
3
+ interface UseLanguage {
4
+ languages: LanguageItem[];
5
+ defaultLanguage: Language;
6
+ activeLanguage: Language;
7
+ changeLanguage: (language: Language) => void;
8
+ }
9
+ export declare function useLanguage(): UseLanguage;
10
+ export {};
11
+ //# sourceMappingURL=useLanguage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLanguage.d.ts","sourceRoot":"","sources":["../../src/hooks/useLanguage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAK9C,UAAU,WAAW;IACnB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,eAAe,EAAE,QAAQ,CAAC;IAC1B,cAAc,EAAE,QAAQ,CAAC;IACzB,cAAc,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,WAAW,IAAI,WAAW,CAYzC"}
@@ -0,0 +1,2 @@
1
+ export { usePrepareBlockchainList } from './usePrepareBlockchainList';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePrepareBlockchainList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const MOST_USED_BLOCKChAINS: string[];
2
+ //# sourceMappingURL=usePrepareBlockchainList.constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePrepareBlockchainList.constants.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,UAA+B,CAAC"}
@@ -1,12 +1,5 @@
1
+ import type { PrepareListOptions, PrepareListOutput } from './usePrepareBlockchainList.types';
1
2
  import type { BlockchainMeta } from 'rango-sdk';
2
- interface PrepareListOptions {
3
- limit?: number;
4
- selected?: string;
5
- }
6
- interface PrepareListOutput {
7
- list: BlockchainMeta[];
8
- more: BlockchainMeta[];
9
- }
10
3
  /**
11
4
  *
12
5
  * UI needs some specific logics like limiting the list and sorting,
@@ -14,5 +7,4 @@ interface PrepareListOutput {
14
7
  *
15
8
  */
16
9
  export declare function usePrepareBlockchainList(blockchains: BlockchainMeta[], options?: PrepareListOptions): PrepareListOutput;
17
- export {};
18
10
  //# sourceMappingURL=usePrepareBlockchainList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePrepareBlockchainList.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAQhD;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,cAAc,EAAE,EAC7B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,iBAAiB,CAgBnB"}
@@ -0,0 +1,10 @@
1
+ import type { PrepareListOptions } from './usePrepareBlockchainList.types';
2
+ import type { BlockchainMeta } from 'rango-sdk';
3
+ export declare function prepare(blockchains: BlockchainMeta[], preferredBlockchains: string[], options?: PrepareListOptions): {
4
+ list: BlockchainMeta[];
5
+ more: BlockchainMeta[];
6
+ };
7
+ /** There is a hardcoded list of blockchains that we want to show them first in the list. */
8
+ export declare function sortByMostUsedBlockchains(a: BlockchainMeta, b: BlockchainMeta): 0 | 1 | -1;
9
+ export declare function generateSortByPreferredBlockchainsFor(preferredBlockchains: string[]): (a: BlockchainMeta, b: BlockchainMeta) => 0 | 1 | -1;
10
+ //# sourceMappingURL=usePrepareBlockchainList.helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePrepareBlockchainList.helpers.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,wBAAgB,OAAO,CACrB,WAAW,EAAE,cAAc,EAAE,EAC7B,oBAAoB,EAAE,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,kBAAkB;;;EA4C7B;AAED,4FAA4F;AAC5F,wBAAgB,yBAAyB,CACvC,CAAC,EAAE,cAAc,EACjB,CAAC,EAAE,cAAc,cAqBlB;AAED,wBAAgB,qCAAqC,CACnD,oBAAoB,EAAE,MAAM,EAAE,OAEK,cAAc,KAAK,cAAc,gBAwBrE"}
@@ -0,0 +1,3 @@
1
+ import type { BlockchainMeta } from 'rango-sdk';
2
+ export declare const sampleBlockchains: BlockchainMeta[];
3
+ //# sourceMappingURL=usePrepareBlockchainList.mock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePrepareBlockchainList.mock.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.mock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAwhG7C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=usePrepareBlockchainList.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePrepareBlockchainList.test.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import type { BlockchainMeta } from 'rango-sdk';
2
+ export interface PrepareListOptions {
3
+ limit?: number;
4
+ selected?: string;
5
+ }
6
+ export interface PrepareListOutput {
7
+ list: BlockchainMeta[];
8
+ more: BlockchainMeta[];
9
+ history: string[];
10
+ }
11
+ //# sourceMappingURL=usePrepareBlockchainList.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePrepareBlockchainList.types.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePrepareBlockchainList/usePrepareBlockchainList.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSyncStoresWithConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useSyncStoresWithConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAU7C,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,QA2FvE"}
1
+ {"version":3,"file":"useSyncStoresWithConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useSyncStoresWithConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAU7C,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,QA2IvE"}
@@ -1,5 +1,5 @@
1
1
  import type { WidgetTheme } from '../types';
2
2
  export declare function useTheme(props: WidgetTheme): {
3
- activeTheme: string;
3
+ activeTheme: () => string;
4
4
  };
5
5
  //# sourceMappingURL=useTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/hooks/useTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAoB5C,wBAAgB,QAAQ,CAAC,KAAK,EAAE,WAAW;;EAsG1C"}
1
+ {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/hooks/useTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAiB5C,wBAAgB,QAAQ,CAAC,KAAK,EAAE,WAAW;;EAkF1C"}