@pollar/react 0.12.1-rc.22 → 0.12.1-rc.23
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/README.md +26 -24
- package/dist/index.d.mts +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +331 -275
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +332 -277
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -425,30 +425,32 @@ already wired inside `<PollarProvider>` - and most are exported in case you want
|
|
|
425
425
|
> destination, amount and asset; `<CosignModal>` when a co-signed wallet has a request for this device; and
|
|
426
426
|
> `<CustodyMigrationModal>` while `custodyMigration.required` asks to move a custodial wallet to Turnkey.
|
|
427
427
|
|
|
428
|
-
| Component | Purpose
|
|
429
|
-
| ------------------------------------------- |
|
|
430
|
-
| `<WalletButton>` | Drop-in button. Opens login when signed out; signed in, shows the wallet address with a dropdown (Send, Receive, copy address, balance, history, ramp, KYC, distribution rules, sessions, recovery methods, sign out, plus a "Create account" action when the external wallet has no on-chain account yet). Inline arc spinner during in-progress transactions
|
|
431
|
-
| `<SendModal>` | Full send flow: network picker (shown when the app has more than one chain), asset picker, amount with Max (from the available balance), destination with Paste, a Stellar memo (Text, ID or Hash: 64 hex characters), inline build > sign > success/error. A Stellar destination with no account offers to create it with the XLM being sent. Sending is available on Stellar and Solana; Polygon can be browsed but not sent from
|
|
432
|
-
| `<SwapModal>` | On-chain asset-to-asset swap on Stellar and Solana (a Network selector when the app has venues on both): pick from/to assets and amount, quote across venues, execute (auto-trustline on the buy asset when needed); paste a custom Stellar buy token (code + issuer). On Solana it sells what the Solana wallet holds, buys SOL or a token the app enabled, shows the route's output and minimum, and links the swap to Solscan. When the app offers a venue that crosses chains, a Receive on selector delivers a Solana swap to the user's Polygon wallet, shows each fee by kind, asks for a new price when the quote lapses and follows the delivery
|
|
433
|
-
| `<EarnModal>` | Deposit/withdraw across DeFindex vaults and Blend pools on Stellar and the app's Solana opportunities, with a network picker when the app offers both: opportunity selection with the asset's logo and APY after fees, a position card (deposited, earned after fees, position), wallet balance, over-spend guards, auto-trustline on a Stellar deposit, and a result that names what happened, who paid the network fee and the explorer link
|
|
434
|
-
| `<BridgeModal>` | Opened with `openBridgeModal()`: moves USDC between the user's own wallets on Stellar, Solana and Polygon by Circle CCTP (mainnet). Picks the direction among the ones the user holds wallets for, quotes what arrives and Pollar's fee, signs the way the source wallet signs (custodial at once, co-signed on the device, an external wallet in the connected wallet), and follows the transfer until the USDC arrives
|
|
435
|
-
| `<ReceiveModal>` | Wallet address as QR code with copy-to-clipboard (no external QR dependency required)
|
|
436
|
-
| `<TxHistoryModal>` | Paginated multichain transaction history with auto-fetch on open. A `<ChainSelect>` in the header filters server-side (switching networks refetches and resets to page 1); rows link to their own chain's explorer (stellar.expert for Stellar, explorer.solana.com for Solana) and show the unified `{ amount, unit }` fee. Ramp orders appear as rows with their fiat side, say when one was refunded, and link to the explorer once they have a hash
|
|
437
|
-
| `<WalletBalanceModal>` | Multichain wallet balances (Stellar, Polygon, Solana). A `<ChainSelect>` picks the network and the rows are filtered to it; shows that chain's address plus a refresh button, and each row's issuer with a copy action. An unreadable chain's balance renders as a dash, never as `0`. On Solana testnet each row offers a faucet hint - a devnet SOL faucet on the native row, Circle's USDC faucet on the USDC row
|
|
438
|
-
| `<EnabledAssetsModal>` | The application's dashboard-enabled assets for the network picked in the header, with per-asset trustline state; establish/remove trustlines (Stellar only - other chains are informational)
|
|
439
|
-
| `<DistributionRulesModal>` | Manage the wallet's distribution rules
|
|
440
|
-
| `<SessionsModal>` | Lists every active refresh-token family for the current user with device metadata, marks the local session, per-row revoke, and a "Sign out everywhere" button
|
|
441
|
-
| `<KycModal>` | Identity verification: hosted (iframe or redirect) flow per option, corridor-scoped when a ramp route asks for it (`corridorId`), or started on one option (`providerId`). Shows review, expiry and retry states; without either id it walks the app's own KYC steps
|
|
442
|
-
| `<RampWidget>` | Buy/sell crypto: direction tabs, country, fiat and asset pickers, route comparison leg by leg, the fields a route asks for, then the order's progress with its pending action (payment QR or bank details, Authorize, co-sign approval, verification link) and what to do when a leg fails. A route refused for its amount says the minimum or maximum it takes and offers "Change amount"; an order whose price changed before anything moved offers "Get a new quote". Orders waiting on the user can be resumed
|
|
443
|
-
| `<RequirementFormModal>` | One `FORM` requirement step of a ramp route: renders the form the backend names (`formId`), prefilled with the user's previous answers, and stores the answers encrypted. A field with `showIf: { key, in }` is shown only while the earlier select, multiselect or checkbox it names answers one of those values, and is neither checked nor sent while hidden. `<RampWidget>` opens it itself; exported for consumers who build their own route list from `requirementsRequired`
|
|
444
|
-
| `<RegistryCheckModal>` | One `REGISTRY_CHECK` step (SEGIP through Stereum, `optionId`): the verified identity prefilled and read-only except the surname split and the CI complement; a check the registry did not confirm shows the review state with nothing to retry
|
|
445
|
-
| `<ProviderRegistrationModal>` | One `PROVIDER_REGISTRATION` step (`corridorId`): lists what the ramp provider receives and registers the user with it on consent; an already registered user is passed through
|
|
446
|
-
| `<CardModal>` | Opened with `openCardModal()`: the card provider's sign-up, identity verification and issuing, then the card with the app's logo and label, its balance and movements, and the number revealed on the device. Copy buttons next to the number and CVC while the details are shown, and next to the expiry date always. Funds the card from the wallet, including a co-signed one, with a network picker when the user holds a wallet on Stellar and Solana, and shows each funding's steps. The network picker offers only the chains `getCardFundingRoutes()` lists, and says when a funding crosses chains
|
|
447
|
-
| `<RecoveryModal>` | Opened with `openRecoveryModal()`: the recovery methods of a Turnkey wallet (passkeys, email, devices, recovery phrase). The provider also opens it by itself when a co-signed signature fails with `SDK_WALLET_RECOVERY_REQUIRED` (no recovery method yet) or `SDK_COSIGN_DEVICE_NOT_ENROLLED` (this browser origin is not one of the wallet's devices), from any modal or a direct app call
|
|
448
|
-
| `<CosignModal>` | The approval prompt of a co-signed wallet. Enables Approve only after the request verifies against Turnkey. On a device that is not one of the wallet's devices it disables Approve and offers Link this device, which opens recovery
|
|
449
|
-
| `<CustodyMigrationModal>` | Moves a custodial wallet to Turnkey after login when the app keeps its wallets there (`state`, `onMoved`, `onLater` props)
|
|
450
|
-
| `<
|
|
451
|
-
| `<
|
|
428
|
+
| Component | Purpose |
|
|
429
|
+
| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
430
|
+
| `<WalletButton>` | Drop-in button. Opens login when signed out; signed in, shows the wallet address with a dropdown (Send, Receive, copy address, balance, history, ramp, KYC, distribution rules, sessions, recovery methods, sign out, plus a "Create account" action when the external wallet has no on-chain account yet). Inline arc spinner during in-progress transactions |
|
|
431
|
+
| `<SendModal>` | Full send flow: network picker (shown when the app has more than one chain), asset picker, amount with Max (from the available balance), destination with Paste, a Stellar memo (Text, ID or Hash: 64 hex characters), inline build > sign > success/error. A Stellar destination with no account offers to create it with the XLM being sent. Sending is available on Stellar and Solana; Polygon can be browsed but not sent from |
|
|
432
|
+
| `<SwapModal>` | On-chain asset-to-asset swap on Stellar and Solana (a Network selector when the app has venues on both): pick from/to assets and amount, quote across venues, execute (auto-trustline on the buy asset when needed); paste a custom Stellar buy token (code + issuer). On Solana it sells what the Solana wallet holds, buys SOL or a token the app enabled, shows the route's output and minimum, and links the swap to Solscan. When the app offers a venue that crosses chains, a Receive on selector delivers a Solana swap to the user's Polygon wallet, shows each fee by kind, asks for a new price when the quote lapses and follows the delivery |
|
|
433
|
+
| `<EarnModal>` | Deposit/withdraw across DeFindex vaults and Blend pools on Stellar and the app's Solana opportunities, with a network picker when the app offers both: opportunity selection with the asset's logo and APY after fees, a position card (deposited, earned after fees, position), wallet balance, over-spend guards, auto-trustline on a Stellar deposit, and a result that names what happened, who paid the network fee and the explorer link |
|
|
434
|
+
| `<BridgeModal>` | Opened with `openBridgeModal()`: moves USDC between the user's own wallets on Stellar, Solana and Polygon by Circle CCTP (mainnet). Picks the direction among the ones the user holds wallets for, quotes what arrives and Pollar's fee, signs the way the source wallet signs (custodial at once, co-signed on the device, an external wallet in the connected wallet), and follows the transfer until the USDC arrives |
|
|
435
|
+
| `<ReceiveModal>` | Wallet address as QR code with copy-to-clipboard (no external QR dependency required) |
|
|
436
|
+
| `<TxHistoryModal>` | Paginated multichain transaction history with auto-fetch on open. A `<ChainSelect>` in the header filters server-side (switching networks refetches and resets to page 1); rows link to their own chain's explorer (stellar.expert for Stellar, explorer.solana.com for Solana) and show the unified `{ amount, unit }` fee. Ramp orders appear as rows with their fiat side, say when one was refunded, and link to the explorer once they have a hash |
|
|
437
|
+
| `<WalletBalanceModal>` | Multichain wallet balances (Stellar, Polygon, Solana). A `<ChainSelect>` picks the network and the rows are filtered to it; shows that chain's address plus a refresh button, and each row's issuer with a copy action. An unreadable chain's balance renders as a dash, never as `0`. On Solana testnet each row offers a faucet hint - a devnet SOL faucet on the native row, Circle's USDC faucet on the USDC row |
|
|
438
|
+
| `<EnabledAssetsModal>` | The application's dashboard-enabled assets for the network picked in the header, with per-asset trustline state; establish/remove trustlines (Stellar only - other chains are informational) |
|
|
439
|
+
| `<DistributionRulesModal>` | Manage the wallet's distribution rules |
|
|
440
|
+
| `<SessionsModal>` | Lists every active refresh-token family for the current user with device metadata, marks the local session, per-row revoke, and a "Sign out everywhere" button |
|
|
441
|
+
| `<KycModal>` | Identity verification: hosted (iframe or redirect) flow per option, corridor-scoped when a ramp route asks for it (`corridorId`), or started on one option (`providerId`). Shows review, expiry and retry states; without either id it walks the app's own KYC steps. While the vendor's page is open it reads the status every 4 seconds and shows the result once it settles |
|
|
442
|
+
| `<RampWidget>` | Buy/sell crypto: direction tabs, country, fiat and asset pickers, route comparison leg by leg, the fields a route asks for, then the order's progress with its pending action (payment QR or bank details, Authorize, co-sign approval, verification link) and what to do when a leg fails. A route refused for its amount says the minimum or maximum it takes and offers "Change amount"; an order whose price changed before anything moved offers "Get a new quote". A stopped order says why, and one that needs support links to the app's contact (the client's `support`, else the dashboard's) with the order id to copy. Orders waiting on the user can be resumed |
|
|
443
|
+
| `<RequirementFormModal>` | One `FORM` requirement step of a ramp route: renders the form the backend names (`formId`), prefilled with the user's previous answers, and stores the answers encrypted. A field with `showIf: { key, in }` is shown only while the earlier select, multiselect or checkbox it names answers one of those values, and is neither checked nor sent while hidden. `<RampWidget>` opens it itself; exported for consumers who build their own route list from `requirementsRequired` |
|
|
444
|
+
| `<RegistryCheckModal>` | One `REGISTRY_CHECK` step (SEGIP through Stereum, `optionId`): the verified identity prefilled and read-only except the surname split and the CI complement; a check the registry did not confirm shows the review state with nothing to retry |
|
|
445
|
+
| `<ProviderRegistrationModal>` | One `PROVIDER_REGISTRATION` step (`corridorId`): lists what the ramp provider receives and registers the user with it on consent; an already registered user is passed through |
|
|
446
|
+
| `<CardModal>` | Opened with `openCardModal()`: the card provider's sign-up, identity verification and issuing, then the card with the app's logo and label, its balance and movements, and the number revealed on the device. Copy buttons next to the number and CVC while the details are shown, and next to the expiry date always. Funds the card from the wallet, including a co-signed one, with a network picker when the user holds a wallet on Stellar and Solana, and shows each funding's steps. The network picker offers only the chains `getCardFundingRoutes()` lists, and says when a funding crosses chains |
|
|
447
|
+
| `<RecoveryModal>` | Opened with `openRecoveryModal()`: the recovery methods of a Turnkey wallet (passkeys, email, devices, recovery phrase). The provider also opens it by itself when a co-signed signature fails with `SDK_WALLET_RECOVERY_REQUIRED` (no recovery method yet) or `SDK_COSIGN_DEVICE_NOT_ENROLLED` (this browser origin is not one of the wallet's devices), from any modal or a direct app call |
|
|
448
|
+
| `<CosignModal>` | The approval prompt of a co-signed wallet. Enables Approve only after the request verifies against Turnkey. On a device that is not one of the wallet's devices it disables Approve and offers Link this device, which opens recovery |
|
|
449
|
+
| `<CustodyMigrationModal>` | Moves a custodial wallet to Turnkey after login when the app keeps its wallets there (`state`, `onMoved`, `onLater` props) |
|
|
450
|
+
| `<LoginFlow>` | The app's sign-in inline in the host's page, with no backdrop and no close button, at the width of its container. For a page whose first job is signing the user in; once signed in, read `isAuthenticated` and swap it for the next screen |
|
|
451
|
+
| `<KycFlow>` | The app's own KYC steps inline in the host's page (`onApproved`, `country`, `level`): the pending step's card (the vendor's verification or a form), the next one as soon as a step is approved, and nothing once every step is complete. Signed-in users only |
|
|
452
|
+
| `<KycStatus>` | A KYC status badge (`status`, optional `label`) |
|
|
453
|
+
| `<RouteDisplay>` / `<RejectedRouteDisplay>` | One ramp route, offered or refused, as the ramp widget lists it |
|
|
452
454
|
|
|
453
455
|
```tsx
|
|
454
456
|
import { WalletButton } from '@pollar/react';
|
package/dist/index.d.mts
CHANGED
|
@@ -994,6 +994,14 @@ interface KycFlowProps {
|
|
|
994
994
|
*/
|
|
995
995
|
declare function KycFlow({ onApproved, country, level }: KycFlowProps): react_jsx_runtime.JSX.Element;
|
|
996
996
|
|
|
997
|
+
/**
|
|
998
|
+
* The app's sign-in in the host's page instead of a modal: for a page whose
|
|
999
|
+
* first job is signing the user in, like a KYC link's. It takes the width of
|
|
1000
|
+
* its container, so the host sets that. Once the user is signed in it stays
|
|
1001
|
+
* as is; the host reads `isAuthenticated` and swaps it for its next screen.
|
|
1002
|
+
*/
|
|
1003
|
+
declare function LoginFlow(): react_jsx_runtime.JSX.Element;
|
|
1004
|
+
|
|
997
1005
|
interface RequirementFormModalProps {
|
|
998
1006
|
formId: string;
|
|
999
1007
|
/** Position of this step over the route's steps, when known. */
|
|
@@ -1197,8 +1205,10 @@ interface LoginModalTemplateProps {
|
|
|
1197
1205
|
onRetry: () => void;
|
|
1198
1206
|
/** Language of the modal's text. Defaults to the user's device; the modal passes the resolved one. */
|
|
1199
1207
|
language?: PollarLanguage | undefined;
|
|
1208
|
+
/** In the host's page instead of over a backdrop: no close button. */
|
|
1209
|
+
inline?: boolean;
|
|
1200
1210
|
}
|
|
1201
|
-
declare function LoginModalTemplate({ theme, accentColor, styleOverrides, logoUrl, emailEnabled, embeddedWallets, smartWallet, providers, walletAdapters, appName, email, onEmailChange, onEmailSubmit, onSocialLogin, onWalletConnect, onLoginSmartWallet, onCreateSmartWallet, authState, codeInputKey, onCodeSubmit, onBack, onCancel, onRetry, language: languageProp, }: LoginModalTemplateProps): react_jsx_runtime.JSX.Element;
|
|
1211
|
+
declare function LoginModalTemplate({ theme, accentColor, styleOverrides, logoUrl, emailEnabled, embeddedWallets, smartWallet, providers, walletAdapters, appName, email, onEmailChange, onEmailSubmit, onSocialLogin, onWalletConnect, onLoginSmartWallet, onCreateSmartWallet, authState, codeInputKey, onCodeSubmit, onBack, onCancel, onRetry, language: languageProp, inline, }: LoginModalTemplateProps): react_jsx_runtime.JSX.Element;
|
|
1202
1212
|
|
|
1203
1213
|
type KycStep = 'select_provider' | 'verifying' | 'polling' | 'done';
|
|
1204
1214
|
interface KycModalTemplateProps {
|
|
@@ -1753,4 +1763,4 @@ interface DistributionRulesModalTemplateProps {
|
|
|
1753
1763
|
}
|
|
1754
1764
|
declare function DistributionRulesModalTemplate({ theme, accentColor, styleOverrides, state, claimingId, claimErrors, claimedIds, language: languageProp, onRefresh, onClaim, onClose, }: DistributionRulesModalTemplateProps): react_jsx_runtime.JSX.Element;
|
|
1755
1765
|
|
|
1756
|
-
export { type AuthModalProps, BridgeModal, type BridgeModalOptions, type BridgeModalStep, BridgeModalTemplate, type BridgeModalTemplateProps, CardModal, type CardModalOptions, ChainSelect, type ChainSelectProps, CosignModal, CosignModalTemplate, type CosignModalTemplateProps, CustodyMigrationModal, CustodyMigrationModalTemplate, type CustodyMigrationModalTemplateProps, type CustomTrustlineModalTemplateProps, DistributionRulesModal, DistributionRulesModalTemplate, EarnModal, type EarnModalOptions, type EarnNetwork, EnabledAssetsModal, EnabledAssetsModalTemplate, type EnabledAssetsModalTemplateProps, KycFlow, KycModal, KycModalTemplate, KycStatus, type KycStep, type LoginButtonProps, LoginModalTemplate, type ModalChrome, type ModalStyleOverrides, type ModalVariant, type PollarConfig, PollarProvider, type PollarStyles, ProviderRegistrationModal, type RampModalOptions, type RampStep, RampWidget, RampWidgetTemplate, ReceiveModal, type ReceiveModalOptions, ReceiveModalTemplate, type ReceiveModalTemplateProps, RecoveryModal, RecoveryModalTemplate, type RecoveryModalTemplateProps, type RecoveryView, RegistryCheckModal, RejectedRouteDisplay, RequirementFormModal, RouteDisplay, type SendMemoType, SendModal, type SendModalOptions, SendModalTemplate, type SendModalTemplateProps, SessionsModal, SessionsModalTemplate, type SessionsModalTemplateProps, type SwapAssetOption, SwapModal, type SwapModalOptions, SwapModalTemplate, type SwapModalTemplateProps, TransactionModalTemplate, type TransactionModalTemplateProps, type TxHistoryModalOptions, TxHistoryModalTemplate, TxStatusView, type TxStatusViewProps, type UseChainsResult, type UseCosignResult, WalletBalanceModal, WalletBalanceModalTemplate, type WalletBalanceModalTemplateProps, WalletButton, WalletButtonTemplate, type WalletButtonTemplateProps, addressForChain, browserPasskeyCeremony, browserPasskeySigner, browserRecoveryPasskey, buildModalCssVars, chainsOf, createPollarAdapterHook, modalChrome, readableTextOn, resolveChain, useChains, useCosign, usePollar, walletNotReadyReason };
|
|
1766
|
+
export { type AuthModalProps, BridgeModal, type BridgeModalOptions, type BridgeModalStep, BridgeModalTemplate, type BridgeModalTemplateProps, CardModal, type CardModalOptions, ChainSelect, type ChainSelectProps, CosignModal, CosignModalTemplate, type CosignModalTemplateProps, CustodyMigrationModal, CustodyMigrationModalTemplate, type CustodyMigrationModalTemplateProps, type CustomTrustlineModalTemplateProps, DistributionRulesModal, DistributionRulesModalTemplate, EarnModal, type EarnModalOptions, type EarnNetwork, EnabledAssetsModal, EnabledAssetsModalTemplate, type EnabledAssetsModalTemplateProps, KycFlow, KycModal, KycModalTemplate, KycStatus, type KycStep, type LoginButtonProps, LoginFlow, LoginModalTemplate, type ModalChrome, type ModalStyleOverrides, type ModalVariant, type PollarConfig, PollarProvider, type PollarStyles, ProviderRegistrationModal, type RampModalOptions, type RampStep, RampWidget, RampWidgetTemplate, ReceiveModal, type ReceiveModalOptions, ReceiveModalTemplate, type ReceiveModalTemplateProps, RecoveryModal, RecoveryModalTemplate, type RecoveryModalTemplateProps, type RecoveryView, RegistryCheckModal, RejectedRouteDisplay, RequirementFormModal, RouteDisplay, type SendMemoType, SendModal, type SendModalOptions, SendModalTemplate, type SendModalTemplateProps, SessionsModal, SessionsModalTemplate, type SessionsModalTemplateProps, type SwapAssetOption, SwapModal, type SwapModalOptions, SwapModalTemplate, type SwapModalTemplateProps, TransactionModalTemplate, type TransactionModalTemplateProps, type TxHistoryModalOptions, TxHistoryModalTemplate, TxStatusView, type TxStatusViewProps, type UseChainsResult, type UseCosignResult, WalletBalanceModal, WalletBalanceModalTemplate, type WalletBalanceModalTemplateProps, WalletButton, WalletButtonTemplate, type WalletButtonTemplateProps, addressForChain, browserPasskeyCeremony, browserPasskeySigner, browserRecoveryPasskey, buildModalCssVars, chainsOf, createPollarAdapterHook, modalChrome, readableTextOn, resolveChain, useChains, useCosign, usePollar, walletNotReadyReason };
|
package/dist/index.d.ts
CHANGED
|
@@ -994,6 +994,14 @@ interface KycFlowProps {
|
|
|
994
994
|
*/
|
|
995
995
|
declare function KycFlow({ onApproved, country, level }: KycFlowProps): react_jsx_runtime.JSX.Element;
|
|
996
996
|
|
|
997
|
+
/**
|
|
998
|
+
* The app's sign-in in the host's page instead of a modal: for a page whose
|
|
999
|
+
* first job is signing the user in, like a KYC link's. It takes the width of
|
|
1000
|
+
* its container, so the host sets that. Once the user is signed in it stays
|
|
1001
|
+
* as is; the host reads `isAuthenticated` and swaps it for its next screen.
|
|
1002
|
+
*/
|
|
1003
|
+
declare function LoginFlow(): react_jsx_runtime.JSX.Element;
|
|
1004
|
+
|
|
997
1005
|
interface RequirementFormModalProps {
|
|
998
1006
|
formId: string;
|
|
999
1007
|
/** Position of this step over the route's steps, when known. */
|
|
@@ -1197,8 +1205,10 @@ interface LoginModalTemplateProps {
|
|
|
1197
1205
|
onRetry: () => void;
|
|
1198
1206
|
/** Language of the modal's text. Defaults to the user's device; the modal passes the resolved one. */
|
|
1199
1207
|
language?: PollarLanguage | undefined;
|
|
1208
|
+
/** In the host's page instead of over a backdrop: no close button. */
|
|
1209
|
+
inline?: boolean;
|
|
1200
1210
|
}
|
|
1201
|
-
declare function LoginModalTemplate({ theme, accentColor, styleOverrides, logoUrl, emailEnabled, embeddedWallets, smartWallet, providers, walletAdapters, appName, email, onEmailChange, onEmailSubmit, onSocialLogin, onWalletConnect, onLoginSmartWallet, onCreateSmartWallet, authState, codeInputKey, onCodeSubmit, onBack, onCancel, onRetry, language: languageProp, }: LoginModalTemplateProps): react_jsx_runtime.JSX.Element;
|
|
1211
|
+
declare function LoginModalTemplate({ theme, accentColor, styleOverrides, logoUrl, emailEnabled, embeddedWallets, smartWallet, providers, walletAdapters, appName, email, onEmailChange, onEmailSubmit, onSocialLogin, onWalletConnect, onLoginSmartWallet, onCreateSmartWallet, authState, codeInputKey, onCodeSubmit, onBack, onCancel, onRetry, language: languageProp, inline, }: LoginModalTemplateProps): react_jsx_runtime.JSX.Element;
|
|
1202
1212
|
|
|
1203
1213
|
type KycStep = 'select_provider' | 'verifying' | 'polling' | 'done';
|
|
1204
1214
|
interface KycModalTemplateProps {
|
|
@@ -1753,4 +1763,4 @@ interface DistributionRulesModalTemplateProps {
|
|
|
1753
1763
|
}
|
|
1754
1764
|
declare function DistributionRulesModalTemplate({ theme, accentColor, styleOverrides, state, claimingId, claimErrors, claimedIds, language: languageProp, onRefresh, onClaim, onClose, }: DistributionRulesModalTemplateProps): react_jsx_runtime.JSX.Element;
|
|
1755
1765
|
|
|
1756
|
-
export { type AuthModalProps, BridgeModal, type BridgeModalOptions, type BridgeModalStep, BridgeModalTemplate, type BridgeModalTemplateProps, CardModal, type CardModalOptions, ChainSelect, type ChainSelectProps, CosignModal, CosignModalTemplate, type CosignModalTemplateProps, CustodyMigrationModal, CustodyMigrationModalTemplate, type CustodyMigrationModalTemplateProps, type CustomTrustlineModalTemplateProps, DistributionRulesModal, DistributionRulesModalTemplate, EarnModal, type EarnModalOptions, type EarnNetwork, EnabledAssetsModal, EnabledAssetsModalTemplate, type EnabledAssetsModalTemplateProps, KycFlow, KycModal, KycModalTemplate, KycStatus, type KycStep, type LoginButtonProps, LoginModalTemplate, type ModalChrome, type ModalStyleOverrides, type ModalVariant, type PollarConfig, PollarProvider, type PollarStyles, ProviderRegistrationModal, type RampModalOptions, type RampStep, RampWidget, RampWidgetTemplate, ReceiveModal, type ReceiveModalOptions, ReceiveModalTemplate, type ReceiveModalTemplateProps, RecoveryModal, RecoveryModalTemplate, type RecoveryModalTemplateProps, type RecoveryView, RegistryCheckModal, RejectedRouteDisplay, RequirementFormModal, RouteDisplay, type SendMemoType, SendModal, type SendModalOptions, SendModalTemplate, type SendModalTemplateProps, SessionsModal, SessionsModalTemplate, type SessionsModalTemplateProps, type SwapAssetOption, SwapModal, type SwapModalOptions, SwapModalTemplate, type SwapModalTemplateProps, TransactionModalTemplate, type TransactionModalTemplateProps, type TxHistoryModalOptions, TxHistoryModalTemplate, TxStatusView, type TxStatusViewProps, type UseChainsResult, type UseCosignResult, WalletBalanceModal, WalletBalanceModalTemplate, type WalletBalanceModalTemplateProps, WalletButton, WalletButtonTemplate, type WalletButtonTemplateProps, addressForChain, browserPasskeyCeremony, browserPasskeySigner, browserRecoveryPasskey, buildModalCssVars, chainsOf, createPollarAdapterHook, modalChrome, readableTextOn, resolveChain, useChains, useCosign, usePollar, walletNotReadyReason };
|
|
1766
|
+
export { type AuthModalProps, BridgeModal, type BridgeModalOptions, type BridgeModalStep, BridgeModalTemplate, type BridgeModalTemplateProps, CardModal, type CardModalOptions, ChainSelect, type ChainSelectProps, CosignModal, CosignModalTemplate, type CosignModalTemplateProps, CustodyMigrationModal, CustodyMigrationModalTemplate, type CustodyMigrationModalTemplateProps, type CustomTrustlineModalTemplateProps, DistributionRulesModal, DistributionRulesModalTemplate, EarnModal, type EarnModalOptions, type EarnNetwork, EnabledAssetsModal, EnabledAssetsModalTemplate, type EnabledAssetsModalTemplateProps, KycFlow, KycModal, KycModalTemplate, KycStatus, type KycStep, type LoginButtonProps, LoginFlow, LoginModalTemplate, type ModalChrome, type ModalStyleOverrides, type ModalVariant, type PollarConfig, PollarProvider, type PollarStyles, ProviderRegistrationModal, type RampModalOptions, type RampStep, RampWidget, RampWidgetTemplate, ReceiveModal, type ReceiveModalOptions, ReceiveModalTemplate, type ReceiveModalTemplateProps, RecoveryModal, RecoveryModalTemplate, type RecoveryModalTemplateProps, type RecoveryView, RegistryCheckModal, RejectedRouteDisplay, RequirementFormModal, RouteDisplay, type SendMemoType, SendModal, type SendModalOptions, SendModalTemplate, type SendModalTemplateProps, SessionsModal, SessionsModalTemplate, type SessionsModalTemplateProps, type SwapAssetOption, SwapModal, type SwapModalOptions, SwapModalTemplate, type SwapModalTemplateProps, TransactionModalTemplate, type TransactionModalTemplateProps, type TxHistoryModalOptions, TxHistoryModalTemplate, TxStatusView, type TxStatusViewProps, type UseChainsResult, type UseCosignResult, WalletBalanceModal, WalletBalanceModalTemplate, type WalletBalanceModalTemplateProps, WalletButton, WalletButtonTemplate, type WalletButtonTemplateProps, addressForChain, browserPasskeyCeremony, browserPasskeySigner, browserRecoveryPasskey, buildModalCssVars, chainsOf, createPollarAdapterHook, modalChrome, readableTextOn, resolveChain, useChains, useCosign, usePollar, walletNotReadyReason };
|