@rango-dev/widget-embedded 0.14.1-next.5 → 0.14.1-next.7

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 (66) hide show
  1. package/dist/components/BlockchainList/BlockchainList.styles.d.ts +6 -0
  2. package/dist/components/BlockchainList/BlockchainList.styles.d.ts.map +1 -1
  3. package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts +3 -0
  4. package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts.map +1 -1
  5. package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +45 -0
  6. package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts.map +1 -1
  7. package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts +9 -0
  8. package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts.map +1 -1
  9. package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts +12 -0
  10. package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts.map +1 -1
  11. package/dist/components/Layout/Layout.styles.d.ts +9 -0
  12. package/dist/components/Layout/Layout.styles.d.ts.map +1 -1
  13. package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts +3 -0
  14. package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts.map +1 -1
  15. package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts +9 -0
  16. package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts.map +1 -1
  17. package/dist/components/NoRoutes/NoRoutes.styles.d.ts +9 -0
  18. package/dist/components/NoRoutes/NoRoutes.styles.d.ts.map +1 -1
  19. package/dist/components/NotificationContent/NotificationContent.styles.d.ts +12 -0
  20. package/dist/components/NotificationContent/NotificationContent.styles.d.ts.map +1 -1
  21. package/dist/components/RouteErrors/RouteErrors.styles.d.ts +12 -0
  22. package/dist/components/RouteErrors/RouteErrors.styles.d.ts.map +1 -1
  23. package/dist/components/SearchInput/SearchInput.styles.d.ts +3 -0
  24. package/dist/components/SearchInput/SearchInput.styles.d.ts.map +1 -1
  25. package/dist/components/SettingsContainer/SettingsContainer.style.d.ts +12 -0
  26. package/dist/components/SettingsContainer/SettingsContainer.style.d.ts.map +1 -1
  27. package/dist/components/Slippage/Slippage.styles.d.ts +12 -0
  28. package/dist/components/Slippage/Slippage.styles.d.ts.map +1 -1
  29. package/dist/components/SwapDetails/SwapDetails.styles.d.ts +18 -0
  30. package/dist/components/SwapDetails/SwapDetails.styles.d.ts.map +1 -1
  31. package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts +3 -0
  32. package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts.map +1 -1
  33. package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts +3 -0
  34. package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts.map +1 -1
  35. package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts +12 -0
  36. package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts.map +1 -1
  37. package/dist/components/TokenList/TokenList.styles.d.ts +30 -0
  38. package/dist/components/TokenList/TokenList.styles.d.ts.map +1 -1
  39. package/dist/components/WalletModal/WalletModalContent.styles.d.ts +12 -0
  40. package/dist/components/WalletModal/WalletModalContent.styles.d.ts.map +1 -1
  41. package/dist/constants/fonts.d.ts +2 -0
  42. package/dist/constants/fonts.d.ts.map +1 -0
  43. package/dist/{constants.d.ts → constants/index.d.ts} +1 -1
  44. package/dist/constants/index.d.ts.map +1 -0
  45. package/dist/hooks/useTheme.d.ts +1 -1
  46. package/dist/hooks/useTheme.d.ts.map +1 -1
  47. package/dist/index.d.ts +9 -6
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +1 -1
  50. package/dist/index.js.map +4 -4
  51. package/dist/types/config.d.ts +4 -10
  52. package/dist/types/config.d.ts.map +1 -1
  53. package/dist/utils/colors.d.ts +11 -0
  54. package/dist/utils/colors.d.ts.map +1 -0
  55. package/dist/utils/common.d.ts +0 -4
  56. package/dist/utils/common.d.ts.map +1 -1
  57. package/package.json +5 -5
  58. package/src/components/TokenList/TokenList.tsx +1 -1
  59. package/src/constants/fonts.ts +1 -0
  60. package/src/hooks/useTheme.ts +51 -11
  61. package/src/index.ts +33 -26
  62. package/src/types/config.ts +4 -10
  63. package/src/utils/colors.ts +93 -0
  64. package/src/utils/common.ts +0 -49
  65. package/dist/constants.d.ts.map +0 -1
  66. /package/src/{constants.ts → constants/index.ts} +0 -0
@@ -9,8 +9,10 @@ export declare const Container: import("@stitches/react/types/styled-component")
9
9
  lg: string;
10
10
  }, {
11
11
  colors: {
12
+ primary: string;
12
13
  primary500: string;
13
14
  primary600: string;
15
+ secondary: string;
14
16
  secondary100: string;
15
17
  secondary200: string;
16
18
  secondary300: string;
@@ -20,6 +22,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
20
22
  secondary700: string;
21
23
  secondary800: string;
22
24
  secondary900: string;
25
+ neutral: string;
23
26
  neutral100: string;
24
27
  neutral200: string;
25
28
  neutral300: string;
@@ -162,8 +165,10 @@ export declare const Title: import("@stitches/react/types/styled-component").Sty
162
165
  lg: string;
163
166
  }, {
164
167
  colors: {
168
+ primary: string;
165
169
  primary500: string;
166
170
  primary600: string;
171
+ secondary: string;
167
172
  secondary100: string;
168
173
  secondary200: string;
169
174
  secondary300: string;
@@ -173,6 +178,7 @@ export declare const Title: import("@stitches/react/types/styled-component").Sty
173
178
  secondary700: string;
174
179
  secondary800: string;
175
180
  secondary900: string;
181
+ neutral: string;
176
182
  neutral100: string;
177
183
  neutral200: string;
178
184
  neutral300: string;
@@ -315,8 +321,10 @@ export declare const List: import("@stitches/react/types/styled-component").Styl
315
321
  lg: string;
316
322
  }, {
317
323
  colors: {
324
+ primary: string;
318
325
  primary500: string;
319
326
  primary600: string;
327
+ secondary: string;
320
328
  secondary100: string;
321
329
  secondary200: string;
322
330
  secondary300: string;
@@ -326,6 +334,7 @@ export declare const List: import("@stitches/react/types/styled-component").Styl
326
334
  secondary700: string;
327
335
  secondary800: string;
328
336
  secondary900: string;
337
+ neutral: string;
329
338
  neutral100: string;
330
339
  neutral200: string;
331
340
  neutral300: string;
@@ -468,8 +477,10 @@ export declare const Tag: import("@stitches/react/types/styled-component").Style
468
477
  lg: string;
469
478
  }, {
470
479
  colors: {
480
+ primary: string;
471
481
  primary500: string;
472
482
  primary600: string;
483
+ secondary: string;
473
484
  secondary100: string;
474
485
  secondary200: string;
475
486
  secondary300: string;
@@ -479,6 +490,7 @@ export declare const Tag: import("@stitches/react/types/styled-component").Style
479
490
  secondary700: string;
480
491
  secondary800: string;
481
492
  secondary900: string;
493
+ neutral: string;
482
494
  neutral100: string;
483
495
  neutral200: string;
484
496
  neutral300: string;
@@ -621,8 +633,10 @@ export declare const TagTitle: import("@stitches/react/types/styled-component").
621
633
  lg: string;
622
634
  }, {
623
635
  colors: {
636
+ primary: string;
624
637
  primary500: string;
625
638
  primary600: string;
639
+ secondary: string;
626
640
  secondary100: string;
627
641
  secondary200: string;
628
642
  secondary300: string;
@@ -632,6 +646,7 @@ export declare const TagTitle: import("@stitches/react/types/styled-component").
632
646
  secondary700: string;
633
647
  secondary800: string;
634
648
  secondary900: string;
649
+ neutral: string;
635
650
  neutral100: string;
636
651
  neutral200: string;
637
652
  neutral300: string;
@@ -774,8 +789,10 @@ export declare const BalanceContainer: import("@stitches/react/types/styled-comp
774
789
  lg: string;
775
790
  }, {
776
791
  colors: {
792
+ primary: string;
777
793
  primary500: string;
778
794
  primary600: string;
795
+ secondary: string;
779
796
  secondary100: string;
780
797
  secondary200: string;
781
798
  secondary300: string;
@@ -785,6 +802,7 @@ export declare const BalanceContainer: import("@stitches/react/types/styled-comp
785
802
  secondary700: string;
786
803
  secondary800: string;
787
804
  secondary900: string;
805
+ neutral: string;
788
806
  neutral100: string;
789
807
  neutral200: string;
790
808
  neutral300: string;
@@ -927,8 +945,10 @@ export declare const End: import("@stitches/react/types/styled-component").Style
927
945
  lg: string;
928
946
  }, {
929
947
  colors: {
948
+ primary: string;
930
949
  primary500: string;
931
950
  primary600: string;
951
+ secondary: string;
932
952
  secondary100: string;
933
953
  secondary200: string;
934
954
  secondary300: string;
@@ -938,6 +958,7 @@ export declare const End: import("@stitches/react/types/styled-component").Style
938
958
  secondary700: string;
939
959
  secondary800: string;
940
960
  secondary900: string;
961
+ neutral: string;
941
962
  neutral100: string;
942
963
  neutral200: string;
943
964
  neutral300: string;
@@ -1080,8 +1101,10 @@ export declare const Description: import("@stitches/react/types/styled-component
1080
1101
  lg: string;
1081
1102
  }, {
1082
1103
  colors: {
1104
+ primary: string;
1083
1105
  primary500: string;
1084
1106
  primary600: string;
1107
+ secondary: string;
1085
1108
  secondary100: string;
1086
1109
  secondary200: string;
1087
1110
  secondary300: string;
@@ -1091,6 +1114,7 @@ export declare const Description: import("@stitches/react/types/styled-component
1091
1114
  secondary700: string;
1092
1115
  secondary800: string;
1093
1116
  secondary900: string;
1117
+ neutral: string;
1094
1118
  neutral100: string;
1095
1119
  neutral200: string;
1096
1120
  neutral300: string;
@@ -1233,8 +1257,10 @@ export declare const ImageSection: import("@stitches/react/types/styled-componen
1233
1257
  lg: string;
1234
1258
  }, {
1235
1259
  colors: {
1260
+ primary: string;
1236
1261
  primary500: string;
1237
1262
  primary600: string;
1263
+ secondary: string;
1238
1264
  secondary100: string;
1239
1265
  secondary200: string;
1240
1266
  secondary300: string;
@@ -1244,6 +1270,7 @@ export declare const ImageSection: import("@stitches/react/types/styled-componen
1244
1270
  secondary700: string;
1245
1271
  secondary800: string;
1246
1272
  secondary900: string;
1273
+ neutral: string;
1247
1274
  neutral100: string;
1248
1275
  neutral200: string;
1249
1276
  neutral300: string;
@@ -1386,8 +1413,10 @@ export declare const Pin: import("@stitches/react/types/styled-component").Style
1386
1413
  lg: string;
1387
1414
  }, {
1388
1415
  colors: {
1416
+ primary: string;
1389
1417
  primary500: string;
1390
1418
  primary600: string;
1419
+ secondary: string;
1391
1420
  secondary100: string;
1392
1421
  secondary200: string;
1393
1422
  secondary300: string;
@@ -1397,6 +1426,7 @@ export declare const Pin: import("@stitches/react/types/styled-component").Style
1397
1426
  secondary700: string;
1398
1427
  secondary800: string;
1399
1428
  secondary900: string;
1429
+ neutral: string;
1400
1430
  neutral100: string;
1401
1431
  neutral200: string;
1402
1432
  neutral300: 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAShB,CAAC;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DA8Df,CAAC;AAEH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;+DAOd,CAAC"}
@@ -8,8 +8,10 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
8
8
  lg: string;
9
9
  }, {
10
10
  colors: {
11
+ primary: string;
11
12
  primary500: string;
12
13
  primary600: string;
14
+ secondary: string;
13
15
  secondary100: string;
14
16
  secondary200: string;
15
17
  secondary300: string;
@@ -19,6 +21,7 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
19
21
  secondary700: string;
20
22
  secondary800: string;
21
23
  secondary900: string;
24
+ neutral: string;
22
25
  neutral100: string;
23
26
  neutral200: string;
24
27
  neutral300: string;
@@ -161,8 +164,10 @@ export declare const LogoContainer: import("@stitches/react/types/styled-compone
161
164
  lg: string;
162
165
  }, {
163
166
  colors: {
167
+ primary: string;
164
168
  primary500: string;
165
169
  primary600: string;
170
+ secondary: string;
166
171
  secondary100: string;
167
172
  secondary200: string;
168
173
  secondary300: string;
@@ -172,6 +177,7 @@ export declare const LogoContainer: import("@stitches/react/types/styled-compone
172
177
  secondary700: string;
173
178
  secondary800: string;
174
179
  secondary900: string;
180
+ neutral: string;
175
181
  neutral100: string;
176
182
  neutral200: string;
177
183
  neutral300: string;
@@ -314,8 +320,10 @@ export declare const Spinner: import("@stitches/react/types/styled-component").S
314
320
  lg: string;
315
321
  }, {
316
322
  colors: {
323
+ primary: string;
317
324
  primary500: string;
318
325
  primary600: string;
326
+ secondary: string;
319
327
  secondary100: string;
320
328
  secondary200: string;
321
329
  secondary300: string;
@@ -325,6 +333,7 @@ export declare const Spinner: import("@stitches/react/types/styled-component").S
325
333
  secondary700: string;
326
334
  secondary800: string;
327
335
  secondary900: string;
336
+ neutral: string;
328
337
  neutral100: string;
329
338
  neutral200: string;
330
339
  neutral300: string;
@@ -467,8 +476,10 @@ export declare const WalletImageContainer: import("@stitches/react/types/styled-
467
476
  lg: string;
468
477
  }, {
469
478
  colors: {
479
+ primary: string;
470
480
  primary500: string;
471
481
  primary600: string;
482
+ secondary: string;
472
483
  secondary100: string;
473
484
  secondary200: string;
474
485
  secondary300: string;
@@ -478,6 +489,7 @@ export declare const WalletImageContainer: import("@stitches/react/types/styled-
478
489
  secondary700: string;
479
490
  secondary800: string;
480
491
  secondary900: string;
492
+ neutral: string;
481
493
  neutral100: string;
482
494
  neutral200: string;
483
495
  neutral300: 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 DEFAULT_FONT_FAMILY = "Roboto";
2
+ //# sourceMappingURL=fonts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../src/constants/fonts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
@@ -1,2 +1,2 @@
1
1
  export declare const RANGO_PUBLIC_API_KEY = "c6381a79-2817-4602-83bf-6a641a409e32";
2
- //# sourceMappingURL=constants.d.ts.map
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,yCAAyC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { WidgetTheme } from '../types';
2
- export declare function useTheme({ fontFamily, borderRadius, secondaryBorderRadius, mode, }: WidgetTheme): {
2
+ export declare function useTheme(props: WidgetTheme): {
3
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;AAY5C,wBAAgB,QAAQ,CAAC,EAEvB,UAAqB,EACrB,YAAqC,EACrC,qBAAgD,EAChD,IAAa,GACd,EAAE,WAAW;;EAgEb"}
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"}
package/dist/index.d.ts CHANGED
@@ -1,9 +1,12 @@
1
- import { WidgetTheme, WidgetConfig, WidgetColors, BlockchainAndTokenConfig } from './types';
2
- import { WidgetProps, Widget } from './Widget';
3
- import { WalletType } from '@rango-dev/wallets-shared';
1
+ import type { BlockchainAndTokenConfig, WidgetColors, WidgetColorsKeys, WidgetConfig, WidgetTheme } from './types';
2
+ import type { WidgetProps } from './Widget';
3
+ import type { Route, RouteEvent, RouteFailedEvent, RouteStartedEvent, RouteSucceededEvent, Step, StepApprovalTxSucceededEvent, StepCheckStatusEvent, StepEvent, StepFailedEvent, StepOutputRevealedEvent, StepStartedEvent, StepSucceededEvent, StepTxExecutionBlockedEvent, StepTxExecutionUpdatedEvent } from '@rango-dev/queue-manager-rango-preset';
4
+ import type { EventHandler as HandleWalletsUpdate, ProviderInterface } from '@rango-dev/wallets-react';
5
+ import type { WalletType } from '@rango-dev/wallets-shared';
6
+ import { MainEvents, RouteEventType, StepEventType, StepExecutionBlockedEventStatus, StepExecutionEventStatus, useEvents as useWidgetEvents } from '@rango-dev/queue-manager-rango-preset';
7
+ import { useWallets } from '@rango-dev/wallets-react';
4
8
  import { WidgetWallets } from './Wallets';
5
- import { useWallets, ProviderInterface, EventHandler as HandleWalletsUpdate } from '@rango-dev/wallets-react';
6
- import { useEvents as useWidgetEvents, MainEvents, RouteEvent, StepEvent, Route, Step, RouteStartedEvent, RouteSucceededEvent, RouteFailedEvent, RouteEventType, StepStartedEvent, StepSucceededEvent, StepFailedEvent, StepTxExecutionUpdatedEvent, StepTxExecutionBlockedEvent, StepCheckStatusEvent, StepApprovalTxSucceededEvent, StepOutputRevealedEvent, StepEventType, StepExecutionEventStatus, StepExecutionBlockedEventStatus } from '@rango-dev/queue-manager-rango-preset';
7
- export type { WidgetConfig, WalletType, WidgetTheme, WidgetColors, ProviderInterface, BlockchainAndTokenConfig, WidgetProps, RouteEvent, StepEvent, Route, Step, RouteStartedEvent, RouteSucceededEvent, RouteFailedEvent, StepStartedEvent, StepSucceededEvent, StepFailedEvent, StepTxExecutionUpdatedEvent, StepTxExecutionBlockedEvent, StepCheckStatusEvent, StepApprovalTxSucceededEvent, StepOutputRevealedEvent, HandleWalletsUpdate, };
9
+ import { Widget } from './Widget';
10
+ export type { WidgetConfig, WalletType, WidgetTheme, WidgetColors, WidgetColorsKeys, ProviderInterface, BlockchainAndTokenConfig, WidgetProps, RouteEvent, StepEvent, Route, Step, RouteStartedEvent, RouteSucceededEvent, RouteFailedEvent, StepStartedEvent, StepSucceededEvent, StepFailedEvent, StepTxExecutionUpdatedEvent, StepTxExecutionBlockedEvent, StepCheckStatusEvent, StepApprovalTxSucceededEvent, StepOutputRevealedEvent, HandleWalletsUpdate, };
8
11
  export { Widget, WidgetWallets, useWallets, useWidgetEvents, MainEvents, RouteEventType, StepEventType, StepExecutionEventStatus, StepExecutionBlockedEventStatus, };
9
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACzB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,YAAY,IAAI,mBAAmB,EACpC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,SAAS,IAAI,eAAe,EAC5B,UAAU,EACV,UAAU,EACV,SAAS,EACT,KAAK,EACL,IAAI,EACJ,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,2BAA2B,EAC3B,2BAA2B,EAC3B,oBAAoB,EACpB,4BAA4B,EAC5B,uBAAuB,EACvB,aAAa,EACb,wBAAwB,EACxB,+BAA+B,EAChC,MAAM,uCAAuC,CAAC;AAE/C,YAAY,EACV,YAAY,EACZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,wBAAwB,EACxB,WAAW,EACX,UAAU,EACV,SAAS,EACT,KAAK,EACL,IAAI,EACJ,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,2BAA2B,EAC3B,2BAA2B,EAC3B,oBAAoB,EACpB,4BAA4B,EAC5B,uBAAuB,EACvB,mB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