@matchain/matchid-sdk-react 0.1.53-alpha.15 → 0.1.53-alpha.16

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 (44) hide show
  1. package/dist/assets/icon/index.d.mts +2 -2
  2. package/dist/assets/icon/index.d.ts +2 -2
  3. package/dist/{chunk-BC4HS373.mjs → chunk-UOHVZWED.mjs} +88 -31
  4. package/dist/{chunk-BC4HS373.mjs.map → chunk-UOHVZWED.mjs.map} +1 -1
  5. package/dist/components/index.d.mts +3 -3
  6. package/dist/components/index.d.ts +3 -3
  7. package/dist/components/index.js +5 -4
  8. package/dist/components/index.js.map +1 -1
  9. package/dist/components/index.mjs +3 -3
  10. package/dist/hooks/api/index.d.mts +2 -2
  11. package/dist/hooks/api/index.d.ts +2 -2
  12. package/dist/hooks/api/index.js.map +1 -1
  13. package/dist/hooks/api/index.mjs +3 -3
  14. package/dist/hooks/index.d.mts +2 -2
  15. package/dist/hooks/index.d.ts +2 -2
  16. package/dist/hooks/index.js.map +1 -1
  17. package/dist/hooks/index.mjs +3 -3
  18. package/dist/{index-D5WIVIkc.d.ts → index-B16U2SHA.d.ts} +1 -1
  19. package/dist/{index-BrzFSkOe.d.mts → index-B2DkI1ML.d.mts} +1 -1
  20. package/dist/{index-CLYi12dP.d.mts → index-BxWVN7HQ.d.mts} +2 -2
  21. package/dist/{index-Dus4QPjO.d.mts → index-ByjogbBx.d.mts} +1 -1
  22. package/dist/{index-DC4F1u-w.d.mts → index-C7vPCjcT.d.mts} +2 -2
  23. package/dist/{index-BgdY5xdW.d.ts → index-CYXjMyV_.d.ts} +1 -1
  24. package/dist/{index-BikcLg_6.d.ts → index-ChklXND5.d.ts} +2 -2
  25. package/dist/{index-CQmN0dN4.d.ts → index-Dfckd7XV.d.ts} +1 -1
  26. package/dist/{index-BVfCh4l-.d.mts → index-Na2Ub13l.d.mts} +1 -1
  27. package/dist/{index-D3Kp05kW.d.ts → index-_9VVEy7O.d.ts} +1 -1
  28. package/dist/{index-D5yzH62h.d.ts → index-jG0evmQL.d.ts} +1 -1
  29. package/dist/{index-C0UKUm0h.d.ts → index-jQp1rITQ.d.ts} +2 -2
  30. package/dist/{index-BaFmUVw-.d.mts → index-nMzH5qxx.d.mts} +1 -1
  31. package/dist/{index-SOVt-ADK.d.mts → index-zJQVg2B1.d.mts} +1 -1
  32. package/dist/index.css +15 -7
  33. package/dist/index.d.mts +8 -8
  34. package/dist/index.d.ts +8 -8
  35. package/dist/index.js +69 -12
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.mjs +9 -9
  38. package/dist/types/index.d.mts +1 -1
  39. package/dist/types/index.d.ts +1 -1
  40. package/dist/{types-VrV1kYga.d.mts → types-B5QEZ2fv.d.mts} +1 -1
  41. package/dist/{types-VrV1kYga.d.ts → types-B5QEZ2fv.d.ts} +1 -1
  42. package/dist/ui/index.d.mts +3 -3
  43. package/dist/ui/index.d.ts +3 -3
  44. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-CLYi12dP.mjs';
2
- export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-BaFmUVw-.mjs';
1
+ export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-BxWVN7HQ.mjs';
2
+ export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-nMzH5qxx.mjs';
3
3
  import 'react/jsx-runtime';
4
- import '../types-VrV1kYga.mjs';
4
+ import '../types-B5QEZ2fv.mjs';
5
5
  import 'react';
6
6
  import '@tanstack/react-query/src/types';
@@ -1,6 +1,6 @@
1
- export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-BikcLg_6.js';
2
- export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-CQmN0dN4.js';
1
+ export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-ChklXND5.js';
2
+ export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-Dfckd7XV.js';
3
3
  import 'react/jsx-runtime';
4
- import '../types-VrV1kYga.js';
4
+ import '../types-B5QEZ2fv.js';
5
5
  import 'react';
6
6
  import '@tanstack/react-query/src/types';
@@ -6597,15 +6597,16 @@ function ContactCard({
6597
6597
  data,
6598
6598
  action
6599
6599
  }) {
6600
+ const isDownMd = useDownMd();
6600
6601
  return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-flex matchid-contact-item", children: [
6601
6602
  /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-contact-item-content", children: [
6602
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 48, height: 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(AlphaAvatar, { size: 48, name: data?.name || "MatchID" }) }),
6603
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: isDownMd ? 36 : 48, height: isDownMd ? 36 : 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(AlphaAvatar, { size: isDownMd ? 36 : 48, name: data?.name || "MatchID" }) }),
6603
6604
  /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-contact-item-info", children: [
6604
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: 20, loading, children: data?.name || "MatchID User" }) }),
6605
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
6605
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: isDownMd ? 16 : 20, loading, children: data?.name || "MatchID User" }) }),
6606
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: isDownMd ? 12 : 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
6606
6607
  ] })
6607
6608
  ] }),
6608
- action && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-action", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 20, height: 20, loading, children: action() }) })
6609
+ action && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-action", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 20, height: isDownMd ? 16 : 20, loading, children: action() }) })
6609
6610
  ] });
6610
6611
  }
6611
6612
  function RequestAction({ data, onSuccess }) {