@deframe-sdk/components 0.1.28 → 0.1.29

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.
package/dist/index.d.mts CHANGED
@@ -1204,7 +1204,8 @@ interface ChooseAnAssetSwapViewProps {
1204
1204
  displayedTokens: TokenData[];
1205
1205
  hasMore: boolean;
1206
1206
  onLoadMore: () => void;
1207
- findBalance: (token: TokenData) => BalanceDomain | undefined;
1207
+ /** Fallback balance lookup for consumers that don't embed balance in TokenData. */
1208
+ findBalance?: (token: TokenData) => BalanceDomain | undefined;
1208
1209
  isFetching: boolean;
1209
1210
  onAssetClick: (token: TokenData) => void;
1210
1211
  labels: ChooseAnAssetSwapLabels;
@@ -1408,6 +1409,11 @@ interface ChooseANetworkViewProps {
1408
1409
  chains: ChainItem[];
1409
1410
  pageSize?: number;
1410
1411
  onChainClick: (chainId: number) => void;
1412
+ /** When provided, the component embeds its own ActionSheet with close button. */
1413
+ actionSheetId?: string;
1414
+ isOpen?: boolean;
1415
+ currentActionSheetId?: string | null;
1416
+ onClose?: () => void;
1411
1417
  }
1412
1418
  declare const ChooseANetworkView: React__default.FC<ChooseANetworkViewProps>;
1413
1419
 
@@ -1932,6 +1938,8 @@ interface EarnTokenSelectorViewProps {
1932
1938
  logoURI?: string | null;
1933
1939
  } | null;
1934
1940
  onTokenClick: () => void;
1941
+ /** When provided, the token button fires this instead of onTokenClick and the separate network chip is hidden (unified mode). */
1942
+ onNetworkAndAssetClick?: () => void;
1935
1943
  onNetworkClick?: (currentNetworkSelected?: ChainItem | null) => void;
1936
1944
  isLoading: boolean;
1937
1945
  selectTokenLabel: string;
@@ -1965,6 +1973,8 @@ interface EarnWithdrawTokenSelectorViewProps {
1965
1973
  logoURI?: string | null;
1966
1974
  } | null;
1967
1975
  onTokenClick: () => void;
1976
+ /** When provided, the token button fires this instead of onTokenClick and the separate network chip is hidden (unified mode). */
1977
+ onNetworkAndAssetClick?: () => void;
1968
1978
  onNetworkClick?: (currentNetworkSelected?: ChainItem | null) => void;
1969
1979
  selectTokenLabel: string;
1970
1980
  chainLabel: string;
@@ -2019,6 +2029,8 @@ interface EarnDepositFormViewProps {
2019
2029
  logoURI?: string | null;
2020
2030
  } | null;
2021
2031
  onTokenClick: () => void;
2032
+ /** When provided, the form uses unified mode: a single click opens network + asset selector together. */
2033
+ onNetworkAndAssetClick?: () => void;
2022
2034
  isLoadingToken: boolean;
2023
2035
  selectTokenLabel: string;
2024
2036
  chainLabel: string;
@@ -2078,6 +2090,8 @@ interface EarnWithdrawFormViewProps {
2078
2090
  logoURI?: string | null;
2079
2091
  } | null;
2080
2092
  onTokenClick: () => void;
2093
+ /** When provided, the form uses unified mode: a single click opens network + asset selector together. */
2094
+ onNetworkAndAssetClick?: () => void;
2081
2095
  selectTokenLabel: string;
2082
2096
  chainLabel: string;
2083
2097
  chainImage?: string;
@@ -2304,6 +2318,231 @@ declare const EarnWithdrawFailedView: React__default.FC<EarnWithdrawFailedViewPr
2304
2318
 
2305
2319
  declare const EarnWithdrawFailedSimpleView: React__default.FC<EarnWithdrawFailedViewProps>;
2306
2320
 
2321
+ interface OnchainDepositFormViewProps {
2322
+ selectedToken: {
2323
+ symbol: string;
2324
+ name: string;
2325
+ logoURI: string | null;
2326
+ } | null;
2327
+ onTokenClick: () => void;
2328
+ chainCount: number;
2329
+ selectedChain: {
2330
+ name: string;
2331
+ iconUrl: string;
2332
+ } | null;
2333
+ onNetworkClick: () => void;
2334
+ isGenerating: boolean;
2335
+ showContent: boolean;
2336
+ depositAddress: string | null;
2337
+ showInfoBanner: boolean;
2338
+ selectedTokenName: string | null;
2339
+ selectedChainName: string | null;
2340
+ isSubmitDisabled: boolean;
2341
+ onSubmit: () => void;
2342
+ submitLabel: string;
2343
+ onBack: () => void;
2344
+ labels: {
2345
+ title: string;
2346
+ subtitle: string;
2347
+ backLabel: string;
2348
+ tokenPlaceholder: string;
2349
+ chainDirectionLabel: string;
2350
+ chainPlaceholder: string;
2351
+ infoBanner: string;
2352
+ depositInstructionPrefix: string;
2353
+ depositInstructionSuffix: string;
2354
+ warnBannerTokenChain: string;
2355
+ };
2356
+ className?: string;
2357
+ }
2358
+ declare function OnchainDepositFormView({ selectedToken, onTokenClick, chainCount, selectedChain, onNetworkClick, isGenerating, showContent, depositAddress, showInfoBanner, selectedTokenName, selectedChainName, isSubmitDisabled, onSubmit, submitLabel, onBack, labels, className, }: OnchainDepositFormViewProps): react_jsx_runtime.JSX.Element;
2359
+
2360
+ interface OnchainDepositSuccessViewProps {
2361
+ tokenSymbol: string;
2362
+ tokenLogoURI: string | null;
2363
+ chainName: string;
2364
+ chainIconUrl: string;
2365
+ formattedAmount: string;
2366
+ depositAddress: string;
2367
+ txHash?: string;
2368
+ blockExplorerUrl: string;
2369
+ onViewHistory: () => void;
2370
+ onClose?: () => void;
2371
+ labels: {
2372
+ title: string;
2373
+ subtitle: string;
2374
+ assetLabel: string;
2375
+ networkLabel: string;
2376
+ amountLabel: string;
2377
+ addressLabel: string;
2378
+ txIdLabel: string;
2379
+ viewExplorerLabel: string;
2380
+ detailsTitle: string;
2381
+ estimatedTimeLabel: string;
2382
+ estimatedTimeValue: string;
2383
+ copiedLabel: string;
2384
+ viewHistoryLabel: string;
2385
+ closeAriaLabel: string;
2386
+ steps: {
2387
+ label: string;
2388
+ statusText?: string;
2389
+ }[];
2390
+ };
2391
+ className?: string;
2392
+ icon?: React__default.ReactNode;
2393
+ }
2394
+ declare function OnchainDepositSuccessView({ tokenSymbol, chainName, formattedAmount, depositAddress, txHash, blockExplorerUrl, onViewHistory, onClose, labels, className, icon, }: OnchainDepositSuccessViewProps): react_jsx_runtime.JSX.Element;
2395
+
2396
+ declare function DepositSuccessIcon(): react_jsx_runtime.JSX.Element;
2397
+
2398
+ interface OnchainWithdrawFormViewProps {
2399
+ selectedToken: {
2400
+ symbol: string;
2401
+ logoURI: string | null;
2402
+ } | null;
2403
+ onTokenClick: () => void;
2404
+ isProcessing: boolean;
2405
+ chainCount: number;
2406
+ selectedChain: {
2407
+ name: string;
2408
+ iconUrl: string;
2409
+ } | null;
2410
+ onNetworkClick: () => void;
2411
+ formattedBalance: string;
2412
+ amount: string;
2413
+ onAmountChange: (value: string) => void;
2414
+ isAmountInputDisabled: boolean;
2415
+ onMaxClick: () => void;
2416
+ showMaxButton: boolean;
2417
+ formattedAmountUsd: string;
2418
+ destinationNetwork: {
2419
+ name: string;
2420
+ iconUrl: string;
2421
+ } | null;
2422
+ destinationAddress: string;
2423
+ onDestinationAddressChange: (value: string) => void;
2424
+ txDetails: {
2425
+ formattedAmount: string;
2426
+ formattedFee: string;
2427
+ formattedReceive: string;
2428
+ } | null;
2429
+ isBelowMinAmount: boolean;
2430
+ walletError: string | null;
2431
+ transferError: string | null;
2432
+ showWarning: boolean;
2433
+ warningLabel: string;
2434
+ isSubmitDisabled: boolean;
2435
+ onSubmit: () => void;
2436
+ submitLabel: string;
2437
+ onBack: () => void;
2438
+ labels: {
2439
+ title: string;
2440
+ subtitle: string;
2441
+ backLabel: string;
2442
+ balancePrefix: string;
2443
+ tokenPlaceholder: string;
2444
+ chainPlaceholder: string;
2445
+ chainDirectionLabel: string;
2446
+ destinationNetworkLabel: string;
2447
+ destinationNetworkSameHint: string;
2448
+ destinationNetworkEmpty: string;
2449
+ destinationAddressLabel: string;
2450
+ destinationAddressPlaceholder: string;
2451
+ infoBanner: string;
2452
+ minAmountWarning: string;
2453
+ txDetailsTitle: string;
2454
+ txDetailsAmountLabel: string;
2455
+ txDetailsFeeLabel: string;
2456
+ txDetailsReceiveLabel: string;
2457
+ };
2458
+ className?: string;
2459
+ }
2460
+ declare function OnchainWithdrawFormView({ selectedToken, onTokenClick, isProcessing, chainCount, selectedChain, onNetworkClick, formattedBalance, amount, onAmountChange, isAmountInputDisabled, onMaxClick, showMaxButton, formattedAmountUsd, destinationNetwork, destinationAddress, onDestinationAddressChange, txDetails, isBelowMinAmount, walletError, transferError, showWarning, warningLabel, isSubmitDisabled, onSubmit, submitLabel, onBack, labels, className, }: OnchainWithdrawFormViewProps): react_jsx_runtime.JSX.Element;
2461
+
2462
+ interface ChainOption {
2463
+ chainId: number;
2464
+ name: string;
2465
+ iconUrl: string;
2466
+ formattedBalance: string;
2467
+ isSelected: boolean;
2468
+ }
2469
+ interface OnchainWithdrawChainSelectorViewProps {
2470
+ actionSheetId: string;
2471
+ isOpen: boolean;
2472
+ currentActionSheetId: string | null;
2473
+ onClose: () => void;
2474
+ chains: ChainOption[];
2475
+ onChainClick: (chainId: number) => void;
2476
+ title: string;
2477
+ closeAriaLabel?: string;
2478
+ }
2479
+ declare function OnchainWithdrawChainSelectorView({ actionSheetId, isOpen, currentActionSheetId, onClose, chains, onChainClick, title, closeAriaLabel, }: OnchainWithdrawChainSelectorViewProps): react_jsx_runtime.JSX.Element;
2480
+
2481
+ interface OnchainWithdrawSuccessViewProps {
2482
+ tokenSymbol: string;
2483
+ tokenLogoURI: string | null;
2484
+ formattedAmount: string;
2485
+ formattedAmountUSD: string;
2486
+ chainName: string;
2487
+ chainIconUrl: string;
2488
+ destinationAddress: string;
2489
+ blockchainCost: string;
2490
+ txHash: string;
2491
+ blockExplorerUrl: string;
2492
+ onViewHistory: () => void;
2493
+ onClose?: () => void;
2494
+ labels: {
2495
+ title: string;
2496
+ subtitle: string;
2497
+ sendingLabel: string;
2498
+ destinationLabel: string;
2499
+ detailsTitle: string;
2500
+ withdrawAmountLabel: string;
2501
+ blockchainCostLabel: string;
2502
+ youReceiveLabel: string;
2503
+ viewExplorerLabel: string;
2504
+ transactionLabel: string;
2505
+ viewHistoryLabel: string;
2506
+ closeAriaLabel: string;
2507
+ };
2508
+ className?: string;
2509
+ icon?: React__default.ReactNode;
2510
+ }
2511
+ declare function OnchainWithdrawSuccessView({ tokenSymbol, tokenLogoURI, formattedAmount, chainName, chainIconUrl, destinationAddress, blockchainCost, txHash, blockExplorerUrl, onViewHistory, onClose, labels, className, icon, }: OnchainWithdrawSuccessViewProps): react_jsx_runtime.JSX.Element;
2512
+
2513
+ declare function WithdrawSuccessIcon(): react_jsx_runtime.JSX.Element;
2514
+
2515
+ interface OnchainWithdrawFailedViewProps {
2516
+ tokenSymbol: string;
2517
+ tokenLogoURI: string | null;
2518
+ formattedAmount: string;
2519
+ chainName: string;
2520
+ chainIconUrl: string;
2521
+ destinationAddress: string;
2522
+ blockchainCost: string;
2523
+ errorMessage?: string;
2524
+ onCancel: () => void;
2525
+ onTryAgain: () => void;
2526
+ labels: {
2527
+ title: string;
2528
+ defaultErrorMessage: string;
2529
+ sendingLabel: string;
2530
+ destinationLabel: string;
2531
+ detailsTitle: string;
2532
+ withdrawAmountLabel: string;
2533
+ blockchainCostLabel: string;
2534
+ youReceiveLabel: string;
2535
+ cancelLabel: string;
2536
+ tryAgainLabel: string;
2537
+ closeAriaLabel: string;
2538
+ };
2539
+ className?: string;
2540
+ icon?: React__default.ReactNode;
2541
+ }
2542
+ declare function OnchainWithdrawFailedView({ tokenSymbol, tokenLogoURI, formattedAmount, chainName, chainIconUrl, destinationAddress, blockchainCost, errorMessage, onCancel, onTryAgain, labels, className, icon, }: OnchainWithdrawFailedViewProps): react_jsx_runtime.JSX.Element;
2543
+
2544
+ declare function WithdrawFailedIcon(): react_jsx_runtime.JSX.Element;
2545
+
2307
2546
  interface DashboardCardProps {
2308
2547
  children: React__default.ReactNode;
2309
2548
  className?: string;
@@ -2465,6 +2704,13 @@ type SwapValidationCode = 'NO_WALLET' | 'NO_CHAIN' | 'NO_TOKEN' | 'INVALID_TOKEN
2465
2704
  */
2466
2705
  declare function isDustValue(amountInUSD: number): boolean;
2467
2706
 
2707
+ /**
2708
+ * Shortens a long identifier (e.g. wallet address, tx hash) for display.
2709
+ * @param startChars — characters to keep at the start (default 6)
2710
+ * @param endChars — characters to keep at the end (default 4)
2711
+ */
2712
+ declare function truncateAddress(address: string, startChars?: number, endChars?: number): string;
2713
+
2468
2714
  interface DeframeThemeColors {
2469
2715
  brandPrimary?: string;
2470
2716
  brandSecondary?: string;
@@ -2485,4 +2731,4 @@ interface DeframeTheme {
2485
2731
  colors?: DeframeThemeColors;
2486
2732
  }
2487
2733
 
2488
- export { ActionButton, ActionSheet, type ActionSheetProps, AddressDisplay, type AddressDisplayProps, ApyRange, type ApyRangeProps, BackButton, type BackButtonProps, BackgroundContainer, type BackgroundContainerProps, type BalanceDomain, BannerNotification, type BannerNotificationProps, type ButtonProps, type ChainItem, Chip, ChipGroup, type ChipGroupProps, type ChipOption, type ChipProps, type ChooseANetworkLabels, ChooseANetworkView, type ChooseANetworkViewProps, ChooseAStrategyActionsheetView, type ChooseAStrategyActionsheetViewProps, type ChooseAnAssetSwapLabels, ChooseAnAssetSwapView, type ChooseAnAssetSwapViewProps, type ChooseNetworkAndAssetLabels, ChooseNetworkAndAssetViewSimple, type ChooseNetworkAndAssetViewSimpleProps, CloseButton, type CloseButtonProps, CollapsibleInfoRow, type CollapsibleInfoRowProps, CollapsibleSection, type CollapsibleSectionProps, type ConfirmSwapButtonLabels, ConfirmSwapButtonView, type ConfirmSwapButtonViewProps, ConfirmSwapButtonViewSimple, ConnectWalletList, type ConnectWalletListProps, Currency, type CurrencyProps, type CurrencyType, DashboardBalancesBreakdown, type DashboardBalancesBreakdownProps, DashboardCard, type DashboardCardProps, DashboardInvestmentOpportunitiesView, type DashboardInvestmentOpportunitiesViewProps, DashboardPortfolioView, type DashboardPortfolioViewProps, DashboardPortfolioViewSimple, DashboardRecentTransactionsView, type DashboardRecentTransactionsViewProps, DashboardRecentTransactionsViewSimple, DashboardStrategiesListView, type DashboardStrategiesListViewProps, type DashboardStrategyItem, type DashboardTokenItem, DashboardTokenListView, type DashboardTokenListViewProps, DashboardTokensView, type DashboardTokensViewProps, DashboardTokensViewSimple, type DashboardTransactionItemViewData, DashboardTransactionsPlaceholder, DashboardView, type DashboardViewProps, DashboardViewSimple, type DashboardViewSimpleProps, DeframeComponentsProvider, type DeframeTheme, type DeframeThemeColors, type DetailItem, DetailsHeader, type DetailsHeaderProps, EarnAmountInputView, type EarnAmountInputViewProps, EarnBalanceCard, type EarnBalanceCardProps, EarnBytecodeErrorView, type EarnBytecodeErrorViewProps, EarnDepositFailedSimpleView, EarnDepositFailedView, type EarnDepositFailedViewProps, EarnDepositFormView, type EarnDepositFormViewProps, EarnDepositFormViewSimple, EarnDepositProcessingSimpleView, EarnDepositProcessingView, type EarnDepositProcessingViewProps, EarnDepositSuccessSimpleView, EarnDepositSuccessView, type EarnDepositSuccessViewProps, EarnDepositWarningSimpleView, EarnDepositWarningView, type EarnDepositWarningViewProps, EarnDesktopView, type EarnDesktopViewProps, type EarnExploreGridItem, EarnExploreGridView, type EarnExploreGridViewProps, EarnFlowSkeletonSimple, type EarnInvestedSectionItem, EarnInvestedSectionView, type EarnInvestedSectionViewProps, type EarnInvestmentDetailsTransaction, EarnInvestmentDetailsView, type EarnInvestmentDetailsViewProps, EarnInvestmentSummaryView, type EarnInvestmentSummaryViewProps, EarnNoBalanceNotificationView, type EarnNoBalanceNotificationViewProps, EarnOverviewView, type EarnOverviewViewProps, EarnPercentageButtonsView, type EarnPercentageButtonsViewProps, EarnPositionCardView, type EarnPositionCardViewProps, EarnRecentTransactionsView, type EarnRecentTransactionsViewProps, EarnTokenSelectorView, type EarnTokenSelectorViewProps, EarnTxStatusCardView, type EarnTxStatusCardViewProps, EarnWithdrawFailedSimpleView, EarnWithdrawFailedView, type EarnWithdrawFailedViewProps, EarnWithdrawFormView, type EarnWithdrawFormViewProps, EarnWithdrawFormViewSimple, EarnWithdrawProcessingSimpleView, EarnWithdrawProcessingView, type EarnWithdrawProcessingViewProps, EarnWithdrawSuccessSimpleView, EarnWithdrawSuccessView, type EarnWithdrawSuccessViewProps, EarnWithdrawTokenSelectorView, type EarnWithdrawTokenSelectorViewProps, EarnWithdrawWarningSimpleView, EarnWithdrawWarningView, type EarnWithdrawWarningViewProps, type ExploreStrategyViewItem, Currency as Fiat, type FiatProps, FlexCol, type FlexColProps, FlexRow, type FlexRowProps, type GroupedInvestedItem, type GroupedStrategyItem, type GroupedStrategyListItem, GroupedStrategyListView, type GroupedStrategyListViewProps, HighRiskBadge, type HighRiskBadgeProps, type HistoryAssetViewProps, HistoryDepositDetailsView, type HistoryDetailsLabels, type HistoryDetailsStatus, type HistoryDetailsViewProps, HistoryListSkeleton, HistoryListView, type HistoryListViewGroup, type HistoryListViewItem, type HistoryListViewProps, type HistorySwapDetailsLabels, HistorySwapDetailsView, type HistorySwapDetailsViewProps, HistoryTabEmpty, type HistoryTabEmptyProps, HistoryWithdrawDetailsView, InfoLabel, type InfoLabelProps, InfoRow, InfoRowIconLabel, type InfoRowIconLabelProps, InfoRowIconValue, type InfoRowIconValueProps, type InfoRowProps, InfoRowWithIcon, type InfoRowWithIconProps, InfoValue, type InfoValueProps, Input, type InputFieldRegistration, type InputProps, InvestmentCrossChainProcessingView, type InvestmentCrossChainProcessingViewProps, Label, type LabelProps, type LabelVariant, Link, type LinkProps, ListItem, ListItemContent, ListItemLeftSide, type ListItemProps, ListItemRightSide, LoadingDots, type LoadingDotsProps, LowRiskBadge, type LowRiskBadgeProps, MediumRiskBadge, type MediumRiskBadgeProps, Navbar, type NavbarProps, type NetworkOption, PercentageButton, PrimaryButton, ProcessingBadge, type ProcessingBadgeProps, ProgressIndicator, type ProgressIndicatorProps, ScrollableContent, type ScrollableContentProps, SearchEmptyState, type SearchEmptyStateProps, SearchInput, type SearchInputProps, SecondaryButton, SectionCard, type SectionCardProps, Select, SelectContent, type SelectContentProps, SelectItem, type SelectItemProps, type SelectProps, SelectTrigger, type SelectTriggerProps, Skeleton, type SkeletonProps, StepDisplay, type StepDisplayProps, StepStatusIcon, type StepStatusIconProps, StepStatusText, type StepStatusTextProps, StrategyDetailsView, type StrategyDetailsViewProps, StrategyGridCard, type StrategyGridCardProps, SummaryDetails, SummaryDetailsCryptoControlV2, type SummaryDetailsProps, SwapAdvancedSettingsView, type SwapAdvancedSettingsViewProps, SwapAmountInputView, type SwapAmountInputViewProps, type SwapCardLabels, SwapCrossChainProcessingView, type SwapCrossChainProcessingViewProps, type SwapFormLabels, SwapFormView, type SwapFormViewProps, SwapFormViewSimple, SwapFromCardView, type SwapFromCardViewProps, SwapFromCardViewSimple, type SwapFromCardViewSimpleProps, type SwapHistoryItem, type SwapHistoryLabels, SwapHistoryView, type SwapHistoryViewProps, type SwapNetworkSelectorViewProps, type SwapOutputAmountViewProps, SwapProcessingView, type SwapProcessingViewProps, SwapProcessingViewSimple, type SwapQuoteBlockchainCostsViewProps, type SwapQuoteDetailsLabels, SwapQuoteDetailsView, type SwapQuoteDetailsViewProps, type SwapQuoteErrorsViewProps, type SwapQuoteHeaderViewProps, SwapSignatureWarningView, type SwapSignatureWarningViewProps, SwapSignatureWarningViewSimple, type SwapSlippageToleranceButtonsViewProps, type SwapSuccessLabels, SwapSuccessView, type SwapSuccessViewProps, SwapSuccessViewSimple, SwapToCardView, type SwapToCardViewProps, SwapToCardViewSimple, type SwapTokenSelectorViewProps, SwapTransactionFailedView, type SwapTransactionFailedViewProps, SwapTransactionFailedViewSimple, type SwapValidationCode, SwapWidgetFallbackView, type SwapWidgetFallbackViewProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TertiaryButton, Text, TextAccent, type TextAccentProps, TextBody, type TextBodyProps, TextHeading, type TextHeadingProps, Title, type TokenData, TokenWithChainBadge, type TokenWithChainBadgeProps, TransactionProcessingDetails, type TransactionProcessingDetailsLabels, type TransactionProcessingDetailsProps, TransactionScreen, TransactionScreenIcon, type TransactionScreenIconProps, TransactionScreenInvestmentCard, type TransactionScreenInvestmentCardProps, type TransactionScreenProps, type TransactionStep, type TransactionStepStatus, type WalletBalanceItem, WalletBalances, type WalletBalancesProps, WalletConnectPanel, type WalletConnectPanelProps, WalletItem, type WalletItemProps, ConnectWalletList as WalletList, WalletListContainer, type WalletListContainerProps, type WalletOption, isDustValue };
2734
+ export { ActionButton, ActionSheet, type ActionSheetProps, AddressDisplay, type AddressDisplayProps, ApyRange, type ApyRangeProps, BackButton, type BackButtonProps, BackgroundContainer, type BackgroundContainerProps, type BalanceDomain, BannerNotification, type BannerNotificationProps, type ButtonProps, type ChainItem, type ChainOption, Chip, ChipGroup, type ChipGroupProps, type ChipOption, type ChipProps, type ChooseANetworkLabels, ChooseANetworkView, type ChooseANetworkViewProps, ChooseAStrategyActionsheetView, type ChooseAStrategyActionsheetViewProps, type ChooseAnAssetSwapLabels, ChooseAnAssetSwapView, type ChooseAnAssetSwapViewProps, type ChooseNetworkAndAssetLabels, ChooseNetworkAndAssetViewSimple, type ChooseNetworkAndAssetViewSimpleProps, CloseButton, type CloseButtonProps, CollapsibleInfoRow, type CollapsibleInfoRowProps, CollapsibleSection, type CollapsibleSectionProps, type ConfirmSwapButtonLabels, ConfirmSwapButtonView, type ConfirmSwapButtonViewProps, ConfirmSwapButtonViewSimple, ConnectWalletList, type ConnectWalletListProps, Currency, type CurrencyProps, type CurrencyType, DashboardBalancesBreakdown, type DashboardBalancesBreakdownProps, DashboardCard, type DashboardCardProps, DashboardInvestmentOpportunitiesView, type DashboardInvestmentOpportunitiesViewProps, DashboardPortfolioView, type DashboardPortfolioViewProps, DashboardPortfolioViewSimple, DashboardRecentTransactionsView, type DashboardRecentTransactionsViewProps, DashboardRecentTransactionsViewSimple, DashboardStrategiesListView, type DashboardStrategiesListViewProps, type DashboardStrategyItem, type DashboardTokenItem, DashboardTokenListView, type DashboardTokenListViewProps, DashboardTokensView, type DashboardTokensViewProps, DashboardTokensViewSimple, type DashboardTransactionItemViewData, DashboardTransactionsPlaceholder, DashboardView, type DashboardViewProps, DashboardViewSimple, type DashboardViewSimpleProps, DeframeComponentsProvider, type DeframeTheme, type DeframeThemeColors, DepositSuccessIcon, type DetailItem, DetailsHeader, type DetailsHeaderProps, EarnAmountInputView, type EarnAmountInputViewProps, EarnBalanceCard, type EarnBalanceCardProps, EarnBytecodeErrorView, type EarnBytecodeErrorViewProps, EarnDepositFailedSimpleView, EarnDepositFailedView, type EarnDepositFailedViewProps, EarnDepositFormView, type EarnDepositFormViewProps, EarnDepositFormViewSimple, EarnDepositProcessingSimpleView, EarnDepositProcessingView, type EarnDepositProcessingViewProps, EarnDepositSuccessSimpleView, EarnDepositSuccessView, type EarnDepositSuccessViewProps, EarnDepositWarningSimpleView, EarnDepositWarningView, type EarnDepositWarningViewProps, EarnDesktopView, type EarnDesktopViewProps, type EarnExploreGridItem, EarnExploreGridView, type EarnExploreGridViewProps, EarnFlowSkeletonSimple, type EarnInvestedSectionItem, EarnInvestedSectionView, type EarnInvestedSectionViewProps, type EarnInvestmentDetailsTransaction, EarnInvestmentDetailsView, type EarnInvestmentDetailsViewProps, EarnInvestmentSummaryView, type EarnInvestmentSummaryViewProps, EarnNoBalanceNotificationView, type EarnNoBalanceNotificationViewProps, EarnOverviewView, type EarnOverviewViewProps, EarnPercentageButtonsView, type EarnPercentageButtonsViewProps, EarnPositionCardView, type EarnPositionCardViewProps, EarnRecentTransactionsView, type EarnRecentTransactionsViewProps, EarnTokenSelectorView, type EarnTokenSelectorViewProps, EarnTxStatusCardView, type EarnTxStatusCardViewProps, EarnWithdrawFailedSimpleView, EarnWithdrawFailedView, type EarnWithdrawFailedViewProps, EarnWithdrawFormView, type EarnWithdrawFormViewProps, EarnWithdrawFormViewSimple, EarnWithdrawProcessingSimpleView, EarnWithdrawProcessingView, type EarnWithdrawProcessingViewProps, EarnWithdrawSuccessSimpleView, EarnWithdrawSuccessView, type EarnWithdrawSuccessViewProps, EarnWithdrawTokenSelectorView, type EarnWithdrawTokenSelectorViewProps, EarnWithdrawWarningSimpleView, EarnWithdrawWarningView, type EarnWithdrawWarningViewProps, type ExploreStrategyViewItem, Currency as Fiat, type FiatProps, FlexCol, type FlexColProps, FlexRow, type FlexRowProps, type GroupedInvestedItem, type GroupedStrategyItem, type GroupedStrategyListItem, GroupedStrategyListView, type GroupedStrategyListViewProps, HighRiskBadge, type HighRiskBadgeProps, type HistoryAssetViewProps, HistoryDepositDetailsView, type HistoryDetailsLabels, type HistoryDetailsStatus, type HistoryDetailsViewProps, HistoryListSkeleton, HistoryListView, type HistoryListViewGroup, type HistoryListViewItem, type HistoryListViewProps, type HistorySwapDetailsLabels, HistorySwapDetailsView, type HistorySwapDetailsViewProps, HistoryTabEmpty, type HistoryTabEmptyProps, HistoryWithdrawDetailsView, InfoLabel, type InfoLabelProps, InfoRow, InfoRowIconLabel, type InfoRowIconLabelProps, InfoRowIconValue, type InfoRowIconValueProps, type InfoRowProps, InfoRowWithIcon, type InfoRowWithIconProps, InfoValue, type InfoValueProps, Input, type InputFieldRegistration, type InputProps, InvestmentCrossChainProcessingView, type InvestmentCrossChainProcessingViewProps, Label, type LabelProps, type LabelVariant, Link, type LinkProps, ListItem, ListItemContent, ListItemLeftSide, type ListItemProps, ListItemRightSide, LoadingDots, type LoadingDotsProps, LowRiskBadge, type LowRiskBadgeProps, MediumRiskBadge, type MediumRiskBadgeProps, Navbar, type NavbarProps, type NetworkOption, OnchainDepositFormView, type OnchainDepositFormViewProps, OnchainDepositSuccessView, type OnchainDepositSuccessViewProps, OnchainWithdrawChainSelectorView, type OnchainWithdrawChainSelectorViewProps, OnchainWithdrawFailedView, type OnchainWithdrawFailedViewProps, OnchainWithdrawFormView, type OnchainWithdrawFormViewProps, OnchainWithdrawSuccessView, type OnchainWithdrawSuccessViewProps, PercentageButton, PrimaryButton, ProcessingBadge, type ProcessingBadgeProps, ProgressIndicator, type ProgressIndicatorProps, ScrollableContent, type ScrollableContentProps, SearchEmptyState, type SearchEmptyStateProps, SearchInput, type SearchInputProps, SecondaryButton, SectionCard, type SectionCardProps, Select, SelectContent, type SelectContentProps, SelectItem, type SelectItemProps, type SelectProps, SelectTrigger, type SelectTriggerProps, Skeleton, type SkeletonProps, StepDisplay, type StepDisplayProps, StepStatusIcon, type StepStatusIconProps, StepStatusText, type StepStatusTextProps, StrategyDetailsView, type StrategyDetailsViewProps, StrategyGridCard, type StrategyGridCardProps, SummaryDetails, SummaryDetailsCryptoControlV2, type SummaryDetailsProps, SwapAdvancedSettingsView, type SwapAdvancedSettingsViewProps, SwapAmountInputView, type SwapAmountInputViewProps, type SwapCardLabels, SwapCrossChainProcessingView, type SwapCrossChainProcessingViewProps, type SwapFormLabels, SwapFormView, type SwapFormViewProps, SwapFormViewSimple, SwapFromCardView, type SwapFromCardViewProps, SwapFromCardViewSimple, type SwapFromCardViewSimpleProps, type SwapHistoryItem, type SwapHistoryLabels, SwapHistoryView, type SwapHistoryViewProps, type SwapNetworkSelectorViewProps, type SwapOutputAmountViewProps, SwapProcessingView, type SwapProcessingViewProps, SwapProcessingViewSimple, type SwapQuoteBlockchainCostsViewProps, type SwapQuoteDetailsLabels, SwapQuoteDetailsView, type SwapQuoteDetailsViewProps, type SwapQuoteErrorsViewProps, type SwapQuoteHeaderViewProps, SwapSignatureWarningView, type SwapSignatureWarningViewProps, SwapSignatureWarningViewSimple, type SwapSlippageToleranceButtonsViewProps, type SwapSuccessLabels, SwapSuccessView, type SwapSuccessViewProps, SwapSuccessViewSimple, SwapToCardView, type SwapToCardViewProps, SwapToCardViewSimple, type SwapTokenSelectorViewProps, SwapTransactionFailedView, type SwapTransactionFailedViewProps, SwapTransactionFailedViewSimple, type SwapValidationCode, SwapWidgetFallbackView, type SwapWidgetFallbackViewProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TertiaryButton, Text, TextAccent, type TextAccentProps, TextBody, type TextBodyProps, TextHeading, type TextHeadingProps, Title, type TokenData, TokenWithChainBadge, type TokenWithChainBadgeProps, TransactionProcessingDetails, type TransactionProcessingDetailsLabels, type TransactionProcessingDetailsProps, TransactionScreen, TransactionScreenIcon, type TransactionScreenIconProps, TransactionScreenInvestmentCard, type TransactionScreenInvestmentCardProps, type TransactionScreenProps, type TransactionStep, type TransactionStepStatus, type WalletBalanceItem, WalletBalances, type WalletBalancesProps, WalletConnectPanel, type WalletConnectPanelProps, WalletItem, type WalletItemProps, ConnectWalletList as WalletList, WalletListContainer, type WalletListContainerProps, type WalletOption, WithdrawFailedIcon, WithdrawSuccessIcon, isDustValue, truncateAddress };
package/dist/index.d.ts CHANGED
@@ -1204,7 +1204,8 @@ interface ChooseAnAssetSwapViewProps {
1204
1204
  displayedTokens: TokenData[];
1205
1205
  hasMore: boolean;
1206
1206
  onLoadMore: () => void;
1207
- findBalance: (token: TokenData) => BalanceDomain | undefined;
1207
+ /** Fallback balance lookup for consumers that don't embed balance in TokenData. */
1208
+ findBalance?: (token: TokenData) => BalanceDomain | undefined;
1208
1209
  isFetching: boolean;
1209
1210
  onAssetClick: (token: TokenData) => void;
1210
1211
  labels: ChooseAnAssetSwapLabels;
@@ -1408,6 +1409,11 @@ interface ChooseANetworkViewProps {
1408
1409
  chains: ChainItem[];
1409
1410
  pageSize?: number;
1410
1411
  onChainClick: (chainId: number) => void;
1412
+ /** When provided, the component embeds its own ActionSheet with close button. */
1413
+ actionSheetId?: string;
1414
+ isOpen?: boolean;
1415
+ currentActionSheetId?: string | null;
1416
+ onClose?: () => void;
1411
1417
  }
1412
1418
  declare const ChooseANetworkView: React__default.FC<ChooseANetworkViewProps>;
1413
1419
 
@@ -1932,6 +1938,8 @@ interface EarnTokenSelectorViewProps {
1932
1938
  logoURI?: string | null;
1933
1939
  } | null;
1934
1940
  onTokenClick: () => void;
1941
+ /** When provided, the token button fires this instead of onTokenClick and the separate network chip is hidden (unified mode). */
1942
+ onNetworkAndAssetClick?: () => void;
1935
1943
  onNetworkClick?: (currentNetworkSelected?: ChainItem | null) => void;
1936
1944
  isLoading: boolean;
1937
1945
  selectTokenLabel: string;
@@ -1965,6 +1973,8 @@ interface EarnWithdrawTokenSelectorViewProps {
1965
1973
  logoURI?: string | null;
1966
1974
  } | null;
1967
1975
  onTokenClick: () => void;
1976
+ /** When provided, the token button fires this instead of onTokenClick and the separate network chip is hidden (unified mode). */
1977
+ onNetworkAndAssetClick?: () => void;
1968
1978
  onNetworkClick?: (currentNetworkSelected?: ChainItem | null) => void;
1969
1979
  selectTokenLabel: string;
1970
1980
  chainLabel: string;
@@ -2019,6 +2029,8 @@ interface EarnDepositFormViewProps {
2019
2029
  logoURI?: string | null;
2020
2030
  } | null;
2021
2031
  onTokenClick: () => void;
2032
+ /** When provided, the form uses unified mode: a single click opens network + asset selector together. */
2033
+ onNetworkAndAssetClick?: () => void;
2022
2034
  isLoadingToken: boolean;
2023
2035
  selectTokenLabel: string;
2024
2036
  chainLabel: string;
@@ -2078,6 +2090,8 @@ interface EarnWithdrawFormViewProps {
2078
2090
  logoURI?: string | null;
2079
2091
  } | null;
2080
2092
  onTokenClick: () => void;
2093
+ /** When provided, the form uses unified mode: a single click opens network + asset selector together. */
2094
+ onNetworkAndAssetClick?: () => void;
2081
2095
  selectTokenLabel: string;
2082
2096
  chainLabel: string;
2083
2097
  chainImage?: string;
@@ -2304,6 +2318,231 @@ declare const EarnWithdrawFailedView: React__default.FC<EarnWithdrawFailedViewPr
2304
2318
 
2305
2319
  declare const EarnWithdrawFailedSimpleView: React__default.FC<EarnWithdrawFailedViewProps>;
2306
2320
 
2321
+ interface OnchainDepositFormViewProps {
2322
+ selectedToken: {
2323
+ symbol: string;
2324
+ name: string;
2325
+ logoURI: string | null;
2326
+ } | null;
2327
+ onTokenClick: () => void;
2328
+ chainCount: number;
2329
+ selectedChain: {
2330
+ name: string;
2331
+ iconUrl: string;
2332
+ } | null;
2333
+ onNetworkClick: () => void;
2334
+ isGenerating: boolean;
2335
+ showContent: boolean;
2336
+ depositAddress: string | null;
2337
+ showInfoBanner: boolean;
2338
+ selectedTokenName: string | null;
2339
+ selectedChainName: string | null;
2340
+ isSubmitDisabled: boolean;
2341
+ onSubmit: () => void;
2342
+ submitLabel: string;
2343
+ onBack: () => void;
2344
+ labels: {
2345
+ title: string;
2346
+ subtitle: string;
2347
+ backLabel: string;
2348
+ tokenPlaceholder: string;
2349
+ chainDirectionLabel: string;
2350
+ chainPlaceholder: string;
2351
+ infoBanner: string;
2352
+ depositInstructionPrefix: string;
2353
+ depositInstructionSuffix: string;
2354
+ warnBannerTokenChain: string;
2355
+ };
2356
+ className?: string;
2357
+ }
2358
+ declare function OnchainDepositFormView({ selectedToken, onTokenClick, chainCount, selectedChain, onNetworkClick, isGenerating, showContent, depositAddress, showInfoBanner, selectedTokenName, selectedChainName, isSubmitDisabled, onSubmit, submitLabel, onBack, labels, className, }: OnchainDepositFormViewProps): react_jsx_runtime.JSX.Element;
2359
+
2360
+ interface OnchainDepositSuccessViewProps {
2361
+ tokenSymbol: string;
2362
+ tokenLogoURI: string | null;
2363
+ chainName: string;
2364
+ chainIconUrl: string;
2365
+ formattedAmount: string;
2366
+ depositAddress: string;
2367
+ txHash?: string;
2368
+ blockExplorerUrl: string;
2369
+ onViewHistory: () => void;
2370
+ onClose?: () => void;
2371
+ labels: {
2372
+ title: string;
2373
+ subtitle: string;
2374
+ assetLabel: string;
2375
+ networkLabel: string;
2376
+ amountLabel: string;
2377
+ addressLabel: string;
2378
+ txIdLabel: string;
2379
+ viewExplorerLabel: string;
2380
+ detailsTitle: string;
2381
+ estimatedTimeLabel: string;
2382
+ estimatedTimeValue: string;
2383
+ copiedLabel: string;
2384
+ viewHistoryLabel: string;
2385
+ closeAriaLabel: string;
2386
+ steps: {
2387
+ label: string;
2388
+ statusText?: string;
2389
+ }[];
2390
+ };
2391
+ className?: string;
2392
+ icon?: React__default.ReactNode;
2393
+ }
2394
+ declare function OnchainDepositSuccessView({ tokenSymbol, chainName, formattedAmount, depositAddress, txHash, blockExplorerUrl, onViewHistory, onClose, labels, className, icon, }: OnchainDepositSuccessViewProps): react_jsx_runtime.JSX.Element;
2395
+
2396
+ declare function DepositSuccessIcon(): react_jsx_runtime.JSX.Element;
2397
+
2398
+ interface OnchainWithdrawFormViewProps {
2399
+ selectedToken: {
2400
+ symbol: string;
2401
+ logoURI: string | null;
2402
+ } | null;
2403
+ onTokenClick: () => void;
2404
+ isProcessing: boolean;
2405
+ chainCount: number;
2406
+ selectedChain: {
2407
+ name: string;
2408
+ iconUrl: string;
2409
+ } | null;
2410
+ onNetworkClick: () => void;
2411
+ formattedBalance: string;
2412
+ amount: string;
2413
+ onAmountChange: (value: string) => void;
2414
+ isAmountInputDisabled: boolean;
2415
+ onMaxClick: () => void;
2416
+ showMaxButton: boolean;
2417
+ formattedAmountUsd: string;
2418
+ destinationNetwork: {
2419
+ name: string;
2420
+ iconUrl: string;
2421
+ } | null;
2422
+ destinationAddress: string;
2423
+ onDestinationAddressChange: (value: string) => void;
2424
+ txDetails: {
2425
+ formattedAmount: string;
2426
+ formattedFee: string;
2427
+ formattedReceive: string;
2428
+ } | null;
2429
+ isBelowMinAmount: boolean;
2430
+ walletError: string | null;
2431
+ transferError: string | null;
2432
+ showWarning: boolean;
2433
+ warningLabel: string;
2434
+ isSubmitDisabled: boolean;
2435
+ onSubmit: () => void;
2436
+ submitLabel: string;
2437
+ onBack: () => void;
2438
+ labels: {
2439
+ title: string;
2440
+ subtitle: string;
2441
+ backLabel: string;
2442
+ balancePrefix: string;
2443
+ tokenPlaceholder: string;
2444
+ chainPlaceholder: string;
2445
+ chainDirectionLabel: string;
2446
+ destinationNetworkLabel: string;
2447
+ destinationNetworkSameHint: string;
2448
+ destinationNetworkEmpty: string;
2449
+ destinationAddressLabel: string;
2450
+ destinationAddressPlaceholder: string;
2451
+ infoBanner: string;
2452
+ minAmountWarning: string;
2453
+ txDetailsTitle: string;
2454
+ txDetailsAmountLabel: string;
2455
+ txDetailsFeeLabel: string;
2456
+ txDetailsReceiveLabel: string;
2457
+ };
2458
+ className?: string;
2459
+ }
2460
+ declare function OnchainWithdrawFormView({ selectedToken, onTokenClick, isProcessing, chainCount, selectedChain, onNetworkClick, formattedBalance, amount, onAmountChange, isAmountInputDisabled, onMaxClick, showMaxButton, formattedAmountUsd, destinationNetwork, destinationAddress, onDestinationAddressChange, txDetails, isBelowMinAmount, walletError, transferError, showWarning, warningLabel, isSubmitDisabled, onSubmit, submitLabel, onBack, labels, className, }: OnchainWithdrawFormViewProps): react_jsx_runtime.JSX.Element;
2461
+
2462
+ interface ChainOption {
2463
+ chainId: number;
2464
+ name: string;
2465
+ iconUrl: string;
2466
+ formattedBalance: string;
2467
+ isSelected: boolean;
2468
+ }
2469
+ interface OnchainWithdrawChainSelectorViewProps {
2470
+ actionSheetId: string;
2471
+ isOpen: boolean;
2472
+ currentActionSheetId: string | null;
2473
+ onClose: () => void;
2474
+ chains: ChainOption[];
2475
+ onChainClick: (chainId: number) => void;
2476
+ title: string;
2477
+ closeAriaLabel?: string;
2478
+ }
2479
+ declare function OnchainWithdrawChainSelectorView({ actionSheetId, isOpen, currentActionSheetId, onClose, chains, onChainClick, title, closeAriaLabel, }: OnchainWithdrawChainSelectorViewProps): react_jsx_runtime.JSX.Element;
2480
+
2481
+ interface OnchainWithdrawSuccessViewProps {
2482
+ tokenSymbol: string;
2483
+ tokenLogoURI: string | null;
2484
+ formattedAmount: string;
2485
+ formattedAmountUSD: string;
2486
+ chainName: string;
2487
+ chainIconUrl: string;
2488
+ destinationAddress: string;
2489
+ blockchainCost: string;
2490
+ txHash: string;
2491
+ blockExplorerUrl: string;
2492
+ onViewHistory: () => void;
2493
+ onClose?: () => void;
2494
+ labels: {
2495
+ title: string;
2496
+ subtitle: string;
2497
+ sendingLabel: string;
2498
+ destinationLabel: string;
2499
+ detailsTitle: string;
2500
+ withdrawAmountLabel: string;
2501
+ blockchainCostLabel: string;
2502
+ youReceiveLabel: string;
2503
+ viewExplorerLabel: string;
2504
+ transactionLabel: string;
2505
+ viewHistoryLabel: string;
2506
+ closeAriaLabel: string;
2507
+ };
2508
+ className?: string;
2509
+ icon?: React__default.ReactNode;
2510
+ }
2511
+ declare function OnchainWithdrawSuccessView({ tokenSymbol, tokenLogoURI, formattedAmount, chainName, chainIconUrl, destinationAddress, blockchainCost, txHash, blockExplorerUrl, onViewHistory, onClose, labels, className, icon, }: OnchainWithdrawSuccessViewProps): react_jsx_runtime.JSX.Element;
2512
+
2513
+ declare function WithdrawSuccessIcon(): react_jsx_runtime.JSX.Element;
2514
+
2515
+ interface OnchainWithdrawFailedViewProps {
2516
+ tokenSymbol: string;
2517
+ tokenLogoURI: string | null;
2518
+ formattedAmount: string;
2519
+ chainName: string;
2520
+ chainIconUrl: string;
2521
+ destinationAddress: string;
2522
+ blockchainCost: string;
2523
+ errorMessage?: string;
2524
+ onCancel: () => void;
2525
+ onTryAgain: () => void;
2526
+ labels: {
2527
+ title: string;
2528
+ defaultErrorMessage: string;
2529
+ sendingLabel: string;
2530
+ destinationLabel: string;
2531
+ detailsTitle: string;
2532
+ withdrawAmountLabel: string;
2533
+ blockchainCostLabel: string;
2534
+ youReceiveLabel: string;
2535
+ cancelLabel: string;
2536
+ tryAgainLabel: string;
2537
+ closeAriaLabel: string;
2538
+ };
2539
+ className?: string;
2540
+ icon?: React__default.ReactNode;
2541
+ }
2542
+ declare function OnchainWithdrawFailedView({ tokenSymbol, tokenLogoURI, formattedAmount, chainName, chainIconUrl, destinationAddress, blockchainCost, errorMessage, onCancel, onTryAgain, labels, className, icon, }: OnchainWithdrawFailedViewProps): react_jsx_runtime.JSX.Element;
2543
+
2544
+ declare function WithdrawFailedIcon(): react_jsx_runtime.JSX.Element;
2545
+
2307
2546
  interface DashboardCardProps {
2308
2547
  children: React__default.ReactNode;
2309
2548
  className?: string;
@@ -2465,6 +2704,13 @@ type SwapValidationCode = 'NO_WALLET' | 'NO_CHAIN' | 'NO_TOKEN' | 'INVALID_TOKEN
2465
2704
  */
2466
2705
  declare function isDustValue(amountInUSD: number): boolean;
2467
2706
 
2707
+ /**
2708
+ * Shortens a long identifier (e.g. wallet address, tx hash) for display.
2709
+ * @param startChars — characters to keep at the start (default 6)
2710
+ * @param endChars — characters to keep at the end (default 4)
2711
+ */
2712
+ declare function truncateAddress(address: string, startChars?: number, endChars?: number): string;
2713
+
2468
2714
  interface DeframeThemeColors {
2469
2715
  brandPrimary?: string;
2470
2716
  brandSecondary?: string;
@@ -2485,4 +2731,4 @@ interface DeframeTheme {
2485
2731
  colors?: DeframeThemeColors;
2486
2732
  }
2487
2733
 
2488
- export { ActionButton, ActionSheet, type ActionSheetProps, AddressDisplay, type AddressDisplayProps, ApyRange, type ApyRangeProps, BackButton, type BackButtonProps, BackgroundContainer, type BackgroundContainerProps, type BalanceDomain, BannerNotification, type BannerNotificationProps, type ButtonProps, type ChainItem, Chip, ChipGroup, type ChipGroupProps, type ChipOption, type ChipProps, type ChooseANetworkLabels, ChooseANetworkView, type ChooseANetworkViewProps, ChooseAStrategyActionsheetView, type ChooseAStrategyActionsheetViewProps, type ChooseAnAssetSwapLabels, ChooseAnAssetSwapView, type ChooseAnAssetSwapViewProps, type ChooseNetworkAndAssetLabels, ChooseNetworkAndAssetViewSimple, type ChooseNetworkAndAssetViewSimpleProps, CloseButton, type CloseButtonProps, CollapsibleInfoRow, type CollapsibleInfoRowProps, CollapsibleSection, type CollapsibleSectionProps, type ConfirmSwapButtonLabels, ConfirmSwapButtonView, type ConfirmSwapButtonViewProps, ConfirmSwapButtonViewSimple, ConnectWalletList, type ConnectWalletListProps, Currency, type CurrencyProps, type CurrencyType, DashboardBalancesBreakdown, type DashboardBalancesBreakdownProps, DashboardCard, type DashboardCardProps, DashboardInvestmentOpportunitiesView, type DashboardInvestmentOpportunitiesViewProps, DashboardPortfolioView, type DashboardPortfolioViewProps, DashboardPortfolioViewSimple, DashboardRecentTransactionsView, type DashboardRecentTransactionsViewProps, DashboardRecentTransactionsViewSimple, DashboardStrategiesListView, type DashboardStrategiesListViewProps, type DashboardStrategyItem, type DashboardTokenItem, DashboardTokenListView, type DashboardTokenListViewProps, DashboardTokensView, type DashboardTokensViewProps, DashboardTokensViewSimple, type DashboardTransactionItemViewData, DashboardTransactionsPlaceholder, DashboardView, type DashboardViewProps, DashboardViewSimple, type DashboardViewSimpleProps, DeframeComponentsProvider, type DeframeTheme, type DeframeThemeColors, type DetailItem, DetailsHeader, type DetailsHeaderProps, EarnAmountInputView, type EarnAmountInputViewProps, EarnBalanceCard, type EarnBalanceCardProps, EarnBytecodeErrorView, type EarnBytecodeErrorViewProps, EarnDepositFailedSimpleView, EarnDepositFailedView, type EarnDepositFailedViewProps, EarnDepositFormView, type EarnDepositFormViewProps, EarnDepositFormViewSimple, EarnDepositProcessingSimpleView, EarnDepositProcessingView, type EarnDepositProcessingViewProps, EarnDepositSuccessSimpleView, EarnDepositSuccessView, type EarnDepositSuccessViewProps, EarnDepositWarningSimpleView, EarnDepositWarningView, type EarnDepositWarningViewProps, EarnDesktopView, type EarnDesktopViewProps, type EarnExploreGridItem, EarnExploreGridView, type EarnExploreGridViewProps, EarnFlowSkeletonSimple, type EarnInvestedSectionItem, EarnInvestedSectionView, type EarnInvestedSectionViewProps, type EarnInvestmentDetailsTransaction, EarnInvestmentDetailsView, type EarnInvestmentDetailsViewProps, EarnInvestmentSummaryView, type EarnInvestmentSummaryViewProps, EarnNoBalanceNotificationView, type EarnNoBalanceNotificationViewProps, EarnOverviewView, type EarnOverviewViewProps, EarnPercentageButtonsView, type EarnPercentageButtonsViewProps, EarnPositionCardView, type EarnPositionCardViewProps, EarnRecentTransactionsView, type EarnRecentTransactionsViewProps, EarnTokenSelectorView, type EarnTokenSelectorViewProps, EarnTxStatusCardView, type EarnTxStatusCardViewProps, EarnWithdrawFailedSimpleView, EarnWithdrawFailedView, type EarnWithdrawFailedViewProps, EarnWithdrawFormView, type EarnWithdrawFormViewProps, EarnWithdrawFormViewSimple, EarnWithdrawProcessingSimpleView, EarnWithdrawProcessingView, type EarnWithdrawProcessingViewProps, EarnWithdrawSuccessSimpleView, EarnWithdrawSuccessView, type EarnWithdrawSuccessViewProps, EarnWithdrawTokenSelectorView, type EarnWithdrawTokenSelectorViewProps, EarnWithdrawWarningSimpleView, EarnWithdrawWarningView, type EarnWithdrawWarningViewProps, type ExploreStrategyViewItem, Currency as Fiat, type FiatProps, FlexCol, type FlexColProps, FlexRow, type FlexRowProps, type GroupedInvestedItem, type GroupedStrategyItem, type GroupedStrategyListItem, GroupedStrategyListView, type GroupedStrategyListViewProps, HighRiskBadge, type HighRiskBadgeProps, type HistoryAssetViewProps, HistoryDepositDetailsView, type HistoryDetailsLabels, type HistoryDetailsStatus, type HistoryDetailsViewProps, HistoryListSkeleton, HistoryListView, type HistoryListViewGroup, type HistoryListViewItem, type HistoryListViewProps, type HistorySwapDetailsLabels, HistorySwapDetailsView, type HistorySwapDetailsViewProps, HistoryTabEmpty, type HistoryTabEmptyProps, HistoryWithdrawDetailsView, InfoLabel, type InfoLabelProps, InfoRow, InfoRowIconLabel, type InfoRowIconLabelProps, InfoRowIconValue, type InfoRowIconValueProps, type InfoRowProps, InfoRowWithIcon, type InfoRowWithIconProps, InfoValue, type InfoValueProps, Input, type InputFieldRegistration, type InputProps, InvestmentCrossChainProcessingView, type InvestmentCrossChainProcessingViewProps, Label, type LabelProps, type LabelVariant, Link, type LinkProps, ListItem, ListItemContent, ListItemLeftSide, type ListItemProps, ListItemRightSide, LoadingDots, type LoadingDotsProps, LowRiskBadge, type LowRiskBadgeProps, MediumRiskBadge, type MediumRiskBadgeProps, Navbar, type NavbarProps, type NetworkOption, PercentageButton, PrimaryButton, ProcessingBadge, type ProcessingBadgeProps, ProgressIndicator, type ProgressIndicatorProps, ScrollableContent, type ScrollableContentProps, SearchEmptyState, type SearchEmptyStateProps, SearchInput, type SearchInputProps, SecondaryButton, SectionCard, type SectionCardProps, Select, SelectContent, type SelectContentProps, SelectItem, type SelectItemProps, type SelectProps, SelectTrigger, type SelectTriggerProps, Skeleton, type SkeletonProps, StepDisplay, type StepDisplayProps, StepStatusIcon, type StepStatusIconProps, StepStatusText, type StepStatusTextProps, StrategyDetailsView, type StrategyDetailsViewProps, StrategyGridCard, type StrategyGridCardProps, SummaryDetails, SummaryDetailsCryptoControlV2, type SummaryDetailsProps, SwapAdvancedSettingsView, type SwapAdvancedSettingsViewProps, SwapAmountInputView, type SwapAmountInputViewProps, type SwapCardLabels, SwapCrossChainProcessingView, type SwapCrossChainProcessingViewProps, type SwapFormLabels, SwapFormView, type SwapFormViewProps, SwapFormViewSimple, SwapFromCardView, type SwapFromCardViewProps, SwapFromCardViewSimple, type SwapFromCardViewSimpleProps, type SwapHistoryItem, type SwapHistoryLabels, SwapHistoryView, type SwapHistoryViewProps, type SwapNetworkSelectorViewProps, type SwapOutputAmountViewProps, SwapProcessingView, type SwapProcessingViewProps, SwapProcessingViewSimple, type SwapQuoteBlockchainCostsViewProps, type SwapQuoteDetailsLabels, SwapQuoteDetailsView, type SwapQuoteDetailsViewProps, type SwapQuoteErrorsViewProps, type SwapQuoteHeaderViewProps, SwapSignatureWarningView, type SwapSignatureWarningViewProps, SwapSignatureWarningViewSimple, type SwapSlippageToleranceButtonsViewProps, type SwapSuccessLabels, SwapSuccessView, type SwapSuccessViewProps, SwapSuccessViewSimple, SwapToCardView, type SwapToCardViewProps, SwapToCardViewSimple, type SwapTokenSelectorViewProps, SwapTransactionFailedView, type SwapTransactionFailedViewProps, SwapTransactionFailedViewSimple, type SwapValidationCode, SwapWidgetFallbackView, type SwapWidgetFallbackViewProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TertiaryButton, Text, TextAccent, type TextAccentProps, TextBody, type TextBodyProps, TextHeading, type TextHeadingProps, Title, type TokenData, TokenWithChainBadge, type TokenWithChainBadgeProps, TransactionProcessingDetails, type TransactionProcessingDetailsLabels, type TransactionProcessingDetailsProps, TransactionScreen, TransactionScreenIcon, type TransactionScreenIconProps, TransactionScreenInvestmentCard, type TransactionScreenInvestmentCardProps, type TransactionScreenProps, type TransactionStep, type TransactionStepStatus, type WalletBalanceItem, WalletBalances, type WalletBalancesProps, WalletConnectPanel, type WalletConnectPanelProps, WalletItem, type WalletItemProps, ConnectWalletList as WalletList, WalletListContainer, type WalletListContainerProps, type WalletOption, isDustValue };
2734
+ export { ActionButton, ActionSheet, type ActionSheetProps, AddressDisplay, type AddressDisplayProps, ApyRange, type ApyRangeProps, BackButton, type BackButtonProps, BackgroundContainer, type BackgroundContainerProps, type BalanceDomain, BannerNotification, type BannerNotificationProps, type ButtonProps, type ChainItem, type ChainOption, Chip, ChipGroup, type ChipGroupProps, type ChipOption, type ChipProps, type ChooseANetworkLabels, ChooseANetworkView, type ChooseANetworkViewProps, ChooseAStrategyActionsheetView, type ChooseAStrategyActionsheetViewProps, type ChooseAnAssetSwapLabels, ChooseAnAssetSwapView, type ChooseAnAssetSwapViewProps, type ChooseNetworkAndAssetLabels, ChooseNetworkAndAssetViewSimple, type ChooseNetworkAndAssetViewSimpleProps, CloseButton, type CloseButtonProps, CollapsibleInfoRow, type CollapsibleInfoRowProps, CollapsibleSection, type CollapsibleSectionProps, type ConfirmSwapButtonLabels, ConfirmSwapButtonView, type ConfirmSwapButtonViewProps, ConfirmSwapButtonViewSimple, ConnectWalletList, type ConnectWalletListProps, Currency, type CurrencyProps, type CurrencyType, DashboardBalancesBreakdown, type DashboardBalancesBreakdownProps, DashboardCard, type DashboardCardProps, DashboardInvestmentOpportunitiesView, type DashboardInvestmentOpportunitiesViewProps, DashboardPortfolioView, type DashboardPortfolioViewProps, DashboardPortfolioViewSimple, DashboardRecentTransactionsView, type DashboardRecentTransactionsViewProps, DashboardRecentTransactionsViewSimple, DashboardStrategiesListView, type DashboardStrategiesListViewProps, type DashboardStrategyItem, type DashboardTokenItem, DashboardTokenListView, type DashboardTokenListViewProps, DashboardTokensView, type DashboardTokensViewProps, DashboardTokensViewSimple, type DashboardTransactionItemViewData, DashboardTransactionsPlaceholder, DashboardView, type DashboardViewProps, DashboardViewSimple, type DashboardViewSimpleProps, DeframeComponentsProvider, type DeframeTheme, type DeframeThemeColors, DepositSuccessIcon, type DetailItem, DetailsHeader, type DetailsHeaderProps, EarnAmountInputView, type EarnAmountInputViewProps, EarnBalanceCard, type EarnBalanceCardProps, EarnBytecodeErrorView, type EarnBytecodeErrorViewProps, EarnDepositFailedSimpleView, EarnDepositFailedView, type EarnDepositFailedViewProps, EarnDepositFormView, type EarnDepositFormViewProps, EarnDepositFormViewSimple, EarnDepositProcessingSimpleView, EarnDepositProcessingView, type EarnDepositProcessingViewProps, EarnDepositSuccessSimpleView, EarnDepositSuccessView, type EarnDepositSuccessViewProps, EarnDepositWarningSimpleView, EarnDepositWarningView, type EarnDepositWarningViewProps, EarnDesktopView, type EarnDesktopViewProps, type EarnExploreGridItem, EarnExploreGridView, type EarnExploreGridViewProps, EarnFlowSkeletonSimple, type EarnInvestedSectionItem, EarnInvestedSectionView, type EarnInvestedSectionViewProps, type EarnInvestmentDetailsTransaction, EarnInvestmentDetailsView, type EarnInvestmentDetailsViewProps, EarnInvestmentSummaryView, type EarnInvestmentSummaryViewProps, EarnNoBalanceNotificationView, type EarnNoBalanceNotificationViewProps, EarnOverviewView, type EarnOverviewViewProps, EarnPercentageButtonsView, type EarnPercentageButtonsViewProps, EarnPositionCardView, type EarnPositionCardViewProps, EarnRecentTransactionsView, type EarnRecentTransactionsViewProps, EarnTokenSelectorView, type EarnTokenSelectorViewProps, EarnTxStatusCardView, type EarnTxStatusCardViewProps, EarnWithdrawFailedSimpleView, EarnWithdrawFailedView, type EarnWithdrawFailedViewProps, EarnWithdrawFormView, type EarnWithdrawFormViewProps, EarnWithdrawFormViewSimple, EarnWithdrawProcessingSimpleView, EarnWithdrawProcessingView, type EarnWithdrawProcessingViewProps, EarnWithdrawSuccessSimpleView, EarnWithdrawSuccessView, type EarnWithdrawSuccessViewProps, EarnWithdrawTokenSelectorView, type EarnWithdrawTokenSelectorViewProps, EarnWithdrawWarningSimpleView, EarnWithdrawWarningView, type EarnWithdrawWarningViewProps, type ExploreStrategyViewItem, Currency as Fiat, type FiatProps, FlexCol, type FlexColProps, FlexRow, type FlexRowProps, type GroupedInvestedItem, type GroupedStrategyItem, type GroupedStrategyListItem, GroupedStrategyListView, type GroupedStrategyListViewProps, HighRiskBadge, type HighRiskBadgeProps, type HistoryAssetViewProps, HistoryDepositDetailsView, type HistoryDetailsLabels, type HistoryDetailsStatus, type HistoryDetailsViewProps, HistoryListSkeleton, HistoryListView, type HistoryListViewGroup, type HistoryListViewItem, type HistoryListViewProps, type HistorySwapDetailsLabels, HistorySwapDetailsView, type HistorySwapDetailsViewProps, HistoryTabEmpty, type HistoryTabEmptyProps, HistoryWithdrawDetailsView, InfoLabel, type InfoLabelProps, InfoRow, InfoRowIconLabel, type InfoRowIconLabelProps, InfoRowIconValue, type InfoRowIconValueProps, type InfoRowProps, InfoRowWithIcon, type InfoRowWithIconProps, InfoValue, type InfoValueProps, Input, type InputFieldRegistration, type InputProps, InvestmentCrossChainProcessingView, type InvestmentCrossChainProcessingViewProps, Label, type LabelProps, type LabelVariant, Link, type LinkProps, ListItem, ListItemContent, ListItemLeftSide, type ListItemProps, ListItemRightSide, LoadingDots, type LoadingDotsProps, LowRiskBadge, type LowRiskBadgeProps, MediumRiskBadge, type MediumRiskBadgeProps, Navbar, type NavbarProps, type NetworkOption, OnchainDepositFormView, type OnchainDepositFormViewProps, OnchainDepositSuccessView, type OnchainDepositSuccessViewProps, OnchainWithdrawChainSelectorView, type OnchainWithdrawChainSelectorViewProps, OnchainWithdrawFailedView, type OnchainWithdrawFailedViewProps, OnchainWithdrawFormView, type OnchainWithdrawFormViewProps, OnchainWithdrawSuccessView, type OnchainWithdrawSuccessViewProps, PercentageButton, PrimaryButton, ProcessingBadge, type ProcessingBadgeProps, ProgressIndicator, type ProgressIndicatorProps, ScrollableContent, type ScrollableContentProps, SearchEmptyState, type SearchEmptyStateProps, SearchInput, type SearchInputProps, SecondaryButton, SectionCard, type SectionCardProps, Select, SelectContent, type SelectContentProps, SelectItem, type SelectItemProps, type SelectProps, SelectTrigger, type SelectTriggerProps, Skeleton, type SkeletonProps, StepDisplay, type StepDisplayProps, StepStatusIcon, type StepStatusIconProps, StepStatusText, type StepStatusTextProps, StrategyDetailsView, type StrategyDetailsViewProps, StrategyGridCard, type StrategyGridCardProps, SummaryDetails, SummaryDetailsCryptoControlV2, type SummaryDetailsProps, SwapAdvancedSettingsView, type SwapAdvancedSettingsViewProps, SwapAmountInputView, type SwapAmountInputViewProps, type SwapCardLabels, SwapCrossChainProcessingView, type SwapCrossChainProcessingViewProps, type SwapFormLabels, SwapFormView, type SwapFormViewProps, SwapFormViewSimple, SwapFromCardView, type SwapFromCardViewProps, SwapFromCardViewSimple, type SwapFromCardViewSimpleProps, type SwapHistoryItem, type SwapHistoryLabels, SwapHistoryView, type SwapHistoryViewProps, type SwapNetworkSelectorViewProps, type SwapOutputAmountViewProps, SwapProcessingView, type SwapProcessingViewProps, SwapProcessingViewSimple, type SwapQuoteBlockchainCostsViewProps, type SwapQuoteDetailsLabels, SwapQuoteDetailsView, type SwapQuoteDetailsViewProps, type SwapQuoteErrorsViewProps, type SwapQuoteHeaderViewProps, SwapSignatureWarningView, type SwapSignatureWarningViewProps, SwapSignatureWarningViewSimple, type SwapSlippageToleranceButtonsViewProps, type SwapSuccessLabels, SwapSuccessView, type SwapSuccessViewProps, SwapSuccessViewSimple, SwapToCardView, type SwapToCardViewProps, SwapToCardViewSimple, type SwapTokenSelectorViewProps, SwapTransactionFailedView, type SwapTransactionFailedViewProps, SwapTransactionFailedViewSimple, type SwapValidationCode, SwapWidgetFallbackView, type SwapWidgetFallbackViewProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TertiaryButton, Text, TextAccent, type TextAccentProps, TextBody, type TextBodyProps, TextHeading, type TextHeadingProps, Title, type TokenData, TokenWithChainBadge, type TokenWithChainBadgeProps, TransactionProcessingDetails, type TransactionProcessingDetailsLabels, type TransactionProcessingDetailsProps, TransactionScreen, TransactionScreenIcon, type TransactionScreenIconProps, TransactionScreenInvestmentCard, type TransactionScreenInvestmentCardProps, type TransactionScreenProps, type TransactionStep, type TransactionStepStatus, type WalletBalanceItem, WalletBalances, type WalletBalancesProps, WalletConnectPanel, type WalletConnectPanelProps, WalletItem, type WalletItemProps, ConnectWalletList as WalletList, WalletListContainer, type WalletListContainerProps, type WalletOption, WithdrawFailedIcon, WithdrawSuccessIcon, isDustValue, truncateAddress };