@matchain/matchid-sdk-react 0.1.48-alpha.9 → 0.1.49
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/assets/icon/index.d.mts +8 -2
- package/dist/assets/icon/index.d.ts +8 -2
- package/dist/assets/icon/index.js +54 -2
- package/dist/assets/icon/index.js.map +1 -1
- package/dist/assets/icon/index.mjs +5 -1
- package/dist/chunk-5JHHHLG4.mjs +136 -0
- package/dist/chunk-5JHHHLG4.mjs.map +1 -0
- package/dist/{chunk-USKUYOYJ.mjs → chunk-FB5MHLWX.mjs} +75 -42
- package/dist/chunk-FB5MHLWX.mjs.map +1 -0
- package/dist/{chunk-T72FT5NB.mjs → chunk-IKSPEZ4F.mjs} +2 -2
- package/dist/{chunk-7UTR37EJ.mjs → chunk-LHNKZISB.mjs} +54 -4
- package/dist/chunk-LHNKZISB.mjs.map +1 -0
- package/dist/{chunk-CI63DTB6.mjs → chunk-MXDPJRRH.mjs} +2020 -702
- package/dist/chunk-MXDPJRRH.mjs.map +1 -0
- package/dist/components/index.d.mts +4 -3
- package/dist/components/index.d.ts +4 -3
- package/dist/components/index.js +2265 -536
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +14 -3
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +363 -204
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +5 -4
- package/dist/hooks/index.d.mts +4 -2
- package/dist/hooks/index.d.ts +4 -2
- package/dist/hooks/index.js +1532 -320
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +8 -3
- package/dist/index-BMfaixEx.d.mts +66 -0
- package/dist/{index-Bbn2Stvu.d.ts → index-BMsj8hJv.d.ts} +4 -3
- package/dist/{index-DcxdJ0m2.d.ts → index-BcEreCxd.d.ts} +1 -1
- package/dist/{index-Bz53bbI_.d.ts → index-Bg4rqEu2.d.ts} +145 -88
- package/dist/index-Bpmrd7mh.d.ts +66 -0
- package/dist/{index-C_S7k6z2.d.mts → index-Bvc8cjpN.d.ts} +34 -4
- package/dist/{index-Dzvj-uGt.d.mts → index-C9F6f2iz.d.mts} +4 -3
- package/dist/{index-D-uNr-JV.d.ts → index-C9qYyRgt.d.mts} +34 -4
- package/dist/{index-DDV4F9ka.d.mts → index-CNzG0MX7.d.mts} +145 -88
- package/dist/{index-CB4j_ONH.d.mts → index-Cou96DpL.d.mts} +1 -1
- package/dist/{index-B7A0lN0C.d.mts → index-Cy3K-Yao.d.ts} +21 -6
- package/dist/{index-dhPbMbvL.d.ts → index-D4ju2J_e.d.mts} +21 -6
- package/dist/index.css +613 -10
- package/dist/index.d.mts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +2597 -1104
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -10
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/{types-B4BYNw8B.d.mts → types-DzVVzMYU.d.mts} +62 -35
- package/dist/{types-B4BYNw8B.d.ts → types-DzVVzMYU.d.ts} +62 -35
- package/dist/ui/index.d.mts +4 -3
- package/dist/ui/index.d.ts +4 -3
- package/dist/ui/index.js +134 -95
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +2 -2
- package/dist/utils/index.d.mts +26 -0
- package/dist/utils/index.d.ts +26 -0
- package/dist/utils/index.js +181 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +30 -0
- package/dist/utils/index.mjs.map +1 -0
- package/example/src/pages/Wallet/components/MatchWallet.tsx +44 -9
- package/example/src/pages/Wallet/index.tsx +2 -1
- package/package.json +7 -1
- package/dist/chunk-7UTR37EJ.mjs.map +0 -1
- package/dist/chunk-CI63DTB6.mjs.map +0 -1
- package/dist/chunk-USKUYOYJ.mjs.map +0 -1
- package/dist/index-CKyWWkzU.d.mts +0 -60
- package/dist/index-DV_mRu4y.d.ts +0 -60
- /package/dist/{chunk-T72FT5NB.mjs.map → chunk-IKSPEZ4F.mjs.map} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React, { CSSProperties } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { w as IconProps$1 } from '../../types-DzVVzMYU.mjs';
|
|
4
|
+
import '@tanstack/react-query/src/types';
|
|
4
5
|
|
|
5
6
|
declare function BackIcon({ color, size, className, style }: {
|
|
6
7
|
color?: string;
|
|
@@ -43,6 +44,7 @@ interface LoadingIconProps {
|
|
|
43
44
|
size?: number;
|
|
44
45
|
className?: string;
|
|
45
46
|
color?: string;
|
|
47
|
+
rotate?: boolean;
|
|
46
48
|
}
|
|
47
49
|
declare const LoadingIcon: React.FC<LoadingIconProps>;
|
|
48
50
|
|
|
@@ -136,4 +138,8 @@ declare function InfoLineIcon({ size, color, ...props }: Omit<IconProps$1, 'widt
|
|
|
136
138
|
|
|
137
139
|
declare function InfoRoundIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
138
140
|
|
|
139
|
-
|
|
141
|
+
declare function TransferIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
142
|
+
|
|
143
|
+
declare function ArrowSendIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
144
|
+
|
|
145
|
+
export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowSendIcon, BTCDarkIcon, BTCLightIcon, BackIcon, BitgetIcon, CheckIcon, CheckRoundIcon, CloseEyeIcon, CloseIcon, CloseRoundIcon, CopyIcon, DeleteRoundIcon, DiscordIcon, EVMDarkIcon, EVMLightIcon, EmailIcon, EmailLineIcon, ErrorRoundIcon, FacebookIcon, GithubIcon, GoogleIcon, InfoLineIcon, InfoRoundIcon, LeatherIcon, LinkedinIcon, LoadingIcon, LoginIcon, OKXIcon, OpenEyeIcon, PasswordRoundIcon, SOLDarkIcon, SOLLightIcon, TRXDarkIcon, TRXLightIcon, TelegramIcon, TonLightIcon$1 as TonDarkIcon, TonLightIcon, TransferIcon, TronLinkIcon, UnLoginIcon, UnisatIcon, WalletIcon, XIcon, XverseIcon, YoutubeIcon };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React, { CSSProperties } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { w as IconProps$1 } from '../../types-DzVVzMYU.js';
|
|
4
|
+
import '@tanstack/react-query/src/types';
|
|
4
5
|
|
|
5
6
|
declare function BackIcon({ color, size, className, style }: {
|
|
6
7
|
color?: string;
|
|
@@ -43,6 +44,7 @@ interface LoadingIconProps {
|
|
|
43
44
|
size?: number;
|
|
44
45
|
className?: string;
|
|
45
46
|
color?: string;
|
|
47
|
+
rotate?: boolean;
|
|
46
48
|
}
|
|
47
49
|
declare const LoadingIcon: React.FC<LoadingIconProps>;
|
|
48
50
|
|
|
@@ -136,4 +138,8 @@ declare function InfoLineIcon({ size, color, ...props }: Omit<IconProps$1, 'widt
|
|
|
136
138
|
|
|
137
139
|
declare function InfoRoundIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
138
140
|
|
|
139
|
-
|
|
141
|
+
declare function TransferIcon({ size, ...props }: IconSizeProps): react_jsx_runtime.JSX.Element;
|
|
142
|
+
|
|
143
|
+
declare function ArrowSendIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
144
|
+
|
|
145
|
+
export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowSendIcon, BTCDarkIcon, BTCLightIcon, BackIcon, BitgetIcon, CheckIcon, CheckRoundIcon, CloseEyeIcon, CloseIcon, CloseRoundIcon, CopyIcon, DeleteRoundIcon, DiscordIcon, EVMDarkIcon, EVMLightIcon, EmailIcon, EmailLineIcon, ErrorRoundIcon, FacebookIcon, GithubIcon, GoogleIcon, InfoLineIcon, InfoRoundIcon, LeatherIcon, LinkedinIcon, LoadingIcon, LoginIcon, OKXIcon, OpenEyeIcon, PasswordRoundIcon, SOLDarkIcon, SOLLightIcon, TRXDarkIcon, TRXLightIcon, TelegramIcon, TonLightIcon$1 as TonDarkIcon, TonLightIcon, TransferIcon, TronLinkIcon, UnLoginIcon, UnisatIcon, WalletIcon, XIcon, XverseIcon, YoutubeIcon };
|
|
@@ -23,6 +23,7 @@ __export(icon_exports, {
|
|
|
23
23
|
ArrowDownIcon: () => ArrowDownIcon,
|
|
24
24
|
ArrowLeftIcon: () => ArrowLeftIcon,
|
|
25
25
|
ArrowRightIcon: () => ArrowRightIcon,
|
|
26
|
+
ArrowSendIcon: () => ArrowSendIcon,
|
|
26
27
|
BTCDarkIcon: () => BTCDarkIcon,
|
|
27
28
|
BTCLightIcon: () => BTCLightIcon,
|
|
28
29
|
BackIcon: () => BackIcon,
|
|
@@ -59,6 +60,7 @@ __export(icon_exports, {
|
|
|
59
60
|
TelegramIcon: () => TelegramIcon,
|
|
60
61
|
TonDarkIcon: () => TonLightIcon,
|
|
61
62
|
TonLightIcon: () => TonLightIcon2,
|
|
63
|
+
TransferIcon: () => TransferIcon,
|
|
62
64
|
TronLinkIcon: () => TronLinkIcon,
|
|
63
65
|
UnLoginIcon: () => UnLoginIcon_default,
|
|
64
66
|
UnisatIcon: () => UnisatIcon,
|
|
@@ -255,7 +257,7 @@ function CloseRoundIcon({ size = 30, ...props }) {
|
|
|
255
257
|
|
|
256
258
|
// src/assets/icon/LoadingIcon.tsx
|
|
257
259
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
258
|
-
var LoadingIcon = ({ size = 22, className = "", color = "white" }) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
260
|
+
var LoadingIcon = ({ size = 22, className = "", color = "white", rotate = false }) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
259
261
|
"svg",
|
|
260
262
|
{
|
|
261
263
|
width: size,
|
|
@@ -263,7 +265,7 @@ var LoadingIcon = ({ size = 22, className = "", color = "white" }) => /* @__PURE
|
|
|
263
265
|
viewBox: "0 0 22 22",
|
|
264
266
|
fill: "none",
|
|
265
267
|
xmlns: "http://www.w3.org/2000/svg",
|
|
266
|
-
className,
|
|
268
|
+
className: className + " " + (rotate ? "matchid-rotate" : ""),
|
|
267
269
|
children: [
|
|
268
270
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M11 1V3.5", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
269
271
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { opacity: "0.3", d: "M3.92834 3.92871L5.69977 5.70017", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -1203,11 +1205,60 @@ function InfoRoundIcon({
|
|
|
1203
1205
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "8.0002", cy: "11.2004", r: "0.8", fill: "white" })
|
|
1204
1206
|
] });
|
|
1205
1207
|
}
|
|
1208
|
+
|
|
1209
|
+
// src/assets/icon/TransferIcon.tsx
|
|
1210
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1211
|
+
function TransferIcon({ size = 40, ...props }) {
|
|
1212
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("svg", { width: size, height: size, viewBox: "0 0 40 40", ...props, fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
1213
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("rect", { x: "2", y: "2", width: "36", height: "36", rx: "18", fill: "white" }),
|
|
1214
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("rect", { x: "2", y: "2", width: "36", height: "36", rx: "18", stroke: "#F8F8F8", strokeWidth: "4" }),
|
|
1215
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1216
|
+
"path",
|
|
1217
|
+
{
|
|
1218
|
+
d: "M18.666 12.8913L18.666 26.2246L14.666 21.6413",
|
|
1219
|
+
stroke: "black",
|
|
1220
|
+
strokeWidth: "1.4",
|
|
1221
|
+
strokeLinecap: "round",
|
|
1222
|
+
strokeLinejoin: "round"
|
|
1223
|
+
}
|
|
1224
|
+
),
|
|
1225
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1226
|
+
"path",
|
|
1227
|
+
{
|
|
1228
|
+
d: "M22.2217 12.8913L22.2217 26.2246L26.2217 21.6413",
|
|
1229
|
+
stroke: "black",
|
|
1230
|
+
strokeWidth: "1.4",
|
|
1231
|
+
strokeLinecap: "round",
|
|
1232
|
+
strokeLinejoin: "round"
|
|
1233
|
+
}
|
|
1234
|
+
)
|
|
1235
|
+
] });
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
// src/assets/icon/ArrowSendIcon.tsx
|
|
1239
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1240
|
+
function ArrowSendIcon({
|
|
1241
|
+
size = 34,
|
|
1242
|
+
color = "#6E6E6E",
|
|
1243
|
+
...props
|
|
1244
|
+
}) {
|
|
1245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("svg", { width: size, height: size, viewBox: "0 0 34 34", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1246
|
+
"path",
|
|
1247
|
+
{
|
|
1248
|
+
d: "M22.6567 11.313L11.343 22.6267M22.6567 11.313L22.6567 19.7982M22.6567 11.313L14.1714 11.313",
|
|
1249
|
+
stroke: color,
|
|
1250
|
+
strokeWidth: "2",
|
|
1251
|
+
strokeLinecap: "round",
|
|
1252
|
+
strokeLinejoin: "round"
|
|
1253
|
+
}
|
|
1254
|
+
) });
|
|
1255
|
+
}
|
|
1206
1256
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1207
1257
|
0 && (module.exports = {
|
|
1208
1258
|
ArrowDownIcon,
|
|
1209
1259
|
ArrowLeftIcon,
|
|
1210
1260
|
ArrowRightIcon,
|
|
1261
|
+
ArrowSendIcon,
|
|
1211
1262
|
BTCDarkIcon,
|
|
1212
1263
|
BTCLightIcon,
|
|
1213
1264
|
BackIcon,
|
|
@@ -1244,6 +1295,7 @@ function InfoRoundIcon({
|
|
|
1244
1295
|
TelegramIcon,
|
|
1245
1296
|
TonDarkIcon,
|
|
1246
1297
|
TonLightIcon,
|
|
1298
|
+
TransferIcon,
|
|
1247
1299
|
TronLinkIcon,
|
|
1248
1300
|
UnLoginIcon,
|
|
1249
1301
|
UnisatIcon,
|