@tuwaio/nova-connect 1.0.0-fix-test-alpha.60.80c744e → 1.0.0-fix-test-alpha.62.a3a7178
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 +179 -42
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -596
- package/dist/index.d.ts +13 -596
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/providers/index.cjs +3 -3
- package/dist/providers/index.cjs.map +1 -1
- package/dist/providers/index.d.cts +2 -38
- package/dist/providers/index.d.ts +2 -38
- package/dist/providers/index.js +3 -3
- package/dist/providers/index.js.map +1 -1
- package/package.json +8 -8
- package/dist/evm/index.d.cts +0 -31
- package/dist/evm/index.d.ts +0 -31
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React$1 from 'react';
|
|
|
4
4
|
import React__default, { ComponentType, ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import * as Select from '@radix-ui/react-select';
|
|
7
|
-
import {
|
|
7
|
+
import { Transaction, TransactionPool, TxAdapter } from '@tuwaio/pulsar-core';
|
|
8
8
|
import { BaseWallet, ISatelliteConnectStore } from '@tuwaio/satellite-core';
|
|
9
9
|
import { StoreApi } from 'zustand/index';
|
|
10
10
|
import { Dialog, DialogContent, StarsBackground } from '@tuwaio/nova-core';
|
|
@@ -28,7 +28,6 @@ interface ChainData$1 {
|
|
|
28
28
|
interface CustomChainIconProps {
|
|
29
29
|
chainId: string | number;
|
|
30
30
|
className?: string;
|
|
31
|
-
style?: React__default.CSSProperties;
|
|
32
31
|
'aria-hidden'?: boolean;
|
|
33
32
|
}
|
|
34
33
|
/**
|
|
@@ -47,7 +46,6 @@ interface CustomActiveIndicatorProps {
|
|
|
47
46
|
isActive: boolean;
|
|
48
47
|
label: string;
|
|
49
48
|
className?: string;
|
|
50
|
-
style?: React__default.CSSProperties;
|
|
51
49
|
}
|
|
52
50
|
/**
|
|
53
51
|
* Animation configuration for container
|
|
@@ -112,39 +110,6 @@ interface ChainListRendererCustomization {
|
|
|
112
110
|
isMobile: boolean;
|
|
113
111
|
}) => string;
|
|
114
112
|
};
|
|
115
|
-
/** Custom style generators */
|
|
116
|
-
styles?: {
|
|
117
|
-
/** Container styles */
|
|
118
|
-
container?: (params: {
|
|
119
|
-
isMobile: boolean;
|
|
120
|
-
itemCount: number;
|
|
121
|
-
}) => React__default.CSSProperties;
|
|
122
|
-
/** Item styles */
|
|
123
|
-
item?: (params: {
|
|
124
|
-
isActive: boolean;
|
|
125
|
-
isMobile: boolean;
|
|
126
|
-
chainId: string | number;
|
|
127
|
-
}) => React__default.CSSProperties;
|
|
128
|
-
/** Content wrapper styles */
|
|
129
|
-
content?: (params: {
|
|
130
|
-
isActive: boolean;
|
|
131
|
-
isMobile: boolean;
|
|
132
|
-
}) => React__default.CSSProperties;
|
|
133
|
-
/** Icon styles */
|
|
134
|
-
icon?: (params: {
|
|
135
|
-
isActive: boolean;
|
|
136
|
-
chainId: string | number;
|
|
137
|
-
}) => React__default.CSSProperties;
|
|
138
|
-
/** Chain name styles */
|
|
139
|
-
chainName?: (params: {
|
|
140
|
-
isActive: boolean;
|
|
141
|
-
isMobile: boolean;
|
|
142
|
-
}) => React__default.CSSProperties;
|
|
143
|
-
/** Active indicator styles */
|
|
144
|
-
activeIndicator?: (params: {
|
|
145
|
-
isMobile: boolean;
|
|
146
|
-
}) => React__default.CSSProperties;
|
|
147
|
-
};
|
|
148
113
|
/** Custom event handlers */
|
|
149
114
|
handlers?: {
|
|
150
115
|
/** Custom click handler wrapper */
|
|
@@ -204,10 +169,6 @@ interface ChainListRendererProps {
|
|
|
204
169
|
className?: string;
|
|
205
170
|
/** Custom CSS classes for individual items (added to defaults) */
|
|
206
171
|
itemClassName?: string;
|
|
207
|
-
/** Custom inline styles for container */
|
|
208
|
-
style?: React__default.CSSProperties;
|
|
209
|
-
/** Custom inline styles for individual items */
|
|
210
|
-
itemStyle?: React__default.CSSProperties;
|
|
211
172
|
/** Comprehensive customization options */
|
|
212
173
|
customization?: ChainListRendererCustomization;
|
|
213
174
|
/** ARIA label for the list container */
|
|
@@ -505,7 +466,6 @@ interface NativeBalanceResult {
|
|
|
505
466
|
type CustomIconProps$3 = {
|
|
506
467
|
disabled: boolean;
|
|
507
468
|
className?: string;
|
|
508
|
-
style?: React.CSSProperties;
|
|
509
469
|
'aria-hidden'?: boolean;
|
|
510
470
|
};
|
|
511
471
|
type CustomContentProps$3 = {
|
|
@@ -538,18 +498,6 @@ type ToBottomButtonCustomization = {
|
|
|
538
498
|
disabled: boolean;
|
|
539
499
|
}) => string;
|
|
540
500
|
};
|
|
541
|
-
/** Custom style generators */
|
|
542
|
-
styles?: {
|
|
543
|
-
/** Function to generate button styles */
|
|
544
|
-
button?: (params: {
|
|
545
|
-
disabled: boolean;
|
|
546
|
-
hasOnClick: boolean;
|
|
547
|
-
}) => React.CSSProperties;
|
|
548
|
-
/** Function to generate icon styles */
|
|
549
|
-
icon?: (params: {
|
|
550
|
-
disabled: boolean;
|
|
551
|
-
}) => React.CSSProperties;
|
|
552
|
-
};
|
|
553
501
|
/** Custom event handlers */
|
|
554
502
|
handlers?: {
|
|
555
503
|
/** Custom click handler wrapper */
|
|
@@ -558,7 +506,7 @@ type ToBottomButtonCustomization = {
|
|
|
558
506
|
onKeyDown?: (originalHandler: (event: React.KeyboardEvent<HTMLButtonElement>) => void, event: React.KeyboardEvent<HTMLButtonElement>) => void;
|
|
559
507
|
};
|
|
560
508
|
};
|
|
561
|
-
interface ToBottomButtonProps extends Omit<ComponentPropsWithoutRef<'button'>, 'type' | 'onClick' | 'onKeyDown'> {
|
|
509
|
+
interface ToBottomButtonProps extends Omit<ComponentPropsWithoutRef<'button'>, 'type' | 'onClick' | 'onKeyDown' | 'style'> {
|
|
562
510
|
/** Custom CSS classes for the button */
|
|
563
511
|
className?: string;
|
|
564
512
|
/** Custom aria-label for the button */
|
|
@@ -579,7 +527,6 @@ declare const ToBottomButton: React$1.ForwardRefExoticComponent<ToBottomButtonPr
|
|
|
579
527
|
type CustomIconProps$2 = {
|
|
580
528
|
disabled: boolean;
|
|
581
529
|
className?: string;
|
|
582
|
-
style?: React.CSSProperties;
|
|
583
530
|
'aria-hidden'?: boolean;
|
|
584
531
|
};
|
|
585
532
|
type CustomContentProps$2 = {
|
|
@@ -612,18 +559,6 @@ type ToTopButtonCustomization = {
|
|
|
612
559
|
disabled: boolean;
|
|
613
560
|
}) => string;
|
|
614
561
|
};
|
|
615
|
-
/** Custom style generators */
|
|
616
|
-
styles?: {
|
|
617
|
-
/** Function to generate button styles */
|
|
618
|
-
button?: (params: {
|
|
619
|
-
disabled: boolean;
|
|
620
|
-
hasOnClick: boolean;
|
|
621
|
-
}) => React.CSSProperties;
|
|
622
|
-
/** Function to generate icon styles */
|
|
623
|
-
icon?: (params: {
|
|
624
|
-
disabled: boolean;
|
|
625
|
-
}) => React.CSSProperties;
|
|
626
|
-
};
|
|
627
562
|
/** Custom event handlers */
|
|
628
563
|
handlers?: {
|
|
629
564
|
/** Custom click handler wrapper */
|
|
@@ -632,7 +567,7 @@ type ToTopButtonCustomization = {
|
|
|
632
567
|
onKeyDown?: (originalHandler: (event: React.KeyboardEvent<HTMLButtonElement>) => void, event: React.KeyboardEvent<HTMLButtonElement>) => void;
|
|
633
568
|
};
|
|
634
569
|
};
|
|
635
|
-
interface ToTopButtonProps extends Omit<ComponentPropsWithoutRef<'button'>, 'type' | 'onClick' | 'onKeyDown'> {
|
|
570
|
+
interface ToTopButtonProps extends Omit<ComponentPropsWithoutRef<'button'>, 'type' | 'onClick' | 'onKeyDown' | 'style'> {
|
|
636
571
|
/** Custom CSS classes for the button */
|
|
637
572
|
className?: string;
|
|
638
573
|
/** Custom aria-label for the button */
|
|
@@ -681,7 +616,6 @@ interface CustomScrollContainerProps {
|
|
|
681
616
|
ref: React__default.RefObject<HTMLDivElement | null>;
|
|
682
617
|
onKeyDown: (event: React__default.KeyboardEvent<HTMLDivElement>) => void;
|
|
683
618
|
className?: string;
|
|
684
|
-
style?: React__default.CSSProperties;
|
|
685
619
|
role: string;
|
|
686
620
|
'aria-label': string;
|
|
687
621
|
tabIndex: number;
|
|
@@ -692,7 +626,6 @@ interface CustomScrollContainerProps {
|
|
|
692
626
|
interface CustomWrapperProps {
|
|
693
627
|
children: ReactNode;
|
|
694
628
|
className?: string;
|
|
695
|
-
style?: React__default.CSSProperties;
|
|
696
629
|
role: string;
|
|
697
630
|
'aria-label': string;
|
|
698
631
|
}
|
|
@@ -747,36 +680,6 @@ interface ScrollableChainListCustomization {
|
|
|
747
680
|
isVisible: boolean;
|
|
748
681
|
}) => string;
|
|
749
682
|
};
|
|
750
|
-
/** Custom style generators */
|
|
751
|
-
styles?: {
|
|
752
|
-
/** Wrapper styles */
|
|
753
|
-
wrapper?: (params: {
|
|
754
|
-
itemCount: number;
|
|
755
|
-
hasScrollableContent: boolean;
|
|
756
|
-
}) => React__default.CSSProperties;
|
|
757
|
-
/** Scroll container styles */
|
|
758
|
-
container?: (params: {
|
|
759
|
-
itemCount: number;
|
|
760
|
-
hasScrollableContent: boolean;
|
|
761
|
-
showTopButton: boolean;
|
|
762
|
-
showBottomButton: boolean;
|
|
763
|
-
}) => React__default.CSSProperties;
|
|
764
|
-
/** Button animation wrapper styles */
|
|
765
|
-
buttonWrapper?: (params: {
|
|
766
|
-
position: 'top' | 'bottom';
|
|
767
|
-
isVisible: boolean;
|
|
768
|
-
}) => React__default.CSSProperties;
|
|
769
|
-
/** Top button styles */
|
|
770
|
-
topButton?: (params: {
|
|
771
|
-
isVisible: boolean;
|
|
772
|
-
context: ScrollButtonContext;
|
|
773
|
-
}) => React__default.CSSProperties;
|
|
774
|
-
/** Bottom button styles */
|
|
775
|
-
bottomButton?: (params: {
|
|
776
|
-
isVisible: boolean;
|
|
777
|
-
context: ScrollButtonContext;
|
|
778
|
-
}) => React__default.CSSProperties;
|
|
779
|
-
};
|
|
780
683
|
/** Custom event handlers */
|
|
781
684
|
handlers?: {
|
|
782
685
|
/** Custom scroll handler wrapper */
|
|
@@ -841,10 +744,6 @@ interface ScrollableChainListProps {
|
|
|
841
744
|
getChainData: (chain: string | number) => ChainData;
|
|
842
745
|
/** Handler called when list should close */
|
|
843
746
|
onClose: () => void;
|
|
844
|
-
/** Custom inline styles for wrapper */
|
|
845
|
-
style?: React__default.CSSProperties;
|
|
846
|
-
/** Custom inline styles for scroll container */
|
|
847
|
-
containerStyle?: React__default.CSSProperties;
|
|
848
747
|
/** Comprehensive customization options */
|
|
849
748
|
customization?: ScrollableChainListCustomization;
|
|
850
749
|
/** ARIA label for the wrapper */
|
|
@@ -863,7 +762,6 @@ type CustomDisconnectButtonProps = {
|
|
|
863
762
|
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
864
763
|
labels: Record<string, string>;
|
|
865
764
|
className?: string;
|
|
866
|
-
style?: React.CSSProperties;
|
|
867
765
|
'data-testid'?: string;
|
|
868
766
|
'aria-describedby'?: string;
|
|
869
767
|
disabled?: boolean;
|
|
@@ -874,7 +772,6 @@ type CustomExplorerLinkProps = {
|
|
|
874
772
|
walletAddress: string;
|
|
875
773
|
isValidUrl: boolean;
|
|
876
774
|
className?: string;
|
|
877
|
-
style?: React.CSSProperties;
|
|
878
775
|
'data-testid'?: string;
|
|
879
776
|
'aria-describedby'?: string;
|
|
880
777
|
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
@@ -883,7 +780,6 @@ type CustomDisconnectIconProps = {
|
|
|
883
780
|
pathData: string;
|
|
884
781
|
variants?: Variants;
|
|
885
782
|
className?: string;
|
|
886
|
-
style?: React.CSSProperties;
|
|
887
783
|
strokeWidth?: string | number;
|
|
888
784
|
strokeLinecap?: 'butt' | 'round' | 'square';
|
|
889
785
|
strokeLinejoin?: 'miter' | 'bevel' | 'round';
|
|
@@ -897,7 +793,6 @@ type CustomExplorerIconProps = {
|
|
|
897
793
|
pathData: string;
|
|
898
794
|
variants?: Variants;
|
|
899
795
|
className?: string;
|
|
900
|
-
style?: React.CSSProperties;
|
|
901
796
|
strokeWidth?: string | number;
|
|
902
797
|
strokeLinecap?: 'butt' | 'round' | 'square';
|
|
903
798
|
strokeLinejoin?: 'miter' | 'bevel' | 'round';
|
|
@@ -967,39 +862,6 @@ type ConnectedModalFooterCustomization = {
|
|
|
967
862
|
/** Function to generate screen reader text classes */
|
|
968
863
|
screenReaderText?: () => string;
|
|
969
864
|
};
|
|
970
|
-
/** Custom style generators */
|
|
971
|
-
styles?: {
|
|
972
|
-
/** Function to generate container styles */
|
|
973
|
-
container?: (params: {
|
|
974
|
-
isValidExplorerUrl: boolean;
|
|
975
|
-
walletAddress: string;
|
|
976
|
-
}) => React.CSSProperties;
|
|
977
|
-
/** Function to generate disconnect button styles */
|
|
978
|
-
disconnectButton?: (params: {
|
|
979
|
-
disabled?: boolean;
|
|
980
|
-
}) => React.CSSProperties;
|
|
981
|
-
/** Function to generate explorer link styles */
|
|
982
|
-
explorerLink?: (params: {
|
|
983
|
-
isValidUrl: boolean;
|
|
984
|
-
disabled?: boolean;
|
|
985
|
-
}) => React.CSSProperties;
|
|
986
|
-
/** Function to generate disconnect icon container styles */
|
|
987
|
-
disconnectIconContainer?: () => React.CSSProperties;
|
|
988
|
-
/** Function to generate explorer icon container styles */
|
|
989
|
-
explorerIconContainer?: () => React.CSSProperties;
|
|
990
|
-
/** Function to generate disconnect icon styles */
|
|
991
|
-
disconnectIcon?: () => React.CSSProperties;
|
|
992
|
-
/** Function to generate explorer icon styles */
|
|
993
|
-
explorerIcon?: (params: {
|
|
994
|
-
isValidUrl: boolean;
|
|
995
|
-
}) => React.CSSProperties;
|
|
996
|
-
/** Function to generate button text styles */
|
|
997
|
-
buttonText?: (params: {
|
|
998
|
-
buttonType: 'disconnect' | 'explorer';
|
|
999
|
-
}) => React.CSSProperties;
|
|
1000
|
-
/** Function to generate screen reader text styles */
|
|
1001
|
-
screenReaderText?: () => React.CSSProperties;
|
|
1002
|
-
};
|
|
1003
865
|
/** Custom animation variants */
|
|
1004
866
|
variants?: {
|
|
1005
867
|
/** Disconnect icon animation variants */
|
|
@@ -1250,15 +1112,6 @@ type WalletAvatarCustomization = {
|
|
|
1250
1112
|
address: string;
|
|
1251
1113
|
}) => string;
|
|
1252
1114
|
};
|
|
1253
|
-
/** Custom style generators */
|
|
1254
|
-
styles?: {
|
|
1255
|
-
/** Function to generate container styles */
|
|
1256
|
-
container?: (params: {
|
|
1257
|
-
bgColor: string;
|
|
1258
|
-
size: WalletAvatarSize;
|
|
1259
|
-
address: string;
|
|
1260
|
-
}) => React.CSSProperties;
|
|
1261
|
-
};
|
|
1262
1115
|
/** Custom utilities */
|
|
1263
1116
|
utils?: {
|
|
1264
1117
|
/** Custom blockie generator function */
|
|
@@ -1304,7 +1157,6 @@ type WalletNameDisplayProps = {
|
|
|
1304
1157
|
activeWallet: NonNullable<ReturnType<typeof useNovaConnect>['activeWallet']>;
|
|
1305
1158
|
labels: Record<string, string>;
|
|
1306
1159
|
className?: string;
|
|
1307
|
-
style?: React__default.CSSProperties;
|
|
1308
1160
|
};
|
|
1309
1161
|
type CopyButtonProps = {
|
|
1310
1162
|
isCopied: boolean;
|
|
@@ -1312,7 +1164,6 @@ type CopyButtonProps = {
|
|
|
1312
1164
|
activeWallet: NonNullable<ReturnType<typeof useNovaConnect>['activeWallet']>;
|
|
1313
1165
|
labels: Record<string, string>;
|
|
1314
1166
|
className?: string;
|
|
1315
|
-
style?: React__default.CSSProperties;
|
|
1316
1167
|
disabled?: boolean;
|
|
1317
1168
|
};
|
|
1318
1169
|
type BalanceDisplayProps = {
|
|
@@ -1320,21 +1171,18 @@ type BalanceDisplayProps = {
|
|
|
1320
1171
|
balanceLoading: boolean;
|
|
1321
1172
|
labels: Record<string, string>;
|
|
1322
1173
|
className?: string;
|
|
1323
|
-
style?: React__default.CSSProperties;
|
|
1324
1174
|
};
|
|
1325
1175
|
type ScreenReaderFeedbackProps = {
|
|
1326
1176
|
isCopied: boolean;
|
|
1327
1177
|
activeWallet: NonNullable<ReturnType<typeof useNovaConnect>['activeWallet']>;
|
|
1328
1178
|
labels: Record<string, string>;
|
|
1329
1179
|
className?: string;
|
|
1330
|
-
style?: React__default.CSSProperties;
|
|
1331
1180
|
};
|
|
1332
1181
|
type LiveRegionProps = {
|
|
1333
1182
|
balanceLoading: boolean;
|
|
1334
1183
|
balance?: ConnectedModalMainContentProps['balance'];
|
|
1335
1184
|
labels: Record<string, string>;
|
|
1336
1185
|
className?: string;
|
|
1337
|
-
style?: React__default.CSSProperties;
|
|
1338
1186
|
};
|
|
1339
1187
|
/**
|
|
1340
1188
|
* Customization options for ConnectedModalNameAndBalance component
|
|
@@ -1396,47 +1244,6 @@ type ConnectedModalNameAndBalanceCustomization = {
|
|
|
1396
1244
|
/** Function to generate live region classes */
|
|
1397
1245
|
liveRegion?: () => string;
|
|
1398
1246
|
};
|
|
1399
|
-
/** Custom style generators */
|
|
1400
|
-
styles?: {
|
|
1401
|
-
/** Function to generate container styles */
|
|
1402
|
-
container?: (params: {
|
|
1403
|
-
hasActiveWallet: boolean;
|
|
1404
|
-
isCopied: boolean;
|
|
1405
|
-
balanceLoading: boolean;
|
|
1406
|
-
hasBalance: boolean;
|
|
1407
|
-
}) => React__default.CSSProperties;
|
|
1408
|
-
/** Function to generate wallet name header container styles */
|
|
1409
|
-
walletNameHeaderContainer?: () => React__default.CSSProperties;
|
|
1410
|
-
/** Function to generate wallet name display styles */
|
|
1411
|
-
walletNameDisplay?: (params: {
|
|
1412
|
-
ensNameAbbreviated?: string;
|
|
1413
|
-
}) => React__default.CSSProperties;
|
|
1414
|
-
/** Function to generate copy button styles */
|
|
1415
|
-
copyButton?: (params: {
|
|
1416
|
-
isCopied: boolean;
|
|
1417
|
-
disabled: boolean;
|
|
1418
|
-
}) => React__default.CSSProperties;
|
|
1419
|
-
/** Function to generate copy icon styles */
|
|
1420
|
-
copyIcon?: () => React__default.CSSProperties;
|
|
1421
|
-
/** Function to generate check icon styles */
|
|
1422
|
-
checkIcon?: () => React__default.CSSProperties;
|
|
1423
|
-
/** Function to generate balance container styles */
|
|
1424
|
-
balanceContainer?: () => React__default.CSSProperties;
|
|
1425
|
-
/** Function to generate balance loading styles */
|
|
1426
|
-
balanceLoading?: () => React__default.CSSProperties;
|
|
1427
|
-
/** Function to generate balance display styles */
|
|
1428
|
-
balanceDisplay?: () => React__default.CSSProperties;
|
|
1429
|
-
/** Function to generate balance value styles */
|
|
1430
|
-
balanceValue?: () => React__default.CSSProperties;
|
|
1431
|
-
/** Function to generate balance symbol styles */
|
|
1432
|
-
balanceSymbol?: () => React__default.CSSProperties;
|
|
1433
|
-
/** Function to generate no balance styles */
|
|
1434
|
-
noBalance?: () => React__default.CSSProperties;
|
|
1435
|
-
/** Function to generate screen reader feedback styles */
|
|
1436
|
-
screenReaderFeedback?: () => React__default.CSSProperties;
|
|
1437
|
-
/** Function to generate live region styles */
|
|
1438
|
-
liveRegion?: () => React__default.CSSProperties;
|
|
1439
|
-
};
|
|
1440
1247
|
/** Custom animation variants */
|
|
1441
1248
|
variants?: {
|
|
1442
1249
|
/** Container animation variants */
|
|
@@ -1596,7 +1403,6 @@ type CustomFallbackIconProps = {
|
|
|
1596
1403
|
walletName: string;
|
|
1597
1404
|
size: number;
|
|
1598
1405
|
className?: string;
|
|
1599
|
-
style?: React.CSSProperties;
|
|
1600
1406
|
};
|
|
1601
1407
|
/**
|
|
1602
1408
|
* Customization options for WalletIcon component
|
|
@@ -1663,23 +1469,19 @@ type CustomWalletIconContainerProps = {
|
|
|
1663
1469
|
showLoading: boolean;
|
|
1664
1470
|
labels: Record<string, string>;
|
|
1665
1471
|
className?: string;
|
|
1666
|
-
style?: React.CSSProperties;
|
|
1667
1472
|
};
|
|
1668
1473
|
type CustomChainIconContainerProps = {
|
|
1669
1474
|
chainId: string | number;
|
|
1670
1475
|
walletChainId?: string | number;
|
|
1671
1476
|
className?: string;
|
|
1672
|
-
style?: React.CSSProperties;
|
|
1673
1477
|
};
|
|
1674
1478
|
type CustomChevronContainerProps = {
|
|
1675
1479
|
isOpen: boolean;
|
|
1676
1480
|
className?: string;
|
|
1677
|
-
style?: React.CSSProperties;
|
|
1678
1481
|
};
|
|
1679
1482
|
type CustomLoadingOverlayProps = {
|
|
1680
1483
|
loading: boolean;
|
|
1681
1484
|
className?: string;
|
|
1682
|
-
style?: React.CSSProperties;
|
|
1683
1485
|
};
|
|
1684
1486
|
type CustomButtonContentProps$1 = {
|
|
1685
1487
|
walletIconContainer: ReactNode;
|
|
@@ -1742,36 +1544,6 @@ type IconButtonCustomization = {
|
|
|
1742
1544
|
/** Function to generate loading spinner classes */
|
|
1743
1545
|
loadingSpinner?: () => string;
|
|
1744
1546
|
};
|
|
1745
|
-
/** Custom style generators */
|
|
1746
|
-
styles?: {
|
|
1747
|
-
/** Function to generate button styles */
|
|
1748
|
-
button?: (params: {
|
|
1749
|
-
isClickable: boolean;
|
|
1750
|
-
disabled: boolean;
|
|
1751
|
-
loading: boolean;
|
|
1752
|
-
hasMultipleIcons: boolean;
|
|
1753
|
-
}) => React.CSSProperties;
|
|
1754
|
-
/** Function to generate wallet icon container styles */
|
|
1755
|
-
walletIconContainer?: (params: {
|
|
1756
|
-
showLoading: boolean;
|
|
1757
|
-
hasWalletIcon: boolean;
|
|
1758
|
-
}) => React.CSSProperties;
|
|
1759
|
-
/** Function to generate chain icon container styles */
|
|
1760
|
-
chainIconContainer?: (params: {
|
|
1761
|
-
hasChainIcon: boolean;
|
|
1762
|
-
}) => React.CSSProperties;
|
|
1763
|
-
/** Function to generate chevron container styles */
|
|
1764
|
-
chevronContainer?: (params: {
|
|
1765
|
-
isOpen: boolean;
|
|
1766
|
-
isClickable: boolean;
|
|
1767
|
-
}) => React.CSSProperties;
|
|
1768
|
-
/** Function to generate loading overlay styles */
|
|
1769
|
-
loadingOverlay?: (params: {
|
|
1770
|
-
loading: boolean;
|
|
1771
|
-
}) => React.CSSProperties;
|
|
1772
|
-
/** Function to generate loading spinner styles */
|
|
1773
|
-
loadingSpinner?: () => React.CSSProperties;
|
|
1774
|
-
};
|
|
1775
1547
|
/** Customization options for child components */
|
|
1776
1548
|
childCustomizations?: {
|
|
1777
1549
|
/** WalletIcon customization */
|
|
@@ -1953,7 +1725,7 @@ interface IconButtonProps {
|
|
|
1953
1725
|
* />
|
|
1954
1726
|
* ```
|
|
1955
1727
|
*/
|
|
1956
|
-
declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<HTMLButtonElement
|
|
1728
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<Omit<HTMLButtonElement, "style">>>;
|
|
1957
1729
|
|
|
1958
1730
|
/**
|
|
1959
1731
|
* @file ConnectedModalMainContent component with comprehensive customization options for all child components.
|
|
@@ -1963,7 +1735,6 @@ type LoadingIndicatorProps = {
|
|
|
1963
1735
|
isLoading: boolean;
|
|
1964
1736
|
labels: Record<string, string>;
|
|
1965
1737
|
className?: string;
|
|
1966
|
-
style?: React__default.CSSProperties;
|
|
1967
1738
|
};
|
|
1968
1739
|
type AvatarSectionProps = {
|
|
1969
1740
|
activeWallet: NonNullable<ReturnType<typeof useNovaConnect>['activeWallet']>;
|
|
@@ -1975,7 +1746,6 @@ type AvatarSectionProps = {
|
|
|
1975
1746
|
onSwitchWallet: () => void;
|
|
1976
1747
|
onSwitchNetwork: () => void;
|
|
1977
1748
|
className?: string;
|
|
1978
|
-
style?: React__default.CSSProperties;
|
|
1979
1749
|
};
|
|
1980
1750
|
type InfoSectionProps = {
|
|
1981
1751
|
balanceLoading: boolean;
|
|
@@ -1983,20 +1753,17 @@ type InfoSectionProps = {
|
|
|
1983
1753
|
ensNameAbbreviated: string | undefined;
|
|
1984
1754
|
labels: Record<string, string>;
|
|
1985
1755
|
className?: string;
|
|
1986
|
-
style?: React__default.CSSProperties;
|
|
1987
1756
|
};
|
|
1988
1757
|
type TransactionsSectionProps = {
|
|
1989
|
-
walletTransactions:
|
|
1758
|
+
walletTransactions: Transaction[];
|
|
1990
1759
|
hasPendingTransactions: boolean;
|
|
1991
1760
|
labels: Record<string, string>;
|
|
1992
1761
|
onViewTransactions: () => void;
|
|
1993
1762
|
showPendingIndicators?: boolean;
|
|
1994
1763
|
className?: string;
|
|
1995
|
-
style?: React__default.CSSProperties;
|
|
1996
1764
|
};
|
|
1997
1765
|
type NoTransactionsIndicatorProps = {
|
|
1998
1766
|
className?: string;
|
|
1999
|
-
style?: React__default.CSSProperties;
|
|
2000
1767
|
};
|
|
2001
1768
|
/**
|
|
2002
1769
|
* Customization options for ConnectedModalMainContent component
|
|
@@ -2070,51 +1837,6 @@ type ConnectedModalMainContentCustomization = {
|
|
|
2070
1837
|
/** Function to generate no transactions classes */
|
|
2071
1838
|
noTransactions?: () => string;
|
|
2072
1839
|
};
|
|
2073
|
-
/** Custom style generators */
|
|
2074
|
-
styles?: {
|
|
2075
|
-
/** Function to generate container styles */
|
|
2076
|
-
container?: (params: {
|
|
2077
|
-
hasActiveWallet: boolean;
|
|
2078
|
-
isLoading: boolean;
|
|
2079
|
-
hasTransactions: boolean;
|
|
2080
|
-
hasPendingTransactions: boolean;
|
|
2081
|
-
}) => React__default.CSSProperties;
|
|
2082
|
-
/** Function to generate loading indicator styles */
|
|
2083
|
-
loadingIndicator?: (params: {
|
|
2084
|
-
isLoading: boolean;
|
|
2085
|
-
}) => React__default.CSSProperties;
|
|
2086
|
-
/** Function to generate loading spinner styles */
|
|
2087
|
-
loadingSpinner?: () => React__default.CSSProperties;
|
|
2088
|
-
/** Function to generate avatar section styles */
|
|
2089
|
-
avatarSection?: () => React__default.CSSProperties;
|
|
2090
|
-
/** Function to generate wallet avatar styles */
|
|
2091
|
-
walletAvatar?: (params: {
|
|
2092
|
-
ensAvatar: string | null;
|
|
2093
|
-
}) => React__default.CSSProperties;
|
|
2094
|
-
/** Function to generate switch wallet button styles */
|
|
2095
|
-
switchWalletButton?: (params: {
|
|
2096
|
-
connectorsCount: number;
|
|
2097
|
-
}) => React__default.CSSProperties;
|
|
2098
|
-
/** Function to generate switch network button styles */
|
|
2099
|
-
switchNetworkButton?: (params: {
|
|
2100
|
-
chainsCount: number;
|
|
2101
|
-
}) => React__default.CSSProperties;
|
|
2102
|
-
/** Function to generate info section styles */
|
|
2103
|
-
infoSection?: () => React__default.CSSProperties;
|
|
2104
|
-
/** Function to generate transactions section styles */
|
|
2105
|
-
transactionsSection?: (params: {
|
|
2106
|
-
transactionsCount: number;
|
|
2107
|
-
hasPendingTransactions: boolean;
|
|
2108
|
-
}) => React__default.CSSProperties;
|
|
2109
|
-
/** Function to generate transactions button styles */
|
|
2110
|
-
transactionsButton?: () => React__default.CSSProperties;
|
|
2111
|
-
/** Function to generate pending indicator styles */
|
|
2112
|
-
pendingIndicator?: () => React__default.CSSProperties;
|
|
2113
|
-
/** Function to generate pending spinner styles */
|
|
2114
|
-
pendingSpinner?: () => React__default.CSSProperties;
|
|
2115
|
-
/** Function to generate no transactions styles */
|
|
2116
|
-
noTransactions?: () => React__default.CSSProperties;
|
|
2117
|
-
};
|
|
2118
1840
|
/** Custom animation variants */
|
|
2119
1841
|
variants?: {
|
|
2120
1842
|
/** Container animation variants */
|
|
@@ -2171,7 +1893,7 @@ type ConnectedModalMainContentCustomization = {
|
|
|
2171
1893
|
/** Custom handler for loading state changes */
|
|
2172
1894
|
onLoadingStateChange?: (isLoading: boolean) => void;
|
|
2173
1895
|
/** Custom handler for transaction updates */
|
|
2174
|
-
onTransactionsUpdate?: (transactions:
|
|
1896
|
+
onTransactionsUpdate?: (transactions: Transaction[], pendingCount: number) => void;
|
|
2175
1897
|
};
|
|
2176
1898
|
/** Child component customizations */
|
|
2177
1899
|
childCustomizations?: {
|
|
@@ -2321,15 +2043,12 @@ declare const ConnectedModalMainContent: React__default.ForwardRefExoticComponen
|
|
|
2321
2043
|
type CustomLoadingContainerProps = {
|
|
2322
2044
|
labels: Record<string, string>;
|
|
2323
2045
|
className?: string;
|
|
2324
|
-
style?: React__default.CSSProperties;
|
|
2325
2046
|
};
|
|
2326
2047
|
type CustomErrorContainerProps = {
|
|
2327
2048
|
className?: string;
|
|
2328
|
-
style?: React__default.CSSProperties;
|
|
2329
2049
|
};
|
|
2330
2050
|
type CustomNoWalletContainerProps = {
|
|
2331
2051
|
className?: string;
|
|
2332
|
-
style?: React__default.CSSProperties;
|
|
2333
2052
|
};
|
|
2334
2053
|
type CustomTransactionsHistoryWrapperProps = {
|
|
2335
2054
|
children: ReactNode;
|
|
@@ -2338,7 +2057,6 @@ type CustomTransactionsHistoryWrapperProps = {
|
|
|
2338
2057
|
pulsarAdapter: NonNullable<ConnectButtonProps['pulsarAdapter']>;
|
|
2339
2058
|
labels: Record<string, string>;
|
|
2340
2059
|
className?: string;
|
|
2341
|
-
style?: React__default.CSSProperties;
|
|
2342
2060
|
};
|
|
2343
2061
|
/**
|
|
2344
2062
|
* Customization options for ConnectedModalTxHistory component
|
|
@@ -2401,50 +2119,6 @@ type ConnectedModalTxHistoryCustomization = {
|
|
|
2401
2119
|
/** Function to generate transactions history wrapper classes */
|
|
2402
2120
|
transactionsHistoryWrapper?: () => string;
|
|
2403
2121
|
};
|
|
2404
|
-
/** Custom style generators */
|
|
2405
|
-
styles?: {
|
|
2406
|
-
/** Function to generate container styles */
|
|
2407
|
-
container?: (params: {
|
|
2408
|
-
hasActiveWallet: boolean;
|
|
2409
|
-
hasValidAdapter: boolean;
|
|
2410
|
-
}) => React__default.CSSProperties;
|
|
2411
|
-
/** Function to generate loading container styles */
|
|
2412
|
-
loadingContainer?: () => React__default.CSSProperties;
|
|
2413
|
-
/** Function to generate loading spinner styles */
|
|
2414
|
-
loadingSpinner?: () => React__default.CSSProperties;
|
|
2415
|
-
/** Function to generate loading text styles */
|
|
2416
|
-
loadingText?: () => React__default.CSSProperties;
|
|
2417
|
-
/** Function to generate error container styles */
|
|
2418
|
-
errorContainer?: () => React__default.CSSProperties;
|
|
2419
|
-
/** Function to generate error icon container styles */
|
|
2420
|
-
errorIconContainer?: () => React__default.CSSProperties;
|
|
2421
|
-
/** Function to generate error icon styles */
|
|
2422
|
-
errorIcon?: () => React__default.CSSProperties;
|
|
2423
|
-
/** Function to generate error content styles */
|
|
2424
|
-
errorContent?: () => React__default.CSSProperties;
|
|
2425
|
-
/** Function to generate error title styles */
|
|
2426
|
-
errorTitle?: () => React__default.CSSProperties;
|
|
2427
|
-
/** Function to generate error description styles */
|
|
2428
|
-
errorDescription?: () => React__default.CSSProperties;
|
|
2429
|
-
/** Function to generate no wallet container styles */
|
|
2430
|
-
noWalletContainer?: () => React__default.CSSProperties;
|
|
2431
|
-
/** Function to generate no wallet text styles */
|
|
2432
|
-
noWalletText?: () => React__default.CSSProperties;
|
|
2433
|
-
/** Function to generate pulsar required container styles */
|
|
2434
|
-
pulsarRequiredContainer?: () => React__default.CSSProperties;
|
|
2435
|
-
/** Function to generate pulsar required icon container styles */
|
|
2436
|
-
pulsarRequiredIconContainer?: () => React__default.CSSProperties;
|
|
2437
|
-
/** Function to generate pulsar required icon styles */
|
|
2438
|
-
pulsarRequiredIcon?: () => React__default.CSSProperties;
|
|
2439
|
-
/** Function to generate pulsar required content styles */
|
|
2440
|
-
pulsarRequiredContent?: () => React__default.CSSProperties;
|
|
2441
|
-
/** Function to generate pulsar required title styles */
|
|
2442
|
-
pulsarRequiredTitle?: () => React__default.CSSProperties;
|
|
2443
|
-
/** Function to generate pulsar required description styles */
|
|
2444
|
-
pulsarRequiredDescription?: () => React__default.CSSProperties;
|
|
2445
|
-
/** Function to generate transactions history wrapper styles */
|
|
2446
|
-
transactionsHistoryWrapper?: () => React__default.CSSProperties;
|
|
2447
|
-
};
|
|
2448
2122
|
/** Custom animation variants */
|
|
2449
2123
|
variants?: {
|
|
2450
2124
|
/** Container animation variants */
|
|
@@ -2595,24 +2269,20 @@ type HeaderProps = {
|
|
|
2595
2269
|
onClose: () => void;
|
|
2596
2270
|
labels: Record<string, string>;
|
|
2597
2271
|
className?: string;
|
|
2598
|
-
style?: React__default.CSSProperties;
|
|
2599
2272
|
};
|
|
2600
2273
|
type BackButtonProps$1 = {
|
|
2601
2274
|
onBack: () => void;
|
|
2602
2275
|
labels: Record<string, string>;
|
|
2603
2276
|
className?: string;
|
|
2604
|
-
style?: React__default.CSSProperties;
|
|
2605
2277
|
};
|
|
2606
2278
|
type TitleProps$6 = {
|
|
2607
2279
|
title: string;
|
|
2608
2280
|
className?: string;
|
|
2609
|
-
style?: React__default.CSSProperties;
|
|
2610
2281
|
};
|
|
2611
2282
|
type CloseButtonProps$1 = {
|
|
2612
2283
|
onClose: () => void;
|
|
2613
2284
|
labels: Record<string, string>;
|
|
2614
2285
|
className?: string;
|
|
2615
|
-
style?: React__default.CSSProperties;
|
|
2616
2286
|
};
|
|
2617
2287
|
type MainContentProps$1 = Pick<ConnectButtonProps, 'transactionPool' | 'store' | 'pulsarAdapter'> & Pick<NovaConnectProviderType, 'activeWallet'> & {
|
|
2618
2288
|
contentType: ConnectedModalContentType;
|
|
@@ -2629,7 +2299,6 @@ type MainContentProps$1 = Pick<ConnectButtonProps, 'transactionPool' | 'store' |
|
|
|
2629
2299
|
chain: string | number;
|
|
2630
2300
|
};
|
|
2631
2301
|
className?: string;
|
|
2632
|
-
style?: React__default.CSSProperties;
|
|
2633
2302
|
};
|
|
2634
2303
|
type WalletNameConfig = {
|
|
2635
2304
|
abbreviateSymbols?: number;
|
|
@@ -2710,40 +2379,6 @@ type ConnectedModalCustomization = {
|
|
|
2710
2379
|
/** Function to generate footer classes */
|
|
2711
2380
|
footer?: () => string;
|
|
2712
2381
|
};
|
|
2713
|
-
/** Custom style generators */
|
|
2714
|
-
styles?: {
|
|
2715
|
-
/** Function to generate dialog styles */
|
|
2716
|
-
dialog?: () => React__default.CSSProperties;
|
|
2717
|
-
/** Function to generate dialog content styles */
|
|
2718
|
-
dialogContent?: (params: {
|
|
2719
|
-
contentType: ConnectedModalContentType;
|
|
2720
|
-
hasActiveWallet: boolean;
|
|
2721
|
-
}) => React__default.CSSProperties;
|
|
2722
|
-
/** Function to generate motion container styles */
|
|
2723
|
-
motionContainer?: () => React__default.CSSProperties;
|
|
2724
|
-
/** Function to generate content container styles */
|
|
2725
|
-
contentContainer?: (params: {
|
|
2726
|
-
contentType: ConnectedModalContentType;
|
|
2727
|
-
}) => React__default.CSSProperties;
|
|
2728
|
-
/** Function to generate header styles */
|
|
2729
|
-
header?: (params: {
|
|
2730
|
-
contentType: ConnectedModalContentType;
|
|
2731
|
-
}) => React__default.CSSProperties;
|
|
2732
|
-
/** Function to generate back button styles */
|
|
2733
|
-
backButton?: () => React__default.CSSProperties;
|
|
2734
|
-
/** Function to generate title styles */
|
|
2735
|
-
title?: (params: {
|
|
2736
|
-
contentType: ConnectedModalContentType;
|
|
2737
|
-
}) => React__default.CSSProperties;
|
|
2738
|
-
/** Function to generate close button styles */
|
|
2739
|
-
closeButton?: () => React__default.CSSProperties;
|
|
2740
|
-
/** Function to generate main content styles */
|
|
2741
|
-
mainContent?: (params: {
|
|
2742
|
-
contentType: ConnectedModalContentType;
|
|
2743
|
-
}) => React__default.CSSProperties;
|
|
2744
|
-
/** Function to generate footer styles */
|
|
2745
|
-
footer?: () => React__default.CSSProperties;
|
|
2746
|
-
};
|
|
2747
2382
|
/** Custom animation variants */
|
|
2748
2383
|
variants?: {
|
|
2749
2384
|
/** Modal animation variants */
|
|
@@ -6983,7 +6618,6 @@ type ConnectModalCustomization = {
|
|
|
6983
6618
|
type CustomSvgProps = {
|
|
6984
6619
|
pathData: string;
|
|
6985
6620
|
className?: string;
|
|
6986
|
-
style?: React.CSSProperties;
|
|
6987
6621
|
'aria-hidden'?: boolean;
|
|
6988
6622
|
focusable?: boolean;
|
|
6989
6623
|
};
|
|
@@ -6991,7 +6625,6 @@ type CustomPathProps$1 = {
|
|
|
6991
6625
|
pathData: string;
|
|
6992
6626
|
variants?: Variants;
|
|
6993
6627
|
className?: string;
|
|
6994
|
-
style?: React.CSSProperties;
|
|
6995
6628
|
strokeLinecap?: 'butt' | 'round' | 'square';
|
|
6996
6629
|
strokeLinejoin?: 'miter' | 'bevel' | 'round';
|
|
6997
6630
|
strokeWidth?: string | number;
|
|
@@ -7007,7 +6640,7 @@ type CustomContentProps$1 = {
|
|
|
7007
6640
|
*/
|
|
7008
6641
|
type StatusIconCustomization = {
|
|
7009
6642
|
/** Override container element props */
|
|
7010
|
-
containerProps?: Partial<Omit<HTMLMotionProps<'div'>, 'initial' | 'animate' | 'exit' | 'variants' | 'transition'>>;
|
|
6643
|
+
containerProps?: Partial<Omit<HTMLMotionProps<'div'>, 'initial' | 'animate' | 'exit' | 'variants' | 'transition' | 'style'>>;
|
|
7011
6644
|
/** Custom components */
|
|
7012
6645
|
components?: {
|
|
7013
6646
|
/** Custom SVG component */
|
|
@@ -7034,23 +6667,6 @@ type StatusIconCustomization = {
|
|
|
7034
6667
|
txStatus: 'succeed' | 'failed' | 'replaced';
|
|
7035
6668
|
}) => string;
|
|
7036
6669
|
};
|
|
7037
|
-
/** Custom style generators */
|
|
7038
|
-
styles?: {
|
|
7039
|
-
/** Function to generate container styles */
|
|
7040
|
-
container?: (params: {
|
|
7041
|
-
txStatus: 'succeed' | 'failed' | 'replaced';
|
|
7042
|
-
colorVar: string;
|
|
7043
|
-
}) => React.CSSProperties;
|
|
7044
|
-
/** Function to generate SVG styles */
|
|
7045
|
-
svg?: (params: {
|
|
7046
|
-
txStatus: 'succeed' | 'failed' | 'replaced';
|
|
7047
|
-
colorVar: string;
|
|
7048
|
-
}) => React.CSSProperties;
|
|
7049
|
-
/** Function to generate path styles */
|
|
7050
|
-
path?: (params: {
|
|
7051
|
-
txStatus: 'succeed' | 'failed' | 'replaced';
|
|
7052
|
-
}) => React.CSSProperties;
|
|
7053
|
-
};
|
|
7054
6670
|
/** Custom animation variants */
|
|
7055
6671
|
variants?: {
|
|
7056
6672
|
/** Container motion variants */
|
|
@@ -7098,7 +6714,7 @@ type StatusIconCustomization = {
|
|
|
7098
6714
|
reduceMotion?: boolean;
|
|
7099
6715
|
};
|
|
7100
6716
|
};
|
|
7101
|
-
interface StatusIconProps extends Omit<HTMLMotionProps<'div'>, 'children' | 'initial' | 'animate' | 'exit' | 'variants' | 'transition'> {
|
|
6717
|
+
interface StatusIconProps extends Omit<HTMLMotionProps<'div'>, 'children' | 'initial' | 'animate' | 'exit' | 'variants' | 'transition' | 'style'> {
|
|
7102
6718
|
/** Transaction status type */
|
|
7103
6719
|
txStatus: 'succeed' | 'failed' | 'replaced';
|
|
7104
6720
|
/** Color variable name (without --tuwa- prefix) */
|
|
@@ -7181,7 +6797,6 @@ type CustomBalanceContainerProps = {
|
|
|
7181
6797
|
formattedBalance: string;
|
|
7182
6798
|
labels: Record<string, string>;
|
|
7183
6799
|
className?: string;
|
|
7184
|
-
style?: React__default.CSSProperties;
|
|
7185
6800
|
'aria-label'?: string;
|
|
7186
6801
|
};
|
|
7187
6802
|
type CustomMainContentProps = {
|
|
@@ -7191,16 +6806,13 @@ type CustomMainContentProps = {
|
|
|
7191
6806
|
withBalance: boolean;
|
|
7192
6807
|
labels: Record<string, string>;
|
|
7193
6808
|
className?: string;
|
|
7194
|
-
style?: React__default.CSSProperties;
|
|
7195
6809
|
};
|
|
7196
6810
|
type CustomLoadingAnimationProps = {
|
|
7197
6811
|
connectedButtonStatus: ButtonTxStatus;
|
|
7198
6812
|
className?: string;
|
|
7199
|
-
style?: React__default.CSSProperties;
|
|
7200
6813
|
};
|
|
7201
6814
|
type CustomBalanceDividerProps = {
|
|
7202
6815
|
className?: string;
|
|
7203
|
-
style?: React__default.CSSProperties;
|
|
7204
6816
|
};
|
|
7205
6817
|
/**
|
|
7206
6818
|
* Customization options for ConnectedContent component
|
|
@@ -7245,32 +6857,6 @@ type ConnectedContentCustomization = {
|
|
|
7245
6857
|
connectedButtonStatus: ButtonTxStatus;
|
|
7246
6858
|
}) => string;
|
|
7247
6859
|
};
|
|
7248
|
-
/** Custom style generators */
|
|
7249
|
-
styles?: {
|
|
7250
|
-
/** Function to generate container styles */
|
|
7251
|
-
container?: (params: {
|
|
7252
|
-
connectedButtonStatus: ButtonTxStatus;
|
|
7253
|
-
withBalance: boolean;
|
|
7254
|
-
}) => React__default.CSSProperties;
|
|
7255
|
-
/** Function to generate balance container styles */
|
|
7256
|
-
balanceContainer?: (params: {
|
|
7257
|
-
formattedBalance: string;
|
|
7258
|
-
}) => React__default.CSSProperties;
|
|
7259
|
-
/** Function to generate balance text styles */
|
|
7260
|
-
balanceText?: (params: {
|
|
7261
|
-
formattedBalance: string;
|
|
7262
|
-
}) => React__default.CSSProperties;
|
|
7263
|
-
/** Function to generate balance divider styles */
|
|
7264
|
-
balanceDivider?: () => React__default.CSSProperties;
|
|
7265
|
-
/** Function to generate main content styles */
|
|
7266
|
-
mainContent?: (params: {
|
|
7267
|
-
withBalance: boolean;
|
|
7268
|
-
}) => React__default.CSSProperties;
|
|
7269
|
-
/** Function to generate loading animation styles */
|
|
7270
|
-
loadingAnimation?: (params: {
|
|
7271
|
-
connectedButtonStatus: ButtonTxStatus;
|
|
7272
|
-
}) => React__default.CSSProperties;
|
|
7273
|
-
};
|
|
7274
6860
|
/** Customization options for child components */
|
|
7275
6861
|
childCustomizations?: {
|
|
7276
6862
|
/** WalletAvatar customization for idle and loading states */
|
|
@@ -7384,7 +6970,6 @@ declare const ConnectedContent: React__default.ForwardRefExoticComponent<Connect
|
|
|
7384
6970
|
type CustomIconProps$1 = {
|
|
7385
6971
|
pathData: string;
|
|
7386
6972
|
className?: string;
|
|
7387
|
-
style?: React.CSSProperties;
|
|
7388
6973
|
'aria-hidden'?: boolean;
|
|
7389
6974
|
focusable?: boolean;
|
|
7390
6975
|
};
|
|
@@ -7392,7 +6977,6 @@ type CustomPathProps = {
|
|
|
7392
6977
|
pathData: string;
|
|
7393
6978
|
variants?: Variants;
|
|
7394
6979
|
className?: string;
|
|
7395
|
-
style?: React.CSSProperties;
|
|
7396
6980
|
strokeLinecap?: 'butt' | 'round' | 'square';
|
|
7397
6981
|
strokeLinejoin?: 'miter' | 'bevel' | 'round';
|
|
7398
6982
|
strokeWidth?: string | number;
|
|
@@ -7400,7 +6984,6 @@ type CustomPathProps = {
|
|
|
7400
6984
|
type CustomTextProps = {
|
|
7401
6985
|
text: string;
|
|
7402
6986
|
className?: string;
|
|
7403
|
-
style?: React.CSSProperties;
|
|
7404
6987
|
'aria-hidden'?: boolean;
|
|
7405
6988
|
role?: string;
|
|
7406
6989
|
};
|
|
@@ -7444,23 +7027,6 @@ type WaitForConnectionContentCustomization = {
|
|
|
7444
7027
|
isConnected: boolean;
|
|
7445
7028
|
}) => string;
|
|
7446
7029
|
};
|
|
7447
|
-
/** Custom style generators */
|
|
7448
|
-
styles?: {
|
|
7449
|
-
/** Function to generate container styles */
|
|
7450
|
-
container?: (params: {
|
|
7451
|
-
isConnected: boolean;
|
|
7452
|
-
}) => React.CSSProperties;
|
|
7453
|
-
/** Function to generate icon styles */
|
|
7454
|
-
icon?: (params: {
|
|
7455
|
-
isConnected: boolean;
|
|
7456
|
-
}) => React.CSSProperties;
|
|
7457
|
-
/** Function to generate path styles */
|
|
7458
|
-
path?: () => React.CSSProperties;
|
|
7459
|
-
/** Function to generate text styles */
|
|
7460
|
-
text?: (params: {
|
|
7461
|
-
isConnected: boolean;
|
|
7462
|
-
}) => React.CSSProperties;
|
|
7463
|
-
};
|
|
7464
7030
|
/** Custom animation variants */
|
|
7465
7031
|
variants?: {
|
|
7466
7032
|
/** Container motion variants */
|
|
@@ -7514,7 +7080,7 @@ type WaitForConnectionContentCustomization = {
|
|
|
7514
7080
|
customText?: string;
|
|
7515
7081
|
};
|
|
7516
7082
|
};
|
|
7517
|
-
interface WaitForConnectionContentProps extends Omit<HTMLMotionProps<'div'>, 'children' | 'initial' | 'animate' | 'exit' | 'variants' | 'transition'> {
|
|
7083
|
+
interface WaitForConnectionContentProps extends Omit<HTMLMotionProps<'div'>, 'children' | 'initial' | 'animate' | 'exit' | 'variants' | 'transition' | 'style'> {
|
|
7518
7084
|
/** Custom CSS classes for the container */
|
|
7519
7085
|
className?: string;
|
|
7520
7086
|
/** Custom aria-label for the container */
|
|
@@ -7596,7 +7162,6 @@ interface ConnectButtonData {
|
|
|
7596
7162
|
}
|
|
7597
7163
|
type NavigationProps = {
|
|
7598
7164
|
className?: string;
|
|
7599
|
-
style?: React__default.CSSProperties;
|
|
7600
7165
|
children: React__default.ReactNode;
|
|
7601
7166
|
'aria-label'?: string;
|
|
7602
7167
|
role?: string;
|
|
@@ -7604,19 +7169,16 @@ type NavigationProps = {
|
|
|
7604
7169
|
} & React__default.RefAttributes<HTMLElement>;
|
|
7605
7170
|
type ContainerProps$1 = {
|
|
7606
7171
|
className?: string;
|
|
7607
|
-
style?: React__default.CSSProperties;
|
|
7608
7172
|
children: React__default.ReactNode;
|
|
7609
7173
|
buttonData: ConnectButtonData;
|
|
7610
7174
|
} & React__default.RefAttributes<HTMLDivElement>;
|
|
7611
7175
|
type ButtonContainerProps = {
|
|
7612
7176
|
className?: string;
|
|
7613
|
-
style?: React__default.CSSProperties;
|
|
7614
7177
|
children: React__default.ReactNode;
|
|
7615
7178
|
buttonData: ConnectButtonData;
|
|
7616
7179
|
} & React__default.RefAttributes<HTMLDivElement>;
|
|
7617
7180
|
type ButtonProps = {
|
|
7618
7181
|
className?: string;
|
|
7619
|
-
style?: React__default.CSSProperties;
|
|
7620
7182
|
children: React__default.ReactNode;
|
|
7621
7183
|
onClick: () => void;
|
|
7622
7184
|
onKeyDown: (event: React__default.KeyboardEvent) => void;
|
|
@@ -7661,25 +7223,6 @@ type ConnectButtonCustomization = {
|
|
|
7661
7223
|
buttonData: ConnectButtonData;
|
|
7662
7224
|
}) => string;
|
|
7663
7225
|
};
|
|
7664
|
-
/** Custom style generators */
|
|
7665
|
-
styles?: {
|
|
7666
|
-
/** Function to generate navigation styles */
|
|
7667
|
-
navigation?: (params: {
|
|
7668
|
-
buttonData: ConnectButtonData;
|
|
7669
|
-
}) => React__default.CSSProperties;
|
|
7670
|
-
/** Function to generate container styles */
|
|
7671
|
-
container?: (params: {
|
|
7672
|
-
buttonData: ConnectButtonData;
|
|
7673
|
-
}) => React__default.CSSProperties;
|
|
7674
|
-
/** Function to generate button container styles */
|
|
7675
|
-
buttonContainer?: (params: {
|
|
7676
|
-
buttonData: ConnectButtonData;
|
|
7677
|
-
}) => React__default.CSSProperties;
|
|
7678
|
-
/** Function to generate button styles */
|
|
7679
|
-
button?: (params: {
|
|
7680
|
-
buttonData: ConnectButtonData;
|
|
7681
|
-
}) => React__default.CSSProperties;
|
|
7682
|
-
};
|
|
7683
7226
|
/** Custom event handlers */
|
|
7684
7227
|
handlers?: {
|
|
7685
7228
|
/** Custom button click handler */
|
|
@@ -7817,8 +7360,6 @@ interface SelectContentAnimatedProps extends ComponentPropsWithoutRef<typeof Sel
|
|
|
7817
7360
|
'aria-label'?: string;
|
|
7818
7361
|
/** Whether the select content should have reduced motion for accessibility */
|
|
7819
7362
|
reduceMotion?: boolean;
|
|
7820
|
-
/** Maximum height for the content in pixels */
|
|
7821
|
-
maxHeight?: number;
|
|
7822
7363
|
/** Custom animation duration in seconds */
|
|
7823
7364
|
animationDuration?: number;
|
|
7824
7365
|
/** Whether to show scroll buttons */
|
|
@@ -7831,12 +7372,6 @@ interface SelectContentAnimatedProps extends ComponentPropsWithoutRef<typeof Sel
|
|
|
7831
7372
|
topButtonCustomization?: ToTopButtonCustomization;
|
|
7832
7373
|
/** Customization options for ToBottomButton */
|
|
7833
7374
|
bottomButtonCustomization?: ToBottomButtonCustomization;
|
|
7834
|
-
/** Custom inline styles for select content container */
|
|
7835
|
-
style?: React.CSSProperties;
|
|
7836
|
-
/** Custom inline styles for animated inner content */
|
|
7837
|
-
contentStyle?: React.CSSProperties;
|
|
7838
|
-
/** Custom inline styles for viewport */
|
|
7839
|
-
viewportStyle?: React.CSSProperties;
|
|
7840
7375
|
}
|
|
7841
7376
|
/**
|
|
7842
7377
|
* Animated select content component with smooth enter/exit animations.
|
|
@@ -7919,8 +7454,6 @@ type CustomTriggerIconProps = {
|
|
|
7919
7454
|
chainId: string | number;
|
|
7920
7455
|
/** CSS class */
|
|
7921
7456
|
className?: string;
|
|
7922
|
-
/** Inline styles */
|
|
7923
|
-
style?: React__default.CSSProperties;
|
|
7924
7457
|
/** Whether hidden from screen readers */
|
|
7925
7458
|
'aria-hidden'?: boolean;
|
|
7926
7459
|
};
|
|
@@ -7947,8 +7480,6 @@ type CustomTriggerArrowProps = {
|
|
|
7947
7480
|
isOpen: boolean;
|
|
7948
7481
|
/** CSS class */
|
|
7949
7482
|
className?: string;
|
|
7950
|
-
/** Inline styles */
|
|
7951
|
-
style?: React__default.CSSProperties;
|
|
7952
7483
|
/** Whether hidden from screen readers */
|
|
7953
7484
|
'aria-hidden'?: boolean;
|
|
7954
7485
|
};
|
|
@@ -7958,8 +7489,6 @@ type CustomTriggerArrowProps = {
|
|
|
7958
7489
|
type CustomLoadingStateProps = {
|
|
7959
7490
|
/** CSS class */
|
|
7960
7491
|
className?: string;
|
|
7961
|
-
/** Inline styles */
|
|
7962
|
-
style?: React__default.CSSProperties;
|
|
7963
7492
|
/** ARIA label */
|
|
7964
7493
|
'aria-label': string;
|
|
7965
7494
|
};
|
|
@@ -7973,8 +7502,6 @@ type CustomSingleChainDisplayProps = {
|
|
|
7973
7502
|
chainName: string;
|
|
7974
7503
|
/** CSS class */
|
|
7975
7504
|
className?: string;
|
|
7976
|
-
/** Inline styles */
|
|
7977
|
-
style?: React__default.CSSProperties;
|
|
7978
7505
|
/** ARIA label */
|
|
7979
7506
|
'aria-label': string;
|
|
7980
7507
|
};
|
|
@@ -7986,8 +7513,6 @@ type CustomDesktopSelectorProps = {
|
|
|
7986
7513
|
children: ReactNode;
|
|
7987
7514
|
/** CSS class */
|
|
7988
7515
|
className?: string;
|
|
7989
|
-
/** Inline styles */
|
|
7990
|
-
style?: React__default.CSSProperties;
|
|
7991
7516
|
/** ARIA label */
|
|
7992
7517
|
'aria-label': string;
|
|
7993
7518
|
};
|
|
@@ -7999,8 +7524,6 @@ type CustomMobileSelectorProps = {
|
|
|
7999
7524
|
children: ReactNode;
|
|
8000
7525
|
/** CSS class */
|
|
8001
7526
|
className?: string;
|
|
8002
|
-
/** Inline styles */
|
|
8003
|
-
style?: React__default.CSSProperties;
|
|
8004
7527
|
/** ARIA label */
|
|
8005
7528
|
'aria-label': string;
|
|
8006
7529
|
};
|
|
@@ -8014,8 +7537,6 @@ type CustomDialogHeaderProps = {
|
|
|
8014
7537
|
onClose: () => void;
|
|
8015
7538
|
/** CSS class */
|
|
8016
7539
|
className?: string;
|
|
8017
|
-
/** Inline styles */
|
|
8018
|
-
style?: React__default.CSSProperties;
|
|
8019
7540
|
};
|
|
8020
7541
|
/**
|
|
8021
7542
|
* Animation easing parameters for framer-motion.
|
|
@@ -8070,38 +7591,6 @@ type ChainTriggerButtonCustomization = {
|
|
|
8070
7591
|
isMobile: boolean;
|
|
8071
7592
|
}) => string;
|
|
8072
7593
|
};
|
|
8073
|
-
/** Custom style generators */
|
|
8074
|
-
styles?: {
|
|
8075
|
-
/** Function to generate wrapper styles */
|
|
8076
|
-
wrapper?: (params: {
|
|
8077
|
-
isMobile: boolean;
|
|
8078
|
-
isOpen: boolean;
|
|
8079
|
-
}) => React__default.CSSProperties;
|
|
8080
|
-
/** Function to generate button/trigger styles */
|
|
8081
|
-
button?: (params: {
|
|
8082
|
-
isMobile: boolean;
|
|
8083
|
-
isOpen: boolean;
|
|
8084
|
-
hasMultipleChains: boolean;
|
|
8085
|
-
}) => React__default.CSSProperties;
|
|
8086
|
-
/** Function to generate inner content styles */
|
|
8087
|
-
innerContent?: (params: {
|
|
8088
|
-
isMobile: boolean;
|
|
8089
|
-
isOpen: boolean;
|
|
8090
|
-
}) => React__default.CSSProperties;
|
|
8091
|
-
/** Function to generate icon wrapper styles */
|
|
8092
|
-
iconWrapper?: (params: {
|
|
8093
|
-
isMobile: boolean;
|
|
8094
|
-
}) => React__default.CSSProperties;
|
|
8095
|
-
/** Function to generate chain name styles */
|
|
8096
|
-
chainName?: (params: {
|
|
8097
|
-
isMobile: boolean;
|
|
8098
|
-
isVisible: boolean;
|
|
8099
|
-
}) => React__default.CSSProperties;
|
|
8100
|
-
/** Function to generate arrow wrapper styles */
|
|
8101
|
-
arrowWrapper?: (params: {
|
|
8102
|
-
isMobile: boolean;
|
|
8103
|
-
}) => React__default.CSSProperties;
|
|
8104
|
-
};
|
|
8105
7594
|
/** Custom event handlers */
|
|
8106
7595
|
handlers?: {
|
|
8107
7596
|
/** Wrapper for the click handler */
|
|
@@ -8165,32 +7654,6 @@ type ChainSelectorCustomization = {
|
|
|
8165
7654
|
/** Classes for the dialog inner container */
|
|
8166
7655
|
dialogInnerContainer?: () => string;
|
|
8167
7656
|
};
|
|
8168
|
-
/** Custom style generators */
|
|
8169
|
-
styles?: {
|
|
8170
|
-
/** Styles for the main container */
|
|
8171
|
-
container?: (params: {
|
|
8172
|
-
hasMultipleChains: boolean;
|
|
8173
|
-
isLoading: boolean;
|
|
8174
|
-
}) => React__default.CSSProperties;
|
|
8175
|
-
/** Styles for the desktop wrapper */
|
|
8176
|
-
desktopWrapper?: (params: {
|
|
8177
|
-
chainCount: number;
|
|
8178
|
-
}) => React__default.CSSProperties;
|
|
8179
|
-
/** Styles for the mobile wrapper */
|
|
8180
|
-
mobileWrapper?: (params: {
|
|
8181
|
-
chainCount: number;
|
|
8182
|
-
}) => React__default.CSSProperties;
|
|
8183
|
-
/** Styles for the loading state */
|
|
8184
|
-
loadingState?: () => React__default.CSSProperties;
|
|
8185
|
-
/** Styles for the single chain display */
|
|
8186
|
-
singleChainDisplay?: () => React__default.CSSProperties;
|
|
8187
|
-
/** Styles for the dialog content */
|
|
8188
|
-
dialogContent?: (params: {
|
|
8189
|
-
chainCount: number;
|
|
8190
|
-
}) => React__default.CSSProperties;
|
|
8191
|
-
/** Styles for the dialog inner container */
|
|
8192
|
-
dialogInnerContainer?: () => React__default.CSSProperties;
|
|
8193
|
-
};
|
|
8194
7657
|
/** Custom event handlers */
|
|
8195
7658
|
handlers?: {
|
|
8196
7659
|
/** Wrapper for the chain change handler */
|
|
@@ -8215,8 +7678,6 @@ interface ChainSelectorProps extends InitialChains, Pick<ConnectButtonProps, 'st
|
|
|
8215
7678
|
customization?: ChainSelectorCustomization;
|
|
8216
7679
|
/** Custom CSS classes for the main container */
|
|
8217
7680
|
className?: string;
|
|
8218
|
-
/** Custom inline styles for the main container */
|
|
8219
|
-
style?: React__default.CSSProperties;
|
|
8220
7681
|
/** Custom ARIA label for the selector */
|
|
8221
7682
|
'aria-label'?: string;
|
|
8222
7683
|
}
|
|
@@ -8227,7 +7688,7 @@ interface ChainSelectorProps extends InitialChains, Pick<ConnectButtonProps, 'st
|
|
|
8227
7688
|
* @param props - Props for the ChainSelector component
|
|
8228
7689
|
* @returns The chain selector component or null if no wallet is connected
|
|
8229
7690
|
*/
|
|
8230
|
-
declare function ChainSelector({ appChains, solanaRPCUrls, store, customization, className,
|
|
7691
|
+
declare function ChainSelector({ appChains, solanaRPCUrls, store, customization, className, 'aria-label': ariaLabel, }: ChainSelectorProps): react_jsx_runtime.JSX.Element | null;
|
|
8231
7692
|
|
|
8232
7693
|
type CustomToastErrorProps = {
|
|
8233
7694
|
title: string;
|
|
@@ -8260,14 +7721,6 @@ type ErrorsProviderCustomization = {
|
|
|
8260
7721
|
errorType: 'wallet' | 'switch' | null;
|
|
8261
7722
|
}) => string;
|
|
8262
7723
|
};
|
|
8263
|
-
/** Custom style generators */
|
|
8264
|
-
styles?: {
|
|
8265
|
-
/** Function to generate container styles */
|
|
8266
|
-
container?: (params: {
|
|
8267
|
-
hasErrors: boolean;
|
|
8268
|
-
errorType: 'wallet' | 'switch' | null;
|
|
8269
|
-
}) => React.CSSProperties;
|
|
8270
|
-
};
|
|
8271
7724
|
/** Custom toast options generators */
|
|
8272
7725
|
toastOptions?: {
|
|
8273
7726
|
/** Function to generate toast options */
|
|
@@ -8488,7 +7941,6 @@ interface NovaConnectButtonWithProviderData {
|
|
|
8488
7941
|
}
|
|
8489
7942
|
type RootContainerProps = {
|
|
8490
7943
|
className?: string;
|
|
8491
|
-
style?: React__default.CSSProperties;
|
|
8492
7944
|
children: React__default.ReactNode;
|
|
8493
7945
|
providerData: NovaConnectButtonWithProviderData;
|
|
8494
7946
|
} & React__default.RefAttributes<HTMLDivElement>;
|
|
@@ -8512,13 +7964,6 @@ type NovaConnectButtonWithProviderCustomization = {
|
|
|
8512
7964
|
providerData: NovaConnectButtonWithProviderData;
|
|
8513
7965
|
}) => string;
|
|
8514
7966
|
};
|
|
8515
|
-
/** Custom style generators for root */
|
|
8516
|
-
styles?: {
|
|
8517
|
-
/** Function to generate root container styles */
|
|
8518
|
-
rootContainer?: (params: {
|
|
8519
|
-
providerData: NovaConnectButtonWithProviderData;
|
|
8520
|
-
}) => React__default.CSSProperties;
|
|
8521
|
-
};
|
|
8522
7967
|
/** Provider customization options - full NovaConnectProviderCustomization support */
|
|
8523
7968
|
provider?: NovaConnectProviderCustomization;
|
|
8524
7969
|
/** ConnectButton customization options */
|
|
@@ -8937,20 +8382,17 @@ declare const RecentBadge: React__default.NamedExoticComponent<RecentBadgeProps
|
|
|
8937
8382
|
type CustomIconProps = {
|
|
8938
8383
|
isCopied: boolean;
|
|
8939
8384
|
className?: string;
|
|
8940
|
-
style?: React.CSSProperties;
|
|
8941
8385
|
'aria-hidden'?: boolean;
|
|
8942
8386
|
};
|
|
8943
8387
|
type CustomTitleProps = {
|
|
8944
8388
|
title: string;
|
|
8945
8389
|
titleId: string;
|
|
8946
8390
|
className?: string;
|
|
8947
|
-
style?: React.CSSProperties;
|
|
8948
8391
|
};
|
|
8949
8392
|
type CustomDescriptionProps = {
|
|
8950
8393
|
rawError: string;
|
|
8951
8394
|
descriptionId: string;
|
|
8952
8395
|
className?: string;
|
|
8953
|
-
style?: React.CSSProperties;
|
|
8954
8396
|
};
|
|
8955
8397
|
type CustomButtonContentProps = {
|
|
8956
8398
|
icon: ReactNode;
|
|
@@ -8963,9 +8405,9 @@ type CustomButtonContentProps = {
|
|
|
8963
8405
|
*/
|
|
8964
8406
|
type ToastErrorCustomization = {
|
|
8965
8407
|
/** Override container element props */
|
|
8966
|
-
containerProps?: Partial<ComponentPropsWithoutRef<'div'>>;
|
|
8408
|
+
containerProps?: Partial<Omit<ComponentPropsWithoutRef<'div'>, 'style'>>;
|
|
8967
8409
|
/** Override button element props */
|
|
8968
|
-
buttonProps?: Partial<ComponentPropsWithoutRef<'button'>>;
|
|
8410
|
+
buttonProps?: Partial<Omit<ComponentPropsWithoutRef<'button'>, 'style'>>;
|
|
8969
8411
|
/** Custom components */
|
|
8970
8412
|
components?: {
|
|
8971
8413
|
/** Custom icon component */
|
|
@@ -9002,31 +8444,6 @@ type ToastErrorCustomization = {
|
|
|
9002
8444
|
isCopied: boolean;
|
|
9003
8445
|
}) => string;
|
|
9004
8446
|
};
|
|
9005
|
-
/** Custom style generators */
|
|
9006
|
-
styles?: {
|
|
9007
|
-
/** Function to generate container styles */
|
|
9008
|
-
container?: (params: {
|
|
9009
|
-
hasTitle: boolean;
|
|
9010
|
-
hasError: boolean;
|
|
9011
|
-
}) => React.CSSProperties;
|
|
9012
|
-
/** Function to generate title styles */
|
|
9013
|
-
title?: (params: {
|
|
9014
|
-
title: string;
|
|
9015
|
-
}) => React.CSSProperties;
|
|
9016
|
-
/** Function to generate description styles */
|
|
9017
|
-
description?: (params: {
|
|
9018
|
-
rawError: string;
|
|
9019
|
-
}) => React.CSSProperties;
|
|
9020
|
-
/** Function to generate button styles */
|
|
9021
|
-
button?: (params: {
|
|
9022
|
-
isCopied: boolean;
|
|
9023
|
-
disabled: boolean;
|
|
9024
|
-
}) => React.CSSProperties;
|
|
9025
|
-
/** Function to generate icon styles */
|
|
9026
|
-
icon?: (params: {
|
|
9027
|
-
isCopied: boolean;
|
|
9028
|
-
}) => React.CSSProperties;
|
|
9029
|
-
};
|
|
9030
8447
|
/** Custom event handlers */
|
|
9031
8448
|
handlers?: {
|
|
9032
8449
|
/** Custom click handler wrapper */
|
|
@@ -9035,7 +8452,7 @@ type ToastErrorCustomization = {
|
|
|
9035
8452
|
onKeyDown?: (originalHandler: (event: React.KeyboardEvent<HTMLButtonElement>) => void, event: React.KeyboardEvent<HTMLButtonElement>) => void;
|
|
9036
8453
|
};
|
|
9037
8454
|
};
|
|
9038
|
-
interface ToastErrorProps extends Omit<ComponentPropsWithoutRef<'div'>, 'role' | 'aria-live'> {
|
|
8455
|
+
interface ToastErrorProps extends Omit<ComponentPropsWithoutRef<'div'>, 'role' | 'aria-live' | 'style'> {
|
|
9039
8456
|
/** Error title to display */
|
|
9040
8457
|
title: string;
|
|
9041
8458
|
/** Raw error message to display and copy */
|