@tuwaio/nova-transactions 0.0.17 → 0.0.19
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 +1 -2
- package/dist/{WalletInfoModal-BcTPDgW_.d.cts → WalletInfoModal-BMSFI1JW.d.cts} +64 -56
- package/dist/{WalletInfoModal-BcTPDgW_.d.ts → WalletInfoModal-BMSFI1JW.d.ts} +64 -56
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/providers/index.cjs +1 -1
- package/dist/providers/index.cjs.map +1 -1
- package/dist/providers/index.d.cts +2 -2
- package/dist/providers/index.d.ts +2 -2
- package/dist/providers/index.js +1 -1
- package/dist/providers/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
@@ -100,14 +100,13 @@ export function Providers({children}: { children: React.ReactNode }) {
|
|
100
100
|
initialTx={initialTx}
|
101
101
|
handleTransaction={handleTransaction}
|
102
102
|
closeTxTrackedModal={closeTxTrackedModal}
|
103
|
-
actions={actions}
|
104
103
|
|
105
104
|
// Pass live wallet and adapter data
|
106
105
|
connectedWalletAddress={address}
|
107
106
|
connectedAdapterType={chain?.id ? TransactionAdapter.EVM : undefined} // Example for EVM
|
108
107
|
|
109
108
|
// Pass static configuration
|
110
|
-
|
109
|
+
adapter={evmAdapter(wagmiConfig, chains)}
|
111
110
|
/>
|
112
111
|
</QueryClientProvider>
|
113
112
|
</WagmiProvider>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
2
|
import * as Dialog from '@radix-ui/react-dialog';
|
3
|
-
import { TransactionStatus, Transaction, TxAdapter, TransactionAdapter, TransactionPool,
|
3
|
+
import { TransactionStatus, Transaction, TxAdapter, TransactionAdapter, TransactionPool, ITxTrackingStore, InitialTransaction } from '@tuwaio/pulsar-core';
|
4
4
|
import { MotionProps } from 'framer-motion';
|
5
5
|
import { ReactNode, ComponentType, JSX, ComponentPropsWithoutRef } from 'react';
|
6
6
|
import { ToastContainerProps, ToastContentProps } from 'react-toastify';
|
@@ -62,7 +62,8 @@ declare function StatusAwareText({ txStatus, source, fallback, variant, classNam
|
|
62
62
|
* It provides a strict structure for all text used in the UI components, ensuring type safety for different languages.
|
63
63
|
*/
|
64
64
|
/**
|
65
|
-
*
|
65
|
+
* Represents the set of labels used for various UI elements and features in a Tuwa-based application.
|
66
|
+
* This type defines structured labels for wallet modals, transaction statuses, toast notifications, and more.
|
66
67
|
*/
|
67
68
|
type TuwaLabels = {
|
68
69
|
/** Labels for the main wallet information modal. */
|
@@ -107,6 +108,8 @@ type TuwaLabels = {
|
|
107
108
|
replaced: string;
|
108
109
|
/** Text for an unknown or indeterminate status. */
|
109
110
|
unknown: string;
|
111
|
+
/** Text for a confirmation count label, e.g., "1 confirmation" or "10 confirmations" */
|
112
|
+
confirmationsLabel: string;
|
110
113
|
};
|
111
114
|
/** Labels for different types of transaction hashes/keys. */
|
112
115
|
hashLabels: {
|
@@ -120,6 +123,10 @@ type TuwaLabels = {
|
|
120
123
|
replaced: string;
|
121
124
|
/** Default label for a standard transaction hash. */
|
122
125
|
default: string;
|
126
|
+
/** Special label for the most recent blockhash. This is used for the "Recent Blockhash" field in the transaction details modal. */
|
127
|
+
recentBlockhash: string;
|
128
|
+
/** Special label for the Solana signature. This is used for the "Signature" field in the transaction details modal. */
|
129
|
+
solana: string;
|
123
130
|
};
|
124
131
|
/** Labels for the transaction information block. */
|
125
132
|
txInfo: {
|
@@ -127,6 +134,8 @@ type TuwaLabels = {
|
|
127
134
|
started: string;
|
128
135
|
/** Label for the network name. */
|
129
136
|
network: string;
|
137
|
+
/** Slot number for the transaction. This is used for the "Slot" field in the transaction details modal. */
|
138
|
+
slot: string;
|
130
139
|
};
|
131
140
|
/** Labels for the transaction error block. */
|
132
141
|
txError: {
|
@@ -186,12 +195,11 @@ type TuwaLabels = {
|
|
186
195
|
/**
|
187
196
|
* Defines the props for the NovaProvider component.
|
188
197
|
*/
|
189
|
-
type NovaProviderProps<
|
190
|
-
|
198
|
+
type NovaProviderProps<T extends Transaction> = {
|
199
|
+
adapter: TxAdapter<T> | TxAdapter<T>[];
|
191
200
|
connectedWalletAddress?: string;
|
192
201
|
connectedAdapterType?: TransactionAdapter;
|
193
|
-
transactionsPool: TransactionPool<
|
194
|
-
actions?: TxActions;
|
202
|
+
transactionsPool: TransactionPool<T>;
|
195
203
|
labels?: Partial<TuwaLabels>;
|
196
204
|
features?: {
|
197
205
|
toasts?: boolean;
|
@@ -199,16 +207,16 @@ type NovaProviderProps<TR, T extends Transaction<TR>, A> = {
|
|
199
207
|
trackingTxModal?: boolean;
|
200
208
|
};
|
201
209
|
customization?: {
|
202
|
-
toast?: ToastTransactionCustomization<
|
203
|
-
walletInfoModal?: WalletInfoModalCustomization<
|
204
|
-
trackingTxModal?: TrackingTxModalCustomization<
|
210
|
+
toast?: ToastTransactionCustomization<T>;
|
211
|
+
walletInfoModal?: WalletInfoModalCustomization<T>;
|
212
|
+
trackingTxModal?: TrackingTxModalCustomization<T>;
|
205
213
|
};
|
206
|
-
} & Pick<ITxTrackingStore<
|
214
|
+
} & Pick<ITxTrackingStore<T>, 'closeTxTrackedModal' | 'handleTransaction' | 'initialTx'> & ToastContainerProps;
|
207
215
|
/**
|
208
216
|
* The main component for the Nova UI ecosystem. It renders and orchestrates all
|
209
217
|
* UI elements like toasts and modals, and provides the i18n context.
|
210
218
|
*/
|
211
|
-
declare function NovaProvider<
|
219
|
+
declare function NovaProvider<T extends Transaction>({ adapter, connectedWalletAddress, connectedAdapterType, transactionsPool, initialTx, handleTransaction, closeTxTrackedModal, labels, features, customization, ...toastProps }: NovaProviderProps<T>): react_jsx_runtime.JSX.Element;
|
212
220
|
|
213
221
|
/**
|
214
222
|
* Defines the props for the TransactionKey component.
|
@@ -216,7 +224,7 @@ declare function NovaProvider<TR, T extends Transaction<TR>, A>({ adapters, conn
|
|
216
224
|
* @template T - The transaction type.
|
217
225
|
* @template A - The type of the key returned by an action function.
|
218
226
|
*/
|
219
|
-
type TransactionKeyProps<
|
227
|
+
type TransactionKeyProps<T extends Transaction> = Pick<NovaProviderProps<T>, 'adapter' | 'transactionsPool'> & {
|
220
228
|
/** The transaction object to display identifiers for. */
|
221
229
|
tx: T;
|
222
230
|
/** The visual variant, which applies different container styles. */
|
@@ -228,19 +236,21 @@ type TransactionKeyProps<TR, T extends Transaction<TR>, A> = Pick<NovaProviderPr
|
|
228
236
|
* If not provided, the default `HashLink` component will be used.
|
229
237
|
*/
|
230
238
|
renderHashLink?: (props: HashLinkProps) => ReactNode;
|
239
|
+
/** Optional number of confirmations for a transaction. */
|
240
|
+
confirmations?: number;
|
231
241
|
};
|
232
242
|
/**
|
233
243
|
* A component that intelligently displays the relevant keys and hashes for a transaction.
|
234
244
|
* It leverages the adapter system to show chain-specific identifiers and explorer links.
|
235
245
|
*/
|
236
|
-
declare function TransactionKey<
|
246
|
+
declare function TransactionKey<T extends Transaction>({ tx, adapter, transactionsPool, variant, className, renderHashLink, confirmations, }: TransactionKeyProps<T>): react_jsx_runtime.JSX.Element | null;
|
237
247
|
|
238
248
|
/**
|
239
249
|
* Defines the props for the TransactionStatusBadge component.
|
240
250
|
* @template TR - The type of the tracker identifier.
|
241
251
|
* @template T - The transaction type.
|
242
252
|
*/
|
243
|
-
type TransactionStatusBadgeProps<
|
253
|
+
type TransactionStatusBadgeProps<T extends Transaction> = {
|
244
254
|
/** The transaction object whose status will be displayed. */
|
245
255
|
tx: T;
|
246
256
|
/** Optional additional CSS classes to apply to the badge container. */
|
@@ -250,7 +260,7 @@ type TransactionStatusBadgeProps<TR, T extends Transaction<TR>> = {
|
|
250
260
|
* A component that displays a transaction's status as a styled badge
|
251
261
|
* with a corresponding icon, color, and label.
|
252
262
|
*/
|
253
|
-
declare function TransactionStatusBadge<
|
263
|
+
declare function TransactionStatusBadge<T extends Transaction>({ tx, className }: TransactionStatusBadgeProps<T>): react_jsx_runtime.JSX.Element;
|
254
264
|
|
255
265
|
/**
|
256
266
|
* @file This file contains the `ToastTransaction` component, which serves as the main body for a transaction notification toast.
|
@@ -260,30 +270,30 @@ type CustomActionButtonProps = {
|
|
260
270
|
onClick: () => void;
|
261
271
|
children: ReactNode;
|
262
272
|
};
|
263
|
-
type ToastTransactionCustomization<
|
273
|
+
type ToastTransactionCustomization<T extends Transaction> = {
|
264
274
|
components?: {
|
265
275
|
StatusAwareText?: ComponentType<StatusAwareTextProps>;
|
266
|
-
TransactionKey?: ComponentType<TransactionKeyProps<
|
267
|
-
StatusBadge?: ComponentType<TransactionStatusBadgeProps<
|
276
|
+
TransactionKey?: ComponentType<TransactionKeyProps<T>>;
|
277
|
+
StatusBadge?: ComponentType<TransactionStatusBadgeProps<T>>;
|
268
278
|
WalletInfoButton?: ComponentType<CustomActionButtonProps>;
|
269
279
|
SpeedUpButton?: ComponentType<CustomActionButtonProps>;
|
270
280
|
CancelButton?: ComponentType<CustomActionButtonProps>;
|
271
281
|
};
|
272
282
|
};
|
273
|
-
type ToastTransactionProps<
|
283
|
+
type ToastTransactionProps<T extends Transaction> = {
|
274
284
|
tx: T;
|
275
285
|
openWalletInfoModal?: () => void;
|
276
286
|
icon?: ReactNode;
|
277
287
|
className?: string;
|
278
|
-
customization?: ToastTransactionCustomization<
|
288
|
+
customization?: ToastTransactionCustomization<T>;
|
279
289
|
closeToast?: ToastContentProps['closeToast'];
|
280
290
|
toastProps?: ToastContainerProps;
|
281
|
-
} & Pick<NovaProviderProps<
|
291
|
+
} & Pick<NovaProviderProps<T>, 'transactionsPool' | 'adapter' | 'connectedWalletAddress'>;
|
282
292
|
/**
|
283
293
|
* A composite component that renders the content for a transaction toast notification.
|
284
294
|
* It is highly customizable and leverages the adapter to show relevant actions like "Speed Up".
|
285
295
|
*/
|
286
|
-
declare function ToastTransaction<
|
296
|
+
declare function ToastTransaction<T extends Transaction>({ openWalletInfoModal, tx, transactionsPool, icon, className, customization, connectedWalletAddress, adapter, }: ToastTransactionProps<T>): JSX.Element;
|
287
297
|
|
288
298
|
/**
|
289
299
|
* @file This file contains the `TxErrorBlock` component for displaying transaction error messages.
|
@@ -305,23 +315,23 @@ type CustomInfoRowProps = {
|
|
305
315
|
label: ReactNode;
|
306
316
|
value: ReactNode;
|
307
317
|
};
|
308
|
-
type TxInfoBlockCustomization<
|
318
|
+
type TxInfoBlockCustomization<T extends Transaction> = {
|
309
319
|
components?: {
|
310
320
|
InfoRow?: ComponentType<CustomInfoRowProps>;
|
311
|
-
transactionKey?: TransactionKeyProps<
|
321
|
+
transactionKey?: TransactionKeyProps<T>['renderHashLink'];
|
312
322
|
};
|
313
323
|
};
|
314
|
-
type TxInfoBlockProps<
|
324
|
+
type TxInfoBlockProps<T extends Transaction> = {
|
315
325
|
/** The transaction object to display, which can be a full transaction or an initial one. */
|
316
326
|
tx: T | InitialTransaction;
|
317
327
|
className?: string;
|
318
|
-
customization?: TxInfoBlockCustomization<
|
319
|
-
} & Pick<NovaProviderProps<
|
328
|
+
customization?: TxInfoBlockCustomization<T>;
|
329
|
+
} & Pick<NovaProviderProps<T>, 'adapter' | 'transactionsPool'>;
|
320
330
|
/**
|
321
331
|
* A component that displays a block of essential transaction details,
|
322
|
-
* such as network,
|
332
|
+
* such as network, timestamps, Solana-specific details, and relevant hashes/keys.
|
323
333
|
*/
|
324
|
-
declare function TxInfoBlock<
|
334
|
+
declare function TxInfoBlock<T extends Transaction>({ tx, adapter, transactionsPool, className, customization, }: TxInfoBlockProps<T>): react_jsx_runtime.JSX.Element | null;
|
325
335
|
|
326
336
|
type StepStatus = 'active' | 'completed' | 'error' | 'inactive' | 'replaced';
|
327
337
|
type StepProps = {
|
@@ -377,7 +387,7 @@ type CustomFooterProps = {
|
|
377
387
|
canReplace?: boolean;
|
378
388
|
connectedWalletAddress?: string;
|
379
389
|
};
|
380
|
-
type TrackingTxModalCustomization<
|
390
|
+
type TrackingTxModalCustomization<T extends Transaction> = {
|
381
391
|
modalProps?: Partial<ComponentPropsWithoutRef<typeof Dialog.Content>>;
|
382
392
|
motionProps?: MotionProps;
|
383
393
|
components?: {
|
@@ -385,21 +395,21 @@ type TrackingTxModalCustomization<TR, T extends Transaction<TR>, A> = {
|
|
385
395
|
Footer?: ComponentType<CustomFooterProps>;
|
386
396
|
StatusVisual?: ComponentType<TxStatusVisualProps>;
|
387
397
|
ProgressIndicator?: ComponentType<TxProgressIndicatorProps>;
|
388
|
-
InfoBlock?: ComponentType<TxInfoBlockProps<
|
398
|
+
InfoBlock?: ComponentType<TxInfoBlockProps<T>>;
|
389
399
|
ErrorBlock?: ComponentType<TxErrorBlockProps>;
|
390
400
|
};
|
391
401
|
};
|
392
|
-
type TrackingTxModalProps<
|
402
|
+
type TrackingTxModalProps<T extends Transaction> = Pick<NovaProviderProps<T>, 'handleTransaction' | 'initialTx' | 'transactionsPool' | 'adapter' | 'connectedWalletAddress'> & {
|
393
403
|
onClose: (txKey?: string) => void;
|
394
404
|
onOpenWalletInfo: () => void;
|
395
405
|
className?: string;
|
396
|
-
customization?: TrackingTxModalCustomization<
|
406
|
+
customization?: TrackingTxModalCustomization<T>;
|
397
407
|
};
|
398
408
|
/**
|
399
409
|
* A detailed modal that displays the real-time status and lifecycle of a transaction.
|
400
410
|
* It opens automatically for transactions initiated with `withTrackedModal: true`.
|
401
411
|
*/
|
402
|
-
declare function TrackingTxModal<
|
412
|
+
declare function TrackingTxModal<T extends Transaction>({ adapter, onClose, onOpenWalletInfo, className, customization, transactionsPool, handleTransaction, initialTx, connectedWalletAddress, }: TrackingTxModalProps<T>): react_jsx_runtime.JSX.Element | null;
|
403
413
|
|
404
414
|
/**
|
405
415
|
* @file This file contains the `TransactionHistoryItem` component, which renders a single transaction
|
@@ -416,30 +426,30 @@ type CustomTimestampProps = {
|
|
416
426
|
* Defines the structure for the `customization` prop, allowing users to override
|
417
427
|
* default sub-components with their own implementations for a history item.
|
418
428
|
*/
|
419
|
-
type TransactionHistoryItemCustomization<
|
429
|
+
type TransactionHistoryItemCustomization<T extends Transaction> = {
|
420
430
|
components?: {
|
421
431
|
Icon?: ComponentType<CustomIconProps>;
|
422
432
|
Title?: ComponentType<StatusAwareTextProps>;
|
423
433
|
Description?: ComponentType<StatusAwareTextProps>;
|
424
434
|
Timestamp?: ComponentType<CustomTimestampProps>;
|
425
|
-
StatusBadge?: ComponentType<TransactionStatusBadgeProps<
|
426
|
-
TransactionKey?: ComponentType<TransactionKeyProps<
|
435
|
+
StatusBadge?: ComponentType<TransactionStatusBadgeProps<T>>;
|
436
|
+
TransactionKey?: ComponentType<TransactionKeyProps<T>>;
|
427
437
|
};
|
428
438
|
};
|
429
|
-
type TransactionHistoryItemProps<
|
439
|
+
type TransactionHistoryItemProps<T extends Transaction> = {
|
430
440
|
/** The transaction object to display. */
|
431
441
|
tx: T;
|
432
442
|
/** An object to customize and override the default internal components. */
|
433
|
-
customization?: TransactionHistoryItemCustomization<
|
443
|
+
customization?: TransactionHistoryItemCustomization<T>;
|
434
444
|
/** Optional additional CSS classes for the container. */
|
435
445
|
className?: string;
|
436
|
-
} & Pick<NovaProviderProps<
|
446
|
+
} & Pick<NovaProviderProps<T>, 'adapter' | 'transactionsPool'>;
|
437
447
|
/**
|
438
448
|
* A component that renders a single row in the transaction history list.
|
439
449
|
* It is highly customizable via the `customization` prop, allowing developers
|
440
450
|
* to override any of its internal parts with their own components.
|
441
451
|
*/
|
442
|
-
declare function TransactionHistoryItem<
|
452
|
+
declare function TransactionHistoryItem<T extends Transaction>({ tx, adapter, transactionsPool, className, customization, }: TransactionHistoryItemProps<T>): JSX.Element;
|
443
453
|
|
444
454
|
type CustomPlaceholderProps = {
|
445
455
|
title: string;
|
@@ -448,30 +458,28 @@ type CustomPlaceholderProps = {
|
|
448
458
|
/**
|
449
459
|
* Defines the customization options for the TransactionsHistory component.
|
450
460
|
*/
|
451
|
-
type TransactionsHistoryCustomization<
|
461
|
+
type TransactionsHistoryCustomization<T extends Transaction> = {
|
452
462
|
classNames?: {
|
453
463
|
listWrapper?: string;
|
454
464
|
};
|
455
465
|
components?: {
|
456
466
|
Placeholder?: ComponentType<CustomPlaceholderProps>;
|
457
|
-
HistoryItem?: ComponentType<TransactionHistoryItemProps<
|
467
|
+
HistoryItem?: ComponentType<TransactionHistoryItemProps<T>>;
|
458
468
|
};
|
459
469
|
};
|
460
470
|
/**
|
461
471
|
* Defines the props for the TransactionsHistory component.
|
462
|
-
* @template TR - The type of the tracker identifier.
|
463
472
|
* @template T - The transaction type.
|
464
|
-
* @template A - The type of the key returned by an action function.
|
465
473
|
*/
|
466
|
-
type TransactionsHistoryProps<
|
474
|
+
type TransactionsHistoryProps<T extends Transaction> = Pick<NovaProviderProps<T>, 'adapter' | 'transactionsPool' | 'connectedWalletAddress'> & {
|
467
475
|
className?: string;
|
468
|
-
customization?: TransactionsHistoryCustomization<
|
476
|
+
customization?: TransactionsHistoryCustomization<T>;
|
469
477
|
};
|
470
478
|
/**
|
471
479
|
* A component that displays a scrollable list of transactions for the connected wallet.
|
472
480
|
* It handles states for when a wallet is not connected or when the history is empty.
|
473
481
|
*/
|
474
|
-
declare function TransactionsHistory<
|
482
|
+
declare function TransactionsHistory<T extends Transaction>({ adapter, connectedWalletAddress, transactionsPool, className, customization, }: TransactionsHistoryProps<T>): react_jsx_runtime.JSX.Element;
|
475
483
|
|
476
484
|
/**
|
477
485
|
* @file This file contains the `WalletAddressDisplay` component, a UI element for showing a wallet address.
|
@@ -518,7 +526,7 @@ type NameRenderProps = {
|
|
518
526
|
/**
|
519
527
|
* Defines the props for the `WalletHeader` component, including extensive customization options.
|
520
528
|
*/
|
521
|
-
type WalletHeaderProps<
|
529
|
+
type WalletHeaderProps<T extends Transaction> = Pick<NovaProviderProps<T>, 'adapter' | 'connectedAdapterType'> & {
|
522
530
|
walletAddress?: string;
|
523
531
|
explorerUrl?: string;
|
524
532
|
className?: string;
|
@@ -531,7 +539,7 @@ type WalletHeaderProps<TR, T extends Transaction<TR>, A> = Pick<NovaProviderProp
|
|
531
539
|
* A component that displays the header for the wallet modal, including the user's avatar,
|
532
540
|
* name (if available), and address. It leverages the active adapter to fetch name service data.
|
533
541
|
*/
|
534
|
-
declare function WalletHeader<
|
542
|
+
declare function WalletHeader<T extends Transaction>({ walletAddress, adapter, connectedAdapterType, className, renderAvatar, renderName, renderAddressDisplay, renderNoWalletContent, explorerUrl, }: WalletHeaderProps<T>): react_jsx_runtime.JSX.Element;
|
535
543
|
|
536
544
|
type CustomHeaderProps = {
|
537
545
|
closeModal: () => void;
|
@@ -539,7 +547,7 @@ type CustomHeaderProps = {
|
|
539
547
|
/**
|
540
548
|
* Defines the customization options for the WalletInfoModal.
|
541
549
|
*/
|
542
|
-
type WalletInfoModalCustomization<
|
550
|
+
type WalletInfoModalCustomization<T extends Transaction> = {
|
543
551
|
modalProps?: Partial<ComponentPropsWithoutRef<typeof Dialog.Content>>;
|
544
552
|
motionProps?: MotionProps;
|
545
553
|
classNames?: {
|
@@ -547,22 +555,22 @@ type WalletInfoModalCustomization<TR, T extends Transaction<TR>, A> = {
|
|
547
555
|
};
|
548
556
|
components?: {
|
549
557
|
Header?: ComponentType<CustomHeaderProps>;
|
550
|
-
WalletInfo?: ComponentType<WalletHeaderProps<
|
551
|
-
History?: ComponentType<TransactionsHistoryProps<
|
558
|
+
WalletInfo?: ComponentType<WalletHeaderProps<T>>;
|
559
|
+
History?: ComponentType<TransactionsHistoryProps<T>>;
|
552
560
|
};
|
553
561
|
};
|
554
562
|
/**
|
555
563
|
* Defines the core props for the WalletInfoModal.
|
556
564
|
*/
|
557
|
-
type WalletInfoModalProps<
|
565
|
+
type WalletInfoModalProps<T extends Transaction> = Pick<NovaProviderProps<T>, 'adapter' | 'connectedAdapterType' | 'connectedWalletAddress' | 'transactionsPool'> & {
|
558
566
|
isOpen?: boolean;
|
559
567
|
setIsOpen: (value: boolean) => void;
|
560
|
-
customization?: WalletInfoModalCustomization<
|
568
|
+
customization?: WalletInfoModalCustomization<T>;
|
561
569
|
};
|
562
570
|
/**
|
563
571
|
* The main modal component for displaying wallet information and transaction history.
|
564
572
|
* It is highly customizable and built with accessibility in mind using Radix UI.
|
565
573
|
*/
|
566
|
-
declare function WalletInfoModal<
|
574
|
+
declare function WalletInfoModal<T extends Transaction>({ isOpen, setIsOpen, customization, adapter, connectedAdapterType, connectedWalletAddress, transactionsPool, }: WalletInfoModalProps<T>): react_jsx_runtime.JSX.Element;
|
567
575
|
|
568
576
|
export { TransactionsHistory as A, type TransactionStatusBadgeProps as B, TransactionStatusBadge as C, WalletAddressDisplay as D, type WalletAvatarProps as E, WalletAvatar as F, type WalletHeaderProps as G, type HashLinkProps as H, WalletHeader as I, type WalletInfoModalCustomization as J, type WalletInfoModalProps as K, WalletInfoModal as L, NovaProvider as M, type NovaProviderProps as N, type StatusAwareTextProps as S, type TuwaLabels as T, type WalletAddressDisplayProps as W, HashLink as a, StatusAwareText as b, type ToastTransactionCustomization as c, type ToastTransactionProps as d, ToastTransaction as e, type TrackingTxModalCustomization as f, type TrackingTxModalProps as g, TrackingTxModal as h, type TxErrorBlockProps as i, TxErrorBlock as j, type TxInfoBlockCustomization as k, type TxInfoBlockProps as l, TxInfoBlock as m, type StepStatus as n, type StepProps as o, type TxProgressIndicatorProps as p, TxProgressIndicator as q, type TxStatusVisualProps as r, TxStatusVisual as s, type TransactionHistoryItemCustomization as t, type TransactionHistoryItemProps as u, TransactionHistoryItem as v, type TransactionKeyProps as w, TransactionKey as x, type TransactionsHistoryCustomization as y, type TransactionsHistoryProps as z };
|