@deframe-sdk/components 0.1.63 → 0.1.65

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.mjs CHANGED
@@ -11207,6 +11207,28 @@ var SimpleEmptyState = ({ title, description }) => {
11207
11207
  }
11208
11208
  );
11209
11209
  };
11210
+
11211
+ // src/utils/formatHistoryAssetAmount.ts
11212
+ var BRL_PEGGED_SYMBOLS = /* @__PURE__ */ new Set(["BRLA"]);
11213
+ function formatHistoryAssetAmount(input) {
11214
+ const { amountHumanized, amountInUSD, symbol, currency, locale, formatCurrency } = input;
11215
+ if (currency === "BRL" && BRL_PEGGED_SYMBOLS.has(symbol) && amountHumanized) {
11216
+ const num = parseFloat(amountHumanized);
11217
+ if (Number.isFinite(num)) {
11218
+ return `R$${num.toLocaleString(locale, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`;
11219
+ }
11220
+ }
11221
+ if (amountInUSD) {
11222
+ const num = parseFloat(amountInUSD);
11223
+ if (Number.isFinite(num)) {
11224
+ return formatCurrency(num);
11225
+ }
11226
+ }
11227
+ if (amountHumanized) {
11228
+ return `${amountHumanized} ${symbol}`;
11229
+ }
11230
+ return "";
11231
+ }
11210
11232
  var EARN_CATEGORY_DEFINITIONS = [
11211
11233
  {
11212
11234
  id: "dolar",
@@ -11287,6 +11309,7 @@ var EarnDesktopViewSimple = ({
11287
11309
  strategies = [],
11288
11310
  historyItems = [],
11289
11311
  formatCurrency = defaultFormatCurrency,
11312
+ currency,
11290
11313
  locale = "pt-BR",
11291
11314
  onDeposit,
11292
11315
  onWithdraw,
@@ -11334,7 +11357,14 @@ var EarnDesktopViewSimple = ({
11334
11357
  const primaryAsset = isDeposit ? (_a = item.amounts) == null ? void 0 : _a.assetIn : (_b = item.amounts) == null ? void 0 : _b.assetOut;
11335
11358
  const symbol = (_e = primaryAsset && "token" in primaryAsset ? (_d = (_c = primaryAsset.token) == null ? void 0 : _c.symbol) == null ? void 0 : _d.toUpperCase() : null) != null ? _e : "";
11336
11359
  if (!symbol) continue;
11337
- const amount = primaryAsset && "amountInUSD" in primaryAsset && primaryAsset.amountInUSD ? formatCurrency(parseFloat(primaryAsset.amountInUSD)) : primaryAsset && "amountHumanized" in primaryAsset ? `${primaryAsset.amountHumanized} ${symbol}` : "";
11360
+ const amount = formatHistoryAssetAmount({
11361
+ amountHumanized: primaryAsset && "amountHumanized" in primaryAsset ? primaryAsset.amountHumanized : void 0,
11362
+ amountInUSD: primaryAsset && "amountInUSD" in primaryAsset ? primaryAsset.amountInUSD : void 0,
11363
+ symbol,
11364
+ currency,
11365
+ locale,
11366
+ formatCurrency
11367
+ });
11338
11368
  const date = new Date(item.createdAt).toLocaleString(locale, {
11339
11369
  day: "2-digit",
11340
11370
  month: "2-digit",
@@ -11353,7 +11383,7 @@ var EarnDesktopViewSimple = ({
11353
11383
  map.get(symbol).push(entry);
11354
11384
  }
11355
11385
  return map;
11356
- }, [historyItems, locale, formatCurrency, onHistoryDetail]);
11386
+ }, [historyItems, locale, formatCurrency, currency, onHistoryDetail]);
11357
11387
  const cardLabels = React6__default.useMemo(() => ({
11358
11388
  investLabel: labels == null ? void 0 : labels.investLabel,
11359
11389
  withdrawLabel: labels == null ? void 0 : labels.cardWithdrawLabel,
@@ -11888,6 +11918,185 @@ var EarnFlowSkeletonSimple = () => {
11888
11918
  ] })
11889
11919
  ] });
11890
11920
  };
11921
+ var EarnHistoryView = ({
11922
+ items,
11923
+ isLoading,
11924
+ onClose,
11925
+ onItemClick,
11926
+ labels,
11927
+ className
11928
+ }) => {
11929
+ const [query, setQuery] = useState("");
11930
+ const filtered = useMemo(() => {
11931
+ const q = query.trim().toLowerCase();
11932
+ if (!q) return items;
11933
+ return items.filter(
11934
+ (item) => historyResolveSearchableText(item, labels.historyItem, labels.locale).includes(q)
11935
+ );
11936
+ }, [items, query, labels.historyItem, labels.locale]);
11937
+ return /* @__PURE__ */ jsxs(
11938
+ "div",
11939
+ {
11940
+ "data-test-id": "earn-history-view",
11941
+ className: twMerge(
11942
+ "bg-[var(--deframe-widget-color-bg-secondary)]",
11943
+ "rounded-[var(--deframe-widget-size-radius-md)]",
11944
+ "border border-[color:var(--deframe-widget-color-border-secondary)]",
11945
+ "px-[var(--deframe-widget-size-padding-x-md)] py-[var(--deframe-widget-size-padding-y-md)]",
11946
+ "flex flex-col gap-[var(--deframe-widget-size-gap-md)] h-[calc(100vh-48px)]",
11947
+ "font-[var(--deframe-widget-font-family)]",
11948
+ "w-full max-w-[900px] mx-auto shrink-0 box-border",
11949
+ className
11950
+ ),
11951
+ children: [
11952
+ /* @__PURE__ */ jsxs(
11953
+ "div",
11954
+ {
11955
+ "data-test-id": "earn-history-view-header",
11956
+ className: "flex items-start justify-between gap-[var(--deframe-widget-size-gap-sm)]",
11957
+ children: [
11958
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-[4px]", children: [
11959
+ /* @__PURE__ */ jsx(
11960
+ "h2",
11961
+ {
11962
+ "data-test-id": "earn-history-view-title",
11963
+ className: twMerge(
11964
+ "m-0 text-[20px] leading-[1.25]",
11965
+ "[font-weight:var(--deframe-widget-font-weight-bold)]",
11966
+ "text-[color:var(--deframe-widget-color-text-primary)]"
11967
+ ),
11968
+ children: labels.title
11969
+ }
11970
+ ),
11971
+ /* @__PURE__ */ jsx(
11972
+ "p",
11973
+ {
11974
+ "data-test-id": "earn-history-view-subtitle",
11975
+ className: "m-0 text-[13px] text-[color:var(--deframe-widget-color-text-secondary)] leading-[1.4]",
11976
+ children: labels.subtitle
11977
+ }
11978
+ )
11979
+ ] }),
11980
+ /* @__PURE__ */ jsx(
11981
+ CloseButton_default,
11982
+ {
11983
+ onClick: onClose,
11984
+ ariaLabel: labels.closeAriaLabel,
11985
+ className: "flex-shrink-0 mt-[-4px]"
11986
+ }
11987
+ )
11988
+ ]
11989
+ }
11990
+ ),
11991
+ /* @__PURE__ */ jsx("div", { className: "h-px bg-[var(--deframe-widget-color-border-secondary)]" }),
11992
+ /* @__PURE__ */ jsxs(
11993
+ "div",
11994
+ {
11995
+ "data-test-id": "earn-history-view-search",
11996
+ className: "relative",
11997
+ children: [
11998
+ /* @__PURE__ */ jsx(
11999
+ "input",
12000
+ {
12001
+ "data-test-id": "earn-history-view-search-input",
12002
+ type: "text",
12003
+ value: query,
12004
+ onChange: (e) => setQuery(e.target.value),
12005
+ placeholder: labels.searchPlaceholder,
12006
+ "aria-label": labels.searchAriaLabel,
12007
+ className: [
12008
+ "w-full box-border h-10",
12009
+ "bg-[var(--deframe-widget-color-bg-tertiary)]",
12010
+ "border border-[color:var(--deframe-widget-color-border-secondary)]",
12011
+ "rounded-[var(--deframe-widget-size-radius-sm)]",
12012
+ "py-0 pr-[var(--deframe-widget-size-padding-x-xl)] pl-[14px]",
12013
+ "text-[14px] text-[color:var(--deframe-widget-color-text-primary)]",
12014
+ "outline-none focus:outline-none",
12015
+ "focus:border-[color:var(--deframe-widget-color-brand-primary)]",
12016
+ "transition-colors duration-150",
12017
+ "font-[var(--deframe-widget-font-family)]",
12018
+ "placeholder:text-[color:var(--deframe-widget-color-text-tertiary)]"
12019
+ ].join(" ")
12020
+ }
12021
+ ),
12022
+ /* @__PURE__ */ jsx("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none text-[color:var(--deframe-widget-color-text-tertiary)]", children: /* @__PURE__ */ jsxs(
12023
+ "svg",
12024
+ {
12025
+ width: "15",
12026
+ height: "15",
12027
+ viewBox: "0 0 24 24",
12028
+ fill: "none",
12029
+ stroke: "currentColor",
12030
+ strokeWidth: "2",
12031
+ strokeLinecap: "round",
12032
+ "aria-hidden": "true",
12033
+ children: [
12034
+ /* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "8" }),
12035
+ /* @__PURE__ */ jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
12036
+ ]
12037
+ }
12038
+ ) })
12039
+ ]
12040
+ }
12041
+ ),
12042
+ /* @__PURE__ */ jsx(
12043
+ "div",
12044
+ {
12045
+ "data-test-id": "earn-history-view-list",
12046
+ className: "flex flex-col gap-[var(--deframe-widget-size-gap-sm)] flex-1 min-h-0 overflow-y-auto [&::-webkit-scrollbar]:w-[6px] [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:bg-[color:var(--deframe-widget-color-border-secondary)] [&::-webkit-scrollbar-thumb]:rounded-full",
12047
+ children: isLoading ? [1, 2, 3].map((i) => /* @__PURE__ */ jsxs(
12048
+ "div",
12049
+ {
12050
+ className: twMerge(
12051
+ "flex flex-col gap-[6px]",
12052
+ "px-[var(--deframe-widget-size-padding-x-md)] py-[14px]",
12053
+ "rounded-[var(--deframe-widget-size-radius-sm)]",
12054
+ "border border-[color:var(--deframe-widget-color-border-secondary)]"
12055
+ ),
12056
+ children: [
12057
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
12058
+ /* @__PURE__ */ jsx(Skeleton, { width: "100px", height: "12px", shimmer: true }),
12059
+ /* @__PURE__ */ jsx(Skeleton, { width: "80px", height: "20px", shimmer: true, className: "rounded-full" })
12060
+ ] }),
12061
+ /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between", children: [
12062
+ /* @__PURE__ */ jsx(Skeleton, { width: "160px", height: "18px", shimmer: true }),
12063
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-end gap-[4px]", children: [
12064
+ /* @__PURE__ */ jsx(Skeleton, { width: "96px", height: "14px", shimmer: true }),
12065
+ /* @__PURE__ */ jsx(Skeleton, { width: "72px", height: "12px", shimmer: true })
12066
+ ] })
12067
+ ] })
12068
+ ]
12069
+ },
12070
+ i
12071
+ )) : items.length === 0 ? /* @__PURE__ */ jsx(DashboardTransactionsPlaceholder, { title: labels.emptyTitle, description: labels.emptyDescription }) : filtered.length === 0 ? /* @__PURE__ */ jsx(
12072
+ "div",
12073
+ {
12074
+ "data-test-id": "earn-history-view-no-results",
12075
+ className: "py-[var(--deframe-widget-size-padding-y-xl)] text-center text-[13px] text-[color:var(--deframe-widget-color-text-tertiary)]",
12076
+ children: labels.emptyTitle
12077
+ }
12078
+ ) : filtered.map((item) => /* @__PURE__ */ jsx(
12079
+ "div",
12080
+ {
12081
+ onClick: onItemClick ? () => onItemClick(item.id) : void 0,
12082
+ className: onItemClick ? "cursor-pointer" : void 0,
12083
+ children: /* @__PURE__ */ jsx(
12084
+ HistoryListItemSimple,
12085
+ {
12086
+ item,
12087
+ labels: labels.historyItem,
12088
+ locale: labels.locale
12089
+ }
12090
+ )
12091
+ },
12092
+ item.id
12093
+ ))
12094
+ }
12095
+ )
12096
+ ]
12097
+ }
12098
+ );
12099
+ };
11891
12100
  var EarnDepositFormView = ({
11892
12101
  // Header / Layout
11893
12102
  headerTitle,
@@ -19210,6 +19419,6 @@ var DashboardViewSimple = ({
19210
19419
  );
19211
19420
  };
19212
19421
 
19213
- export { ActionButton, ActionSheet, AddressDisplay, ApyRange, BackButton, BackgroundContainer, BannerNotification, Chip, ChipGroup, ChoiceCard, ChooseANetworkView, ChooseAStrategyActionsheetView, ChooseAnAssetSwapView, ChooseNetworkAndAssetViewSimple, CloseButton_default as CloseButton, CollapsibleInfoRow, CollapsibleSection, ConfirmSwapButtonView, ConfirmSwapButtonViewSimple, ConnectWalletList, Currency, DashboardBalancesBreakdown, DashboardCard, DashboardInvestmentOpportunitiesView, DashboardPortfolioView, DashboardPortfolioViewSimple, DashboardRecentTransactionsView, DashboardRecentTransactionsViewSimple, DashboardStrategiesListView, DashboardTokenListView, DashboardTokensView, DashboardTokensViewSimple, DashboardTransactionsPlaceholder, DashboardView, DashboardViewSimple, DeframeComponentsProvider, DepositSuccessIcon, DetailsHeader, EARN_CATEGORY_DEFINITIONS, EarnAmountInputView, EarnBalanceCard, EarnBytecodeErrorView, EarnDepositFailedSimpleView, EarnDepositFailedView, EarnDepositFormView, EarnDepositFormViewSimple, EarnDepositProcessingSimpleView, EarnDepositProcessingView, EarnDepositSuccessSimpleView, EarnDepositSuccessView, EarnDepositWarningSimpleView, EarnDepositWarningView, EarnDesktopView, EarnDesktopViewSimple, EarnExploreGridView, EarnFlowSkeletonSimple, EarnInvestedSectionView, EarnInvestmentDetailsView, EarnInvestmentSummaryView, EarnNoBalanceNotificationView, EarnOverviewView, EarnPercentageButtonsView, EarnPositionCardView, EarnRecentTransactionsView, EarnTokenSelectorView, EarnTxStatusCardView, EarnWithdrawFailedSimpleView, EarnWithdrawFailedView, EarnWithdrawFormView, EarnWithdrawFormViewSimple, EarnWithdrawProcessingSimpleView, EarnWithdrawProcessingView, EarnWithdrawSuccessSimpleView, EarnWithdrawSuccessView, EarnWithdrawTokenSelectorView, EarnWithdrawWarningSimpleView, EarnWithdrawWarningView, Currency as Fiat, FlexCol, FlexRow, GroupedStrategyListView, HighRiskBadge, HistoryDepositDetailsView, HistoryListItem, HistoryListItemSimple, HistoryListSkeleton, HistoryListView, HistorySwapDetailsView, HistoryTabEmpty, HistoryWithdrawDetailsView, InfoLabel, InfoRow, InfoRowIconLabel, InfoRowIconValue, InfoRowWithIcon, InfoValue, Input2 as Input, InputField, InputLabel, Input as InputRoot, InvestmentCrossChainProcessingSimpleView, InvestmentCrossChainProcessingView, KYCActionRow, KYCAddressPage, KYCBasicDataPage, KYCChecklistCard, KYCChecklistItem, KYCDataCard, KYCDocumentPage, KYCEditPage, KYCFieldMessage, KYCFormPage, KYCInfoRow, KYCIntroPage, KYCLoadingPage, KYCMessageBanner, KYCPageHeader, KYCPageSection, KYCPageShell, KYCReviewPage, KYCReviewPageSkeleton, KYCStatusItemCard, KYCStatusPage, KYCStatusPanel, KYCStepIndicator, KycLoadingView, KycRequiredView, Label, Link, ListItem, ListItemContent, ListItemLeftSide, ListItemRightSide, LoadingDots, LowRiskBadge, MediumRiskBadge, Navbar, OffchainMethodSelectionView, OfframpFailedSimpleView, OfframpInputFormSimpleView, OfframpInputFormView, OfframpProcessingSimpleView, OfframpProcessingView, OfframpSuccessSimpleView, OfframpSuccessView, OnchainDepositFormSimpleView, OnchainDepositFormView, OnchainDepositSuccessSimpleView, OnchainDepositSuccessView, OnchainWithdrawChainSelectorView, OnchainWithdrawFailedSimpleView, OnchainWithdrawFailedView, OnchainWithdrawFormSimpleView, OnchainWithdrawFormView, OnchainWithdrawProcessingSimpleView, OnchainWithdrawSignatureWarningSimpleView, OnchainWithdrawSignatureWarningView, OnchainWithdrawSuccessSimpleView, OnchainWithdrawSuccessView, OnrampFormSimpleView, OnrampFormView, OnrampPixcodeView, OnrampSuccessSimpleView, OnrampSuccessView, PercentageButton, PrimaryButton, ProcessingBadge, ProgressIndicator, ScrollableContent, SearchEmptyState, SearchInput, SecondaryButton, SectionCard, Select, SelectContent, SelectItem, SelectTrigger, Skeleton, StepDisplay, StepStatusIcon, StepStatusText, StrategyDetailsView, StrategyGridCard, SummaryDetails, SummaryDetailsCryptoControlV2, SwapAdvancedSettingsView, SwapAmountInputView, SwapCrossChainProcessingView, SwapCrossChainProcessingViewSimple, SwapFormView, SwapFormViewSimple, SwapFromCardView, SwapFromCardViewSimple, SwapHistoryView, SwapHistoryViewSimple, SwapProcessingView, SwapProcessingViewSimple, SwapQuoteDetailsView, SwapSignatureWarningView, SwapSignatureWarningViewSimple, SwapSuccessView, SwapSuccessViewSimple, SwapToCardView, SwapToCardViewSimple, SwapTransactionFailedView, SwapTransactionFailedViewSimple, SwapWidgetFallbackView, Tabs, TabsContent, TabsList, TabsTrigger, TertiaryButton, Text_default as Text, TextAccent, TextBody, TextHeading, Title, TokenWithChainBadge, TransactionProcessingDetails, TransactionScreen, TransactionScreenIcon, TransactionScreenInvestmentCard, WalletBalances, WalletConnectPanel, WalletItem, ConnectWalletList as WalletList, WalletListContainer, WithdrawFailedIcon, WithdrawSuccessIcon, isDustValue, truncateAddress };
19422
+ export { ActionButton, ActionSheet, AddressDisplay, ApyRange, BackButton, BackgroundContainer, BannerNotification, Chip, ChipGroup, ChoiceCard, ChooseANetworkView, ChooseAStrategyActionsheetView, ChooseAnAssetSwapView, ChooseNetworkAndAssetViewSimple, CloseButton_default as CloseButton, CollapsibleInfoRow, CollapsibleSection, ConfirmSwapButtonView, ConfirmSwapButtonViewSimple, ConnectWalletList, Currency, DashboardBalancesBreakdown, DashboardCard, DashboardInvestmentOpportunitiesView, DashboardPortfolioView, DashboardPortfolioViewSimple, DashboardRecentTransactionsView, DashboardRecentTransactionsViewSimple, DashboardStrategiesListView, DashboardTokenListView, DashboardTokensView, DashboardTokensViewSimple, DashboardTransactionsPlaceholder, DashboardView, DashboardViewSimple, DeframeComponentsProvider, DepositSuccessIcon, DetailsHeader, EARN_CATEGORY_DEFINITIONS, EarnAmountInputView, EarnBalanceCard, EarnBytecodeErrorView, EarnDepositFailedSimpleView, EarnDepositFailedView, EarnDepositFormView, EarnDepositFormViewSimple, EarnDepositProcessingSimpleView, EarnDepositProcessingView, EarnDepositSuccessSimpleView, EarnDepositSuccessView, EarnDepositWarningSimpleView, EarnDepositWarningView, EarnDesktopView, EarnDesktopViewSimple, EarnExploreGridView, EarnFlowSkeletonSimple, EarnHistoryView, EarnInvestedSectionView, EarnInvestmentDetailsView, EarnInvestmentSummaryView, EarnNoBalanceNotificationView, EarnOverviewView, EarnPercentageButtonsView, EarnPositionCardView, EarnRecentTransactionsView, EarnTokenSelectorView, EarnTxStatusCardView, EarnWithdrawFailedSimpleView, EarnWithdrawFailedView, EarnWithdrawFormView, EarnWithdrawFormViewSimple, EarnWithdrawProcessingSimpleView, EarnWithdrawProcessingView, EarnWithdrawSuccessSimpleView, EarnWithdrawSuccessView, EarnWithdrawTokenSelectorView, EarnWithdrawWarningSimpleView, EarnWithdrawWarningView, Currency as Fiat, FlexCol, FlexRow, GroupedStrategyListView, HighRiskBadge, HistoryDepositDetailsView, HistoryListItem, HistoryListItemSimple, HistoryListSkeleton, HistoryListView, HistorySwapDetailsView, HistoryTabEmpty, HistoryWithdrawDetailsView, InfoLabel, InfoRow, InfoRowIconLabel, InfoRowIconValue, InfoRowWithIcon, InfoValue, Input2 as Input, InputField, InputLabel, Input as InputRoot, InvestmentCrossChainProcessingSimpleView, InvestmentCrossChainProcessingView, KYCActionRow, KYCAddressPage, KYCBasicDataPage, KYCChecklistCard, KYCChecklistItem, KYCDataCard, KYCDocumentPage, KYCEditPage, KYCFieldMessage, KYCFormPage, KYCInfoRow, KYCIntroPage, KYCLoadingPage, KYCMessageBanner, KYCPageHeader, KYCPageSection, KYCPageShell, KYCReviewPage, KYCReviewPageSkeleton, KYCStatusItemCard, KYCStatusPage, KYCStatusPanel, KYCStepIndicator, KycLoadingView, KycRequiredView, Label, Link, ListItem, ListItemContent, ListItemLeftSide, ListItemRightSide, LoadingDots, LowRiskBadge, MediumRiskBadge, Navbar, OffchainMethodSelectionView, OfframpFailedSimpleView, OfframpInputFormSimpleView, OfframpInputFormView, OfframpProcessingSimpleView, OfframpProcessingView, OfframpSuccessSimpleView, OfframpSuccessView, OnchainDepositFormSimpleView, OnchainDepositFormView, OnchainDepositSuccessSimpleView, OnchainDepositSuccessView, OnchainWithdrawChainSelectorView, OnchainWithdrawFailedSimpleView, OnchainWithdrawFailedView, OnchainWithdrawFormSimpleView, OnchainWithdrawFormView, OnchainWithdrawProcessingSimpleView, OnchainWithdrawSignatureWarningSimpleView, OnchainWithdrawSignatureWarningView, OnchainWithdrawSuccessSimpleView, OnchainWithdrawSuccessView, OnrampFormSimpleView, OnrampFormView, OnrampPixcodeView, OnrampSuccessSimpleView, OnrampSuccessView, PercentageButton, PrimaryButton, ProcessingBadge, ProgressIndicator, ScrollableContent, SearchEmptyState, SearchInput, SecondaryButton, SectionCard, Select, SelectContent, SelectItem, SelectTrigger, Skeleton, StepDisplay, StepStatusIcon, StepStatusText, StrategyDetailsView, StrategyGridCard, SummaryDetails, SummaryDetailsCryptoControlV2, SwapAdvancedSettingsView, SwapAmountInputView, SwapCrossChainProcessingView, SwapCrossChainProcessingViewSimple, SwapFormView, SwapFormViewSimple, SwapFromCardView, SwapFromCardViewSimple, SwapHistoryView, SwapHistoryViewSimple, SwapProcessingView, SwapProcessingViewSimple, SwapQuoteDetailsView, SwapSignatureWarningView, SwapSignatureWarningViewSimple, SwapSuccessView, SwapSuccessViewSimple, SwapToCardView, SwapToCardViewSimple, SwapTransactionFailedView, SwapTransactionFailedViewSimple, SwapWidgetFallbackView, Tabs, TabsContent, TabsList, TabsTrigger, TertiaryButton, Text_default as Text, TextAccent, TextBody, TextHeading, Title, TokenWithChainBadge, TransactionProcessingDetails, TransactionScreen, TransactionScreenIcon, TransactionScreenInvestmentCard, WalletBalances, WalletConnectPanel, WalletItem, ConnectWalletList as WalletList, WalletListContainer, WithdrawFailedIcon, WithdrawSuccessIcon, isDustValue, truncateAddress };
19214
19423
  //# sourceMappingURL=index.mjs.map
19215
19424
  //# sourceMappingURL=index.mjs.map