UNPKG

@pushchain/ui-kit

Version:

Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.

86 lines (85 loc) 2.96 kB
import { ConnectionStatus } from '../types'; export declare const PushUI: { CONSTANTS: { PUSH_NETWORK: typeof import("@pushchain/core/src/lib/constants/enums").PUSH_NETWORK; CHAIN: { PUSH: string; ETHEREUM: string; SOLANA: string; BASE: string; ARBITRUM: string; BINANCE: string; WALLET_CONNECT: string; }; THEME: { LIGHT: string; DARK: string; }; LOGIN: { LAYOUT: { SPLIT: string; SIMPLE: string; }; }; CONNECTED: { LAYOUT: { FULL: string; HOVER: string; }; INTERACTION: { INTERACTIVE: string; BLUR: string; }; }; CONNECTION: { STATUS: typeof ConnectionStatus; }; CHAIN_CONFIG: typeof import("@pushchain/core/src/lib/constants/enums").CHAIN; TOAST: { POSITION: { readonly TOP_LEFT: "top-left"; readonly TOP_MIDDLE: "top-middle"; readonly TOP_RIGHT: "top-right"; readonly BOTTOM_LEFT: "bottom-left"; readonly BOTTOM_MIDDLE: "bottom-middle"; readonly BOTTOM_RIGHT: "bottom-right"; }; }; }; }; export declare enum WALLET_TO_APP_ACTION { CONNECT_EXTERNAL_WALLET = "connectWallet", CONNECT_SOCIAL = "connectSocial", APP_CONNECTION_SUCCESS = "appConnectionSuccess", APP_CONNECTION_REJECTED = "appConnectionRejected", APP_CONNECTION_CANCELLED = "appConnectionCancelled", IS_LOGGED_IN = "isLoggedIn", IS_LOGGED_OUT = "loggedOut", SIGN_MESSAGE = "signatureMessage", SIGN_TRANSACTION = "signatureTransaction", SIGN_TYPED_DATA = "signatureTypedData", ERROR = "error", PUSH_SEND_TRANSACTION = "pushSendTransaction", CLOSE_IFRAME = "closeIFrame", UPGRADE_ACCOUNT_REQUEST = "upgradeAccountRequest", UPGRADE_ACCOUNT_SUCCESS = "upgradeAccountSuccess", UPGRADE_ACCOUNT_ERROR = "upgradeAccountError" } export declare enum APP_TO_WALLET_ACTION { NEW_CONNECTION_REQUEST = "newConnectionRequest", SIGN_MESSAGE = "signMessage", SIGN_TRANSACTION = "signTransaction", SIGN_TYPED_DATA = "signTypedData", ERROR = "error", LOG_OUT = "logOut", CONNECTION_STATUS = "connectionStatus", SOCIAL_CONNECTION_STATUS = "socialConnectionStatus", WALLET_CONFIG = "walletConfig", PUSH_SEND_TRANSACTION_RESPONSE = "pushSendTransactionResponse", READ_ONLY_CONNECTION_STATUS = "readOnlyConnectionStatus", RECONNECT_WALLET = "ReconnectWallet", SHOW_UPGRADE_DRAWER = "showUpgradeDrawer", UPGRADE_ACCOUNT_RESPONSE = "upgradeAccountResponse" } export declare const CHAIN_LOGO: Record<string, React.FC | React.ComponentType>; export * from './environment';