@matchain/matchid-sdk-react 0.1.53-alpha.21 → 0.1.53-alpha.22
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/dist/{chunk-2Q5NZXUB.mjs → chunk-ZOBAUYIZ.mjs} +4 -2
- package/dist/chunk-ZOBAUYIZ.mjs.map +1 -0
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +3 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +1 -1
- package/dist/hooks/index.js +3 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/{index-qKVfqZ0X.d.ts → index-C7a1Hfcx.d.ts} +1 -1
- package/dist/{index-CBDXC17Y.d.mts → index-CaMDtQcV.d.mts} +5 -1
- package/dist/{index-DgPcDFXk.d.ts → index-DQjZSiFX.d.ts} +1 -1
- package/dist/{index-D5ql_Egx.d.mts → index-Dee6qqWc.d.mts} +1 -1
- package/dist/{index-ijV5Kx6q.d.ts → index-DqIQL1Es.d.ts} +5 -1
- package/dist/{index-DjctI-Fl.d.mts → index-rk7ZjmRF.d.mts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/ui/index.d.mts +2 -2
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.js +3 -1
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2Q5NZXUB.mjs.map +0 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-DqIQL1Es.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { w as DrawerProps, a4 as WalletPanelProps, Y as UIProps } from './types-DvqfFAbp.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
@@ -11,7 +11,11 @@ declare function Field({ label, children, error, required, className }: {
|
|
|
11
11
|
|
|
12
12
|
declare function Input({ onChange, type, after, className, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
13
13
|
|
|
14
|
-
declare function Button({ size, disabled, loading, children, onClick, highlight, block, type, rounded, className, style }: ButtonProps
|
|
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;
|
|
15
19
|
|
|
16
20
|
declare function Modal({ children, isOpen, width, zIndex, className }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
17
21
|
declare function ModalWithHeader({ children, onBack, onClose, title, showBorder, showClose, ...props }: ModalWithHeaderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps, C as ContactType } from './types-DvqfFAbp.js';
|
|
3
|
-
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
3
|
+
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-DqIQL1Es.js';
|
|
4
4
|
import React, { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps, C as ContactType } from './types-DvqfFAbp.mjs';
|
|
3
|
-
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
3
|
+
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-CaMDtQcV.mjs';
|
|
4
4
|
import React, { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -11,7 +11,11 @@ declare function Field({ label, children, error, required, className }: {
|
|
|
11
11
|
|
|
12
12
|
declare function Input({ onChange, type, after, className, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
13
13
|
|
|
14
|
-
declare function Button({ size, disabled, loading, children, onClick, highlight, block, type, rounded, className, style }: ButtonProps
|
|
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;
|
|
15
19
|
|
|
16
20
|
declare function Modal({ children, isOpen, width, zIndex, className }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
17
21
|
declare function ModalWithHeader({ children, onBack, onClose, title, showBorder, showClose, ...props }: ModalWithHeaderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CaMDtQcV.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { w as DrawerProps, a4 as WalletPanelProps, Y as UIProps } from './types-DvqfFAbp.mjs';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
package/dist/index.d.mts
CHANGED
|
@@ -7,8 +7,8 @@ import * as viem from 'viem';
|
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
8
|
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-DvqfFAbp.mjs';
|
|
9
9
|
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-Crr4Z_Zm.mjs';
|
|
10
|
-
export { i as Components } from './index-
|
|
11
|
-
export { i as UI } from './index-
|
|
10
|
+
export { i as Components } from './index-Dee6qqWc.mjs';
|
|
11
|
+
export { i as UI } from './index-rk7ZjmRF.mjs';
|
|
12
12
|
export { i as Api } from './index-0q56ZNkH.mjs';
|
|
13
13
|
export { i as Chains } from './index-DXRGMAbv.mjs';
|
|
14
14
|
export { i as Types } from './index-DZbxObEv.mjs';
|
|
@@ -19,7 +19,7 @@ import 'viem/types/misc';
|
|
|
19
19
|
import 'react/jsx-runtime';
|
|
20
20
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
21
|
import '@tanstack/react-query';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-CaMDtQcV.mjs';
|
|
23
23
|
|
|
24
24
|
declare const wagmiConfig: wagmi.Config<[{
|
|
25
25
|
blockExplorers: {
|
package/dist/index.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ import * as viem from 'viem';
|
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
8
|
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-DvqfFAbp.js';
|
|
9
9
|
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-BRm4dPQF.js';
|
|
10
|
-
export { i as Components } from './index-
|
|
11
|
-
export { i as UI } from './index-
|
|
10
|
+
export { i as Components } from './index-DQjZSiFX.js';
|
|
11
|
+
export { i as UI } from './index-C7a1Hfcx.js';
|
|
12
12
|
export { i as Api } from './index-CANAro1S.js';
|
|
13
13
|
export { i as Chains } from './index-DXRGMAbv.js';
|
|
14
14
|
export { i as Types } from './index-DUdhdrzI.js';
|
|
@@ -19,7 +19,7 @@ import 'viem/types/misc';
|
|
|
19
19
|
import 'react/jsx-runtime';
|
|
20
20
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
21
|
import '@tanstack/react-query';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-DqIQL1Es.js';
|
|
23
23
|
|
|
24
24
|
declare const wagmiConfig: wagmi.Config<[{
|
|
25
25
|
blockExplorers: {
|
package/dist/index.js
CHANGED
|
@@ -2524,7 +2524,8 @@ function Button({
|
|
|
2524
2524
|
type = "button",
|
|
2525
2525
|
rounded = true,
|
|
2526
2526
|
className = "",
|
|
2527
|
-
style = {}
|
|
2527
|
+
style = {},
|
|
2528
|
+
dataset = {}
|
|
2528
2529
|
}) {
|
|
2529
2530
|
const onAction = () => {
|
|
2530
2531
|
if (!disabled && !loading) {
|
|
@@ -2541,6 +2542,7 @@ function Button({
|
|
|
2541
2542
|
...style
|
|
2542
2543
|
},
|
|
2543
2544
|
onClick: onAction,
|
|
2545
|
+
...dataset,
|
|
2544
2546
|
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
|
|
2545
2547
|
}
|
|
2546
2548
|
);
|