@nexus-cross/dapp-ui 1.3.4-beta.11 → 1.3.4-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1087,9 +1087,15 @@ interface WalletPortfolioProps {
1087
1087
  sendTransaction?: SendTransactionFn;
1088
1088
  /** 내장 Withdraw 확인 화면의 가스 추정 콜백. 미주입 시 지갑 추정에 위임. */
1089
1089
  estimateGas?: EstimateGasFn;
1090
+ /**
1091
+ * 포트폴리오 금액 표시 통화의 USD 환산 비율(USD 기준). 미주입 시 1(=USD).
1092
+ */
1093
+ conversionRatio?: number;
1094
+ /** 포트폴리오 금액 표시 통화 기호. 미주입 시 `"$"`. */
1095
+ currencySymbol?: string;
1090
1096
  children: React.ReactNode;
1091
1097
  }
1092
- declare function WalletPortfolioRoot({ env, theme, walletAddress, open: propOpen, onOpenChange, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, children, }: WalletPortfolioProps): react_jsx_runtime.JSX.Element;
1098
+ declare function WalletPortfolioRoot({ env, theme, walletAddress, open: propOpen, onOpenChange, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, conversionRatio, currencySymbol, children, }: WalletPortfolioProps): react_jsx_runtime.JSX.Element;
1093
1099
  declare const WalletPortfolio: typeof WalletPortfolioRoot & {
1094
1100
  Trigger: typeof WalletPortfolioTrigger;
1095
1101
  Content: typeof WalletPortfolioContent;
@@ -1139,6 +1145,12 @@ interface WalletPortfolioBodyProps {
1139
1145
  sendTransaction?: SendTransactionFn;
1140
1146
  /** 내장 Withdraw 확인 화면의 가스 추정 콜백. 미주입 시 지갑 추정에 위임. */
1141
1147
  estimateGas?: EstimateGasFn;
1148
+ /**
1149
+ * 포트폴리오 금액 표시 통화의 USD 환산 비율(USD 기준). 미주입 시 1(=USD).
1150
+ */
1151
+ conversionRatio?: number;
1152
+ /** 포트폴리오 금액 표시 통화 기호. 미주입 시 `"$"`. */
1153
+ currencySymbol?: string;
1142
1154
  /**
1143
1155
  * 노출할 포트폴리오 섹션을 제한한다. 미지정(`undefined`)이면 모든 섹션을
1144
1156
  * 기본 순서대로 표시하고, 배열을 주면 포함된 섹션만 (기본 순서를 유지한 채)
@@ -1146,7 +1158,7 @@ interface WalletPortfolioBodyProps {
1146
1158
  */
1147
1159
  sections?: PortfolioSection[];
1148
1160
  }
1149
- declare function WalletPortfolioBody({ env, theme, walletAddress, walletName, onBack, showHeader, variant, className, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, sections, }: WalletPortfolioBodyProps): react_jsx_runtime.JSX.Element;
1161
+ declare function WalletPortfolioBody({ env, theme, walletAddress, walletName, onBack, showHeader, variant, className, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, conversionRatio, currencySymbol, sections, }: WalletPortfolioBodyProps): react_jsx_runtime.JSX.Element;
1150
1162
 
1151
1163
  declare function CROSSxIcon(): react_jsx_runtime.JSX.Element;
1152
1164
  declare function MetaMaskIcon(): react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -1087,9 +1087,15 @@ interface WalletPortfolioProps {
1087
1087
  sendTransaction?: SendTransactionFn;
1088
1088
  /** 내장 Withdraw 확인 화면의 가스 추정 콜백. 미주입 시 지갑 추정에 위임. */
1089
1089
  estimateGas?: EstimateGasFn;
1090
+ /**
1091
+ * 포트폴리오 금액 표시 통화의 USD 환산 비율(USD 기준). 미주입 시 1(=USD).
1092
+ */
1093
+ conversionRatio?: number;
1094
+ /** 포트폴리오 금액 표시 통화 기호. 미주입 시 `"$"`. */
1095
+ currencySymbol?: string;
1090
1096
  children: React.ReactNode;
1091
1097
  }
1092
- declare function WalletPortfolioRoot({ env, theme, walletAddress, open: propOpen, onOpenChange, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, children, }: WalletPortfolioProps): react_jsx_runtime.JSX.Element;
1098
+ declare function WalletPortfolioRoot({ env, theme, walletAddress, open: propOpen, onOpenChange, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, conversionRatio, currencySymbol, children, }: WalletPortfolioProps): react_jsx_runtime.JSX.Element;
1093
1099
  declare const WalletPortfolio: typeof WalletPortfolioRoot & {
1094
1100
  Trigger: typeof WalletPortfolioTrigger;
1095
1101
  Content: typeof WalletPortfolioContent;
@@ -1139,6 +1145,12 @@ interface WalletPortfolioBodyProps {
1139
1145
  sendTransaction?: SendTransactionFn;
1140
1146
  /** 내장 Withdraw 확인 화면의 가스 추정 콜백. 미주입 시 지갑 추정에 위임. */
1141
1147
  estimateGas?: EstimateGasFn;
1148
+ /**
1149
+ * 포트폴리오 금액 표시 통화의 USD 환산 비율(USD 기준). 미주입 시 1(=USD).
1150
+ */
1151
+ conversionRatio?: number;
1152
+ /** 포트폴리오 금액 표시 통화 기호. 미주입 시 `"$"`. */
1153
+ currencySymbol?: string;
1142
1154
  /**
1143
1155
  * 노출할 포트폴리오 섹션을 제한한다. 미지정(`undefined`)이면 모든 섹션을
1144
1156
  * 기본 순서대로 표시하고, 배열을 주면 포함된 섹션만 (기본 순서를 유지한 채)
@@ -1146,7 +1158,7 @@ interface WalletPortfolioBodyProps {
1146
1158
  */
1147
1159
  sections?: PortfolioSection[];
1148
1160
  }
1149
- declare function WalletPortfolioBody({ env, theme, walletAddress, walletName, onBack, showHeader, variant, className, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, sections, }: WalletPortfolioBodyProps): react_jsx_runtime.JSX.Element;
1161
+ declare function WalletPortfolioBody({ env, theme, walletAddress, walletName, onBack, showHeader, variant, className, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, conversionRatio, currencySymbol, sections, }: WalletPortfolioBodyProps): react_jsx_runtime.JSX.Element;
1150
1162
 
1151
1163
  declare function CROSSxIcon(): react_jsx_runtime.JSX.Element;
1152
1164
  declare function MetaMaskIcon(): react_jsx_runtime.JSX.Element;