@matchain/matchid-sdk-react 0.1.51-alpha.0 → 0.1.51-alpha.2

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.
@@ -2,14 +2,14 @@ import {
2
2
  bind_exports,
3
3
  poh_exports,
4
4
  user_exports
5
- } from "../../chunk-JJGSJGWC.mjs";
5
+ } from "../../chunk-5W2S6QMI.mjs";
6
6
  import {
7
7
  isSuccess,
8
8
  wallet_exports
9
- } from "../../chunk-5P2AOB6Q.mjs";
9
+ } from "../../chunk-OWEJPD4R.mjs";
10
10
  import "../../chunk-UA6XHZHX.mjs";
11
- import "../../chunk-FB5MHLWX.mjs";
12
11
  import "../../chunk-HLUFAIFV.mjs";
12
+ import "../../chunk-FB5MHLWX.mjs";
13
13
  import "../../chunk-LHNKZISB.mjs";
14
14
  import "../../chunk-J5LGTIGS.mjs";
15
15
  export {
@@ -1,4 +1,4 @@
1
- export { c as useCopyClipboard, n as useLayout, f as useMatchChain, a as useMatchEvents, g as useMatchWallet, k as useMatchWalletAssetList, j as useMatchWalletAssets, h as useMatchWalletRecords, d as useModal, l as useReceipt, e as useToast, m as useTransaction, u as useUserInfo, b as useWallet } from '../index-BU0r26-N.mjs';
1
+ export { c as useCopyClipboard, n as useLayout, f as useMatchChain, a as useMatchEvents, g as useMatchWallet, k as useMatchWalletAssetList, j as useMatchWalletAssets, h as useMatchWalletRecords, d as useModal, l as useReceipt, e as useToast, m as useTransaction, u as useUserInfo, b as useWallet } from '../index-B-QfwtE5.mjs';
2
2
  import '../types-Dd_ExpLx.mjs';
3
3
  import 'react';
4
4
  import '@tanstack/react-query/src/types';
@@ -1,4 +1,4 @@
1
- export { c as useCopyClipboard, n as useLayout, f as useMatchChain, a as useMatchEvents, g as useMatchWallet, k as useMatchWalletAssetList, j as useMatchWalletAssets, h as useMatchWalletRecords, d as useModal, l as useReceipt, e as useToast, m as useTransaction, u as useUserInfo, b as useWallet } from '../index-C3aFwrd4.js';
1
+ export { c as useCopyClipboard, n as useLayout, f as useMatchChain, a as useMatchEvents, g as useMatchWallet, k as useMatchWalletAssetList, j as useMatchWalletAssets, h as useMatchWalletRecords, d as useModal, l as useReceipt, e as useToast, m as useTransaction, u as useUserInfo, b as useWallet } from '../index-X_fw5wX_.js';
2
2
  import '../types-Dd_ExpLx.js';
3
3
  import 'react';
4
4
  import '@tanstack/react-query/src/types';
@@ -1621,6 +1621,7 @@ var import_react24 = require("react");
1621
1621
  var import_react_intl16 = require("react-intl");
1622
1622
  var import_jsx_runtime83 = require("react/jsx-runtime");
1623
1623
  function TokenSendList({ close }) {
1624
+ const isDownMd = useDownMd();
1624
1625
  const walletAssets = useMatchWalletAssets();
1625
1626
  const matchWalletAssetList = useMatchWalletAssetList({
1626
1627
  list: walletAssets.mergedAssets
@@ -1647,14 +1648,14 @@ function TokenSendList({ close }) {
1647
1648
  setChecked(n);
1648
1649
  },
1649
1650
  children: [
1650
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Radio, { checked: checked?.address == n.address }),
1651
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
1651
1652
  /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "matchid-token-send-content", children: [
1652
1653
  /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "matchid-token-send-logo", children: [
1653
1654
  n.icon ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
1654
1655
  AlphaAvatar,
1655
1656
  {
1656
1657
  className: `matchid-token-send-icon`,
1657
- size: 40,
1658
+ size: isDownMd ? 28 : 40,
1658
1659
  name: n.symbol || n.name || ""
1659
1660
  }
1660
1661
  ),
@@ -2488,6 +2489,7 @@ function useMatchChain() {
2488
2489
  }) {
2489
2490
  const { chainId: storeChainId2, setChainId: setChainId2 } = useLocalStore_default();
2490
2491
  const [selectedChainId, setSelectedChainId] = (0, import_react36.useState)(storeChainId2);
2492
+ const isDownMd = useDownMd();
2491
2493
  return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `matchid-change-network-box`, children: [
2492
2494
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
2493
2495
  return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
@@ -2500,7 +2502,7 @@ function useMatchChain() {
2500
2502
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
2501
2503
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
2502
2504
  ] }),
2503
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Radio, { checked: selectedChainId === item.id })
2505
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
2504
2506
  ]
2505
2507
  },
2506
2508
  index