@nexus-cross/dapp-ui 1.4.1-beta.2 → 1.4.1-beta.4

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
@@ -1038,6 +1038,13 @@ interface OnePopBodyProps {
1038
1038
  * Activity 카드는 `summary.xConnected` 가 true 일 때만 렌더된다.
1039
1039
  */
1040
1040
  onActivity?: () => void;
1041
+ /**
1042
+ * 활동 화면으로 나가는 모든 경로(Activity 카드 / `See all activity` /
1043
+ * `N replies waiting` 배너)에서 **추가로** 호출되는 알림 훅. `onActivity` 와
1044
+ * 달리 기본 동작을 대체하지 않는다 — 답장을 확인 처리해
1045
+ * `repliesWaitingCount` 를 0 으로 떨어뜨리는 용도다.
1046
+ */
1047
+ onRepliesSeen?: () => void;
1041
1048
  /** "You might have POPs waiting" 배너 override. 기본 `/pop/board`. */
1042
1049
  onBoard?: () => void;
1043
1050
  /** "Get ONEUSD ›" override. 기본 게임토큰 브리지(`/gametoken/bridge`). */
@@ -1053,7 +1060,7 @@ interface OnePopBodyProps {
1053
1060
  */
1054
1061
  getTokenSlot?: React.ReactNode;
1055
1062
  }
1056
- declare function OnePopBody({ env, balanceDisplay, balanceIconUrl, isBalanceLoading, summary, logoSrc, heroSrc, onBack, onClose, onSend, onClaim, onActivity, onBoard, onGetToken, getTokenSlot, }: OnePopBodyProps): react_jsx_runtime.JSX.Element;
1063
+ declare function OnePopBody({ env, balanceDisplay, balanceIconUrl, isBalanceLoading, summary, logoSrc, heroSrc, onBack, onClose, onSend, onClaim, onActivity, onRepliesSeen, onBoard, onGetToken, getTokenSlot, }: OnePopBodyProps): react_jsx_runtime.JSX.Element;
1057
1064
 
1058
1065
  /**
1059
1066
  * ONEpop Available 카드의 "Get ONEUSD ›" 링크를 그대로 재현한 트리거.
@@ -1206,6 +1213,13 @@ interface WalletInfoProps {
1206
1213
  onOnePopClaim?: () => void;
1207
1214
  /** Activity 카드 + "See all activity" + replies 배너. 미주입 시 비활성. */
1208
1215
  onOnePopActivity?: () => void;
1216
+ /**
1217
+ * 활동 화면으로 나가는 경로에서 추가로 호출되는 알림 훅(목적지 이동은 그대로).
1218
+ * `onOnePopActivity` 와 달리 기본 동작을 대체하지 않는다 — 답장을 확인
1219
+ * 처리해 `onePopSummary.repliesWaitingCount` 를 떨어뜨리는 용도다.
1220
+ * connect-kit 경유라면 `useOnePopSummary().markRepliesSeen` 이 자동 배선된다.
1221
+ */
1222
+ onOnePopRepliesSeen?: () => void;
1209
1223
  /**
1210
1224
  * ONEpop Available 카드의 "Get ONEUSD ›" 자리를 대체할 노드.
1211
1225
  *
@@ -1287,7 +1301,7 @@ interface WalletInfoProps {
1287
1301
  style?: WalletInfoStyle;
1288
1302
  children: React.ReactNode;
1289
1303
  }
1290
- declare function WalletInfoRoot({ env, theme, mobileBreakpoint, drawerDirection, modal, showBalance, showForgeToken, showGameToken, showQR, showBridge, qrLogoSrc, walletAddress, accountName, sendAccounts, profileImageUrl, connectorId, connectorName: connectorNameProp, connectorIconUrl: connectorIconUrlProp, preferredTokens, onSelectWallet, onCopyAddress, onBuy, onBuyDisabledMessage, onBridgeDisabledMessage, onSendDisabledMessage, onDisconnect, disconnectLabel, termsUrl, termsLabel, privacyUrl, privacyLabel, open: propOpen, onOpenChange, showPortfolio, showOnePop, onePopSummary, onOnePopOpen, onOnePopSend, onOnePopClaim, onOnePopActivity, onePopGetTokenSlot, onePopLogoSrc, onePopHeroSrc, portfolioTitle, portfolioSections, showTotalAssets, totalAssetsLabel, sendTransaction, getTransactionReceipt, estimateGas, onOutlink, lpBalanceReader, stakingRewardsReader, bridgeTokens, bridgeHistory, getBridgeQuote, getBridgeToTokens, getBridgeApproval, approveBridge, submitBridge, onReceive, onBridge, onSend, style, children, }: WalletInfoProps): react_jsx_runtime.JSX.Element;
1304
+ declare function WalletInfoRoot({ env, theme, mobileBreakpoint, drawerDirection, modal, showBalance, showForgeToken, showGameToken, showQR, showBridge, qrLogoSrc, walletAddress, accountName, sendAccounts, profileImageUrl, connectorId, connectorName: connectorNameProp, connectorIconUrl: connectorIconUrlProp, preferredTokens, onSelectWallet, onCopyAddress, onBuy, onBuyDisabledMessage, onBridgeDisabledMessage, onSendDisabledMessage, onDisconnect, disconnectLabel, termsUrl, termsLabel, privacyUrl, privacyLabel, open: propOpen, onOpenChange, showPortfolio, showOnePop, onePopSummary, onOnePopOpen, onOnePopSend, onOnePopClaim, onOnePopActivity, onOnePopRepliesSeen, onePopGetTokenSlot, onePopLogoSrc, onePopHeroSrc, portfolioTitle, portfolioSections, showTotalAssets, totalAssetsLabel, sendTransaction, getTransactionReceipt, estimateGas, onOutlink, lpBalanceReader, stakingRewardsReader, bridgeTokens, bridgeHistory, getBridgeQuote, getBridgeToTokens, getBridgeApproval, approveBridge, submitBridge, onReceive, onBridge, onSend, style, children, }: WalletInfoProps): react_jsx_runtime.JSX.Element;
1291
1305
  declare const WalletInfo: typeof WalletInfoRoot & {
1292
1306
  Trigger: typeof WalletInfoTrigger;
1293
1307
  Content: typeof WalletInfoContent;
package/dist/index.d.ts CHANGED
@@ -1038,6 +1038,13 @@ interface OnePopBodyProps {
1038
1038
  * Activity 카드는 `summary.xConnected` 가 true 일 때만 렌더된다.
1039
1039
  */
1040
1040
  onActivity?: () => void;
1041
+ /**
1042
+ * 활동 화면으로 나가는 모든 경로(Activity 카드 / `See all activity` /
1043
+ * `N replies waiting` 배너)에서 **추가로** 호출되는 알림 훅. `onActivity` 와
1044
+ * 달리 기본 동작을 대체하지 않는다 — 답장을 확인 처리해
1045
+ * `repliesWaitingCount` 를 0 으로 떨어뜨리는 용도다.
1046
+ */
1047
+ onRepliesSeen?: () => void;
1041
1048
  /** "You might have POPs waiting" 배너 override. 기본 `/pop/board`. */
1042
1049
  onBoard?: () => void;
1043
1050
  /** "Get ONEUSD ›" override. 기본 게임토큰 브리지(`/gametoken/bridge`). */
@@ -1053,7 +1060,7 @@ interface OnePopBodyProps {
1053
1060
  */
1054
1061
  getTokenSlot?: React.ReactNode;
1055
1062
  }
1056
- declare function OnePopBody({ env, balanceDisplay, balanceIconUrl, isBalanceLoading, summary, logoSrc, heroSrc, onBack, onClose, onSend, onClaim, onActivity, onBoard, onGetToken, getTokenSlot, }: OnePopBodyProps): react_jsx_runtime.JSX.Element;
1063
+ declare function OnePopBody({ env, balanceDisplay, balanceIconUrl, isBalanceLoading, summary, logoSrc, heroSrc, onBack, onClose, onSend, onClaim, onActivity, onRepliesSeen, onBoard, onGetToken, getTokenSlot, }: OnePopBodyProps): react_jsx_runtime.JSX.Element;
1057
1064
 
1058
1065
  /**
1059
1066
  * ONEpop Available 카드의 "Get ONEUSD ›" 링크를 그대로 재현한 트리거.
@@ -1206,6 +1213,13 @@ interface WalletInfoProps {
1206
1213
  onOnePopClaim?: () => void;
1207
1214
  /** Activity 카드 + "See all activity" + replies 배너. 미주입 시 비활성. */
1208
1215
  onOnePopActivity?: () => void;
1216
+ /**
1217
+ * 활동 화면으로 나가는 경로에서 추가로 호출되는 알림 훅(목적지 이동은 그대로).
1218
+ * `onOnePopActivity` 와 달리 기본 동작을 대체하지 않는다 — 답장을 확인
1219
+ * 처리해 `onePopSummary.repliesWaitingCount` 를 떨어뜨리는 용도다.
1220
+ * connect-kit 경유라면 `useOnePopSummary().markRepliesSeen` 이 자동 배선된다.
1221
+ */
1222
+ onOnePopRepliesSeen?: () => void;
1209
1223
  /**
1210
1224
  * ONEpop Available 카드의 "Get ONEUSD ›" 자리를 대체할 노드.
1211
1225
  *
@@ -1287,7 +1301,7 @@ interface WalletInfoProps {
1287
1301
  style?: WalletInfoStyle;
1288
1302
  children: React.ReactNode;
1289
1303
  }
1290
- declare function WalletInfoRoot({ env, theme, mobileBreakpoint, drawerDirection, modal, showBalance, showForgeToken, showGameToken, showQR, showBridge, qrLogoSrc, walletAddress, accountName, sendAccounts, profileImageUrl, connectorId, connectorName: connectorNameProp, connectorIconUrl: connectorIconUrlProp, preferredTokens, onSelectWallet, onCopyAddress, onBuy, onBuyDisabledMessage, onBridgeDisabledMessage, onSendDisabledMessage, onDisconnect, disconnectLabel, termsUrl, termsLabel, privacyUrl, privacyLabel, open: propOpen, onOpenChange, showPortfolio, showOnePop, onePopSummary, onOnePopOpen, onOnePopSend, onOnePopClaim, onOnePopActivity, onePopGetTokenSlot, onePopLogoSrc, onePopHeroSrc, portfolioTitle, portfolioSections, showTotalAssets, totalAssetsLabel, sendTransaction, getTransactionReceipt, estimateGas, onOutlink, lpBalanceReader, stakingRewardsReader, bridgeTokens, bridgeHistory, getBridgeQuote, getBridgeToTokens, getBridgeApproval, approveBridge, submitBridge, onReceive, onBridge, onSend, style, children, }: WalletInfoProps): react_jsx_runtime.JSX.Element;
1304
+ declare function WalletInfoRoot({ env, theme, mobileBreakpoint, drawerDirection, modal, showBalance, showForgeToken, showGameToken, showQR, showBridge, qrLogoSrc, walletAddress, accountName, sendAccounts, profileImageUrl, connectorId, connectorName: connectorNameProp, connectorIconUrl: connectorIconUrlProp, preferredTokens, onSelectWallet, onCopyAddress, onBuy, onBuyDisabledMessage, onBridgeDisabledMessage, onSendDisabledMessage, onDisconnect, disconnectLabel, termsUrl, termsLabel, privacyUrl, privacyLabel, open: propOpen, onOpenChange, showPortfolio, showOnePop, onePopSummary, onOnePopOpen, onOnePopSend, onOnePopClaim, onOnePopActivity, onOnePopRepliesSeen, onePopGetTokenSlot, onePopLogoSrc, onePopHeroSrc, portfolioTitle, portfolioSections, showTotalAssets, totalAssetsLabel, sendTransaction, getTransactionReceipt, estimateGas, onOutlink, lpBalanceReader, stakingRewardsReader, bridgeTokens, bridgeHistory, getBridgeQuote, getBridgeToTokens, getBridgeApproval, approveBridge, submitBridge, onReceive, onBridge, onSend, style, children, }: WalletInfoProps): react_jsx_runtime.JSX.Element;
1291
1305
  declare const WalletInfo: typeof WalletInfoRoot & {
1292
1306
  Trigger: typeof WalletInfoTrigger;
1293
1307
  Content: typeof WalletInfoContent;