@matchain/matchid-sdk-react 0.1.56-alpha.6 → 0.1.56-alpha.7

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.
Files changed (108) hide show
  1. package/example/package.json +1 -2
  2. package/example/src/pages/Wallet/index.tsx +90 -88
  3. package/example/yarn.lock +2251 -27
  4. package/package.json +7 -4
  5. package/dist/api.d.mts +0 -6
  6. package/dist/api.d.ts +0 -6
  7. package/dist/api.js +0 -1721
  8. package/dist/api.js.map +0 -1
  9. package/dist/api.mjs +0 -23
  10. package/dist/api.mjs.map +0 -1
  11. package/dist/assets/lottie.d.mts +0 -1
  12. package/dist/assets/lottie.d.ts +0 -1
  13. package/dist/assets/lottie.js +0 -68
  14. package/dist/assets/lottie.js.map +0 -1
  15. package/dist/assets/lottie.mjs +0 -22
  16. package/dist/assets/lottie.mjs.map +0 -1
  17. package/dist/chains.d.mts +0 -2
  18. package/dist/chains.d.ts +0 -2
  19. package/dist/chains.js +0 -94
  20. package/dist/chains.js.map +0 -1
  21. package/dist/chains.mjs +0 -11
  22. package/dist/chains.mjs.map +0 -1
  23. package/dist/chunk-3CR66BEX.mjs +0 -19
  24. package/dist/chunk-3CR66BEX.mjs.map +0 -1
  25. package/dist/chunk-GD7URBBZ.mjs +0 -1399
  26. package/dist/chunk-GD7URBBZ.mjs.map +0 -1
  27. package/dist/chunk-HBOS3RBL.mjs +0 -19
  28. package/dist/chunk-HBOS3RBL.mjs.map +0 -1
  29. package/dist/chunk-IZOOVZAD.mjs +0 -145
  30. package/dist/chunk-IZOOVZAD.mjs.map +0 -1
  31. package/dist/chunk-J5LGTIGS.mjs +0 -10
  32. package/dist/chunk-J5LGTIGS.mjs.map +0 -1
  33. package/dist/chunk-JX73EY6V.mjs +0 -67
  34. package/dist/chunk-JX73EY6V.mjs.map +0 -1
  35. package/dist/chunk-KFB23MLQ.mjs +0 -7666
  36. package/dist/chunk-KFB23MLQ.mjs.map +0 -1
  37. package/dist/chunk-NYE6DBEZ.mjs +0 -97
  38. package/dist/chunk-NYE6DBEZ.mjs.map +0 -1
  39. package/dist/chunk-UA6XHZHX.mjs +0 -17
  40. package/dist/chunk-UA6XHZHX.mjs.map +0 -1
  41. package/dist/chunk-XM6CYEXN.mjs +0 -53
  42. package/dist/chunk-XM6CYEXN.mjs.map +0 -1
  43. package/dist/components.d.mts +0 -6
  44. package/dist/components.d.ts +0 -6
  45. package/dist/components.js +0 -6494
  46. package/dist/components.js.map +0 -1
  47. package/dist/components.mjs +0 -57
  48. package/dist/components.mjs.map +0 -1
  49. package/dist/hooks.d.mts +0 -13
  50. package/dist/hooks.d.ts +0 -13
  51. package/dist/hooks.js +0 -3612
  52. package/dist/hooks.js.map +0 -1
  53. package/dist/hooks.mjs +0 -41
  54. package/dist/hooks.mjs.map +0 -1
  55. package/dist/icon.d.mts +0 -5
  56. package/dist/icon.d.ts +0 -5
  57. package/dist/icon.js +0 -1414
  58. package/dist/icon.js.map +0 -1
  59. package/dist/icon.mjs +0 -112
  60. package/dist/icon.mjs.map +0 -1
  61. package/dist/index-B50DU_xT.d.mts +0 -83
  62. package/dist/index-B50DU_xT.d.ts +0 -83
  63. package/dist/index-BcuSCgol.d.ts +0 -111
  64. package/dist/index-BlMLqmS2.d.mts +0 -3341
  65. package/dist/index-C1Nyy5zx.d.ts +0 -3341
  66. package/dist/index-CBcBTQyU.d.mts +0 -66
  67. package/dist/index-CD0dACxf.d.mts +0 -111
  68. package/dist/index-CER00guz.d.mts +0 -132
  69. package/dist/index-CHgaOUiW.d.mts +0 -52590
  70. package/dist/index-CHgaOUiW.d.ts +0 -52590
  71. package/dist/index-CjekOYJl.d.mts +0 -38
  72. package/dist/index-DN-jrh8-.d.ts +0 -213
  73. package/dist/index-DdN22cwf.d.ts +0 -38
  74. package/dist/index-DkIIQLbh.d.ts +0 -92
  75. package/dist/index-DlaCsN95.d.ts +0 -66
  76. package/dist/index-lh6qBAf_.d.mts +0 -92
  77. package/dist/index-o0WW1c5O.d.ts +0 -132
  78. package/dist/index-xThRnNN3.d.mts +0 -213
  79. package/dist/index.css +0 -2131
  80. package/dist/index.d.mts +0 -789
  81. package/dist/index.d.ts +0 -789
  82. package/dist/index.js +0 -9206
  83. package/dist/index.js.map +0 -1
  84. package/dist/index.mjs +0 -45
  85. package/dist/index.mjs.map +0 -1
  86. package/dist/request-B0CyrGFT.d.mts +0 -15
  87. package/dist/request-B0CyrGFT.d.ts +0 -15
  88. package/dist/types-CheN9vHJ.d.mts +0 -428
  89. package/dist/types-CheN9vHJ.d.ts +0 -428
  90. package/dist/types.d.mts +0 -3
  91. package/dist/types.d.ts +0 -3
  92. package/dist/types.js +0 -44
  93. package/dist/types.js.map +0 -1
  94. package/dist/types.mjs +0 -11
  95. package/dist/types.mjs.map +0 -1
  96. package/dist/ui.d.mts +0 -7
  97. package/dist/ui.d.ts +0 -7
  98. package/dist/ui.js +0 -1682
  99. package/dist/ui.js.map +0 -1
  100. package/dist/ui.mjs +0 -47
  101. package/dist/ui.mjs.map +0 -1
  102. package/dist/utils.d.mts +0 -28
  103. package/dist/utils.d.ts +0 -28
  104. package/dist/utils.js +0 -192
  105. package/dist/utils.js.map +0 -1
  106. package/dist/utils.mjs +0 -34
  107. package/dist/utils.mjs.map +0 -1
  108. package/example/package-lock.json +0 -2965
@@ -1,38 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default, { ReactNode, PropsWithChildren } from 'react';
3
- import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-CheN9vHJ.mjs';
4
-
5
- declare function Field({ label, children, error, required, className }: {
6
- label: ReactNode;
7
- error?: ReactNode;
8
- required?: boolean;
9
- className?: string;
10
- } & PropsWithChildren): react_jsx_runtime.JSX.Element;
11
-
12
- declare function Input({ onChange, type, after, showLength, showClear, className, rows, maxRows, children, ...props }: InputProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
13
-
14
- declare function Button({ size, disabled, loading, children, onClick, highlight, block, type, rounded, className, style, dataset }: ButtonProps & {
15
- dataset?: {
16
- [key: string]: string;
17
- };
18
- }): react_jsx_runtime.JSX.Element;
19
-
20
- declare function Modal({ children, isOpen, width, zIndex, className }: ModalProps): react_jsx_runtime.JSX.Element;
21
- declare function ModalWithHeader({ children, onBack, onClose, title, showBorder, showClose, ...props }: ModalWithHeaderProps): react_jsx_runtime.JSX.Element;
22
- declare function ConfirmModal({ title, children, onClose, onConfirm, isOpen, confirmText, zIndex }: {
23
- title?: string;
24
- onClose: () => void;
25
- onConfirm: () => Promise<void>;
26
- isOpen: boolean;
27
- confirmText?: React__default.ReactNode;
28
- zIndex?: number;
29
- } & PropsWithChildren): react_jsx_runtime.JSX.Element;
30
-
31
- declare function Popover({ children, content, position, type, className, gap }: PopoverProps): false | "" | 0 | react_jsx_runtime.JSX.Element | null | undefined;
32
-
33
- declare function Overlay({ isOpen, children, zIndex, }: {
34
- isOpen?: boolean;
35
- zIndex?: number;
36
- } & PropsWithChildren): react_jsx_runtime.JSX.Element;
37
-
38
- export { Button as B, ConfirmModal as C, Field as F, Input as I, Modal as M, Overlay as O, Popover as P, ModalWithHeader as a };
@@ -1,213 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default, { CSSProperties } from 'react';
3
- import { v as IconProps$1 } from './types-CheN9vHJ.js';
4
-
5
- declare function BackIcon({ color, size, className, style }: {
6
- color?: string;
7
- size?: number;
8
- style?: CSSProperties;
9
- className?: string;
10
- }): react_jsx_runtime.JSX.Element;
11
-
12
- declare function CloseIcon({ color, size, style }: {
13
- color?: string;
14
- size?: number;
15
- style?: CSSProperties;
16
- }): react_jsx_runtime.JSX.Element;
17
-
18
- declare function XIcon({ size }: {
19
- size?: number;
20
- }): react_jsx_runtime.JSX.Element;
21
-
22
- declare function GoogleIcon({ size }: {
23
- size?: number;
24
- }): react_jsx_runtime.JSX.Element;
25
-
26
- declare function WalletIcon({ size, }: {
27
- size?: number;
28
- }): react_jsx_runtime.JSX.Element;
29
-
30
- declare function TelegramIcon({ size, }: {
31
- size?: number;
32
- }): react_jsx_runtime.JSX.Element;
33
-
34
- declare function EmailIcon({ size, }: {
35
- size?: number;
36
- }): react_jsx_runtime.JSX.Element;
37
-
38
- declare function ArrowRightIcon({ color, size, className, style }: IconProps$1): react_jsx_runtime.JSX.Element;
39
-
40
- declare function CloseRoundIcon({ size, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
41
-
42
- interface LoadingIconProps {
43
- size?: number;
44
- className?: string;
45
- color?: string;
46
- rotate?: boolean;
47
- }
48
- declare const LoadingIcon: React__default.FC<LoadingIconProps>;
49
-
50
- declare function EmailLineIcon({ size, color, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
51
-
52
- declare const UnLoginIcon: React__default.FC<IconProps$1>;
53
-
54
- declare const LoginIcon: React__default.FC<IconProps$1>;
55
-
56
- declare function CheckRoundIcon({ size, color, ...props }: Omit<IconProps$1, 'width' | 'height'>): react_jsx_runtime.JSX.Element;
57
-
58
- declare function PasswordRoundIcon(): react_jsx_runtime.JSX.Element;
59
-
60
- type IconProps = {
61
- color?: string,
62
- height?: string|number,
63
- width?: string|number,
64
- className?: string
65
- size?: number
66
- onClick?: ()=>void
67
- }
68
-
69
- type IconSizeColorProps = Omit<IconProps, 'height' |'width'>
70
-
71
- type IconSizeProps = Omit<IconProps, 'color'|'height'|'width'>
72
-
73
- type IconHWColorProps = Omit<IconProps, 'size'>
74
-
75
- declare function CloseEyeIcon({ size, color }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
76
-
77
- declare function OpenEyeIcon({ size, color }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
78
-
79
- declare function DeleteRoundIcon({ height, width, color, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
80
-
81
- declare function FacebookIcon({ size }: {
82
- size?: number | string;
83
- }): react_jsx_runtime.JSX.Element;
84
-
85
- declare function ArrowLeftIcon({ color, width, height, ...props }: IconProps$1): react_jsx_runtime.JSX.Element;
86
-
87
- declare function GithubIcon({ size }: {
88
- size?: number | string;
89
- }): react_jsx_runtime.JSX.Element;
90
-
91
- declare function DiscordIcon({ size }: {
92
- size?: number | string;
93
- }): react_jsx_runtime.JSX.Element;
94
-
95
- declare function CheckIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
96
-
97
- declare function CopyIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
98
-
99
- declare function LinkedinIcon({ size, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
100
-
101
- declare function YoutubeIcon({ size, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
102
-
103
- declare function BTCDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
104
-
105
- declare function BTCLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
106
-
107
- declare function EVMDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
108
-
109
- declare function EVMLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
110
-
111
- declare function SOLDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
112
-
113
- declare function SOLLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
114
-
115
- declare function TRXDarkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
116
-
117
- declare function TRXLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
118
-
119
- declare function ArrowDownIcon({ width, height, color, ...props }: IconProps): react_jsx_runtime.JSX.Element;
120
-
121
- declare function LeatherIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
122
-
123
- declare function UnisatIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
124
-
125
- declare function XverseIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
126
-
127
- declare function TronLinkIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
128
-
129
- declare function OKXIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
130
-
131
- declare function BitgetIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
132
-
133
- declare function TonLightIcon$1({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
134
-
135
- declare function TonLightIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
136
-
137
- declare function ErrorRoundIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
138
-
139
- declare function InfoLineIcon({ size, color, ...props }: Omit<IconProps$1, 'width' | 'height'>): react_jsx_runtime.JSX.Element;
140
-
141
- declare function InfoRoundIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
142
-
143
- declare function TransferIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
144
-
145
- declare function ArrowSendIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
146
-
147
- declare function PhantomIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
148
-
149
- declare function MoreIcon({ width, height, color, ...props }: IconHWColorProps): react_jsx_runtime.JSX.Element;
150
-
151
- declare function CheckboxIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
152
-
153
- declare function CheckboxCheckedIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
154
-
155
- declare function InputLengthIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
156
-
157
- declare const index_ArrowDownIcon: typeof ArrowDownIcon;
158
- declare const index_ArrowLeftIcon: typeof ArrowLeftIcon;
159
- declare const index_ArrowRightIcon: typeof ArrowRightIcon;
160
- declare const index_ArrowSendIcon: typeof ArrowSendIcon;
161
- declare const index_BTCDarkIcon: typeof BTCDarkIcon;
162
- declare const index_BTCLightIcon: typeof BTCLightIcon;
163
- declare const index_BackIcon: typeof BackIcon;
164
- declare const index_BitgetIcon: typeof BitgetIcon;
165
- declare const index_CheckIcon: typeof CheckIcon;
166
- declare const index_CheckRoundIcon: typeof CheckRoundIcon;
167
- declare const index_CheckboxCheckedIcon: typeof CheckboxCheckedIcon;
168
- declare const index_CheckboxIcon: typeof CheckboxIcon;
169
- declare const index_CloseEyeIcon: typeof CloseEyeIcon;
170
- declare const index_CloseIcon: typeof CloseIcon;
171
- declare const index_CloseRoundIcon: typeof CloseRoundIcon;
172
- declare const index_CopyIcon: typeof CopyIcon;
173
- declare const index_DeleteRoundIcon: typeof DeleteRoundIcon;
174
- declare const index_DiscordIcon: typeof DiscordIcon;
175
- declare const index_EVMDarkIcon: typeof EVMDarkIcon;
176
- declare const index_EVMLightIcon: typeof EVMLightIcon;
177
- declare const index_EmailIcon: typeof EmailIcon;
178
- declare const index_EmailLineIcon: typeof EmailLineIcon;
179
- declare const index_ErrorRoundIcon: typeof ErrorRoundIcon;
180
- declare const index_FacebookIcon: typeof FacebookIcon;
181
- declare const index_GithubIcon: typeof GithubIcon;
182
- declare const index_GoogleIcon: typeof GoogleIcon;
183
- declare const index_InfoLineIcon: typeof InfoLineIcon;
184
- declare const index_InfoRoundIcon: typeof InfoRoundIcon;
185
- declare const index_InputLengthIcon: typeof InputLengthIcon;
186
- declare const index_LeatherIcon: typeof LeatherIcon;
187
- declare const index_LinkedinIcon: typeof LinkedinIcon;
188
- declare const index_LoadingIcon: typeof LoadingIcon;
189
- declare const index_LoginIcon: typeof LoginIcon;
190
- declare const index_MoreIcon: typeof MoreIcon;
191
- declare const index_OKXIcon: typeof OKXIcon;
192
- declare const index_OpenEyeIcon: typeof OpenEyeIcon;
193
- declare const index_PasswordRoundIcon: typeof PasswordRoundIcon;
194
- declare const index_PhantomIcon: typeof PhantomIcon;
195
- declare const index_SOLDarkIcon: typeof SOLDarkIcon;
196
- declare const index_SOLLightIcon: typeof SOLLightIcon;
197
- declare const index_TRXDarkIcon: typeof TRXDarkIcon;
198
- declare const index_TRXLightIcon: typeof TRXLightIcon;
199
- declare const index_TelegramIcon: typeof TelegramIcon;
200
- declare const index_TonLightIcon: typeof TonLightIcon;
201
- declare const index_TransferIcon: typeof TransferIcon;
202
- declare const index_TronLinkIcon: typeof TronLinkIcon;
203
- declare const index_UnLoginIcon: typeof UnLoginIcon;
204
- declare const index_UnisatIcon: typeof UnisatIcon;
205
- declare const index_WalletIcon: typeof WalletIcon;
206
- declare const index_XIcon: typeof XIcon;
207
- declare const index_XverseIcon: typeof XverseIcon;
208
- declare const index_YoutubeIcon: typeof YoutubeIcon;
209
- declare namespace index {
210
- export { index_ArrowDownIcon as ArrowDownIcon, index_ArrowLeftIcon as ArrowLeftIcon, index_ArrowRightIcon as ArrowRightIcon, index_ArrowSendIcon as ArrowSendIcon, index_BTCDarkIcon as BTCDarkIcon, index_BTCLightIcon as BTCLightIcon, index_BackIcon as BackIcon, index_BitgetIcon as BitgetIcon, index_CheckIcon as CheckIcon, index_CheckRoundIcon as CheckRoundIcon, index_CheckboxCheckedIcon as CheckboxCheckedIcon, index_CheckboxIcon as CheckboxIcon, index_CloseEyeIcon as CloseEyeIcon, index_CloseIcon as CloseIcon, index_CloseRoundIcon as CloseRoundIcon, index_CopyIcon as CopyIcon, index_DeleteRoundIcon as DeleteRoundIcon, index_DiscordIcon as DiscordIcon, index_EVMDarkIcon as EVMDarkIcon, index_EVMLightIcon as EVMLightIcon, index_EmailIcon as EmailIcon, index_EmailLineIcon as EmailLineIcon, index_ErrorRoundIcon as ErrorRoundIcon, index_FacebookIcon as FacebookIcon, index_GithubIcon as GithubIcon, index_GoogleIcon as GoogleIcon, index_InfoLineIcon as InfoLineIcon, index_InfoRoundIcon as InfoRoundIcon, index_InputLengthIcon as InputLengthIcon, index_LeatherIcon as LeatherIcon, index_LinkedinIcon as LinkedinIcon, index_LoadingIcon as LoadingIcon, index_LoginIcon as LoginIcon, index_MoreIcon as MoreIcon, index_OKXIcon as OKXIcon, index_OpenEyeIcon as OpenEyeIcon, index_PasswordRoundIcon as PasswordRoundIcon, index_PhantomIcon as PhantomIcon, index_SOLDarkIcon as SOLDarkIcon, index_SOLLightIcon as SOLLightIcon, index_TRXDarkIcon as TRXDarkIcon, index_TRXLightIcon as TRXLightIcon, index_TelegramIcon as TelegramIcon, TonLightIcon$1 as TonDarkIcon, index_TonLightIcon as TonLightIcon, index_TransferIcon as TransferIcon, index_TronLinkIcon as TronLinkIcon, index_UnLoginIcon as UnLoginIcon, index_UnisatIcon as UnisatIcon, index_WalletIcon as WalletIcon, index_XIcon as XIcon, index_XverseIcon as XverseIcon, index_YoutubeIcon as YoutubeIcon };
211
- }
212
-
213
- export { InputLengthIcon as $, ArrowRightIcon as A, BackIcon as B, CloseIcon as C, DeleteRoundIcon as D, EmailIcon as E, FacebookIcon as F, GoogleIcon as G, TonLightIcon$1 as H, TonLightIcon as I, ErrorRoundIcon as J, InfoLineIcon as K, LoadingIcon as L, InfoRoundIcon as M, TransferIcon as N, OpenEyeIcon as O, PasswordRoundIcon as P, ArrowSendIcon as Q, PhantomIcon as R, SOLDarkIcon as S, TelegramIcon as T, UnLoginIcon as U, MoreIcon as V, WalletIcon as W, XIcon as X, YoutubeIcon as Y, CheckboxIcon as Z, CheckboxCheckedIcon as _, CloseRoundIcon as a, EmailLineIcon as b, LoginIcon as c, CheckRoundIcon as d, CloseEyeIcon as e, ArrowLeftIcon as f, GithubIcon as g, DiscordIcon as h, index as i, CheckIcon as j, CopyIcon as k, LinkedinIcon as l, BTCDarkIcon as m, BTCLightIcon as n, EVMDarkIcon as o, EVMLightIcon as p, SOLLightIcon as q, TRXDarkIcon as r, TRXLightIcon as s, ArrowDownIcon as t, LeatherIcon as u, UnisatIcon as v, XverseIcon as w, TronLinkIcon as x, OKXIcon as y, BitgetIcon as z };
@@ -1,38 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default, { ReactNode, PropsWithChildren } from 'react';
3
- import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-CheN9vHJ.js';
4
-
5
- declare function Field({ label, children, error, required, className }: {
6
- label: ReactNode;
7
- error?: ReactNode;
8
- required?: boolean;
9
- className?: string;
10
- } & PropsWithChildren): react_jsx_runtime.JSX.Element;
11
-
12
- declare function Input({ onChange, type, after, showLength, showClear, className, rows, maxRows, children, ...props }: InputProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
13
-
14
- declare function Button({ size, disabled, loading, children, onClick, highlight, block, type, rounded, className, style, dataset }: ButtonProps & {
15
- dataset?: {
16
- [key: string]: string;
17
- };
18
- }): react_jsx_runtime.JSX.Element;
19
-
20
- declare function Modal({ children, isOpen, width, zIndex, className }: ModalProps): react_jsx_runtime.JSX.Element;
21
- declare function ModalWithHeader({ children, onBack, onClose, title, showBorder, showClose, ...props }: ModalWithHeaderProps): react_jsx_runtime.JSX.Element;
22
- declare function ConfirmModal({ title, children, onClose, onConfirm, isOpen, confirmText, zIndex }: {
23
- title?: string;
24
- onClose: () => void;
25
- onConfirm: () => Promise<void>;
26
- isOpen: boolean;
27
- confirmText?: React__default.ReactNode;
28
- zIndex?: number;
29
- } & PropsWithChildren): react_jsx_runtime.JSX.Element;
30
-
31
- declare function Popover({ children, content, position, type, className, gap }: PopoverProps): false | "" | 0 | react_jsx_runtime.JSX.Element | null | undefined;
32
-
33
- declare function Overlay({ isOpen, children, zIndex, }: {
34
- isOpen?: boolean;
35
- zIndex?: number;
36
- } & PropsWithChildren): react_jsx_runtime.JSX.Element;
37
-
38
- export { Button as B, ConfirmModal as C, Field as F, Input as I, Modal as M, Overlay as O, Popover as P, ModalWithHeader as a };
@@ -1,92 +0,0 @@
1
- import { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-DdN22cwf.js';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-CheN9vHJ.js';
4
- import { Hash, Chain } from 'viem';
5
- import * as React$1 from 'react';
6
- import React__default, { CSSProperties } from 'react';
7
-
8
- declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex, onBack }: DrawerProps): react_jsx_runtime.JSX.Element;
9
-
10
- type HashPanelProps = {
11
- hash?: Hash | null;
12
- chain?: Chain | null;
13
- isOpen: boolean;
14
- onClose: () => void;
15
- zIndex?: number;
16
- error?: string;
17
- };
18
- declare function export_default(props: HashPanelProps): false | react_jsx_runtime.JSX.Element;
19
-
20
- declare function ModalDrawer({ title, drawerTitleVisible, ...props }: WalletPanelProps): react_jsx_runtime.JSX.Element;
21
-
22
- declare function Switch({ size, checked, loading, onChange, className, disabled, ...props }: {
23
- size?: "default" | "sm";
24
- checked?: boolean;
25
- loading?: boolean;
26
- disabled?: boolean;
27
- onChange?: (checked: boolean) => void;
28
- } & UIProps): react_jsx_runtime.JSX.Element;
29
-
30
- declare function AlphaAvatar({ name, size, className, style }: {
31
- name: string;
32
- size?: number | "sm" | "default" | "lg";
33
- } & UIProps): react_jsx_runtime.JSX.Element;
34
-
35
- declare function Radio({ checked, onChange, size, color, className, style }: {
36
- checked?: boolean;
37
- onChange?: () => void;
38
- size?: number;
39
- color?: string;
40
- className?: string;
41
- style?: CSSProperties;
42
- }): react_jsx_runtime.JSX.Element;
43
-
44
- interface SkeletonProps {
45
- style?: React__default.CSSProperties;
46
- className?: string;
47
- width?: string | number;
48
- height?: string | number;
49
- radius?: string | number;
50
- loading?: boolean;
51
- children?: React__default.ReactNode;
52
- }
53
- declare const Skeleton: React__default.FC<SkeletonProps>;
54
-
55
- type TabsProps = {
56
- tabs: string[];
57
- activeTab: number;
58
- setActiveTab: (tab: number) => void;
59
- };
60
- declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
61
-
62
- declare const LazyLottie: (props: {
63
- animationData: any;
64
- style?: React.CSSProperties;
65
- }) => React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
66
-
67
- declare function Checkbox({ checked, onChange }: {
68
- checked?: boolean;
69
- onChange?: (checked: boolean) => void;
70
- }): react_jsx_runtime.JSX.Element;
71
-
72
- declare const index_AlphaAvatar: typeof AlphaAvatar;
73
- declare const index_Button: typeof Button;
74
- declare const index_Checkbox: typeof Checkbox;
75
- declare const index_ConfirmModal: typeof ConfirmModal;
76
- declare const index_Drawer: typeof Drawer;
77
- declare const index_Field: typeof Field;
78
- declare const index_Input: typeof Input;
79
- declare const index_Modal: typeof Modal;
80
- declare const index_ModalDrawer: typeof ModalDrawer;
81
- declare const index_ModalWithHeader: typeof ModalWithHeader;
82
- declare const index_Overlay: typeof Overlay;
83
- declare const index_Popover: typeof Popover;
84
- declare const index_Radio: typeof Radio;
85
- declare const index_Skeleton: typeof Skeleton;
86
- declare const index_Switch: typeof Switch;
87
- declare const index_Tabs: typeof Tabs;
88
- declare namespace index {
89
- export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Checkbox as Checkbox, index_ConfirmModal as ConfirmModal, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, LazyLottie as Lottie, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Skeleton as Skeleton, index_Switch as Switch, index_Tabs as Tabs };
90
- }
91
-
92
- export { AlphaAvatar as A, Checkbox as C, Drawer as D, LazyLottie as L, ModalDrawer as M, Radio as R, Switch as S, Tabs as T, Skeleton as a, export_default as e, index as i };
@@ -1,66 +0,0 @@
1
- import { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-CheN9vHJ.js';
2
-
3
- declare const index_Address: typeof Address;
4
- declare const index_AnyObject: typeof AnyObject;
5
- declare const index_AppConfigType: typeof AppConfigType;
6
- declare const index_AuthParams: typeof AuthParams;
7
- declare const index_BindInfoType: typeof BindInfoType;
8
- declare const index_BindItemType: typeof BindItemType;
9
- declare const index_BindWalletParam: typeof BindWalletParam;
10
- declare const index_ButtonProps: typeof ButtonProps;
11
- declare const index_CEXType: typeof CEXType;
12
- declare const index_ChainType: typeof ChainType;
13
- declare const index_DeepPartial: typeof DeepPartial;
14
- declare const index_DrawerProps: typeof DrawerProps;
15
- declare const index_EmailModalProps: typeof EmailModalProps;
16
- declare const index_EmbeddedWalletsParams: typeof EmbeddedWalletsParams;
17
- declare const index_Hash: typeof Hash;
18
- declare const index_IEnvConfigType: typeof IEnvConfigType;
19
- declare const index_IEnvName: typeof IEnvName;
20
- declare const index_ILoginWalletReq: typeof ILoginWalletReq;
21
- declare const index_IMatchEvents: typeof IMatchEvents;
22
- declare const index_ISocialLoginMethod: typeof ISocialLoginMethod;
23
- declare const index_IconProps: typeof IconProps;
24
- declare const index_InputProps: typeof InputProps;
25
- declare const index_LocaleType: typeof LocaleType;
26
- declare const index_LoginBoxProps: typeof LoginBoxProps;
27
- declare const index_LoginMethodType: typeof LoginMethodType;
28
- declare const index_LoginModalProps: typeof LoginModalProps;
29
- declare const index_LoginPanelProps: typeof LoginPanelProps;
30
- declare const index_MessageType: typeof MessageType;
31
- declare const index_MetaPageType: typeof MetaPageType;
32
- declare const index_ModalProps: typeof ModalProps;
33
- declare const index_ModalWithHeaderProps: typeof ModalWithHeaderProps;
34
- declare const index_OtherLoginMethodType: typeof OtherLoginMethodType;
35
- declare const index_OverviewInfo: typeof OverviewInfo;
36
- declare const index_PohItemType: typeof PohItemType;
37
- declare const index_PohZkpassParams: typeof PohZkpassParams;
38
- declare const index_PopoverPositionType: typeof PopoverPositionType;
39
- declare const index_PopoverProps: typeof PopoverProps;
40
- declare const index_PopoverTypeType: typeof PopoverTypeType;
41
- declare const index_RecommendLoginMethodType: typeof RecommendLoginMethodType;
42
- declare const index_RecoveryType: typeof RecoveryType;
43
- declare const index_ThemeType: typeof ThemeType;
44
- declare const index_UIProps: typeof UIProps;
45
- declare const index_UserAssetToken: typeof UserAssetToken;
46
- declare const index_UserChainType: typeof UserChainType;
47
- declare const index_UserImportTokenType: typeof UserImportTokenType;
48
- declare const index_UserPopoverProps: typeof UserPopoverProps;
49
- declare const index_UserTransactionNextPageParams: typeof UserTransactionNextPageParams;
50
- declare const index_UserTransactionRecordType: typeof UserTransactionRecordType;
51
- declare const index_UserTransactionType: typeof UserTransactionType;
52
- declare const index_WalletAssetMergeType: typeof WalletAssetMergeType;
53
- declare const index_WalletAssetType: typeof WalletAssetType;
54
- declare const index_WalletChainType: typeof WalletChainType;
55
- declare const index_WalletConfigType: typeof WalletConfigType;
56
- declare const index_WalletNFTType: typeof WalletNFTType;
57
- declare const index_WalletPanelProps: typeof WalletPanelProps;
58
- declare const index_WalletReceiveMessageType: typeof WalletReceiveMessageType;
59
- declare const index_WalletStatusType: typeof WalletStatusType;
60
- declare const index_WalletType: typeof WalletType;
61
- declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
62
- declare namespace index {
63
- export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletStatusType as WalletStatusType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
64
- }
65
-
66
- export { index as i };
@@ -1,92 +0,0 @@
1
- import { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-CjekOYJl.mjs';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-CheN9vHJ.mjs';
4
- import { Hash, Chain } from 'viem';
5
- import * as React$1 from 'react';
6
- import React__default, { CSSProperties } from 'react';
7
-
8
- declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex, onBack }: DrawerProps): react_jsx_runtime.JSX.Element;
9
-
10
- type HashPanelProps = {
11
- hash?: Hash | null;
12
- chain?: Chain | null;
13
- isOpen: boolean;
14
- onClose: () => void;
15
- zIndex?: number;
16
- error?: string;
17
- };
18
- declare function export_default(props: HashPanelProps): false | react_jsx_runtime.JSX.Element;
19
-
20
- declare function ModalDrawer({ title, drawerTitleVisible, ...props }: WalletPanelProps): react_jsx_runtime.JSX.Element;
21
-
22
- declare function Switch({ size, checked, loading, onChange, className, disabled, ...props }: {
23
- size?: "default" | "sm";
24
- checked?: boolean;
25
- loading?: boolean;
26
- disabled?: boolean;
27
- onChange?: (checked: boolean) => void;
28
- } & UIProps): react_jsx_runtime.JSX.Element;
29
-
30
- declare function AlphaAvatar({ name, size, className, style }: {
31
- name: string;
32
- size?: number | "sm" | "default" | "lg";
33
- } & UIProps): react_jsx_runtime.JSX.Element;
34
-
35
- declare function Radio({ checked, onChange, size, color, className, style }: {
36
- checked?: boolean;
37
- onChange?: () => void;
38
- size?: number;
39
- color?: string;
40
- className?: string;
41
- style?: CSSProperties;
42
- }): react_jsx_runtime.JSX.Element;
43
-
44
- interface SkeletonProps {
45
- style?: React__default.CSSProperties;
46
- className?: string;
47
- width?: string | number;
48
- height?: string | number;
49
- radius?: string | number;
50
- loading?: boolean;
51
- children?: React__default.ReactNode;
52
- }
53
- declare const Skeleton: React__default.FC<SkeletonProps>;
54
-
55
- type TabsProps = {
56
- tabs: string[];
57
- activeTab: number;
58
- setActiveTab: (tab: number) => void;
59
- };
60
- declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
61
-
62
- declare const LazyLottie: (props: {
63
- animationData: any;
64
- style?: React.CSSProperties;
65
- }) => React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
66
-
67
- declare function Checkbox({ checked, onChange }: {
68
- checked?: boolean;
69
- onChange?: (checked: boolean) => void;
70
- }): react_jsx_runtime.JSX.Element;
71
-
72
- declare const index_AlphaAvatar: typeof AlphaAvatar;
73
- declare const index_Button: typeof Button;
74
- declare const index_Checkbox: typeof Checkbox;
75
- declare const index_ConfirmModal: typeof ConfirmModal;
76
- declare const index_Drawer: typeof Drawer;
77
- declare const index_Field: typeof Field;
78
- declare const index_Input: typeof Input;
79
- declare const index_Modal: typeof Modal;
80
- declare const index_ModalDrawer: typeof ModalDrawer;
81
- declare const index_ModalWithHeader: typeof ModalWithHeader;
82
- declare const index_Overlay: typeof Overlay;
83
- declare const index_Popover: typeof Popover;
84
- declare const index_Radio: typeof Radio;
85
- declare const index_Skeleton: typeof Skeleton;
86
- declare const index_Switch: typeof Switch;
87
- declare const index_Tabs: typeof Tabs;
88
- declare namespace index {
89
- export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Checkbox as Checkbox, index_ConfirmModal as ConfirmModal, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, LazyLottie as Lottie, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Skeleton as Skeleton, index_Switch as Switch, index_Tabs as Tabs };
90
- }
91
-
92
- export { AlphaAvatar as A, Checkbox as C, Drawer as D, LazyLottie as L, ModalDrawer as M, Radio as R, Switch as S, Tabs as T, Skeleton as a, export_default as e, index as i };