@deframe-sdk/components 0.1.25 → 0.1.27

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
@@ -1541,7 +1541,7 @@ var Skeleton = (_a) => {
1541
1541
  width = "100%",
1542
1542
  height = "1rem",
1543
1543
  variant = "text",
1544
- shimmer = true,
1544
+ shimmer: shimmer2 = true,
1545
1545
  className,
1546
1546
  style
1547
1547
  } = _b, props = __objRest(_b, [
@@ -1567,7 +1567,7 @@ var Skeleton = (_a) => {
1567
1567
  background: defaultGradient
1568
1568
  }, style)
1569
1569
  }, props), {
1570
- children: shimmer && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 animate-shimmer bg-gradient-to-r from-transparent via-[color-mix(in srgb, var(--deframe-widget-color-bg-tertiary) 92%, transparent)] to-transparent" })
1570
+ children: shimmer2 && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 animate-shimmer bg-gradient-to-r from-transparent via-[color-mix(in srgb, var(--deframe-widget-color-bg-tertiary) 92%, transparent)] to-transparent" })
1571
1571
  })
1572
1572
  );
1573
1573
  };
@@ -2936,10 +2936,10 @@ var StrategyDetailsView = ({
2936
2936
  notFoundMessage
2937
2937
  }) => {
2938
2938
  if (error) {
2939
- return /* @__PURE__ */ jsx(BackgroundContainer, { children: /* @__PURE__ */ jsx("div", { className: "text-text-secondary dark:text-text-secondary-dark p-md", children: error }) });
2939
+ return /* @__PURE__ */ jsx(BackgroundContainer, { children: /* @__PURE__ */ jsx("div", { className: "text-[color:var(--deframe-widget-color-text-secondary)] dark:text-[color:var(--deframe-widget-color-text-secondary-dark)] p-md", children: error }) });
2940
2940
  }
2941
2941
  if (notFoundMessage) {
2942
- return /* @__PURE__ */ jsx(BackgroundContainer, { children: /* @__PURE__ */ jsx("div", { className: "text-text-secondary dark:text-text-secondary-dark p-md", children: notFoundMessage }) });
2942
+ return /* @__PURE__ */ jsx(BackgroundContainer, { children: /* @__PURE__ */ jsx("div", { className: "text-[color:var(--deframe-widget-color-text-secondary)] dark:text-[color:var(--deframe-widget-color-text-secondary-dark)] p-md", children: notFoundMessage }) });
2943
2943
  }
2944
2944
  return /* @__PURE__ */ jsxs(BackgroundContainer, { children: [
2945
2945
  /* @__PURE__ */ jsx(DetailsHeader, { title: headerTitle, onBack, backAriaLabel }),
@@ -4460,13 +4460,13 @@ var SwapFromCardView = ({
4460
4460
  TextBody,
4461
4461
  {
4462
4462
  variant: "text-small",
4463
- className: "text-text-tertiary dark:text-text-tertiary-dark",
4463
+ className: "text-[color:var(--deframe-widget-color-text-tertiary)] dark:text-[color:var(--deframe-widget-color-text-tertiary-dark)]",
4464
4464
  children: onBalanceClick ? /* @__PURE__ */ jsxs(
4465
4465
  "button",
4466
4466
  {
4467
4467
  type: "button",
4468
4468
  onClick: onBalanceClick,
4469
- className: "cursor-pointer hover:text-text-secondary dark:hover:text-text-secondary-dark transition-colors",
4469
+ className: "cursor-pointer hover:text-[color:var(--deframe-widget-color-text-secondary)] dark:hover:text-[color:var(--deframe-widget-color-text-secondary-dark)] transition-colors",
4470
4470
  "data-testid": "swap-from-balance",
4471
4471
  children: [
4472
4472
  labels.balanceLabel,
@@ -4515,7 +4515,7 @@ var SwapFromCardView = ({
4515
4515
  {
4516
4516
  as: "span",
4517
4517
  variant: "text-small",
4518
- className: amountHasError ? "text-state-error dark:text-state-error" : "text-text-tertiary dark:text-text-tertiary-dark",
4518
+ className: amountHasError ? "text-[color:var(--deframe-widget-color-state-error)] dark:text-[color:var(--deframe-widget-color-state-error)]" : "text-[color:var(--deframe-widget-color-text-tertiary)] dark:text-[color:var(--deframe-widget-color-text-tertiary-dark)]",
4519
4519
  children: isAmountUsdLoading ? /* @__PURE__ */ jsx(LoadingDots, {}) : amountUsdFormatted
4520
4520
  }
4521
4521
  )
@@ -4565,7 +4565,7 @@ var SwapToCardView = ({
4565
4565
  TextBody,
4566
4566
  {
4567
4567
  variant: "text-small",
4568
- className: "text-text-tertiary dark:text-text-tertiary-dark",
4568
+ className: "text-[color:var(--deframe-widget-color-text-tertiary)] dark:text-[color:var(--deframe-widget-color-text-tertiary-dark)]",
4569
4569
  children: /* @__PURE__ */ jsxs("span", { "data-testid": "swap-to-balance", children: [
4570
4570
  labels.balanceLabel,
4571
4571
  ": ",
@@ -4602,7 +4602,7 @@ var SwapToCardView = ({
4602
4602
  {
4603
4603
  as: "span",
4604
4604
  variant: "text-small",
4605
- className: "text-text-tertiary dark:text-text-tertiary-dark",
4605
+ className: "text-[color:var(--deframe-widget-color-text-tertiary)] dark:text-[color:var(--deframe-widget-color-text-tertiary-dark)]",
4606
4606
  children: isOutputUsdLoading ? /* @__PURE__ */ jsx(LoadingDots, {}) : outputUsdFormatted
4607
4607
  }
4608
4608
  )
@@ -4878,7 +4878,7 @@ var SwapFormView = ({
4878
4878
  {
4879
4879
  "data-testid": "swap-form-view",
4880
4880
  className: "flex-1 min-h-0 overflow-y-auto swap-flow-content pr-sm",
4881
- children: /* @__PURE__ */ jsx("form", { ref: formRef, onSubmit, "data-testid": "swap-flow-form", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-md text-text-secondary dark:text-text-secondary-dark", children: [
4881
+ children: /* @__PURE__ */ jsx("form", { ref: formRef, onSubmit, "data-testid": "swap-flow-form", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-md text-[color:var(--deframe-widget-color-text-secondary)] dark:text-[color:var(--deframe-widget-color-text-secondary-dark)]", children: [
4882
4882
  /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-md", children: [
4883
4883
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-sm", children: [
4884
4884
  /* @__PURE__ */ jsx(TextHeading, { variant: "h5", className: "!text-[21px]", children: /* @__PURE__ */ jsx("span", { "data-testid": "swap-flow-title", children: labels.title }) }),
@@ -4890,7 +4890,7 @@ var SwapFormView = ({
4890
4890
  "data-testid": "swap-history-button",
4891
4891
  type: "button",
4892
4892
  onClick: onHistoryClick,
4893
- className: "flex items-center justify-center w-12 h-12 transition-colors rounded-full cursor-pointer text-text-secondary dark:text-text-secondary-dark hover:text-brand-primary",
4893
+ className: "flex items-center justify-center w-12 h-12 transition-colors rounded-full cursor-pointer text-[color:var(--deframe-widget-color-text-secondary)] dark:text-[color:var(--deframe-widget-color-text-secondary-dark)] hover:text-brand-primary",
4894
4894
  "aria-label": labels.historyAriaLabel,
4895
4895
  children: /* @__PURE__ */ jsx(MdHistory, { className: "w-6 h-6" })
4896
4896
  }
@@ -4904,7 +4904,7 @@ var SwapFormView = ({
4904
4904
  "data-testid": "swap-switch-tokens-button",
4905
4905
  type: "button",
4906
4906
  onClick: onSwitchTokens,
4907
- className: "w-10 h-10 rounded-full bg-brand-secondary shadow-md flex items-center justify-center text-text-primary hover:shadow-lg transition-shadow focus:outline-none focus:ring-2 focus:ring-brand-secondary cursor-pointer",
4907
+ className: "w-10 h-10 rounded-full bg-brand-secondary shadow-md flex items-center justify-center text-[color:var(--deframe-widget-color-text-primary)] hover:shadow-lg transition-shadow focus:outline-none focus:ring-2 focus:ring-brand-secondary cursor-pointer",
4908
4908
  "aria-label": switchTokensAriaLabel,
4909
4909
  children: /* @__PURE__ */ jsx(MdOutlineSwapVert, { className: "w-5 h-5" })
4910
4910
  }
@@ -4920,7 +4920,7 @@ var SwapFormView = ({
4920
4920
  "div",
4921
4921
  {
4922
4922
  "data-testid": "swap-flow-footer",
4923
- className: "border-t p-md border-border-default dark:border-border-default-dark bg-bg-primary dark:bg-bg-primary-dark",
4923
+ className: "border-t p-md border-[color:var(--deframe-widget-color-border-secondary)] dark:border-[color:var(--deframe-widget-color-border-secondary-dark)] bg-[var(--deframe-widget-color-bg-primary)] dark:bg-[var(--deframe-widget-color-bg-primary-dark)]",
4924
4924
  children: /* @__PURE__ */ jsx(ConfirmSwapButtonView, __spreadValues({}, confirmButton))
4925
4925
  }
4926
4926
  )
@@ -7461,27 +7461,27 @@ var ApyRange = ({ children }) => {
7461
7461
  return /* @__PURE__ */ jsx("div", { className: "text-right justify-center text-text-highlight text-xs font-normal leading-4", children });
7462
7462
  };
7463
7463
  var variantStyles = {
7464
- primary: "text-text-primary dark:text-text-primary-dark text-text-md",
7465
- secondary: "text-text-secondary dark:text-text-secondary-dark text-text-sm font-poppins"
7464
+ primary: "text-[color:var(--deframe-widget-color-text-primary)] dark:text-[color:var(--deframe-widget-color-text-primary-dark)] text-text-md",
7465
+ secondary: "text-[color:var(--deframe-widget-color-text-secondary)] dark:text-[color:var(--deframe-widget-color-text-secondary-dark)] text-text-sm font-poppins"
7466
7466
  };
7467
7467
  var Label = ({ children, variant = "primary", className }) => {
7468
7468
  return /* @__PURE__ */ jsx("div", { className: twMerge(variantStyles[variant], className), children });
7469
7469
  };
7470
7470
  var HistoryItemSkeleton = () => /* @__PURE__ */ jsxs("div", { className: "w-full bg-[var(--deframe-widget-color-bg-subtle)] rounded-xs min-h-[72px] flex items-center justify-between px-md py-sm", children: [
7471
7471
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-sm flex-1 min-w-0", children: [
7472
- /* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-xl bg-bg-muted dark:bg-bg-muted-dark animate-pulse flex-shrink-0" }),
7472
+ /* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-xl bg-[var(--deframe-widget-color-bg-tertiary)] dark:bg-[var(--deframe-widget-color-bg-tertiary-dark)] animate-pulse flex-shrink-0" }),
7473
7473
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-xs flex-1 min-w-0", children: [
7474
- /* @__PURE__ */ jsx("div", { className: "w-32 h-4 bg-bg-muted dark:bg-bg-muted-dark rounded animate-pulse" }),
7475
- /* @__PURE__ */ jsx("div", { className: "w-24 h-3 bg-bg-muted dark:bg-bg-muted-dark rounded animate-pulse" })
7474
+ /* @__PURE__ */ jsx("div", { className: "w-32 h-4 bg-[var(--deframe-widget-color-bg-tertiary)] dark:bg-[var(--deframe-widget-color-bg-tertiary-dark)] rounded animate-pulse" }),
7475
+ /* @__PURE__ */ jsx("div", { className: "w-24 h-3 bg-[var(--deframe-widget-color-bg-tertiary)] dark:bg-[var(--deframe-widget-color-bg-tertiary-dark)] rounded animate-pulse" })
7476
7476
  ] })
7477
7477
  ] }),
7478
7478
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-end gap-xs flex-shrink-0 ml-sm", children: [
7479
- /* @__PURE__ */ jsx("div", { className: "w-20 h-4 bg-bg-muted dark:bg-bg-muted-dark rounded animate-pulse" }),
7480
- /* @__PURE__ */ jsx("div", { className: "w-16 h-3 bg-bg-muted dark:bg-bg-muted-dark rounded animate-pulse" })
7479
+ /* @__PURE__ */ jsx("div", { className: "w-20 h-4 bg-[var(--deframe-widget-color-bg-tertiary)] dark:bg-[var(--deframe-widget-color-bg-tertiary-dark)] rounded animate-pulse" }),
7480
+ /* @__PURE__ */ jsx("div", { className: "w-16 h-3 bg-[var(--deframe-widget-color-bg-tertiary)] dark:bg-[var(--deframe-widget-color-bg-tertiary-dark)] rounded animate-pulse" })
7481
7481
  ] })
7482
7482
  ] });
7483
7483
  var HistoryGroupSkeleton = () => /* @__PURE__ */ jsxs("div", { className: "self-stretch flex flex-col gap-xs", children: [
7484
- /* @__PURE__ */ jsx("div", { className: "w-40 h-4 bg-bg-muted dark:bg-bg-muted-dark rounded animate-pulse" }),
7484
+ /* @__PURE__ */ jsx("div", { className: "w-40 h-4 bg-[var(--deframe-widget-color-bg-tertiary)] dark:bg-[var(--deframe-widget-color-bg-tertiary-dark)] rounded animate-pulse" }),
7485
7485
  /* @__PURE__ */ jsx(HistoryItemSkeleton, {}),
7486
7486
  /* @__PURE__ */ jsx(HistoryItemSkeleton, {})
7487
7487
  ] });
@@ -7499,9 +7499,9 @@ var WalletBalances = ({ cards, variant = "subtle", className }) => {
7499
7499
  ] }) : /* @__PURE__ */ jsx(TextHeading, { variant: "h3", children: card.value })
7500
7500
  ] }, card.label)) });
7501
7501
  };
7502
- var HistoryTabEmpty = ({ title, description }) => /* @__PURE__ */ jsx("div", { className: "w-full h-[90vh] py-md bg-bg-default dark:bg-bg-default-dark rounded-lg flex flex-col justify-center items-center gap-sm overflow-hidden", children: /* @__PURE__ */ jsxs("div", { className: "w-full flex flex-col justify-center items-center gap-md", children: [
7502
+ var HistoryTabEmpty = ({ title, description }) => /* @__PURE__ */ jsx("div", { className: "w-full h-[90vh] py-md bg-[var(--deframe-widget-color-bg-primary)] dark:bg-[var(--deframe-widget-color-bg-primary-dark)] rounded-lg flex flex-col justify-center items-center gap-sm overflow-hidden", children: /* @__PURE__ */ jsxs("div", { className: "w-full flex flex-col justify-center items-center gap-md", children: [
7503
7503
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center items-center gap-md text-center", children: [
7504
- /* @__PURE__ */ jsx("div", { className: "w-20 h-20 bg-bg-muted dark:bg-bg-muted-dark rounded-full flex justify-center items-center", children: /* @__PURE__ */ jsx(PiClockCountdownBold, { className: "w-10 h-10 text-text-tertiary dark:text-text-tertiary-dark" }) }),
7504
+ /* @__PURE__ */ jsx("div", { className: "w-20 h-20 bg-[var(--deframe-widget-color-bg-tertiary)] dark:bg-[var(--deframe-widget-color-bg-tertiary-dark)] rounded-full flex justify-center items-center", children: /* @__PURE__ */ jsx(PiClockCountdownBold, { className: "w-10 h-10 text-[color:var(--deframe-widget-color-text-tertiary)] dark:text-[color:var(--deframe-widget-color-text-tertiary-dark)]" }) }),
7505
7505
  /* @__PURE__ */ jsx(TextHeading, { variant: "h3", children: title })
7506
7506
  ] }),
7507
7507
  /* @__PURE__ */ jsx("div", { className: "self-stretch text-center", children: /* @__PURE__ */ jsx(TextBody, { variant: "text-small", children: description }) })
@@ -7582,7 +7582,7 @@ var EarnBalanceCard = ({
7582
7582
  ] })
7583
7583
  ] });
7584
7584
  };
7585
- var GroupLabel = ({ children }) => /* @__PURE__ */ jsx("div", { className: "text-text-secondary dark:text-text-secondary-dark text-sm font-medium font-poppins py-3", children });
7585
+ var GroupLabel = ({ children }) => /* @__PURE__ */ jsx("div", { className: "text-[color:var(--deframe-widget-color-text-secondary)] dark:text-[color:var(--deframe-widget-color-text-secondary-dark)] text-sm font-medium font-poppins py-3", children });
7586
7586
  var GroupedStrategyListView = ({
7587
7587
  isLoading,
7588
7588
  loadingLabel,
@@ -7703,17 +7703,17 @@ var GroupedStrategyListView = ({
7703
7703
  ] });
7704
7704
  };
7705
7705
  var DateLabel = ({ children }) => {
7706
- return /* @__PURE__ */ jsx("div", { className: "text-text-sm-mobile font-poppins text-text-secondary dark:text-text-secondary-dark", children });
7706
+ return /* @__PURE__ */ jsx("div", { className: "text-text-sm-mobile font-poppins text-[color:var(--deframe-widget-color-text-secondary)] dark:text-[color:var(--deframe-widget-color-text-secondary-dark)]", children });
7707
7707
  };
7708
7708
  var ArrowBadge = ({ isDeposit }) => {
7709
- return /* @__PURE__ */ jsx("div", { className: "absolute bottom-[-2px] right-[-2px] w-[15px] h-[15px] rounded-full bg-bg-subtle dark:bg-bg-subtle-dark flex items-center justify-center border border-bg-subtle dark:border-bg-subtle-dark", children: isDeposit ? /* @__PURE__ */ jsx(MdArrowDownward, { className: "w-3 h-3 text-text-primary dark:text-text-primary-dark" }) : /* @__PURE__ */ jsx(MdArrowUpward, { className: "w-3 h-3 text-text-primary dark:text-text-primary-dark" }) });
7709
+ return /* @__PURE__ */ jsx("div", { className: "absolute bottom-[-2px] right-[-2px] w-[15px] h-[15px] rounded-full bg-[var(--deframe-widget-color-bg-secondary)] dark:bg-[var(--deframe-widget-color-bg-secondary-dark)] flex items-center justify-center border border-[color:var(--deframe-widget-color-bg-secondary)] dark:border-[color:var(--deframe-widget-color-bg-secondary-dark)]", children: isDeposit ? /* @__PURE__ */ jsx(MdArrowDownward, { className: "w-3 h-3 text-[color:var(--deframe-widget-color-text-primary)] dark:text-[color:var(--deframe-widget-color-text-primary-dark)]" }) : /* @__PURE__ */ jsx(MdArrowUpward, { className: "w-3 h-3 text-[color:var(--deframe-widget-color-text-primary)] dark:text-[color:var(--deframe-widget-color-text-primary-dark)]" }) });
7710
7710
  };
7711
7711
  var TokenIconWithBadge2 = ({ src, alt, isDeposit }) => {
7712
7712
  const fallbackText = encodeURIComponent((alt || "TOK").slice(0, 3).toUpperCase());
7713
7713
  const fallbackSrc = `https://placehold.co/40x40?text=${fallbackText}`;
7714
7714
  const resolvedSrc = src || fallbackSrc;
7715
7715
  return /* @__PURE__ */ jsxs("div", { className: "relative flex-shrink-0", children: [
7716
- /* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-xl bg-bg-muted dark:bg-bg-muted-dark flex items-center justify-center overflow-hidden", children: /* @__PURE__ */ jsx(
7716
+ /* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-xl bg-[var(--deframe-widget-color-bg-tertiary)] dark:bg-[var(--deframe-widget-color-bg-tertiary-dark)] flex items-center justify-center overflow-hidden", children: /* @__PURE__ */ jsx(
7717
7717
  "img",
7718
7718
  {
7719
7719
  src: resolvedSrc,
@@ -7732,7 +7732,7 @@ var SwapIconWithBadge = ({ src, alt }) => {
7732
7732
  const fallbackSrc = `https://placehold.co/40x40?text=${fallbackText}`;
7733
7733
  const resolvedSrc = src || fallbackSrc;
7734
7734
  return /* @__PURE__ */ jsxs("div", { className: "relative flex-shrink-0", children: [
7735
- /* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-xl bg-bg-muted dark:bg-bg-muted-dark flex items-center justify-center overflow-hidden", children: /* @__PURE__ */ jsx(
7735
+ /* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-xl bg-[var(--deframe-widget-color-bg-tertiary)] dark:bg-[var(--deframe-widget-color-bg-tertiary-dark)] flex items-center justify-center overflow-hidden", children: /* @__PURE__ */ jsx(
7736
7736
  "img",
7737
7737
  {
7738
7738
  src: resolvedSrc,
@@ -7743,7 +7743,7 @@ var SwapIconWithBadge = ({ src, alt }) => {
7743
7743
  }
7744
7744
  }
7745
7745
  ) }),
7746
- /* @__PURE__ */ jsx("div", { className: "absolute bottom-[-2px] right-[-2px] w-[15px] h-[15px] rounded-full bg-bg-subtle dark:bg-bg-subtle-dark flex items-center justify-center border border-bg-subtle dark:border-bg-subtle-dark", children: /* @__PURE__ */ jsx(MdArrowUpward, { className: "w-3 h-3 text-text-primary dark:text-text-primary-dark" }) })
7746
+ /* @__PURE__ */ jsx("div", { className: "absolute bottom-[-2px] right-[-2px] w-[15px] h-[15px] rounded-full bg-[var(--deframe-widget-color-bg-secondary)] dark:bg-[var(--deframe-widget-color-bg-secondary-dark)] flex items-center justify-center border border-[color:var(--deframe-widget-color-bg-secondary)] dark:border-[color:var(--deframe-widget-color-bg-secondary-dark)]", children: /* @__PURE__ */ jsx(MdArrowUpward, { className: "w-3 h-3 text-[color:var(--deframe-widget-color-text-primary)] dark:text-[color:var(--deframe-widget-color-text-primary-dark)]" }) })
7747
7747
  ] });
7748
7748
  };
7749
7749
  var AmountDisplay = ({ amount, usdAmount }) => {
@@ -7781,7 +7781,7 @@ var HistoryListView = ({
7781
7781
  ) }),
7782
7782
  /* @__PURE__ */ jsxs(ListItemContent, { children: [
7783
7783
  /* @__PURE__ */ jsx(Label, { className: "text-text-lg-mobile", children: item.title }),
7784
- /* @__PURE__ */ jsx(Label, { variant: "secondary", className: "text-text-tertiary dark:text-text-tertiary-dark", children: item.subtitle }),
7784
+ /* @__PURE__ */ jsx(Label, { variant: "secondary", className: "text-[color:var(--deframe-widget-color-text-tertiary)] dark:text-[color:var(--deframe-widget-color-text-tertiary-dark)]", children: item.subtitle }),
7785
7785
  item.status === "PENDING" && item.statusLabel ? /* @__PURE__ */ jsx("div", { className: "mt-[6px]", children: /* @__PURE__ */ jsx(
7786
7786
  ProcessingBadge,
7787
7787
  {
@@ -7916,7 +7916,7 @@ var EarnInvestmentSummaryView = ({
7916
7916
  className
7917
7917
  }) => {
7918
7918
  return /* @__PURE__ */ jsxs("section", { className: twMerge("flex flex-col gap-md p-lg bg-[var(--deframe-widget-color-bg-subtle)] rounded", className), children: [
7919
- /* @__PURE__ */ jsx(TextBody, { variant: "text-small", className: "text-text-secondary dark:text-text-secondary-dark", children: overviewDescription }),
7919
+ /* @__PURE__ */ jsx(TextBody, { variant: "text-small", className: "text-[color:var(--deframe-widget-color-text-secondary)] dark:text-[color:var(--deframe-widget-color-text-secondary-dark)]", children: overviewDescription }),
7920
7920
  /* @__PURE__ */ jsx(
7921
7921
  WalletBalances,
7922
7922
  {
@@ -8107,7 +8107,7 @@ var EarnRecentTransactionsView = ({
8107
8107
  ),
8108
8108
  children: [
8109
8109
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
8110
- /* @__PURE__ */ jsx(TextBody, { variant: "text-small", className: "text-text-secondary dark:text-text-secondary-dark", children: sectionTitle }),
8110
+ /* @__PURE__ */ jsx(TextBody, { variant: "text-small", className: "text-[color:var(--deframe-widget-color-text-secondary)] dark:text-[color:var(--deframe-widget-color-text-secondary-dark)]", children: sectionTitle }),
8111
8111
  hasMore && onViewAll && /* @__PURE__ */ jsx(
8112
8112
  "button",
8113
8113
  {
@@ -8443,6 +8443,35 @@ var EarnPositionCardView = ({
8443
8443
  /* @__PURE__ */ jsx(TextBody, { as: "span", variant: "text-small", className: "text-[color:var(--deframe-widget-color-text-tertiary)]", children: balanceToken })
8444
8444
  ] })
8445
8445
  ] }) }) }) });
8446
+ var shimmer = "animate-pulse rounded-[var(--deframe-widget-size-radius-sm)]";
8447
+ var bg = "bg-[var(--deframe-widget-color-bg-tertiary)]";
8448
+ var EarnFlowSkeletonSimple = () => {
8449
+ const panelClasses = [
8450
+ "relative flex flex-col overflow-hidden w-[420px]",
8451
+ "rounded-[var(--deframe-widget-size-radius-md)]",
8452
+ "border border-[color:var(--deframe-widget-color-border-secondary)]",
8453
+ "font-[var(--deframe-widget-font-family)]"
8454
+ ].join(" ");
8455
+ return /* @__PURE__ */ jsxs("div", { "data-test-id": "earn-flow-skeleton-simple", className: panelClasses, children: [
8456
+ /* @__PURE__ */ jsx("div", { className: "flex items-center px-[var(--deframe-widget-size-padding-x-md)] py-[var(--deframe-widget-size-padding-y-md)]", children: /* @__PURE__ */ jsx("div", { className: `w-24 h-5 ${shimmer} ${bg}` }) }),
8457
+ /* @__PURE__ */ jsx("div", { className: "h-px bg-[var(--deframe-widget-color-border-secondary)]" }),
8458
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-[var(--deframe-widget-size-gap-md)] px-[var(--deframe-widget-size-padding-x-md)] py-[var(--deframe-widget-size-padding-y-md)]", children: /* @__PURE__ */ jsxs("div", { className: "rounded-[var(--deframe-widget-size-radius-sm)] border border-[color:var(--deframe-widget-color-border-secondary)] bg-[var(--deframe-widget-color-bg-secondary)] px-[var(--deframe-widget-size-padding-x-md)] py-[var(--deframe-widget-size-padding-y-md)]", children: [
8459
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-[var(--deframe-widget-size-gap-sm)]", children: [
8460
+ /* @__PURE__ */ jsx("div", { className: `w-[120px] h-[42px] ${shimmer} ${bg} flex-shrink-0` }),
8461
+ /* @__PURE__ */ jsx("div", { className: "w-px h-10 bg-[var(--deframe-widget-color-border-secondary)] flex-shrink-0" }),
8462
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-end flex-1 min-w-0 gap-1", children: [
8463
+ /* @__PURE__ */ jsx("div", { className: `w-20 h-9 ${shimmer} ${bg}` }),
8464
+ /* @__PURE__ */ jsx("div", { className: `w-12 h-4 ${shimmer} ${bg}` })
8465
+ ] })
8466
+ ] }),
8467
+ /* @__PURE__ */ jsx("div", { className: "mt-[var(--deframe-widget-size-gap-sm)]", children: /* @__PURE__ */ jsx("div", { className: `w-32 h-4 ${shimmer} ${bg}` }) })
8468
+ ] }) }),
8469
+ /* @__PURE__ */ jsxs("div", { className: "flex gap-[var(--deframe-widget-size-gap-sm)] px-[var(--deframe-widget-size-padding-x-md)] pb-[var(--deframe-widget-size-padding-y-md)]", children: [
8470
+ /* @__PURE__ */ jsx("div", { className: `flex-1 h-12 ${shimmer} ${bg}` }),
8471
+ /* @__PURE__ */ jsx("div", { className: `flex-1 h-12 ${shimmer} ${bg}` })
8472
+ ] })
8473
+ ] });
8474
+ };
8446
8475
  var EarnDepositFormView = ({
8447
8476
  // Header / Layout
8448
8477
  headerTitle,
@@ -8583,36 +8612,381 @@ var EarnDepositFormView = ({
8583
8612
  ] })
8584
8613
  ] }) })
8585
8614
  ] });
8586
- var EarnWithdrawFormView = ({
8615
+ var EarnTokenSelectorSimpleView = ({
8616
+ selectedToken,
8617
+ onTokenClick,
8618
+ isLoading,
8619
+ selectTokenLabel,
8620
+ chainLabel,
8621
+ chainImage
8622
+ }) => {
8623
+ const hasToken = selectedToken != null;
8624
+ const isInteractive = !!onTokenClick;
8625
+ const baseClasses = [
8626
+ "inline-flex items-center gap-[10px]",
8627
+ "h-[54px] px-[10px]",
8628
+ "rounded-[var(--deframe-widget-size-radius-sm)]",
8629
+ "bg-[var(--deframe-widget-color-bg-tertiary)]",
8630
+ "border-none outline-none",
8631
+ "transition-[background] duration-150",
8632
+ "flex-shrink-0"
8633
+ ].join(" ");
8634
+ const stateClasses = {
8635
+ interactive: "cursor-pointer hover:bg-[color:color-mix(in_srgb,var(--deframe-widget-color-bg-tertiary)_72%,transparent)]",
8636
+ static: "cursor-default"
8637
+ };
8638
+ const selectorClasses = twMerge(
8639
+ baseClasses,
8640
+ stateClasses[isInteractive ? "interactive" : "static"]
8641
+ );
8642
+ return /* @__PURE__ */ jsx(
8643
+ "button",
8644
+ {
8645
+ type: "button",
8646
+ "data-slot": "token-selector-simple",
8647
+ "data-test-id": "earn-token-selector-simple-view",
8648
+ onClick: onTokenClick,
8649
+ disabled: !isInteractive,
8650
+ "aria-label": hasToken ? `Select token \u2014 currently ${selectedToken.symbol} on ${chainLabel}` : selectTokenLabel,
8651
+ className: selectorClasses,
8652
+ children: isLoading ? /* @__PURE__ */ jsx(LoadingDots, {}) : hasToken ? /* @__PURE__ */ jsxs(Fragment, { children: [
8653
+ /* @__PURE__ */ jsxs(
8654
+ "div",
8655
+ {
8656
+ "data-slot": "token-selector-simple-icon",
8657
+ "data-test-id": "earn-token-selector-simple-view-icon",
8658
+ className: "relative flex-shrink-0 w-[38px] h-[38px]",
8659
+ children: [
8660
+ selectedToken.logoURI ? /* @__PURE__ */ jsx(
8661
+ "img",
8662
+ {
8663
+ src: selectedToken.logoURI,
8664
+ alt: selectedToken.symbol,
8665
+ className: "w-full h-full rounded-[var(--deframe-widget-size-radius-full)] object-cover"
8666
+ }
8667
+ ) : /* @__PURE__ */ jsx(
8668
+ "div",
8669
+ {
8670
+ "data-test-id": "earn-token-selector-simple-view-icon-fallback",
8671
+ "data-slot": "token-selector-simple-icon-fallback",
8672
+ className: [
8673
+ "w-full h-full",
8674
+ "rounded-[var(--deframe-widget-size-radius-full)]",
8675
+ "flex items-center justify-center",
8676
+ "bg-[var(--deframe-widget-color-bg-tertiary)]",
8677
+ "[font-weight:var(--deframe-widget-font-weight-bold)]",
8678
+ "text-[color:var(--deframe-widget-color-text-primary)]",
8679
+ "text-[12px]"
8680
+ ].join(" "),
8681
+ children: selectedToken.symbol.slice(0, 2).toUpperCase()
8682
+ }
8683
+ ),
8684
+ chainImage && /* @__PURE__ */ jsx(
8685
+ "div",
8686
+ {
8687
+ "data-slot": "token-selector-simple-chain-badge",
8688
+ "data-test-id": "earn-token-selector-simple-view-chain-badge",
8689
+ className: "absolute -bottom-0.5 -right-0.5 w-4 h-4 rounded-[var(--deframe-widget-size-radius-full)] shadow-[0_0_0_2px_var(--deframe-widget-color-bg-secondary)]",
8690
+ children: /* @__PURE__ */ jsx(
8691
+ "img",
8692
+ {
8693
+ src: chainImage,
8694
+ alt: chainLabel,
8695
+ className: "w-full h-full rounded-[var(--deframe-widget-size-radius-full)] object-cover"
8696
+ }
8697
+ )
8698
+ }
8699
+ )
8700
+ ]
8701
+ }
8702
+ ),
8703
+ /* @__PURE__ */ jsxs(
8704
+ "div",
8705
+ {
8706
+ "data-slot": "token-selector-simple-info",
8707
+ "data-test-id": "earn-token-selector-simple-view-info",
8708
+ className: "flex flex-col items-start min-w-0",
8709
+ children: [
8710
+ /* @__PURE__ */ jsx(
8711
+ "span",
8712
+ {
8713
+ "data-slot": "token-selector-simple-symbol",
8714
+ "data-test-id": "earn-token-selector-simple-view-symbol",
8715
+ className: "text-[16px] [font-weight:var(--deframe-widget-font-weight-semibold)] leading-[1.2] font-[var(--deframe-widget-font-family)] text-[color:var(--deframe-widget-color-text-primary)]",
8716
+ children: selectedToken.symbol
8717
+ }
8718
+ ),
8719
+ /* @__PURE__ */ jsx(
8720
+ "span",
8721
+ {
8722
+ "data-slot": "token-selector-simple-network",
8723
+ "data-test-id": "earn-token-selector-simple-view-network",
8724
+ className: "text-[11px] [font-weight:var(--deframe-widget-font-weight-medium)] text-[color:var(--deframe-widget-color-text-tertiary)] uppercase tracking-[0.04em] font-[var(--deframe-widget-font-family)] leading-[1.2]",
8725
+ children: chainLabel
8726
+ }
8727
+ )
8728
+ ]
8729
+ }
8730
+ ),
8731
+ isInteractive && /* @__PURE__ */ jsx(
8732
+ HiChevronDown,
8733
+ {
8734
+ "data-test-id": "earn-token-selector-simple-view-chevron",
8735
+ className: "flex-shrink-0 w-[14px] h-[14px] text-[color:var(--deframe-widget-color-text-secondary)]",
8736
+ "aria-hidden": "true"
8737
+ }
8738
+ )
8739
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
8740
+ /* @__PURE__ */ jsx(
8741
+ "span",
8742
+ {
8743
+ "data-test-id": "earn-token-selector-simple-view-placeholder",
8744
+ className: "text-[11px] uppercase [font-weight:var(--deframe-widget-font-weight-regular)] text-[color:var(--deframe-widget-color-text-secondary)] font-[var(--deframe-widget-font-family)] whitespace-nowrap",
8745
+ children: selectTokenLabel
8746
+ }
8747
+ ),
8748
+ isInteractive && /* @__PURE__ */ jsx(
8749
+ HiChevronDown,
8750
+ {
8751
+ "data-test-id": "earn-token-selector-simple-view-placeholder-chevron",
8752
+ className: "flex-shrink-0 w-[14px] h-[14px] text-[color:var(--deframe-widget-color-text-secondary)]",
8753
+ "aria-hidden": "true"
8754
+ }
8755
+ )
8756
+ ] })
8757
+ }
8758
+ );
8759
+ };
8760
+ var EarnAmountInputSimpleView = ({
8761
+ value,
8762
+ onChange,
8763
+ ariaLabel,
8764
+ dollarAmountFormatted
8765
+ }) => {
8766
+ const isEmpty = !value || value === "0";
8767
+ const inputBaseClasses = [
8768
+ "bg-transparent border-none outline-none text-right",
8769
+ "text-[36px] [font-weight:var(--deframe-widget-font-weight-semibold)] [line-height:1.1]",
8770
+ "w-full",
8771
+ "px-[var(--deframe-widget-size-padding-x-none)] py-[var(--deframe-widget-size-padding-y-none)]",
8772
+ "font-[var(--deframe-widget-font-family)]",
8773
+ "placeholder:text-[color:var(--deframe-widget-color-text-tertiary)]",
8774
+ "[appearance:textfield]",
8775
+ "[&::-webkit-outer-spin-button]:appearance-none",
8776
+ "[&::-webkit-inner-spin-button]:appearance-none"
8777
+ ].join(" ");
8778
+ const inputStateClasses = {
8779
+ empty: "text-[color:var(--deframe-widget-color-text-tertiary)]",
8780
+ filled: "text-[color:var(--deframe-widget-color-text-primary)]"
8781
+ };
8782
+ const inputClasses = twMerge(
8783
+ inputBaseClasses,
8784
+ inputStateClasses[isEmpty ? "empty" : "filled"]
8785
+ );
8786
+ return /* @__PURE__ */ jsxs(
8787
+ "div",
8788
+ {
8789
+ "data-slot": "amount-input-simple-wrapper",
8790
+ "data-test-id": "earn-amount-input-simple-view",
8791
+ className: "flex flex-col items-end flex-1 min-w-0",
8792
+ children: [
8793
+ /* @__PURE__ */ jsx(
8794
+ "input",
8795
+ {
8796
+ "data-slot": "amount-input-simple",
8797
+ "data-test-id": "earn-amount-input-simple-view-input",
8798
+ type: "text",
8799
+ inputMode: "decimal",
8800
+ autoComplete: "off",
8801
+ placeholder: "0",
8802
+ "aria-label": ariaLabel,
8803
+ value,
8804
+ onChange,
8805
+ onWheel: (e) => e.currentTarget.blur(),
8806
+ className: inputClasses
8807
+ }
8808
+ ),
8809
+ dollarAmountFormatted && /* @__PURE__ */ jsx(
8810
+ "span",
8811
+ {
8812
+ "data-slot": "amount-input-simple-conversion",
8813
+ "data-test-id": "earn-amount-input-simple-view-conversion",
8814
+ className: "text-[13px] text-[color:var(--deframe-widget-color-text-tertiary)] font-[var(--deframe-widget-font-family)]",
8815
+ children: dollarAmountFormatted
8816
+ }
8817
+ )
8818
+ ]
8819
+ }
8820
+ );
8821
+ };
8822
+ var EarnPercentageButtonsSimpleView = ({
8823
+ onPercentageClick,
8824
+ maxLabel
8825
+ }) => {
8826
+ const [selectedBasisPoints, setSelectedBasisPoints] = React6__default.useState(null);
8827
+ const options = [
8828
+ { label: "25%", basisPoints: 2500 },
8829
+ { label: "50%", basisPoints: 5e3 },
8830
+ { label: "75%", basisPoints: 7500 },
8831
+ { label: maxLabel, basisPoints: 1e4 }
8832
+ ];
8833
+ function handleClick(basisPoints) {
8834
+ setSelectedBasisPoints(basisPoints);
8835
+ onPercentageClick(basisPoints);
8836
+ }
8837
+ const chipBaseClassName = [
8838
+ // Layout overrides
8839
+ "flex-none",
8840
+ "py-[3px] px-[10px]",
8841
+ "rounded-[var(--deframe-widget-size-radius-full)]",
8842
+ "whitespace-nowrap",
8843
+ "cursor-pointer",
8844
+ // Typography — use arbitrary property syntax to override PercentageButton defaults
8845
+ "[font-size:12px] [line-height:1]",
8846
+ "font-[var(--deframe-widget-font-family)]",
8847
+ // Transitions
8848
+ "transition-all duration-150",
8849
+ "outline-none",
8850
+ "focus:ring-0"
8851
+ ].join(" ");
8852
+ const chipDefaultClassName = [
8853
+ "[font-weight:var(--deframe-widget-font-weight-regular)]",
8854
+ "border-[color:var(--deframe-widget-color-border-secondary)]",
8855
+ "bg-[color:color-mix(in_srgb,var(--deframe-widget-color-bg-tertiary)_84%,transparent)]",
8856
+ "text-[color:var(--deframe-widget-color-text-secondary)]",
8857
+ "hover:border-[color:var(--deframe-widget-color-border-primary)]",
8858
+ "hover:bg-[color:color-mix(in_srgb,var(--deframe-widget-color-bg-tertiary)_92%,transparent)]",
8859
+ "hover:text-[color:var(--deframe-widget-color-text-primary)]"
8860
+ ].join(" ");
8861
+ const chipActiveClassName = [
8862
+ "[font-weight:var(--deframe-widget-font-weight-semibold)]",
8863
+ "border-[color:color-mix(in_srgb,var(--deframe-widget-color-brand-primary)_32%,transparent)]",
8864
+ "bg-[color:color-mix(in_srgb,var(--deframe-widget-color-brand-primary)_12%,transparent)]",
8865
+ "text-[color:var(--deframe-widget-color-brand-primary)]"
8866
+ ].join(" ");
8867
+ return /* @__PURE__ */ jsx(
8868
+ "div",
8869
+ {
8870
+ "data-slot": "percentage-chips-simple",
8871
+ "data-test-id": "earn-percentage-buttons-simple-view",
8872
+ className: "flex gap-[6px] items-center",
8873
+ children: options.map(({ label, basisPoints }) => {
8874
+ const isActive = basisPoints === selectedBasisPoints;
8875
+ const chipClassName = [
8876
+ chipBaseClassName,
8877
+ isActive ? chipActiveClassName : chipDefaultClassName
8878
+ ].join(" ");
8879
+ return /* @__PURE__ */ jsx(
8880
+ PercentageButton,
8881
+ {
8882
+ className: chipClassName,
8883
+ onClick: () => handleClick(basisPoints),
8884
+ children: /* @__PURE__ */ jsx(
8885
+ "span",
8886
+ {
8887
+ "data-slot": "chip-pill-label",
8888
+ "data-test-id": "earn-percentage-buttons-simple-view-chip-label",
8889
+ children: label
8890
+ }
8891
+ )
8892
+ },
8893
+ basisPoints
8894
+ );
8895
+ })
8896
+ }
8897
+ );
8898
+ };
8899
+ var variantWrapperClasses = {
8900
+ error: "bg-[color:color-mix(in_srgb,var(--deframe-widget-color-state-error)_16%,transparent)] border-[color:color-mix(in_srgb,var(--deframe-widget-color-state-error)_32%,transparent)]",
8901
+ warning: "bg-[color:color-mix(in_srgb,var(--deframe-widget-color-state-warning)_16%,transparent)] border-[color:color-mix(in_srgb,var(--deframe-widget-color-state-warning)_32%,transparent)]",
8902
+ info: "bg-[color:color-mix(in_srgb,var(--deframe-widget-color-state-info)_16%,transparent)] border-[color:color-mix(in_srgb,var(--deframe-widget-color-state-info)_32%,transparent)]",
8903
+ success: "bg-[color:color-mix(in_srgb,var(--deframe-widget-color-brand-primary)_12%,transparent)] border-[color:color-mix(in_srgb,var(--deframe-widget-color-brand-primary)_32%,transparent)]"
8904
+ };
8905
+ var variantAccentClasses = {
8906
+ error: "bg-[var(--deframe-widget-color-state-error)]",
8907
+ warning: "bg-[var(--deframe-widget-color-state-warning)]",
8908
+ info: "bg-[var(--deframe-widget-color-state-info)]",
8909
+ success: "bg-[var(--deframe-widget-color-brand-primary)]"
8910
+ };
8911
+ var EarnInlineNotificationSimpleView = ({
8912
+ variant,
8913
+ message
8914
+ }) => {
8915
+ const baseClasses = [
8916
+ "relative flex items-center gap-[var(--deframe-widget-size-gap-sm)]",
8917
+ "py-[7px] pr-[10px] pl-[14px]",
8918
+ "rounded-[var(--deframe-widget-size-radius-sm)]",
8919
+ "border",
8920
+ "overflow-hidden"
8921
+ ].join(" ");
8922
+ const wrapperClasses = twMerge(baseClasses, variantWrapperClasses[variant]);
8923
+ return /* @__PURE__ */ jsxs(
8924
+ "div",
8925
+ {
8926
+ "data-slot": "inline-notification-simple",
8927
+ "data-test-id": "earn-inline-notification-simple-view",
8928
+ role: "alert",
8929
+ className: wrapperClasses,
8930
+ children: [
8931
+ /* @__PURE__ */ jsx(
8932
+ "div",
8933
+ {
8934
+ "data-slot": "inline-notification-simple-accent",
8935
+ "data-test-id": "earn-inline-notification-simple-view-accent",
8936
+ className: twMerge(
8937
+ "absolute left-0 top-0 bottom-0 w-[3px] rounded-[var(--deframe-widget-size-radius-sm)_0_0_var(--deframe-widget-size-radius-sm)]",
8938
+ variantAccentClasses[variant]
8939
+ )
8940
+ }
8941
+ ),
8942
+ /* @__PURE__ */ jsx(
8943
+ "div",
8944
+ {
8945
+ "data-slot": "inline-notification-simple-dot",
8946
+ "data-test-id": "earn-inline-notification-simple-view-dot",
8947
+ className: twMerge(
8948
+ "w-[6px] h-[6px] rounded-[var(--deframe-widget-size-radius-full)] flex-shrink-0",
8949
+ variantAccentClasses[variant]
8950
+ )
8951
+ }
8952
+ ),
8953
+ /* @__PURE__ */ jsx(
8954
+ "span",
8955
+ {
8956
+ "data-slot": "inline-notification-simple-message",
8957
+ "data-test-id": "earn-inline-notification-simple-view-message",
8958
+ className: "flex-1 text-[13px] text-[color:var(--deframe-widget-color-text-secondary)] font-[var(--deframe-widget-font-family)] leading-[1.4]",
8959
+ children: message
8960
+ }
8961
+ )
8962
+ ]
8963
+ }
8964
+ );
8965
+ };
8966
+ var EarnDepositFormViewSimple = ({
8587
8967
  // Header / Layout
8588
8968
  headerTitle,
8589
8969
  onBack,
8590
- progress,
8591
- pageTitle,
8592
- subtitle,
8593
8970
  onSubmit,
8594
- // Position card
8595
- positionBalanceUSD,
8596
- positionBalanceToken,
8597
- strategyIcon,
8598
- strategyName,
8599
8971
  // Token selector
8600
8972
  selectedToken,
8601
8973
  onTokenClick,
8974
+ isLoadingToken,
8602
8975
  selectTokenLabel,
8603
8976
  // Chain selector
8604
8977
  chainLabel,
8605
8978
  chainImage,
8606
- chainDirectionLabel,
8607
- chainDisabledTitle,
8608
- onNetworkClick,
8609
- isNetworkDisabled,
8610
- currentNetworkSelected,
8611
8979
  // Amount input
8612
8980
  amountValue,
8613
8981
  onAmountChange,
8614
8982
  amountAriaLabel,
8615
8983
  dollarAmountFormatted,
8984
+ availableBalanceFormatted,
8985
+ // No balance notification
8986
+ showNoBalanceNotification,
8987
+ noBalancePrompt,
8988
+ goToSwapLabel,
8989
+ onGoToSwap,
8616
8990
  // Percentage buttons
8617
8991
  onPercentageClick,
8618
8992
  maxLabel,
@@ -8626,48 +9000,370 @@ var EarnWithdrawFormView = ({
8626
9000
  txErrorMessage,
8627
9001
  // Bytecode error
8628
9002
  bytecodeErrorMessage,
8629
- transactionErrorLabel,
8630
- // Quote details
8631
- isQuoteValid,
8632
- isFetchingQuote,
8633
- summaryTitle,
8634
- summaryItems,
8635
9003
  // Submit button
8636
9004
  submitDisabled,
8637
9005
  submitButtonText
8638
- }) => /* @__PURE__ */ jsxs(BackgroundContainer, { children: [
8639
- /* @__PURE__ */ jsx(DetailsHeader, { title: headerTitle, onBack }),
8640
- /* @__PURE__ */ jsx("div", { className: "flex-1 min-h-0 overflow-y-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-[var(--deframe-widget-size-gap-md)] text-[color:var(--deframe-widget-color-text-secondary)] pb-[var(--deframe-widget-size-padding-y-md)]", children: [
8641
- /* @__PURE__ */ jsx("div", { className: "w-full px-[var(--deframe-widget-size-padding-x-md)]", children: /* @__PURE__ */ jsx(ProgressIndicator, { progress }) }),
8642
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-[var(--deframe-widget-size-gap-sm)] px-[var(--deframe-widget-size-padding-x-md)]", children: [
8643
- /* @__PURE__ */ jsx(TextHeading, { variant: "h5", children: pageTitle }),
8644
- /* @__PURE__ */ jsx(TextBody, { variant: "text-small", children: subtitle })
8645
- ] }),
8646
- /* @__PURE__ */ jsxs("form", { onSubmit, children: [
8647
- /* @__PURE__ */ jsx(
8648
- EarnPositionCardView,
8649
- {
8650
- balanceUSD: positionBalanceUSD,
8651
- balanceToken: positionBalanceToken,
8652
- icon: strategyIcon,
8653
- iconAlt: strategyName
8654
- }
8655
- ),
8656
- /* @__PURE__ */ jsx("div", { className: "px-[var(--deframe-widget-size-padding-x-md)] mt-[var(--deframe-widget-size-gap-sm)]", children: /* @__PURE__ */ jsx(SectionCard, { className: "focus-within:bg-[var(--deframe-widget-color-bg-tertiary)] transition-colors", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-[var(--deframe-widget-size-gap-md)]", children: [
8657
- /* @__PURE__ */ jsx(
8658
- EarnWithdrawTokenSelectorView,
8659
- {
8660
- selectedToken,
8661
- onTokenClick,
8662
- selectTokenLabel,
8663
- chainLabel,
8664
- chainImage,
8665
- chainDirectionLabel,
8666
- chainDisabledTitle,
8667
- onNetworkClick,
8668
- isNetworkDisabled,
8669
- currentNetworkSelected
8670
- }
9006
+ }) => {
9007
+ const hasToken = selectedToken != null;
9008
+ const hasError = !!bytecodeErrorMessage;
9009
+ const isSubmitDisabled = !hasToken || submitDisabled || !amountValue || amountValue === "0" || amountValue === "";
9010
+ const [cardHovered, setCardHovered] = React6__default.useState(false);
9011
+ const hideTimerRef = React6__default.useRef(void 0);
9012
+ function handleHoverStart() {
9013
+ clearTimeout(hideTimerRef.current);
9014
+ setCardHovered(true);
9015
+ }
9016
+ function handleHoverEnd() {
9017
+ hideTimerRef.current = setTimeout(() => setCardHovered(false), 150);
9018
+ }
9019
+ React6__default.useEffect(() => () => clearTimeout(hideTimerRef.current), []);
9020
+ const panelBaseClasses = [
9021
+ "relative flex flex-col overflow-hidden w-[420px]",
9022
+ "rounded-[var(--deframe-widget-size-radius-md)]",
9023
+ "border border-[color:var(--deframe-widget-color-border-secondary)]",
9024
+ "font-[var(--deframe-widget-font-family)]"
9025
+ ].join(" ");
9026
+ const headerBaseClasses = [
9027
+ "flex items-center",
9028
+ "px-[var(--deframe-widget-size-padding-x-md)]",
9029
+ "py-[var(--deframe-widget-size-padding-y-md)]"
9030
+ ].join(" ");
9031
+ const titleBaseClasses = [
9032
+ "flex-1",
9033
+ "text-[15px]",
9034
+ "[font-weight:var(--deframe-widget-font-weight-semibold)]",
9035
+ "text-[color:var(--deframe-widget-color-text-primary)]"
9036
+ ].join(" ");
9037
+ const dividerClasses = "h-px bg-[var(--deframe-widget-color-border-secondary)]";
9038
+ const bodyBaseClasses = [
9039
+ "flex flex-col",
9040
+ "gap-[var(--deframe-widget-size-gap-md)]",
9041
+ "px-[var(--deframe-widget-size-padding-x-md)]",
9042
+ "py-[var(--deframe-widget-size-padding-y-md)]"
9043
+ ].join(" ");
9044
+ const inputCardClasses = twMerge(
9045
+ "rounded-[var(--deframe-widget-size-radius-sm)]",
9046
+ "border",
9047
+ "px-[var(--deframe-widget-size-padding-x-md)] py-[var(--deframe-widget-size-padding-y-md)]",
9048
+ "transition-[border-color,background] duration-200",
9049
+ hasError ? "border-[color:color-mix(in_srgb,var(--deframe-widget-color-state-error)_32%,transparent)] bg-[color:color-mix(in_srgb,var(--deframe-widget-color-state-error)_16%,transparent)]" : "border-[color:var(--deframe-widget-color-border-secondary)] bg-[var(--deframe-widget-color-bg-secondary)]"
9050
+ );
9051
+ const footerBaseClasses = [
9052
+ "flex gap-[var(--deframe-widget-size-gap-sm)]",
9053
+ "px-[var(--deframe-widget-size-padding-x-md)]",
9054
+ "pb-[var(--deframe-widget-size-padding-y-md)]"
9055
+ ].join(" ");
9056
+ return /* @__PURE__ */ jsxs(
9057
+ "div",
9058
+ {
9059
+ "data-slot": "deposit-panel-simple",
9060
+ "data-test-id": "earn-deposit-form-view-simple",
9061
+ className: panelBaseClasses,
9062
+ children: [
9063
+ /* @__PURE__ */ jsx(
9064
+ "header",
9065
+ {
9066
+ "data-slot": "deposit-panel-simple-header",
9067
+ "data-test-id": "earn-deposit-form-view-simple-header",
9068
+ className: headerBaseClasses,
9069
+ children: /* @__PURE__ */ jsx(
9070
+ "span",
9071
+ {
9072
+ "data-slot": "deposit-panel-simple-title",
9073
+ "data-test-id": "earn-deposit-form-view-simple-title",
9074
+ className: titleBaseClasses,
9075
+ children: headerTitle
9076
+ }
9077
+ )
9078
+ }
9079
+ ),
9080
+ /* @__PURE__ */ jsx(
9081
+ "div",
9082
+ {
9083
+ "data-slot": "deposit-panel-simple-divider",
9084
+ "data-test-id": "earn-deposit-form-view-simple-divider",
9085
+ className: dividerClasses
9086
+ }
9087
+ ),
9088
+ /* @__PURE__ */ jsxs("form", { onSubmit, children: [
9089
+ /* @__PURE__ */ jsx(
9090
+ "div",
9091
+ {
9092
+ "data-slot": "deposit-panel-simple-body",
9093
+ "data-test-id": "earn-deposit-form-view-simple-body",
9094
+ className: bodyBaseClasses,
9095
+ children: /* @__PURE__ */ jsxs(
9096
+ "div",
9097
+ {
9098
+ "data-slot": "deposit-panel-simple-input-card",
9099
+ "data-test-id": "earn-deposit-form-view-simple-input-card",
9100
+ onMouseEnter: hasToken ? handleHoverStart : void 0,
9101
+ onMouseLeave: hasToken ? handleHoverEnd : void 0,
9102
+ className: inputCardClasses,
9103
+ children: [
9104
+ /* @__PURE__ */ jsxs(
9105
+ "div",
9106
+ {
9107
+ "data-slot": "deposit-panel-simple-input-top-row",
9108
+ "data-test-id": "earn-deposit-form-view-simple-top-row",
9109
+ className: "flex items-center gap-[var(--deframe-widget-size-gap-sm)]",
9110
+ children: [
9111
+ /* @__PURE__ */ jsx(
9112
+ EarnTokenSelectorSimpleView,
9113
+ {
9114
+ selectedToken,
9115
+ onTokenClick,
9116
+ isLoading: isLoadingToken,
9117
+ selectTokenLabel,
9118
+ chainLabel,
9119
+ chainImage
9120
+ }
9121
+ ),
9122
+ /* @__PURE__ */ jsx(
9123
+ "div",
9124
+ {
9125
+ "data-test-id": "earn-deposit-form-view-simple-input-divider",
9126
+ className: "w-px h-10 bg-[var(--deframe-widget-color-border-secondary)] flex-shrink-0"
9127
+ }
9128
+ ),
9129
+ /* @__PURE__ */ jsx(
9130
+ EarnAmountInputSimpleView,
9131
+ {
9132
+ value: amountValue,
9133
+ onChange: onAmountChange,
9134
+ ariaLabel: amountAriaLabel,
9135
+ dollarAmountFormatted
9136
+ }
9137
+ )
9138
+ ]
9139
+ }
9140
+ ),
9141
+ hasToken && availableBalanceFormatted && /* @__PURE__ */ jsx(
9142
+ "div",
9143
+ {
9144
+ "data-slot": "deposit-simple-balance-row",
9145
+ "data-test-id": "earn-deposit-form-view-simple-balance-row",
9146
+ className: "mt-[var(--deframe-widget-size-gap-sm)]",
9147
+ children: /* @__PURE__ */ jsx(
9148
+ "span",
9149
+ {
9150
+ className: twMerge(
9151
+ "text-[13px] font-[var(--deframe-widget-font-family)]",
9152
+ hasError ? "text-[color:var(--deframe-widget-color-state-error)]" : "text-[color:var(--deframe-widget-color-text-tertiary)]"
9153
+ ),
9154
+ children: availableBalanceFormatted
9155
+ }
9156
+ )
9157
+ }
9158
+ ),
9159
+ !hasToken && !isLoadingToken && /* @__PURE__ */ jsx(
9160
+ "p",
9161
+ {
9162
+ "data-slot": "deposit-simple-empty-hint",
9163
+ "data-test-id": "earn-deposit-form-view-simple-empty-hint",
9164
+ className: "mt-[var(--deframe-widget-size-gap-sm)] text-[13px] text-[color:var(--deframe-widget-color-text-tertiary)] font-[var(--deframe-widget-font-family)]",
9165
+ children: selectTokenLabel
9166
+ }
9167
+ ),
9168
+ /* @__PURE__ */ jsx(AnimatePresence, { children: hasToken && cardHovered && /* @__PURE__ */ jsx(
9169
+ motion.div,
9170
+ {
9171
+ "data-slot": "deposit-simple-chips-row",
9172
+ "data-test-id": "earn-deposit-form-view-simple-chips-row",
9173
+ initial: { opacity: 0, height: 0, marginTop: 0 },
9174
+ animate: { opacity: 1, height: "auto", marginTop: "var(--deframe-widget-size-gap-sm)" },
9175
+ exit: { opacity: 0, height: 0, marginTop: 0 },
9176
+ transition: { duration: 0.15, ease: "easeOut" },
9177
+ style: { overflow: "hidden" },
9178
+ onMouseEnter: handleHoverStart,
9179
+ onMouseLeave: handleHoverEnd,
9180
+ children: /* @__PURE__ */ jsx(
9181
+ EarnPercentageButtonsSimpleView,
9182
+ {
9183
+ onPercentageClick,
9184
+ maxLabel
9185
+ }
9186
+ )
9187
+ }
9188
+ ) }),
9189
+ showNoBalanceNotification && /* @__PURE__ */ jsx("div", { className: "mt-[var(--deframe-widget-size-gap-sm)]", children: /* @__PURE__ */ jsx(
9190
+ EarnNoBalanceNotificationView,
9191
+ {
9192
+ prompt: noBalancePrompt,
9193
+ actionLabel: goToSwapLabel,
9194
+ onAction: onGoToSwap
9195
+ }
9196
+ ) }),
9197
+ bytecodeErrorMessage && /* @__PURE__ */ jsx("div", { className: "mt-[var(--deframe-widget-size-gap-sm)]", children: /* @__PURE__ */ jsx(
9198
+ EarnInlineNotificationSimpleView,
9199
+ {
9200
+ variant: "error",
9201
+ message: bytecodeErrorMessage
9202
+ }
9203
+ ) })
9204
+ ]
9205
+ }
9206
+ )
9207
+ }
9208
+ ),
9209
+ /* @__PURE__ */ jsxs(
9210
+ "footer",
9211
+ {
9212
+ "data-slot": "deposit-panel-simple-footer",
9213
+ "data-test-id": "earn-deposit-form-view-simple-footer",
9214
+ className: footerBaseClasses,
9215
+ children: [
9216
+ onBack && /* @__PURE__ */ jsx(
9217
+ SecondaryButton,
9218
+ {
9219
+ type: "button",
9220
+ className: [
9221
+ "flex-1 h-12 rounded-[var(--deframe-widget-size-radius-sm)]",
9222
+ "text-[15px] text-[color:var(--deframe-widget-color-text-secondary)]",
9223
+ "border-[color:var(--deframe-widget-color-border-secondary)]",
9224
+ "outline-none",
9225
+ "transition-[background,color,border-color] duration-150",
9226
+ "hover:opacity-100",
9227
+ "hover:bg-[color:color-mix(in_srgb,var(--deframe-widget-color-bg-tertiary)_60%,transparent)]",
9228
+ "hover:text-[color:var(--deframe-widget-color-text-primary)]"
9229
+ ].join(" "),
9230
+ onClick: onBack,
9231
+ "aria-label": "Cancel deposit",
9232
+ children: "Cancel"
9233
+ }
9234
+ ),
9235
+ /* @__PURE__ */ jsx(
9236
+ PrimaryButton,
9237
+ {
9238
+ type: "submit",
9239
+ className: [
9240
+ "flex-1 h-12 rounded-[var(--deframe-widget-size-radius-sm)]",
9241
+ "border-none",
9242
+ "text-[15px]",
9243
+ isSubmitDisabled ? "text-[color:var(--deframe-widget-color-text-primary-disabled)]" : "text-[color:var(--deframe-widget-color-text-primary-dark)]",
9244
+ "outline-none",
9245
+ "transition-[background,color] duration-200"
9246
+ ].join(" "),
9247
+ disabled: isSubmitDisabled,
9248
+ "aria-disabled": isSubmitDisabled,
9249
+ "aria-label": submitButtonText,
9250
+ children: submitButtonText
9251
+ }
9252
+ )
9253
+ ]
9254
+ }
9255
+ )
9256
+ ] }),
9257
+ /* @__PURE__ */ jsx(AnimatePresence, { children: showTxStatus && /* @__PURE__ */ jsx(
9258
+ motion.div,
9259
+ {
9260
+ "data-slot": "deposit-simple-tx-overlay",
9261
+ "data-test-id": "earn-deposit-form-view-simple-tx-overlay",
9262
+ initial: { opacity: 0 },
9263
+ animate: { opacity: 1 },
9264
+ exit: { opacity: 0 },
9265
+ transition: { duration: 0.2, ease: "easeOut" },
9266
+ className: "absolute inset-0 z-10 flex items-center justify-center bg-[var(--deframe-widget-color-bg-primary)]",
9267
+ children: /* @__PURE__ */ jsx(
9268
+ EarnTxStatusCardView,
9269
+ {
9270
+ statusLabel: txStatusLabel,
9271
+ isProcessing: isTxProcessing,
9272
+ successMessage: isTxSuccess ? txSuccessMessage : void 0,
9273
+ errorMessage: isTxError ? txErrorMessage : void 0
9274
+ }
9275
+ )
9276
+ }
9277
+ ) })
9278
+ ]
9279
+ }
9280
+ );
9281
+ };
9282
+ var EarnWithdrawFormView = ({
9283
+ // Header / Layout
9284
+ headerTitle,
9285
+ onBack,
9286
+ progress,
9287
+ pageTitle,
9288
+ subtitle,
9289
+ onSubmit,
9290
+ // Position card
9291
+ positionBalanceUSD,
9292
+ positionBalanceToken,
9293
+ strategyIcon,
9294
+ strategyName,
9295
+ // Token selector
9296
+ selectedToken,
9297
+ onTokenClick,
9298
+ selectTokenLabel,
9299
+ // Chain selector
9300
+ chainLabel,
9301
+ chainImage,
9302
+ chainDirectionLabel,
9303
+ chainDisabledTitle,
9304
+ onNetworkClick,
9305
+ isNetworkDisabled,
9306
+ currentNetworkSelected,
9307
+ // Amount input
9308
+ amountValue,
9309
+ onAmountChange,
9310
+ amountAriaLabel,
9311
+ dollarAmountFormatted,
9312
+ // Percentage buttons
9313
+ onPercentageClick,
9314
+ maxLabel,
9315
+ // TX status
9316
+ showTxStatus,
9317
+ txStatusLabel,
9318
+ isTxProcessing,
9319
+ isTxSuccess,
9320
+ isTxError,
9321
+ txSuccessMessage,
9322
+ txErrorMessage,
9323
+ // Bytecode error
9324
+ bytecodeErrorMessage,
9325
+ transactionErrorLabel,
9326
+ // Quote details
9327
+ isQuoteValid,
9328
+ isFetchingQuote,
9329
+ summaryTitle,
9330
+ summaryItems,
9331
+ // Submit button
9332
+ submitDisabled,
9333
+ submitButtonText
9334
+ }) => /* @__PURE__ */ jsxs(BackgroundContainer, { children: [
9335
+ /* @__PURE__ */ jsx(DetailsHeader, { title: headerTitle, onBack }),
9336
+ /* @__PURE__ */ jsx("div", { className: "flex-1 min-h-0 overflow-y-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-[var(--deframe-widget-size-gap-md)] text-[color:var(--deframe-widget-color-text-secondary)] pb-[var(--deframe-widget-size-padding-y-md)]", children: [
9337
+ /* @__PURE__ */ jsx("div", { className: "w-full px-[var(--deframe-widget-size-padding-x-md)]", children: /* @__PURE__ */ jsx(ProgressIndicator, { progress }) }),
9338
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-[var(--deframe-widget-size-gap-sm)] px-[var(--deframe-widget-size-padding-x-md)]", children: [
9339
+ /* @__PURE__ */ jsx(TextHeading, { variant: "h5", children: pageTitle }),
9340
+ /* @__PURE__ */ jsx(TextBody, { variant: "text-small", children: subtitle })
9341
+ ] }),
9342
+ /* @__PURE__ */ jsxs("form", { onSubmit, children: [
9343
+ /* @__PURE__ */ jsx(
9344
+ EarnPositionCardView,
9345
+ {
9346
+ balanceUSD: positionBalanceUSD,
9347
+ balanceToken: positionBalanceToken,
9348
+ icon: strategyIcon,
9349
+ iconAlt: strategyName
9350
+ }
9351
+ ),
9352
+ /* @__PURE__ */ jsx("div", { className: "px-[var(--deframe-widget-size-padding-x-md)] mt-[var(--deframe-widget-size-gap-sm)]", children: /* @__PURE__ */ jsx(SectionCard, { className: "focus-within:bg-[var(--deframe-widget-color-bg-tertiary)] transition-colors", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-[var(--deframe-widget-size-gap-md)]", children: [
9353
+ /* @__PURE__ */ jsx(
9354
+ EarnWithdrawTokenSelectorView,
9355
+ {
9356
+ selectedToken,
9357
+ onTokenClick,
9358
+ selectTokenLabel,
9359
+ chainLabel,
9360
+ chainImage,
9361
+ chainDirectionLabel,
9362
+ chainDisabledTitle,
9363
+ onNetworkClick,
9364
+ isNetworkDisabled,
9365
+ currentNetworkSelected
9366
+ }
8671
9367
  ),
8672
9368
  /* @__PURE__ */ jsx(
8673
9369
  EarnAmountInputView,
@@ -8726,6 +9422,306 @@ var EarnWithdrawFormView = ({
8726
9422
  ] })
8727
9423
  ] }) })
8728
9424
  ] });
9425
+ var EarnWithdrawFormViewSimple = ({
9426
+ // Header / Layout
9427
+ headerTitle,
9428
+ onBack,
9429
+ onSubmit,
9430
+ // Position card (used for inline balance row)
9431
+ positionBalanceToken,
9432
+ // Token selector
9433
+ selectedToken,
9434
+ onTokenClick,
9435
+ selectTokenLabel,
9436
+ // Chain selector
9437
+ chainLabel,
9438
+ chainImage,
9439
+ // Amount input
9440
+ amountValue,
9441
+ onAmountChange,
9442
+ amountAriaLabel,
9443
+ dollarAmountFormatted,
9444
+ // Percentage buttons
9445
+ onPercentageClick,
9446
+ maxLabel,
9447
+ // TX status
9448
+ showTxStatus,
9449
+ txStatusLabel,
9450
+ isTxProcessing,
9451
+ isTxSuccess,
9452
+ isTxError,
9453
+ txSuccessMessage,
9454
+ txErrorMessage,
9455
+ // Bytecode error
9456
+ bytecodeErrorMessage,
9457
+ // Submit button
9458
+ submitDisabled,
9459
+ submitButtonText
9460
+ }) => {
9461
+ const hasToken = selectedToken != null;
9462
+ const hasError = !!bytecodeErrorMessage;
9463
+ const isSubmitDisabled = !hasToken || submitDisabled || !amountValue || amountValue === "0" || amountValue === "";
9464
+ const [cardHovered, setCardHovered] = React6__default.useState(false);
9465
+ const hideTimerRef = React6__default.useRef(void 0);
9466
+ function handleHoverStart() {
9467
+ clearTimeout(hideTimerRef.current);
9468
+ setCardHovered(true);
9469
+ }
9470
+ function handleHoverEnd() {
9471
+ hideTimerRef.current = setTimeout(() => setCardHovered(false), 150);
9472
+ }
9473
+ React6__default.useEffect(() => () => clearTimeout(hideTimerRef.current), []);
9474
+ const panelBaseClasses = [
9475
+ "relative flex flex-col overflow-hidden w-[420px]",
9476
+ "rounded-[var(--deframe-widget-size-radius-md)]",
9477
+ "border border-[color:var(--deframe-widget-color-border-secondary)]",
9478
+ "font-[var(--deframe-widget-font-family)]"
9479
+ ].join(" ");
9480
+ const headerBaseClasses = [
9481
+ "flex items-center",
9482
+ "px-[var(--deframe-widget-size-padding-x-md)]",
9483
+ "py-[var(--deframe-widget-size-padding-y-md)]"
9484
+ ].join(" ");
9485
+ const titleBaseClasses = [
9486
+ "flex-1",
9487
+ "text-[15px]",
9488
+ "[font-weight:var(--deframe-widget-font-weight-semibold)]",
9489
+ "text-[color:var(--deframe-widget-color-text-primary)]"
9490
+ ].join(" ");
9491
+ const dividerClasses = "h-px bg-[var(--deframe-widget-color-border-secondary)]";
9492
+ const bodyBaseClasses = [
9493
+ "flex flex-col",
9494
+ "gap-[var(--deframe-widget-size-gap-md)]",
9495
+ "px-[var(--deframe-widget-size-padding-x-md)]",
9496
+ "py-[var(--deframe-widget-size-padding-y-md)]"
9497
+ ].join(" ");
9498
+ const inputCardClasses = twMerge(
9499
+ "rounded-[var(--deframe-widget-size-radius-sm)]",
9500
+ "border",
9501
+ "px-[var(--deframe-widget-size-padding-x-md)] py-[var(--deframe-widget-size-padding-y-md)]",
9502
+ "transition-[border-color,background] duration-200",
9503
+ hasError ? "border-[color:color-mix(in_srgb,var(--deframe-widget-color-state-error)_32%,transparent)] bg-[color:color-mix(in_srgb,var(--deframe-widget-color-state-error)_16%,transparent)]" : "border-[color:var(--deframe-widget-color-border-secondary)] bg-[var(--deframe-widget-color-bg-secondary)]"
9504
+ );
9505
+ const footerBaseClasses = [
9506
+ "flex gap-[var(--deframe-widget-size-gap-sm)]",
9507
+ "px-[var(--deframe-widget-size-padding-x-md)]",
9508
+ "pb-[var(--deframe-widget-size-padding-y-md)]"
9509
+ ].join(" ");
9510
+ return /* @__PURE__ */ jsxs(
9511
+ "div",
9512
+ {
9513
+ "data-slot": "withdraw-panel-simple",
9514
+ "data-test-id": "earn-withdraw-form-view-simple",
9515
+ className: panelBaseClasses,
9516
+ children: [
9517
+ /* @__PURE__ */ jsx(
9518
+ "header",
9519
+ {
9520
+ "data-slot": "withdraw-panel-simple-header",
9521
+ "data-test-id": "earn-withdraw-form-view-simple-header",
9522
+ className: headerBaseClasses,
9523
+ children: /* @__PURE__ */ jsx(
9524
+ "span",
9525
+ {
9526
+ "data-slot": "withdraw-panel-simple-title",
9527
+ "data-test-id": "earn-withdraw-form-view-simple-title",
9528
+ className: titleBaseClasses,
9529
+ children: headerTitle
9530
+ }
9531
+ )
9532
+ }
9533
+ ),
9534
+ /* @__PURE__ */ jsx(
9535
+ "div",
9536
+ {
9537
+ "data-slot": "withdraw-panel-simple-divider",
9538
+ "data-test-id": "earn-withdraw-form-view-simple-divider",
9539
+ className: dividerClasses
9540
+ }
9541
+ ),
9542
+ /* @__PURE__ */ jsxs("form", { onSubmit, children: [
9543
+ /* @__PURE__ */ jsx(
9544
+ "div",
9545
+ {
9546
+ "data-slot": "withdraw-panel-simple-body",
9547
+ "data-test-id": "earn-withdraw-form-view-simple-body",
9548
+ className: bodyBaseClasses,
9549
+ children: /* @__PURE__ */ jsxs(
9550
+ "div",
9551
+ {
9552
+ "data-slot": "withdraw-panel-simple-input-card",
9553
+ "data-test-id": "earn-withdraw-form-view-simple-input-card",
9554
+ onMouseEnter: hasToken ? handleHoverStart : void 0,
9555
+ onMouseLeave: hasToken ? handleHoverEnd : void 0,
9556
+ className: inputCardClasses,
9557
+ children: [
9558
+ /* @__PURE__ */ jsxs(
9559
+ "div",
9560
+ {
9561
+ "data-slot": "withdraw-panel-simple-input-top-row",
9562
+ "data-test-id": "earn-withdraw-form-view-simple-top-row",
9563
+ className: "flex items-center gap-[var(--deframe-widget-size-gap-sm)]",
9564
+ children: [
9565
+ /* @__PURE__ */ jsx(
9566
+ EarnTokenSelectorSimpleView,
9567
+ {
9568
+ selectedToken,
9569
+ onTokenClick,
9570
+ isLoading: false,
9571
+ selectTokenLabel,
9572
+ chainLabel,
9573
+ chainImage
9574
+ }
9575
+ ),
9576
+ /* @__PURE__ */ jsx(
9577
+ "div",
9578
+ {
9579
+ "data-test-id": "earn-withdraw-form-view-simple-input-divider",
9580
+ className: "w-px h-10 bg-[var(--deframe-widget-color-border-secondary)] flex-shrink-0"
9581
+ }
9582
+ ),
9583
+ /* @__PURE__ */ jsx(
9584
+ EarnAmountInputSimpleView,
9585
+ {
9586
+ value: amountValue,
9587
+ onChange: onAmountChange,
9588
+ ariaLabel: amountAriaLabel,
9589
+ dollarAmountFormatted
9590
+ }
9591
+ )
9592
+ ]
9593
+ }
9594
+ ),
9595
+ hasToken && positionBalanceToken && /* @__PURE__ */ jsx(
9596
+ "div",
9597
+ {
9598
+ "data-slot": "withdraw-simple-balance-row",
9599
+ "data-test-id": "earn-withdraw-form-view-simple-balance-row",
9600
+ className: "mt-[var(--deframe-widget-size-gap-sm)]",
9601
+ children: /* @__PURE__ */ jsx("span", { className: "text-[13px] text-[color:var(--deframe-widget-color-text-tertiary)] font-[var(--deframe-widget-font-family)]", children: /* @__PURE__ */ jsx(
9602
+ "span",
9603
+ {
9604
+ className: hasError ? "text-[color:var(--deframe-widget-color-state-error)]" : "text-[color:var(--deframe-widget-color-text-secondary)]",
9605
+ children: positionBalanceToken
9606
+ }
9607
+ ) })
9608
+ }
9609
+ ),
9610
+ !hasToken && /* @__PURE__ */ jsx(
9611
+ "p",
9612
+ {
9613
+ "data-slot": "withdraw-simple-empty-hint",
9614
+ "data-test-id": "earn-withdraw-form-view-simple-empty-hint",
9615
+ className: "mt-[var(--deframe-widget-size-gap-sm)] text-[13px] text-[color:var(--deframe-widget-color-text-tertiary)] font-[var(--deframe-widget-font-family)]",
9616
+ children: selectTokenLabel
9617
+ }
9618
+ ),
9619
+ /* @__PURE__ */ jsx(AnimatePresence, { children: hasToken && cardHovered && /* @__PURE__ */ jsx(
9620
+ motion.div,
9621
+ {
9622
+ "data-slot": "withdraw-simple-chips-row",
9623
+ "data-test-id": "earn-withdraw-form-view-simple-chips-row",
9624
+ initial: { opacity: 0, height: 0, marginTop: 0 },
9625
+ animate: { opacity: 1, height: "auto", marginTop: "var(--deframe-widget-size-gap-sm)" },
9626
+ exit: { opacity: 0, height: 0, marginTop: 0 },
9627
+ transition: { duration: 0.15, ease: "easeOut" },
9628
+ style: { overflow: "hidden" },
9629
+ onMouseEnter: handleHoverStart,
9630
+ onMouseLeave: handleHoverEnd,
9631
+ children: /* @__PURE__ */ jsx(
9632
+ EarnPercentageButtonsSimpleView,
9633
+ {
9634
+ onPercentageClick,
9635
+ maxLabel
9636
+ }
9637
+ )
9638
+ }
9639
+ ) }),
9640
+ bytecodeErrorMessage && /* @__PURE__ */ jsx("div", { className: "mt-[var(--deframe-widget-size-gap-sm)]", children: /* @__PURE__ */ jsx(
9641
+ EarnInlineNotificationSimpleView,
9642
+ {
9643
+ variant: "error",
9644
+ message: bytecodeErrorMessage
9645
+ }
9646
+ ) })
9647
+ ]
9648
+ }
9649
+ )
9650
+ }
9651
+ ),
9652
+ /* @__PURE__ */ jsxs(
9653
+ "footer",
9654
+ {
9655
+ "data-slot": "withdraw-panel-simple-footer",
9656
+ "data-test-id": "earn-withdraw-form-view-simple-footer",
9657
+ className: footerBaseClasses,
9658
+ children: [
9659
+ onBack && /* @__PURE__ */ jsx(
9660
+ SecondaryButton,
9661
+ {
9662
+ type: "button",
9663
+ className: [
9664
+ "flex-1 h-12 rounded-[var(--deframe-widget-size-radius-sm)]",
9665
+ "text-[15px] text-[color:var(--deframe-widget-color-text-secondary)]",
9666
+ "border-[color:var(--deframe-widget-color-border-secondary)]",
9667
+ "outline-none",
9668
+ "transition-[background,color,border-color] duration-150",
9669
+ "hover:opacity-100",
9670
+ "hover:bg-[color:color-mix(in_srgb,var(--deframe-widget-color-bg-tertiary)_60%,transparent)]",
9671
+ "hover:text-[color:var(--deframe-widget-color-text-primary)]"
9672
+ ].join(" "),
9673
+ onClick: onBack,
9674
+ "aria-label": "Cancel withdrawal",
9675
+ children: "Cancel"
9676
+ }
9677
+ ),
9678
+ /* @__PURE__ */ jsx(
9679
+ PrimaryButton,
9680
+ {
9681
+ type: "submit",
9682
+ className: [
9683
+ "flex-1 h-12 rounded-[var(--deframe-widget-size-radius-sm)]",
9684
+ "border-none",
9685
+ "text-[15px]",
9686
+ isSubmitDisabled ? "text-[color:var(--deframe-widget-color-text-primary-disabled)]" : "text-[color:var(--deframe-widget-color-text-primary-dark)]",
9687
+ "outline-none",
9688
+ "transition-[background,color] duration-200"
9689
+ ].join(" "),
9690
+ disabled: isSubmitDisabled,
9691
+ "aria-disabled": isSubmitDisabled,
9692
+ "aria-label": submitButtonText,
9693
+ children: submitButtonText
9694
+ }
9695
+ )
9696
+ ]
9697
+ }
9698
+ )
9699
+ ] }),
9700
+ /* @__PURE__ */ jsx(AnimatePresence, { children: showTxStatus && /* @__PURE__ */ jsx(
9701
+ motion.div,
9702
+ {
9703
+ "data-slot": "withdraw-simple-tx-overlay",
9704
+ "data-test-id": "earn-withdraw-form-view-simple-tx-overlay",
9705
+ initial: { opacity: 0 },
9706
+ animate: { opacity: 1 },
9707
+ exit: { opacity: 0 },
9708
+ transition: { duration: 0.2, ease: "easeOut" },
9709
+ className: "absolute inset-0 z-10 flex items-center justify-center bg-[var(--deframe-widget-color-bg-primary)]",
9710
+ children: /* @__PURE__ */ jsx(
9711
+ EarnTxStatusCardView,
9712
+ {
9713
+ statusLabel: txStatusLabel,
9714
+ isProcessing: isTxProcessing,
9715
+ successMessage: isTxSuccess ? txSuccessMessage : void 0,
9716
+ errorMessage: isTxError ? txErrorMessage : void 0
9717
+ }
9718
+ )
9719
+ }
9720
+ ) })
9721
+ ]
9722
+ }
9723
+ );
9724
+ };
8729
9725
  var EarnDepositProcessingView = ({
8730
9726
  progress,
8731
9727
  title,
@@ -8744,49 +9740,500 @@ var EarnDepositProcessingView = ({
8744
9740
  processingDetailsLabels
8745
9741
  }) => {
8746
9742
  return /* @__PURE__ */ jsxs(
8747
- TransactionScreen,
9743
+ TransactionScreen,
9744
+ {
9745
+ progress,
9746
+ iconType: "processing",
9747
+ title,
9748
+ description: /* @__PURE__ */ jsxs(Fragment, { children: [
9749
+ descriptionPrefix,
9750
+ " ",
9751
+ /* @__PURE__ */ jsx(
9752
+ "span",
9753
+ {
9754
+ className: "[font-weight:var(--deframe-widget-font-weight-semibold)] underline underline-offset-2 cursor-pointer text-[color:var(--deframe-widget-color-brand-primary)]",
9755
+ onClick: onGoToHistory,
9756
+ children: activityHistoryText
9757
+ }
9758
+ )
9759
+ ] }),
9760
+ onBack,
9761
+ children: [
9762
+ /* @__PURE__ */ jsx(
9763
+ TransactionScreenInvestmentCard,
9764
+ {
9765
+ strategyName,
9766
+ apyLabel,
9767
+ apyValue,
9768
+ iconSrc,
9769
+ iconAlt,
9770
+ amountUSD,
9771
+ amountToken
9772
+ }
9773
+ ),
9774
+ /* @__PURE__ */ jsx(
9775
+ TransactionProcessingDetails,
9776
+ {
9777
+ steps: transactionSteps,
9778
+ defaultOpen: true,
9779
+ className: "bg-[var(--deframe-widget-color-bg-secondary)] lg:!bg-[var(--deframe-widget-color-bg-primary)]",
9780
+ labels: processingDetailsLabels
9781
+ }
9782
+ )
9783
+ ]
9784
+ }
9785
+ );
9786
+ };
9787
+ function EarnFormSkeleton() {
9788
+ const headerClasses = [
9789
+ "flex items-center",
9790
+ "px-[var(--deframe-widget-size-padding-x-md)]",
9791
+ "py-[var(--deframe-widget-size-padding-y-md)]"
9792
+ ].join(" ");
9793
+ const titleClasses = [
9794
+ "flex-1",
9795
+ "text-[15px]",
9796
+ "[font-weight:var(--deframe-widget-font-weight-semibold)]",
9797
+ "text-[color:var(--deframe-widget-color-text-primary)]"
9798
+ ].join(" ");
9799
+ const dividerClasses = "h-px bg-[var(--deframe-widget-color-border-secondary)]";
9800
+ const bodyClasses = [
9801
+ "flex flex-col",
9802
+ "gap-[var(--deframe-widget-size-gap-md)]",
9803
+ "px-[var(--deframe-widget-size-padding-x-md)]",
9804
+ "py-[var(--deframe-widget-size-padding-y-md)]"
9805
+ ].join(" ");
9806
+ const inputCardClasses = twMerge(
9807
+ "rounded-[var(--deframe-widget-size-radius-sm)]",
9808
+ "border border-[color:var(--deframe-widget-color-border-secondary)]",
9809
+ "bg-[var(--deframe-widget-color-bg-secondary)]",
9810
+ "px-[var(--deframe-widget-size-padding-x-md)] py-[var(--deframe-widget-size-padding-y-md)]"
9811
+ );
9812
+ const footerClasses = [
9813
+ "flex gap-[var(--deframe-widget-size-gap-sm)]",
9814
+ "px-[var(--deframe-widget-size-padding-x-md)]",
9815
+ "pb-[var(--deframe-widget-size-padding-y-md)]"
9816
+ ].join(" ");
9817
+ return /* @__PURE__ */ jsxs(
9818
+ "div",
9819
+ {
9820
+ "data-test-id": "earn-form-skeleton",
9821
+ className: "flex flex-col font-[var(--deframe-widget-font-family)]",
9822
+ children: [
9823
+ /* @__PURE__ */ jsx("div", { "data-test-id": "earn-form-skeleton-header", className: headerClasses, children: /* @__PURE__ */ jsx("span", { className: titleClasses, children: "Deposit" }) }),
9824
+ /* @__PURE__ */ jsx("div", { "data-test-id": "earn-form-skeleton-divider", className: dividerClasses }),
9825
+ /* @__PURE__ */ jsx("div", { "data-test-id": "earn-form-skeleton-body", className: bodyClasses, children: /* @__PURE__ */ jsxs("div", { "data-test-id": "earn-form-skeleton-input-card", className: inputCardClasses, children: [
9826
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-[var(--deframe-widget-size-gap-sm)]", children: [
9827
+ /* @__PURE__ */ jsxs(
9828
+ "div",
9829
+ {
9830
+ className: twMerge(
9831
+ "inline-flex items-center gap-[10px]",
9832
+ "py-[var(--deframe-widget-size-padding-y-sm)] px-[10px]",
9833
+ "rounded-[var(--deframe-widget-size-radius-sm)]",
9834
+ "bg-[var(--deframe-widget-color-bg-tertiary)]",
9835
+ "flex-shrink-0"
9836
+ ),
9837
+ children: [
9838
+ /* @__PURE__ */ jsxs("div", { className: "relative flex-shrink-0 w-[38px] h-[38px]", children: [
9839
+ /* @__PURE__ */ jsx(
9840
+ "div",
9841
+ {
9842
+ className: "w-full h-full rounded-[var(--deframe-widget-size-radius-full)] bg-[var(--deframe-widget-color-bg-tertiary)] flex items-center justify-center text-[12px] [font-weight:var(--deframe-widget-font-weight-bold)] text-[color:var(--deframe-widget-color-text-primary)]",
9843
+ children: "US"
9844
+ }
9845
+ ),
9846
+ /* @__PURE__ */ jsx("div", { className: "absolute -bottom-0.5 -right-0.5 w-4 h-4 rounded-[var(--deframe-widget-size-radius-full)] bg-[var(--deframe-widget-color-bg-tertiary)] shadow-[0_0_0_2px_var(--deframe-widget-color-bg-secondary)]" })
9847
+ ] }),
9848
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start min-w-0", children: [
9849
+ /* @__PURE__ */ jsx("span", { className: "text-[16px] [font-weight:var(--deframe-widget-font-weight-semibold)] leading-[1.2] font-[var(--deframe-widget-font-family)] text-[color:var(--deframe-widget-color-text-primary)]", children: "USDC" }),
9850
+ /* @__PURE__ */ jsx("span", { className: "text-[11px] [font-weight:var(--deframe-widget-font-weight-medium)] text-[color:var(--deframe-widget-color-text-tertiary)] uppercase tracking-[0.04em] font-[var(--deframe-widget-font-family)] leading-[1.2]", children: "Arbitrum" })
9851
+ ] })
9852
+ ]
9853
+ }
9854
+ ),
9855
+ /* @__PURE__ */ jsx("div", { className: "w-px h-10 bg-[var(--deframe-widget-color-border-secondary)] flex-shrink-0" }),
9856
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-end flex-1 min-w-0", children: [
9857
+ /* @__PURE__ */ jsx("span", { className: "text-[36px] [font-weight:var(--deframe-widget-font-weight-semibold)] [line-height:1.1] text-[color:var(--deframe-widget-color-text-primary)] text-right w-full font-[var(--deframe-widget-font-family)]", children: "500" }),
9858
+ /* @__PURE__ */ jsx("span", { className: "text-[13px] text-[color:var(--deframe-widget-color-text-tertiary)] font-[var(--deframe-widget-font-family)]", children: "\u2248 $499.87" })
9859
+ ] })
9860
+ ] }),
9861
+ /* @__PURE__ */ jsx("div", { className: "mt-[var(--deframe-widget-size-gap-sm)]", children: /* @__PURE__ */ jsx("span", { className: "text-[13px] text-[color:var(--deframe-widget-color-text-tertiary)]", children: "Available: 1,250.00 USDC" }) })
9862
+ ] }) }),
9863
+ /* @__PURE__ */ jsxs("div", { "data-test-id": "earn-form-skeleton-footer", className: footerClasses, children: [
9864
+ /* @__PURE__ */ jsx(
9865
+ "div",
9866
+ {
9867
+ "data-test-id": "earn-form-skeleton-cancel-btn",
9868
+ className: twMerge(
9869
+ "flex-1 h-12",
9870
+ "rounded-[var(--deframe-widget-size-radius-sm)]",
9871
+ "border border-[color:var(--deframe-widget-color-border-secondary)]",
9872
+ "flex items-center justify-center",
9873
+ "text-[15px] [font-weight:var(--deframe-widget-font-weight-semibold)]",
9874
+ "text-[color:var(--deframe-widget-color-text-secondary)]"
9875
+ ),
9876
+ children: "Cancel"
9877
+ }
9878
+ ),
9879
+ /* @__PURE__ */ jsx(
9880
+ "div",
9881
+ {
9882
+ "data-test-id": "earn-form-skeleton-submit-btn",
9883
+ className: twMerge(
9884
+ "flex-1 h-12",
9885
+ "rounded-[var(--deframe-widget-size-radius-sm)]",
9886
+ "bg-[var(--deframe-widget-color-brand-primary)]",
9887
+ "flex items-center justify-center",
9888
+ "text-[15px] [font-weight:var(--deframe-widget-font-weight-semibold)]",
9889
+ "text-[color:var(--deframe-widget-color-text-primary-dark)]"
9890
+ ),
9891
+ children: "Deposit"
9892
+ }
9893
+ )
9894
+ ] })
9895
+ ]
9896
+ }
9897
+ );
9898
+ }
9899
+ function EarnFeedbackOverlaySimpleView({
9900
+ variant,
9901
+ title,
9902
+ subtitle
9903
+ }) {
9904
+ const isLoading = variant === "loading";
9905
+ const wrapperClasses = twMerge(
9906
+ "relative flex flex-col overflow-hidden w-[420px]",
9907
+ "rounded-[var(--deframe-widget-size-radius-md)]",
9908
+ "border border-[color:var(--deframe-widget-color-border-secondary)]",
9909
+ "font-[var(--deframe-widget-font-family)]"
9910
+ );
9911
+ const overlayClasses = twMerge(
9912
+ "absolute inset-0 z-10",
9913
+ "flex flex-col items-center justify-center",
9914
+ "gap-[var(--deframe-widget-size-gap-lg)]",
9915
+ "px-[var(--deframe-widget-size-padding-x-md)] py-[var(--deframe-widget-size-padding-y-lg)]",
9916
+ "rounded-[inherit]",
9917
+ "backdrop-blur-[12px] [-webkit-backdrop-filter:blur(12px)]",
9918
+ "bg-[color-mix(in_srgb,var(--deframe-widget-color-bg-primary)_88%,transparent)]"
9919
+ );
9920
+ const textSectionClasses = twMerge(
9921
+ "flex flex-col items-center",
9922
+ "gap-[var(--deframe-widget-size-gap-sm)] text-center"
9923
+ );
9924
+ const titleClasses = twMerge(
9925
+ isLoading ? "[font-size:12px] [line-height:1.25] [letter-spacing:0.10em] uppercase [font-weight:var(--deframe-widget-font-weight-semibold)] font-[var(--deframe-widget-font-family)] text-[color:var(--deframe-widget-color-brand-primary)]" : "text-[22px] font-bold text-[color:var(--deframe-widget-color-text-primary)] leading-[1.25]"
9926
+ );
9927
+ const subtitleClasses = twMerge(
9928
+ "[font-size:var(--deframe-widget-font-size-md)] [line-height:1.6]",
9929
+ "[font-weight:var(--deframe-widget-font-weight-regular)]",
9930
+ "font-[var(--deframe-widget-font-family)]",
9931
+ "text-[color:var(--deframe-widget-color-text-secondary)]",
9932
+ "max-w-[260px]"
9933
+ );
9934
+ return /* @__PURE__ */ jsxs(
9935
+ "div",
9936
+ {
9937
+ "data-test-id": "earn-feedback-overlay-wrapper",
9938
+ "data-slot": "earn-feedback-overlay-wrapper",
9939
+ className: wrapperClasses,
9940
+ children: [
9941
+ /* @__PURE__ */ jsx("div", { "data-test-id": "earn-feedback-overlay-skeleton", children: /* @__PURE__ */ jsx(EarnFormSkeleton, {}) }),
9942
+ /* @__PURE__ */ jsxs(
9943
+ motion.div,
9944
+ {
9945
+ "data-test-id": "earn-feedback-overlay",
9946
+ "data-slot": "earn-feedback-overlay",
9947
+ initial: { opacity: 0 },
9948
+ animate: { opacity: 1 },
9949
+ exit: { opacity: 0 },
9950
+ transition: { duration: 0.2 },
9951
+ className: overlayClasses,
9952
+ children: [
9953
+ isLoading && /* @__PURE__ */ jsx(LoadingIcon2, {}),
9954
+ variant === "success" && /* @__PURE__ */ jsx(SuccessIcon2, {}),
9955
+ variant === "warning" && /* @__PURE__ */ jsx(WarningIcon2, {}),
9956
+ variant === "error" && /* @__PURE__ */ jsx(ErrorIcon2, {}),
9957
+ /* @__PURE__ */ jsxs(
9958
+ "div",
9959
+ {
9960
+ "data-test-id": "earn-feedback-text",
9961
+ "data-slot": "earn-feedback-text",
9962
+ className: textSectionClasses,
9963
+ children: [
9964
+ /* @__PURE__ */ jsx(
9965
+ "span",
9966
+ {
9967
+ "data-test-id": "earn-feedback-title",
9968
+ "data-slot": "earn-feedback-title",
9969
+ className: titleClasses,
9970
+ children: title
9971
+ }
9972
+ ),
9973
+ subtitle && /* @__PURE__ */ jsx(
9974
+ "span",
9975
+ {
9976
+ "data-test-id": "earn-feedback-subtitle",
9977
+ "data-slot": "earn-feedback-subtitle",
9978
+ className: subtitleClasses,
9979
+ children: subtitle
9980
+ }
9981
+ )
9982
+ ]
9983
+ }
9984
+ )
9985
+ ]
9986
+ },
9987
+ "earn-feedback-overlay"
9988
+ )
9989
+ ]
9990
+ }
9991
+ );
9992
+ }
9993
+ function LoadingIcon2() {
9994
+ const green = "var(--deframe-widget-color-brand-primary)";
9995
+ const trackColor = "color-mix(in srgb, var(--deframe-widget-color-brand-primary) 12%, transparent)";
9996
+ const sw = 2.8;
9997
+ const aw = 2.4;
9998
+ return /* @__PURE__ */ jsxs(
9999
+ motion.svg,
8748
10000
  {
8749
- progress,
8750
- iconType: "processing",
8751
- title,
8752
- description: /* @__PURE__ */ jsxs(Fragment, { children: [
8753
- descriptionPrefix,
8754
- " ",
10001
+ "data-test-id": "earn-feedback-loading-icon",
10002
+ "data-slot": "earn-feedback-loading-icon",
10003
+ width: "56",
10004
+ height: "56",
10005
+ viewBox: "0 0 56 56",
10006
+ fill: "none",
10007
+ "aria-hidden": "true",
10008
+ animate: { rotate: 360 },
10009
+ transition: { duration: 1.6, repeat: Infinity, ease: "linear" },
10010
+ children: [
10011
+ /* @__PURE__ */ jsx("circle", { cx: "28", cy: "28", r: "22", stroke: trackColor, strokeWidth: sw }),
8755
10012
  /* @__PURE__ */ jsx(
8756
- "span",
10013
+ "path",
8757
10014
  {
8758
- className: "[font-weight:var(--deframe-widget-font-weight-semibold)] underline underline-offset-2 cursor-pointer text-[color:var(--deframe-widget-color-brand-primary)]",
8759
- onClick: onGoToHistory,
8760
- children: activityHistoryText
10015
+ d: "M 6.75 22.31 A 22 22 0 0 1 49.25 22.31",
10016
+ stroke: green,
10017
+ strokeWidth: sw,
10018
+ strokeLinecap: "round"
8761
10019
  }
8762
- )
8763
- ] }),
8764
- onBack,
8765
- children: [
10020
+ ),
8766
10021
  /* @__PURE__ */ jsx(
8767
- TransactionScreenInvestmentCard,
10022
+ "path",
8768
10023
  {
8769
- strategyName,
8770
- apyLabel,
8771
- apyValue,
8772
- iconSrc,
8773
- iconAlt,
8774
- amountUSD,
8775
- amountToken
10024
+ d: "M 45.0 18.1 L 49.25 22.31 L 51.0 16.5",
10025
+ stroke: green,
10026
+ strokeWidth: aw,
10027
+ strokeLinecap: "round",
10028
+ strokeLinejoin: "round"
8776
10029
  }
8777
10030
  ),
8778
10031
  /* @__PURE__ */ jsx(
8779
- TransactionProcessingDetails,
10032
+ "path",
8780
10033
  {
8781
- steps: transactionSteps,
8782
- defaultOpen: true,
8783
- className: "bg-[var(--deframe-widget-color-bg-secondary)] lg:!bg-[var(--deframe-widget-color-bg-primary)]",
8784
- labels: processingDetailsLabels
10034
+ d: "M 49.25 33.69 A 22 22 0 0 1 6.75 33.69",
10035
+ stroke: green,
10036
+ strokeWidth: sw,
10037
+ strokeLinecap: "round"
10038
+ }
10039
+ ),
10040
+ /* @__PURE__ */ jsx(
10041
+ "path",
10042
+ {
10043
+ d: "M 11.0 37.9 L 6.75 33.69 L 5.0 39.5",
10044
+ stroke: green,
10045
+ strokeWidth: aw,
10046
+ strokeLinecap: "round",
10047
+ strokeLinejoin: "round"
8785
10048
  }
8786
10049
  )
8787
10050
  ]
8788
10051
  }
8789
10052
  );
10053
+ }
10054
+ function SuccessIcon2() {
10055
+ return /* @__PURE__ */ jsx(
10056
+ motion.div,
10057
+ {
10058
+ "data-test-id": "earn-feedback-success-icon",
10059
+ "data-slot": "earn-feedback-success-icon",
10060
+ initial: { scale: 0.55, opacity: 0 },
10061
+ animate: { scale: 1, opacity: 1 },
10062
+ transition: { type: "spring", stiffness: 300, damping: 20, delay: 0.05 },
10063
+ className: twMerge(
10064
+ "flex items-center justify-center shrink-0",
10065
+ "w-[64px] h-[64px] rounded-full"
10066
+ ),
10067
+ style: {
10068
+ background: "var(--deframe-widget-color-state-success)",
10069
+ boxShadow: "0 0 0 7px color-mix(in srgb, var(--deframe-widget-color-state-success) 12%, transparent), 0 0 24px color-mix(in srgb, var(--deframe-widget-color-state-success) 22%, transparent)"
10070
+ },
10071
+ children: /* @__PURE__ */ jsx(
10072
+ "svg",
10073
+ {
10074
+ width: "36",
10075
+ height: "36",
10076
+ viewBox: "0 0 44 44",
10077
+ fill: "none",
10078
+ "aria-hidden": "true",
10079
+ children: /* @__PURE__ */ jsx(
10080
+ motion.path,
10081
+ {
10082
+ d: "M10 22 L18 30 L34 14",
10083
+ stroke: "white",
10084
+ strokeWidth: "3.5",
10085
+ strokeLinecap: "round",
10086
+ strokeLinejoin: "round",
10087
+ initial: { pathLength: 0 },
10088
+ animate: { pathLength: 1 },
10089
+ transition: { duration: 0.45, delay: 0.2, ease: "easeOut" }
10090
+ }
10091
+ )
10092
+ }
10093
+ )
10094
+ }
10095
+ );
10096
+ }
10097
+ function ErrorIcon2() {
10098
+ return /* @__PURE__ */ jsx(
10099
+ motion.div,
10100
+ {
10101
+ "data-test-id": "earn-feedback-error-icon",
10102
+ "data-slot": "earn-feedback-error-icon",
10103
+ initial: { scale: 0.55, opacity: 0 },
10104
+ animate: { scale: 1, opacity: 1 },
10105
+ transition: { type: "spring", stiffness: 300, damping: 20, delay: 0.05 },
10106
+ className: twMerge(
10107
+ "flex items-center justify-center shrink-0",
10108
+ "w-[64px] h-[64px] rounded-full"
10109
+ ),
10110
+ style: {
10111
+ background: "var(--deframe-widget-color-state-error)",
10112
+ boxShadow: "0 0 0 7px color-mix(in srgb, var(--deframe-widget-color-state-error) 12%, transparent), 0 0 24px color-mix(in srgb, var(--deframe-widget-color-state-error) 22%, transparent)"
10113
+ },
10114
+ children: /* @__PURE__ */ jsxs(
10115
+ "svg",
10116
+ {
10117
+ width: "36",
10118
+ height: "36",
10119
+ viewBox: "0 0 44 44",
10120
+ fill: "none",
10121
+ "aria-hidden": "true",
10122
+ children: [
10123
+ /* @__PURE__ */ jsx(
10124
+ motion.line,
10125
+ {
10126
+ x1: "14",
10127
+ y1: "14",
10128
+ x2: "30",
10129
+ y2: "30",
10130
+ stroke: "white",
10131
+ strokeWidth: "3.5",
10132
+ strokeLinecap: "round",
10133
+ initial: { pathLength: 0 },
10134
+ animate: { pathLength: 1 },
10135
+ transition: { duration: 0.25, delay: 0.2, ease: "easeOut" }
10136
+ }
10137
+ ),
10138
+ /* @__PURE__ */ jsx(
10139
+ motion.line,
10140
+ {
10141
+ x1: "30",
10142
+ y1: "14",
10143
+ x2: "14",
10144
+ y2: "30",
10145
+ stroke: "white",
10146
+ strokeWidth: "3.5",
10147
+ strokeLinecap: "round",
10148
+ initial: { pathLength: 0 },
10149
+ animate: { pathLength: 1 },
10150
+ transition: { duration: 0.25, delay: 0.38, ease: "easeOut" }
10151
+ }
10152
+ )
10153
+ ]
10154
+ }
10155
+ )
10156
+ }
10157
+ );
10158
+ }
10159
+ function WarningIcon2() {
10160
+ const amber = "var(--deframe-widget-color-state-warning)";
10161
+ const amberGlow = "color-mix(in srgb, var(--deframe-widget-color-state-warning) 12%, transparent)";
10162
+ const amberGlow2 = "color-mix(in srgb, var(--deframe-widget-color-state-warning) 22%, transparent)";
10163
+ return /* @__PURE__ */ jsx(
10164
+ motion.div,
10165
+ {
10166
+ "data-test-id": "earn-feedback-warning-icon",
10167
+ "data-slot": "earn-feedback-warning-icon",
10168
+ initial: { scale: 0.55, opacity: 0 },
10169
+ animate: { scale: 1, opacity: 1 },
10170
+ transition: { type: "spring", stiffness: 300, damping: 20, delay: 0.05 },
10171
+ className: twMerge(
10172
+ "flex items-center justify-center shrink-0",
10173
+ "w-[64px] h-[64px] rounded-full"
10174
+ ),
10175
+ style: {
10176
+ background: amber,
10177
+ boxShadow: `0 0 0 7px ${amberGlow}, 0 0 24px ${amberGlow2}`
10178
+ },
10179
+ children: /* @__PURE__ */ jsxs(
10180
+ "svg",
10181
+ {
10182
+ width: "36",
10183
+ height: "36",
10184
+ viewBox: "0 0 44 44",
10185
+ fill: "none",
10186
+ "aria-hidden": "true",
10187
+ children: [
10188
+ /* @__PURE__ */ jsx("circle", { cx: "22", cy: "22", r: "13", stroke: "white", strokeWidth: "2.5" }),
10189
+ /* @__PURE__ */ jsx(
10190
+ motion.line,
10191
+ {
10192
+ x1: "22",
10193
+ y1: "22",
10194
+ x2: "22",
10195
+ y2: "13",
10196
+ stroke: "white",
10197
+ strokeWidth: "2.5",
10198
+ strokeLinecap: "round",
10199
+ initial: { pathLength: 0 },
10200
+ animate: { pathLength: 1 },
10201
+ transition: { duration: 0.3, delay: 0.2, ease: "easeOut" }
10202
+ }
10203
+ ),
10204
+ /* @__PURE__ */ jsx(
10205
+ motion.line,
10206
+ {
10207
+ x1: "22",
10208
+ y1: "22",
10209
+ x2: "31",
10210
+ y2: "22",
10211
+ stroke: "white",
10212
+ strokeWidth: "2.5",
10213
+ strokeLinecap: "round",
10214
+ initial: { pathLength: 0 },
10215
+ animate: { pathLength: 1 },
10216
+ transition: { duration: 0.3, delay: 0.38, ease: "easeOut" }
10217
+ }
10218
+ )
10219
+ ]
10220
+ }
10221
+ )
10222
+ }
10223
+ );
10224
+ }
10225
+ var EarnDepositProcessingSimpleView = ({
10226
+ title,
10227
+ descriptionPrefix
10228
+ }) => {
10229
+ return /* @__PURE__ */ jsx("div", { "data-test-id": "earn-deposit-processing-simple-view", children: /* @__PURE__ */ jsx(
10230
+ EarnFeedbackOverlaySimpleView,
10231
+ {
10232
+ variant: "loading",
10233
+ title,
10234
+ subtitle: descriptionPrefix
10235
+ }
10236
+ ) });
8790
10237
  };
8791
10238
  var EarnDepositSuccessView = ({
8792
10239
  title,
@@ -8861,6 +10308,25 @@ var EarnDepositSuccessView = ({
8861
10308
  }
8862
10309
  );
8863
10310
  };
10311
+ var EarnDepositSuccessSimpleView = ({
10312
+ title,
10313
+ descriptionSuffix,
10314
+ onClose
10315
+ }) => {
10316
+ React6__default.useEffect(() => {
10317
+ if (!onClose) return;
10318
+ const timer = setTimeout(onClose, 5e3);
10319
+ return () => clearTimeout(timer);
10320
+ }, [onClose]);
10321
+ return /* @__PURE__ */ jsx("div", { "data-test-id": "earn-deposit-success-simple-view", children: /* @__PURE__ */ jsx(
10322
+ EarnFeedbackOverlaySimpleView,
10323
+ {
10324
+ variant: "success",
10325
+ title,
10326
+ subtitle: descriptionSuffix
10327
+ }
10328
+ ) });
10329
+ };
8864
10330
  var EarnDepositWarningView = ({
8865
10331
  progress,
8866
10332
  title,
@@ -8920,6 +10386,25 @@ var EarnDepositWarningView = ({
8920
10386
  }
8921
10387
  );
8922
10388
  };
10389
+ var EarnDepositWarningSimpleView = ({
10390
+ title,
10391
+ description,
10392
+ onBack
10393
+ }) => {
10394
+ React6__default.useEffect(() => {
10395
+ if (!onBack) return;
10396
+ const timer = setTimeout(onBack, 5e3);
10397
+ return () => clearTimeout(timer);
10398
+ }, [onBack]);
10399
+ return /* @__PURE__ */ jsx("div", { "data-test-id": "earn-deposit-warning-simple-view", children: /* @__PURE__ */ jsx(
10400
+ EarnFeedbackOverlaySimpleView,
10401
+ {
10402
+ variant: "warning",
10403
+ title,
10404
+ subtitle: description
10405
+ }
10406
+ ) });
10407
+ };
8923
10408
  var EarnDepositFailedView = ({
8924
10409
  progress,
8925
10410
  title,
@@ -8982,6 +10467,25 @@ var EarnDepositFailedView = ({
8982
10467
  }
8983
10468
  );
8984
10469
  };
10470
+ var EarnDepositFailedSimpleView = ({
10471
+ title,
10472
+ description,
10473
+ onBack
10474
+ }) => {
10475
+ React6__default.useEffect(() => {
10476
+ if (!onBack) return;
10477
+ const timer = setTimeout(onBack, 5e3);
10478
+ return () => clearTimeout(timer);
10479
+ }, [onBack]);
10480
+ return /* @__PURE__ */ jsx("div", { "data-test-id": "earn-deposit-failed-simple-view", children: /* @__PURE__ */ jsx(
10481
+ EarnFeedbackOverlaySimpleView,
10482
+ {
10483
+ variant: "error",
10484
+ title,
10485
+ subtitle: description
10486
+ }
10487
+ ) });
10488
+ };
8985
10489
  var EarnWithdrawProcessingView = ({
8986
10490
  progress,
8987
10491
  title,
@@ -9047,6 +10551,19 @@ var EarnWithdrawProcessingView = ({
9047
10551
  }
9048
10552
  );
9049
10553
  };
10554
+ var EarnWithdrawProcessingSimpleView = ({
10555
+ title,
10556
+ descriptionPrefix
10557
+ }) => {
10558
+ return /* @__PURE__ */ jsx("div", { "data-test-id": "earn-withdraw-processing-simple-view", children: /* @__PURE__ */ jsx(
10559
+ EarnFeedbackOverlaySimpleView,
10560
+ {
10561
+ variant: "loading",
10562
+ title,
10563
+ subtitle: descriptionPrefix
10564
+ }
10565
+ ) });
10566
+ };
9050
10567
  var EarnWithdrawSuccessView = ({
9051
10568
  title,
9052
10569
  descriptionPrefix,
@@ -9113,6 +10630,25 @@ var EarnWithdrawSuccessView = ({
9113
10630
  }
9114
10631
  );
9115
10632
  };
10633
+ var EarnWithdrawSuccessSimpleView = ({
10634
+ title,
10635
+ descriptionSuffix,
10636
+ onClose
10637
+ }) => {
10638
+ React6__default.useEffect(() => {
10639
+ if (!onClose) return;
10640
+ const timer = setTimeout(onClose, 5e3);
10641
+ return () => clearTimeout(timer);
10642
+ }, [onClose]);
10643
+ return /* @__PURE__ */ jsx("div", { "data-test-id": "earn-withdraw-success-simple-view", children: /* @__PURE__ */ jsx(
10644
+ EarnFeedbackOverlaySimpleView,
10645
+ {
10646
+ variant: "success",
10647
+ title,
10648
+ subtitle: descriptionSuffix
10649
+ }
10650
+ ) });
10651
+ };
9116
10652
  var EarnWithdrawWarningView = ({
9117
10653
  progress,
9118
10654
  title,
@@ -9172,6 +10708,25 @@ var EarnWithdrawWarningView = ({
9172
10708
  }
9173
10709
  );
9174
10710
  };
10711
+ var EarnWithdrawWarningSimpleView = ({
10712
+ title,
10713
+ description,
10714
+ onBack
10715
+ }) => {
10716
+ React6__default.useEffect(() => {
10717
+ if (!onBack) return;
10718
+ const timer = setTimeout(onBack, 5e3);
10719
+ return () => clearTimeout(timer);
10720
+ }, [onBack]);
10721
+ return /* @__PURE__ */ jsx("div", { "data-test-id": "earn-withdraw-warning-simple-view", children: /* @__PURE__ */ jsx(
10722
+ EarnFeedbackOverlaySimpleView,
10723
+ {
10724
+ variant: "warning",
10725
+ title,
10726
+ subtitle: description
10727
+ }
10728
+ ) });
10729
+ };
9175
10730
  var EarnWithdrawFailedView = ({
9176
10731
  progress,
9177
10732
  title,
@@ -9234,6 +10789,25 @@ var EarnWithdrawFailedView = ({
9234
10789
  }
9235
10790
  );
9236
10791
  };
10792
+ var EarnWithdrawFailedSimpleView = ({
10793
+ title,
10794
+ description,
10795
+ onBack
10796
+ }) => {
10797
+ React6__default.useEffect(() => {
10798
+ if (!onBack) return;
10799
+ const timer = setTimeout(onBack, 5e3);
10800
+ return () => clearTimeout(timer);
10801
+ }, [onBack]);
10802
+ return /* @__PURE__ */ jsx("div", { "data-test-id": "earn-withdraw-failed-simple-view", children: /* @__PURE__ */ jsx(
10803
+ EarnFeedbackOverlaySimpleView,
10804
+ {
10805
+ variant: "error",
10806
+ title,
10807
+ subtitle: description
10808
+ }
10809
+ ) });
10810
+ };
9237
10811
  var DashboardCard = ({ children, className }) => {
9238
10812
  return /* @__PURE__ */ jsx("div", { "data-test-id": "dashboard-card", className: twMerge("bg-[var(--deframe-widget-color-bg-subtle)] rounded", className), children });
9239
10813
  };
@@ -10519,6 +12093,6 @@ var DashboardViewSimple = ({
10519
12093
  );
10520
12094
  };
10521
12095
 
10522
- export { ActionButton, ActionSheet, AddressDisplay, ApyRange, BackButton, BackgroundContainer, BannerNotification, Chip, ChipGroup, 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, DetailsHeader, EarnAmountInputView, EarnBalanceCard, EarnBytecodeErrorView, EarnDepositFailedView, EarnDepositFormView, EarnDepositProcessingView, EarnDepositSuccessView, EarnDepositWarningView, EarnDesktopView, EarnExploreGridView, EarnInvestedSectionView, EarnInvestmentDetailsView, EarnInvestmentSummaryView, EarnNoBalanceNotificationView, EarnOverviewView, EarnPercentageButtonsView, EarnPositionCardView, EarnRecentTransactionsView, EarnTokenSelectorView, EarnTxStatusCardView, EarnWithdrawFailedView, EarnWithdrawFormView, EarnWithdrawProcessingView, EarnWithdrawSuccessView, EarnWithdrawTokenSelectorView, EarnWithdrawWarningView, Currency as Fiat, FlexCol, FlexRow, GroupedStrategyListView, HighRiskBadge, HistoryDepositDetailsView, HistoryListSkeleton, HistoryListView, HistorySwapDetailsView, HistoryTabEmpty, HistoryWithdrawDetailsView, InfoLabel, InfoRow, InfoRowIconLabel, InfoRowIconValue, InfoRowWithIcon, InfoValue, Input2 as Input, InvestmentCrossChainProcessingView, Label, Link, ListItem, ListItemContent, ListItemLeftSide, ListItemRightSide, LoadingDots, LowRiskBadge, MediumRiskBadge, Navbar, PercentageButton, PrimaryButton, ProcessingBadge, ProgressIndicator, ScrollableContent, SearchEmptyState, SearchInput, SecondaryButton, SectionCard, Select, SelectContent, SelectItem, SelectTrigger, Skeleton, StepDisplay, StepStatusIcon, StepStatusText, StrategyDetailsView, StrategyGridCard, SummaryDetails, SummaryDetailsCryptoControlV2, SwapAdvancedSettingsView, SwapAmountInputView, SwapCrossChainProcessingView, SwapFormView, SwapFormViewSimple, SwapFromCardView, SwapFromCardViewSimple, SwapHistoryView, 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, isDustValue };
12096
+ export { ActionButton, ActionSheet, AddressDisplay, ApyRange, BackButton, BackgroundContainer, BannerNotification, Chip, ChipGroup, 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, DetailsHeader, EarnAmountInputView, EarnBalanceCard, EarnBytecodeErrorView, EarnDepositFailedSimpleView, EarnDepositFailedView, EarnDepositFormView, EarnDepositFormViewSimple, EarnDepositProcessingSimpleView, EarnDepositProcessingView, EarnDepositSuccessSimpleView, EarnDepositSuccessView, EarnDepositWarningSimpleView, EarnDepositWarningView, EarnDesktopView, 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, HistoryListSkeleton, HistoryListView, HistorySwapDetailsView, HistoryTabEmpty, HistoryWithdrawDetailsView, InfoLabel, InfoRow, InfoRowIconLabel, InfoRowIconValue, InfoRowWithIcon, InfoValue, Input2 as Input, InvestmentCrossChainProcessingView, Label, Link, ListItem, ListItemContent, ListItemLeftSide, ListItemRightSide, LoadingDots, LowRiskBadge, MediumRiskBadge, Navbar, PercentageButton, PrimaryButton, ProcessingBadge, ProgressIndicator, ScrollableContent, SearchEmptyState, SearchInput, SecondaryButton, SectionCard, Select, SelectContent, SelectItem, SelectTrigger, Skeleton, StepDisplay, StepStatusIcon, StepStatusText, StrategyDetailsView, StrategyGridCard, SummaryDetails, SummaryDetailsCryptoControlV2, SwapAdvancedSettingsView, SwapAmountInputView, SwapCrossChainProcessingView, SwapFormView, SwapFormViewSimple, SwapFromCardView, SwapFromCardViewSimple, SwapHistoryView, 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, isDustValue };
10523
12097
  //# sourceMappingURL=index.mjs.map
10524
12098
  //# sourceMappingURL=index.mjs.map