@rash2x/bridge-widget 0.6.37 → 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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-DLEm1SpB.cjs");
3
+ const index = require("./index-C3mhT5i1.cjs");
4
4
  exports.DEFAULT_SLIPPAGE_BPS = index.DEFAULT_SLIPPAGE_BPS;
5
5
  exports.EvaaBridge = index.EvaaBridge;
6
6
  exports.RoutePriority = index.RoutePriority;
@@ -1,4 +1,4 @@
1
- import { U, d, f, e, H, B, F, X, N, z, $, G, A, D, Z, w, s, v, r, p, q, L, a2, aa, a4, a7, x, I, y, a5, J, a3, a8, a9, Y, a6, W, P, _, a1, ab, Q, S, a0, K, V, t, o, i, u, l, m, j, n, h, k } from "./index-Ba8WNSvX.js";
1
+ import { U, d, f, e, H, B, F, X, N, z, $, G, A, D, Z, w, s, v, r, p, q, L, a2, aa, a4, a7, x, I, y, a5, J, a3, a8, a9, Y, a6, W, P, _, a1, ab, Q, S, a0, K, V, t, o, i, u, l, m, j, n, h, k } from "./index-BQr6Vt3w.js";
2
2
  export {
3
3
  U as DEFAULT_SLIPPAGE_BPS,
4
4
  d as EvaaBridge,
@@ -2643,7 +2643,7 @@ const ChainSelectModal = ({
2643
2643
  chain2.chainKey
2644
2644
  );
2645
2645
  };
2646
- return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "md:max-h-[90dvh] md:h-[90dvh] fixed top-0 left-0 right-0 bottom-0 overflow-hidden flex flex-col p-10 pt-7", children: [
2646
+ return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(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: [
2647
2647
  /* @__PURE__ */ jsx(DialogHeader, { className: "text-left pb-0", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-xl leading-8", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0", children: [
2648
2648
  /* @__PURE__ */ jsx("div", { children: t2("bridge.select") }),
2649
2649
  /* @__PURE__ */ jsx("div", { children: t2(isSource ? "bridge.sourceNetwork" : "bridge.destinationNetwork") })
@@ -4319,7 +4319,7 @@ const WalletSelectModal = () => {
4319
4319
  }
4320
4320
  return a2.order - b2.order;
4321
4321
  });
4322
- return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "flex flex-col fixed top-0 left-0 right-0 bottom-0 p-10 pt-7", children: [
4322
+ return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxs(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: [
4323
4323
  /* @__PURE__ */ jsxs(DialogHeader, { className: "text-left", children: [
4324
4324
  /* @__PURE__ */ jsx(DialogTitle, { className: "text-2xl leading-8", children: t2("wallets.chooseWallet") }),
4325
4325
  /* @__PURE__ */ jsx(DialogDescription, { children: t2("wallets.oneWalletPerEnv") })
@@ -6673,7 +6673,7 @@ const SettingsModal = ({ isOpen, onClose }) => {
6673
6673
  DialogContent,
6674
6674
  {
6675
6675
  onOpenAutoFocus: (e2) => e2.preventDefault(),
6676
- className: "flex flex-col fixed top-0 left-0 right-0 bottom-0 p-10 pt-7",
6676
+ 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",
6677
6677
  children: [
6678
6678
  /* @__PURE__ */ jsx(DialogHeader, { className: "text-left", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-2xl leading-8", children: t2("settings.title") }) }),
6679
6679
  /* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
@@ -7061,7 +7061,7 @@ const TokenSelectModal = ({
7061
7061
  },
7062
7062
  [effectiveTab, virtualItems]
7063
7063
  );
7064
- return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "md:max-h-[90dvh] md:h-[90dvh] overflow-hidden flex flex-col fixed top-0 left-0 right-0 bottom-0 p-10 pt-7", children: [
7064
+ return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(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: [
7065
7065
  /* @__PURE__ */ jsx(DialogHeader, { className: "text-left", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-2xl leading-8", children: t2("bridge.selectToken") }) }),
7066
7066
  /* @__PURE__ */ jsx(
7067
7067
  SearchInput,
@@ -25965,7 +25965,7 @@ class WalletConnectModal {
25965
25965
  }
25966
25966
  async initUi() {
25967
25967
  if (typeof window !== "undefined") {
25968
- await import("./index-YEwKytA_.js");
25968
+ await import("./index-BgdE8b7I.js");
25969
25969
  const modal = document.createElement("wcm-modal");
25970
25970
  document.body.insertAdjacentElement("beforeend", modal);
25971
25971
  OptionsCtrl.setIsUiLoaded(true);
@@ -26724,4 +26724,4 @@ export {
26724
26724
  getQuoteFees as y,
26725
26725
  calculateMinReceived as z
26726
26726
  };
26727
- //# sourceMappingURL=index-Ba8WNSvX.js.map
26727
+ //# sourceMappingURL=index-BQr6Vt3w.js.map