@cetusprotocol/terminal 1.3.0 → 1.3.1
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.
|
Binary file
|
package/dist/cetus-swap.es.js
CHANGED
|
@@ -37433,7 +37433,7 @@ function Xo({
|
|
|
37433
37433
|
if (a && y.current) {
|
|
37434
37434
|
const j = (M = y.current) == null ? void 0 : M.getBoundingClientRect();
|
|
37435
37435
|
let V, B;
|
|
37436
|
-
r === "top" ? (V = `${window.scrollX + j.left + j.width / 2}px`, B = `${window.scrollY + j.top - 2 * j.height - 8}px`) : r === "bottom" ? (V = `${window.scrollX + j.left + j.width / 2}px`, B = `${window.scrollY + j.bottom
|
|
37436
|
+
r === "top" ? (V = `${window.scrollX + j.left + j.width / 2}px`, B = `${window.scrollY + j.top - 2 * j.height - 8}px`) : r === "bottom" ? (V = `${window.scrollX + j.left + j.width / 2}px`, B = `${window.scrollY + j.bottom}px`) : r === "left" ? (V = `${window.scrollX + j.left - 8}px`, B = `${window.scrollY + j.top + j.height / 2}px`) : r === "right" ? (V = `${window.scrollX + j.right + 8}px`, B = `${window.scrollY + j.top + j.height / 2}px`) : (V = `${window.scrollX + j.left + j.width / 2}px`, B = `${window.scrollY + j.top + j.height / 2}px`), C({ left: V, top: B });
|
|
37437
37437
|
}
|
|
37438
37438
|
}, [a]), /* @__PURE__ */ _.jsxs(
|
|
37439
37439
|
"div",
|
package/dist/cetus-swap.es.js.gz
CHANGED
|
Binary file
|