@0xsquid/ui 3.0.2 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/cjs/index.js +18491 -838
  2. package/dist/cjs/types/components/badges/Drip.d.ts +13 -0
  3. package/dist/cjs/types/components/badges/index.d.ts +1 -0
  4. package/dist/cjs/types/components/buttons/index.d.ts +0 -1
  5. package/dist/cjs/types/components/feedback/LoadingSkeleton.d.ts +2 -1
  6. package/dist/cjs/types/components/icons/Arrow.d.ts +3 -0
  7. package/dist/cjs/types/components/icons/Generic.d.ts +4 -0
  8. package/dist/cjs/types/components/icons/ThumbsUp.d.ts +2 -1
  9. package/dist/cjs/types/components/layout/AnimationWrapper.d.ts +7 -3
  10. package/dist/cjs/types/components/layout/Card.d.ts +8 -0
  11. package/dist/cjs/types/components/layout/Collapse.d.ts +3 -1
  12. package/dist/cjs/types/components/layout/TransactionHeader/TransactionHeaderLayout.d.ts +10 -6
  13. package/dist/cjs/types/components/layout/TransactionProperties/TransactionProperties.d.ts +4 -8
  14. package/dist/cjs/types/components/layout/index.d.ts +1 -11
  15. package/dist/cjs/types/components/lists/TransactionAction/FeesAction.d.ts +2 -2
  16. package/dist/cjs/types/components/lists/TransactionItem.d.ts +35 -20
  17. package/dist/cjs/types/components/lists/TransactionItemSkeleton.d.ts +1 -0
  18. package/dist/cjs/types/components/lists/index.d.ts +1 -0
  19. package/dist/cjs/types/components/views/TransactionNotFoundView.d.ts +1 -0
  20. package/dist/cjs/types/components/views/TransactionView/BaseTransactionViewProps.d.ts +23 -3
  21. package/dist/cjs/types/components/views/TransactionView/BridgeTransactionView.d.ts +10 -3
  22. package/dist/cjs/types/components/views/TransactionView/BuyNFTTransactionView.d.ts +9 -11
  23. package/dist/cjs/types/components/views/TransactionView/InteractionTransactionView.d.ts +10 -5
  24. package/dist/cjs/types/components/views/TransactionView/SwapTransactionView.d.ts +8 -3
  25. package/dist/cjs/types/components/views/TransactionView/TransactionView.d.ts +11 -6
  26. package/dist/cjs/types/components/views/index.d.ts +1 -0
  27. package/dist/cjs/types/core/utils.d.ts +1 -0
  28. package/dist/cjs/types/stories/badges/Drip.stories.d.ts +7 -0
  29. package/dist/cjs/types/stories/data/actions.d.ts +5 -0
  30. package/dist/cjs/types/stories/data/network.d.ts +2 -0
  31. package/dist/cjs/types/stories/layout/Card.stories.d.ts +6 -0
  32. package/dist/cjs/types/stories/lists/TransactionItem.stories.d.ts +182 -12
  33. package/dist/cjs/types/stories/lists/TransactionItemSkeleton.stories.d.ts +6 -0
  34. package/dist/cjs/types/stories/views/TransactionNotFoundView.stories.d.ts +6 -0
  35. package/dist/cjs/types/stories/views/TransactionView.stories.d.ts +634 -7
  36. package/dist/cjs/types/types/components.d.ts +1 -0
  37. package/dist/esm/index.js +18236 -578
  38. package/dist/esm/types/components/badges/Drip.d.ts +13 -0
  39. package/dist/esm/types/components/badges/index.d.ts +1 -0
  40. package/dist/esm/types/components/buttons/index.d.ts +0 -1
  41. package/dist/esm/types/components/feedback/LoadingSkeleton.d.ts +2 -1
  42. package/dist/esm/types/components/icons/Arrow.d.ts +3 -0
  43. package/dist/esm/types/components/icons/Generic.d.ts +4 -0
  44. package/dist/esm/types/components/icons/ThumbsUp.d.ts +2 -1
  45. package/dist/esm/types/components/layout/AnimationWrapper.d.ts +7 -3
  46. package/dist/esm/types/components/layout/Card.d.ts +8 -0
  47. package/dist/esm/types/components/layout/Collapse.d.ts +3 -1
  48. package/dist/esm/types/components/layout/TransactionHeader/TransactionHeaderLayout.d.ts +10 -6
  49. package/dist/esm/types/components/layout/TransactionProperties/TransactionProperties.d.ts +4 -8
  50. package/dist/esm/types/components/layout/index.d.ts +1 -11
  51. package/dist/esm/types/components/lists/TransactionAction/FeesAction.d.ts +2 -2
  52. package/dist/esm/types/components/lists/TransactionItem.d.ts +35 -20
  53. package/dist/esm/types/components/lists/TransactionItemSkeleton.d.ts +1 -0
  54. package/dist/esm/types/components/lists/index.d.ts +1 -0
  55. package/dist/esm/types/components/views/TransactionNotFoundView.d.ts +1 -0
  56. package/dist/esm/types/components/views/TransactionView/BaseTransactionViewProps.d.ts +23 -3
  57. package/dist/esm/types/components/views/TransactionView/BridgeTransactionView.d.ts +10 -3
  58. package/dist/esm/types/components/views/TransactionView/BuyNFTTransactionView.d.ts +9 -11
  59. package/dist/esm/types/components/views/TransactionView/InteractionTransactionView.d.ts +10 -5
  60. package/dist/esm/types/components/views/TransactionView/SwapTransactionView.d.ts +8 -3
  61. package/dist/esm/types/components/views/TransactionView/TransactionView.d.ts +11 -6
  62. package/dist/esm/types/components/views/index.d.ts +1 -0
  63. package/dist/esm/types/core/utils.d.ts +1 -0
  64. package/dist/esm/types/stories/badges/Drip.stories.d.ts +7 -0
  65. package/dist/esm/types/stories/data/actions.d.ts +5 -0
  66. package/dist/esm/types/stories/data/network.d.ts +2 -0
  67. package/dist/esm/types/stories/layout/Card.stories.d.ts +6 -0
  68. package/dist/esm/types/stories/lists/TransactionItem.stories.d.ts +182 -12
  69. package/dist/esm/types/stories/lists/TransactionItemSkeleton.stories.d.ts +6 -0
  70. package/dist/esm/types/stories/views/TransactionNotFoundView.stories.d.ts +6 -0
  71. package/dist/esm/types/stories/views/TransactionView.stories.d.ts +634 -7
  72. package/dist/esm/types/types/components.d.ts +1 -0
  73. package/dist/index.css +1 -1
  74. package/dist/index.d.ts +150 -239
  75. package/package.json +3 -3
  76. package/dist/cjs/types/components/layout/TransactionHeader/BridgeHeader.d.ts +0 -11
  77. package/dist/cjs/types/components/layout/TransactionHeader/BuyNFTHeader.d.ts +0 -10
  78. package/dist/cjs/types/components/layout/TransactionHeader/InteractionHeader.d.ts +0 -11
  79. package/dist/cjs/types/components/layout/TransactionHeader/ProfileHeader.d.ts +0 -11
  80. package/dist/cjs/types/components/layout/TransactionHeader/SwapHeader.d.ts +0 -16
  81. package/dist/cjs/types/components/layout/TransactionHeader/TransactionHeader.d.ts +0 -23
  82. package/dist/cjs/types/components/layout/TransactionHeader/index.d.ts +0 -1
  83. package/dist/cjs/types/components/layout/TransactionProperties/BridgeProperties.d.ts +0 -21
  84. package/dist/cjs/types/components/layout/TransactionProperties/BuyNFTProperties.d.ts +0 -33
  85. package/dist/cjs/types/components/layout/TransactionProperties/InteractionProperties.d.ts +0 -11
  86. package/dist/cjs/types/components/layout/TransactionProperties/SwapProperties.d.ts +0 -28
  87. package/dist/cjs/types/components/layout/TransactionProperties/index.d.ts +0 -6
  88. package/dist/cjs/types/stories/layout/TransactionHeader.stories.d.ts +0 -10
  89. package/dist/cjs/types/stories/layout/TransactionProperties.stories.d.ts +0 -9
  90. package/dist/esm/types/components/layout/TransactionHeader/BridgeHeader.d.ts +0 -11
  91. package/dist/esm/types/components/layout/TransactionHeader/BuyNFTHeader.d.ts +0 -10
  92. package/dist/esm/types/components/layout/TransactionHeader/InteractionHeader.d.ts +0 -11
  93. package/dist/esm/types/components/layout/TransactionHeader/ProfileHeader.d.ts +0 -11
  94. package/dist/esm/types/components/layout/TransactionHeader/SwapHeader.d.ts +0 -16
  95. package/dist/esm/types/components/layout/TransactionHeader/TransactionHeader.d.ts +0 -23
  96. package/dist/esm/types/components/layout/TransactionHeader/index.d.ts +0 -1
  97. package/dist/esm/types/components/layout/TransactionProperties/BridgeProperties.d.ts +0 -21
  98. package/dist/esm/types/components/layout/TransactionProperties/BuyNFTProperties.d.ts +0 -33
  99. package/dist/esm/types/components/layout/TransactionProperties/InteractionProperties.d.ts +0 -11
  100. package/dist/esm/types/components/layout/TransactionProperties/SwapProperties.d.ts +0 -28
  101. package/dist/esm/types/components/layout/TransactionProperties/index.d.ts +0 -6
  102. package/dist/esm/types/stories/layout/TransactionHeader.stories.d.ts +0 -10
  103. package/dist/esm/types/stories/layout/TransactionProperties.stories.d.ts +0 -9
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as react from 'react';
4
4
  import react__default, { ReactNode, ComponentProps, ChangeEvent } from 'react';
5
- import { Player } from '@lottiefiles/react-lottie-player';
5
+ import { LottieComponentProps } from 'lottie-react';
6
6
  import * as motion_react from 'motion/react';
7
7
  import { motion } from 'motion/react';
8
8
  import { Config } from 'tailwindcss';
@@ -40,6 +40,7 @@ declare enum SwapState {
40
40
  type ThemeType = "light" | "dark";
41
41
  type ActionStatus = "pending" | "waiting" | "ongoing" | "executed" | "success" | "error" | "warning";
42
42
  type TransactionStateVariant = "full" | "compact" | "small";
43
+ type TransactionType = "swap" | "buy_nft" | "interaction" | "bridge";
43
44
  type TokenPairVariant = "horizontal" | "vertical";
44
45
  type TokenPairSize = "small" | "medium";
45
46
  type ImageSize = "small" | "medium" | "large" | "xlarge" | "xxlarge";
@@ -77,6 +78,19 @@ interface BadgeImageProps {
77
78
  }
78
79
  declare function BadgeImage({ image, badge, extraMarginForBadge, className, }: BadgeImageProps): false | react_jsx_runtime.JSX.Element;
79
80
 
81
+ interface DripProps {
82
+ direction?: "horizontal" | "vertical";
83
+ to: {
84
+ logoURI: string;
85
+ bgColor: string;
86
+ };
87
+ from: {
88
+ logoURI: string;
89
+ bgColor: string;
90
+ };
91
+ }
92
+ declare const Drip: ({ direction, from, to }: DripProps) => react_jsx_runtime.JSX.Element;
93
+
80
94
  interface IconLabelProps {
81
95
  src?: string;
82
96
  children?: ReactNode;
@@ -104,8 +118,9 @@ declare function LoadingSkeleton({ className, height, isLoading: isLoadingProp,
104
118
  interface LoadingTextProps$1 extends ComponentProps<"span"> {
105
119
  width?: string | [string, string];
106
120
  isLoading?: boolean;
121
+ showGradient?: boolean;
107
122
  }
108
- declare function TextSkeleton({ className, width, children, isLoading, ...props }: LoadingTextProps$1): string | number | boolean | Iterable<react.ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
123
+ declare function TextSkeleton({ className, width, children, isLoading, showGradient, ...props }: LoadingTextProps$1): string | number | boolean | Iterable<react.ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
109
124
  interface LoadingBlockProps extends ComponentProps<"div"> {
110
125
  isLoading?: boolean;
111
126
  }
@@ -180,7 +195,7 @@ declare enum UserInputType {
180
195
  USD = 1
181
196
  }
182
197
  interface UseNumericInputOptions {
183
- token: Pick<Token$3, "decimals" | "price">;
198
+ token: Pick<Token$4, "decimals" | "price">;
184
199
  onAmountChange: (tokenAmount: string) => void;
185
200
  forcedAmount?: string;
186
201
  formatIfVerySmall: {
@@ -224,13 +239,13 @@ interface TooltipProps {
224
239
  }
225
240
  declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
226
241
 
227
- interface Token$3 {
242
+ interface Token$4 {
228
243
  price: number;
229
244
  symbol: string;
230
245
  decimals: number;
231
246
  }
232
247
  interface NumericInputProps {
233
- token: Token$3;
248
+ token: Token$4;
234
249
  onAmountChange: (tokenAmount: string) => void;
235
250
  forcedAmount?: string;
236
251
  formatIfVerySmall?: {
@@ -429,6 +444,9 @@ declare function ArrowLeftIcon({ className, size, }: {
429
444
  size?: string;
430
445
  }): react_jsx_runtime.JSX.Element;
431
446
  declare function ArrowRightUpCircleIcon(): react_jsx_runtime.JSX.Element;
447
+ declare function ArrowRightUpCircleFilledIcon({ className, }: {
448
+ className?: string;
449
+ }): react_jsx_runtime.JSX.Element;
432
450
  declare function ArrowRightDownCircleIcon(): react_jsx_runtime.JSX.Element;
433
451
  declare function ArrowOutOfBoxIcon(): react_jsx_runtime.JSX.Element;
434
452
  declare function ChevronGrabberVerticalIcon({ size, className, }: {
@@ -636,6 +654,10 @@ declare function GhostIcon({ size, className, }: {
636
654
  size?: string;
637
655
  className?: string;
638
656
  }): react_jsx_runtime.JSX.Element;
657
+ declare function GhostCircleIcon({ size, className, }: {
658
+ size?: string;
659
+ className?: string;
660
+ }): react_jsx_runtime.JSX.Element;
639
661
  declare function SettingsSliderIcon({ size, className, }: {
640
662
  size?: string;
641
663
  className?: string;
@@ -930,7 +952,8 @@ declare function TagIcon({ size }: {
930
952
  }): react_jsx_runtime.JSX.Element;
931
953
  declare function TagIconFilled(): react_jsx_runtime.JSX.Element;
932
954
 
933
- declare function ThumbsUp({ fill }: {
955
+ declare function ThumbsUp({ size, fill, }: {
956
+ size?: string;
934
957
  fill?: boolean;
935
958
  }): react_jsx_runtime.JSX.Element;
936
959
 
@@ -984,9 +1007,13 @@ declare function CrossedOutSunSolidIcon({ size, className, }: {
984
1007
  className?: string;
985
1008
  }): react_jsx_runtime.JSX.Element;
986
1009
 
987
- interface Props extends React.ComponentProps<typeof Player> {
1010
+ interface Props extends Omit<LottieComponentProps, "src"> {
1011
+ style?: React.CSSProperties;
1012
+ autoplay?: boolean;
1013
+ loop?: boolean;
1014
+ src: unknown;
988
1015
  }
989
- declare const AnimationWrapper: (playerProps: Props) => react_jsx_runtime.JSX.Element;
1016
+ declare const AnimationWrapper: ({ src, ...playerProps }: Props) => react_jsx_runtime.JSX.Element;
990
1017
  declare function AnimationCard({ children }: {
991
1018
  children?: React.ReactNode;
992
1019
  }): react_jsx_runtime.JSX.Element;
@@ -1013,6 +1040,13 @@ declare function Breadcrumb({ children, className, }: {
1013
1040
  className?: string;
1014
1041
  }): react_jsx_runtime.JSX.Element;
1015
1042
 
1043
+ interface CardProps {
1044
+ children: React.ReactNode;
1045
+ variant: "transparent";
1046
+ className?: string;
1047
+ }
1048
+ declare const Card: ({ variant, className, children, }: CardProps) => react_jsx_runtime.JSX.Element;
1049
+
1016
1050
  interface CollapseProps extends ComponentProps<"div"> {
1017
1051
  collapsed: boolean;
1018
1052
  collapsedHeight?: number;
@@ -1022,7 +1056,9 @@ interface CollapseProps extends ComponentProps<"div"> {
1022
1056
  declare function Collapse({ collapsed, collapsedHeight, children, className, duration, contentsClassName, ...props }: CollapseProps): react_jsx_runtime.JSX.Element;
1023
1057
  interface SizeTransitionProps extends ComponentProps<"div"> {
1024
1058
  }
1025
- declare function SizeTransition({ children, className, ...props }: SizeTransitionProps): react_jsx_runtime.JSX.Element;
1059
+ declare function SizeTransition({ children, className, disableInitialAnimation, ...props }: SizeTransitionProps & {
1060
+ disableInitialAnimation?: boolean;
1061
+ }): react_jsx_runtime.JSX.Element;
1026
1062
 
1027
1063
  interface CollapsibleMenuProps {
1028
1064
  menuRef: React.MutableRefObject<HTMLDivElement | null>;
@@ -1324,7 +1360,7 @@ interface ToastProps {
1324
1360
  }
1325
1361
  declare function Toast({ headerContent, actionsContent, description, chipLabel, title, }: ToastProps): react_jsx_runtime.JSX.Element;
1326
1362
 
1327
- interface Token$2 {
1363
+ interface Token$3 {
1328
1364
  address: string;
1329
1365
  name: string;
1330
1366
  symbol: string;
@@ -1340,7 +1376,7 @@ type Timeframe = "1H" | "1D" | "1W" | "1Y";
1340
1376
  interface TokenDetailsViewProps {
1341
1377
  isOpen: boolean;
1342
1378
  onClose: () => void;
1343
- token: Token$2;
1379
+ token: Token$3;
1344
1380
  chain: Chain;
1345
1381
  tokenPrice: string;
1346
1382
  priceChange: string | number;
@@ -1402,151 +1438,18 @@ interface TransactionFiltersProps {
1402
1438
  }
1403
1439
  declare function TransactionFilters({ chainType, setChainType, chain, setChain, fromDate, setFromDate, toDate, setToDate, status, setStatus, chains, }: TransactionFiltersProps): react_jsx_runtime.JSX.Element;
1404
1440
 
1405
- interface BridgeHeaderProps {
1406
- tokenLogoURI: string;
1407
- chainLogoURI: string;
1408
- title?: string;
1409
- hash: string;
1410
- url?: string;
1411
- status: ActionStatus;
1412
- }
1413
- declare function BridgeHeader({ tokenLogoURI, chainLogoURI, title, hash, url, status, }: BridgeHeaderProps): react_jsx_runtime.JSX.Element;
1414
-
1415
- interface BuyNFTHeaderProps {
1416
- imageUrl: string;
1417
- title?: string;
1418
- hash: string;
1419
- url?: string;
1420
- status: ActionStatus;
1421
- }
1422
- declare function BuyNFTHeader({ imageUrl, title, hash, url, status, }: BuyNFTHeaderProps): react_jsx_runtime.JSX.Element;
1423
-
1424
- interface InteractionHeaderProps {
1425
- title?: string;
1426
- image?: ReactNode;
1427
- hash: string;
1428
- url?: string;
1429
- status: ActionStatus;
1430
- }
1431
- declare function InteractionHeader({ title, image, hash, url, status, }: InteractionHeaderProps): react_jsx_runtime.JSX.Element;
1432
-
1433
- interface ProfileHeaderProps {
1434
- imageUrl: string;
1435
- title: string;
1436
- wallet: {
1437
- imageURI: string;
1438
- address: string;
1439
- };
1440
- amount: string;
1441
- }
1442
- declare function ProfileHeader({ imageUrl, title, wallet, amount, }: ProfileHeaderProps): react_jsx_runtime.JSX.Element;
1443
-
1444
- interface SwapHeaderProps {
1445
- fromToken: {
1446
- logoURI: string;
1447
- bgColor: string;
1448
- };
1449
- toToken: {
1450
- logoURI: string;
1451
- bgColor: string;
1452
- };
1453
- title?: string;
1454
- hash: string;
1455
- url?: string;
1456
- status: ActionStatus;
1457
- }
1458
- declare function SwapHeader({ fromToken, toToken, title, hash, url, status, }: SwapHeaderProps): react_jsx_runtime.JSX.Element;
1459
-
1460
- declare const headerComponentsMap: {
1461
- readonly swap: typeof SwapHeader;
1462
- readonly buy_nft: typeof BuyNFTHeader;
1463
- readonly interaction: typeof InteractionHeader;
1464
- readonly bridge: typeof BridgeHeader;
1465
- readonly profile: typeof ProfileHeader;
1466
- };
1467
- type TransactionHeaderComponents = typeof headerComponentsMap;
1468
- type TransactionHeaderType = keyof TransactionHeaderComponents;
1469
- type TransactionHeaderProps = {
1470
- [Type in TransactionHeaderType]: {
1471
- type: Type;
1472
- props: ComponentProps<TransactionHeaderComponents[Type]>;
1473
- };
1474
- }[TransactionHeaderType];
1475
- declare function TransactionHeader({ type, props }: TransactionHeaderProps): react_jsx_runtime.JSX.Element;
1476
-
1477
- interface TransactionHeaderLayoutProps {
1478
- isLoading?: boolean;
1441
+ interface BaseTransactionHeaderLayoutProps {
1479
1442
  status?: ActionStatus;
1480
1443
  title?: string;
1481
- image?: ReactNode;
1444
+ media?: ReactNode;
1482
1445
  children?: ReactNode;
1483
1446
  }
1484
- declare function TransactionHeaderLayout({ isLoading, status, title, image, children, }: TransactionHeaderLayoutProps): react_jsx_runtime.JSX.Element;
1485
-
1486
- interface BridgePropertiesProps {
1487
- amount: string;
1488
- token: {
1489
- logoURI: string;
1490
- bgColor: string;
1491
- symbol: string;
1492
- };
1493
- fromChain: {
1494
- logoURI: string;
1495
- name: string;
1496
- };
1497
- toChain: {
1498
- logoURI: string;
1499
- name: string;
1500
- };
1501
- wallet: string;
1502
- boosted?: boolean;
1503
- timeToComplete: string;
1504
- }
1505
- declare function BridgeProperties({ amount, token, fromChain, toChain, wallet, boosted, timeToComplete, }: BridgePropertiesProps): react_jsx_runtime.JSX.Element;
1506
-
1507
- interface BuyNFTPropertiesProps {
1508
- title: string;
1509
- imageURI: string;
1510
- collection: {
1511
- imageURI: string;
1512
- name: string;
1513
- };
1514
- price: string;
1515
- token: {
1516
- logoURI: string;
1517
- symbol: string;
1518
- };
1519
- marketplace: {
1520
- logoURI: string;
1521
- name: string;
1522
- };
1523
- fromChain: {
1524
- logoURI: string;
1525
- name: string;
1526
- };
1527
- toChain: {
1528
- logoURI: string;
1529
- name: string;
1530
- };
1531
- fromAddress: string;
1532
- toAddress: string;
1533
- boosted?: boolean;
1534
- timeToComplete: string;
1535
- tokenId: string;
1536
- nftType: string;
1537
- }
1538
- declare function BuyNFTProperties({ title, imageURI, collection, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, tokenId, nftType, }: BuyNFTPropertiesProps): react_jsx_runtime.JSX.Element;
1539
-
1540
- interface InteractionPropertiesProps {
1541
- chain: {
1542
- logoURI: string;
1543
- name: string;
1544
- };
1545
- wallet: string;
1546
- boosted?: boolean;
1547
- timeToComplete: string;
1548
- }
1549
- declare function InteractionProperties({ chain, wallet, boosted, timeToComplete, }: InteractionPropertiesProps): react_jsx_runtime.JSX.Element;
1447
+ type TransactionHeaderLayoutProps = (BaseTransactionHeaderLayoutProps & {
1448
+ isLoading: true;
1449
+ }) | (Required<BaseTransactionHeaderLayoutProps> & {
1450
+ isLoading?: false;
1451
+ });
1452
+ declare function TransactionHeaderLayout({ isLoading, status, title, media, children, }: TransactionHeaderLayoutProps): react_jsx_runtime.JSX.Element;
1550
1453
 
1551
1454
  interface PropertiesLayoutProps {
1552
1455
  children?: ReactNode;
@@ -1554,51 +1457,6 @@ interface PropertiesLayoutProps {
1554
1457
  }
1555
1458
  declare function PropertiesLayout({ children, className, }: PropertiesLayoutProps): react_jsx_runtime.JSX.Element;
1556
1459
 
1557
- interface SwapPropertiesProps {
1558
- fromAmount: string;
1559
- fromToken: {
1560
- logoURI: string;
1561
- bgColor: string;
1562
- symbol: string;
1563
- };
1564
- toAmount: string;
1565
- toToken: {
1566
- logoURI: string;
1567
- bgColor: string;
1568
- symbol: string;
1569
- };
1570
- fromChain: {
1571
- logoURI: string;
1572
- name: string;
1573
- };
1574
- toChain: {
1575
- logoURI: string;
1576
- name: string;
1577
- };
1578
- fromAddress: string;
1579
- toAddress: string;
1580
- exchangeRate: string;
1581
- boosted?: boolean;
1582
- timeToComplete: string;
1583
- }
1584
- declare function SwapProperties({ fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, boosted, timeToComplete, }: SwapPropertiesProps): react_jsx_runtime.JSX.Element;
1585
-
1586
- declare const propertiesComponentsMap: {
1587
- readonly swap: typeof SwapProperties;
1588
- readonly buy_nft: typeof BuyNFTProperties;
1589
- readonly interaction: typeof InteractionProperties;
1590
- readonly bridge: typeof BridgeProperties;
1591
- };
1592
- type TransactionPropertiesComponents = typeof propertiesComponentsMap;
1593
- type TransactionPropertiesType = keyof TransactionPropertiesComponents;
1594
- type TransactionPropertiesProps = {
1595
- [Type in TransactionPropertiesType]: {
1596
- type: Type;
1597
- props: ComponentProps<TransactionPropertiesComponents[Type]>;
1598
- };
1599
- }[TransactionPropertiesType];
1600
- declare function TransactionProperties({ type, props, }: TransactionPropertiesProps): react_jsx_runtime.JSX.Element;
1601
-
1602
1460
  interface TransactionSearchProps {
1603
1461
  query: string;
1604
1462
  setQuery: (query: string) => void;
@@ -2196,32 +2054,49 @@ declare function TransactionAction({ type, props }: TransactionActionProps): rea
2196
2054
 
2197
2055
  declare function linkActionTimelineProps(actions: TransactionActionProps[], collapsed: boolean): TransactionActionProps[];
2198
2056
 
2199
- type TransactionItemVariant = "compact" | "full";
2200
- interface TransactionItemType {
2201
- icon?: ReactNode;
2202
- name: string;
2057
+ interface Token$2 {
2058
+ symbol: string;
2059
+ bgColor: string;
2060
+ logoURI: string;
2203
2061
  }
2204
- interface TransactionItemProps {
2205
- className?: string;
2206
- isLoading?: boolean;
2207
- status?: ActionStatus;
2208
- image?: ReactNode;
2209
- type?: TransactionItemType;
2210
- hash?: string;
2211
- fromChain?: {
2062
+ interface NFT$1 {
2063
+ imageUrl: string;
2064
+ }
2065
+ interface BaseTransactionItemProps {
2066
+ status: ActionStatus;
2067
+ type: TransactionType;
2068
+ hash: string;
2069
+ toToken: Token$2;
2070
+ fromToken: Token$2;
2071
+ fromChain: {
2212
2072
  logoURI: string;
2213
2073
  name: string;
2214
2074
  };
2215
- toChain?: {
2075
+ toChain: {
2216
2076
  logoURI: string;
2217
2077
  name: string;
2218
2078
  };
2219
- fromAmount?: string;
2220
- toAmount?: string;
2221
- timestamp?: number;
2222
- variant?: TransactionItemVariant;
2079
+ fromAmount: string;
2080
+ toAmount: string;
2081
+ timestamp: number;
2082
+ }
2083
+ interface SwapTransactionProps extends BaseTransactionItemProps {
2084
+ type: "swap";
2085
+ }
2086
+ interface BuyNFTTransactionProps extends Omit<BaseTransactionItemProps, "toToken"> {
2087
+ type: "buy_nft";
2088
+ toToken: {
2089
+ symbol: string;
2090
+ };
2091
+ nft: NFT$1;
2092
+ }
2093
+ interface BridgeTransactionProps extends BaseTransactionItemProps {
2094
+ type: "bridge";
2223
2095
  }
2224
- declare function TransactionItem({ className, isLoading, status, image, type, hash, fromChain, toChain, fromAmount, toAmount, timestamp, variant, }: TransactionItemProps): react_jsx_runtime.JSX.Element;
2096
+ type TransactionItemProps = SwapTransactionProps | BuyNFTTransactionProps | BridgeTransactionProps;
2097
+ declare const TransactionItem: (props: TransactionItemProps) => react_jsx_runtime.JSX.Element;
2098
+
2099
+ declare const TransactionItemSkeleton: () => react_jsx_runtime.JSX.Element;
2225
2100
 
2226
2101
  type TabSize = "small" | "large";
2227
2102
  interface TabsProps {
@@ -2336,22 +2211,31 @@ declare function SwapProgressView({ steps, isOpen, handleClose, handleComplete,
2336
2211
  isSendTransaction?: boolean;
2337
2212
  }): react_jsx_runtime.JSX.Element;
2338
2213
 
2214
+ interface NFT {
2215
+ imageUrl: string;
2216
+ name: string;
2217
+ imageURI: string;
2218
+ collection: {
2219
+ name: string;
2220
+ imageURI: string;
2221
+ };
2222
+ tokenID: string;
2223
+ nftType: string;
2224
+ }
2225
+ interface Collection {
2226
+ image: string;
2227
+ name: string;
2228
+ }
2339
2229
  interface BaseTransactionViewProps {
2340
2230
  title?: string;
2341
2231
  hash: string;
2342
2232
  status: ActionStatus;
2343
2233
  url?: string;
2344
- actions: TransactionActionProps[];
2234
+ actions?: TransactionActionProps[];
2345
2235
  fees: FeesActionProps;
2346
2236
  }
2347
2237
 
2348
- interface BuyNFTTTransactionViewProps extends BaseTransactionViewProps {
2349
- title: string;
2350
- imageURI: string;
2351
- collection: {
2352
- imageURI: string;
2353
- name: string;
2354
- };
2238
+ interface BaseBuyNFTTransactionViewProps extends BaseTransactionViewProps {
2355
2239
  price: string;
2356
2240
  token: {
2357
2241
  logoURI: string;
@@ -2372,14 +2256,18 @@ interface BuyNFTTTransactionViewProps extends BaseTransactionViewProps {
2372
2256
  fromAddress: string;
2373
2257
  toAddress: string;
2374
2258
  boosted?: boolean;
2375
- tokenId: string;
2376
- nftType: string;
2259
+ nft: NFT;
2377
2260
  timeToComplete: string;
2378
2261
  }
2379
- declare function BuyNFTTransactionView({ title, hash, status, url, imageURI, collection, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, tokenId, nftType, actions, fees, }: BuyNFTTTransactionViewProps): react_jsx_runtime.JSX.Element;
2262
+ type BuyNFTTransactionViewProps = (BaseBuyNFTTransactionViewProps & {
2263
+ isLoading?: false;
2264
+ }) | (Partial<BaseBuyNFTTransactionViewProps> & {
2265
+ isLoading: true;
2266
+ });
2267
+ declare function BuyNFTTransactionView({ title, hash, status, url, price, token, marketplace, fromChain, toChain, fromAddress, toAddress, boosted, timeToComplete, nft, actions, fees, isLoading, }: BuyNFTTransactionViewProps): react_jsx_runtime.JSX.Element;
2380
2268
 
2381
- interface InteractionTTransactionViewProps extends BaseTransactionViewProps {
2382
- image?: ReactNode;
2269
+ interface BaseInteractionTransactionViewProps extends BaseTransactionViewProps {
2270
+ image: ReactNode;
2383
2271
  chain: {
2384
2272
  logoURI: string;
2385
2273
  name: string;
@@ -2388,9 +2276,14 @@ interface InteractionTTransactionViewProps extends BaseTransactionViewProps {
2388
2276
  boosted?: boolean;
2389
2277
  timeToComplete: string;
2390
2278
  }
2391
- declare function InteractionTransactionView({ title, hash, status, url, image, chain, address, boosted, timeToComplete, actions, fees, }: InteractionTTransactionViewProps): react_jsx_runtime.JSX.Element;
2279
+ type InteractionTransactionViewProps = (BaseInteractionTransactionViewProps & {
2280
+ isLoading?: false;
2281
+ }) | (Partial<BaseInteractionTransactionViewProps> & BaseTransactionViewProps & {
2282
+ isLoading: true;
2283
+ });
2284
+ declare function InteractionTransactionView({ title, hash, status, url, chain, address, boosted, timeToComplete, actions, fees, isLoading, }: InteractionTransactionViewProps): react_jsx_runtime.JSX.Element;
2392
2285
 
2393
- interface SwapTransactionViewProps extends BaseTransactionViewProps {
2286
+ interface BaseSwapTransactionViewProps extends BaseTransactionViewProps {
2394
2287
  fromAmount: string;
2395
2288
  fromToken: {
2396
2289
  logoURI: string;
@@ -2417,9 +2310,14 @@ interface SwapTransactionViewProps extends BaseTransactionViewProps {
2417
2310
  boosted?: boolean;
2418
2311
  timeToComplete: string;
2419
2312
  }
2420
- declare function SwapTransactionView({ title, hash, status, url, fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, boosted, timeToComplete, actions, fees, }: SwapTransactionViewProps): react_jsx_runtime.JSX.Element;
2313
+ type SwapTransactionViewProps = (BaseSwapTransactionViewProps & {
2314
+ isLoading?: false;
2315
+ }) | (Partial<Omit<BaseSwapTransactionViewProps, keyof BaseTransactionViewProps>> & BaseTransactionViewProps & {
2316
+ isLoading: true;
2317
+ });
2318
+ declare function SwapTransactionView({ title, hash, status, url, fromAmount, fromToken, toAmount, toToken, fromChain, toChain, fromAddress, toAddress, exchangeRate, boosted, timeToComplete, actions, fees, isLoading, }: SwapTransactionViewProps): react_jsx_runtime.JSX.Element;
2421
2319
 
2422
- interface BridgeTransactionViewProps extends BaseTransactionViewProps {
2320
+ interface BaseBridgeTransactionViewProps extends BaseTransactionViewProps {
2423
2321
  amount: string;
2424
2322
  token: {
2425
2323
  logoURI: string;
@@ -2429,16 +2327,23 @@ interface BridgeTransactionViewProps extends BaseTransactionViewProps {
2429
2327
  fromChain: {
2430
2328
  logoURI: string;
2431
2329
  name: string;
2330
+ bgColor: string;
2432
2331
  };
2433
2332
  toChain: {
2434
2333
  logoURI: string;
2435
2334
  name: string;
2335
+ bgColor: string;
2436
2336
  };
2437
2337
  address: string;
2438
2338
  boosted?: boolean;
2439
2339
  timeToComplete: string;
2440
2340
  }
2441
- declare function BridgeTransactionView({ title, hash, status, url, amount, token, fromChain, toChain, address, actions, fees, boosted, timeToComplete, }: BridgeTransactionViewProps): react_jsx_runtime.JSX.Element;
2341
+ type BridgeTransactionViewProps = (BaseBridgeTransactionViewProps & {
2342
+ isLoading?: false;
2343
+ }) | (Partial<BaseBridgeTransactionViewProps> & BaseTransactionViewProps & {
2344
+ isLoading: true;
2345
+ });
2346
+ declare function BridgeTransactionView({ title, hash, status, url, amount, token, fromChain, toChain, address, actions, fees, boosted, timeToComplete, isLoading, }: BridgeTransactionViewProps): react_jsx_runtime.JSX.Element;
2442
2347
 
2443
2348
  declare const componentMap: {
2444
2349
  readonly swap: typeof SwapTransactionView;
@@ -2447,14 +2352,18 @@ declare const componentMap: {
2447
2352
  readonly bridge: typeof BridgeTransactionView;
2448
2353
  };
2449
2354
  type TransactionViewComponents = typeof componentMap;
2450
- type TransactionViewType = keyof TransactionViewComponents;
2451
2355
  type TransactionViewProps = {
2452
- [Type in TransactionViewType]: {
2356
+ [Type in TransactionType]: {
2453
2357
  type: Type;
2454
- props: ComponentProps<TransactionViewComponents[Type]>;
2358
+ isLoading?: false;
2359
+ data: ComponentProps<TransactionViewComponents[Type]>;
2360
+ } | {
2361
+ type: Type;
2362
+ isLoading: true;
2363
+ data?: Partial<ComponentProps<TransactionViewComponents[Type]>>;
2455
2364
  };
2456
- }[TransactionViewType];
2457
- declare function TransactionView({ type, props }: TransactionViewProps): react_jsx_runtime.JSX.Element;
2365
+ }[TransactionType];
2366
+ declare function TransactionView({ type, isLoading, data, }: TransactionViewProps): react_jsx_runtime.JSX.Element | null;
2458
2367
 
2459
2368
  interface TransactionViewLayoutProps extends ComponentProps<"div"> {
2460
2369
  isLoading?: boolean;
@@ -2465,6 +2374,8 @@ interface TransactionViewLayoutProps extends ComponentProps<"div"> {
2465
2374
  }
2466
2375
  declare function TransactionViewLayout({ isLoading, header, properties, actions, fees, ...props }: TransactionViewLayoutProps): react_jsx_runtime.JSX.Element;
2467
2376
 
2377
+ declare const TransactionNotFoundView: () => react_jsx_runtime.JSX.Element;
2378
+
2468
2379
  interface ThemeProviderProps extends React.ComponentProps<"div"> {
2469
2380
  theme?: Theme;
2470
2381
  children?: React.ReactNode;
@@ -16624,4 +16535,4 @@ declare const transactionRejectedAnimation: {
16624
16535
  markers: never[];
16625
16536
  };
16626
16537
 
16627
- export { ANIMATION_DURATIONS, AccountListItem, AccountsButton, type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, AddressHeader, type AllOrNone, AnimateNumber, AnimationCard, AnimationWrapper, Announcement, type AnnouncementProps, AppContainer, ApplePayIcon, Approve, ApproveAction, ArrowBottomTopIcon, ArrowButton, ArrowCornerDownRightIcon, ArrowDownIcon, ArrowExpandIcon, ArrowLeftIcon, ArrowOutOfBoxIcon, ArrowRightDownCircleIcon, ArrowRightDownIcon, ArrowRightIcon, ArrowRightUpCircleIcon, ArrowRightUpIcon, ArrowRotate, ArrowSplit, ArrowTriangle, ArrowUpIcon, ArrowWallDownIcon, ArrowsSwapIcon, AssetsButton, type AssetsButtonVariant, AtomIcon, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BellAlarmIcon, BlockSkeleton, BodyText, BoostBadge, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BrokenHeartIcon, BubblesIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, BuyNFTHeader, BuyNFTProperties, BuyNFTTransactionView, CSS_VARS, Calendar, CaptionText, CatSquareIcon, CelebrateIcon, ChainLink, Checkmark1Icon, Checkmark2Icon, ChevronArrowIcon, ChevronDownSmallIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleCheckIcon, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon, ClockOutlineIcon, ClockSolidIcon, CodeBracketsIcon, CodeSolidSquareIcon, CoinsAddIcon, CoinsIcon, CoinsOutlinedIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CommandIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy2Icon, CopyOutlinedIcon, CreditCardIcon, CrossAnimatedIcon, CrossedOutSunSolidIcon, DashboardFast, type DeepPartial, DepositAddressView, type DescriptionBlock, 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, FarcasterIcon, FavouriteFilterIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FileDownloadIcon, FilledHeartIcon, FilterAscendingIcon, FilterButton, FilterIcon, FilterTimelineIcon, GasIcon, GhostIcon, GithubIcon, GooglePayIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HighestPriceRangeIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, type IconButtonProps, IconLabel, Image, ImageGroup, ImageIcon, type ImageProps, ImageSparkle, ImageStack, ImageState, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, LaptopIcon, LargeNumericInput, LimitIcon, LinkIcon, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, LoadingText, MEDIA_QUERIES, MarketCapIcon, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, ModalTitle, MoneyBagIcon, MoonIcon, NavigationBar, NewsIcon, NewspaperIcon, NotAllowedIcon, NumericInput, type NumericInputProps, PathSquareIcon, PauseIcon, PercentIcon, PhoneIcon, PieChartIcon, PipeSeparator, PluginIcon, PlusIcon, PoopIcon, PowerIcon, PriceChange, ProductCard, ProfileHeader, PropertiesLayout, PropertyListItem, type PropertyListItemProps, type Props$1 as Props, type PublicTheme, PunkIcon, QrCode, QrCodeIcon, QrCodeModal, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RefreshIcon, ReorderIcon, RouteStep, STEP_ITEM_HEIGHT, SearchIcon, SectionTitle, SendTokensAction, type Settings, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsGearIcon, SettingsItem, type SettingsItemProps, SettingsSlider, SettingsSliderIcon, type SettingsSliderProps, ShoppingBagIcon, SizeTransition, SmileFilledIcon, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidLogo, StakeAction, StarLinesIcon, StartAction, StocksIcon, SuccessAction, SunIcon, SunOutlinedIcon, SunriseIcon, SunriseSmallIcon, SwapAction, SwapConfiguration, SwapErrorIcon, SwapHeader, type SwapHeaderProps, SwapIcon, SwapInputsIcon, SwapProgressView, SwapProperties, type SwapPropertiesProps, SwapState, type SwapStep, SwapStepItem, SwapStepSeparator, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, SwapSuccessIcon, SwapTransactionView, SwapWarningIcon, Switch, type SwitchProps, Tab, Tabs, TagIcon, TagIconFilled, TelegramIcon, TextSkeleton, type Theme, ThemePreference, ThemeProvider, type ThemeType, ThumbsUp, Tick, TimeFliesIcon, type Timeframe, Timeline, Timestamp, Toast, type Token$3 as Token, TokenDetailsView, TokenGroup, type TokenGroupProps, type TokenGroupVariant, TokenGroups, 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, TxProgressViewHeader, UnsupportedPairNotice, UsdAmount, UserInputType, WalletFilledIcon, WalletIcon, WalletLink, WrapAction, XSocialIcon, adjustColorForContrast, baseTailwindConfig, blendColors, buttonRoundedClassMap, cn, darkTheme, getColorBrightness, getContrastColor, getHexColorFromOpacityPercentage, hexToRgb, isValidHexColor, lightTheme, linkActionTimelineProps, parseColor, parseSquidTheme, pxToRem, remToPx, rgbToHex, spacing, statusTextClassMap, themeKeysToCssVariables, transactionErrorPauseAnimation, transactionFailureAnimation, transactionHalfSuccessAnimation, transactionPendingAnimation, transactionProcessingAnimation, transactionRejectedAnimation, transactionSuccessAnimation, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useNumericInput, useOnResize, useRect, useTimer, useUserTheme, useVersion };
16538
+ export { ANIMATION_DURATIONS, AccountListItem, AccountsButton, type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, AddressHeader, type AllOrNone, AnimateNumber, AnimationCard, AnimationWrapper, Announcement, type AnnouncementProps, AppContainer, ApplePayIcon, Approve, ApproveAction, ArrowBottomTopIcon, ArrowButton, ArrowCornerDownRightIcon, ArrowDownIcon, ArrowExpandIcon, ArrowLeftIcon, ArrowOutOfBoxIcon, ArrowRightDownCircleIcon, ArrowRightDownIcon, ArrowRightIcon, ArrowRightUpCircleFilledIcon, ArrowRightUpCircleIcon, ArrowRightUpIcon, ArrowRotate, ArrowSplit, ArrowTriangle, ArrowUpIcon, ArrowWallDownIcon, ArrowsSwapIcon, AssetsButton, type AssetsButtonVariant, AtomIcon, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BellAlarmIcon, BlockSkeleton, BodyText, BoostBadge, BorderedContainer, Breadcrumb, BridgeAction, BrokenHeartIcon, BubblesIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, BuyNFTTransactionView, CSS_VARS, Calendar, CaptionText, Card, CatSquareIcon, CelebrateIcon, ChainLink, Checkmark1Icon, Checkmark2Icon, ChevronArrowIcon, ChevronDownSmallIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleCheckIcon, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon, ClockOutlineIcon, ClockSolidIcon, CodeBracketsIcon, CodeSolidSquareIcon, CoinsAddIcon, CoinsIcon, CoinsOutlinedIcon, Collapse, CollapsibleMenu, type Collection, CollectionIcon, ColorPaletteIcon, CommandIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy2Icon, CopyOutlinedIcon, CreditCardIcon, CrossAnimatedIcon, CrossedOutSunSolidIcon, DashboardFast, type DeepPartial, DepositAddressView, type DescriptionBlock, DescriptionBlocks, DetailsToolbar, DiscordIcon, DockIconAnalytics, DockIconCheckout, DockIconHelp, DockIconProfile, DockIconScan, DockIconSwap, DockSwapIcon, DollarOutlinedIcon, DollarSolidIcon, DotGrid1x3HorizontalIcon, Drip, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuTitle, type DropdownPosition, type DropdownStyles, EmojiMeh, EmojiSadIcon, EmptyHeartIcon, ErrorMessage, EthereumIcon, ExplosionIcon, EyeOpenIcon, FarcasterIcon, FavouriteFilterIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FileDownloadIcon, FilledHeartIcon, FilterAscendingIcon, FilterButton, FilterIcon, FilterTimelineIcon, GasIcon, GhostCircleIcon, GhostIcon, GithubIcon, GooglePayIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HighestPriceRangeIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, type IconButtonProps, IconLabel, Image, ImageGroup, ImageIcon, type ImageProps, ImageSparkle, ImageStack, ImageState, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionTransactionView, Join, LaptopIcon, LargeNumericInput, LimitIcon, LinkIcon, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, LoadingText, MEDIA_QUERIES, MarketCapIcon, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, ModalTitle, MoneyBagIcon, MoonIcon, type NFT, NavigationBar, NewsIcon, NewspaperIcon, NotAllowedIcon, NumericInput, type NumericInputProps, PathSquareIcon, PauseIcon, PercentIcon, PhoneIcon, PieChartIcon, PipeSeparator, PluginIcon, PlusIcon, PoopIcon, PowerIcon, PriceChange, ProductCard, PropertiesLayout, PropertyListItem, type PropertyListItemProps, type Props$1 as Props, type PublicTheme, PunkIcon, QrCode, QrCodeIcon, QrCodeModal, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RefreshIcon, ReorderIcon, RouteStep, STEP_ITEM_HEIGHT, SearchIcon, SectionTitle, SendTokensAction, type Settings, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsGearIcon, SettingsItem, type SettingsItemProps, SettingsSlider, SettingsSliderIcon, type SettingsSliderProps, ShoppingBagIcon, SizeTransition, SmileFilledIcon, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidLogo, StakeAction, StarLinesIcon, StartAction, StocksIcon, SuccessAction, SunIcon, SunOutlinedIcon, SunriseIcon, SunriseSmallIcon, SwapAction, SwapConfiguration, SwapErrorIcon, SwapIcon, SwapInputsIcon, SwapProgressView, SwapState, type SwapStep, SwapStepItem, SwapStepSeparator, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, SwapSuccessIcon, SwapTransactionView, type SwapTransactionViewProps, SwapWarningIcon, Switch, type SwitchProps, Tab, Tabs, TagIcon, TagIconFilled, TelegramIcon, TextSkeleton, type Theme, ThemePreference, ThemeProvider, type ThemeType, ThumbsUp, Tick, TimeFliesIcon, type Timeframe, Timeline, Timestamp, Toast, TokenDetailsView, TokenGroup, type TokenGroupProps, type TokenGroupVariant, TokenGroups, TokenPair, Tooltip, type TooltipProps, type TooltipThreshold, type TooltipWidth, TradingViewStepsIcon, TransactionAction, type TransactionActionProps, type TransactionActionType, TransactionFilters, TransactionHeaderLayout, TransactionItem, type TransactionItemProps, TransactionItemSkeleton, TransactionNotFoundView, TransactionSearch, TransactionState, TransactionView, TransactionViewLayout, type TransactionViewProps, Transfer, TranslateIcon, TriangleExclamation, TxProgressViewHeader, UnsupportedPairNotice, UsdAmount, UserInputType, WalletFilledIcon, WalletIcon, WalletLink, WrapAction, XSocialIcon, adjustColorForContrast, baseTailwindConfig, blendColors, buttonRoundedClassMap, cn, darkTheme, getColorBrightness, getContrastColor, getHexColorFromOpacityPercentage, hexToRgb, isValidHexColor, lightTheme, linkActionTimelineProps, parseColor, parseSquidTheme, pxToRem, remToPx, rgbToHex, spacing, statusTextClassMap, themeKeysToCssVariables, transactionErrorPauseAnimation, transactionFailureAnimation, transactionHalfSuccessAnimation, transactionPendingAnimation, transactionProcessingAnimation, transactionRejectedAnimation, transactionSuccessAnimation, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useNumericInput, useOnResize, useRect, useTimer, useUserTheme, useVersion };
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "git+https://github.com/0xsquid/squid-ui.git"
6
6
  },
7
7
  "description": "Squid's UI components",
8
- "version": "3.0.2",
8
+ "version": "3.1.0",
9
9
  "author": "",
10
10
  "license": "MIT",
11
11
  "resolutions": {
@@ -29,12 +29,12 @@
29
29
  "test": "vitest"
30
30
  },
31
31
  "dependencies": {
32
- "@lottiefiles/react-lottie-player": "3.5.0",
33
32
  "bignumber.js": "9.1.2",
34
33
  "clsx": "2.1.1",
35
34
  "color": "4.2.3",
36
35
  "date-fns": "^3.6.0",
37
36
  "deepmerge": "4.3.1",
37
+ "lottie-react": "^2.4.1",
38
38
  "motion": "^12.12.1",
39
39
  "react-day-picker": "^8.10.1",
40
40
  "react-device-detect": "2.2.3",
@@ -58,7 +58,6 @@
58
58
  "@rollup/plugin-json": "6.1.0",
59
59
  "@rollup/plugin-node-resolve": "^15.2.3",
60
60
  "@rollup/plugin-typescript": "^11.1.6",
61
- "rollup-plugin-copy": "^3.5.0",
62
61
  "@storybook/addon-essentials": "^8.0.1",
63
62
  "@storybook/addon-interactions": "^8.0.1",
64
63
  "@storybook/addon-links": "^8.0.1",
@@ -88,6 +87,7 @@
88
87
  "prettier-plugin-tailwindcss": "0.5.12",
89
88
  "release-it": "17.2.1",
90
89
  "rollup": "^4.17.2",
90
+ "rollup-plugin-copy": "^3.5.0",
91
91
  "rollup-plugin-dts": "^6.1.0",
92
92
  "rollup-plugin-peer-deps-external": "^2.2.4",
93
93
  "rollup-plugin-postcss": "4.0.2",
@@ -1,11 +0,0 @@
1
- import { type ActionStatus } from "../../../types/components";
2
- interface BridgeHeaderProps {
3
- tokenLogoURI: string;
4
- chainLogoURI: string;
5
- title?: string;
6
- hash: string;
7
- url?: string;
8
- status: ActionStatus;
9
- }
10
- export declare function BridgeHeader({ tokenLogoURI, chainLogoURI, title, hash, url, status, }: BridgeHeaderProps): import("react/jsx-runtime").JSX.Element;
11
- export {};