@embarkai/ui-kit 0.4.70 → 0.4.71

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.
@@ -15,7 +15,7 @@
15
15
  <meta http-equiv="X-Content-Type-Options" content="nosniff" />
16
16
  <meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
17
17
 
18
- <title>EmbarkAI Secure Wallet - iframe version 0.4.70</title>
18
+ <title>EmbarkAI Secure Wallet - iframe version 0.4.71</title>
19
19
 
20
20
  <!-- Styles will be injected by build process -->
21
21
  <style>
@@ -6414,7 +6414,7 @@ var SigningManager = class extends TokenRefreshApiClient {
6414
6414
  };
6415
6415
 
6416
6416
  // src/iframe/main.ts
6417
- var IFRAME_VERSION = "0.4.70";
6417
+ var IFRAME_VERSION = "0.4.71";
6418
6418
  var IframeWallet = class {
6419
6419
  constructor() {
6420
6420
  __publicField(this, "messenger");
package/dist/index.cjs CHANGED
@@ -8560,8 +8560,9 @@ function OnboardingOverlay() {
8560
8560
  const page = useLayoutDataStore((st) => st.page);
8561
8561
  const isOnboarding = useLayoutDataStore((st) => st.isOnboarding);
8562
8562
  const isMobileView = useLayoutStore((st) => st.isMobileView);
8563
+ const colorMode = useLayoutStore((st) => st.colorMode);
8563
8564
  const { elRect, tooltip } = useOnboardingStore();
8564
- const [mountIntoNode, setMountIntoNode] = (0, import_react20.useState)(null);
8565
+ const [mountIntoNode, setMountIntoNode] = (0, import_react20.useState)(document.body);
8565
8566
  const lastPageRef = (0, import_react20.useRef)(null);
8566
8567
  (0, import_react20.useEffect)(() => {
8567
8568
  if (lastPageRef.current === page) return;
@@ -8594,17 +8595,15 @@ function OnboardingOverlay() {
8594
8595
  "div",
8595
8596
  {
8596
8597
  "data-description": "onboarding-overlay",
8597
- "data-aria-hidden": isOnboarding ? false : true,
8598
8598
  "aria-hidden": isOnboarding ? false : true,
8599
+ "data-aria-hidden": isOnboarding ? false : true,
8600
+ "data-current-theme-mode": colorMode,
8599
8601
  style: { zIndex: isOnboarding ? 1e4 : -9999 },
8600
- onClick: (e) => e.stopPropagation(),
8601
8602
  className: cn(
8602
- //
8603
- "overflow-hidden",
8604
- "pointer-events-auto",
8603
+ "embarkai-ui-scope",
8604
+ "overflow-hidden pointer-events-auto",
8605
8605
  "fixed left-0 top-0",
8606
- isOnboarding ? "w-[100dvw] h-[100dvh]" : "w-0 h-0",
8607
- { "embarkai-ui-scope": !page }
8606
+ isOnboarding ? "w-[100dvw] h-[100dvh]" : "w-0 h-0"
8608
8607
  ),
8609
8608
  children: [
8610
8609
  /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
@@ -8643,16 +8642,17 @@ function OnboardingOverlay() {
8643
8642
  "div",
8644
8643
  {
8645
8644
  className: cn(
8646
- "absolute flex flex-col gap-1",
8647
- "text-center text-sm text-[var(--ui-kit-success)]",
8648
- "bg-[var(--ui-kit-bg-success)] p-[var(--ui-kit-pd)] "
8645
+ "absolute flex flex-col gap-1 p-[var(--ui-kit-pd)]",
8646
+ "text-center text-sm",
8647
+ "text-[var(--ui-kit-success)] bg-[var(--ui-kit-bg-success)]",
8648
+ ""
8649
8649
  ),
8650
8650
  style: {
8651
8651
  transition: "top 0.3s ease",
8652
8652
  width: tt.width,
8653
8653
  top: tt.y,
8654
8654
  left: tt.x,
8655
- borderRadius: isMobileView ? "var(--ui-kit-bdrs)" : " 0 0 var(--ui-kit-bdrs) var(--ui-kit-bdrs)"
8655
+ borderRadius: isMobileView ? "var(--ui-kit-bdrs)" : "0 0 var(--ui-kit-bdrs) var(--ui-kit-bdrs)"
8656
8656
  },
8657
8657
  children: [
8658
8658
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: " font-bold", children: tooltip.title }),
@@ -8666,7 +8666,7 @@ function OnboardingOverlay() {
8666
8666
  onClick: () => onboarder.next(),
8667
8667
  children: [
8668
8668
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react9.ChevronRightIcon, { className: "h-4 w-4" }),
8669
- t("passport:common.continue")
8669
+ String(t("passport:common.continue")).toUpperCase()
8670
8670
  ]
8671
8671
  }
8672
8672
  )
@@ -9750,9 +9750,6 @@ var init_components = __esm({
9750
9750
  });
9751
9751
 
9752
9752
  // src/internal/components/BuyMenu/onboarding.setup.ts
9753
- function getBinanceOnboardingTour(preSteps = []) {
9754
- return [...preSteps, ...BUY_MENU_BINANCE_TOUR];
9755
- }
9756
9753
  var BUY_MENU_BINANCE_TOUR;
9757
9754
  var init_onboarding_setup = __esm({
9758
9755
  "src/internal/components/BuyMenu/onboarding.setup.ts"() {
@@ -24987,7 +24984,7 @@ var init_package = __esm({
24987
24984
  "package.json"() {
24988
24985
  package_default = {
24989
24986
  name: "@embarkai/ui-kit",
24990
- version: "0.4.70",
24987
+ version: "0.4.71",
24991
24988
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
24992
24989
  type: "module",
24993
24990
  main: "./dist/index.cjs",
@@ -28973,6 +28970,7 @@ var index_exports = {};
28973
28970
  __export(index_exports, {
28974
28971
  AccountAbstractionError: () => AccountAbstractionError,
28975
28972
  Address: () => Address,
28973
+ BUY_MENU_BINANCE_TOUR: () => BUY_MENU_BINANCE_TOUR,
28976
28974
  ConnectWalletButton: () => ConnectWalletButton,
28977
28975
  ErrorCodes: () => ErrorCodes,
28978
28976
  Hash: () => Hash,
@@ -29001,7 +28999,6 @@ __export(index_exports, {
29001
28999
  getAllSmartAccounts: () => getAllSmartAccounts,
29002
29000
  getAssetRate: () => getAssetRate,
29003
29001
  getAvailableLanguages: () => getAvailableLanguages,
29004
- getBinanceOnboardingTour: () => getBinanceOnboardingTour,
29005
29002
  getExplorerUrl: () => getExplorerUrl,
29006
29003
  getIframeManager: () => getIframeManager,
29007
29004
  getInProgressOnrampTransactionsList: () => getInProgressOnrampTransactionsList,
@@ -30656,6 +30653,7 @@ autorun();
30656
30653
  0 && (module.exports = {
30657
30654
  AccountAbstractionError,
30658
30655
  Address,
30656
+ BUY_MENU_BINANCE_TOUR,
30659
30657
  ConnectWalletButton,
30660
30658
  ErrorCodes,
30661
30659
  Hash,
@@ -30684,7 +30682,6 @@ autorun();
30684
30682
  getAllSmartAccounts,
30685
30683
  getAssetRate,
30686
30684
  getAvailableLanguages,
30687
- getBinanceOnboardingTour,
30688
30685
  getExplorerUrl,
30689
30686
  getIframeManager,
30690
30687
  getInProgressOnrampTransactionsList,
package/dist/index.d.cts CHANGED
@@ -2374,7 +2374,7 @@ declare function getInProgressOnrampTransactionsList(params: GetTransactionsList
2374
2374
  inProgressTXs: (BinanceTransaction | FinchpayTransaction)[];
2375
2375
  }>;
2376
2376
 
2377
- declare function getBinanceOnboardingTour(preSteps?: TourStep[]): TourStep[];
2377
+ declare const BUY_MENU_BINANCE_TOUR: TourStep[];
2378
2378
 
2379
2379
  declare const NETWORKS_ICONS: Record<number, FC<SVGProps<SVGSVGElement>>>;
2380
2380
 
@@ -3431,4 +3431,4 @@ declare function getLanguageIcon(languageKey: string): string | null;
3431
3431
 
3432
3432
  declare const USER_PROFILE_QUERY_KEY: string;
3433
3433
 
3434
- 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, SessionExpiredError, 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, checkWrapedTokenSymbol, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAssetRate, getAvailableLanguages, getBinanceOnboardingTour, getExplorerUrl, getIframeManager, getInProgressOnrampTransactionsList, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, isSessionExpiredError, looksLikeNickname, onboarder, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssetUsdtRate, 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 };
3434
+ export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, BUY_MENU_BINANCE_TOUR, 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, SessionExpiredError, 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, checkWrapedTokenSymbol, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAssetRate, getAvailableLanguages, getExplorerUrl, getIframeManager, getInProgressOnrampTransactionsList, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, isSessionExpiredError, looksLikeNickname, onboarder, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssetUsdtRate, 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
@@ -2374,7 +2374,7 @@ declare function getInProgressOnrampTransactionsList(params: GetTransactionsList
2374
2374
  inProgressTXs: (BinanceTransaction | FinchpayTransaction)[];
2375
2375
  }>;
2376
2376
 
2377
- declare function getBinanceOnboardingTour(preSteps?: TourStep[]): TourStep[];
2377
+ declare const BUY_MENU_BINANCE_TOUR: TourStep[];
2378
2378
 
2379
2379
  declare const NETWORKS_ICONS: Record<number, FC<SVGProps<SVGSVGElement>>>;
2380
2380
 
@@ -3431,4 +3431,4 @@ declare function getLanguageIcon(languageKey: string): string | null;
3431
3431
 
3432
3432
  declare const USER_PROFILE_QUERY_KEY: string;
3433
3433
 
3434
- 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, SessionExpiredError, 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, checkWrapedTokenSymbol, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAssetRate, getAvailableLanguages, getBinanceOnboardingTour, getExplorerUrl, getIframeManager, getInProgressOnrampTransactionsList, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, isSessionExpiredError, looksLikeNickname, onboarder, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssetUsdtRate, 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 };
3434
+ export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, BUY_MENU_BINANCE_TOUR, 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, SessionExpiredError, 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, checkWrapedTokenSymbol, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAssetRate, getAvailableLanguages, getExplorerUrl, getIframeManager, getInProgressOnrampTransactionsList, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, isSessionExpiredError, looksLikeNickname, onboarder, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssetUsdtRate, 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.js CHANGED
@@ -8535,8 +8535,9 @@ function OnboardingOverlay() {
8535
8535
  const page = useLayoutDataStore((st) => st.page);
8536
8536
  const isOnboarding = useLayoutDataStore((st) => st.isOnboarding);
8537
8537
  const isMobileView = useLayoutStore((st) => st.isMobileView);
8538
+ const colorMode = useLayoutStore((st) => st.colorMode);
8538
8539
  const { elRect, tooltip } = useOnboardingStore();
8539
- const [mountIntoNode, setMountIntoNode] = useState5(null);
8540
+ const [mountIntoNode, setMountIntoNode] = useState5(document.body);
8540
8541
  const lastPageRef = useRef9(null);
8541
8542
  useEffect12(() => {
8542
8543
  if (lastPageRef.current === page) return;
@@ -8569,17 +8570,15 @@ function OnboardingOverlay() {
8569
8570
  "div",
8570
8571
  {
8571
8572
  "data-description": "onboarding-overlay",
8572
- "data-aria-hidden": isOnboarding ? false : true,
8573
8573
  "aria-hidden": isOnboarding ? false : true,
8574
+ "data-aria-hidden": isOnboarding ? false : true,
8575
+ "data-current-theme-mode": colorMode,
8574
8576
  style: { zIndex: isOnboarding ? 1e4 : -9999 },
8575
- onClick: (e) => e.stopPropagation(),
8576
8577
  className: cn(
8577
- //
8578
- "overflow-hidden",
8579
- "pointer-events-auto",
8578
+ "embarkai-ui-scope",
8579
+ "overflow-hidden pointer-events-auto",
8580
8580
  "fixed left-0 top-0",
8581
- isOnboarding ? "w-[100dvw] h-[100dvh]" : "w-0 h-0",
8582
- { "embarkai-ui-scope": !page }
8581
+ isOnboarding ? "w-[100dvw] h-[100dvh]" : "w-0 h-0"
8583
8582
  ),
8584
8583
  children: [
8585
8584
  /* @__PURE__ */ jsxs17(
@@ -8618,16 +8617,17 @@ function OnboardingOverlay() {
8618
8617
  "div",
8619
8618
  {
8620
8619
  className: cn(
8621
- "absolute flex flex-col gap-1",
8622
- "text-center text-sm text-[var(--ui-kit-success)]",
8623
- "bg-[var(--ui-kit-bg-success)] p-[var(--ui-kit-pd)] "
8620
+ "absolute flex flex-col gap-1 p-[var(--ui-kit-pd)]",
8621
+ "text-center text-sm",
8622
+ "text-[var(--ui-kit-success)] bg-[var(--ui-kit-bg-success)]",
8623
+ ""
8624
8624
  ),
8625
8625
  style: {
8626
8626
  transition: "top 0.3s ease",
8627
8627
  width: tt.width,
8628
8628
  top: tt.y,
8629
8629
  left: tt.x,
8630
- borderRadius: isMobileView ? "var(--ui-kit-bdrs)" : " 0 0 var(--ui-kit-bdrs) var(--ui-kit-bdrs)"
8630
+ borderRadius: isMobileView ? "var(--ui-kit-bdrs)" : "0 0 var(--ui-kit-bdrs) var(--ui-kit-bdrs)"
8631
8631
  },
8632
8632
  children: [
8633
8633
  /* @__PURE__ */ jsx21("p", { className: " font-bold", children: tooltip.title }),
@@ -8641,7 +8641,7 @@ function OnboardingOverlay() {
8641
8641
  onClick: () => onboarder.next(),
8642
8642
  children: [
8643
8643
  /* @__PURE__ */ jsx21(ChevronRightIcon, { className: "h-4 w-4" }),
8644
- t("passport:common.continue")
8644
+ String(t("passport:common.continue")).toUpperCase()
8645
8645
  ]
8646
8646
  }
8647
8647
  )
@@ -9716,9 +9716,6 @@ var init_components = __esm({
9716
9716
  });
9717
9717
 
9718
9718
  // src/internal/components/BuyMenu/onboarding.setup.ts
9719
- function getBinanceOnboardingTour(preSteps = []) {
9720
- return [...preSteps, ...BUY_MENU_BINANCE_TOUR];
9721
- }
9722
9719
  var BUY_MENU_BINANCE_TOUR;
9723
9720
  var init_onboarding_setup = __esm({
9724
9721
  "src/internal/components/BuyMenu/onboarding.setup.ts"() {
@@ -24894,7 +24891,7 @@ var init_package = __esm({
24894
24891
  "package.json"() {
24895
24892
  package_default = {
24896
24893
  name: "@embarkai/ui-kit",
24897
- version: "0.4.70",
24894
+ version: "0.4.71",
24898
24895
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
24899
24896
  type: "module",
24900
24897
  main: "./dist/index.cjs",
@@ -30491,6 +30488,7 @@ autorun();
30491
30488
  export {
30492
30489
  AccountAbstractionError,
30493
30490
  Address,
30491
+ BUY_MENU_BINANCE_TOUR,
30494
30492
  ConnectWalletButton,
30495
30493
  ErrorCodes,
30496
30494
  Hash,
@@ -30519,7 +30517,6 @@ export {
30519
30517
  getAllSmartAccounts,
30520
30518
  getAssetRate,
30521
30519
  getAvailableLanguages,
30522
- getBinanceOnboardingTour,
30523
30520
  getExplorerUrl,
30524
30521
  getIframeManager,
30525
30522
  getInProgressOnrampTransactionsList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embarkai/ui-kit",
3
- "version": "0.4.70",
3
+ "version": "0.4.71",
4
4
  "description": "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",