@nexus-cross/dapp-ui 1.1.3-beta.1 → 1.1.3-beta.3

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
@@ -18,19 +18,26 @@ interface AppLauncherProps {
18
18
  }
19
19
  declare function AppLauncher({ env, theme, mobileBreakpoint, domain, children, }: AppLauncherProps): react_jsx_runtime.JSX.Element;
20
20
 
21
- interface AppLauncherTriggerProps {
22
- asChild?: boolean;
23
- children?: React.ReactNode;
24
- }
25
- declare function AppLauncherTrigger({ asChild, children, }: AppLauncherTriggerProps): react_jsx_runtime.JSX.Element;
26
-
27
- interface AppLauncherContentProps {
28
- align?: "start" | "center" | "end";
29
- sideOffset?: number;
30
- className?: string;
21
+ /**
22
+ * `AppLauncherTrigger`의 `style` prop 타입. 표준 `CSSProperties` 위에
23
+ * `--at-*` CSS 커스텀 변수 키를 추가해 자동완성을 지원한다.
24
+ *
25
+ * 사용 예: `style={{ "--at-color": "white", "--at-bg-hover": "rgba(255,255,255,0.1)" }}`
26
+ *
27
+ * 변수는 `.al-trigger-btn` 클래스에 cascading 되므로 자식 아이콘도
28
+ * `currentColor` 통해 같은 색을 따라간다.
29
+ */
30
+ interface AppLauncherTriggerStyle extends CSSProperties {
31
+ "--at-bg"?: string;
32
+ "--at-bg-hover"?: string;
33
+ "--at-color"?: string;
34
+ "--at-border"?: string;
35
+ "--at-border-radius"?: string;
36
+ "--at-size"?: string;
37
+ "--at-padding"?: string;
38
+ "--at-press-scale"?: string | number;
39
+ "--at-transition"?: string;
31
40
  }
32
- declare function AppLauncherContent({ align, sideOffset, className, }: AppLauncherContentProps): react_jsx_runtime.JSX.Element;
33
-
34
41
  interface GlobalMenuItemUrl {
35
42
  dev: string;
36
43
  stage: string;
@@ -52,6 +59,23 @@ interface GlobalMenu {
52
59
  items: GlobalMenuItem[];
53
60
  }
54
61
 
62
+ interface AppLauncherTriggerProps {
63
+ asChild?: boolean;
64
+ children?: React.ReactNode;
65
+ /** Additional CSS class merged with built-in `.al-trigger-btn` (default trigger only) */
66
+ className?: string;
67
+ /** Inline style + CSS custom property overrides (`AppLauncherTriggerStyle`) — default trigger only */
68
+ style?: AppLauncherTriggerStyle;
69
+ }
70
+ declare function AppLauncherTrigger({ asChild, children, className, style, }: AppLauncherTriggerProps): react_jsx_runtime.JSX.Element;
71
+
72
+ interface AppLauncherContentProps {
73
+ align?: "start" | "center" | "end";
74
+ sideOffset?: number;
75
+ className?: string;
76
+ }
77
+ declare function AppLauncherContent({ align, sideOffset, className, }: AppLauncherContentProps): react_jsx_runtime.JSX.Element;
78
+
55
79
  declare function useGlobalMenu(env?: Environment): _tanstack_react_query.UseQueryResult<GlobalMenu, Error>;
56
80
 
57
81
  /** CAIP-2 chain identifier (e.g. "eip155:612044") */
@@ -897,6 +921,52 @@ interface WalletDetectResult {
897
921
  }
898
922
  declare function useWalletDetect(): WalletDetectResult;
899
923
 
924
+ /**
925
+ * `ConnectButton`의 `style` prop 타입. 표준 `CSSProperties` 위에
926
+ * `--cb-*` CSS 커스텀 변수 키를 추가해 자동완성을 지원한다.
927
+ *
928
+ * 사용 예: `style={{ "--cb-bg": "#7346f3", "--cb-pill-bg": "#1a1a2e" }}`
929
+ *
930
+ * 변수는 ConnectButton 의 모든 상태(disconnected / connecting / connected
931
+ * pill)에 cascading 된다. WalletInfo popover 의 스타일은 별도
932
+ * `walletInfoStyle` prop 으로 분리되어 있다.
933
+ */
934
+ interface ConnectButtonStyle extends CSSProperties {
935
+ "--cb-bg"?: string;
936
+ "--cb-bg-hover"?: string;
937
+ "--cb-color"?: string;
938
+ "--cb-border"?: string;
939
+ "--cb-radius"?: string;
940
+ "--cb-height"?: string;
941
+ "--cb-padding"?: string;
942
+ "--cb-font-family"?: string;
943
+ "--cb-font-size"?: string;
944
+ "--cb-font-weight"?: string | number;
945
+ "--cb-gap"?: string;
946
+ "--cb-transition"?: string;
947
+ "--cb-loading-opacity"?: string | number;
948
+ "--cb-press-scale"?: string | number;
949
+ "--cb-spinner-size"?: string;
950
+ "--cb-spinner-thumb"?: string;
951
+ "--cb-spinner-track"?: string;
952
+ "--cb-pill-bg"?: string;
953
+ "--cb-pill-bg-hover"?: string;
954
+ "--cb-pill-color"?: string;
955
+ "--cb-pill-border"?: string;
956
+ "--cb-pill-radius"?: string;
957
+ "--cb-pill-height"?: string;
958
+ "--cb-pill-padding"?: string;
959
+ "--cb-pill-press-scale"?: string | number;
960
+ "--cb-pill-font-family"?: string;
961
+ "--cb-pill-font-size"?: string;
962
+ "--cb-pill-font-weight"?: string | number;
963
+ "--cb-pill-gap"?: string;
964
+ "--cb-pill-icon-size"?: string;
965
+ "--cb-pill-icon-placeholder-bg"?: string;
966
+ "--cb-pill-address-font"?: string;
967
+ "--cb-pill-address-font-size"?: string;
968
+ "--cb-pill-address-letter-spacing"?: string;
969
+ }
900
970
  /**
901
971
  * Resolved wallet provider — determines which icon + display name appears
902
972
  * in the connected pill.
@@ -950,11 +1020,21 @@ interface ConnectButtonProps {
950
1020
  disconnectLabel?: string;
951
1021
  /**
952
1022
  * 외부(호출부)에서 주입하는 className. disconnected / connecting /
953
- * connected(트리거 pill)에 공통으로 적용된다. 지정하면 기본 inline
954
- * 스타일이 비활성화되어 Tailwind 등 외부 스타일 시스템으로 완전히
955
- * 오버라이드할 수 있다.
1023
+ * connected(트리거 pill)에 공통으로 추가된다 (기본 `cb-button` /
1024
+ * `cb-pill` 클래스에 병합).
956
1025
  */
957
1026
  className?: string;
1027
+ /**
1028
+ * 버튼 자체(`disconnected` / `connecting` / `connected pill`)의
1029
+ * CSS 커스텀 변수 오버라이드. WalletInfo popover 스타일은 별도
1030
+ * `walletInfoStyle` 로 분리되어 있다.
1031
+ */
1032
+ style?: ConnectButtonStyle;
1033
+ /**
1034
+ * 트리거 pill 을 눌러 열리는 WalletInfo popover/drawer 의 CSS
1035
+ * 커스텀 변수 오버라이드 (`WalletInfoStyle`).
1036
+ */
1037
+ walletInfoStyle?: WalletInfoStyle;
958
1038
  theme?: Theme;
959
1039
  env?: Environment;
960
1040
  showBalance?: boolean;
@@ -962,7 +1042,6 @@ interface ConnectButtonProps {
962
1042
  drawerDirection?: DrawerDirection$1;
963
1043
  modal?: boolean;
964
1044
  connectorId?: ConnectorId;
965
- style?: WalletInfoStyle;
966
1045
  /** Send 페이지의 일반 토큰 전송에 사용할 외부 트랜잭션 전송 함수. */
967
1046
  sendTransaction?: SendTransactionFn;
968
1047
  getTransactionReceipt?: GetTransactionReceiptFn;
@@ -985,7 +1064,7 @@ interface ConnectButtonProps {
985
1064
  * 상태/데이터/콜백은 props로 주입받는다. 실제 wagmi 연결 로직은
986
1065
  * `@nexus-cross/connect-kit-react`의 상위 래퍼에서 수행한다.
987
1066
  */
988
- declare function ConnectButton({ isConnecting, address, provider, providerName, accountName, sendAccounts, onConnect, onDisconnect, onCopy, onSelectWallet, label, connectingLabel, disconnectLabel, className, theme, env, showBalance, showPortfolio, drawerDirection, modal, connectorId, style, sendTransaction, getTransactionReceipt, estimateGas, }: ConnectButtonProps): react_jsx_runtime.JSX.Element;
1067
+ declare function ConnectButton({ isConnecting, address, provider, providerName, accountName, sendAccounts, onConnect, onDisconnect, onCopy, onSelectWallet, label, connectingLabel, disconnectLabel, className, theme, env, showBalance, showPortfolio, drawerDirection, modal, connectorId, style, walletInfoStyle, sendTransaction, getTransactionReceipt, estimateGas, }: ConnectButtonProps): react_jsx_runtime.JSX.Element;
989
1068
 
990
1069
  /**
991
1070
  * Wallet provider icons used by `ConnectButton`. Ported from
@@ -1007,4 +1086,67 @@ declare const BINANCE_ICON: string;
1007
1086
  declare const GOOGLE_ICON: string;
1008
1087
  declare const APPLE_ICON: string;
1009
1088
 
1010
- export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, BINANCE_ICON, CONNECTOR_REGISTRY, CROSSX_ICON, type ChainId, ConnectButton, type ConnectButtonProps, ConnectorId, type ConnectorMeta, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, GOOGLE_ICON, type GasEstimate, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemUrl, METAMASK_ICON, type OnOutlink, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, type PreferredToken, type RecentSendAddress, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendPage, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn, type SocialConfig, type SocialHandlers, type SocialId, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, WALLET_REGISTRY, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, resolveEnvironment, useGlobalMenu, useTokenBalance, useTokenStats, useWalletDetect };
1089
+ /**
1090
+ * `SkillsButton`의 `style` prop 타입. 표준 `CSSProperties` 위에
1091
+ * `--sb-*` CSS 커스텀 변수 키를 추가해 자동완성을 지원한다.
1092
+ *
1093
+ * 사용 예: `style={{ "--sb-color": "white", "--sb-bg": "rgba(0,0,0,0.4)" }}`
1094
+ *
1095
+ * CSS 변수는 자식 요소(아이콘, 스피너)로 cascading 되므로, `--sb-color`
1096
+ * 하나만 바꿔도 텍스트·아이콘·스피너가 모두 같은 색을 따라간다.
1097
+ */
1098
+ interface SkillsButtonStyle extends CSSProperties {
1099
+ "--sb-bg"?: string;
1100
+ "--sb-border"?: string;
1101
+ "--sb-border-hover"?: string;
1102
+ "--sb-color"?: string;
1103
+ "--sb-color-hover"?: string;
1104
+ "--sb-radius"?: string;
1105
+ "--sb-height"?: string;
1106
+ "--sb-padding"?: string;
1107
+ "--sb-gap"?: string;
1108
+ "--sb-font-size"?: string;
1109
+ "--sb-font-weight"?: string | number;
1110
+ "--sb-line-height"?: string | number;
1111
+ "--sb-letter-spacing"?: string;
1112
+ "--sb-blur"?: string;
1113
+ "--sb-border-width"?: string;
1114
+ "--sb-icon-size"?: string;
1115
+ "--sb-icon-hover-rotation"?: string;
1116
+ "--sb-spinner-size"?: string;
1117
+ "--sb-spinner-thumb"?: string;
1118
+ "--sb-spinner-track"?: string;
1119
+ "--sb-disabled-opacity"?: string | number;
1120
+ "--sb-press-scale"?: string | number;
1121
+ "--sb-hover-duration"?: string;
1122
+ "--sb-icon-duration"?: string;
1123
+ "--sb-easing"?: string;
1124
+ }
1125
+ interface SkillsButtonProps {
1126
+ /** Button text label */
1127
+ label?: string;
1128
+ /** Skills service URL or path to navigate to */
1129
+ href?: string;
1130
+ /** Called when button is clicked (instead of navigation if provided) */
1131
+ onClick?: () => void | Promise<void>;
1132
+ /** Optional CSS class name (merged with built-in `.sb-button`) */
1133
+ className?: string;
1134
+ /** Inline style + CSS custom property overrides (`SkillsButtonStyle`) */
1135
+ style?: SkillsButtonStyle;
1136
+ /** Light/dark surface preset (sets `data-theme`). Defaults to no preset. */
1137
+ theme?: Theme;
1138
+ /** Disable the button */
1139
+ disabled?: boolean;
1140
+ /** Whether button is in loading state */
1141
+ isLoading?: boolean;
1142
+ /** Label shown while loading */
1143
+ loadingLabel?: string;
1144
+ /** Open link in new tab */
1145
+ openInNewTab?: boolean;
1146
+ /** Button type attribute */
1147
+ type?: "button" | "submit" | "reset";
1148
+ }
1149
+
1150
+ declare function SkillsButton({ label, href, onClick, className, style, theme, disabled, isLoading, loadingLabel, openInNewTab, type, }: SkillsButtonProps): react_jsx_runtime.JSX.Element;
1151
+
1152
+ export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, type AppLauncherTriggerStyle, BINANCE_ICON, CONNECTOR_REGISTRY, CROSSX_ICON, type ChainId, ConnectButton, type ConnectButtonProps, type ConnectButtonStyle, ConnectorId, type ConnectorMeta, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, GOOGLE_ICON, type GasEstimate, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemUrl, METAMASK_ICON, type OnOutlink, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, type PreferredToken, type RecentSendAddress, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendPage, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn, SkillsButton, type SkillsButtonProps, type SkillsButtonStyle, type SocialConfig, type SocialHandlers, type SocialId, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, WALLET_REGISTRY, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, resolveEnvironment, useGlobalMenu, useTokenBalance, useTokenStats, useWalletDetect };
package/dist/index.d.ts CHANGED
@@ -18,19 +18,26 @@ interface AppLauncherProps {
18
18
  }
19
19
  declare function AppLauncher({ env, theme, mobileBreakpoint, domain, children, }: AppLauncherProps): react_jsx_runtime.JSX.Element;
20
20
 
21
- interface AppLauncherTriggerProps {
22
- asChild?: boolean;
23
- children?: React.ReactNode;
24
- }
25
- declare function AppLauncherTrigger({ asChild, children, }: AppLauncherTriggerProps): react_jsx_runtime.JSX.Element;
26
-
27
- interface AppLauncherContentProps {
28
- align?: "start" | "center" | "end";
29
- sideOffset?: number;
30
- className?: string;
21
+ /**
22
+ * `AppLauncherTrigger`의 `style` prop 타입. 표준 `CSSProperties` 위에
23
+ * `--at-*` CSS 커스텀 변수 키를 추가해 자동완성을 지원한다.
24
+ *
25
+ * 사용 예: `style={{ "--at-color": "white", "--at-bg-hover": "rgba(255,255,255,0.1)" }}`
26
+ *
27
+ * 변수는 `.al-trigger-btn` 클래스에 cascading 되므로 자식 아이콘도
28
+ * `currentColor` 통해 같은 색을 따라간다.
29
+ */
30
+ interface AppLauncherTriggerStyle extends CSSProperties {
31
+ "--at-bg"?: string;
32
+ "--at-bg-hover"?: string;
33
+ "--at-color"?: string;
34
+ "--at-border"?: string;
35
+ "--at-border-radius"?: string;
36
+ "--at-size"?: string;
37
+ "--at-padding"?: string;
38
+ "--at-press-scale"?: string | number;
39
+ "--at-transition"?: string;
31
40
  }
32
- declare function AppLauncherContent({ align, sideOffset, className, }: AppLauncherContentProps): react_jsx_runtime.JSX.Element;
33
-
34
41
  interface GlobalMenuItemUrl {
35
42
  dev: string;
36
43
  stage: string;
@@ -52,6 +59,23 @@ interface GlobalMenu {
52
59
  items: GlobalMenuItem[];
53
60
  }
54
61
 
62
+ interface AppLauncherTriggerProps {
63
+ asChild?: boolean;
64
+ children?: React.ReactNode;
65
+ /** Additional CSS class merged with built-in `.al-trigger-btn` (default trigger only) */
66
+ className?: string;
67
+ /** Inline style + CSS custom property overrides (`AppLauncherTriggerStyle`) — default trigger only */
68
+ style?: AppLauncherTriggerStyle;
69
+ }
70
+ declare function AppLauncherTrigger({ asChild, children, className, style, }: AppLauncherTriggerProps): react_jsx_runtime.JSX.Element;
71
+
72
+ interface AppLauncherContentProps {
73
+ align?: "start" | "center" | "end";
74
+ sideOffset?: number;
75
+ className?: string;
76
+ }
77
+ declare function AppLauncherContent({ align, sideOffset, className, }: AppLauncherContentProps): react_jsx_runtime.JSX.Element;
78
+
55
79
  declare function useGlobalMenu(env?: Environment): _tanstack_react_query.UseQueryResult<GlobalMenu, Error>;
56
80
 
57
81
  /** CAIP-2 chain identifier (e.g. "eip155:612044") */
@@ -897,6 +921,52 @@ interface WalletDetectResult {
897
921
  }
898
922
  declare function useWalletDetect(): WalletDetectResult;
899
923
 
924
+ /**
925
+ * `ConnectButton`의 `style` prop 타입. 표준 `CSSProperties` 위에
926
+ * `--cb-*` CSS 커스텀 변수 키를 추가해 자동완성을 지원한다.
927
+ *
928
+ * 사용 예: `style={{ "--cb-bg": "#7346f3", "--cb-pill-bg": "#1a1a2e" }}`
929
+ *
930
+ * 변수는 ConnectButton 의 모든 상태(disconnected / connecting / connected
931
+ * pill)에 cascading 된다. WalletInfo popover 의 스타일은 별도
932
+ * `walletInfoStyle` prop 으로 분리되어 있다.
933
+ */
934
+ interface ConnectButtonStyle extends CSSProperties {
935
+ "--cb-bg"?: string;
936
+ "--cb-bg-hover"?: string;
937
+ "--cb-color"?: string;
938
+ "--cb-border"?: string;
939
+ "--cb-radius"?: string;
940
+ "--cb-height"?: string;
941
+ "--cb-padding"?: string;
942
+ "--cb-font-family"?: string;
943
+ "--cb-font-size"?: string;
944
+ "--cb-font-weight"?: string | number;
945
+ "--cb-gap"?: string;
946
+ "--cb-transition"?: string;
947
+ "--cb-loading-opacity"?: string | number;
948
+ "--cb-press-scale"?: string | number;
949
+ "--cb-spinner-size"?: string;
950
+ "--cb-spinner-thumb"?: string;
951
+ "--cb-spinner-track"?: string;
952
+ "--cb-pill-bg"?: string;
953
+ "--cb-pill-bg-hover"?: string;
954
+ "--cb-pill-color"?: string;
955
+ "--cb-pill-border"?: string;
956
+ "--cb-pill-radius"?: string;
957
+ "--cb-pill-height"?: string;
958
+ "--cb-pill-padding"?: string;
959
+ "--cb-pill-press-scale"?: string | number;
960
+ "--cb-pill-font-family"?: string;
961
+ "--cb-pill-font-size"?: string;
962
+ "--cb-pill-font-weight"?: string | number;
963
+ "--cb-pill-gap"?: string;
964
+ "--cb-pill-icon-size"?: string;
965
+ "--cb-pill-icon-placeholder-bg"?: string;
966
+ "--cb-pill-address-font"?: string;
967
+ "--cb-pill-address-font-size"?: string;
968
+ "--cb-pill-address-letter-spacing"?: string;
969
+ }
900
970
  /**
901
971
  * Resolved wallet provider — determines which icon + display name appears
902
972
  * in the connected pill.
@@ -950,11 +1020,21 @@ interface ConnectButtonProps {
950
1020
  disconnectLabel?: string;
951
1021
  /**
952
1022
  * 외부(호출부)에서 주입하는 className. disconnected / connecting /
953
- * connected(트리거 pill)에 공통으로 적용된다. 지정하면 기본 inline
954
- * 스타일이 비활성화되어 Tailwind 등 외부 스타일 시스템으로 완전히
955
- * 오버라이드할 수 있다.
1023
+ * connected(트리거 pill)에 공통으로 추가된다 (기본 `cb-button` /
1024
+ * `cb-pill` 클래스에 병합).
956
1025
  */
957
1026
  className?: string;
1027
+ /**
1028
+ * 버튼 자체(`disconnected` / `connecting` / `connected pill`)의
1029
+ * CSS 커스텀 변수 오버라이드. WalletInfo popover 스타일은 별도
1030
+ * `walletInfoStyle` 로 분리되어 있다.
1031
+ */
1032
+ style?: ConnectButtonStyle;
1033
+ /**
1034
+ * 트리거 pill 을 눌러 열리는 WalletInfo popover/drawer 의 CSS
1035
+ * 커스텀 변수 오버라이드 (`WalletInfoStyle`).
1036
+ */
1037
+ walletInfoStyle?: WalletInfoStyle;
958
1038
  theme?: Theme;
959
1039
  env?: Environment;
960
1040
  showBalance?: boolean;
@@ -962,7 +1042,6 @@ interface ConnectButtonProps {
962
1042
  drawerDirection?: DrawerDirection$1;
963
1043
  modal?: boolean;
964
1044
  connectorId?: ConnectorId;
965
- style?: WalletInfoStyle;
966
1045
  /** Send 페이지의 일반 토큰 전송에 사용할 외부 트랜잭션 전송 함수. */
967
1046
  sendTransaction?: SendTransactionFn;
968
1047
  getTransactionReceipt?: GetTransactionReceiptFn;
@@ -985,7 +1064,7 @@ interface ConnectButtonProps {
985
1064
  * 상태/데이터/콜백은 props로 주입받는다. 실제 wagmi 연결 로직은
986
1065
  * `@nexus-cross/connect-kit-react`의 상위 래퍼에서 수행한다.
987
1066
  */
988
- declare function ConnectButton({ isConnecting, address, provider, providerName, accountName, sendAccounts, onConnect, onDisconnect, onCopy, onSelectWallet, label, connectingLabel, disconnectLabel, className, theme, env, showBalance, showPortfolio, drawerDirection, modal, connectorId, style, sendTransaction, getTransactionReceipt, estimateGas, }: ConnectButtonProps): react_jsx_runtime.JSX.Element;
1067
+ declare function ConnectButton({ isConnecting, address, provider, providerName, accountName, sendAccounts, onConnect, onDisconnect, onCopy, onSelectWallet, label, connectingLabel, disconnectLabel, className, theme, env, showBalance, showPortfolio, drawerDirection, modal, connectorId, style, walletInfoStyle, sendTransaction, getTransactionReceipt, estimateGas, }: ConnectButtonProps): react_jsx_runtime.JSX.Element;
989
1068
 
990
1069
  /**
991
1070
  * Wallet provider icons used by `ConnectButton`. Ported from
@@ -1007,4 +1086,67 @@ declare const BINANCE_ICON: string;
1007
1086
  declare const GOOGLE_ICON: string;
1008
1087
  declare const APPLE_ICON: string;
1009
1088
 
1010
- export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, BINANCE_ICON, CONNECTOR_REGISTRY, CROSSX_ICON, type ChainId, ConnectButton, type ConnectButtonProps, ConnectorId, type ConnectorMeta, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, GOOGLE_ICON, type GasEstimate, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemUrl, METAMASK_ICON, type OnOutlink, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, type PreferredToken, type RecentSendAddress, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendPage, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn, type SocialConfig, type SocialHandlers, type SocialId, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, WALLET_REGISTRY, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, resolveEnvironment, useGlobalMenu, useTokenBalance, useTokenStats, useWalletDetect };
1089
+ /**
1090
+ * `SkillsButton`의 `style` prop 타입. 표준 `CSSProperties` 위에
1091
+ * `--sb-*` CSS 커스텀 변수 키를 추가해 자동완성을 지원한다.
1092
+ *
1093
+ * 사용 예: `style={{ "--sb-color": "white", "--sb-bg": "rgba(0,0,0,0.4)" }}`
1094
+ *
1095
+ * CSS 변수는 자식 요소(아이콘, 스피너)로 cascading 되므로, `--sb-color`
1096
+ * 하나만 바꿔도 텍스트·아이콘·스피너가 모두 같은 색을 따라간다.
1097
+ */
1098
+ interface SkillsButtonStyle extends CSSProperties {
1099
+ "--sb-bg"?: string;
1100
+ "--sb-border"?: string;
1101
+ "--sb-border-hover"?: string;
1102
+ "--sb-color"?: string;
1103
+ "--sb-color-hover"?: string;
1104
+ "--sb-radius"?: string;
1105
+ "--sb-height"?: string;
1106
+ "--sb-padding"?: string;
1107
+ "--sb-gap"?: string;
1108
+ "--sb-font-size"?: string;
1109
+ "--sb-font-weight"?: string | number;
1110
+ "--sb-line-height"?: string | number;
1111
+ "--sb-letter-spacing"?: string;
1112
+ "--sb-blur"?: string;
1113
+ "--sb-border-width"?: string;
1114
+ "--sb-icon-size"?: string;
1115
+ "--sb-icon-hover-rotation"?: string;
1116
+ "--sb-spinner-size"?: string;
1117
+ "--sb-spinner-thumb"?: string;
1118
+ "--sb-spinner-track"?: string;
1119
+ "--sb-disabled-opacity"?: string | number;
1120
+ "--sb-press-scale"?: string | number;
1121
+ "--sb-hover-duration"?: string;
1122
+ "--sb-icon-duration"?: string;
1123
+ "--sb-easing"?: string;
1124
+ }
1125
+ interface SkillsButtonProps {
1126
+ /** Button text label */
1127
+ label?: string;
1128
+ /** Skills service URL or path to navigate to */
1129
+ href?: string;
1130
+ /** Called when button is clicked (instead of navigation if provided) */
1131
+ onClick?: () => void | Promise<void>;
1132
+ /** Optional CSS class name (merged with built-in `.sb-button`) */
1133
+ className?: string;
1134
+ /** Inline style + CSS custom property overrides (`SkillsButtonStyle`) */
1135
+ style?: SkillsButtonStyle;
1136
+ /** Light/dark surface preset (sets `data-theme`). Defaults to no preset. */
1137
+ theme?: Theme;
1138
+ /** Disable the button */
1139
+ disabled?: boolean;
1140
+ /** Whether button is in loading state */
1141
+ isLoading?: boolean;
1142
+ /** Label shown while loading */
1143
+ loadingLabel?: string;
1144
+ /** Open link in new tab */
1145
+ openInNewTab?: boolean;
1146
+ /** Button type attribute */
1147
+ type?: "button" | "submit" | "reset";
1148
+ }
1149
+
1150
+ declare function SkillsButton({ label, href, onClick, className, style, theme, disabled, isLoading, loadingLabel, openInNewTab, type, }: SkillsButtonProps): react_jsx_runtime.JSX.Element;
1151
+
1152
+ export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, type AppLauncherTriggerStyle, BINANCE_ICON, CONNECTOR_REGISTRY, CROSSX_ICON, type ChainId, ConnectButton, type ConnectButtonProps, type ConnectButtonStyle, ConnectorId, type ConnectorMeta, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, GOOGLE_ICON, type GasEstimate, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemUrl, METAMASK_ICON, type OnOutlink, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, type PreferredToken, type RecentSendAddress, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendPage, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn, SkillsButton, type SkillsButtonProps, type SkillsButtonStyle, type SocialConfig, type SocialHandlers, type SocialId, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, WALLET_REGISTRY, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, resolveEnvironment, useGlobalMenu, useTokenBalance, useTokenStats, useWalletDetect };