@matchain/matchid-sdk-react 0.1.48-alpha.2 → 0.1.48-alpha.20
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 +12 -2
- package/dist/assets/icon/index.d.ts +12 -2
- package/dist/assets/icon/index.js +93 -2
- package/dist/assets/icon/index.js.map +1 -1
- package/dist/assets/icon/index.mjs +9 -1
- package/dist/{chunk-6HRRPZPM.mjs → chunk-3UVHHJP6.mjs} +2 -2
- package/dist/chunk-5JHHHLG4.mjs +136 -0
- package/dist/chunk-5JHHHLG4.mjs.map +1 -0
- package/dist/{chunk-A5D3NKTK.mjs → chunk-LHNKZISB.mjs} +91 -4
- package/dist/chunk-LHNKZISB.mjs.map +1 -0
- package/dist/{chunk-D6IUBR7S.mjs → chunk-WHZ3HI4R.mjs} +2197 -553
- package/dist/chunk-WHZ3HI4R.mjs.map +1 -0
- package/dist/{chunk-LNSJ3ZXG.mjs → chunk-WXPVHKGJ.mjs} +73 -42
- package/dist/chunk-WXPVHKGJ.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 +2283 -525
- 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 +375 -193
- 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 +1904 -227
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +12 -3
- package/dist/index-BMfaixEx.d.mts +66 -0
- package/dist/{index-DamklTOJ.d.mts → index-BMsj8hJv.d.ts} +4 -3
- package/dist/{index-CKiK4KHj.d.ts → index-BcEreCxd.d.ts} +1 -1
- package/dist/index-Bpmrd7mh.d.ts +66 -0
- package/dist/{index-CGs_yTFg.d.ts → index-Bvc8cjpN.d.ts} +34 -4
- package/dist/{index-C2-M-aBb.d.ts → index-C9F6f2iz.d.mts} +4 -3
- package/dist/{index-M7ZB3yR5.d.mts → index-C9qYyRgt.d.mts} +34 -4
- package/dist/index-CFKZWJVt.d.ts +3306 -0
- package/dist/{index-Bb7IkjUW.d.mts → index-Cou96DpL.d.mts} +1 -1
- package/dist/{index-BIgM4fy0.d.mts → index-Cy3K-Yao.d.ts} +31 -8
- package/dist/{index-BwD1ij0H.d.ts → index-D4ju2J_e.d.mts} +31 -8
- package/dist/index-Dhtyz0pT.d.mts +3306 -0
- package/dist/index.css +587 -6
- package/dist/index.d.mts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +2855 -1015
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -10
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/{types-DQq17lf4.d.mts → types-DzVVzMYU.d.mts} +74 -36
- package/dist/{types-DQq17lf4.d.ts → types-DzVVzMYU.d.ts} +74 -36
- package/dist/ui/index.d.mts +4 -3
- package/dist/ui/index.d.ts +4 -3
- package/dist/ui/index.js +140 -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 +24 -10
- package/example/src/pages/Wallet/index.tsx +2 -1
- package/package.json +7 -1
- package/dist/chunk-A5D3NKTK.mjs.map +0 -1
- package/dist/chunk-D6IUBR7S.mjs.map +0 -1
- package/dist/chunk-LNSJ3ZXG.mjs.map +0 -1
- package/dist/index-BHVMQGZj.d.mts +0 -173
- package/dist/index-BVatQlwF.d.mts +0 -59
- package/dist/index-DgAnNnit.d.ts +0 -173
- package/dist/index-RfA22r-Z.d.ts +0 -59
- /package/dist/{chunk-6HRRPZPM.mjs.map → chunk-3UVHHJP6.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
|
|
|
@@ -132,4 +134,12 @@ declare function TonLightIcon({ size, ...props }: IconSizeProps): react_jsx_runt
|
|
|
132
134
|
|
|
133
135
|
declare function ErrorRoundIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
134
136
|
|
|
135
|
-
|
|
137
|
+
declare function InfoLineIcon({ size, color, ...props }: Omit<IconProps$1, 'width' | 'height'>): react_jsx_runtime.JSX.Element;
|
|
138
|
+
|
|
139
|
+
declare function InfoRoundIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
140
|
+
|
|
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
|
|
|
@@ -132,4 +134,12 @@ declare function TonLightIcon({ size, ...props }: IconSizeProps): react_jsx_runt
|
|
|
132
134
|
|
|
133
135
|
declare function ErrorRoundIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
134
136
|
|
|
135
|
-
|
|
137
|
+
declare function InfoLineIcon({ size, color, ...props }: Omit<IconProps$1, 'width' | 'height'>): react_jsx_runtime.JSX.Element;
|
|
138
|
+
|
|
139
|
+
declare function InfoRoundIcon({ size, color, ...props }: IconSizeColorProps): react_jsx_runtime.JSX.Element;
|
|
140
|
+
|
|
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,
|
|
@@ -43,6 +44,8 @@ __export(icon_exports, {
|
|
|
43
44
|
FacebookIcon: () => FacebookIcon,
|
|
44
45
|
GithubIcon: () => GithubIcon,
|
|
45
46
|
GoogleIcon: () => GoogleIcon,
|
|
47
|
+
InfoLineIcon: () => InfoLineIcon,
|
|
48
|
+
InfoRoundIcon: () => InfoRoundIcon,
|
|
46
49
|
LeatherIcon: () => LeatherIcon,
|
|
47
50
|
LinkedinIcon: () => LinkedinIcon,
|
|
48
51
|
LoadingIcon: () => LoadingIcon_default,
|
|
@@ -57,6 +60,7 @@ __export(icon_exports, {
|
|
|
57
60
|
TelegramIcon: () => TelegramIcon,
|
|
58
61
|
TonDarkIcon: () => TonLightIcon,
|
|
59
62
|
TonLightIcon: () => TonLightIcon2,
|
|
63
|
+
TransferIcon: () => TransferIcon,
|
|
60
64
|
TronLinkIcon: () => TronLinkIcon,
|
|
61
65
|
UnLoginIcon: () => UnLoginIcon_default,
|
|
62
66
|
UnisatIcon: () => UnisatIcon,
|
|
@@ -253,7 +257,7 @@ function CloseRoundIcon({ size = 30, ...props }) {
|
|
|
253
257
|
|
|
254
258
|
// src/assets/icon/LoadingIcon.tsx
|
|
255
259
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
256
|
-
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)(
|
|
257
261
|
"svg",
|
|
258
262
|
{
|
|
259
263
|
width: size,
|
|
@@ -261,7 +265,7 @@ var LoadingIcon = ({ size = 22, className = "", color = "white" }) => /* @__PURE
|
|
|
261
265
|
viewBox: "0 0 22 22",
|
|
262
266
|
fill: "none",
|
|
263
267
|
xmlns: "http://www.w3.org/2000/svg",
|
|
264
|
-
className,
|
|
268
|
+
className: className + " " + (rotate ? "matchid-rotate" : ""),
|
|
265
269
|
children: [
|
|
266
270
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M11 1V3.5", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
267
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" }),
|
|
@@ -1166,11 +1170,95 @@ function ErrorRoundIcon({
|
|
|
1166
1170
|
)
|
|
1167
1171
|
] });
|
|
1168
1172
|
}
|
|
1173
|
+
|
|
1174
|
+
// src/assets/icon/InfoLineIcon.tsx
|
|
1175
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1176
|
+
function InfoLineIcon({
|
|
1177
|
+
size,
|
|
1178
|
+
color = "#6E6E6E",
|
|
1179
|
+
...props
|
|
1180
|
+
}) {
|
|
1181
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
1182
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("g", { clipPath: "url(#clip0_418_7746)", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1183
|
+
"path",
|
|
1184
|
+
{
|
|
1185
|
+
fillRule: "evenodd",
|
|
1186
|
+
clipRule: "evenodd",
|
|
1187
|
+
d: "M7.99984 0.666504C3.94975 0.666504 0.666504 3.94975 0.666504 7.99984C0.666504 12.0499 3.94975 15.3332 7.99984 15.3332C12.0499 15.3332 15.3332 12.0499 15.3332 7.99984C15.3332 3.94975 12.0499 0.666504 7.99984 0.666504ZM1.99984 7.99984C1.99984 4.68613 4.68613 1.99984 7.99984 1.99984C11.3135 1.99984 13.9998 4.68613 13.9998 7.99984C13.9998 11.3135 11.3135 13.9998 7.99984 13.9998C4.68613 13.9998 1.99984 11.3135 1.99984 7.99984ZM8.6665 7.33317C8.6665 6.96498 8.36803 6.6665 7.99984 6.6665C7.63165 6.6665 7.33317 6.96498 7.33317 7.33317V11.3332C7.33317 11.7014 7.63165 11.9998 7.99984 11.9998C8.36803 11.9998 8.6665 11.7014 8.6665 11.3332V7.33317ZM7.99984 5.33317C8.36803 5.33317 8.6665 5.03469 8.6665 4.6665C8.6665 4.29831 8.36803 3.99984 7.99984 3.99984C7.63165 3.99984 7.33317 4.29831 7.33317 4.6665C7.33317 5.03469 7.63165 5.33317 7.99984 5.33317Z",
|
|
1188
|
+
fill: color
|
|
1189
|
+
}
|
|
1190
|
+
) }),
|
|
1191
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("clipPath", { id: "clip0_418_7746", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1192
|
+
] });
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
// src/assets/icon/InfoRoundIcon.tsx
|
|
1196
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1197
|
+
function InfoRoundIcon({
|
|
1198
|
+
size = 16,
|
|
1199
|
+
color = "#F14141",
|
|
1200
|
+
...props
|
|
1201
|
+
}) {
|
|
1202
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
1203
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "8", cy: "8", r: "8", fill: color }),
|
|
1204
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("path", { d: "M8 4V8.8", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round" }),
|
|
1205
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "8.0002", cy: "11.2004", r: "0.8", fill: "white" })
|
|
1206
|
+
] });
|
|
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
|
+
}
|
|
1169
1256
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1170
1257
|
0 && (module.exports = {
|
|
1171
1258
|
ArrowDownIcon,
|
|
1172
1259
|
ArrowLeftIcon,
|
|
1173
1260
|
ArrowRightIcon,
|
|
1261
|
+
ArrowSendIcon,
|
|
1174
1262
|
BTCDarkIcon,
|
|
1175
1263
|
BTCLightIcon,
|
|
1176
1264
|
BackIcon,
|
|
@@ -1191,6 +1279,8 @@ function ErrorRoundIcon({
|
|
|
1191
1279
|
FacebookIcon,
|
|
1192
1280
|
GithubIcon,
|
|
1193
1281
|
GoogleIcon,
|
|
1282
|
+
InfoLineIcon,
|
|
1283
|
+
InfoRoundIcon,
|
|
1194
1284
|
LeatherIcon,
|
|
1195
1285
|
LinkedinIcon,
|
|
1196
1286
|
LoadingIcon,
|
|
@@ -1205,6 +1295,7 @@ function ErrorRoundIcon({
|
|
|
1205
1295
|
TelegramIcon,
|
|
1206
1296
|
TonDarkIcon,
|
|
1207
1297
|
TonLightIcon,
|
|
1298
|
+
TransferIcon,
|
|
1208
1299
|
TronLinkIcon,
|
|
1209
1300
|
UnLoginIcon,
|
|
1210
1301
|
UnisatIcon,
|