@rash2x/bridge-widget 0.6.38 → 0.6.39

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.
@@ -2644,7 +2644,7 @@ const ChainSelectModal = ({
2644
2644
  chain2.chainKey
2645
2645
  );
2646
2646
  };
2647
- return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className: "md:max-h-[90dvh] md:h-[90dvh] fixed top-0 left-0 right-0 bottom-0 translate-x-0 translate-y-0 overflow-hidden flex flex-col p-10 pt-7", children: [
2647
+ return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className: "md:max-h-[90dvh] md:h-[90dvh] fixed top-0 left-0 right-0 bottom-0 translate-x-0 translate-y-0 md:left-[50%] md:top-[50%] md:translate-x-[-50%] md:translate-y-[-50%] overflow-hidden flex flex-col p-10 pt-7", children: [
2648
2648
  /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogHeader, { className: "text-left pb-0", children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-xl leading-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0", children: [
2649
2649
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: t2("bridge.select") }),
2650
2650
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: t2(isSource ? "bridge.sourceNetwork" : "bridge.destinationNetwork") })
@@ -4320,7 +4320,7 @@ const WalletSelectModal = () => {
4320
4320
  }
4321
4321
  return a2.order - b2.order;
4322
4322
  });
4323
- return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className: "flex flex-col fixed top-0 left-0 right-0 bottom-0 translate-x-0 translate-y-0 p-10 pt-7", children: [
4323
+ return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className: "flex flex-col fixed top-0 left-0 right-0 bottom-0 translate-x-0 translate-y-0 md:left-[50%] md:top-[50%] md:translate-x-[-50%] md:translate-y-[-50%] p-10 pt-7", children: [
4324
4324
  /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogHeader, { className: "text-left", children: [
4325
4325
  /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-2xl leading-8", children: t2("wallets.chooseWallet") }),
4326
4326
  /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogDescription, { children: t2("wallets.oneWalletPerEnv") })
@@ -6674,7 +6674,7 @@ const SettingsModal = ({ isOpen, onClose }) => {
6674
6674
  dialog.DialogContent,
6675
6675
  {
6676
6676
  onOpenAutoFocus: (e2) => e2.preventDefault(),
6677
- className: "flex flex-col fixed top-0 left-0 right-0 bottom-0 translate-x-0 translate-y-0 p-10 pt-7",
6677
+ className: "flex flex-col fixed top-0 left-0 right-0 bottom-0 translate-x-0 translate-y-0 md:left-[50%] md:top-[50%] md:translate-x-[-50%] md:translate-y-[-50%] p-10 pt-7",
6678
6678
  children: [
6679
6679
  /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogHeader, { className: "text-left", children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-2xl leading-8", children: t2("settings.title") }) }),
6680
6680
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-5", children: [
@@ -7062,7 +7062,7 @@ const TokenSelectModal = ({
7062
7062
  },
7063
7063
  [effectiveTab, virtualItems]
7064
7064
  );
7065
- return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className: "md:max-h-[90dvh] md:h-[90dvh] overflow-hidden flex flex-col fixed top-0 left-0 right-0 bottom-0 translate-x-0 translate-y-0 p-10 pt-7", children: [
7065
+ return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className: "md:max-h-[90dvh] md:h-[90dvh] overflow-hidden flex flex-col fixed top-0 left-0 right-0 bottom-0 translate-x-0 translate-y-0 md:left-[50%] md:top-[50%] md:translate-x-[-50%] md:translate-y-[-50%] p-10 pt-7", children: [
7066
7066
  /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogHeader, { className: "text-left", children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-2xl leading-8", children: t2("bridge.selectToken") }) }),
7067
7067
  /* @__PURE__ */ jsxRuntime.jsx(
7068
7068
  SearchInput,
@@ -25966,7 +25966,7 @@ class WalletConnectModal {
25966
25966
  }
25967
25967
  async initUi() {
25968
25968
  if (typeof window !== "undefined") {
25969
- await Promise.resolve().then(() => require("./index-B5vNvuoh.cjs"));
25969
+ await Promise.resolve().then(() => require("./index-Dc-cqgL7.cjs"));
25970
25970
  const modal = document.createElement("wcm-modal");
25971
25971
  document.body.insertAdjacentElement("beforeend", modal);
25972
25972
  OptionsCtrl.setIsUiLoaded(true);
@@ -26723,4 +26723,4 @@ exports.useSettingsStore = useSettingsStore;
26723
26723
  exports.useSwapModel = useSwapModel;
26724
26724
  exports.useTokensStore = useTokensStore;
26725
26725
  exports.useTransactionStore = useTransactionStore;
26726
- //# sourceMappingURL=index-WWRuIbp4.cjs.map
26726
+ //# sourceMappingURL=index-C3mhT5i1.cjs.map