@embarkai/ui-kit 0.4.49 → 0.4.51

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
@@ -1,7 +1,7 @@
1
1
  import { BatchOperation as BatchOperation$1 } from '@embarkai/core';
2
2
  export { wagmiConfig } from '@embarkai/core';
3
3
  import * as react from 'react';
4
- import react__default, { ReactNode, RefObject, FC, HTMLAttributes, ButtonHTMLAttributes } from 'react';
4
+ import react__default, { ReactNode, RefObject, FC, HTMLAttributes, ButtonHTMLAttributes, SVGProps } from 'react';
5
5
  import { BlockscoutTokenBalance } from '@embarkai/core/clients';
6
6
  import * as viem from 'viem';
7
7
  import { Address as Address$1, Hex, PublicClient, Chain, Hash as Hash$1, TransactionReceipt } from 'viem';
@@ -165,9 +165,7 @@ interface SocialProvider {
165
165
  id: string;
166
166
  name: string;
167
167
  enabled: boolean;
168
- icon: react__default.ComponentType<{
169
- className?: string;
170
- }>;
168
+ icon: react__default.FC<react__default.SVGProps<SVGSVGElement>>;
171
169
  comingSoon?: boolean;
172
170
  meta?: Record<string, any>;
173
171
  }
@@ -1827,9 +1825,7 @@ declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResul
1827
1825
 
1828
1826
  interface LinkedProfileDisplay extends AuthProvider {
1829
1827
  displayName: string;
1830
- icon?: React.ComponentType<{
1831
- className?: string;
1832
- }>;
1828
+ icon?: FC<SVGProps<SVGSVGElement>>;
1833
1829
  color?: string;
1834
1830
  }
1835
1831
  declare function useLinkedProfiles(): {
@@ -2236,6 +2232,12 @@ declare function useSmartAccountTransactions(): {
2236
2232
  }>;
2237
2233
  };
2238
2234
 
2235
+ declare const NETWORKS_ICONS: Record<number, FC<SVGProps<SVGSVGElement>>>;
2236
+
2237
+ declare const TOKENS_ICONS: Record<string, FC<SVGProps<SVGSVGElement>>>;
2238
+
2239
+ declare const WALLET_ICONS: Record<'default' | string, FC<SVGProps<SVGSVGElement>>>;
2240
+
2239
2241
  /**
2240
2242
  * Passport translations object.
2241
2243
  * Note: For use in combineI18NResources, translations are imported directly
@@ -2439,6 +2441,7 @@ declare const PASSPORT_TRANSLATIONS: {
2439
2441
  };
2440
2442
  noItems: {
2441
2443
  noTransactions: string;
2444
+ noFiat: string;
2442
2445
  noPaymentModes: string;
2443
2446
  noCryptoForChain: string;
2444
2447
  };
@@ -2768,6 +2771,7 @@ declare const PASSPORT_TRANSLATIONS: {
2768
2771
  };
2769
2772
  noItems: {
2770
2773
  noTransactions: string;
2774
+ noFiat: string;
2771
2775
  noPaymentModes: string;
2772
2776
  noCryptoForChain: string;
2773
2777
  };
@@ -3097,6 +3101,7 @@ declare const PASSPORT_TRANSLATIONS: {
3097
3101
  };
3098
3102
  noItems: {
3099
3103
  noTransactions: string;
3104
+ noFiat: string;
3100
3105
  noPaymentModes: string;
3101
3106
  noCryptoForChain: string;
3102
3107
  };
@@ -3264,4 +3269,4 @@ declare function getLanguageIcon(languageKey: string): string | null;
3264
3269
 
3265
3270
  declare const USER_PROFILE_QUERY_KEY: string;
3266
3271
 
3267
- export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type BatchOperation, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, type PrepareBatchUserOperationParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendBatchUserOperationParams, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, USER_PROFILE_QUERY_KEY, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserProfile, UserRejectedError, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useConnectedApps, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useKeyshareRecoveryStats, useLinkedProfiles, useLoadingStatus, useLogout, useNativeWalletSignature, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, waitForStoreHydration, waitForUserOperationReceipt };
3272
+ export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type BatchOperation, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, NETWORKS_ICONS, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, type PrepareBatchUserOperationParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendBatchUserOperationParams, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, TOKENS_ICONS, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, USER_PROFILE_QUERY_KEY, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserProfile, UserRejectedError, WALLET_ICONS, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useConnectedApps, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useKeyshareRecoveryStats, useLinkedProfiles, useLoadingStatus, useLogout, useNativeWalletSignature, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, waitForStoreHydration, waitForUserOperationReceipt };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { BatchOperation as BatchOperation$1 } from '@embarkai/core';
2
2
  export { wagmiConfig } from '@embarkai/core';
3
3
  import * as react from 'react';
4
- import react__default, { ReactNode, RefObject, FC, HTMLAttributes, ButtonHTMLAttributes } from 'react';
4
+ import react__default, { ReactNode, RefObject, FC, HTMLAttributes, ButtonHTMLAttributes, SVGProps } from 'react';
5
5
  import { BlockscoutTokenBalance } from '@embarkai/core/clients';
6
6
  import * as viem from 'viem';
7
7
  import { Address as Address$1, Hex, PublicClient, Chain, Hash as Hash$1, TransactionReceipt } from 'viem';
@@ -165,9 +165,7 @@ interface SocialProvider {
165
165
  id: string;
166
166
  name: string;
167
167
  enabled: boolean;
168
- icon: react__default.ComponentType<{
169
- className?: string;
170
- }>;
168
+ icon: react__default.FC<react__default.SVGProps<SVGSVGElement>>;
171
169
  comingSoon?: boolean;
172
170
  meta?: Record<string, any>;
173
171
  }
@@ -1827,9 +1825,7 @@ declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResul
1827
1825
 
1828
1826
  interface LinkedProfileDisplay extends AuthProvider {
1829
1827
  displayName: string;
1830
- icon?: React.ComponentType<{
1831
- className?: string;
1832
- }>;
1828
+ icon?: FC<SVGProps<SVGSVGElement>>;
1833
1829
  color?: string;
1834
1830
  }
1835
1831
  declare function useLinkedProfiles(): {
@@ -2236,6 +2232,12 @@ declare function useSmartAccountTransactions(): {
2236
2232
  }>;
2237
2233
  };
2238
2234
 
2235
+ declare const NETWORKS_ICONS: Record<number, FC<SVGProps<SVGSVGElement>>>;
2236
+
2237
+ declare const TOKENS_ICONS: Record<string, FC<SVGProps<SVGSVGElement>>>;
2238
+
2239
+ declare const WALLET_ICONS: Record<'default' | string, FC<SVGProps<SVGSVGElement>>>;
2240
+
2239
2241
  /**
2240
2242
  * Passport translations object.
2241
2243
  * Note: For use in combineI18NResources, translations are imported directly
@@ -2439,6 +2441,7 @@ declare const PASSPORT_TRANSLATIONS: {
2439
2441
  };
2440
2442
  noItems: {
2441
2443
  noTransactions: string;
2444
+ noFiat: string;
2442
2445
  noPaymentModes: string;
2443
2446
  noCryptoForChain: string;
2444
2447
  };
@@ -2768,6 +2771,7 @@ declare const PASSPORT_TRANSLATIONS: {
2768
2771
  };
2769
2772
  noItems: {
2770
2773
  noTransactions: string;
2774
+ noFiat: string;
2771
2775
  noPaymentModes: string;
2772
2776
  noCryptoForChain: string;
2773
2777
  };
@@ -3097,6 +3101,7 @@ declare const PASSPORT_TRANSLATIONS: {
3097
3101
  };
3098
3102
  noItems: {
3099
3103
  noTransactions: string;
3104
+ noFiat: string;
3100
3105
  noPaymentModes: string;
3101
3106
  noCryptoForChain: string;
3102
3107
  };
@@ -3264,4 +3269,4 @@ declare function getLanguageIcon(languageKey: string): string | null;
3264
3269
 
3265
3270
  declare const USER_PROFILE_QUERY_KEY: string;
3266
3271
 
3267
- export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type BatchOperation, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, type PrepareBatchUserOperationParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendBatchUserOperationParams, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, USER_PROFILE_QUERY_KEY, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserProfile, UserRejectedError, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useConnectedApps, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useKeyshareRecoveryStats, useLinkedProfiles, useLoadingStatus, useLogout, useNativeWalletSignature, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, waitForStoreHydration, waitForUserOperationReceipt };
3272
+ export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type BatchOperation, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, NETWORKS_ICONS, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, type PrepareBatchUserOperationParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendBatchUserOperationParams, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, TOKENS_ICONS, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, USER_PROFILE_QUERY_KEY, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserProfile, UserRejectedError, WALLET_ICONS, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useConnectedApps, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useKeyshareRecoveryStats, useLinkedProfiles, useLoadingStatus, useLogout, useNativeWalletSignature, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, waitForStoreHydration, waitForUserOperationReceipt };