@rango-dev/ui 0.1.10-next.74 → 0.1.10-next.76

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 (87) hide show
  1. package/dist/components/Icon/AddCircleIcon.d.ts +1 -1
  2. package/dist/components/Icon/AddIcon.d.ts +1 -1
  3. package/dist/components/Icon/AddWalletIcon.d.ts +1 -1
  4. package/dist/components/Icon/AngleDownIcon.d.ts +2 -2
  5. package/dist/components/Icon/AngleLeftIcon.d.ts +1 -1
  6. package/dist/components/Icon/AngleRightIcon.d.ts +1 -1
  7. package/dist/components/Icon/AngleUpIcon.d.ts +1 -1
  8. package/dist/components/Icon/BagIcon.d.ts +1 -1
  9. package/dist/components/Icon/BanIcon.d.ts +1 -1
  10. package/dist/components/Icon/CheckCircleIcon.d.ts +1 -1
  11. package/dist/components/Icon/CheckIcon.d.ts +1 -1
  12. package/dist/components/Icon/CheckSquareIcon.d.ts +1 -1
  13. package/dist/components/Icon/CheckWalletIcon.d.ts +1 -1
  14. package/dist/components/Icon/DeleteCircleIcon.d.ts +1 -1
  15. package/dist/components/Icon/DeleteWalletIcon.d.ts +1 -1
  16. package/dist/components/Icon/DownloadIcon.d.ts +1 -1
  17. package/dist/components/Icon/GasIcon.d.ts +1 -1
  18. package/dist/components/Icon/HistoryIcon.d.ts +1 -1
  19. package/dist/components/Icon/HorizontalSwapIcon.d.ts +1 -1
  20. package/dist/components/Icon/Icons.stories.d.ts +1 -2
  21. package/dist/components/Icon/InfoCircleIcon.d.ts +1 -1
  22. package/dist/components/Icon/MinusCircleIcon.d.ts +1 -1
  23. package/dist/components/Icon/RetryLeftIcon.d.ts +1 -1
  24. package/dist/components/Icon/RetryRightIcon.d.ts +1 -1
  25. package/dist/components/Icon/SearchIcon.d.ts +1 -1
  26. package/dist/components/Icon/SearchMinusIcon.d.ts +1 -1
  27. package/dist/components/Icon/SettingIcon.d.ts +1 -1
  28. package/dist/components/Icon/SignatureIcon.d.ts +1 -1
  29. package/dist/components/Icon/SwapWalletIcon.d.ts +1 -1
  30. package/dist/components/Icon/TrashIcon.d.ts +1 -1
  31. package/dist/components/Icon/TryAgainIcon.d.ts +1 -1
  32. package/dist/components/Icon/VerticalSwapIcon.d.ts +1 -1
  33. package/dist/components/Icon/WalletIconIcon.d.ts +1 -1
  34. package/dist/components/Icon/WarningIcon.d.ts +1 -1
  35. package/dist/components/TextField/TextField.stories.d.ts +1 -1
  36. package/dist/containers/ConfirmWallets/types.d.ts +1 -0
  37. package/dist/ui.cjs.development.js +108 -84
  38. package/dist/ui.cjs.development.js.map +1 -1
  39. package/dist/ui.cjs.production.min.js +1 -1
  40. package/dist/ui.cjs.production.min.js.map +1 -1
  41. package/dist/ui.esm.js +109 -85
  42. package/dist/ui.esm.js.map +1 -1
  43. package/package.json +2 -3
  44. package/src/components/Alert/Alert.tsx +9 -5
  45. package/src/components/BestRoute/BestRoute.tsx +3 -3
  46. package/src/components/Icon/AddCircleIcon.tsx +25 -23
  47. package/src/components/Icon/AddIcon.tsx +26 -23
  48. package/src/components/Icon/AddWalletIcon.tsx +44 -42
  49. package/src/components/Icon/AngleDownIcon.tsx +24 -24
  50. package/src/components/Icon/AngleLeftIcon.tsx +26 -24
  51. package/src/components/Icon/AngleRightIcon.tsx +26 -24
  52. package/src/components/Icon/AngleUpIcon.tsx +26 -24
  53. package/src/components/Icon/BagIcon.tsx +33 -31
  54. package/src/components/Icon/BanIcon.tsx +26 -24
  55. package/src/components/Icon/CheckCircleIcon.tsx +33 -31
  56. package/src/components/Icon/CheckIcon.tsx +24 -22
  57. package/src/components/Icon/CheckSquareIcon.tsx +31 -29
  58. package/src/components/Icon/CheckWalletIcon.tsx +39 -37
  59. package/src/components/Icon/DeleteCircleIcon.tsx +25 -23
  60. package/src/components/Icon/DeleteWalletIcon.tsx +44 -42
  61. package/src/components/Icon/DownloadIcon.tsx +31 -29
  62. package/src/components/Icon/GasIcon.tsx +31 -29
  63. package/src/components/Icon/HistoryIcon.tsx +34 -32
  64. package/src/components/Icon/HorizontalSwapIcon.tsx +33 -31
  65. package/src/components/Icon/InfoCircleIcon.tsx +33 -31
  66. package/src/components/Icon/MinusCircleIcon.tsx +25 -23
  67. package/src/components/Icon/RetryLeftIcon.tsx +25 -23
  68. package/src/components/Icon/RetryRightIcon.tsx +25 -23
  69. package/src/components/Icon/SearchIcon.tsx +25 -23
  70. package/src/components/Icon/SearchMinusIcon.tsx +25 -23
  71. package/src/components/Icon/SettingIcon.tsx +33 -31
  72. package/src/components/Icon/SignatureIcon.tsx +26 -24
  73. package/src/components/Icon/SwapWalletIcon.tsx +44 -42
  74. package/src/components/Icon/TrashIcon.tsx +25 -23
  75. package/src/components/Icon/TryAgainIcon.tsx +25 -23
  76. package/src/components/Icon/VerticalSwapIcon.tsx +32 -30
  77. package/src/components/Icon/WalletIconIcon.tsx +34 -32
  78. package/src/components/Icon/WarningIcon.tsx +31 -29
  79. package/src/components/Radio/Radio.tsx +2 -2
  80. package/src/components/SelectableWalletList/SelectableWalletList.tsx +2 -1
  81. package/src/components/Tooltip/Tooltip.tsx +7 -1
  82. package/src/components/Typography/Typography.tsx +1 -0
  83. package/src/containers/ConfirmSwap/ConfirmSwap.tsx +3 -3
  84. package/src/containers/ConfirmWallets/ConfirmWallets.tsx +1 -1
  85. package/src/containers/ConfirmWallets/types.ts +1 -0
  86. package/src/containers/History/History.tsx +4 -3
  87. package/src/containers/SwapHistory/SwapHistory.tsx +4 -4
package/dist/ui.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import React__default, { forwardRef, createElement, useState, Fragment, useEffect, useRef } from 'react';
1
+ import React__default, { createElement, forwardRef, Fragment, useState, useEffect, useRef } from 'react';
2
2
  import { Indicator, Root } from '@radix-ui/react-checkbox';
3
3
  import { createPortal } from 'react-dom';
4
4
  import { detectInstallLink } from '@rango-dev/wallets-shared';
@@ -250,7 +250,7 @@ var SvgWithFillColor = /*#__PURE__*/styled('svg', {
250
250
  });
251
251
 
252
252
  var _excluded = ["size", "color"];
253
- var DeleteCircleIcon = /*#__PURE__*/forwardRef(function (_ref) {
253
+ var DeleteCircleIcon = function DeleteCircleIcon(_ref) {
254
254
  var _ref$size = _ref.size,
255
255
  size = _ref$size === void 0 ? 16 : _ref$size,
256
256
  color = _ref.color,
@@ -269,13 +269,13 @@ var DeleteCircleIcon = /*#__PURE__*/forwardRef(function (_ref) {
269
269
  strokeLinecap: "round",
270
270
  strokeLinejoin: "round"
271
271
  }));
272
- });
272
+ };
273
273
  DeleteCircleIcon.toString = function () {
274
274
  return '._icon';
275
275
  };
276
276
 
277
277
  var _excluded$1 = ["size", "color"];
278
- var CheckSquareIcon = /*#__PURE__*/forwardRef(function (_ref) {
278
+ var CheckSquareIcon = function CheckSquareIcon(_ref) {
279
279
  var _ref$size = _ref.size,
280
280
  size = _ref$size === void 0 ? 16 : _ref$size,
281
281
  color = _ref.color,
@@ -299,13 +299,13 @@ var CheckSquareIcon = /*#__PURE__*/forwardRef(function (_ref) {
299
299
  strokeLinecap: "round",
300
300
  strokeLinejoin: "round"
301
301
  }));
302
- });
302
+ };
303
303
  CheckSquareIcon.toString = function () {
304
304
  return '._icon';
305
305
  };
306
306
 
307
307
  var _excluded$2 = ["size", "color"];
308
- var AddIcon = /*#__PURE__*/forwardRef(function (_ref) {
308
+ var AddIcon = function AddIcon(_ref) {
309
309
  var _ref$size = _ref.size,
310
310
  size = _ref$size === void 0 ? 16 : _ref$size,
311
311
  color = _ref.color,
@@ -324,13 +324,13 @@ var AddIcon = /*#__PURE__*/forwardRef(function (_ref) {
324
324
  strokeLinecap: "round",
325
325
  strokeLinejoin: "round"
326
326
  }));
327
- });
327
+ };
328
328
  AddIcon.toString = function () {
329
329
  return '._icon';
330
330
  };
331
331
 
332
332
  var _excluded$3 = ["size", "color"];
333
- var InfoCircleIcon = /*#__PURE__*/forwardRef(function (_ref) {
333
+ var InfoCircleIcon = function InfoCircleIcon(_ref) {
334
334
  var _ref$size = _ref.size,
335
335
  size = _ref$size === void 0 ? 16 : _ref$size,
336
336
  color = _ref.color,
@@ -356,13 +356,13 @@ var InfoCircleIcon = /*#__PURE__*/forwardRef(function (_ref) {
356
356
  strokeLinejoin: "round",
357
357
  stroke: "#fff"
358
358
  }));
359
- });
359
+ };
360
360
  InfoCircleIcon.toString = function () {
361
361
  return '._icon';
362
362
  };
363
363
 
364
364
  var _excluded$4 = ["size", "color"];
365
- var AddCircleIcon = /*#__PURE__*/forwardRef(function (_ref) {
365
+ var AddCircleIcon = function AddCircleIcon(_ref) {
366
366
  var _ref$size = _ref.size,
367
367
  size = _ref$size === void 0 ? 16 : _ref$size,
368
368
  color = _ref.color,
@@ -381,13 +381,13 @@ var AddCircleIcon = /*#__PURE__*/forwardRef(function (_ref) {
381
381
  strokeLinecap: "round",
382
382
  strokeLinejoin: "round"
383
383
  }));
384
- });
384
+ };
385
385
  AddCircleIcon.toString = function () {
386
386
  return '._icon';
387
387
  };
388
388
 
389
389
  var _excluded$5 = ["size", "color"];
390
- var MinusCircleIcon = /*#__PURE__*/forwardRef(function (_ref) {
390
+ var MinusCircleIcon = function MinusCircleIcon(_ref) {
391
391
  var _ref$size = _ref.size,
392
392
  size = _ref$size === void 0 ? 16 : _ref$size,
393
393
  color = _ref.color,
@@ -406,13 +406,13 @@ var MinusCircleIcon = /*#__PURE__*/forwardRef(function (_ref) {
406
406
  strokeLinecap: "round",
407
407
  strokeLinejoin: "round"
408
408
  }));
409
- });
409
+ };
410
410
  MinusCircleIcon.toString = function () {
411
411
  return '._icon';
412
412
  };
413
413
 
414
414
  var _excluded$6 = ["size", "color"];
415
- var CheckCircleIcon = /*#__PURE__*/forwardRef(function (_ref) {
415
+ var CheckCircleIcon = function CheckCircleIcon(_ref) {
416
416
  var _ref$size = _ref.size,
417
417
  size = _ref$size === void 0 ? 16 : _ref$size,
418
418
  color = _ref.color,
@@ -438,13 +438,13 @@ var CheckCircleIcon = /*#__PURE__*/forwardRef(function (_ref) {
438
438
  strokeLinejoin: "round",
439
439
  stroke: "#fff"
440
440
  }));
441
- });
441
+ };
442
442
  CheckCircleIcon.toString = function () {
443
443
  return '._icon';
444
444
  };
445
445
 
446
446
  var _excluded$7 = ["size", "color"];
447
- var CheckIcon = /*#__PURE__*/forwardRef(function (_ref) {
447
+ var CheckIcon = function CheckIcon(_ref) {
448
448
  var _ref$size = _ref.size,
449
449
  size = _ref$size === void 0 ? 16 : _ref$size,
450
450
  color = _ref.color,
@@ -462,13 +462,13 @@ var CheckIcon = /*#__PURE__*/forwardRef(function (_ref) {
462
462
  fillRule: "evenodd",
463
463
  clipRule: "evenodd"
464
464
  }));
465
- });
465
+ };
466
466
  CheckIcon.toString = function () {
467
467
  return '._icon';
468
468
  };
469
469
 
470
470
  var _excluded$8 = ["size", "color"];
471
- var BanIcon = /*#__PURE__*/forwardRef(function (_ref) {
471
+ var BanIcon = function BanIcon(_ref) {
472
472
  var _ref$size = _ref.size,
473
473
  size = _ref$size === void 0 ? 16 : _ref$size,
474
474
  color = _ref.color,
@@ -488,13 +488,13 @@ var BanIcon = /*#__PURE__*/forwardRef(function (_ref) {
488
488
  strokeLinecap: "round",
489
489
  strokeLinejoin: "round"
490
490
  }));
491
- });
491
+ };
492
492
  BanIcon.toString = function () {
493
493
  return '._icon';
494
494
  };
495
495
 
496
496
  var _excluded$9 = ["size", "color"];
497
- var WarningIcon = /*#__PURE__*/forwardRef(function (_ref) {
497
+ var WarningIcon = function WarningIcon(_ref) {
498
498
  var _ref$size = _ref.size,
499
499
  size = _ref$size === void 0 ? 16 : _ref$size,
500
500
  color = _ref.color,
@@ -518,13 +518,13 @@ var WarningIcon = /*#__PURE__*/forwardRef(function (_ref) {
518
518
  strokeLinecap: "round",
519
519
  strokeLinejoin: "round"
520
520
  }));
521
- });
521
+ };
522
522
  WarningIcon.toString = function () {
523
523
  return '._icon';
524
524
  };
525
525
 
526
526
  var _excluded$a = ["size", "color"];
527
- var HistoryIcon = /*#__PURE__*/forwardRef(function (_ref) {
527
+ var HistoryIcon = function HistoryIcon(_ref) {
528
528
  var _ref$size = _ref.size,
529
529
  size = _ref$size === void 0 ? 16 : _ref$size,
530
530
  color = _ref.color,
@@ -550,13 +550,13 @@ var HistoryIcon = /*#__PURE__*/forwardRef(function (_ref) {
550
550
  clipRule: "evenodd",
551
551
  d: "M4 7.75A.75.75 0 0 1 4.75 7h6a.75.75 0 0 1 0 1.5h-6A.75.75 0 0 1 4 7.75ZM4.75 11.75A.75.75 0 0 1 5.5 11H10a.75.75 0 0 1 0 1.5H5.5a.75.75 0 0 1-.75-.75Z"
552
552
  }));
553
- });
553
+ };
554
554
  HistoryIcon.toString = function () {
555
555
  return '._icon';
556
556
  };
557
557
 
558
558
  var _excluded$b = ["size", "color"];
559
- var GasIcon = /*#__PURE__*/forwardRef(function (_ref) {
559
+ var GasIcon = function GasIcon(_ref) {
560
560
  var _ref$size = _ref.size,
561
561
  size = _ref$size === void 0 ? 16 : _ref$size,
562
562
  color = _ref.color,
@@ -580,13 +580,13 @@ var GasIcon = /*#__PURE__*/forwardRef(function (_ref) {
580
580
  strokeLinecap: "round",
581
581
  strokeLinejoin: "round"
582
582
  }));
583
- });
583
+ };
584
584
  GasIcon.toString = function () {
585
585
  return '._icon';
586
586
  };
587
587
 
588
588
  var _excluded$c = ["size", "color"];
589
- var SettingsIcon = /*#__PURE__*/forwardRef(function (_ref) {
589
+ var SettingsIcon = function SettingsIcon(_ref) {
590
590
  var _ref$size = _ref.size,
591
591
  size = _ref$size === void 0 ? 16 : _ref$size,
592
592
  color = _ref.color,
@@ -612,13 +612,13 @@ var SettingsIcon = /*#__PURE__*/forwardRef(function (_ref) {
612
612
  strokeLinecap: "round",
613
613
  strokeLinejoin: "round"
614
614
  }));
615
- });
615
+ };
616
616
  SettingsIcon.toString = function () {
617
617
  return '._icon';
618
618
  };
619
619
 
620
620
  var _excluded$d = ["size", "color"];
621
- var TrashIcon = /*#__PURE__*/forwardRef(function (_ref) {
621
+ var TrashIcon = function TrashIcon(_ref) {
622
622
  var _ref$size = _ref.size,
623
623
  size = _ref$size === void 0 ? 16 : _ref$size,
624
624
  color = _ref.color,
@@ -637,13 +637,13 @@ var TrashIcon = /*#__PURE__*/forwardRef(function (_ref) {
637
637
  strokeLinecap: "round",
638
638
  strokeLinejoin: "round"
639
639
  }));
640
- });
640
+ };
641
641
  TrashIcon.toString = function () {
642
642
  return '._icon';
643
643
  };
644
644
 
645
645
  var _excluded$e = ["size", "color"];
646
- var SearchMinusIcon = /*#__PURE__*/forwardRef(function (_ref) {
646
+ var SearchMinusIcon = function SearchMinusIcon(_ref) {
647
647
  var _ref$size = _ref.size,
648
648
  size = _ref$size === void 0 ? 16 : _ref$size,
649
649
  color = _ref.color,
@@ -662,13 +662,13 @@ var SearchMinusIcon = /*#__PURE__*/forwardRef(function (_ref) {
662
662
  strokeLinecap: "round",
663
663
  strokeLinejoin: "round"
664
664
  }));
665
- });
665
+ };
666
666
  SearchMinusIcon.toString = function () {
667
667
  return '._icon';
668
668
  };
669
669
 
670
670
  var _excluded$f = ["size", "color"];
671
- var SearchIcon = /*#__PURE__*/forwardRef(function (_ref) {
671
+ var SearchIcon = function SearchIcon(_ref) {
672
672
  var _ref$size = _ref.size,
673
673
  size = _ref$size === void 0 ? 16 : _ref$size,
674
674
  color = _ref.color,
@@ -687,13 +687,13 @@ var SearchIcon = /*#__PURE__*/forwardRef(function (_ref) {
687
687
  strokeLinecap: "round",
688
688
  strokeLinejoin: "round"
689
689
  }));
690
- });
690
+ };
691
691
  SearchIcon.toString = function () {
692
692
  return '._icon';
693
693
  };
694
694
 
695
695
  var _excluded$g = ["size", "color"];
696
- var AngleRightIcon = /*#__PURE__*/forwardRef(function (_ref) {
696
+ var AngleRightIcon = function AngleRightIcon(_ref) {
697
697
  var _ref$size = _ref.size,
698
698
  size = _ref$size === void 0 ? 16 : _ref$size,
699
699
  color = _ref.color,
@@ -713,13 +713,13 @@ var AngleRightIcon = /*#__PURE__*/forwardRef(function (_ref) {
713
713
  strokeLinecap: "round",
714
714
  strokeLinejoin: "round"
715
715
  }));
716
- });
716
+ };
717
717
  AngleRightIcon.toString = function () {
718
718
  return '._icon';
719
719
  };
720
720
 
721
721
  var _excluded$h = ["size", "color"];
722
- var AngleUpIcon = /*#__PURE__*/forwardRef(function (_ref) {
722
+ var AngleUpIcon = function AngleUpIcon(_ref) {
723
723
  var _ref$size = _ref.size,
724
724
  size = _ref$size === void 0 ? 16 : _ref$size,
725
725
  color = _ref.color,
@@ -739,18 +739,18 @@ var AngleUpIcon = /*#__PURE__*/forwardRef(function (_ref) {
739
739
  strokeLinecap: "round",
740
740
  strokeLinejoin: "round"
741
741
  }));
742
- });
742
+ };
743
743
  AngleUpIcon.toString = function () {
744
744
  return '._icon';
745
745
  };
746
746
 
747
747
  var _excluded$i = ["size", "color"];
748
- var AngleDownIcon = /*#__PURE__*/forwardRef(function (_ref) {
748
+ var AngleDownIcon = function AngleDownIcon(_ref) {
749
749
  var _ref$size = _ref.size,
750
750
  size = _ref$size === void 0 ? 16 : _ref$size,
751
751
  color = _ref.color,
752
752
  props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
753
- return createElement(SvgWithStrokeColor, Object.assign({
753
+ return React__default.createElement(SvgWithStrokeColor, Object.assign({
754
754
  width: size,
755
755
  height: size,
756
756
  viewBox: "0 0 24 24",
@@ -758,20 +758,20 @@ var AngleDownIcon = /*#__PURE__*/forwardRef(function (_ref) {
758
758
  fill: "none",
759
759
  xmlns: "http://www.w3.org/2000/svg",
760
760
  className: "_icon"
761
- }, props), createElement("path", {
761
+ }, props), React__default.createElement("path", {
762
762
  d: "m19.92 8.95-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95",
763
763
  strokeWidth: 1.5,
764
764
  strokeMiterlimit: 10,
765
765
  strokeLinecap: "round",
766
766
  strokeLinejoin: "round"
767
767
  }));
768
- });
768
+ };
769
769
  AngleDownIcon.toString = function () {
770
770
  return '._icon';
771
771
  };
772
772
 
773
773
  var _excluded$j = ["size", "color"];
774
- var AngleLeftIcon = /*#__PURE__*/forwardRef(function (_ref) {
774
+ var AngleLeftIcon = function AngleLeftIcon(_ref) {
775
775
  var _ref$size = _ref.size,
776
776
  size = _ref$size === void 0 ? 16 : _ref$size,
777
777
  color = _ref.color,
@@ -791,13 +791,13 @@ var AngleLeftIcon = /*#__PURE__*/forwardRef(function (_ref) {
791
791
  strokeLinecap: "round",
792
792
  strokeLinejoin: "round"
793
793
  }));
794
- });
794
+ };
795
795
  AngleDownIcon.toString = function () {
796
796
  return '._icon';
797
797
  };
798
798
 
799
799
  var _excluded$k = ["size", "color"];
800
- var DownloadIcon = /*#__PURE__*/forwardRef(function (_ref) {
800
+ var DownloadIcon = function DownloadIcon(_ref) {
801
801
  var _ref$size = _ref.size,
802
802
  size = _ref$size === void 0 ? 16 : _ref$size,
803
803
  color = _ref.color,
@@ -821,13 +821,13 @@ var DownloadIcon = /*#__PURE__*/forwardRef(function (_ref) {
821
821
  strokeLinecap: "round",
822
822
  strokeLinejoin: "round"
823
823
  }));
824
- });
824
+ };
825
825
  DownloadIcon.toString = function () {
826
826
  return '._icon';
827
827
  };
828
828
 
829
829
  var _excluded$l = ["size", "color"];
830
- var RetryRightIcon = /*#__PURE__*/forwardRef(function (_ref) {
830
+ var RetryRightIcon = function RetryRightIcon(_ref) {
831
831
  var _ref$size = _ref.size,
832
832
  size = _ref$size === void 0 ? 16 : _ref$size,
833
833
  color = _ref.color,
@@ -846,13 +846,13 @@ var RetryRightIcon = /*#__PURE__*/forwardRef(function (_ref) {
846
846
  strokeLinecap: "round",
847
847
  strokeLinejoin: "round"
848
848
  }));
849
- });
849
+ };
850
850
  RetryRightIcon.toString = function () {
851
851
  return '._icon';
852
852
  };
853
853
 
854
854
  var _excluded$m = ["size", "color"];
855
- var RetryLeftIcon = /*#__PURE__*/forwardRef(function (_ref) {
855
+ var RetryLeftIcon = function RetryLeftIcon(_ref) {
856
856
  var _ref$size = _ref.size,
857
857
  size = _ref$size === void 0 ? 16 : _ref$size,
858
858
  color = _ref.color,
@@ -871,13 +871,13 @@ var RetryLeftIcon = /*#__PURE__*/forwardRef(function (_ref) {
871
871
  strokeLinecap: "round",
872
872
  strokeLinejoin: "round"
873
873
  }));
874
- });
874
+ };
875
875
  RetryLeftIcon.toString = function () {
876
876
  return '._icon';
877
877
  };
878
878
 
879
879
  var _excluded$n = ["size", "color"];
880
- var TryAgainIcon = /*#__PURE__*/forwardRef(function (_ref) {
880
+ var TryAgainIcon = function TryAgainIcon(_ref) {
881
881
  var _ref$size = _ref.size,
882
882
  size = _ref$size === void 0 ? 16 : _ref$size,
883
883
  color = _ref.color,
@@ -896,13 +896,13 @@ var TryAgainIcon = /*#__PURE__*/forwardRef(function (_ref) {
896
896
  strokeLinecap: "round",
897
897
  strokeLinejoin: "round"
898
898
  }));
899
- });
899
+ };
900
900
  TryAgainIcon.toString = function () {
901
901
  return '._icon';
902
902
  };
903
903
 
904
904
  var _excluded$o = ["size", "color"];
905
- var VerticalSwapIcon = /*#__PURE__*/forwardRef(function (_ref) {
905
+ var VerticalSwapIcon = function VerticalSwapIcon(_ref) {
906
906
  var _ref$size = _ref.size,
907
907
  size = _ref$size === void 0 ? 16 : _ref$size,
908
908
  color = _ref.color,
@@ -927,13 +927,13 @@ var VerticalSwapIcon = /*#__PURE__*/forwardRef(function (_ref) {
927
927
  strokeLinecap: "round",
928
928
  strokeLinejoin: "round"
929
929
  }));
930
- });
930
+ };
931
931
  VerticalSwapIcon.toString = function () {
932
932
  return '._icon';
933
933
  };
934
934
 
935
935
  var _excluded$p = ["size", "color"];
936
- var HorizontalSwapIcon = /*#__PURE__*/forwardRef(function (_ref) {
936
+ var HorizontalSwapIcon = function HorizontalSwapIcon(_ref) {
937
937
  var _ref$size = _ref.size,
938
938
  size = _ref$size === void 0 ? 16 : _ref$size,
939
939
  color = _ref.color,
@@ -958,7 +958,7 @@ var HorizontalSwapIcon = /*#__PURE__*/forwardRef(function (_ref) {
958
958
  strokeLinecap: "round",
959
959
  strokeLinejoin: "round"
960
960
  }));
961
- });
961
+ };
962
962
  HorizontalSwapIcon.toString = function () {
963
963
  return '._icon';
964
964
  };
@@ -991,7 +991,7 @@ RetryIcon.toString = function () {
991
991
  };
992
992
 
993
993
  var _excluded$r = ["size", "color"];
994
- var WalletIcon = /*#__PURE__*/forwardRef(function (_ref) {
994
+ var WalletIcon = function WalletIcon(_ref) {
995
995
  var _ref$size = _ref.size,
996
996
  size = _ref$size === void 0 ? 16 : _ref$size,
997
997
  color = _ref.color,
@@ -1017,13 +1017,13 @@ var WalletIcon = /*#__PURE__*/forwardRef(function (_ref) {
1017
1017
  clipRule: "evenodd",
1018
1018
  d: "M4.5 10.705a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75Z"
1019
1019
  }));
1020
- });
1020
+ };
1021
1021
  WalletIcon.toString = function () {
1022
1022
  return '._icon';
1023
1023
  };
1024
1024
 
1025
1025
  var _excluded$s = ["size", "color"];
1026
- var AddWalletIcon = /*#__PURE__*/forwardRef(function (_ref) {
1026
+ var AddWalletIcon = function AddWalletIcon(_ref) {
1027
1027
  var _ref$size = _ref.size,
1028
1028
  size = _ref$size === void 0 ? 16 : _ref$size,
1029
1029
  color = _ref.color,
@@ -1057,13 +1057,13 @@ var AddWalletIcon = /*#__PURE__*/forwardRef(function (_ref) {
1057
1057
  clipRule: "evenodd",
1058
1058
  d: "M5.309 15.475a.75.75 0 0 1 .75.75v2.99a.75.75 0 0 1-1.5 0v-2.99a.75.75 0 0 1 .75-.75Z"
1059
1059
  }));
1060
- });
1060
+ };
1061
1061
  AddWalletIcon.toString = function () {
1062
1062
  return '._icon';
1063
1063
  };
1064
1064
 
1065
1065
  var _excluded$t = ["size", "color"];
1066
- var DeleteWalletIcon = /*#__PURE__*/forwardRef(function (_ref) {
1066
+ var DeleteWalletIcon = function DeleteWalletIcon(_ref) {
1067
1067
  var _ref$size = _ref.size,
1068
1068
  size = _ref$size === void 0 ? 16 : _ref$size,
1069
1069
  color = _ref.color,
@@ -1097,13 +1097,13 @@ var DeleteWalletIcon = /*#__PURE__*/forwardRef(function (_ref) {
1097
1097
  clipRule: "evenodd",
1098
1098
  d: "M6.948 16.136a.75.75 0 0 1-.002 1.06l-2.12 2.11a.75.75 0 0 1-1.058-1.063l2.12-2.11a.75.75 0 0 1 1.06.003Z"
1099
1099
  }));
1100
- });
1100
+ };
1101
1101
  DeleteWalletIcon.toString = function () {
1102
1102
  return '._icon';
1103
1103
  };
1104
1104
 
1105
1105
  var _excluded$u = ["size", "color"];
1106
- var CheckWalletIcon = /*#__PURE__*/forwardRef(function (_ref) {
1106
+ var CheckWalletIcon = function CheckWalletIcon(_ref) {
1107
1107
  var _ref$size = _ref.size,
1108
1108
  size = _ref$size === void 0 ? 16 : _ref$size,
1109
1109
  color = _ref.color,
@@ -1133,13 +1133,13 @@ var CheckWalletIcon = /*#__PURE__*/forwardRef(function (_ref) {
1133
1133
  clipRule: "evenodd",
1134
1134
  d: "M7.538 16.215a.75.75 0 0 1-.042 1.06l-2.13 1.97a.75.75 0 0 1-1.04-.02l-.99-.99a.75.75 0 1 1 1.062-1.06l.48.48 1.6-1.48a.75.75 0 0 1 1.06.04Z"
1135
1135
  }));
1136
- });
1136
+ };
1137
1137
  CheckWalletIcon.toString = function () {
1138
1138
  return '._icon';
1139
1139
  };
1140
1140
 
1141
1141
  var _excluded$v = ["size", "color"];
1142
- var SwapWalletIcon = /*#__PURE__*/forwardRef(function (_ref) {
1142
+ var SwapWalletIcon = function SwapWalletIcon(_ref) {
1143
1143
  var _ref$size = _ref.size,
1144
1144
  size = _ref$size === void 0 ? 16 : _ref$size,
1145
1145
  color = _ref.color,
@@ -1173,13 +1173,13 @@ var SwapWalletIcon = /*#__PURE__*/forwardRef(function (_ref) {
1173
1173
  clipRule: "evenodd",
1174
1174
  d: "M6.735 18.735a.75.75 0 0 1 1.061 0l1.22 1.22a.75.75 0 0 1 0 1.061l-1.22 1.22a.75.75 0 1 1-1.06-1.06l.689-.69-.69-.69a.75.75 0 0 1 0-1.06Z"
1175
1175
  }));
1176
- });
1176
+ };
1177
1177
  SwapWalletIcon.toString = function () {
1178
1178
  return '._icon';
1179
1179
  };
1180
1180
 
1181
1181
  var _excluded$w = ["size", "color"];
1182
- var BagIcon = /*#__PURE__*/forwardRef(function (_ref) {
1182
+ var BagIcon = function BagIcon(_ref) {
1183
1183
  var _ref$size = _ref.size,
1184
1184
  size = _ref$size === void 0 ? 16 : _ref$size,
1185
1185
  color = _ref.color,
@@ -1208,7 +1208,7 @@ var BagIcon = /*#__PURE__*/forwardRef(function (_ref) {
1208
1208
  fill: color,
1209
1209
  d: "M0 0h32v32H0z"
1210
1210
  }))));
1211
- });
1211
+ };
1212
1212
  BagIcon.toString = function () {
1213
1213
  return '._icon';
1214
1214
  };
@@ -1251,7 +1251,7 @@ CloseIcon.toString = function () {
1251
1251
  };
1252
1252
 
1253
1253
  var _excluded$y = ["size", "color"];
1254
- var SignatureIcon = /*#__PURE__*/forwardRef(function (_ref) {
1254
+ var SignatureIcon = function SignatureIcon(_ref) {
1255
1255
  var _ref$size = _ref.size,
1256
1256
  size = _ref$size === void 0 ? 16 : _ref$size,
1257
1257
  color = _ref.color,
@@ -1271,7 +1271,7 @@ var SignatureIcon = /*#__PURE__*/forwardRef(function (_ref) {
1271
1271
  clipRule: 'evenodd'
1272
1272
  }
1273
1273
  }));
1274
- });
1274
+ };
1275
1275
  SignatureIcon.toString = function () {
1276
1276
  return '._icon';
1277
1277
  };
@@ -1280,6 +1280,7 @@ var _excluded$z = ["children"];
1280
1280
  var TypographyContainer = /*#__PURE__*/styled('span', {
1281
1281
  margin: 0,
1282
1282
  color: '$foreground',
1283
+ display: 'inline-block',
1283
1284
  variants: {
1284
1285
  variant: {
1285
1286
  h1: {
@@ -1821,7 +1822,9 @@ function BestRoute(_ref) {
1821
1822
  variant: "caption"
1822
1823
  }, error), !!data && ((_data$result = data.result) == null ? void 0 : _data$result.swaps.map(function (swap, index) {
1823
1824
  var _data$result2;
1824
- return React__default.createElement(React__default.Fragment, null, index === 0 && React__default.createElement(RelativeContainer, null, React__default.createElement(StepDetail, {
1825
+ return React__default.createElement(Fragment, {
1826
+ key: index
1827
+ }, index === 0 && React__default.createElement(RelativeContainer, null, React__default.createElement(StepDetail, {
1825
1828
  direction: "vertical",
1826
1829
  logo: swap.from.logo,
1827
1830
  symbol: swap.from.symbol,
@@ -2427,7 +2430,7 @@ var MainContainer = /*#__PURE__*/styled('div', {
2427
2430
  backgroundColor: '$success300'
2428
2431
  },
2429
2432
  warning: {
2430
- backgroundColor: '$warning300'
2433
+ backgroundColor: '$warning500'
2431
2434
  },
2432
2435
  error: {
2433
2436
  backgroundColor: '$error300'
@@ -2445,6 +2448,9 @@ var TitleContainer = /*#__PURE__*/styled('div', {
2445
2448
  var IconContainer = /*#__PURE__*/styled('div', {
2446
2449
  marginRight: '$24'
2447
2450
  });
2451
+ var StyledTypography = /*#__PURE__*/styled(Typography, {
2452
+ color: darkTheme.colors.foreground.value
2453
+ });
2448
2454
  function Alert(props) {
2449
2455
  var type = props.type,
2450
2456
  description = props.description,
@@ -2456,13 +2462,14 @@ function Alert(props) {
2456
2462
  color: "success",
2457
2463
  size: 28
2458
2464
  }), type === 'warning' && React__default.createElement(WarningIcon, {
2465
+ color: "white",
2459
2466
  size: 28
2460
2467
  }), type === 'error' && React__default.createElement(InfoCircleIcon, {
2461
2468
  color: "error",
2462
2469
  size: 28
2463
- })), React__default.createElement(ContentContainer$1, null, title && React__default.createElement(TitleContainer, null, React__default.createElement(Typography, {
2470
+ })), React__default.createElement(ContentContainer$1, null, title && React__default.createElement(TitleContainer, null, React__default.createElement(StyledTypography, {
2464
2471
  variant: "h6"
2465
- }, title)), React__default.createElement(Typography, {
2472
+ }, title)), React__default.createElement(StyledTypography, {
2466
2473
  variant: "body2"
2467
2474
  }, description)));
2468
2475
  }
@@ -3016,7 +3023,8 @@ function LiquiditySourcesSelector(props) {
3016
3023
 
3017
3024
  var Row$1 = /*#__PURE__*/styled('div', {
3018
3025
  display: 'flex',
3019
- flexWrap: 'wrap'
3026
+ flexWrap: 'wrap',
3027
+ justifyContent: 'center'
3020
3028
  });
3021
3029
  var Circle = /*#__PURE__*/styled('div', {
3022
3030
  width: 12,
@@ -3111,7 +3119,7 @@ function SelectableWalletList(_ref) {
3111
3119
  height: 24
3112
3120
  }), React__default.createElement(Typography, {
3113
3121
  variant: "body2"
3114
- }, w.walletType), React__default.createElement(Circle, {
3122
+ }, w.name), React__default.createElement(Circle, {
3115
3123
  checked: checked
3116
3124
  }, React__default.createElement(SolidCircle, {
3117
3125
  checked: checked
@@ -3184,8 +3192,10 @@ function Radio(props) {
3184
3192
  defaultValue: defaultValue,
3185
3193
  direction: direction,
3186
3194
  style: style
3187
- }, props.options.map(function (option) {
3188
- return React__default.createElement(ItemContainer, null, React__default.createElement(StyledItem, {
3195
+ }, props.options.map(function (option, index) {
3196
+ return React__default.createElement(ItemContainer, {
3197
+ key: index
3198
+ }, React__default.createElement(StyledItem, {
3189
3199
  value: option.value,
3190
3200
  id: option.value
3191
3201
  }, React__default.createElement(StyledIndicator, null)), React__default.createElement(Label$2, {
@@ -3730,6 +3740,9 @@ var TooltipArrow = /*#__PURE__*/styled(Arrow$1, {
3730
3740
  }
3731
3741
  }
3732
3742
  });
3743
+ var ChildrenWrapper = /*#__PURE__*/styled('div', {
3744
+ display: 'inline-block'
3745
+ });
3733
3746
  function Tooltip(_ref) {
3734
3747
  var children = _ref.children,
3735
3748
  content = _ref.content,
@@ -3737,7 +3750,9 @@ function Tooltip(_ref) {
3737
3750
  side = _ref$side === void 0 ? 'top' : _ref$side,
3738
3751
  _ref$color = _ref.color,
3739
3752
  color = _ref$color === void 0 ? 'gray' : _ref$color;
3740
- return React__default.createElement(Provider, null, React__default.createElement(Root$3, null, React__default.createElement(TooltipTrigger, null, children), React__default.createElement(Portal, null, React__default.createElement(TooltipContent, {
3753
+ return React__default.createElement(Provider, null, React__default.createElement(Root$3, null, React__default.createElement(TooltipTrigger, {
3754
+ asChild: true
3755
+ }, React__default.createElement(ChildrenWrapper, null, children)), React__default.createElement(Portal, null, React__default.createElement(TooltipContent, {
3741
3756
  color: color,
3742
3757
  side: side,
3743
3758
  sideOffset: 5
@@ -3886,7 +3901,9 @@ function ConfirmSwap(_ref) {
3886
3901
  }, "Swap")),
3887
3902
  Content: bestRoute == null ? void 0 : (_bestRoute$result = bestRoute.result) == null ? void 0 : _bestRoute$result.swaps.map(function (swap, index) {
3888
3903
  var _bestRoute$result2;
3889
- return React__default.createElement(React__default.Fragment, null, React__default.createElement(Alerts, null, error && React__default.createElement(Alert, {
3904
+ return React__default.createElement(Fragment, {
3905
+ key: index
3906
+ }, React__default.createElement(Alerts, null, error && React__default.createElement(Alert, {
3890
3907
  description: error,
3891
3908
  type: "error"
3892
3909
  }), warning && React__default.createElement(Alert, {
@@ -3941,7 +3958,7 @@ function ConfirmWallets(_ref) {
3941
3958
  var toAmount = decimalNumber(lastStep == null ? void 0 : lastStep.toAmount, 3);
3942
3959
  return React__default.createElement(SecondaryPage, {
3943
3960
  textField: false,
3944
- title: "Swap",
3961
+ title: "Confirm Swap",
3945
3962
  onBack: onBack,
3946
3963
  Footer: React__default.createElement(Footer$1, null, React__default.createElement(Button, {
3947
3964
  fullWidth: true,
@@ -4019,11 +4036,14 @@ var SwapsGroup = function SwapsGroup(props) {
4019
4036
  var list = props.list,
4020
4037
  onSwapClick = props.onSwapClick;
4021
4038
  var swapsInGroup = groupingOfSwaps(list);
4022
- return React__default.createElement(React__default.Fragment, null, swapsInGroup.map(function (group) {
4023
- return React__default.createElement(Group, null, React__default.createElement(GroupTitle, {
4039
+ return React__default.createElement(React__default.Fragment, null, swapsInGroup.map(function (group, index) {
4040
+ return React__default.createElement(Group, {
4041
+ key: index
4042
+ }, React__default.createElement(GroupTitle, {
4024
4043
  variant: "body2"
4025
- }, group.title), group.swaps.map(function (swap) {
4044
+ }, group.title), group.swaps.map(function (swap, index) {
4026
4045
  return React__default.createElement(SwapDetail, {
4046
+ key: index,
4027
4047
  swap: swap,
4028
4048
  status: swap.status,
4029
4049
  onClick: onSwapClick
@@ -4091,7 +4111,9 @@ function SwapHistory(props) {
4091
4111
  textField: false,
4092
4112
  onBack: onBack,
4093
4113
  Content: React__default.createElement(React__default.Fragment, null, pendingSwap == null ? void 0 : pendingSwap.steps.map(function (step, index) {
4094
- return React__default.createElement(React__default.Fragment, null, index === 0 && React__default.createElement(RelativeContainer$1, null, React__default.createElement(StepDetail, {
4114
+ return React__default.createElement(Fragment, {
4115
+ key: index
4116
+ }, index === 0 && React__default.createElement(RelativeContainer$1, null, React__default.createElement(StepDetail, {
4095
4117
  logo: step.fromLogo,
4096
4118
  symbol: step.fromSymbol,
4097
4119
  chainLogo: step.fromBlockchainLogo,
@@ -4111,7 +4133,9 @@ function SwapHistory(props) {
4111
4133
  display: 'flex'
4112
4134
  }
4113
4135
  }, React__default.createElement(InternalDetailsContainer, null, React__default.createElement(Line$3, null), !!step.explorerUrl && React__default.createElement("div", null, step.explorerUrl.map(function (item, index) {
4114
- return React__default.createElement(InternalDetail, null, React__default.createElement(DescriptionContainer, null, React__default.createElement(CheckCircleIcon, {
4136
+ return React__default.createElement(InternalDetail, {
4137
+ key: index
4138
+ }, React__default.createElement(DescriptionContainer, null, React__default.createElement(CheckCircleIcon, {
4115
4139
  color: "success"
4116
4140
  }), React__default.createElement(Description, {
4117
4141
  variant: "body2"