@funkit/connect 9.3.2 → 9.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/dist/__generated__/default_configs.d.ts +222 -12
  3. package/dist/__generated__/default_feature_gates.d.ts +1 -0
  4. package/dist/{chunk-MXNOQTKX.js → chunk-O35RTEEF.js} +17 -1
  5. package/dist/{chunk-RHUOOPDI.js → chunk-S65TG73G.js} +12 -1
  6. package/dist/{chunk-AGBRSMZ7.js → chunk-VLAOBEJN.js} +12 -1
  7. package/dist/clients/fanatics.css +5285 -4388
  8. package/dist/clients/fanatics.js +2 -2
  9. package/dist/clients/polymarket.d.ts +5 -1
  10. package/dist/clients/polymarket.js +11 -15
  11. package/dist/components/Box/Box.d.ts +40 -40
  12. package/dist/components/Dropdown/BaseDropdown.css.d.ts +2 -2
  13. package/dist/components/Dropdown/BaseDropdown.d.ts +50 -6
  14. package/dist/components/Dropdown/ChainDropdown.d.ts +5 -2
  15. package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +7 -1
  16. package/dist/components/Dropdown/TokenDropdown.d.ts +3 -1
  17. package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.d.ts +2 -2
  18. package/dist/components/FunInput/FunInput.css.d.ts +1 -0
  19. package/dist/components/ModalHeightAnimationLayer/WithdrawalModalHeightAnimationWrapper.d.ts +1 -1
  20. package/dist/components/NewTokenDepositAlert/NewTokenDepositAlert.d.ts +1 -1
  21. package/dist/components/Tabs/Tabs.d.ts +1 -0
  22. package/dist/components/Tabs/tabs.css.d.ts +1 -1
  23. package/dist/config/getDefaultConfig.d.ts +1 -1
  24. package/dist/css/sprinkles.css.d.ts +108 -40
  25. package/dist/hooks/statsig/useFeatureGate.d.ts +3 -6
  26. package/dist/hooks/useBluvo.d.ts +1215 -5
  27. package/dist/hooks/useMainnetEnsAvatar.d.ts +1 -1
  28. package/dist/hooks/useScrollDivider.d.ts +10 -2
  29. package/dist/hooks/useSupportedAssets.d.ts +9 -0
  30. package/dist/hooks/{useTokenChain.d.ts → useTokenAndChainDropdown.d.ts} +8 -2
  31. package/dist/hooks/useTokenTransfer.d.ts +1 -0
  32. package/dist/hooks/useTokenTransferConfig.d.ts +2 -0
  33. package/dist/index.css +5390 -4440
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.js +2621 -1490
  36. package/dist/modals/CheckoutModal/Brokerage/SelectBrokerage.d.ts +1 -1
  37. package/dist/modals/CheckoutModal/CheckoutBlockedReason.d.ts +1 -0
  38. package/dist/modals/CheckoutModal/SelectAsset/SelectAsset.d.ts +1 -1
  39. package/dist/modals/CheckoutModal/SelectAsset/SelectAssetInfoSection.d.ts +1 -1
  40. package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsListLoading.d.ts +6 -0
  41. package/dist/modals/CheckoutModal/SwappedIframe/SwappedErrorMessage.d.ts +6 -0
  42. package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframeContainer.d.ts +3 -1
  43. package/dist/modals/CheckoutModal/TransferToken/TransferToken.d.ts +1 -1
  44. package/dist/modals/CheckoutModal/stepTransition.d.ts +4 -1
  45. package/dist/modals/CheckoutModal/useCheckoutBlocked.d.ts +18 -0
  46. package/dist/providers/FunkitCheckoutContext/types.d.ts +5 -0
  47. package/dist/providers/FunkitThemeProvider.d.ts +102 -0
  48. package/dist/providers/GeneralWalletProvider.d.ts +5 -5
  49. package/dist/themes/baseTheme.js +1 -1
  50. package/dist/themes/darkTheme.js +2 -2
  51. package/dist/themes/lightTheme.js +2 -2
  52. package/dist/utils/bluvo.d.ts +99 -1
  53. package/dist/utils/checkout.d.ts +1 -1
  54. package/dist/utils/swapped.d.ts +1 -0
  55. package/dist/utils/tokenTransfer/disabledList.d.ts +14 -0
  56. package/dist/utils/tokenTransfer/types.d.ts +26 -0
  57. package/dist/wallets/walletConnectors/index.js +42 -42
  58. package/package.json +10 -10
  59. /package/dist/modals/{WithdrwalModal → WithdrawalModal}/WithdrawalCallbackSuccess.d.ts +0 -0
  60. /package/dist/modals/{WithdrwalModal → WithdrawalModal}/WithdrawalContent.d.ts +0 -0
  61. /package/dist/modals/{WithdrwalModal → WithdrawalModal}/WithdrawalModal.d.ts +0 -0
  62. /package/dist/modals/{WithdrwalModal → WithdrawalModal}/WithdrawalSuccess.d.ts +0 -0
  63. /package/dist/modals/{WithdrwalModal → WithdrawalModal}/types.d.ts +0 -0
  64. /package/dist/modals/{WithdrwalModal → WithdrawalModal}/useWithdrawal.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,70 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 9.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 6a14554: fix: swapped theme variable mapping
8
+ - e739676: fix: show correct loading state for cash tab
9
+
10
+ ## 9.4.2
11
+
12
+ ### Patch Changes
13
+
14
+ - 6ba7d50: feat(connect): migrate TokenTransferSourceChainsAndAssets flag to statsig
15
+ - 0ddaf2e: feat: add fop min limit
16
+ - a8bf211: feat(connect): improve swapped error screen
17
+ - 156e238: chore: remove unused api and tests
18
+ - 5fdb061: adjust default payment amount skeleton height
19
+ - c7ac6cb: chore(connect): fix tsconfig
20
+ - 5864c70: rename internal package's typo
21
+ - c824e9b: source select screen skeletons updated to fit lighter
22
+ - ca36ea4: fix(connect): token dropdown groups
23
+ - d9d62d1: Upgrade @bluvo/react and @bluvo/sdk-ts to 3.0.0-beta.1 and fix brokerage type forwarding
24
+ - 4209131: feat(connect): remove dropdown fade-out workaround
25
+ - Updated dependencies [6ba7d50]
26
+ - Updated dependencies [0ddaf2e]
27
+ - Updated dependencies [156e238]
28
+ - Updated dependencies [c7ac6cb]
29
+ - Updated dependencies [867e355]
30
+ - Updated dependencies [d9d62d1]
31
+ - @funkit/utils@1.2.6
32
+ - @funkit/api-base@3.0.4
33
+ - @funkit/fun-relay@2.6.5
34
+ - @funkit/chains@1.1.2
35
+
36
+ ## 9.4.1
37
+
38
+ ### Patch Changes
39
+
40
+ - cf9b5e6: fix brokerage flow
41
+
42
+ ## 9.4.0
43
+
44
+ ### Minor Changes
45
+
46
+ - 47571d6: Add onCheckoutBlocked callback with semiGeoblock/fullGeoblock distinction for geoblock, security, and unloggedin blocks
47
+ - 30c90b2: feat(connect): make polymarket withdrawal config params customizable
48
+
49
+ ### Patch Changes
50
+
51
+ - 0f3f24e: allow both customRecipient and actionParams for one checkout
52
+ - 59ac11e: hide payment source labels according to statsig flag in cash tab
53
+ - 0f3f24e: Show pending text and hide redirect button when transaction hash is unavailable
54
+ - 0f3f24e: Increase dialog max height for withdrawal modal content
55
+ - 0f3f24e: Fix withdrawal pending screen showing completed prematurely for multi-step transactions
56
+ - ad9c2fe: fix(connect): update generic error message copy
57
+ - 465be26: chore: update iframe allow list
58
+ - cc8cf8b: bump ts version
59
+ - 834c86f: feat(connect): chain/token dropdown groups
60
+ - a05c817: opinion theme updates part 3
61
+ - 4df5e00: fix oversized text in tooltip
62
+ - Updated dependencies [cc8cf8b]
63
+ - @funkit/api-base@3.0.3
64
+ - @funkit/chains@1.1.1
65
+ - @funkit/fun-relay@2.6.4
66
+ - @funkit/utils@1.2.5
67
+
3
68
  ## 9.3.2
4
69
 
5
70
  ### Patch Changes
@@ -58,6 +58,9 @@ declare const _default: {
58
58
  readonly chainIdList: readonly [];
59
59
  };
60
60
  };
61
+ readonly disabletokentransferchainsandassets: {
62
+ readonly value: {};
63
+ };
61
64
  readonly dynamicrouting: {
62
65
  readonly value: readonly [{
63
66
  readonly routeId: "LIGHTER_ETH_SPOT";
@@ -307,6 +310,24 @@ declare const _default: {
307
310
  };
308
311
  readonly foppriority: {
309
312
  readonly variants: readonly [{
313
+ readonly condition: {
314
+ readonly type: "country";
315
+ readonly countryCodes: readonly ["AD", "AE", "AM", "AT", "AU", "AW", "AZ", "CH", "CZ", "DE", "DK", "DM", "GA", "GB", "GG", "GL", "GP", "HU", "IE", "IT", "JE", "KN", "KW", "LU", "ME", "NL", "OM", "PG", "PL", "QA", "SA", "SE", "TW", "US", "UZ", "ZA"];
316
+ };
317
+ readonly value: readonly ["APPLE_PAY", "CARDS", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
318
+ }, {
319
+ readonly condition: {
320
+ readonly type: "country";
321
+ readonly countryCodes: readonly ["AR", "GH", "KE"];
322
+ };
323
+ readonly value: readonly ["ASTROPAY", "CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
324
+ }, {
325
+ readonly condition: {
326
+ readonly type: "country";
327
+ readonly countryCodes: readonly ["LK", "MO", "SR", "TM", "VU", "IN"];
328
+ };
329
+ readonly value: readonly ["GOOGLE_PAY", "CARDS", "APPLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
330
+ }, {
310
331
  readonly condition: {
311
332
  readonly type: "country";
312
333
  readonly countryCodes: readonly ["BR"];
@@ -315,9 +336,51 @@ declare const _default: {
315
336
  }, {
316
337
  readonly condition: {
317
338
  readonly type: "country";
318
- readonly countryCodes: readonly ["IN"];
339
+ readonly countryCodes: readonly ["CA"];
340
+ };
341
+ readonly value: readonly ["INTERAC", "CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
342
+ }, {
343
+ readonly condition: {
344
+ readonly type: "country";
345
+ readonly countryCodes: readonly ["ID"];
346
+ };
347
+ readonly value: readonly ["GOPAY", "CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
348
+ }, {
349
+ readonly condition: {
350
+ readonly type: "country";
351
+ readonly countryCodes: readonly ["MY"];
319
352
  };
320
- readonly value: readonly ["GOOGLE_PAY", "APPLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL", "CARDS"];
353
+ readonly value: readonly ["TOUCHNGO", "CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
354
+ }, {
355
+ readonly condition: {
356
+ readonly type: "country";
357
+ readonly countryCodes: readonly ["NO"];
358
+ };
359
+ readonly value: readonly ["VIPPS", "CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
360
+ }, {
361
+ readonly condition: {
362
+ readonly type: "country";
363
+ readonly countryCodes: readonly ["PH"];
364
+ };
365
+ readonly value: readonly ["GCASH", "CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
366
+ }, {
367
+ readonly condition: {
368
+ readonly type: "country";
369
+ readonly countryCodes: readonly ["TH"];
370
+ };
371
+ readonly value: readonly ["PROMPTPAY", "CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
372
+ }, {
373
+ readonly condition: {
374
+ readonly type: "country";
375
+ readonly countryCodes: readonly ["VN"];
376
+ };
377
+ readonly value: readonly ["VIETQR", "CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
378
+ }, {
379
+ readonly condition: {
380
+ readonly type: "country";
381
+ readonly countryCodes: readonly ["ZM"];
382
+ };
383
+ readonly value: readonly ["MOBILE_MONEY", "CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
321
384
  }];
322
385
  readonly value: readonly ["CARDS", "APPLE_PAY", "GOOGLE_PAY", "REVOLUT_PAY", "PAYPAL", "BANK_TRANSFER", "PIX", "SKRILL"];
323
386
  };
@@ -432,17 +495,164 @@ declare const _default: {
432
495
  readonly popular: readonly [];
433
496
  };
434
497
  };
435
- readonly tokentransfertest: {
498
+ readonly tokentransferconfig: {
436
499
  readonly value: {
437
- readonly chains: {
438
- readonly '1': readonly ["0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "0x6b175474e89094c44da98b954eedeac495271d0f", "0xdac17f958d2ee523a2206206994597c13d831ec7", "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"];
439
- readonly '137': readonly ["0x3c499c542cef5e3811e1192ce70d8cc03d5c3359", "0x2791bca1f2de4661ed88a30c99a7a9449aa84174"];
440
- readonly '1151111081099710': readonly ["So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"];
441
- };
442
- readonly defaultChainId: 137;
443
- readonly defaultTokens: readonly [];
444
- readonly badges: {};
445
- readonly chainSortOrder: readonly ["1", "1151111081099710", "56", "8453", "137", "42161", "10"];
500
+ readonly priorityTokens: readonly [];
501
+ readonly chains: readonly [{
502
+ readonly chainId: 137;
503
+ readonly isDefault: true;
504
+ readonly assets: readonly [{
505
+ readonly address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359";
506
+ }, {
507
+ readonly address: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174";
508
+ }, {
509
+ readonly address: "0xc2132D05D31c914a87C6611C10748AEb04B58e8F";
510
+ }, {
511
+ readonly address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
512
+ }, {
513
+ readonly address: "0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063";
514
+ }, {
515
+ readonly address: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619";
516
+ }];
517
+ }, {
518
+ readonly chainId: 1;
519
+ readonly assets: readonly [{
520
+ readonly address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
521
+ }, {
522
+ readonly address: "0x6B175474E89094C44Da98b954EedeAC495271d0F";
523
+ }, {
524
+ readonly address: "0xdAC17F958D2ee523a2206206994597C13D831ec7";
525
+ }, {
526
+ readonly address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
527
+ }, {
528
+ readonly address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
529
+ }, {
530
+ readonly address: "0x455e53CBB86018Ac2B8092FdCd39d8444aFFC3F6";
531
+ }, {
532
+ readonly address: "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0";
533
+ }, {
534
+ readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
535
+ }, {
536
+ readonly address: "0x4c9EDD5852cd905f086C759E8383e09bff1E68B3";
537
+ }];
538
+ }, {
539
+ readonly chainId: 1151111081099710;
540
+ readonly assets: readonly [{
541
+ readonly address: "11111111111111111111111111111111";
542
+ }, {
543
+ readonly address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
544
+ }, {
545
+ readonly address: "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB";
546
+ }, {
547
+ readonly address: "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN";
548
+ }, {
549
+ readonly address: "DEkqHyPN7GMRJ5cArtQFAWefqbZb33Hyf6s5iCwjEonT";
550
+ }];
551
+ }, {
552
+ readonly chainId: 56;
553
+ readonly assets: readonly [{
554
+ readonly address: "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d";
555
+ }, {
556
+ readonly address: "0x55d398326f99059fF775485246999027B3197955";
557
+ }, {
558
+ readonly address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
559
+ }, {
560
+ readonly address: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c";
561
+ }, {
562
+ readonly address: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8";
563
+ }, {
564
+ readonly address: "0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3";
565
+ }, {
566
+ readonly address: "0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56";
567
+ }, {
568
+ readonly address: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c";
569
+ }, {
570
+ readonly address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34";
571
+ }];
572
+ }, {
573
+ readonly chainId: 8453;
574
+ readonly assets: readonly [{
575
+ readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
576
+ }, {
577
+ readonly address: "0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2";
578
+ }, {
579
+ readonly address: "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb";
580
+ }, {
581
+ readonly address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
582
+ }, {
583
+ readonly address: "0x4200000000000000000000000000000000000006";
584
+ }, {
585
+ readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
586
+ }, {
587
+ readonly address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34";
588
+ }];
589
+ }, {
590
+ readonly chainId: 42161;
591
+ readonly assets: readonly [{
592
+ readonly address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
593
+ }, {
594
+ readonly address: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9";
595
+ }, {
596
+ readonly address: "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1";
597
+ }, {
598
+ readonly address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
599
+ }, {
600
+ readonly address: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1";
601
+ }, {
602
+ readonly address: "0x912CE59144191C1204E64559FE8253a0e49E6548";
603
+ }, {
604
+ readonly address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34";
605
+ }];
606
+ }, {
607
+ readonly chainId: 8253038;
608
+ readonly assets: readonly [{
609
+ readonly address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
610
+ }];
611
+ }, {
612
+ readonly chainId: 10;
613
+ readonly assets: readonly [{
614
+ readonly address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85";
615
+ }, {
616
+ readonly address: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58";
617
+ }, {
618
+ readonly address: "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1";
619
+ }, {
620
+ readonly address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
621
+ }, {
622
+ readonly address: "0x4200000000000000000000000000000000000006";
623
+ }, {
624
+ readonly address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34";
625
+ }];
626
+ }, {
627
+ readonly chainId: 999;
628
+ readonly assets: readonly [{
629
+ readonly address: "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
630
+ }, {
631
+ readonly address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
632
+ }, {
633
+ readonly address: "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb";
634
+ }, {
635
+ readonly address: "0x9FDBdA0A5e284c32744D2f17Ee5c74B284993463";
636
+ }, {
637
+ readonly address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34";
638
+ }];
639
+ }, {
640
+ readonly chainId: 2741;
641
+ readonly assets: readonly [{
642
+ readonly address: "0x84A71ccD554Cc1b02749b35d22F684CC8ec987e1";
643
+ }, {
644
+ readonly address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
645
+ }, {
646
+ readonly address: "0x3439153EB7AF838Ad19d56E1571FBD09333C2809";
647
+ }, {
648
+ readonly address: "0x0709F39376dEEe2A2dfC94A58EdEb2Eb9DF012bD";
649
+ }];
650
+ }, {
651
+ readonly chainId: 5064014;
652
+ readonly assets: readonly [{
653
+ readonly address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
654
+ }];
655
+ }];
446
656
  };
447
657
  };
448
658
  readonly tokentransfertokengroups: {
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  readonly 'exact-in': false;
3
+ readonly 'new-token-transfer-config': false;
3
4
  readonly 'test-testing-gate': false;
4
5
  };
5
6
  export default _default;
@@ -181,7 +181,7 @@ var baseTheme = ({
181
181
  modalTopBarHeight: "56px",
182
182
  modalTopbarIconSize: "16px",
183
183
  modalTopbarIconWrapperSize: "32px",
184
- paymentAmountSkeletonBlockHeight: "10px",
184
+ paymentAmountSkeletonBlockHeight: "14px",
185
185
  paymentAmountSkeletonBlockWidth: "93px",
186
186
  paymentAmountSkeletonCircleSize: "15px",
187
187
  paymentMethodItemIconSize: "20px",
@@ -199,6 +199,7 @@ var baseTheme = ({
199
199
  buttonTextPrimary: customFontFamily,
200
200
  buttonTextSecondary: customFontFamily,
201
201
  buttonTextTertiary: customFontFamily,
202
+ dropdownGroupHeader: customFontFamily,
202
203
  header: customFontFamily,
203
204
  inputAmount: customFontFamily,
204
205
  txStatusDescription: customFontFamily,
@@ -209,6 +210,7 @@ var baseTheme = ({
209
210
  buttonTextPrimary: fontStacks[fontStack],
210
211
  buttonTextSecondary: fontStacks[fontStack],
211
212
  buttonTextTertiary: fontStacks[fontStack],
213
+ dropdownGroupHeader: fontStacks[fontStack],
212
214
  header: fontStacks[fontStack],
213
215
  inputAmount: fontStacks[fontStack],
214
216
  txStatusDescription: fontStacks[fontStack],
@@ -218,6 +220,7 @@ var baseTheme = ({
218
220
  fontWeight: {
219
221
  ...DEFAULT_FONT_WEIGHTS,
220
222
  cryptoCashToggle: DEFAULT_FONT_WEIGHTS.medium,
223
+ dropdownGroupHeader: DEFAULT_FONT_WEIGHTS.medium,
221
224
  inputAmount: DEFAULT_FONT_WEIGHTS.medium,
222
225
  inputLabel: DEFAULT_FONT_WEIGHTS.medium,
223
226
  inputValue: DEFAULT_FONT_WEIGHTS.medium,
@@ -249,6 +252,7 @@ var baseTheme = ({
249
252
  buttonTextSecondary: FONT_SIZINGS[fontSizing][10],
250
253
  buttonTextTertiary: FONT_SIZINGS[fontSizing][12],
251
254
  dollarValue: FONT_SIZINGS[fontSizing][40],
255
+ dropdownGroupHeader: FONT_SIZINGS[fontSizing][12],
252
256
  inputAmount: FONT_SIZINGS[fontSizing][57],
253
257
  inputLabel: customFontSizings[12] ?? FONT_SIZINGS[fontSizing][12],
254
258
  inputValue: customFontSizings[13] ?? FONT_SIZINGS[fontSizing][13],
@@ -274,6 +278,8 @@ var baseTheme = ({
274
278
  formOfPaymentsListSectionLabelFontSize: FONT_SIZINGS[fontSizing][12],
275
279
  quickOptionFontSize: FONT_SIZINGS[fontSizing][14],
276
280
  useConnectedFontSize: FONT_SIZINGS[fontSizing][12],
281
+ paymentFeeSummaryTooltip: FONT_SIZINGS[fontSizing][10],
282
+ tooltipContent: FONT_SIZINGS[fontSizing][10],
277
283
  ...customFontSizings
278
284
  },
279
285
  radii: {
@@ -303,6 +309,8 @@ var baseTheme = ({
303
309
  activeOptionBorderWidth: "1px",
304
310
  buttonTertiaryBorderWidth: "0px",
305
311
  cryptoCashToggleContainerBorderWidth: "0px",
312
+ cryptoCashToggleActiveTabBorderWidth: "1px",
313
+ cryptoCashToggleInactiveTabBorderWidth: "1px",
306
314
  txSummaryBoxBorderWidth: "1px",
307
315
  ...customBorderWidths
308
316
  },
@@ -313,6 +321,13 @@ var baseTheme = ({
313
321
  cryptoCashToggleMarginBottom: "16px",
314
322
  cryptoCashToggleMarginTop: "24px",
315
323
  cryptoCashToggleTabPaddingY: "6px",
324
+ dropdownItemIconGap: "4px",
325
+ dropdownItemPaddingX: "4px",
326
+ dropdownItemPaddingY: "6px",
327
+ dropdownCompactPaddingX: "6px",
328
+ dropdownCompactPaddingY: "6px",
329
+ dropdownPaddingX: "12px",
330
+ dropdownPaddingY: "12px",
316
331
  modalBaseHorizontalPadding: "6px",
317
332
  modalBottomBarButtonPaddingY: "0px",
318
333
  modalBottomHorizontalPadding: "12px",
@@ -341,6 +356,7 @@ var baseTheme = ({
341
356
  inputPaddingY: "12px",
342
357
  dropdownActiveItemRegularSizePaddingY: "8px",
343
358
  assetListDefaultGap: "4px",
359
+ dropdownGroupDividerMarginY: "8px",
344
360
  ...customSpacings
345
361
  },
346
362
  textTransforms: {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  baseTheme
4
- } from "./chunk-MXNOQTKX.js";
4
+ } from "./chunk-O35RTEEF.js";
5
5
 
6
6
  // src/themes/darkTheme.ts
7
7
  var accentColors = {
@@ -72,6 +72,8 @@ var darkTheme = ({
72
72
  copyButtonBackgroundBase: customColors?.offBackground ?? "#1F1F1F",
73
73
  copyButtonBackgroundHover: customColors?.hoverState ?? "#333333",
74
74
  copyButtonBackgroundActive: customColors?.inputBorderHover ?? "#525252",
75
+ useConnectedBackgroundBase: customColors?.mediumStroke ?? "#333333",
76
+ useConnectedBackgroundHover: customColors?.mediumStroke ?? "#333333",
75
77
  copyButtonBorderBase: customColors?.mediumStroke ?? "#333333",
76
78
  copyButtonBorderHover: customColors?.mediumStroke ?? "#333333",
77
79
  funFeatureListBackgroundBase: customColors?.offBackground ?? "#1F1F1F",
@@ -89,6 +91,13 @@ var darkTheme = ({
89
91
  // tab
90
92
  activeTabBorderColor: "#333333",
91
93
  activeTabBackground: "#333333",
94
+ inactiveTabBorderColor: "transparent",
95
+ inactiveTabBackgroundBase: "transparent",
96
+ inactiveTabBackgroundHover: "transparent",
97
+ inactiveTabBackgroundActive: "transparent",
98
+ activeTabText: customColors?.primaryText ?? "#FFF",
99
+ inactiveTabTextBase: customColors?.secondaryText ?? "#8C8C8C",
100
+ inactiveTabHover: customColors?.primaryText ?? "#FFF",
92
101
  // button
93
102
  actionColor: "#FFF",
94
103
  actionColorHover: "rgba(255, 255, 255, 0.8)",
@@ -193,6 +202,8 @@ var darkTheme = ({
193
202
  dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
194
203
  dropdownActiveItemBorderBase: customColors?.dropdownActiveItemBorderBase ?? customColors?.mediumStroke ?? "#333333",
195
204
  dropdownActiveItemBorderHover: customColors?.dropdownActiveItemBorderHover ?? customColors?.mediumStroke ?? "#333333",
205
+ dropdownGroupHeader: customColors?.dropdownGroupHeader ?? customColors?.primaryText ?? "#FFF",
206
+ // primaryText
196
207
  txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#000",
197
208
  txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#333333",
198
209
  counterRingColor: customColors?.counterRingColor ?? accentColor,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  baseTheme
4
- } from "./chunk-MXNOQTKX.js";
4
+ } from "./chunk-O35RTEEF.js";
5
5
 
6
6
  // src/themes/lightTheme.ts
7
7
  var accentColors = {
@@ -72,6 +72,8 @@ var lightTheme = ({
72
72
  copyButtonBackgroundBase: customColors?.offBackground ?? "#F7F7F7",
73
73
  copyButtonBackgroundHover: customColors?.hoverState ?? "#F0F0F0",
74
74
  copyButtonBackgroundActive: customColors?.inputBorderHover ?? "#E5E5E5",
75
+ useConnectedBackgroundBase: customColors?.mediumStroke ?? "#F0F0F0",
76
+ useConnectedBackgroundHover: customColors?.mediumStroke ?? "#F0F0F0",
75
77
  copyButtonBorderBase: customColors?.mediumStroke ?? "#F0F0F0",
76
78
  copyButtonBorderHover: customColors?.mediumStroke ?? "#F0F0F0",
77
79
  funFeatureListBackgroundBase: customColors?.offBackground ?? "#F7F7F7",
@@ -89,6 +91,13 @@ var lightTheme = ({
89
91
  // tab
90
92
  activeTabBorderColor: "#F7F7F7",
91
93
  activeTabBackground: "#F7F7F7",
94
+ inactiveTabBorderColor: "transparent",
95
+ inactiveTabBackgroundBase: "transparent",
96
+ inactiveTabBackgroundHover: "transparent",
97
+ inactiveTabBackgroundActive: "transparent",
98
+ activeTabText: customColors?.primaryText ?? "#000",
99
+ inactiveTabTextBase: customColors?.secondaryText ?? "#737373",
100
+ inactiveTabHover: customColors?.primaryText ?? "#000",
92
101
  // button
93
102
  actionColor: "#000",
94
103
  actionColorHover: "rgba(0, 0, 0, 0.7)",
@@ -193,6 +202,8 @@ var lightTheme = ({
193
202
  dropdownActiveItemBackgroundDisabled: customColors?.dropdownActiveItemBackgroundDisabled ?? "transparent",
194
203
  dropdownActiveItemBorderBase: customColors?.dropdownActiveItemBorderBase ?? customColors?.mediumStroke ?? "#F0F0F0",
195
204
  dropdownActiveItemBorderHover: customColors?.dropdownActiveItemBorderHover ?? customColors?.mediumStroke ?? "#F0F0F0",
205
+ dropdownGroupHeader: customColors?.dropdownGroupHeader ?? customColors?.primaryText ?? "#000",
206
+ // primaryText
196
207
  txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#FFF",
197
208
  txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#F7F7F7",
198
209
  counterRingColor: customColors?.counterRingColor ?? accentColor,