@0xsquid/ui 2.2.3 → 2.2.4

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 (25) hide show
  1. package/dist/cjs/index.js +270 -177
  2. package/dist/cjs/types/components/badges/BadgeImage.d.ts +1 -1
  3. package/dist/cjs/types/components/icons/FavouriteFilterIcon.d.ts +4 -0
  4. package/dist/cjs/types/components/icons/MarketIcons.d.ts +8 -0
  5. package/dist/cjs/types/components/icons/index.d.ts +5 -3
  6. package/dist/cjs/types/components/layout/TokenDetailsView.d.ts +39 -0
  7. package/dist/cjs/types/components/layout/index.d.ts +3 -2
  8. package/dist/cjs/types/components/typography/BodyText.d.ts +5 -1
  9. package/dist/cjs/types/components/typography/CaptionText.d.ts +7 -2
  10. package/dist/cjs/types/services/internal/colorService.d.ts +2 -1
  11. package/dist/cjs/types/stories/layout/TokenDetailsView.stories.d.ts +13 -0
  12. package/dist/esm/index.js +266 -178
  13. package/dist/esm/types/components/badges/BadgeImage.d.ts +1 -1
  14. package/dist/esm/types/components/icons/FavouriteFilterIcon.d.ts +4 -0
  15. package/dist/esm/types/components/icons/MarketIcons.d.ts +8 -0
  16. package/dist/esm/types/components/icons/index.d.ts +5 -3
  17. package/dist/esm/types/components/layout/TokenDetailsView.d.ts +39 -0
  18. package/dist/esm/types/components/layout/index.d.ts +3 -2
  19. package/dist/esm/types/components/typography/BodyText.d.ts +5 -1
  20. package/dist/esm/types/components/typography/CaptionText.d.ts +7 -2
  21. package/dist/esm/types/services/internal/colorService.d.ts +2 -1
  22. package/dist/esm/types/stories/layout/TokenDetailsView.stories.d.ts +13 -0
  23. package/dist/index.css +1 -1
  24. package/dist/index.d.ts +199 -137
  25. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -20,7 +20,7 @@ interface BadgeImageProps {
20
20
  */
21
21
  placeholderImageUrl?: string;
22
22
  }
23
- type BadgeSize = "sm" | "md";
23
+ type BadgeSize = "sm" | "md" | "lg";
24
24
  declare function BadgeImage({ imageUrl: _imageUrl, badgeUrl, size, extraMarginForBadge, rounded, placeholderImageUrl, }: BadgeImageProps): react_jsx_runtime.JSX.Element | null;
25
25
 
26
26
  type TextSize = "small" | "medium" | "large";
@@ -167,13 +167,13 @@ interface TooltipProps {
167
167
  }
168
168
  declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
169
169
 
170
- interface Token$1 {
170
+ interface Token$2 {
171
171
  price: number;
172
172
  symbol: string;
173
173
  decimals: number;
174
174
  }
175
175
  interface NumericInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
176
- token: Token$1;
176
+ token: Token$2;
177
177
  onAmountChange: (tokenAmount: string) => void;
178
178
  forcedAmount?: string;
179
179
  formatIfVerySmall?: {
@@ -496,11 +496,28 @@ declare function Copy({ size, strokeWidth, ...props }: {
496
496
  strokeWidth?: string;
497
497
  } & ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
498
498
 
499
+ declare function CrossAnimatedIcon({ size, isOpen, transitionDuration, className, }: {
500
+ size?: number;
501
+ isOpen?: boolean;
502
+ transitionDuration?: React.CSSProperties["transitionDuration"];
503
+ className?: string;
504
+ }): react_jsx_runtime.JSX.Element;
505
+
499
506
  declare function DashboardFast({ size, className, }: {
500
507
  size?: string;
501
508
  className?: string;
502
509
  }): react_jsx_runtime.JSX.Element;
503
510
 
511
+ interface DockIconProps {
512
+ isSelected?: boolean;
513
+ }
514
+ declare function DockIconSwap({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
515
+ declare function DockIconCheckout({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
516
+ declare function DockIconScan({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
517
+ declare function DockIconAnalytics({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
518
+ declare function DockIconProfile({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
519
+ declare function DockIconHelp({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
520
+
504
521
  declare function DotGrid1x3HorizontalIcon({ className, size, }: {
505
522
  className?: string;
506
523
  size?: string;
@@ -521,8 +538,98 @@ declare function SmileIcon({ size, className, }: {
521
538
 
522
539
  declare function EthereumIcon(): react_jsx_runtime.JSX.Element;
523
540
 
541
+ declare function FavouriteFilterIcon({ size, className, }: {
542
+ size?: string;
543
+ className?: string;
544
+ }): react_jsx_runtime.JSX.Element;
545
+
524
546
  declare function FilterIcon(): react_jsx_runtime.JSX.Element;
525
547
 
548
+ declare function GhostIcon({ size, className, }: {
549
+ size?: string;
550
+ className?: string;
551
+ }): react_jsx_runtime.JSX.Element;
552
+ declare function SettingsSliderIcon({ size, className, }: {
553
+ size?: string;
554
+ className?: string;
555
+ }): react_jsx_runtime.JSX.Element;
556
+ declare function EyeOpenIcon({ size, className, }: {
557
+ size?: string;
558
+ className?: string;
559
+ }): react_jsx_runtime.JSX.Element;
560
+ declare function BellAlarmIcon({ size, className, }: {
561
+ size?: string;
562
+ className?: string;
563
+ }): react_jsx_runtime.JSX.Element;
564
+ declare function LimitIcon({ size, className, }: {
565
+ size?: string;
566
+ className?: string;
567
+ }): react_jsx_runtime.JSX.Element;
568
+ declare function PoopIcon({ size, className, }: {
569
+ size?: string;
570
+ className?: string;
571
+ }): react_jsx_runtime.JSX.Element;
572
+ declare function CatSquareIcon({ size, className, }: {
573
+ size?: string;
574
+ className?: string;
575
+ }): react_jsx_runtime.JSX.Element;
576
+ declare function FilterAscendingIcon({ size, className, }: {
577
+ size?: string;
578
+ className?: string;
579
+ }): react_jsx_runtime.JSX.Element;
580
+ declare function ImageIcon({ size, className, }: {
581
+ size?: string;
582
+ className?: string;
583
+ }): react_jsx_runtime.JSX.Element;
584
+ declare function FilterTimelineIcon({ size, className, }: {
585
+ size?: string;
586
+ className?: string;
587
+ }): react_jsx_runtime.JSX.Element;
588
+ declare function NewspaperIcon({ className, size, }: {
589
+ className?: string;
590
+ size?: string;
591
+ }): react_jsx_runtime.JSX.Element;
592
+ declare function AtomIcon({ className, size, }: {
593
+ className?: string;
594
+ size?: string;
595
+ }): react_jsx_runtime.JSX.Element;
596
+ declare function SunriseSmallIcon({ className, size, }: {
597
+ className?: string;
598
+ size?: string;
599
+ }): react_jsx_runtime.JSX.Element;
600
+ declare function CoinsOutlinedIcon({ className, size, }: {
601
+ className?: string;
602
+ size?: string;
603
+ }): react_jsx_runtime.JSX.Element;
604
+ declare function PhoneIcon({ size, className, }: {
605
+ size?: string;
606
+ className?: string;
607
+ }): react_jsx_runtime.JSX.Element;
608
+ declare function LaptopIcon({ size, className, }: {
609
+ size?: string;
610
+ className?: string;
611
+ }): react_jsx_runtime.JSX.Element;
612
+ declare function CopyIcon({ size, className, }: {
613
+ size?: string;
614
+ className?: string;
615
+ }): react_jsx_runtime.JSX.Element;
616
+ declare function FileDownloadIcon({ size, className, }: {
617
+ size?: string;
618
+ className?: string;
619
+ }): react_jsx_runtime.JSX.Element;
620
+ declare function CodeSolidSquareIcon({ size, className, }: {
621
+ size?: string;
622
+ className?: string;
623
+ }): react_jsx_runtime.JSX.Element;
624
+ declare function CodeBracketsIcon({ size, className, }: {
625
+ size?: string;
626
+ className?: string;
627
+ }): react_jsx_runtime.JSX.Element;
628
+ declare function CommandIcon({ size, className, }: {
629
+ size?: string;
630
+ className?: string;
631
+ }): react_jsx_runtime.JSX.Element;
632
+
526
633
  declare function EmptyHeartIcon({ className }: {
527
634
  className?: string;
528
635
  }): react_jsx_runtime.JSX.Element;
@@ -592,6 +699,15 @@ interface LoaderProps extends ComponentProps<"svg"> {
592
699
  }
593
700
  declare function Loader({ size, strokeWidth, className, rotateDuration, ...props }: LoaderProps): react_jsx_runtime.JSX.Element;
594
701
 
702
+ declare function MarketCapIcon({ size, className, }: {
703
+ size?: string;
704
+ className?: string;
705
+ }): react_jsx_runtime.JSX.Element;
706
+ declare function HighestPriceRangeIcon({ size, className, }: {
707
+ size?: string;
708
+ className?: string;
709
+ }): react_jsx_runtime.JSX.Element;
710
+
595
711
  declare function MaxIcon(): react_jsx_runtime.JSX.Element;
596
712
 
597
713
  declare function NotAllowedIcon(): react_jsx_runtime.JSX.Element;
@@ -697,13 +813,6 @@ declare function WalletFilledIcon({ size }: {
697
813
  size?: string;
698
814
  }): react_jsx_runtime.JSX.Element;
699
815
 
700
- declare function CrossAnimatedIcon({ size, isOpen, transitionDuration, className, }: {
701
- size?: number;
702
- isOpen?: boolean;
703
- transitionDuration?: React.CSSProperties["transitionDuration"];
704
- className?: string;
705
- }): react_jsx_runtime.JSX.Element;
706
-
707
816
  declare function SunriseIcon({ size, className, }: {
708
817
  size?: string;
709
818
  className?: string;
@@ -725,101 +834,6 @@ declare function CrossedOutSunSolidIcon({ size, className, }: {
725
834
  className?: string;
726
835
  }): react_jsx_runtime.JSX.Element;
727
836
 
728
- interface DockIconProps {
729
- isSelected?: boolean;
730
- }
731
- declare function DockIconSwap({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
732
- declare function DockIconCheckout({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
733
- declare function DockIconScan({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
734
- declare function DockIconAnalytics({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
735
- declare function DockIconProfile({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
736
- declare function DockIconHelp({ isSelected }: DockIconProps): react_jsx_runtime.JSX.Element;
737
-
738
- declare function GhostIcon({ size, className, }: {
739
- size?: string;
740
- className?: string;
741
- }): react_jsx_runtime.JSX.Element;
742
- declare function SettingsSliderIcon({ size, className, }: {
743
- size?: string;
744
- className?: string;
745
- }): react_jsx_runtime.JSX.Element;
746
- declare function EyeOpenIcon({ size, className, }: {
747
- size?: string;
748
- className?: string;
749
- }): react_jsx_runtime.JSX.Element;
750
- declare function BellAlarmIcon({ size, className, }: {
751
- size?: string;
752
- className?: string;
753
- }): react_jsx_runtime.JSX.Element;
754
- declare function LimitIcon({ size, className, }: {
755
- size?: string;
756
- className?: string;
757
- }): react_jsx_runtime.JSX.Element;
758
- declare function PoopIcon({ size, className, }: {
759
- size?: string;
760
- className?: string;
761
- }): react_jsx_runtime.JSX.Element;
762
- declare function CatSquareIcon({ size, className, }: {
763
- size?: string;
764
- className?: string;
765
- }): react_jsx_runtime.JSX.Element;
766
- declare function FilterAscendingIcon({ size, className, }: {
767
- size?: string;
768
- className?: string;
769
- }): react_jsx_runtime.JSX.Element;
770
- declare function ImageIcon({ size, className, }: {
771
- size?: string;
772
- className?: string;
773
- }): react_jsx_runtime.JSX.Element;
774
- declare function FilterTimelineIcon({ size, className, }: {
775
- size?: string;
776
- className?: string;
777
- }): react_jsx_runtime.JSX.Element;
778
- declare function NewspaperIcon({ className, size, }: {
779
- className?: string;
780
- size?: string;
781
- }): react_jsx_runtime.JSX.Element;
782
- declare function AtomIcon({ className, size, }: {
783
- className?: string;
784
- size?: string;
785
- }): react_jsx_runtime.JSX.Element;
786
- declare function SunriseSmallIcon({ className, size, }: {
787
- className?: string;
788
- size?: string;
789
- }): react_jsx_runtime.JSX.Element;
790
- declare function CoinsOutlinedIcon({ className, size, }: {
791
- className?: string;
792
- size?: string;
793
- }): react_jsx_runtime.JSX.Element;
794
- declare function PhoneIcon({ size, className, }: {
795
- size?: string;
796
- className?: string;
797
- }): react_jsx_runtime.JSX.Element;
798
- declare function LaptopIcon({ size, className, }: {
799
- size?: string;
800
- className?: string;
801
- }): react_jsx_runtime.JSX.Element;
802
- declare function CopyIcon({ size, className, }: {
803
- size?: string;
804
- className?: string;
805
- }): react_jsx_runtime.JSX.Element;
806
- declare function FileDownloadIcon({ size, className, }: {
807
- size?: string;
808
- className?: string;
809
- }): react_jsx_runtime.JSX.Element;
810
- declare function CodeSolidSquareIcon({ size, className, }: {
811
- size?: string;
812
- className?: string;
813
- }): react_jsx_runtime.JSX.Element;
814
- declare function CodeBracketsIcon({ size, className, }: {
815
- size?: string;
816
- className?: string;
817
- }): react_jsx_runtime.JSX.Element;
818
- declare function CommandIcon({ size, className, }: {
819
- size?: string;
820
- className?: string;
821
- }): react_jsx_runtime.JSX.Element;
822
-
823
837
  interface Props extends React.ComponentProps<typeof Player> {
824
838
  }
825
839
  declare const AnimationWrapper: (playerProps: Props) => react_jsx_runtime.JSX.Element;
@@ -1379,6 +1393,25 @@ interface SizeTransitionProps extends ComponentProps<"div"> {
1379
1393
  }
1380
1394
  declare function SizeTransition({ children, className, ...props }: SizeTransitionProps): react_jsx_runtime.JSX.Element;
1381
1395
 
1396
+ interface CollapsibleMenuProps {
1397
+ menuRef: React.MutableRefObject<HTMLDivElement | null>;
1398
+ size: {
1399
+ open: {
1400
+ width: string;
1401
+ height: string;
1402
+ };
1403
+ closed: {
1404
+ width: string;
1405
+ height: string;
1406
+ };
1407
+ };
1408
+ children?: React.ReactNode;
1409
+ isOpen?: boolean;
1410
+ transitionDuration?: React.CSSProperties["transitionDuration"];
1411
+ className?: string;
1412
+ }
1413
+ declare function CollapsibleMenu({ children, menuRef, isOpen, transitionDuration, size, className, }: CollapsibleMenuProps): react_jsx_runtime.JSX.Element;
1414
+
1382
1415
  interface DescriptionBlocksProps extends ComponentProps<"div"> {
1383
1416
  blocks: DescriptionBlock[] | string;
1384
1417
  }
@@ -1513,25 +1546,6 @@ declare function NavigationBar({ title, displayBackButton, logoUrl, transparent,
1513
1546
 
1514
1547
  declare function PipeSeparator(props: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1515
1548
 
1516
- interface CollapsibleMenuProps {
1517
- menuRef: React.MutableRefObject<HTMLDivElement | null>;
1518
- size: {
1519
- open: {
1520
- width: string;
1521
- height: string;
1522
- };
1523
- closed: {
1524
- width: string;
1525
- height: string;
1526
- };
1527
- };
1528
- children?: React.ReactNode;
1529
- isOpen?: boolean;
1530
- transitionDuration?: React.CSSProperties["transitionDuration"];
1531
- className?: string;
1532
- }
1533
- declare function CollapsibleMenu({ children, menuRef, isOpen, transitionDuration, size, className, }: CollapsibleMenuProps): react_jsx_runtime.JSX.Element;
1534
-
1535
1549
  declare function ProductCard({ children }: React.PropsWithChildren): react_jsx_runtime.JSX.Element;
1536
1550
  declare function BorderedContainer({ children, className, }: {
1537
1551
  children: React.ReactNode;
@@ -1613,6 +1627,53 @@ declare const SwapStepsCollapsed: react.ForwardRefExoticComponent<SwapStepsColla
1613
1627
  handleToggleRouteSteps: () => void;
1614
1628
  }>>;
1615
1629
 
1630
+ interface ToastProps {
1631
+ title: string;
1632
+ description: string;
1633
+ headerContent?: React.ReactNode;
1634
+ actionsContent?: React.ReactNode;
1635
+ chipLabel?: string;
1636
+ }
1637
+ declare function Toast({ headerContent, actionsContent, description, chipLabel, title, }: ToastProps): react_jsx_runtime.JSX.Element;
1638
+
1639
+ interface Token$1 {
1640
+ address: string;
1641
+ name: string;
1642
+ symbol: string;
1643
+ image: string;
1644
+ color: string;
1645
+ textColor: string;
1646
+ chainId: string;
1647
+ }
1648
+ interface Chain {
1649
+ name: string;
1650
+ image: string;
1651
+ }
1652
+ type Timeframe = "1H" | "1D" | "1W" | "1Y";
1653
+ interface TokenDetailsViewProps {
1654
+ isOpen: boolean;
1655
+ onClose: () => void;
1656
+ token: Token$1;
1657
+ chain: Chain;
1658
+ tokenPrice: number;
1659
+ priceChange: number;
1660
+ balance: number;
1661
+ balanceUSD: number;
1662
+ volume24h: string;
1663
+ marketCap: string;
1664
+ totalSupply: string;
1665
+ loading: boolean;
1666
+ onLikeToken: () => void;
1667
+ Chart?: React.ComponentType<{
1668
+ timeframe: Timeframe;
1669
+ }>;
1670
+ initialTimeframe?: Timeframe;
1671
+ onTimeframeChange?: (timeframe: Timeframe) => void;
1672
+ onSwapFrom: (token: Pick<Token$1, "address" | "chainId">) => void;
1673
+ onSwapTo: (token: Pick<Token$1, "address" | "chainId">) => void;
1674
+ }
1675
+ declare const TokenDetailsView: ({ isOpen, onClose, token, chain, tokenPrice, priceChange, balance, balanceUSD, volume24h, marketCap, totalSupply, loading, onLikeToken, Chart, initialTimeframe, onTimeframeChange, onSwapFrom, onSwapTo, }: TokenDetailsViewProps) => react_jsx_runtime.JSX.Element;
1676
+
1616
1677
  interface TokenPairProps {
1617
1678
  firstToken?: {
1618
1679
  logoURI: string;
@@ -1860,15 +1921,6 @@ interface FromToProps {
1860
1921
  }
1861
1922
  declare function Transfer({ isLoading, from, to, className }: FromToProps): react_jsx_runtime.JSX.Element;
1862
1923
 
1863
- interface ToastProps {
1864
- title: string;
1865
- description: string;
1866
- headerContent?: React.ReactNode;
1867
- actionsContent?: React.ReactNode;
1868
- chipLabel?: string;
1869
- }
1870
- declare function Toast({ headerContent, actionsContent, description, chipLabel, title, }: ToastProps): react_jsx_runtime.JSX.Element;
1871
-
1872
1924
  /**
1873
1925
  * Utility type to allow for a type to be either all of the properties of another type, or none of them
1874
1926
  * @example
@@ -2409,13 +2461,22 @@ interface BodyTextProps extends React.HTMLAttributes<HTMLSpanElement> {
2409
2461
  size: TextSize;
2410
2462
  bold?: boolean;
2411
2463
  tight?: boolean;
2464
+ loading?: {
2465
+ isLoading?: boolean;
2466
+ width?: string;
2467
+ };
2412
2468
  }
2413
- declare function BodyText({ size, children, bold, tight, ...props }: BodyTextProps): react_jsx_runtime.JSX.Element;
2469
+ declare function BodyText({ size, children, bold, tight, loading, ...props }: BodyTextProps): react_jsx_runtime.JSX.Element;
2414
2470
 
2415
2471
  interface CaptionProps extends React.HTMLAttributes<HTMLSpanElement> {
2472
+ children: ReactNode;
2416
2473
  bold?: boolean;
2474
+ loading?: {
2475
+ isLoading?: boolean;
2476
+ width?: string;
2477
+ };
2417
2478
  }
2418
- declare function CaptionText({ children, bold, ...props }: CaptionProps): react_jsx_runtime.JSX.Element;
2479
+ declare function CaptionText({ children, bold, loading, ...props }: CaptionProps): react_jsx_runtime.JSX.Element;
2419
2480
 
2420
2481
  interface HeadingTextProps {
2421
2482
  children?: ReactNode;
@@ -2798,8 +2859,9 @@ declare function hexToRgb(hex: string): {
2798
2859
  a: number;
2799
2860
  } | null;
2800
2861
  declare function rgbToHex(r: number, g: number, b: number): string;
2801
- declare function blendColors(foreground: string, background: string): string | null;
2862
+ declare function blendColors(foreground: string, background: string, factor?: number): string | null;
2802
2863
  declare const isValidHexColor: (hex: string) => boolean;
2864
+ declare const getColorBrightness: (color: string) => number;
2803
2865
 
2804
2866
  declare const transactionPendingAnimation: {
2805
2867
  v: string;
@@ -16772,4 +16834,4 @@ declare const transactionRejectedAnimation: {
16772
16834
  markers: never[];
16773
16835
  };
16774
16836
 
16775
- 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, AtomIcon, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BellAlarmIcon, BlockSkeleton, BodyText, Boost, BoostBadge, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BridgeTransactionView, BrokenHeartIcon, BubblesIcon, Button, type ButtonSize, type ButtonVariant, 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, CodeBracketsIcon, CodeSolidSquareIcon, CoinsAddIcon, CoinsIcon, CoinsOutlinedIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CommandIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy, CopyIcon, CrossAnimatedIcon, CrossedOutSunSolidIcon, DashboardFast, type DeepPartial, 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, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FileDownloadIcon, 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, LaptopIcon, LightningIcon, LimitIcon, LinkIcon, List, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, MEDIA_QUERIES, MainView, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, MoonIcon, NavigationBar, NewspaperIcon, NotAllowedIcon, NumericInput, PathSquareIcon, PercentIcon, PhoneIcon, PieChartIcon, PipeSeparator, PlusIcon, PoopIcon, PowerIcon, ProductCard, ProfileHeader, ProfileHeaderBackground, PropertiesLayout, PropertyListItem, type PropertyListItemProps, type PublicTheme, PunkIcon, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RecipientView, 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, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidLogo, StakeAction, StartAction, StocksIcon, SuccessAction, SunIcon, SunOutlinedIcon, SunriseIcon, SunriseSmallIcon, 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 Theme, ThemePreference, ThemeProvider, 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, blendColors, cn, darkTheme, getContrastColor, getHexColorFromOpacityPercentage, hexToRgb, isValidHexColor, lightTheme, linkActionTimelineProps, parseSquidTheme, pxToRem, remToPx, rgbToHex, spacing, statusTextClassMap, transactionErrorPauseAnimation, transactionFailureAnimation, transactionHalfSuccessAnimation, transactionPendingAnimation, transactionProcessingAnimation, transactionRejectedAnimation, transactionSuccessAnimation, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useOnResize, useRect, useTimer, useUserTheme, useVersion };
16837
+ 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, AtomIcon, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BellAlarmIcon, BlockSkeleton, BodyText, Boost, BoostBadge, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BridgeTransactionView, BrokenHeartIcon, BubblesIcon, Button, type ButtonSize, type ButtonVariant, 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, CodeBracketsIcon, CodeSolidSquareIcon, CoinsAddIcon, CoinsIcon, CoinsOutlinedIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CommandIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy, CopyIcon, CrossAnimatedIcon, CrossedOutSunSolidIcon, DashboardFast, type DeepPartial, 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, FavouriteFilterIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FileDownloadIcon, FilledHeartIcon, FilterAscendingIcon, FilterButton, FilterIcon, FilterTimelineIcon, GasIcon, GhostIcon, GithubIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HighestPriceRangeIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, IconLabel, Image, ImageIcon, ImageSparkle, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, LaptopIcon, LightningIcon, LimitIcon, LinkIcon, List, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, MEDIA_QUERIES, MainView, MarketCapIcon, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, MoonIcon, NavigationBar, NewspaperIcon, NotAllowedIcon, NumericInput, PathSquareIcon, PercentIcon, PhoneIcon, PieChartIcon, PipeSeparator, PlusIcon, PoopIcon, PowerIcon, ProductCard, ProfileHeader, ProfileHeaderBackground, PropertiesLayout, PropertyListItem, type PropertyListItemProps, type PublicTheme, PunkIcon, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RecipientView, 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, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidLogo, StakeAction, StartAction, StocksIcon, SuccessAction, SunIcon, SunOutlinedIcon, SunriseIcon, SunriseSmallIcon, 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 Theme, ThemePreference, ThemeProvider, type ThemeType, ThumbsUp, Tick, TimeFliesIcon, type Timeframe, Timeline, Timestamp, Toast, TokenDetailsView, 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, blendColors, cn, darkTheme, getColorBrightness, getContrastColor, getHexColorFromOpacityPercentage, hexToRgb, isValidHexColor, lightTheme, linkActionTimelineProps, parseSquidTheme, pxToRem, remToPx, rgbToHex, spacing, statusTextClassMap, transactionErrorPauseAnimation, transactionFailureAnimation, transactionHalfSuccessAnimation, transactionPendingAnimation, transactionProcessingAnimation, transactionRejectedAnimation, transactionSuccessAnimation, useCollapsibleMenu, useDropdownMenu, useMediaQuery, 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": "2.2.3",
8
+ "version": "2.2.4",
9
9
  "author": "",
10
10
  "license": "MIT",
11
11
  "resolutions": {