@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.
@@ -2574,6 +2574,7 @@ function useMatchChain() {
2574
2574
  }) {
2575
2575
  const { chainId: storeChainId2, setChainId: setChainId2 } = useLocalStore_default();
2576
2576
  const [selectedChainId, setSelectedChainId] = (0, import_react13.useState)(storeChainId2);
2577
+ const isDownMd = useDownMd();
2577
2578
  return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: `matchid-change-network-box`, children: [
2578
2579
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
2579
2580
  return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
@@ -2586,7 +2587,7 @@ function useMatchChain() {
2586
2587
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
2587
2588
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
2588
2589
  ] }),
2589
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Radio, { checked: selectedChainId === item.id })
2590
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
2590
2591
  ]
2591
2592
  },
2592
2593
  index
@@ -5609,6 +5610,7 @@ var import_react39 = require("react");
5609
5610
  var import_react_intl20 = require("react-intl");
5610
5611
  var import_jsx_runtime93 = require("react/jsx-runtime");
5611
5612
  function TokenSendList({ close }) {
5613
+ const isDownMd = useDownMd();
5612
5614
  const walletAssets = useMatchWalletAssets();
5613
5615
  const matchWalletAssetList = useMatchWalletAssetList({
5614
5616
  list: walletAssets.mergedAssets
@@ -5635,14 +5637,14 @@ function TokenSendList({ close }) {
5635
5637
  setChecked(n);
5636
5638
  },
5637
5639
  children: [
5638
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Radio, { checked: checked?.address == n.address }),
5640
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
5639
5641
  /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-token-send-content", children: [
5640
5642
  /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-token-send-logo", children: [
5641
5643
  n.icon ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
5642
5644
  AlphaAvatar2,
5643
5645
  {
5644
5646
  className: `matchid-token-send-icon`,
5645
- size: 40,
5647
+ size: isDownMd ? 28 : 40,
5646
5648
  name: n.symbol || n.name || ""
5647
5649
  }
5648
5650
  ),