@0xsquid/ui 2.2.11 → 2.3.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 (43) hide show
  1. package/dist/cjs/index.js +147 -64
  2. package/dist/cjs/types/components/badges/ImageGroup.d.ts +6 -0
  3. package/dist/cjs/types/components/badges/index.d.ts +1 -0
  4. package/dist/cjs/types/components/buttons/AccountsButton.d.ts +6 -0
  5. package/dist/cjs/types/components/buttons/index.d.ts +2 -1
  6. package/dist/cjs/types/components/icons/Arrow.d.ts +2 -3
  7. package/dist/cjs/types/components/icons/Generic.d.ts +15 -0
  8. package/dist/cjs/types/components/layout/ImageStack.d.ts +4 -2
  9. package/dist/cjs/types/components/layout/Modal.d.ts +2 -1
  10. package/dist/cjs/types/components/layout/TokenDetailsView.d.ts +11 -5
  11. package/dist/cjs/types/components/layout/Transfer.d.ts +1 -1
  12. package/dist/cjs/types/components/navigation/Tabs.d.ts +18 -0
  13. package/dist/cjs/types/components/navigation/index.d.ts +1 -0
  14. package/dist/cjs/types/components/typography/CaptionText.d.ts +2 -1
  15. package/dist/cjs/types/services/internal/colorService.d.ts +2 -1
  16. package/dist/cjs/types/stories/badges/ImageGroup.stories.d.ts +6 -0
  17. package/dist/cjs/types/stories/buttons/AccountsButton.stories.d.ts +6 -0
  18. package/dist/cjs/types/stories/lists/TokenGroup.stories.d.ts +2 -0
  19. package/dist/cjs/types/stories/navigation/Tabs.stories.d.ts +7 -0
  20. package/dist/cjs/types/stories/views/SwapProgressView.stories.d.ts +1 -1
  21. package/dist/esm/index.js +141 -65
  22. package/dist/esm/types/components/badges/ImageGroup.d.ts +6 -0
  23. package/dist/esm/types/components/badges/index.d.ts +1 -0
  24. package/dist/esm/types/components/buttons/AccountsButton.d.ts +6 -0
  25. package/dist/esm/types/components/buttons/index.d.ts +2 -1
  26. package/dist/esm/types/components/icons/Arrow.d.ts +2 -3
  27. package/dist/esm/types/components/icons/Generic.d.ts +15 -0
  28. package/dist/esm/types/components/layout/ImageStack.d.ts +4 -2
  29. package/dist/esm/types/components/layout/Modal.d.ts +2 -1
  30. package/dist/esm/types/components/layout/TokenDetailsView.d.ts +11 -5
  31. package/dist/esm/types/components/layout/Transfer.d.ts +1 -1
  32. package/dist/esm/types/components/navigation/Tabs.d.ts +18 -0
  33. package/dist/esm/types/components/navigation/index.d.ts +1 -0
  34. package/dist/esm/types/components/typography/CaptionText.d.ts +2 -1
  35. package/dist/esm/types/services/internal/colorService.d.ts +2 -1
  36. package/dist/esm/types/stories/badges/ImageGroup.stories.d.ts +6 -0
  37. package/dist/esm/types/stories/buttons/AccountsButton.stories.d.ts +6 -0
  38. package/dist/esm/types/stories/lists/TokenGroup.stories.d.ts +2 -0
  39. package/dist/esm/types/stories/navigation/Tabs.stories.d.ts +7 -0
  40. package/dist/esm/types/stories/views/SwapProgressView.stories.d.ts +1 -1
  41. package/dist/index.css +1 -1
  42. package/dist/index.d.ts +50 -17
  43. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -84,6 +84,12 @@ interface IconLabelProps {
84
84
  }
85
85
  declare function IconLabel({ src, children, rounded }: IconLabelProps): react_jsx_runtime.JSX.Element;
86
86
 
87
+ interface ImageGroupProps {
88
+ imageUrls: string[];
89
+ badgeUrl?: string;
90
+ }
91
+ declare function ImageGroup({ imageUrls, badgeUrl }: ImageGroupProps): react_jsx_runtime.JSX.Element;
92
+
87
93
  declare const LoadingProvider: react.Provider<boolean | null>;
88
94
  interface LoadingSkeletonProps {
89
95
  className?: string;
@@ -128,6 +134,11 @@ interface WalletLinkProps {
128
134
  }
129
135
  declare function WalletLink({ imageURI, address }: WalletLinkProps): react_jsx_runtime.JSX.Element;
130
136
 
137
+ interface AccountsButtonProps extends React.ComponentProps<"button"> {
138
+ imageUrls: string[];
139
+ }
140
+ declare function AccountsButton({ imageUrls, ...props }: AccountsButtonProps): react_jsx_runtime.JSX.Element;
141
+
131
142
  interface AddressButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
132
143
  label: string;
133
144
  imageUrl?: string;
@@ -303,6 +314,11 @@ interface FilterButtonProps {
303
314
  }
304
315
  declare function FilterButton({ selected, numApplied, onClick, }: FilterButtonProps): react_jsx_runtime.JSX.Element;
305
316
 
317
+ interface IconButtonProps extends React.ComponentProps<"button"> {
318
+ icon: React.ReactNode;
319
+ }
320
+ declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
321
+
306
322
  interface SettingsButtonProps {
307
323
  label: string;
308
324
  isSelected?: boolean;
@@ -310,11 +326,6 @@ interface SettingsButtonProps {
310
326
  }
311
327
  declare function SettingsButton({ label, isSelected, onClick, }: SettingsButtonProps): react_jsx_runtime.JSX.Element;
312
328
 
313
- interface IconButtonProps extends React.ComponentProps<"button"> {
314
- icon: React.ReactNode;
315
- }
316
- declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
317
-
318
329
  declare function Approve(): react_jsx_runtime.JSX.Element;
319
330
 
320
331
  declare function ArrowRightIcon(): react_jsx_runtime.JSX.Element;
@@ -336,9 +347,7 @@ declare function ChevronLargeDownIcon({ size, className, }: {
336
347
  size?: string;
337
348
  className?: string;
338
349
  }): react_jsx_runtime.JSX.Element;
339
- declare function ChevronTopIcon({ className }: {
340
- className?: string;
341
- }): react_jsx_runtime.JSX.Element;
350
+ declare function ChevronTopIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
342
351
  declare function ChevronLargeRightIcon({ size, className, }: {
343
352
  size?: string;
344
353
  className?: string;
@@ -643,6 +652,21 @@ declare function CommandIcon({ size, className, }: {
643
652
  size?: string;
644
653
  className?: string;
645
654
  }): react_jsx_runtime.JSX.Element;
655
+ declare function NewsIcon({ className }: {
656
+ className?: string;
657
+ }): react_jsx_runtime.JSX.Element;
658
+ declare function CelebrateIcon({ className, size, }: {
659
+ className?: string;
660
+ size?: string;
661
+ }): react_jsx_runtime.JSX.Element;
662
+ declare function SmileFilledIcon({ className, size, }: {
663
+ className?: string;
664
+ size?: string;
665
+ }): react_jsx_runtime.JSX.Element;
666
+ declare function StarLinesIcon({ size, className, }: {
667
+ size?: string;
668
+ className?: string;
669
+ }): react_jsx_runtime.JSX.Element;
646
670
 
647
671
  declare function EmptyHeartIcon({ className }: {
648
672
  className?: string;
@@ -1542,8 +1566,9 @@ interface ModalProps {
1542
1566
  maxHeight?: boolean;
1543
1567
  width?: ModalWidth;
1544
1568
  animateOpacity?: boolean;
1569
+ backdropStyle?: React.CSSProperties;
1545
1570
  }
1546
- declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, maxHeight, width, animateOpacity, }: ModalProps): false | react_jsx_runtime.JSX.Element;
1571
+ declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, maxHeight, width, animateOpacity, backdropStyle, }: ModalProps): false | react_jsx_runtime.JSX.Element;
1547
1572
 
1548
1573
  type ModalContentBorderType = "border" | "outline";
1549
1574
  interface ModalContentProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -1673,8 +1698,6 @@ interface Token$1 {
1673
1698
  name: string;
1674
1699
  symbol: string;
1675
1700
  image: string;
1676
- color: string;
1677
- textColor: string;
1678
1701
  chainId: string;
1679
1702
  }
1680
1703
  interface Chain {
@@ -1702,10 +1725,18 @@ interface TokenDetailsViewProps {
1702
1725
  }>;
1703
1726
  initialTimeframe?: Timeframe;
1704
1727
  onTimeframeChange?: (timeframe: Timeframe) => void;
1705
- onSwapFrom: (token: Pick<Token$1, "address" | "chainId">) => void;
1706
- onSwapTo: (token: Pick<Token$1, "address" | "chainId">) => void;
1728
+ footerButtons: FooterButtonProps[];
1729
+ backdropStyle?: React.CSSProperties;
1730
+ colors?: {
1731
+ backgroundColor: string;
1732
+ textColor: string;
1733
+ };
1734
+ }
1735
+ interface FooterButtonProps extends React.ComponentProps<"button"> {
1736
+ label: string;
1737
+ icon: React.ReactNode;
1707
1738
  }
1708
- declare const TokenDetailsView: ({ isOpen, onClose, token, chain, tokenPrice, priceChange, balance, balanceUSD, volume24h, marketCap, totalSupply, loading, onLikeToken, isFavorite, Chart, initialTimeframe, onTimeframeChange, onSwapFrom, onSwapTo, }: TokenDetailsViewProps) => react_jsx_runtime.JSX.Element;
1739
+ declare const TokenDetailsView: ({ isOpen, onClose, token, chain, tokenPrice, priceChange, balance, balanceUSD, volume24h, marketCap, totalSupply, loading, onLikeToken, isFavorite, Chart, initialTimeframe, onTimeframeChange, footerButtons, backdropStyle, colors, }: TokenDetailsViewProps) => react_jsx_runtime.JSX.Element;
1709
1740
 
1710
1741
  interface TokenPairProps {
1711
1742
  firstToken?: {
@@ -2529,8 +2560,9 @@ interface CaptionProps extends React.HTMLAttributes<HTMLSpanElement> {
2529
2560
  isLoading?: boolean;
2530
2561
  width?: string;
2531
2562
  };
2563
+ truncate?: boolean;
2532
2564
  }
2533
- declare function CaptionText({ children, bold, loading, tight, ...props }: CaptionProps): react_jsx_runtime.JSX.Element;
2565
+ declare function CaptionText({ children, bold, loading, tight, truncate, ...props }: CaptionProps): react_jsx_runtime.JSX.Element;
2534
2566
 
2535
2567
  interface HeadingTextProps {
2536
2568
  children?: ReactNode;
@@ -2928,7 +2960,8 @@ declare function hexToRgb(hex: string): {
2928
2960
  a: number;
2929
2961
  } | null;
2930
2962
  declare function rgbToHex(r: number, g: number, b: number): string;
2931
- declare function blendColors(foreground: string, background: string, factor?: number): string | null;
2963
+ declare function blendColors(foreground: string, background: string): string | null;
2964
+ declare function adjustColorForContrast(foreground: string, background: string, factor?: number): string | null;
2932
2965
  declare const isValidHexColor: (hex: string) => boolean;
2933
2966
  declare function parseColor(color: string): RGB | null;
2934
2967
  declare const getColorBrightness: (color: string) => number;
@@ -16905,4 +16938,4 @@ declare const transactionRejectedAnimation: {
16905
16938
  markers: never[];
16906
16939
  };
16907
16940
 
16908
- export { ANIMATION_DURATIONS, type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, type AllOrNone, AnimationWrapper, Announcement, type AnnouncementProps, 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, type ImageProps, ImageSparkle, ImageState, 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, PauseIcon, PercentIcon, PhoneIcon, PieChartIcon, PipeSeparator, PlusIcon, PoopIcon, PowerIcon, PriceChange, 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, SquidVector, 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, TokenGroup, type TokenGroupProps, 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, getWalletCardBackground, hexToRgb, isValidHexColor, lightTheme, linkActionTimelineProps, parseColor, parseSquidTheme, pxToRem, remToPx, rgbToHex, spacing, statusTextClassMap, transactionErrorPauseAnimation, transactionFailureAnimation, transactionHalfSuccessAnimation, transactionPendingAnimation, transactionProcessingAnimation, transactionRejectedAnimation, transactionSuccessAnimation, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useOnResize, useRect, useTimer, useUserTheme, useVersion };
16941
+ export { ANIMATION_DURATIONS, AccountsButton, type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, type AllOrNone, AnimationWrapper, Announcement, type AnnouncementProps, 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, CelebrateIcon, 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, ImageGroup, ImageIcon, type ImageProps, ImageSparkle, ImageState, 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, NewsIcon, NewspaperIcon, NotAllowedIcon, NumericInput, PathSquareIcon, PauseIcon, PercentIcon, PhoneIcon, PieChartIcon, PipeSeparator, PlusIcon, PoopIcon, PowerIcon, PriceChange, 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, SmileFilledIcon, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidLogo, SquidVector, StakeAction, StarLinesIcon, 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, TokenGroup, type TokenGroupProps, 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, adjustColorForContrast, baseTailwindConfig, blendColors, cn, darkTheme, getColorBrightness, getContrastColor, getHexColorFromOpacityPercentage, getWalletCardBackground, hexToRgb, isValidHexColor, lightTheme, linkActionTimelineProps, parseColor, 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.11",
8
+ "version": "2.3.1",
9
9
  "author": "",
10
10
  "license": "MIT",
11
11
  "resolutions": {