@0xsquid/ui 0.27.0 → 0.27.1

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 (61) hide show
  1. package/dist/cjs/index.js +962 -792
  2. package/dist/cjs/types/components/badges/IconLabel.d.ts +2 -2
  3. package/dist/cjs/types/components/badges/Image.d.ts +9 -0
  4. package/dist/cjs/types/components/badges/index.d.ts +1 -1
  5. package/dist/cjs/types/components/buttons/IconButton.d.ts +1 -1
  6. package/dist/cjs/types/components/controls/Switch.d.ts +4 -3
  7. package/dist/cjs/types/components/icons/Arrow.d.ts +4 -1
  8. package/dist/cjs/types/components/icons/Clock.d.ts +1 -1
  9. package/dist/cjs/types/components/icons/Coins.d.ts +5 -1
  10. package/dist/cjs/types/components/icons/Generic.d.ts +40 -0
  11. package/dist/cjs/types/components/icons/Search.d.ts +4 -1
  12. package/dist/cjs/types/components/icons/index.d.ts +1 -0
  13. package/dist/cjs/types/components/layout/DropdownMenu.d.ts +6 -3
  14. package/dist/cjs/types/components/layout/Menu.d.ts +2 -2
  15. package/dist/cjs/types/components/lists/DropdownMenuItem.d.ts +17 -2
  16. package/dist/cjs/types/components/lists/DropdownMenuTitle.d.ts +3 -0
  17. package/dist/cjs/types/components/lists/HistoryItem.d.ts +2 -3
  18. package/dist/cjs/types/components/lists/ListItem.d.ts +5 -4
  19. package/dist/cjs/types/components/lists/index.d.ts +1 -0
  20. package/dist/cjs/types/hooks/useDropdownMenu.d.ts +7 -3
  21. package/dist/cjs/types/stories/badges/ImageIcon.stories.d.ts +2 -2
  22. package/dist/cjs/types/stories/layout/DropdownMenu.stories.d.ts +4 -1
  23. package/dist/cjs/types/stories/lists/DropdownMenuItem.stories.d.ts +7 -2
  24. package/dist/cjs/types/stories/lists/DropdownMenuTitle.stories.d.ts +6 -0
  25. package/dist/cjs/types/stories/lists/HistoryItem.stories.d.ts +1 -0
  26. package/dist/cjs/types/types/components.d.ts +2 -2
  27. package/dist/cjs/types/types/index.d.ts +1 -0
  28. package/dist/cjs/types/types/utils.d.ts +11 -0
  29. package/dist/esm/index.js +949 -791
  30. package/dist/esm/types/components/badges/IconLabel.d.ts +2 -2
  31. package/dist/esm/types/components/badges/Image.d.ts +9 -0
  32. package/dist/esm/types/components/badges/index.d.ts +1 -1
  33. package/dist/esm/types/components/buttons/IconButton.d.ts +1 -1
  34. package/dist/esm/types/components/controls/Switch.d.ts +4 -3
  35. package/dist/esm/types/components/icons/Arrow.d.ts +4 -1
  36. package/dist/esm/types/components/icons/Clock.d.ts +1 -1
  37. package/dist/esm/types/components/icons/Coins.d.ts +5 -1
  38. package/dist/esm/types/components/icons/Generic.d.ts +40 -0
  39. package/dist/esm/types/components/icons/Search.d.ts +4 -1
  40. package/dist/esm/types/components/icons/index.d.ts +1 -0
  41. package/dist/esm/types/components/layout/DropdownMenu.d.ts +6 -3
  42. package/dist/esm/types/components/layout/Menu.d.ts +2 -2
  43. package/dist/esm/types/components/lists/DropdownMenuItem.d.ts +17 -2
  44. package/dist/esm/types/components/lists/DropdownMenuTitle.d.ts +3 -0
  45. package/dist/esm/types/components/lists/HistoryItem.d.ts +2 -3
  46. package/dist/esm/types/components/lists/ListItem.d.ts +5 -4
  47. package/dist/esm/types/components/lists/index.d.ts +1 -0
  48. package/dist/esm/types/hooks/useDropdownMenu.d.ts +7 -3
  49. package/dist/esm/types/stories/badges/ImageIcon.stories.d.ts +2 -2
  50. package/dist/esm/types/stories/layout/DropdownMenu.stories.d.ts +4 -1
  51. package/dist/esm/types/stories/lists/DropdownMenuItem.stories.d.ts +7 -2
  52. package/dist/esm/types/stories/lists/DropdownMenuTitle.stories.d.ts +6 -0
  53. package/dist/esm/types/stories/lists/HistoryItem.stories.d.ts +1 -0
  54. package/dist/esm/types/types/components.d.ts +2 -2
  55. package/dist/esm/types/types/index.d.ts +1 -0
  56. package/dist/esm/types/types/utils.d.ts +11 -0
  57. package/dist/index.css +1 -1
  58. package/dist/index.d.ts +818 -728
  59. package/package.json +1 -1
  60. package/dist/cjs/types/components/badges/ImageIcon.d.ts +0 -9
  61. package/dist/esm/types/components/badges/ImageIcon.d.ts +0 -9
package/dist/index.d.ts CHANGED
@@ -57,29 +57,28 @@ type ActionStatus = "pending" | "waiting" | "ongoing" | "executed" | "success" |
57
57
  type TransactionStateVariant = "full" | "compact" | "small";
58
58
  type TokenPairVariant = "horizontal" | "vertical";
59
59
  type TokenPairSize = "small" | "medium";
60
- type ImageIconVariant = "square" | "round" | "proportional";
61
- type ImageIconSize = "small" | "medium" | "large" | "xlarge";
60
+ type ImageVariant = "square" | "round" | "proportional";
61
+ type ImageSize = "small" | "medium" | "large" | "xlarge";
62
62
  type ChainTypeFilter = "source" | "destination";
63
63
  type StatusFilter = "success" | "ongoing" | "error";
64
64
  type AssetsButtonVariant = "primary" | "accent";
65
65
  type PropertyListItemSize = "small" | "large";
66
- type DropdownPosition = "top" | "bottom" | "center";
67
66
 
68
67
  interface IconLabelProps {
69
68
  isLoading?: boolean;
70
69
  src?: string;
71
70
  children?: ReactNode;
72
- variant?: ImageIconVariant;
71
+ variant?: ImageVariant;
73
72
  }
74
73
  declare function IconLabel({ src, children, variant }: IconLabelProps): react_jsx_runtime.JSX.Element;
75
74
 
76
- interface ImageIconProps {
75
+ interface ImageProps {
77
76
  src?: string;
78
- variant?: ImageIconVariant;
79
- size?: ImageIconSize;
77
+ variant?: ImageVariant;
78
+ size?: ImageSize;
80
79
  className?: string;
81
80
  }
82
- declare function ImageIcon({ src, variant, size, className: propsClassName, }: ImageIconProps): react_jsx_runtime.JSX.Element;
81
+ declare function Image({ src, variant, size, className: propsClassName, }: ImageProps): react_jsx_runtime.JSX.Element;
83
82
 
84
83
  declare const LoadingProvider: react.Provider<boolean | null>;
85
84
  interface LoadingSkeletonProps {
@@ -218,8 +217,9 @@ interface SwitchProps {
218
217
  onChange?: (checked: boolean) => void;
219
218
  size: SwitchSize;
220
219
  disabled?: boolean;
220
+ inputProps?: React.ComponentProps<"input">;
221
221
  }
222
- declare function Switch({ checked, onChange, size, disabled, }: SwitchProps): react_jsx_runtime.JSX.Element;
222
+ declare function Switch({ checked, onChange, size, disabled, inputProps, }: SwitchProps): react_jsx_runtime.JSX.Element;
223
223
 
224
224
  interface RangeInputProps {
225
225
  label: string;
@@ -299,7 +299,7 @@ declare function SettingsButton({ label, isSelected, onClick, }: SettingsButtonP
299
299
  interface IconButtonProps extends React.ComponentProps<"button"> {
300
300
  icon: React.ReactNode;
301
301
  }
302
- declare const IconButton: ({ icon, ...props }: IconButtonProps) => react_jsx_runtime.JSX.Element;
302
+ declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
303
303
 
304
304
  declare function Approve(): react_jsx_runtime.JSX.Element;
305
305
 
@@ -325,7 +325,10 @@ declare function ChevronLargeRightIcon({ size, className, }: {
325
325
  size?: string;
326
326
  className?: string;
327
327
  }): react_jsx_runtime.JSX.Element;
328
- declare function ChevronRightSmallIcon(): react_jsx_runtime.JSX.Element;
328
+ declare function ChevronRightSmallIcon({ className, size, }: {
329
+ className?: string;
330
+ size?: string;
331
+ }): react_jsx_runtime.JSX.Element;
329
332
  declare function ArrowLeftIcon({ className, size, }: {
330
333
  className?: string;
331
334
  size?: string;
@@ -412,7 +415,7 @@ declare function Checkmark2Icon({ className, size, style, }: {
412
415
  style?: React.CSSProperties;
413
416
  }): react_jsx_runtime.JSX.Element;
414
417
 
415
- declare function ClockIcon({ className, size, }: {
418
+ declare function ClockSolidIcon({ className, size, }: {
416
419
  className?: string;
417
420
  size?: string;
418
421
  }): react_jsx_runtime.JSX.Element;
@@ -435,7 +438,7 @@ declare function TimeFliesIcon({ size, className, }: {
435
438
 
436
439
  declare function CoinsIcon(): react_jsx_runtime.JSX.Element;
437
440
  declare function CoinsAddIcon(): react_jsx_runtime.JSX.Element;
438
- declare function Dollar({ className, size, }: {
441
+ declare function DollarOutlinedIcon({ className, size, }: {
439
442
  className?: string;
440
443
  size?: string;
441
444
  }): react_jsx_runtime.JSX.Element;
@@ -443,6 +446,10 @@ declare function StocksIcon({ size, className, }: {
443
446
  size?: string;
444
447
  className?: string;
445
448
  }): react_jsx_runtime.JSX.Element;
449
+ declare function DollarSolidIcon({ size, className, }: {
450
+ size?: string;
451
+ className?: string;
452
+ }): react_jsx_runtime.JSX.Element;
446
453
 
447
454
  declare function CollectionIcon(): react_jsx_runtime.JSX.Element;
448
455
 
@@ -599,7 +606,10 @@ declare function PlusIcon(): react_jsx_runtime.JSX.Element;
599
606
 
600
607
  declare function RefreshIcon(): react_jsx_runtime.JSX.Element;
601
608
 
602
- declare function SearchIcon(): react_jsx_runtime.JSX.Element;
609
+ declare function SearchIcon({ className, size, }: {
610
+ className?: string;
611
+ size?: string;
612
+ }): react_jsx_runtime.JSX.Element;
603
613
 
604
614
  declare function XSocial({ className, size, }: {
605
615
  size?: string;
@@ -712,6 +722,47 @@ declare function DockIconAnalytics({ isSelected }: DockIconProps): react_jsx_run
712
722
  declare function DockIconProfile({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
713
723
  declare function DockIconHelp({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
714
724
 
725
+ declare function GhostIcon({ size, className, }: {
726
+ size?: string;
727
+ className?: string;
728
+ }): react_jsx_runtime.JSX.Element;
729
+ declare function SettingsSliderIcon({ size, className, }: {
730
+ size?: string;
731
+ className?: string;
732
+ }): react_jsx_runtime.JSX.Element;
733
+ declare function EyeOpenIcon({ size, className, }: {
734
+ size?: string;
735
+ className?: string;
736
+ }): react_jsx_runtime.JSX.Element;
737
+ declare function BellAlarmIcon({ size, className, }: {
738
+ size?: string;
739
+ className?: string;
740
+ }): react_jsx_runtime.JSX.Element;
741
+ declare function LimitIcon({ size, className, }: {
742
+ size?: string;
743
+ className?: string;
744
+ }): react_jsx_runtime.JSX.Element;
745
+ declare function PoopIcon({ size, className, }: {
746
+ size?: string;
747
+ className?: string;
748
+ }): react_jsx_runtime.JSX.Element;
749
+ declare function CatSquareIcon({ size, className, }: {
750
+ size?: string;
751
+ className?: string;
752
+ }): react_jsx_runtime.JSX.Element;
753
+ declare function FilterAscendingIcon({ size, className, }: {
754
+ size?: string;
755
+ className?: string;
756
+ }): react_jsx_runtime.JSX.Element;
757
+ declare function ImageIcon({ size, className, }: {
758
+ size?: string;
759
+ className?: string;
760
+ }): react_jsx_runtime.JSX.Element;
761
+ declare function FilterTimelineIcon({ size, className, }: {
762
+ size?: string;
763
+ className?: string;
764
+ }): react_jsx_runtime.JSX.Element;
765
+
715
766
  interface Props {
716
767
  lottieJsonFile: object;
717
768
  animReplacement?: JSX.Element;
@@ -1312,903 +1363,957 @@ interface DetailsToolbarProps {
1312
1363
  }
1313
1364
  declare function DetailsToolbar({ errorMessage, helpButton, isLoading, isEmpty, flipButton, feeButton, stopsButton, }: DetailsToolbarProps): react_jsx_runtime.JSX.Element;
1314
1365
 
1315
- interface DropdownMenuItemProps {
1316
- label: string;
1317
- labelClassName?: string;
1318
- imageUrl?: string;
1319
- icon?: React.ReactNode;
1320
- onClick?: () => void;
1321
- link?: string;
1366
+ interface DropdownMenuProps {
1367
+ dropdownRef?: React.RefObject<HTMLDivElement>;
1368
+ menuRef?: React.RefObject<HTMLDivElement>;
1369
+ className?: string;
1370
+ isHidden?: boolean;
1371
+ listClassName?: string;
1372
+ containerClassName?: string;
1373
+ containerRef?: React.RefObject<HTMLDivElement>;
1374
+ children?: React.ReactNode;
1375
+ contentWrapperProps?: React.ComponentProps<"div">;
1376
+ menuContentClassName?: string;
1322
1377
  }
1323
- declare function DropdownMenuItem({ label, imageUrl, icon, labelClassName, onClick, link, }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
1378
+ declare function DropdownMenu({ dropdownRef, className, menuRef, isHidden, listClassName, containerClassName, children, contentWrapperProps, menuContentClassName, }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
1324
1379
 
1325
- interface HistoryItemProps {
1326
- firstImageUrl: string;
1327
- secondImageUrl: string;
1328
- status: HistoryItemStatus;
1329
- fromLabel: string;
1330
- toLabel: string;
1331
- dateCompleted: string;
1332
- fromAmount: string;
1333
- toAmount: string;
1334
- dropdownMenuItems?: DropdownMenuItemProps[];
1335
- itemsContainerRef?: React.RefObject<HTMLElement>;
1336
- onClick?: () => void;
1337
- warningLabel?: string;
1380
+ type ErrorMessageProps = {
1381
+ message: string;
1382
+ showIcon?: boolean;
1383
+ };
1384
+ declare function ErrorMessage({ message, showIcon }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
1385
+
1386
+ interface HashLinkProps {
1387
+ showTx?: boolean;
1388
+ hash: string;
1389
+ children?: ReactNode;
1390
+ showCopyButton?: boolean;
1391
+ url?: string;
1338
1392
  }
1339
- declare function HistoryItem({ firstImageUrl, secondImageUrl, dateCompleted, fromAmount, fromLabel, toAmount, toLabel, dropdownMenuItems: _dropdownMenuItemsProp, itemsContainerRef, status, warningLabel, onClick, }: HistoryItemProps): react_jsx_runtime.JSX.Element;
1393
+ declare function HashLink({ showTx, hash, showCopyButton, url, children, }: HashLinkProps): react_jsx_runtime.JSX.Element;
1340
1394
 
1341
- interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
1342
- itemTitle: string | React.ReactNode;
1343
- mainImageUrl?: string;
1344
- secondaryImageUrl?: string;
1345
- placeholderImageUrl?: string;
1346
- subtitle?: string;
1347
- subtitleOnHover?: React.ReactNode;
1348
- detail?: string;
1395
+ interface InfoBoxProps {
1396
+ title: string;
1397
+ description: string;
1349
1398
  icon?: React.ReactNode;
1350
- size?: ListItemSize;
1351
- mainIcon?: React.ReactNode;
1352
- isSelected?: boolean;
1353
- className?: string;
1354
- onDetailClick?: () => void;
1355
- showDetailOnHoverOnly?: boolean;
1356
- rounded?: boolean;
1357
- detailButtonClassName?: string;
1358
- loading?: {
1359
- subtitle?: boolean | string;
1360
- };
1361
- containerProps?: React.HTMLAttributes<HTMLLIElement>;
1362
- compactOnMobile?: boolean;
1363
- extraPadding?: boolean;
1364
- dropdownMenuItems?: DropdownMenuItemProps[];
1365
- itemsContainerRef?: React.RefObject<HTMLElement>;
1366
1399
  }
1367
- type ListItemSize = "small" | "large";
1368
- declare function ListItem({ itemTitle, mainImageUrl, subtitle, subtitleOnHover, detail, icon, secondaryImageUrl, placeholderImageUrl, size, mainIcon, className, isSelected, onDetailClick, showDetailOnHoverOnly, rounded, detailButtonClassName, loading, containerProps, compactOnMobile, extraPadding, itemsContainerRef, dropdownMenuItems: _dropdownMenuItemsProp, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
1369
- declare const ListItemActionsButton: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
1400
+ declare function InfoBox({ title, description, icon }: InfoBoxProps): react_jsx_runtime.JSX.Element;
1370
1401
 
1371
- interface MenuItemProps {
1372
- label: string;
1373
- imageUrl?: string;
1374
- icon?: React.ReactNode;
1402
+ interface JoinProps {
1403
+ children?: ReactNode;
1404
+ glue: () => ReactNode;
1375
1405
  }
1376
- declare function MenuItem({ label, imageUrl, icon }: MenuItemProps): react_jsx_runtime.JSX.Element;
1406
+ declare function Join({ children, glue }: JoinProps): react_jsx_runtime.JSX.Element[] | null | undefined;
1377
1407
 
1378
- interface PropertyListItemProps extends ComponentProps<"li"> {
1379
- isLoading?: boolean;
1380
- label?: React.ReactNode;
1381
- icon?: React.ReactNode;
1382
- detail?: React.ReactNode;
1383
- variant?: PropertyListItemSize;
1384
- showGradientBg?: boolean;
1385
- labelClassName?: string;
1386
- iconClassName?: string;
1387
- detailClassName?: string;
1408
+ type Rounded = "sm" | "lg";
1409
+ interface MenuProps extends react__default.ComponentProps<"div"> {
1410
+ containerClassName?: string;
1411
+ contentClassName?: string;
1412
+ rounded?: Rounded;
1413
+ menuRef?: react__default.RefObject<HTMLDivElement>;
1414
+ contentWrapperProps?: react__default.ComponentProps<"div">;
1388
1415
  }
1389
- declare function PropertyListItem({ isLoading, label, detail, icon, className, variant, showGradientBg, labelClassName, iconClassName, detailClassName, ...props }: PropertyListItemProps): react_jsx_runtime.JSX.Element;
1416
+ declare function Menu({ children, containerClassName, contentClassName, rounded, menuRef, contentWrapperProps, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
1390
1417
 
1391
- interface SectionTitleProps extends React.HTMLAttributes<HTMLDivElement> {
1392
- title: string;
1393
- icon?: React.ReactNode;
1394
- accessory?: string | null;
1395
- actionIcon?: React.ReactNode;
1418
+ type ModalWidth = "large" | "extra-large";
1419
+ interface ModalProps {
1420
+ children: React.ReactNode;
1396
1421
  className?: string;
1422
+ onBackdropClick?: () => void;
1423
+ isOpen?: boolean;
1424
+ maxHeight?: boolean;
1425
+ width?: ModalWidth;
1397
1426
  }
1398
- declare function SectionTitle({ title, icon, accessory, actionIcon, className, ...props }: SectionTitleProps): react_jsx_runtime.JSX.Element;
1427
+ declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, maxHeight, width, }: ModalProps): false | react_jsx_runtime.JSX.Element;
1399
1428
 
1400
- type SettingsControl = {
1401
- type: "percentage";
1402
- value: number | undefined;
1403
- onChange: (value: number | undefined) => void;
1404
- min?: number;
1405
- max?: number;
1406
- decimalsFormat?: number;
1407
- resetValueControl: {
1408
- label: string;
1409
- onSelect: () => void;
1410
- value: number | undefined;
1411
- };
1412
- } | {
1413
- type: "amount";
1414
- value: number | undefined;
1415
- onChange: (value: number | undefined) => void;
1416
- options: {
1417
- value: number;
1418
- }[];
1419
- decimalsFormat?: number;
1420
- resetValueControl: {
1421
- label: string;
1422
- value: number | undefined;
1423
- };
1424
- } | {
1425
- type: "switch";
1426
- checked: boolean;
1427
- onChange: (checked: boolean) => void;
1429
+ type ModalContentBorderType = "border" | "outline";
1430
+ interface ModalContentProps extends React.HTMLAttributes<HTMLDivElement> {
1431
+ children?: React.ReactNode;
1432
+ addGap?: boolean;
1433
+ paddingY?: boolean;
1434
+ borderType?: ModalContentBorderType;
1435
+ className?: string;
1436
+ }
1437
+ declare function ModalContent({ children, addGap, paddingY, borderType, className, ...props }: ModalContentProps): react_jsx_runtime.JSX.Element;
1438
+ declare function ModalContentDivider(): react_jsx_runtime.JSX.Element;
1439
+
1440
+ type ActionButton = {
1441
+ labelOrIcon: string | React.ReactNode;
1442
+ onClick?: () => void;
1443
+ id: React.Key;
1428
1444
  tooltip?: Omit<TooltipProps, "children">;
1429
- disabled?: boolean;
1430
- } | {
1431
- type: "options";
1432
- selectedLabel: string;
1433
- options: {
1434
- label: string;
1435
- onSelect: () => void;
1436
- }[];
1445
+ chip?: ChipProps;
1437
1446
  };
1438
- interface SettingsItemProps {
1439
- icon: React.ReactNode;
1440
- label: string;
1441
- control?: SettingsControl;
1442
- link?: string;
1447
+ interface NavigationBarProps extends React.ComponentProps<"nav"> {
1448
+ title?: string;
1449
+ displayBackButton?: boolean;
1450
+ logoUrl?: string;
1443
1451
  transparent?: boolean;
1444
- helpTooltip?: Omit<TooltipProps, "children">;
1452
+ displayButtonShadows?: boolean;
1453
+ onBackButtonClick?: () => void;
1454
+ actions?: ActionButton[];
1455
+ isLoading?: boolean;
1445
1456
  }
1446
- declare function SettingsItem({ icon, label, control, link, transparent, helpTooltip, }: SettingsItemProps): react_jsx_runtime.JSX.Element;
1457
+ declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, actions, isLoading, ...props }: NavigationBarProps): react_jsx_runtime.JSX.Element;
1447
1458
 
1448
- interface SwapStepItemProps {
1449
- descriptionBlocks: DescriptionBlock[];
1450
- showStepSeparator?: boolean;
1451
- link?: string;
1452
- status?: ActionStatus;
1453
- }
1454
- declare const STEP_ITEM_HEIGHT = 52;
1455
- declare function SwapStepItem({ descriptionBlocks, showStepSeparator, link, status, }: SwapStepItemProps): react_jsx_runtime.JSX.Element;
1459
+ declare function PipeSeparator({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1456
1460
 
1457
- interface ActionLayoutProps {
1458
- lineCap?: ReactNode;
1459
- status?: ActionStatus;
1460
- showTimeline?: boolean;
1461
- statusIcon?: ReactNode;
1462
- nextStatus?: ActionStatus;
1463
- description?: ReactNode;
1464
- title?: string;
1465
- icon?: ReactNode;
1466
- children?: ReactNode;
1467
- showBody?: boolean;
1461
+ interface CollapsibleMenuProps {
1462
+ menuRef: React.MutableRefObject<HTMLDivElement | null>;
1463
+ size: {
1464
+ open: {
1465
+ width: string;
1466
+ height: string;
1467
+ };
1468
+ closed: {
1469
+ width: string;
1470
+ height: string;
1471
+ };
1472
+ };
1473
+ children?: React.ReactNode;
1474
+ isOpen?: boolean;
1475
+ transitionDuration?: React.CSSProperties["transitionDuration"];
1476
+ className?: string;
1468
1477
  }
1469
- declare function ActionLayout({ lineCap, status, showTimeline, showBody, nextStatus, statusIcon, description, title, icon, children, }: ActionLayoutProps): react_jsx_runtime.JSX.Element;
1470
- interface ActionPropertiesProps {
1471
- timestamp?: number;
1472
- hash?: string;
1473
- url?: string;
1474
- }
1475
- declare function ActionProperties({ timestamp, hash, url, }: ActionPropertiesProps): react_jsx_runtime.JSX.Element;
1476
- declare const ActionLineOutRow: ({ status }: {
1477
- status?: ActionStatus;
1478
- }) => react_jsx_runtime.JSX.Element;
1479
- declare const ActionStatusRow: ({ children, status, icon, }: {
1480
- children?: ReactNode;
1481
- status: ActionStatus;
1482
- icon?: ReactNode;
1483
- }) => react_jsx_runtime.JSX.Element;
1484
- declare function ActionRow({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1485
- declare function ActionWrapper({ children, status, className, }: {
1486
- children?: ReactNode;
1487
- status?: ActionStatus;
1478
+ declare function CollapsibleMenu({ children, menuRef, isOpen, transitionDuration, size, className, }: CollapsibleMenuProps): react_jsx_runtime.JSX.Element;
1479
+
1480
+ declare function ProductCard({ children }: React.PropsWithChildren): react_jsx_runtime.JSX.Element;
1481
+ declare function BorderedContainer({ children, className, }: {
1482
+ children: React.ReactNode;
1488
1483
  className?: string;
1489
1484
  }): react_jsx_runtime.JSX.Element;
1490
- interface TimestampProps {
1491
- time: number;
1492
- }
1493
- declare function Timestamp({ time }: TimestampProps): react_jsx_runtime.JSX.Element;
1494
1485
 
1495
- interface BaseActionProps {
1496
- status: ActionStatus;
1497
- /** if set, renders a line upwards to the next item in the status color */
1498
- nextStatus?: ActionStatus;
1499
- /** should we render a line down to the previous item? (default true) */
1500
- showTimeline?: boolean;
1501
- /** if false, fades out everything but the status line (for collapsed timeline state) */
1502
- showBody?: boolean;
1503
- }
1486
+ declare function ProfileHeaderBackground(): react_jsx_runtime.JSX.Element;
1504
1487
 
1505
- interface ApproveActionProps extends BaseActionProps {
1506
- profile: {
1507
- imageURI: string;
1508
- label: string;
1488
+ interface SwapConfigurationProps {
1489
+ direction: SwapDirection;
1490
+ priceImpactPercentage?: string;
1491
+ amount?: string;
1492
+ tokenPrice?: number;
1493
+ balance?: string;
1494
+ isFetching?: boolean;
1495
+ chain?: {
1496
+ iconUrl: string;
1497
+ bgColor: string;
1509
1498
  };
1510
- chain: {
1511
- logoURI: string;
1512
- name: string;
1499
+ token?: {
1500
+ iconUrl: string;
1501
+ symbol: string;
1502
+ bgColor: string;
1503
+ textColor: string;
1504
+ decimals: number;
1513
1505
  };
1514
- wallet: {
1515
- imageURI: string;
1516
- address: string;
1517
- url: string;
1506
+ onAmountChange?: (amount: string) => void;
1507
+ error?: {
1508
+ message: string;
1509
+ };
1510
+ criticalPriceImpactPercentage?: number;
1511
+ maxUsdDecimals?: number;
1512
+ isInputInteractive?: boolean;
1513
+ isLoading?: boolean;
1514
+ inputModeButton?: {
1515
+ usdModeTooltip?: Omit<TooltipProps, "children">;
1516
+ tokenModeTooltip?: Omit<TooltipProps, "children">;
1517
+ amountUsd?: string;
1518
+ };
1519
+ balanceButton?: {
1520
+ tooltip?: Omit<TooltipProps, "children">;
1521
+ };
1522
+ assetsButton?: {
1523
+ tooltip?: Omit<TooltipProps, "children">;
1524
+ onClick?: () => void;
1525
+ variant?: AssetsButtonVariant;
1526
+ };
1527
+ walletButton?: {
1528
+ tooltip?: Omit<TooltipProps, "children">;
1529
+ onClick?: () => void;
1530
+ address?: string;
1531
+ emptyAddressLabel?: string;
1532
+ disabled?: boolean;
1518
1533
  };
1519
- timestamp?: number;
1520
- hash?: string;
1521
- url?: string;
1522
1534
  }
1523
- declare function ApproveAction({ status, nextStatus, showTimeline, showBody, profile, chain, wallet, timestamp, hash, url, }: ApproveActionProps): react_jsx_runtime.JSX.Element;
1535
+ declare function SwapConfiguration({ amount, tokenPrice, isFetching: isFetchingProp, chain, token, direction, onAmountChange, balance, criticalPriceImpactPercentage, error, priceImpactPercentage, maxUsdDecimals, isInputInteractive, isLoading, inputModeButton, balanceButton, assetsButton, walletButton, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;
1524
1536
 
1525
- interface BridgeActionProps extends BaseActionProps {
1526
- token: {
1527
- logoURI: string;
1528
- symbol: string;
1529
- };
1530
- chain: {
1537
+ interface SwapProgressViewHeaderProps {
1538
+ title: string;
1539
+ description: string;
1540
+ }
1541
+ declare function SwapProgressViewHeader({ title, description, }: SwapProgressViewHeaderProps): react_jsx_runtime.JSX.Element;
1542
+
1543
+ type SwapStepsCollapsedFooterButton = {
1544
+ label: string;
1545
+ link?: string;
1546
+ onClick?: () => void;
1547
+ };
1548
+ interface SwapStepsCollapsedProps {
1549
+ steps: SwapStep[];
1550
+ currentStepIndex: number;
1551
+ onOpen?: () => void;
1552
+ onClose?: () => void;
1553
+ footerButton?: SwapStepsCollapsedFooterButton;
1554
+ }
1555
+ declare const SwapStepsCollapsed: react.ForwardRefExoticComponent<SwapStepsCollapsedProps & react.RefAttributes<{
1556
+ handleToggleRouteSteps: () => void;
1557
+ }>>;
1558
+
1559
+ interface TokenPairProps {
1560
+ firstToken?: {
1531
1561
  logoURI: string;
1532
- name: string;
1562
+ bgColor: string;
1533
1563
  };
1534
- provider: {
1564
+ secondToken?: {
1535
1565
  logoURI: string;
1536
- name: string;
1566
+ bgColor: string;
1537
1567
  };
1538
- timestamp?: number;
1539
- hash?: string;
1540
- url?: string;
1568
+ variant?: TokenPairVariant;
1569
+ size?: TokenPairSize;
1541
1570
  }
1542
- declare function BridgeAction({ status, nextStatus, showTimeline, showBody, token, chain, provider, timestamp, hash, url, }: BridgeActionProps): react_jsx_runtime.JSX.Element;
1571
+ declare function TokenPair({ firstToken, secondToken, variant, size, }: TokenPairProps): react_jsx_runtime.JSX.Element;
1543
1572
 
1544
- interface FeesActionProps extends BaseActionProps {
1545
- total: FeesRowProps;
1546
- lines?: FeesRowProps[];
1573
+ interface TransactionFiltersProps {
1574
+ chainType?: ChainTypeFilter;
1575
+ setChainType: (chainType: ChainTypeFilter) => void;
1576
+ chain?: string;
1577
+ setChain: (chain?: string) => void;
1578
+ fromDate?: Date;
1579
+ setFromDate: (fromDate?: Date) => void;
1580
+ toDate?: Date;
1581
+ setToDate: (toDate?: Date) => void;
1582
+ status?: StatusFilter[];
1583
+ setStatus: (status?: StatusFilter[]) => void;
1584
+ chains: {
1585
+ name: string;
1586
+ logoURI: string;
1587
+ }[];
1547
1588
  }
1548
- declare function FeesAction({ status, nextStatus, showTimeline, total, lines, }: FeesActionProps): react_jsx_runtime.JSX.Element;
1549
- interface FeesTotalProps {
1589
+ declare function TransactionFilters({ chainType, setChainType, chain, setChain, fromDate, setFromDate, toDate, setToDate, status, setStatus, chains, }: TransactionFiltersProps): react_jsx_runtime.JSX.Element;
1590
+
1591
+ interface BridgeHeaderProps {
1592
+ tokenLogoURI: string;
1593
+ chainLogoURI: string;
1594
+ title?: string;
1595
+ hash: string;
1596
+ url?: string;
1550
1597
  status: ActionStatus;
1551
- nextStatus?: ActionStatus;
1552
- total: FeesRowProps;
1553
- showTimeline?: boolean;
1554
- collapsed?: boolean;
1555
1598
  }
1556
- declare function FeesTotal({ status, nextStatus, total, showTimeline, collapsed, }: FeesTotalProps): react_jsx_runtime.JSX.Element;
1557
- interface FeesLinesProps {
1599
+ declare function BridgeHeader({ tokenLogoURI, chainLogoURI, title, hash, url, status, }: BridgeHeaderProps): react_jsx_runtime.JSX.Element;
1600
+
1601
+ interface BuyNFTHeaderProps {
1602
+ imageUrl: string;
1603
+ title?: string;
1604
+ hash: string;
1605
+ url?: string;
1558
1606
  status: ActionStatus;
1559
- lines?: FeesRowProps[];
1560
- showTimeline?: boolean;
1561
- }
1562
- declare function FeesLines({ status, lines, showTimeline, }: FeesLinesProps): react_jsx_runtime.JSX.Element;
1563
- interface FeesRowProps {
1564
- label: string;
1565
- amount: number | string;
1566
- symbol: string;
1567
- usd: number | string;
1568
- collapsed?: boolean;
1569
1607
  }
1608
+ declare function BuyNFTHeader({ imageUrl, title, hash, url, status, }: BuyNFTHeaderProps): react_jsx_runtime.JSX.Element;
1570
1609
 
1571
- interface IncompleteActionProps extends BaseActionProps {
1572
- message: string;
1573
- buttons: ReactNode;
1610
+ interface InteractionHeaderProps {
1611
+ title?: string;
1612
+ image?: ReactNode;
1613
+ hash: string;
1614
+ url?: string;
1615
+ status: ActionStatus;
1574
1616
  }
1575
- declare function IncompleteAction({ status, nextStatus, message, buttons, }: IncompleteActionProps): react_jsx_runtime.JSX.Element;
1617
+ declare function InteractionHeader({ title, image, hash, url, status, }: InteractionHeaderProps): react_jsx_runtime.JSX.Element;
1576
1618
 
1577
- interface ReceiveNFTActionProps extends BaseActionProps {
1578
- nft: {
1579
- imageURI: string;
1580
- name: string;
1581
- };
1582
- chain: {
1583
- logoURI: string;
1584
- name: string;
1585
- };
1619
+ interface ProfileHeaderProps {
1620
+ imageUrl: string;
1621
+ title: string;
1586
1622
  wallet: {
1587
1623
  imageURI: string;
1588
1624
  address: string;
1589
- url: string;
1590
1625
  };
1591
- timestamp: number;
1592
- hash: string;
1593
- url: string;
1626
+ amount: string;
1594
1627
  }
1595
- declare function ReceiveNFTAction({ status, nextStatus, showTimeline, showBody, nft, chain, wallet, timestamp, hash, url, }: ReceiveNFTActionProps): react_jsx_runtime.JSX.Element;
1628
+ declare function ProfileHeader({ imageUrl, title, wallet, amount, }: ProfileHeaderProps): react_jsx_runtime.JSX.Element;
1596
1629
 
1597
- interface ReceiveTokensActionProps extends BaseActionProps {
1598
- amount: string;
1599
- token: {
1630
+ interface SwapHeaderProps {
1631
+ fromToken: {
1600
1632
  logoURI: string;
1601
- symbol: string;
1633
+ bgColor: string;
1602
1634
  };
1603
- chain: {
1635
+ toToken: {
1604
1636
  logoURI: string;
1605
- name: string;
1606
- };
1607
- wallet: {
1608
- imageURI: string;
1609
- address: string;
1610
- url: string;
1637
+ bgColor: string;
1611
1638
  };
1612
- timestamp: number;
1639
+ title?: string;
1613
1640
  hash: string;
1614
- url: string;
1641
+ url?: string;
1642
+ status: ActionStatus;
1615
1643
  }
1616
- declare function ReceiveTokensAction({ status, nextStatus, showTimeline, showBody, token, amount, chain, wallet, timestamp, hash, url, }: ReceiveTokensActionProps): react_jsx_runtime.JSX.Element;
1644
+ declare function SwapHeader({ fromToken, toToken, title, hash, url, status, }: SwapHeaderProps): react_jsx_runtime.JSX.Element;
1617
1645
 
1618
- interface SendTokensActionProps extends BaseActionProps {
1619
- amount: string;
1620
- token: {
1621
- logoURI: string;
1622
- symbol: string;
1623
- };
1624
- chain: {
1625
- logoURI: string;
1626
- name: string;
1627
- };
1628
- wallet: {
1629
- imageURI: string;
1630
- address: string;
1631
- url: string;
1646
+ declare const headerComponentsMap: {
1647
+ readonly swap: typeof SwapHeader;
1648
+ readonly buy_nft: typeof BuyNFTHeader;
1649
+ readonly interaction: typeof InteractionHeader;
1650
+ readonly bridge: typeof BridgeHeader;
1651
+ readonly profile: typeof ProfileHeader;
1652
+ };
1653
+ type TransactionHeaderComponents = typeof headerComponentsMap;
1654
+ type TransactionHeaderType = keyof TransactionHeaderComponents;
1655
+ type TransactionHeaderProps = {
1656
+ [Type in TransactionHeaderType]: {
1657
+ type: Type;
1658
+ props: ComponentProps<TransactionHeaderComponents[Type]>;
1632
1659
  };
1633
- timestamp: number;
1634
- hash: string;
1635
- url: string;
1660
+ }[TransactionHeaderType];
1661
+ declare function TransactionHeader({ type, props }: TransactionHeaderProps): react_jsx_runtime.JSX.Element;
1662
+
1663
+ interface TransactionHeaderLayoutProps {
1664
+ isLoading?: boolean;
1665
+ status?: ActionStatus;
1666
+ title?: string;
1667
+ image?: ReactNode;
1668
+ children?: ReactNode;
1636
1669
  }
1637
- declare function SendTokensAction({ status, nextStatus, showTimeline, showBody, token, amount, chain, wallet, timestamp, hash, url, }: SendTokensActionProps): react_jsx_runtime.JSX.Element;
1670
+ declare function TransactionHeaderLayout({ isLoading, status, title, image, children, }: TransactionHeaderLayoutProps): react_jsx_runtime.JSX.Element;
1638
1671
 
1639
- interface StakeActionProps extends BaseActionProps {
1672
+ interface BridgePropertiesProps {
1673
+ amount: string;
1640
1674
  token: {
1641
1675
  logoURI: string;
1676
+ bgColor: string;
1642
1677
  symbol: string;
1643
1678
  };
1644
- provider: {
1679
+ fromChain: {
1645
1680
  logoURI: string;
1646
1681
  name: string;
1647
1682
  };
1648
- timestamp: number;
1649
- hash: string;
1650
- url: string;
1651
- }
1652
- declare function StakeAction({ status, nextStatus, showTimeline, showBody, token, provider, timestamp, hash, url, }: StakeActionProps): react_jsx_runtime.JSX.Element;
1653
-
1654
- interface StartActionProps extends BaseActionProps {
1655
- timestamp?: number;
1656
- hash?: string;
1657
- url?: string;
1658
- }
1659
- declare function StartAction({ status, nextStatus, showTimeline, showBody, timestamp, hash, url, }: StartActionProps): react_jsx_runtime.JSX.Element;
1660
-
1661
- interface SuccessActionProps extends BaseActionProps {
1662
- description?: string;
1663
- timestamp?: number;
1664
- hash?: string;
1665
- url?: string;
1683
+ toChain: {
1684
+ logoURI: string;
1685
+ name: string;
1686
+ };
1687
+ wallet: string;
1688
+ boosted?: boolean;
1689
+ timeToComplete: string;
1666
1690
  }
1667
- declare function SuccessAction({ nextStatus, status, description, showTimeline, showBody, timestamp, hash, url, }: SuccessActionProps): react_jsx_runtime.JSX.Element;
1691
+ declare function BridgeProperties({ amount, token, fromChain, toChain, wallet, boosted, timeToComplete, }: BridgePropertiesProps): react_jsx_runtime.JSX.Element;
1668
1692
 
1669
- interface SwapActionProps extends BaseActionProps {
1670
- fromToken: {
1693
+ interface BuyNFTPropertiesProps {
1694
+ title: string;
1695
+ imageURI: string;
1696
+ collection: {
1697
+ imageURI: string;
1698
+ name: string;
1699
+ };
1700
+ price: string;
1701
+ token: {
1671
1702
  logoURI: string;
1672
1703
  symbol: string;
1673
1704
  };
1674
- toToken: {
1705
+ marketplace: {
1675
1706
  logoURI: string;
1676
- symbol: string;
1707
+ name: string;
1677
1708
  };
1678
- provider: {
1709
+ fromChain: {
1679
1710
  logoURI: string;
1680
1711
  name: string;
1681
1712
  };
1682
- timestamp?: number;
1683
- hash?: string;
1684
- url?: string;
1713
+ toChain: {
1714
+ logoURI: string;
1715
+ name: string;
1716
+ };
1717
+ fromAddress: string;
1718
+ toAddress: string;
1719
+ boosted?: boolean;
1720
+ timeToComplete: string;
1721
+ tokenId: string;
1722
+ nftType: string;
1685
1723
  }
1686
- declare function SwapAction({ status, nextStatus, showTimeline, showBody, fromToken, toToken, provider, timestamp, hash, url, }: SwapActionProps): react_jsx_runtime.JSX.Element;
1724
+ declare function BuyNFTProperties({ title, imageURI, collection, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, tokenId, nftType, }: BuyNFTPropertiesProps): react_jsx_runtime.JSX.Element;
1687
1725
 
1688
- interface WrapActionProps extends BaseActionProps {
1726
+ interface InteractionPropertiesProps {
1727
+ chain: {
1728
+ logoURI: string;
1729
+ name: string;
1730
+ };
1731
+ wallet: string;
1732
+ boosted?: boolean;
1733
+ timeToComplete: string;
1734
+ }
1735
+ declare function InteractionProperties({ chain, wallet, boosted, timeToComplete, }: InteractionPropertiesProps): react_jsx_runtime.JSX.Element;
1736
+
1737
+ interface PropertiesLayoutProps {
1738
+ children?: ReactNode;
1739
+ className?: string;
1740
+ }
1741
+ declare function PropertiesLayout({ children, className, }: PropertiesLayoutProps): react_jsx_runtime.JSX.Element;
1742
+
1743
+ interface SwapPropertiesProps {
1744
+ fromAmount: string;
1689
1745
  fromToken: {
1690
1746
  logoURI: string;
1747
+ bgColor: string;
1691
1748
  symbol: string;
1692
1749
  };
1750
+ toAmount: string;
1693
1751
  toToken: {
1694
1752
  logoURI: string;
1753
+ bgColor: string;
1695
1754
  symbol: string;
1696
1755
  };
1697
- provider: {
1756
+ fromChain: {
1698
1757
  logoURI: string;
1699
1758
  name: string;
1700
1759
  };
1701
- timestamp?: number;
1702
- hash?: string;
1703
- url?: string;
1760
+ toChain: {
1761
+ logoURI: string;
1762
+ name: string;
1763
+ };
1764
+ fromAddress: string;
1765
+ toAddress: string;
1766
+ exchangeRate: string;
1767
+ boosted?: boolean;
1768
+ timeToComplete: string;
1704
1769
  }
1705
- declare function WrapAction({ status, nextStatus, showTimeline, showBody, fromToken, toToken, provider, timestamp, hash, url, }: WrapActionProps): react_jsx_runtime.JSX.Element;
1770
+ declare function SwapProperties({ fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, boosted, timeToComplete, }: SwapPropertiesProps): react_jsx_runtime.JSX.Element;
1706
1771
 
1707
- declare const actionComponentMap: {
1708
- readonly success: typeof SuccessAction;
1709
- readonly receive_tokens: typeof ReceiveTokensAction;
1710
- readonly receive_nft: typeof ReceiveNFTAction;
1711
- readonly approve: typeof ApproveAction;
1712
- readonly send_tokens: typeof SendTokensAction;
1713
- readonly swap: typeof SwapAction;
1714
- readonly bridge: typeof BridgeAction;
1715
- readonly wrap: typeof WrapAction;
1716
- readonly stake: typeof StakeAction;
1717
- readonly start: typeof StartAction;
1718
- readonly fees: typeof FeesAction;
1719
- readonly incomplete: typeof IncompleteAction;
1772
+ declare const propertiesComponentsMap: {
1773
+ readonly swap: typeof SwapProperties;
1774
+ readonly buy_nft: typeof BuyNFTProperties;
1775
+ readonly interaction: typeof InteractionProperties;
1776
+ readonly bridge: typeof BridgeProperties;
1720
1777
  };
1721
- type TransactionActionComponents = typeof actionComponentMap;
1722
- type TransactionActionType = keyof TransactionActionComponents;
1723
- type TransactionActionProps = {
1724
- [Type in TransactionActionType]: {
1778
+ type TransactionPropertiesComponents = typeof propertiesComponentsMap;
1779
+ type TransactionPropertiesType = keyof TransactionPropertiesComponents;
1780
+ type TransactionPropertiesProps = {
1781
+ [Type in TransactionPropertiesType]: {
1725
1782
  type: Type;
1726
- props: ComponentProps<TransactionActionComponents[Type]>;
1783
+ props: ComponentProps<TransactionPropertiesComponents[Type]>;
1727
1784
  };
1728
- }[TransactionActionType];
1729
- declare function TransactionAction({ type, props }: TransactionActionProps): react_jsx_runtime.JSX.Element;
1730
-
1731
- declare function linkActionTimelineProps(actions: TransactionActionProps[], collapsed: boolean): TransactionActionProps[];
1785
+ }[TransactionPropertiesType];
1786
+ declare function TransactionProperties({ type, props, }: TransactionPropertiesProps): react_jsx_runtime.JSX.Element;
1732
1787
 
1733
- type TransactionItemVariant = "compact" | "full";
1734
- type TransactionItemType = {
1735
- icon?: ReactNode;
1736
- name: string;
1737
- };
1738
- interface TransactionItemProps {
1788
+ interface TransactionSearchProps {
1789
+ query: string;
1790
+ setQuery: (query: string) => void;
1791
+ children?: ReactNode;
1739
1792
  className?: string;
1740
- isLoading?: boolean;
1741
- status?: ActionStatus;
1742
- image?: ReactNode;
1743
- type?: TransactionItemType;
1744
- hash?: string;
1745
- fromChain?: {
1746
- logoURI: string;
1747
- name: string;
1748
- };
1749
- toChain?: {
1750
- logoURI: string;
1751
- name: string;
1752
- };
1753
- fromAmount?: string;
1754
- toAmount?: string;
1755
- timestamp?: number;
1756
- variant?: TransactionItemVariant;
1757
- }
1758
- declare function TransactionItem({ className, isLoading, status, image, type, hash, fromChain, toChain, fromAmount, toAmount, timestamp, variant, }: TransactionItemProps): react_jsx_runtime.JSX.Element;
1759
-
1760
- interface RouteStepProps {
1761
- imageUrl: string;
1762
- descriptionBlocks: DescriptionBlock[];
1763
- subtitle: string;
1764
- showStepSeparator?: boolean;
1793
+ onFocus?: () => void;
1794
+ onBlur?: () => void;
1765
1795
  }
1766
- declare function RouteStep({ imageUrl, descriptionBlocks, subtitle, showStepSeparator, }: RouteStepProps): react_jsx_runtime.JSX.Element;
1796
+ declare function TransactionSearch({ query, setQuery, children, className, onFocus, onBlur, }: TransactionSearchProps): react_jsx_runtime.JSX.Element;
1767
1797
 
1768
- interface DropdownMenuProps {
1769
- dropdownRef?: React.RefObject<HTMLDivElement>;
1770
- menuRef?: React.RefObject<HTMLDivElement>;
1771
- items: DropdownMenuItemProps[];
1798
+ interface FromToProps {
1799
+ isLoading?: boolean;
1800
+ from?: ReactNode;
1801
+ to?: ReactNode;
1772
1802
  className?: string;
1773
- isHidden?: boolean;
1774
- listClassName?: string;
1775
- }
1776
- declare function DropdownMenu({ dropdownRef, items, className, menuRef, isHidden, listClassName, }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
1777
-
1778
- type ErrorMessageProps = {
1779
- message: string;
1780
- showIcon?: boolean;
1781
- };
1782
- declare function ErrorMessage({ message, showIcon }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
1783
-
1784
- interface HashLinkProps {
1785
- showTx?: boolean;
1786
- hash: string;
1787
- children?: ReactNode;
1788
- showCopyButton?: boolean;
1789
- url?: string;
1790
1803
  }
1791
- declare function HashLink({ showTx, hash, showCopyButton, url, children, }: HashLinkProps): react_jsx_runtime.JSX.Element;
1804
+ declare function Transfer({ isLoading, from, to, className }: FromToProps): react_jsx_runtime.JSX.Element;
1792
1805
 
1793
- interface InfoBoxProps {
1806
+ interface ToastProps {
1794
1807
  title: string;
1795
1808
  description: string;
1796
- icon?: React.ReactNode;
1797
- }
1798
- declare function InfoBox({ title, description, icon }: InfoBoxProps): react_jsx_runtime.JSX.Element;
1799
-
1800
- interface JoinProps {
1801
- children?: ReactNode;
1802
- glue: () => ReactNode;
1803
- }
1804
- declare function Join({ children, glue }: JoinProps): react_jsx_runtime.JSX.Element[] | null | undefined;
1805
-
1806
- type Rounded = "sm" | "lg";
1807
- interface MenuProps extends react__default.ComponentProps<"div"> {
1808
- containerClassName?: string;
1809
- contentClassName?: string;
1810
- rounded?: Rounded;
1811
- menuRef?: react__default.RefObject<HTMLDivElement>;
1812
- contentWrapperClassName?: string;
1809
+ headerContent?: React.ReactNode;
1810
+ actionsContent?: React.ReactNode;
1811
+ chipLabel?: string;
1813
1812
  }
1814
- declare function Menu({ children, containerClassName, contentClassName, rounded, menuRef, contentWrapperClassName, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
1813
+ declare function Toast({ headerContent, actionsContent, description, chipLabel, title, }: ToastProps): react_jsx_runtime.JSX.Element;
1815
1814
 
1816
- type ModalWidth = "large" | "extra-large";
1817
- interface ModalProps {
1818
- children: React.ReactNode;
1819
- className?: string;
1820
- onBackdropClick?: () => void;
1821
- isOpen?: boolean;
1822
- maxHeight?: boolean;
1823
- width?: ModalWidth;
1824
- }
1825
- declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, maxHeight, width, }: ModalProps): false | react_jsx_runtime.JSX.Element;
1815
+ type SquidTheme = {
1816
+ "content-100": string;
1817
+ "content-200": string;
1818
+ "content-300": string;
1819
+ "content-400": string;
1820
+ "content-500": string;
1821
+ "content-600": string;
1822
+ "content-700": string;
1823
+ "content-800": string;
1824
+ "content-900": string;
1825
+ "accent-300": string;
1826
+ "accent-400": string;
1827
+ "accent-500": string;
1828
+ "accent-700": string;
1829
+ "status-positive": string;
1830
+ "status-negative": string;
1831
+ "status-warning": string;
1832
+ "highlight-700": string;
1833
+ };
1826
1834
 
1827
- type ModalContentBorderType = "border" | "outline";
1828
- interface ModalContentProps extends React.HTMLAttributes<HTMLDivElement> {
1835
+ /**
1836
+ * Utility type to allow for a type to be either all of the properties of another type, or none of them
1837
+ * @example
1838
+ * type Person = { age: number } & AllOrNone<{ name: string, lastName: string }>
1839
+ * const person: Person = { age: 30 } // ok
1840
+ * const person: Person = { age: 30, name: "John" } // error, requires lastName
1841
+ * const person: Person = { age: 30, name: "John", lastName: "Doe" } // ok, all properties are present
1842
+ */
1843
+ type AllOrNone<T> = T | {
1844
+ [K in keyof T]?: never;
1845
+ };
1846
+
1847
+ interface DropdownMenuItemControl extends Omit<SwitchProps, "size"> {
1848
+ type: "switch";
1849
+ }
1850
+ interface DropdownMenuItemProps {
1851
+ label: string;
1852
+ labelClassName?: string;
1853
+ imageUrl?: string;
1854
+ icon?: React.ReactNode;
1855
+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
1856
+ link?: string;
1857
+ control?: DropdownMenuItemControl;
1858
+ detail?: React.ReactNode;
1859
+ isSelected?: boolean;
1860
+ itemRef?: React.RefObject<HTMLLIElement>;
1829
1861
  children?: React.ReactNode;
1830
- addGap?: boolean;
1831
- paddingY?: boolean;
1832
- borderType?: ModalContentBorderType;
1833
- className?: string;
1862
+ contentRef?: React.RefObject<HTMLButtonElement>;
1834
1863
  }
1835
- declare function ModalContent({ children, addGap, paddingY, borderType, className, ...props }: ModalContentProps): react_jsx_runtime.JSX.Element;
1836
- declare function ModalContentDivider(): react_jsx_runtime.JSX.Element;
1864
+ declare function DropdownMenuItem(props: DropdownMenuItemProps & AllOrNone<{
1865
+ submenu: React.ReactNode;
1866
+ containerRef: React.RefObject<HTMLDivElement>;
1867
+ }>): react_jsx_runtime.JSX.Element;
1837
1868
 
1838
- type ActionButton = {
1839
- labelOrIcon: string | React.ReactNode;
1869
+ interface HistoryItemProps {
1870
+ firstImageUrl: string;
1871
+ secondImageUrl: string;
1872
+ status: HistoryItemStatus;
1873
+ fromLabel: string;
1874
+ toLabel: string;
1875
+ dateCompleted: string;
1876
+ fromAmount: string;
1877
+ toAmount: string;
1878
+ itemsContainerRef?: React.RefObject<HTMLElement>;
1840
1879
  onClick?: () => void;
1841
- id: React.Key;
1842
- tooltip?: Omit<TooltipProps, "children">;
1843
- chip?: ChipProps;
1844
- };
1845
- interface NavigationBarProps extends React.ComponentProps<"nav"> {
1846
- title?: string;
1847
- displayBackButton?: boolean;
1848
- logoUrl?: string;
1849
- transparent?: boolean;
1850
- displayButtonShadows?: boolean;
1851
- onBackButtonClick?: () => void;
1852
- actions?: ActionButton[];
1853
- isLoading?: boolean;
1880
+ warningLabel?: string;
1881
+ dropdownMenuContent?: React.ReactNode;
1854
1882
  }
1855
- declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, actions, isLoading, ...props }: NavigationBarProps): react_jsx_runtime.JSX.Element;
1883
+ declare function HistoryItem({ firstImageUrl, secondImageUrl, dateCompleted, fromAmount, fromLabel, toAmount, toLabel, dropdownMenuContent, itemsContainerRef, status, warningLabel, onClick, }: HistoryItemProps): react_jsx_runtime.JSX.Element;
1856
1884
 
1857
- declare function PipeSeparator({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1858
-
1859
- interface CollapsibleMenuProps {
1860
- menuRef: React.MutableRefObject<HTMLDivElement | null>;
1861
- size: {
1862
- open: {
1863
- width: string;
1864
- height: string;
1865
- };
1866
- closed: {
1867
- width: string;
1868
- height: string;
1869
- };
1870
- };
1871
- children?: React.ReactNode;
1872
- isOpen?: boolean;
1873
- transitionDuration?: React.CSSProperties["transitionDuration"];
1885
+ interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
1886
+ itemTitle: string | React.ReactNode;
1887
+ mainImageUrl?: string;
1888
+ secondaryImageUrl?: string;
1889
+ placeholderImageUrl?: string;
1890
+ subtitle?: string;
1891
+ subtitleOnHover?: React.ReactNode;
1892
+ detail?: string;
1893
+ icon?: React.ReactNode;
1894
+ size?: ListItemSize;
1895
+ mainIcon?: React.ReactNode;
1896
+ isSelected?: boolean;
1874
1897
  className?: string;
1898
+ onDetailClick?: () => void;
1899
+ showDetailOnHoverOnly?: boolean;
1900
+ rounded?: boolean;
1901
+ detailButtonClassName?: string;
1902
+ loading?: {
1903
+ subtitle?: boolean | string;
1904
+ };
1905
+ containerProps?: React.HTMLAttributes<HTMLLIElement>;
1906
+ compactOnMobile?: boolean;
1907
+ extraPadding?: boolean;
1908
+ dropdownMenuContent?: React.ReactNode;
1909
+ itemsContainerRef?: React.RefObject<HTMLElement>;
1875
1910
  }
1876
- declare function CollapsibleMenu({ children, menuRef, isOpen, transitionDuration, size, className, }: CollapsibleMenuProps): react_jsx_runtime.JSX.Element;
1877
-
1878
- declare function ProductCard({ children }: React.PropsWithChildren): react_jsx_runtime.JSX.Element;
1879
- declare function BorderedContainer({ children, className, }: {
1880
- children: React.ReactNode;
1881
- className?: string;
1882
- }): react_jsx_runtime.JSX.Element;
1911
+ type ListItemSize = "small" | "large";
1912
+ declare function ListItem({ itemTitle, mainImageUrl, subtitle, subtitleOnHover, detail, icon, secondaryImageUrl, placeholderImageUrl, size, mainIcon, className, isSelected, onDetailClick, showDetailOnHoverOnly, rounded, detailButtonClassName, loading, containerProps, compactOnMobile, extraPadding, itemsContainerRef, dropdownMenuContent, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
1913
+ declare const ListItemActionsButton: react.ForwardRefExoticComponent<Omit<react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
1914
+ isActive?: boolean | undefined;
1915
+ }, "ref"> & react.RefAttributes<HTMLButtonElement>>;
1883
1916
 
1884
- declare function ProfileHeaderBackground(): react_jsx_runtime.JSX.Element;
1917
+ interface MenuItemProps {
1918
+ label: string;
1919
+ imageUrl?: string;
1920
+ icon?: React.ReactNode;
1921
+ }
1922
+ declare function MenuItem({ label, imageUrl, icon }: MenuItemProps): react_jsx_runtime.JSX.Element;
1885
1923
 
1886
- interface SwapConfigurationProps {
1887
- direction: SwapDirection;
1888
- priceImpactPercentage?: string;
1889
- amount?: string;
1890
- tokenPrice?: number;
1891
- balance?: string;
1892
- isFetching?: boolean;
1893
- chain?: {
1894
- iconUrl: string;
1895
- bgColor: string;
1896
- };
1897
- token?: {
1898
- iconUrl: string;
1899
- symbol: string;
1900
- bgColor: string;
1901
- textColor: string;
1902
- decimals: number;
1903
- };
1904
- onAmountChange?: (amount: string) => void;
1905
- error?: {
1906
- message: string;
1907
- };
1908
- criticalPriceImpactPercentage?: number;
1909
- maxUsdDecimals?: number;
1910
- isInputInteractive?: boolean;
1924
+ interface PropertyListItemProps extends ComponentProps<"li"> {
1911
1925
  isLoading?: boolean;
1912
- inputModeButton?: {
1913
- usdModeTooltip?: Omit<TooltipProps, "children">;
1914
- tokenModeTooltip?: Omit<TooltipProps, "children">;
1915
- amountUsd?: string;
1916
- };
1917
- balanceButton?: {
1918
- tooltip?: Omit<TooltipProps, "children">;
1919
- };
1920
- assetsButton?: {
1921
- tooltip?: Omit<TooltipProps, "children">;
1922
- onClick?: () => void;
1923
- variant?: AssetsButtonVariant;
1924
- };
1925
- walletButton?: {
1926
- tooltip?: Omit<TooltipProps, "children">;
1927
- onClick?: () => void;
1928
- address?: string;
1929
- emptyAddressLabel?: string;
1930
- disabled?: boolean;
1931
- };
1926
+ label?: React.ReactNode;
1927
+ icon?: React.ReactNode;
1928
+ detail?: React.ReactNode;
1929
+ variant?: PropertyListItemSize;
1930
+ showGradientBg?: boolean;
1931
+ labelClassName?: string;
1932
+ iconClassName?: string;
1933
+ detailClassName?: string;
1932
1934
  }
1933
- declare function SwapConfiguration({ amount, tokenPrice, isFetching: isFetchingProp, chain, token, direction, onAmountChange, balance, criticalPriceImpactPercentage, error, priceImpactPercentage, maxUsdDecimals, isInputInteractive, isLoading, inputModeButton, balanceButton, assetsButton, walletButton, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;
1935
+ declare function PropertyListItem({ isLoading, label, detail, icon, className, variant, showGradientBg, labelClassName, iconClassName, detailClassName, ...props }: PropertyListItemProps): react_jsx_runtime.JSX.Element;
1934
1936
 
1935
- interface SwapProgressViewHeaderProps {
1937
+ interface SectionTitleProps extends React.HTMLAttributes<HTMLDivElement> {
1936
1938
  title: string;
1937
- description: string;
1938
- }
1939
- declare function SwapProgressViewHeader({ title, description, }: SwapProgressViewHeaderProps): react_jsx_runtime.JSX.Element;
1940
-
1941
- type SwapStepsCollapsedFooterButton = {
1942
- label: string;
1943
- link?: string;
1944
- onClick?: () => void;
1945
- };
1946
- interface SwapStepsCollapsedProps {
1947
- steps: SwapStep[];
1948
- currentStepIndex: number;
1949
- onOpen?: () => void;
1950
- onClose?: () => void;
1951
- footerButton?: SwapStepsCollapsedFooterButton;
1939
+ icon?: React.ReactNode;
1940
+ accessory?: string | null;
1941
+ actionIcon?: React.ReactNode;
1942
+ className?: string;
1952
1943
  }
1953
- declare const SwapStepsCollapsed: react.ForwardRefExoticComponent<SwapStepsCollapsedProps & react.RefAttributes<{
1954
- handleToggleRouteSteps: () => void;
1955
- }>>;
1944
+ declare function SectionTitle({ title, icon, accessory, actionIcon, className, ...props }: SectionTitleProps): react_jsx_runtime.JSX.Element;
1956
1945
 
1957
- interface TokenPairProps {
1958
- firstToken?: {
1959
- logoURI: string;
1960
- bgColor: string;
1946
+ type SettingsControl = {
1947
+ type: "percentage";
1948
+ value: number | undefined;
1949
+ onChange: (value: number | undefined) => void;
1950
+ min?: number;
1951
+ max?: number;
1952
+ decimalsFormat?: number;
1953
+ resetValueControl: {
1954
+ label: string;
1955
+ onSelect: () => void;
1956
+ value: number | undefined;
1961
1957
  };
1962
- secondToken?: {
1963
- logoURI: string;
1964
- bgColor: string;
1958
+ } | {
1959
+ type: "amount";
1960
+ value: number | undefined;
1961
+ onChange: (value: number | undefined) => void;
1962
+ options: {
1963
+ value: number;
1964
+ }[];
1965
+ decimalsFormat?: number;
1966
+ resetValueControl: {
1967
+ label: string;
1968
+ value: number | undefined;
1965
1969
  };
1966
- variant?: TokenPairVariant;
1967
- size?: TokenPairSize;
1968
- }
1969
- declare function TokenPair({ firstToken, secondToken, variant, size, }: TokenPairProps): react_jsx_runtime.JSX.Element;
1970
-
1971
- interface TransactionFiltersProps {
1972
- chainType?: ChainTypeFilter;
1973
- setChainType: (chainType: ChainTypeFilter) => void;
1974
- chain?: string;
1975
- setChain: (chain?: string) => void;
1976
- fromDate?: Date;
1977
- setFromDate: (fromDate?: Date) => void;
1978
- toDate?: Date;
1979
- setToDate: (toDate?: Date) => void;
1980
- status?: StatusFilter[];
1981
- setStatus: (status?: StatusFilter[]) => void;
1982
- chains: {
1983
- name: string;
1984
- logoURI: string;
1970
+ } | {
1971
+ type: "switch";
1972
+ checked: boolean;
1973
+ onChange: (checked: boolean) => void;
1974
+ tooltip?: Omit<TooltipProps, "children">;
1975
+ disabled?: boolean;
1976
+ } | {
1977
+ type: "options";
1978
+ selectedLabel: string;
1979
+ options: {
1980
+ label: string;
1981
+ onSelect: () => void;
1985
1982
  }[];
1983
+ };
1984
+ interface SettingsItemProps {
1985
+ icon: React.ReactNode;
1986
+ label: string;
1987
+ control?: SettingsControl;
1988
+ link?: string;
1989
+ transparent?: boolean;
1990
+ helpTooltip?: Omit<TooltipProps, "children">;
1986
1991
  }
1987
- declare function TransactionFilters({ chainType, setChainType, chain, setChain, fromDate, setFromDate, toDate, setToDate, status, setStatus, chains, }: TransactionFiltersProps): react_jsx_runtime.JSX.Element;
1992
+ declare function SettingsItem({ icon, label, control, link, transparent, helpTooltip, }: SettingsItemProps): react_jsx_runtime.JSX.Element;
1988
1993
 
1989
- interface BridgeHeaderProps {
1990
- tokenLogoURI: string;
1991
- chainLogoURI: string;
1992
- title?: string;
1993
- hash: string;
1994
- url?: string;
1995
- status: ActionStatus;
1994
+ interface SwapStepItemProps {
1995
+ descriptionBlocks: DescriptionBlock[];
1996
+ showStepSeparator?: boolean;
1997
+ link?: string;
1998
+ status?: ActionStatus;
1996
1999
  }
1997
- declare function BridgeHeader({ tokenLogoURI, chainLogoURI, title, hash, url, status, }: BridgeHeaderProps): react_jsx_runtime.JSX.Element;
2000
+ declare const STEP_ITEM_HEIGHT = 52;
2001
+ declare function SwapStepItem({ descriptionBlocks, showStepSeparator, link, status, }: SwapStepItemProps): react_jsx_runtime.JSX.Element;
1998
2002
 
1999
- interface BuyNFTHeaderProps {
2000
- imageUrl: string;
2003
+ interface ActionLayoutProps {
2004
+ lineCap?: ReactNode;
2005
+ status?: ActionStatus;
2006
+ showTimeline?: boolean;
2007
+ statusIcon?: ReactNode;
2008
+ nextStatus?: ActionStatus;
2009
+ description?: ReactNode;
2001
2010
  title?: string;
2002
- hash: string;
2011
+ icon?: ReactNode;
2012
+ children?: ReactNode;
2013
+ showBody?: boolean;
2014
+ }
2015
+ declare function ActionLayout({ lineCap, status, showTimeline, showBody, nextStatus, statusIcon, description, title, icon, children, }: ActionLayoutProps): react_jsx_runtime.JSX.Element;
2016
+ interface ActionPropertiesProps {
2017
+ timestamp?: number;
2018
+ hash?: string;
2003
2019
  url?: string;
2020
+ }
2021
+ declare function ActionProperties({ timestamp, hash, url, }: ActionPropertiesProps): react_jsx_runtime.JSX.Element;
2022
+ declare const ActionLineOutRow: ({ status }: {
2023
+ status?: ActionStatus;
2024
+ }) => react_jsx_runtime.JSX.Element;
2025
+ declare const ActionStatusRow: ({ children, status, icon, }: {
2026
+ children?: ReactNode;
2004
2027
  status: ActionStatus;
2028
+ icon?: ReactNode;
2029
+ }) => react_jsx_runtime.JSX.Element;
2030
+ declare function ActionRow({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
2031
+ declare function ActionWrapper({ children, status, className, }: {
2032
+ children?: ReactNode;
2033
+ status?: ActionStatus;
2034
+ className?: string;
2035
+ }): react_jsx_runtime.JSX.Element;
2036
+ interface TimestampProps {
2037
+ time: number;
2005
2038
  }
2006
- declare function BuyNFTHeader({ imageUrl, title, hash, url, status, }: BuyNFTHeaderProps): react_jsx_runtime.JSX.Element;
2039
+ declare function Timestamp({ time }: TimestampProps): react_jsx_runtime.JSX.Element;
2007
2040
 
2008
- interface InteractionHeaderProps {
2009
- title?: string;
2010
- image?: ReactNode;
2011
- hash: string;
2012
- url?: string;
2041
+ interface BaseActionProps {
2013
2042
  status: ActionStatus;
2043
+ /** if set, renders a line upwards to the next item in the status color */
2044
+ nextStatus?: ActionStatus;
2045
+ /** should we render a line down to the previous item? (default true) */
2046
+ showTimeline?: boolean;
2047
+ /** if false, fades out everything but the status line (for collapsed timeline state) */
2048
+ showBody?: boolean;
2014
2049
  }
2015
- declare function InteractionHeader({ title, image, hash, url, status, }: InteractionHeaderProps): react_jsx_runtime.JSX.Element;
2016
2050
 
2017
- interface ProfileHeaderProps {
2018
- imageUrl: string;
2019
- title: string;
2051
+ interface ApproveActionProps extends BaseActionProps {
2052
+ profile: {
2053
+ imageURI: string;
2054
+ label: string;
2055
+ };
2056
+ chain: {
2057
+ logoURI: string;
2058
+ name: string;
2059
+ };
2020
2060
  wallet: {
2021
2061
  imageURI: string;
2022
2062
  address: string;
2063
+ url: string;
2023
2064
  };
2024
- amount: string;
2065
+ timestamp?: number;
2066
+ hash?: string;
2067
+ url?: string;
2025
2068
  }
2026
- declare function ProfileHeader({ imageUrl, title, wallet, amount, }: ProfileHeaderProps): react_jsx_runtime.JSX.Element;
2069
+ declare function ApproveAction({ status, nextStatus, showTimeline, showBody, profile, chain, wallet, timestamp, hash, url, }: ApproveActionProps): react_jsx_runtime.JSX.Element;
2027
2070
 
2028
- interface SwapHeaderProps {
2029
- fromToken: {
2071
+ interface BridgeActionProps extends BaseActionProps {
2072
+ token: {
2030
2073
  logoURI: string;
2031
- bgColor: string;
2074
+ symbol: string;
2032
2075
  };
2033
- toToken: {
2076
+ chain: {
2034
2077
  logoURI: string;
2035
- bgColor: string;
2078
+ name: string;
2036
2079
  };
2037
- title?: string;
2038
- hash: string;
2080
+ provider: {
2081
+ logoURI: string;
2082
+ name: string;
2083
+ };
2084
+ timestamp?: number;
2085
+ hash?: string;
2039
2086
  url?: string;
2087
+ }
2088
+ declare function BridgeAction({ status, nextStatus, showTimeline, showBody, token, chain, provider, timestamp, hash, url, }: BridgeActionProps): react_jsx_runtime.JSX.Element;
2089
+
2090
+ interface FeesActionProps extends BaseActionProps {
2091
+ total: FeesRowProps;
2092
+ lines?: FeesRowProps[];
2093
+ }
2094
+ declare function FeesAction({ status, nextStatus, showTimeline, total, lines, }: FeesActionProps): react_jsx_runtime.JSX.Element;
2095
+ interface FeesTotalProps {
2040
2096
  status: ActionStatus;
2097
+ nextStatus?: ActionStatus;
2098
+ total: FeesRowProps;
2099
+ showTimeline?: boolean;
2100
+ collapsed?: boolean;
2101
+ }
2102
+ declare function FeesTotal({ status, nextStatus, total, showTimeline, collapsed, }: FeesTotalProps): react_jsx_runtime.JSX.Element;
2103
+ interface FeesLinesProps {
2104
+ status: ActionStatus;
2105
+ lines?: FeesRowProps[];
2106
+ showTimeline?: boolean;
2107
+ }
2108
+ declare function FeesLines({ status, lines, showTimeline, }: FeesLinesProps): react_jsx_runtime.JSX.Element;
2109
+ interface FeesRowProps {
2110
+ label: string;
2111
+ amount: number | string;
2112
+ symbol: string;
2113
+ usd: number | string;
2114
+ collapsed?: boolean;
2041
2115
  }
2042
- declare function SwapHeader({ fromToken, toToken, title, hash, url, status, }: SwapHeaderProps): react_jsx_runtime.JSX.Element;
2043
2116
 
2044
- declare const headerComponentsMap: {
2045
- readonly swap: typeof SwapHeader;
2046
- readonly buy_nft: typeof BuyNFTHeader;
2047
- readonly interaction: typeof InteractionHeader;
2048
- readonly bridge: typeof BridgeHeader;
2049
- readonly profile: typeof ProfileHeader;
2050
- };
2051
- type TransactionHeaderComponents = typeof headerComponentsMap;
2052
- type TransactionHeaderType = keyof TransactionHeaderComponents;
2053
- type TransactionHeaderProps = {
2054
- [Type in TransactionHeaderType]: {
2055
- type: Type;
2056
- props: ComponentProps<TransactionHeaderComponents[Type]>;
2057
- };
2058
- }[TransactionHeaderType];
2059
- declare function TransactionHeader({ type, props }: TransactionHeaderProps): react_jsx_runtime.JSX.Element;
2117
+ interface IncompleteActionProps extends BaseActionProps {
2118
+ message: string;
2119
+ buttons: ReactNode;
2120
+ }
2121
+ declare function IncompleteAction({ status, nextStatus, message, buttons, }: IncompleteActionProps): react_jsx_runtime.JSX.Element;
2060
2122
 
2061
- interface TransactionHeaderLayoutProps {
2062
- isLoading?: boolean;
2063
- status?: ActionStatus;
2064
- title?: string;
2065
- image?: ReactNode;
2066
- children?: ReactNode;
2123
+ interface ReceiveNFTActionProps extends BaseActionProps {
2124
+ nft: {
2125
+ imageURI: string;
2126
+ name: string;
2127
+ };
2128
+ chain: {
2129
+ logoURI: string;
2130
+ name: string;
2131
+ };
2132
+ wallet: {
2133
+ imageURI: string;
2134
+ address: string;
2135
+ url: string;
2136
+ };
2137
+ timestamp: number;
2138
+ hash: string;
2139
+ url: string;
2067
2140
  }
2068
- declare function TransactionHeaderLayout({ isLoading, status, title, image, children, }: TransactionHeaderLayoutProps): react_jsx_runtime.JSX.Element;
2141
+ declare function ReceiveNFTAction({ status, nextStatus, showTimeline, showBody, nft, chain, wallet, timestamp, hash, url, }: ReceiveNFTActionProps): react_jsx_runtime.JSX.Element;
2069
2142
 
2070
- interface BridgePropertiesProps {
2143
+ interface ReceiveTokensActionProps extends BaseActionProps {
2071
2144
  amount: string;
2072
2145
  token: {
2073
2146
  logoURI: string;
2074
- bgColor: string;
2075
2147
  symbol: string;
2076
2148
  };
2077
- fromChain: {
2149
+ chain: {
2078
2150
  logoURI: string;
2079
2151
  name: string;
2080
2152
  };
2081
- toChain: {
2082
- logoURI: string;
2083
- name: string;
2153
+ wallet: {
2154
+ imageURI: string;
2155
+ address: string;
2156
+ url: string;
2084
2157
  };
2085
- wallet: string;
2086
- boosted?: boolean;
2087
- timeToComplete: string;
2158
+ timestamp: number;
2159
+ hash: string;
2160
+ url: string;
2088
2161
  }
2089
- declare function BridgeProperties({ amount, token, fromChain, toChain, wallet, boosted, timeToComplete, }: BridgePropertiesProps): react_jsx_runtime.JSX.Element;
2162
+ declare function ReceiveTokensAction({ status, nextStatus, showTimeline, showBody, token, amount, chain, wallet, timestamp, hash, url, }: ReceiveTokensActionProps): react_jsx_runtime.JSX.Element;
2090
2163
 
2091
- interface BuyNFTPropertiesProps {
2092
- title: string;
2093
- imageURI: string;
2094
- collection: {
2095
- imageURI: string;
2096
- name: string;
2097
- };
2098
- price: string;
2164
+ interface SendTokensActionProps extends BaseActionProps {
2165
+ amount: string;
2099
2166
  token: {
2100
2167
  logoURI: string;
2101
2168
  symbol: string;
2102
2169
  };
2103
- marketplace: {
2170
+ chain: {
2104
2171
  logoURI: string;
2105
2172
  name: string;
2106
2173
  };
2107
- fromChain: {
2174
+ wallet: {
2175
+ imageURI: string;
2176
+ address: string;
2177
+ url: string;
2178
+ };
2179
+ timestamp: number;
2180
+ hash: string;
2181
+ url: string;
2182
+ }
2183
+ declare function SendTokensAction({ status, nextStatus, showTimeline, showBody, token, amount, chain, wallet, timestamp, hash, url, }: SendTokensActionProps): react_jsx_runtime.JSX.Element;
2184
+
2185
+ interface StakeActionProps extends BaseActionProps {
2186
+ token: {
2108
2187
  logoURI: string;
2109
- name: string;
2188
+ symbol: string;
2110
2189
  };
2111
- toChain: {
2190
+ provider: {
2112
2191
  logoURI: string;
2113
2192
  name: string;
2114
2193
  };
2115
- fromAddress: string;
2116
- toAddress: string;
2117
- boosted?: boolean;
2118
- timeToComplete: string;
2119
- tokenId: string;
2120
- nftType: string;
2194
+ timestamp: number;
2195
+ hash: string;
2196
+ url: string;
2121
2197
  }
2122
- declare function BuyNFTProperties({ title, imageURI, collection, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, tokenId, nftType, }: BuyNFTPropertiesProps): react_jsx_runtime.JSX.Element;
2198
+ declare function StakeAction({ status, nextStatus, showTimeline, showBody, token, provider, timestamp, hash, url, }: StakeActionProps): react_jsx_runtime.JSX.Element;
2123
2199
 
2124
- interface InteractionPropertiesProps {
2125
- chain: {
2126
- logoURI: string;
2127
- name: string;
2128
- };
2129
- wallet: string;
2130
- boosted?: boolean;
2131
- timeToComplete: string;
2200
+ interface StartActionProps extends BaseActionProps {
2201
+ timestamp?: number;
2202
+ hash?: string;
2203
+ url?: string;
2132
2204
  }
2133
- declare function InteractionProperties({ chain, wallet, boosted, timeToComplete, }: InteractionPropertiesProps): react_jsx_runtime.JSX.Element;
2205
+ declare function StartAction({ status, nextStatus, showTimeline, showBody, timestamp, hash, url, }: StartActionProps): react_jsx_runtime.JSX.Element;
2134
2206
 
2135
- interface PropertiesLayoutProps {
2136
- children?: ReactNode;
2137
- className?: string;
2207
+ interface SuccessActionProps extends BaseActionProps {
2208
+ description?: string;
2209
+ timestamp?: number;
2210
+ hash?: string;
2211
+ url?: string;
2138
2212
  }
2139
- declare function PropertiesLayout({ children, className, }: PropertiesLayoutProps): react_jsx_runtime.JSX.Element;
2213
+ declare function SuccessAction({ nextStatus, status, description, showTimeline, showBody, timestamp, hash, url, }: SuccessActionProps): react_jsx_runtime.JSX.Element;
2140
2214
 
2141
- interface SwapPropertiesProps {
2142
- fromAmount: string;
2215
+ interface SwapActionProps extends BaseActionProps {
2143
2216
  fromToken: {
2144
2217
  logoURI: string;
2145
- bgColor: string;
2146
2218
  symbol: string;
2147
2219
  };
2148
- toAmount: string;
2149
2220
  toToken: {
2150
2221
  logoURI: string;
2151
- bgColor: string;
2152
2222
  symbol: string;
2153
2223
  };
2154
- fromChain: {
2224
+ provider: {
2155
2225
  logoURI: string;
2156
2226
  name: string;
2157
2227
  };
2158
- toChain: {
2228
+ timestamp?: number;
2229
+ hash?: string;
2230
+ url?: string;
2231
+ }
2232
+ declare function SwapAction({ status, nextStatus, showTimeline, showBody, fromToken, toToken, provider, timestamp, hash, url, }: SwapActionProps): react_jsx_runtime.JSX.Element;
2233
+
2234
+ interface WrapActionProps extends BaseActionProps {
2235
+ fromToken: {
2236
+ logoURI: string;
2237
+ symbol: string;
2238
+ };
2239
+ toToken: {
2240
+ logoURI: string;
2241
+ symbol: string;
2242
+ };
2243
+ provider: {
2159
2244
  logoURI: string;
2160
2245
  name: string;
2161
2246
  };
2162
- fromAddress: string;
2163
- toAddress: string;
2164
- exchangeRate: string;
2165
- boosted?: boolean;
2166
- timeToComplete: string;
2247
+ timestamp?: number;
2248
+ hash?: string;
2249
+ url?: string;
2167
2250
  }
2168
- declare function SwapProperties({ fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, boosted, timeToComplete, }: SwapPropertiesProps): react_jsx_runtime.JSX.Element;
2251
+ declare function WrapAction({ status, nextStatus, showTimeline, showBody, fromToken, toToken, provider, timestamp, hash, url, }: WrapActionProps): react_jsx_runtime.JSX.Element;
2169
2252
 
2170
- declare const propertiesComponentsMap: {
2171
- readonly swap: typeof SwapProperties;
2172
- readonly buy_nft: typeof BuyNFTProperties;
2173
- readonly interaction: typeof InteractionProperties;
2174
- readonly bridge: typeof BridgeProperties;
2253
+ declare const actionComponentMap: {
2254
+ readonly success: typeof SuccessAction;
2255
+ readonly receive_tokens: typeof ReceiveTokensAction;
2256
+ readonly receive_nft: typeof ReceiveNFTAction;
2257
+ readonly approve: typeof ApproveAction;
2258
+ readonly send_tokens: typeof SendTokensAction;
2259
+ readonly swap: typeof SwapAction;
2260
+ readonly bridge: typeof BridgeAction;
2261
+ readonly wrap: typeof WrapAction;
2262
+ readonly stake: typeof StakeAction;
2263
+ readonly start: typeof StartAction;
2264
+ readonly fees: typeof FeesAction;
2265
+ readonly incomplete: typeof IncompleteAction;
2175
2266
  };
2176
- type TransactionPropertiesComponents = typeof propertiesComponentsMap;
2177
- type TransactionPropertiesType = keyof TransactionPropertiesComponents;
2178
- type TransactionPropertiesProps = {
2179
- [Type in TransactionPropertiesType]: {
2267
+ type TransactionActionComponents = typeof actionComponentMap;
2268
+ type TransactionActionType = keyof TransactionActionComponents;
2269
+ type TransactionActionProps = {
2270
+ [Type in TransactionActionType]: {
2180
2271
  type: Type;
2181
- props: ComponentProps<TransactionPropertiesComponents[Type]>;
2272
+ props: ComponentProps<TransactionActionComponents[Type]>;
2182
2273
  };
2183
- }[TransactionPropertiesType];
2184
- declare function TransactionProperties({ type, props, }: TransactionPropertiesProps): react_jsx_runtime.JSX.Element;
2274
+ }[TransactionActionType];
2275
+ declare function TransactionAction({ type, props }: TransactionActionProps): react_jsx_runtime.JSX.Element;
2185
2276
 
2186
- interface TransactionSearchProps {
2187
- query: string;
2188
- setQuery: (query: string) => void;
2189
- children?: ReactNode;
2277
+ declare function linkActionTimelineProps(actions: TransactionActionProps[], collapsed: boolean): TransactionActionProps[];
2278
+
2279
+ type TransactionItemVariant = "compact" | "full";
2280
+ type TransactionItemType = {
2281
+ icon?: ReactNode;
2282
+ name: string;
2283
+ };
2284
+ interface TransactionItemProps {
2190
2285
  className?: string;
2191
- onFocus?: () => void;
2192
- onBlur?: () => void;
2286
+ isLoading?: boolean;
2287
+ status?: ActionStatus;
2288
+ image?: ReactNode;
2289
+ type?: TransactionItemType;
2290
+ hash?: string;
2291
+ fromChain?: {
2292
+ logoURI: string;
2293
+ name: string;
2294
+ };
2295
+ toChain?: {
2296
+ logoURI: string;
2297
+ name: string;
2298
+ };
2299
+ fromAmount?: string;
2300
+ toAmount?: string;
2301
+ timestamp?: number;
2302
+ variant?: TransactionItemVariant;
2193
2303
  }
2194
- declare function TransactionSearch({ query, setQuery, children, className, onFocus, onBlur, }: TransactionSearchProps): react_jsx_runtime.JSX.Element;
2304
+ declare function TransactionItem({ className, isLoading, status, image, type, hash, fromChain, toChain, fromAmount, toAmount, timestamp, variant, }: TransactionItemProps): react_jsx_runtime.JSX.Element;
2195
2305
 
2196
- interface FromToProps {
2197
- isLoading?: boolean;
2198
- from?: ReactNode;
2199
- to?: ReactNode;
2200
- className?: string;
2306
+ interface RouteStepProps {
2307
+ imageUrl: string;
2308
+ descriptionBlocks: DescriptionBlock[];
2309
+ subtitle: string;
2310
+ showStepSeparator?: boolean;
2201
2311
  }
2202
- declare function Transfer({ isLoading, from, to, className }: FromToProps): react_jsx_runtime.JSX.Element;
2312
+ declare function RouteStep({ imageUrl, descriptionBlocks, subtitle, showStepSeparator, }: RouteStepProps): react_jsx_runtime.JSX.Element;
2203
2313
 
2204
- interface ToastProps {
2314
+ declare function DropdownMenuTitle({ title }: {
2205
2315
  title: string;
2206
- description: string;
2207
- headerContent?: React.ReactNode;
2208
- actionsContent?: React.ReactNode;
2209
- chipLabel?: string;
2210
- }
2211
- declare function Toast({ headerContent, actionsContent, description, chipLabel, title, }: ToastProps): react_jsx_runtime.JSX.Element;
2316
+ }): react_jsx_runtime.JSX.Element;
2212
2317
 
2213
2318
  interface BodyTextProps extends React.HTMLAttributes<HTMLSpanElement> {
2214
2319
  children: ReactNode;
@@ -2435,45 +2540,30 @@ declare function TransactionViewLayout({ isLoading, header, properties, actions,
2435
2540
 
2436
2541
  declare function WalletsView(): react_jsx_runtime.JSX.Element;
2437
2542
 
2438
- type SquidTheme = {
2439
- "content-100": string;
2440
- "content-200": string;
2441
- "content-300": string;
2442
- "content-400": string;
2443
- "content-500": string;
2444
- "content-600": string;
2445
- "content-700": string;
2446
- "content-800": string;
2447
- "content-900": string;
2448
- "accent-300": string;
2449
- "accent-400": string;
2450
- "accent-500": string;
2451
- "accent-700": string;
2452
- "status-positive": string;
2453
- "status-negative": string;
2454
- "status-warning": string;
2455
- "highlight-700": string;
2456
- };
2457
-
2458
2543
  declare function SquidConfigProvider({ theme, children, themeType, }: {
2459
2544
  theme?: SquidTheme;
2460
2545
  children?: React.ReactNode;
2461
2546
  themeType?: ThemeType;
2462
2547
  }): react_jsx_runtime.JSX.Element;
2463
2548
 
2549
+ type DropdownPosition = "top" | "bottom" | "center";
2550
+ type DropdownStyles = {
2551
+ position: DropdownPosition;
2552
+ maxHeight: number | null;
2553
+ };
2464
2554
  interface UseDropdownMenuParams {
2465
2555
  initialIsModalOpen?: boolean;
2466
- itemsContainerRef?: React.RefObject<HTMLElement>;
2556
+ itemsContainerRef?: react__default.RefObject<HTMLElement>;
2467
2557
  }
2468
2558
  declare function useDropdownMenu(props?: UseDropdownMenuParams): {
2469
2559
  isDropdownOpen: boolean;
2470
2560
  openDropdown: () => void;
2471
2561
  closeDropdown: () => void;
2472
- dropdownRef: React.RefObject<HTMLDivElement>;
2473
- openDropdownButtonRef: React.RefObject<HTMLButtonElement>;
2474
- dropdownPosition: DropdownPosition | null;
2475
- itemRef: React.RefObject<HTMLLIElement>;
2476
- menuRef: React.RefObject<HTMLDivElement>;
2562
+ dropdownRef: react__default.RefObject<HTMLDivElement>;
2563
+ openDropdownButtonRef: react__default.RefObject<HTMLButtonElement>;
2564
+ dropdownStyles: DropdownStyles | null;
2565
+ itemRef: react__default.RefObject<HTMLLIElement>;
2566
+ menuRef: react__default.RefObject<HTMLDivElement>;
2477
2567
  };
2478
2568
 
2479
2569
  type UseMediaQueryOptions = {
@@ -2564,4 +2654,4 @@ declare const baseTailwindConfig: Config;
2564
2654
  */
2565
2655
  declare const cn: (...inputs: ClassValue[]) => string;
2566
2656
 
2567
- export { type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, AnimationWrapper, AppContainer, Approve, ApproveAction, ArrowBottomTopIcon, ArrowButton, ArrowCornerDownRightIcon, ArrowDownIcon, ArrowLeftIcon, ArrowOutOfBoxIcon, ArrowRightDownCircleIcon, ArrowRightDownIcon, ArrowRightIcon, ArrowRightUpCircleIcon, ArrowRightUpIcon, ArrowRotate, ArrowSplit, ArrowTriangle, ArrowUpIcon, ArrowWallDownIcon, ArrowsSwapIcon, AssetsButton, type AssetsButtonVariant, AssetsView, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BlockSkeleton, BodyText, Boost, BoostBadge, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BridgeTransactionView, BrokenHeartIcon, BubblesIcon, Button, BuyNFTHeader, BuyNFTProperties, BuyNFTTransactionView, CSS_VARS, Calendar, CaptionText, ChainLink, Checkmark1Icon, Checkmark2Icon, ChevronArrowIcon, ChevronDownSmallIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon, ClockIcon, ClockOutlineIcon, CoinsAddIcon, CoinsIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy, CrossAnimatedIcon, DashboardFast, DescriptionBlocks, DetailsToolbar, DiscordIcon, DockIconAnalytics, DockIconCheckout, DockIconHelp, DockIconProfile, DockIconScan, DockIconSwap, DockSwapIcon, Dollar, DotGrid1x3HorizontalIcon, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, EmojiMeh, EmojiSadIcon, EmptyHeartIcon, ErrorMessage, EthereumIcon, ExplosionIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FilledHeartIcon, FilterButton, FilterIcon, GasIcon, GithubIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, IconLabel, ImageIcon, ImageSparkle, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, LightningIcon, LinkIcon, List, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, MEDIA_QUERIES, MainView, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, MoonIcon, NavigationBar, NotAllowedIcon, NumericInput, PathSquareIcon, PercentIcon, PieChartIcon, PipeSeparator, PlusIcon, PowerIcon, ProductCard, ProfileHeader, ProfileHeaderBackground, PropertiesLayout, PropertyListItem, type PropertyListItemProps, PunkIcon, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RecipientView, RefreshIcon, ReorderIcon, RouteStep, STEP_ITEM_HEIGHT, SearchIcon, SectionTitle, SendTokensAction, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsGearIcon, SettingsItem, type SettingsItemProps, SettingsSlider, type SettingsSliderProps, ShoppingBagIcon, SizeTransition, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidConfigProvider, SquidLogo, type SquidTheme, StakeAction, StartAction, StocksIcon, SuccessAction, SunIcon, SunriseIcon, SwapAction, SwapConfiguration, SwapDetailsView, SwapErrorIcon, SwapHeader, type SwapHeaderProps, SwapIcon, SwapInputsIcon, SwapProgressView, SwapProgressViewHeader, SwapProperties, type SwapPropertiesProps, SwapState, type SwapStep, SwapStepItem, SwapStepSeparator, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, SwapSuccessIcon, SwapTransactionView, SwapWarningIcon, Switch, TagIcon, TagIconFilled, TextSkeleton, type ThemeType, ThumbsUp, Tick, TimeFliesIcon, Timeline, Timestamp, Toast, TokenPair, Tooltip, type TooltipProps, type TooltipThreshold, type TooltipWidth, TradingViewStepsIcon, TransactionAction, type TransactionActionProps, type TransactionActionType, TransactionFilters, TransactionHeader, TransactionHeaderLayout, type TransactionHeaderProps, type TransactionHeaderType, TransactionItem, TransactionProperties, type TransactionPropertiesProps, type TransactionPropertiesType, TransactionSearch, TransactionState, TransactionView, TransactionViewLayout, type TransactionViewProps, type TransactionViewType, Transfer, TranslateIcon, TriangleExclamation, UsdAmount, WalletFilledIcon, WalletIcon, WalletLink, WalletsView, WrapAction, XSocial, baseTailwindConfig, cn, darkTheme, lightTheme, linkActionTimelineProps, statusTextClassMap, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useOnResize, useRect, useTimer, useVersion };
2657
+ export { type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, type AllOrNone, AnimationWrapper, AppContainer, Approve, ApproveAction, ArrowBottomTopIcon, ArrowButton, ArrowCornerDownRightIcon, ArrowDownIcon, ArrowLeftIcon, ArrowOutOfBoxIcon, ArrowRightDownCircleIcon, ArrowRightDownIcon, ArrowRightIcon, ArrowRightUpCircleIcon, ArrowRightUpIcon, ArrowRotate, ArrowSplit, ArrowTriangle, ArrowUpIcon, ArrowWallDownIcon, ArrowsSwapIcon, AssetsButton, type AssetsButtonVariant, AssetsView, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BellAlarmIcon, BlockSkeleton, BodyText, Boost, BoostBadge, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BridgeTransactionView, BrokenHeartIcon, BubblesIcon, Button, BuyNFTHeader, BuyNFTProperties, BuyNFTTransactionView, CSS_VARS, Calendar, CaptionText, CatSquareIcon, ChainLink, Checkmark1Icon, Checkmark2Icon, ChevronArrowIcon, ChevronDownSmallIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon, ClockOutlineIcon, ClockSolidIcon, CoinsAddIcon, CoinsIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy, CrossAnimatedIcon, DashboardFast, DescriptionBlocks, DetailsToolbar, DiscordIcon, DockIconAnalytics, DockIconCheckout, DockIconHelp, DockIconProfile, DockIconScan, DockIconSwap, DockSwapIcon, DollarOutlinedIcon, DollarSolidIcon, DotGrid1x3HorizontalIcon, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuTitle, type DropdownPosition, type DropdownStyles, EmojiMeh, EmojiSadIcon, EmptyHeartIcon, ErrorMessage, EthereumIcon, ExplosionIcon, EyeOpenIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FilledHeartIcon, FilterAscendingIcon, FilterButton, FilterIcon, FilterTimelineIcon, GasIcon, GhostIcon, GithubIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, IconLabel, Image, ImageIcon, ImageSparkle, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, LightningIcon, LimitIcon, LinkIcon, List, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, MEDIA_QUERIES, MainView, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, MoonIcon, NavigationBar, NotAllowedIcon, NumericInput, PathSquareIcon, PercentIcon, PieChartIcon, PipeSeparator, PlusIcon, PoopIcon, PowerIcon, ProductCard, ProfileHeader, ProfileHeaderBackground, PropertiesLayout, PropertyListItem, type PropertyListItemProps, PunkIcon, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RecipientView, RefreshIcon, ReorderIcon, RouteStep, STEP_ITEM_HEIGHT, SearchIcon, SectionTitle, SendTokensAction, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsGearIcon, SettingsItem, type SettingsItemProps, SettingsSlider, SettingsSliderIcon, type SettingsSliderProps, ShoppingBagIcon, SizeTransition, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidConfigProvider, SquidLogo, type SquidTheme, StakeAction, StartAction, StocksIcon, SuccessAction, SunIcon, SunriseIcon, SwapAction, SwapConfiguration, SwapDetailsView, SwapErrorIcon, SwapHeader, type SwapHeaderProps, SwapIcon, SwapInputsIcon, SwapProgressView, SwapProgressViewHeader, SwapProperties, type SwapPropertiesProps, SwapState, type SwapStep, SwapStepItem, SwapStepSeparator, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, SwapSuccessIcon, SwapTransactionView, SwapWarningIcon, Switch, type SwitchProps, TagIcon, TagIconFilled, TextSkeleton, type ThemeType, ThumbsUp, Tick, TimeFliesIcon, Timeline, Timestamp, Toast, TokenPair, Tooltip, type TooltipProps, type TooltipThreshold, type TooltipWidth, TradingViewStepsIcon, TransactionAction, type TransactionActionProps, type TransactionActionType, TransactionFilters, TransactionHeader, TransactionHeaderLayout, type TransactionHeaderProps, type TransactionHeaderType, TransactionItem, TransactionProperties, type TransactionPropertiesProps, type TransactionPropertiesType, TransactionSearch, TransactionState, TransactionView, TransactionViewLayout, type TransactionViewProps, type TransactionViewType, Transfer, TranslateIcon, TriangleExclamation, UsdAmount, WalletFilledIcon, WalletIcon, WalletLink, WalletsView, WrapAction, XSocial, baseTailwindConfig, cn, darkTheme, lightTheme, linkActionTimelineProps, statusTextClassMap, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useOnResize, useRect, useTimer, useVersion };