@matchain/matchid-sdk-react 0.1.48-alpha.3 → 0.1.48-alpha.30

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 (73) hide show
  1. package/dist/assets/icon/index.d.mts +12 -2
  2. package/dist/assets/icon/index.d.ts +12 -2
  3. package/dist/assets/icon/index.js +93 -2
  4. package/dist/assets/icon/index.js.map +1 -1
  5. package/dist/assets/icon/index.mjs +9 -1
  6. package/dist/chunk-5JHHHLG4.mjs +136 -0
  7. package/dist/chunk-5JHHHLG4.mjs.map +1 -0
  8. package/dist/{chunk-LNSJ3ZXG.mjs → chunk-FB5MHLWX.mjs} +75 -42
  9. package/dist/chunk-FB5MHLWX.mjs.map +1 -0
  10. package/dist/{chunk-V3WGYFWQ.mjs → chunk-KIVNILBF.mjs} +2307 -668
  11. package/dist/chunk-KIVNILBF.mjs.map +1 -0
  12. package/dist/{chunk-A5D3NKTK.mjs → chunk-LHNKZISB.mjs} +91 -4
  13. package/dist/chunk-LHNKZISB.mjs.map +1 -0
  14. package/dist/{chunk-LPQROHSB.mjs → chunk-YJV23RET.mjs} +2 -2
  15. package/dist/components/index.d.mts +4 -3
  16. package/dist/components/index.d.ts +4 -3
  17. package/dist/components/index.js +2262 -529
  18. package/dist/components/index.js.map +1 -1
  19. package/dist/components/index.mjs +14 -3
  20. package/dist/hooks/api/index.d.mts +2 -2
  21. package/dist/hooks/api/index.d.ts +2 -2
  22. package/dist/hooks/api/index.js +390 -193
  23. package/dist/hooks/api/index.js.map +1 -1
  24. package/dist/hooks/api/index.mjs +5 -4
  25. package/dist/hooks/index.d.mts +4 -2
  26. package/dist/hooks/index.d.ts +4 -2
  27. package/dist/hooks/index.js +1862 -245
  28. package/dist/hooks/index.js.map +1 -1
  29. package/dist/hooks/index.mjs +10 -3
  30. package/dist/index-BMfaixEx.d.mts +66 -0
  31. package/dist/{index-DCeOyAw8.d.ts → index-BMsj8hJv.d.ts} +4 -3
  32. package/dist/{index-Bzcc-y8m.d.ts → index-BcEreCxd.d.ts} +1 -1
  33. package/dist/index-Bpmrd7mh.d.ts +66 -0
  34. package/dist/{index-BHvCA7F9.d.ts → index-Bvc8cjpN.d.ts} +34 -4
  35. package/dist/{index-BvLpvebq.d.mts → index-C9F6f2iz.d.mts} +4 -3
  36. package/dist/{index-BZrddrq-.d.mts → index-C9qYyRgt.d.mts} +34 -4
  37. package/dist/{index-DbG5IjhP.d.mts → index-Cou96DpL.d.mts} +1 -1
  38. package/dist/{index-Cwx2p8th.d.ts → index-Cy3K-Yao.d.ts} +31 -8
  39. package/dist/{index-B8DYrhSW.d.mts → index-D4ju2J_e.d.mts} +31 -8
  40. package/dist/index-DUHkH5t-.d.mts +3317 -0
  41. package/dist/index-DcQm2dkr.d.ts +3317 -0
  42. package/dist/index.css +620 -6
  43. package/dist/index.d.mts +9 -8
  44. package/dist/index.d.ts +9 -8
  45. package/dist/index.js +2875 -1041
  46. package/dist/index.js.map +1 -1
  47. package/dist/index.mjs +11 -10
  48. package/dist/types/index.d.mts +2 -1
  49. package/dist/types/index.d.ts +2 -1
  50. package/dist/{types-CHkU0WHZ.d.mts → types-DzVVzMYU.d.mts} +74 -36
  51. package/dist/{types-CHkU0WHZ.d.ts → types-DzVVzMYU.d.ts} +74 -36
  52. package/dist/ui/index.d.mts +4 -3
  53. package/dist/ui/index.d.ts +4 -3
  54. package/dist/ui/index.js +140 -95
  55. package/dist/ui/index.js.map +1 -1
  56. package/dist/ui/index.mjs +2 -2
  57. package/dist/utils/index.d.mts +26 -0
  58. package/dist/utils/index.d.ts +26 -0
  59. package/dist/utils/index.js +181 -0
  60. package/dist/utils/index.js.map +1 -0
  61. package/dist/utils/index.mjs +30 -0
  62. package/dist/utils/index.mjs.map +1 -0
  63. package/example/src/pages/Wallet/components/MatchWallet.tsx +45 -9
  64. package/example/src/pages/Wallet/index.tsx +2 -1
  65. package/package.json +7 -1
  66. package/dist/chunk-A5D3NKTK.mjs.map +0 -1
  67. package/dist/chunk-LNSJ3ZXG.mjs.map +0 -1
  68. package/dist/chunk-V3WGYFWQ.mjs.map +0 -1
  69. package/dist/index-B-s1k4Da.d.mts +0 -59
  70. package/dist/index-DG_gyw1q.d.ts +0 -59
  71. package/dist/index-DKyt0for.d.mts +0 -181
  72. package/dist/index-TkB89QxX.d.ts +0 -181
  73. /package/dist/{chunk-LPQROHSB.mjs.map → chunk-YJV23RET.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 { r as IconProps$1 } from '../../types-CHkU0WHZ.mjs';
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
- export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, BTCDarkIcon, BTCLightIcon, BackIcon, BitgetIcon, CheckIcon, CheckRoundIcon, CloseEyeIcon, CloseIcon, CloseRoundIcon, CopyIcon, DeleteRoundIcon, DiscordIcon, EVMDarkIcon, EVMLightIcon, EmailIcon, EmailLineIcon, ErrorRoundIcon, FacebookIcon, GithubIcon, GoogleIcon, LeatherIcon, LinkedinIcon, LoadingIcon, LoginIcon, OKXIcon, OpenEyeIcon, PasswordRoundIcon, SOLDarkIcon, SOLLightIcon, TRXDarkIcon, TRXLightIcon, TelegramIcon, TonLightIcon$1 as TonDarkIcon, TonLightIcon, TronLinkIcon, UnLoginIcon, UnisatIcon, WalletIcon, XIcon, XverseIcon, YoutubeIcon };
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 { r as IconProps$1 } from '../../types-CHkU0WHZ.js';
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
- export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, BTCDarkIcon, BTCLightIcon, BackIcon, BitgetIcon, CheckIcon, CheckRoundIcon, CloseEyeIcon, CloseIcon, CloseRoundIcon, CopyIcon, DeleteRoundIcon, DiscordIcon, EVMDarkIcon, EVMLightIcon, EmailIcon, EmailLineIcon, ErrorRoundIcon, FacebookIcon, GithubIcon, GoogleIcon, LeatherIcon, LinkedinIcon, LoadingIcon, LoginIcon, OKXIcon, OpenEyeIcon, PasswordRoundIcon, SOLDarkIcon, SOLLightIcon, TRXDarkIcon, TRXLightIcon, TelegramIcon, TonLightIcon$1 as TonDarkIcon, TonLightIcon, TronLinkIcon, UnLoginIcon, UnisatIcon, WalletIcon, XIcon, XverseIcon, YoutubeIcon };
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,