@rash2x/bridge-widget 0.6.15 → 0.6.17
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.
- package/dist/evaa-bridge.cjs +1 -1
- package/dist/evaa-bridge.mjs +1 -1
- package/dist/{index-vob2mbdZ.cjs → index-C8tcwNkl.cjs} +2 -2
- package/dist/{index-vob2mbdZ.cjs.map → index-C8tcwNkl.cjs.map} +1 -1
- package/dist/{index-ChBJiTJF.cjs → index-CODQ78Ad.cjs} +10 -10
- package/dist/index-CODQ78Ad.cjs.map +1 -0
- package/dist/{index-P1h97irF.js → index-Clp6WHUM.js} +10 -10
- package/dist/index-Clp6WHUM.js.map +1 -0
- package/dist/{index-8iyt7Qza.js → index-pWXibG25.js} +2 -2
- package/dist/{index-8iyt7Qza.js.map → index-pWXibG25.js.map} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-ChBJiTJF.cjs.map +0 -1
- package/dist/index-P1h97irF.js.map +0 -1
|
@@ -2600,7 +2600,7 @@ const ChainSelectModal = ({
|
|
|
2600
2600
|
chain2.chainKey
|
|
2601
2601
|
);
|
|
2602
2602
|
};
|
|
2603
|
-
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-h-[90dvh] h-[90dvh] overflow-hidden flex flex-col p-10 pt-
|
|
2603
|
+
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-h-[90dvh] h-[90dvh] overflow-hidden flex flex-col p-10 pt-7", children: [
|
|
2604
2604
|
/* @__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: [
|
|
2605
2605
|
/* @__PURE__ */ jsx("div", { children: t2("bridge.select") }),
|
|
2606
2606
|
/* @__PURE__ */ jsx("div", { children: t2(isSource ? "bridge.sourceNetwork" : "bridge.destinationNetwork") })
|
|
@@ -4213,7 +4213,7 @@ const WalletSelectModal = () => {
|
|
|
4213
4213
|
wallets: tronWallets.filter(notConnected)
|
|
4214
4214
|
}
|
|
4215
4215
|
].filter((category) => category.wallets.length > 0);
|
|
4216
|
-
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "p-10 pt-
|
|
4216
|
+
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "p-10 pt-7", children: [
|
|
4217
4217
|
/* @__PURE__ */ jsxs(DialogHeader, { className: "text-left", children: [
|
|
4218
4218
|
/* @__PURE__ */ jsx(DialogTitle, { className: "text-2xl leading-8", children: t2("wallets.chooseWallet") }),
|
|
4219
4219
|
/* @__PURE__ */ jsx(DialogDescription, { children: t2("wallets.oneWalletPerEnv") })
|
|
@@ -6427,7 +6427,7 @@ const SettingsModal = ({ isOpen, onClose }) => {
|
|
|
6427
6427
|
);
|
|
6428
6428
|
const activeBtn = "bg-primary hover:bg-primary/80 text-primary-foreground transition-colors";
|
|
6429
6429
|
const notActiveBtn = "bg-accent hover:bg-accent/80 text-accent-foreground transition-colors";
|
|
6430
|
-
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxs(DialogContent, { onOpenAutoFocus: (e2) => e2.preventDefault(), className: "p-10 pt-
|
|
6430
|
+
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxs(DialogContent, { onOpenAutoFocus: (e2) => e2.preventDefault(), className: "p-10 pt-7", children: [
|
|
6431
6431
|
/* @__PURE__ */ jsx(DialogHeader, { className: "text-left", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-2xl leading-8", children: t2("settings.title") }) }),
|
|
6432
6432
|
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
6433
6433
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-5", children: [
|
|
@@ -6544,16 +6544,16 @@ const TokenRow = ({
|
|
|
6544
6544
|
}
|
|
6545
6545
|
),
|
|
6546
6546
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start gap-1", children: [
|
|
6547
|
-
/* @__PURE__ */ jsx("p", { className: "
|
|
6548
|
-
/* @__PURE__ */ jsx("div", { className: "text-xs leading-3 text-muted-foreground truncate", children: name })
|
|
6547
|
+
/* @__PURE__ */ jsx("p", { className: "text-foreground font-extrabold text-sm leading-4 truncate flex items-center gap-1", children: symbol }),
|
|
6548
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs font-semibold leading-3 text-muted-foreground truncate", children: name })
|
|
6549
6549
|
] })
|
|
6550
6550
|
] }),
|
|
6551
6551
|
/* @__PURE__ */ jsx("div", { className: "text-right space-y-1", children: isBalanceLoading && hasAnyWallet ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-end gap-1", children: [
|
|
6552
6552
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-16 rounded-md" }),
|
|
6553
6553
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-12 rounded-md" })
|
|
6554
6554
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6555
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
6556
|
-
/* @__PURE__ */ jsx("div", { className: "text-xs leading-3 text-muted-foreground", children: hasAnyWallet && balance > 0 && usdValue > 0 ? formatUsd(usdValue) : "—" })
|
|
6555
|
+
/* @__PURE__ */ jsx("div", { className: "text-foreground font-extrabold text-sm leading-4 truncate", children: hasAnyWallet ? formatBalance(balance) : "—" }),
|
|
6556
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs font-semibold leading-3 text-muted-foreground", children: hasAnyWallet && balance > 0 && usdValue > 0 ? formatUsd(usdValue) : "—" })
|
|
6557
6557
|
] }) })
|
|
6558
6558
|
]
|
|
6559
6559
|
}
|
|
@@ -6711,7 +6711,7 @@ const TokenSelectModal = ({
|
|
|
6711
6711
|
[groupedTokens.willChangeSrcChain]
|
|
6712
6712
|
);
|
|
6713
6713
|
const hasNoResults = tokensToRender.length === 0 && willChangeSrcTokens.length === 0;
|
|
6714
|
-
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-h-[90dvh] h-[90dvh] overflow-hidden flex flex-col p-10 pt-
|
|
6714
|
+
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-h-[90dvh] h-[90dvh] overflow-hidden flex flex-col p-10 pt-7", children: [
|
|
6715
6715
|
/* @__PURE__ */ jsx(DialogHeader, { className: "text-left", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-2xl leading-8", children: t2("bridge.selectToken") }) }),
|
|
6716
6716
|
/* @__PURE__ */ jsx(
|
|
6717
6717
|
SearchInput,
|
|
@@ -25937,7 +25937,7 @@ class WalletConnectModal {
|
|
|
25937
25937
|
}
|
|
25938
25938
|
async initUi() {
|
|
25939
25939
|
if (typeof window !== "undefined") {
|
|
25940
|
-
await import("./index-
|
|
25940
|
+
await import("./index-pWXibG25.js");
|
|
25941
25941
|
const modal = document.createElement("wcm-modal");
|
|
25942
25942
|
document.body.insertAdjacentElement("beforeend", modal);
|
|
25943
25943
|
OptionsCtrl.setIsUiLoaded(true);
|
|
@@ -26688,4 +26688,4 @@ export {
|
|
|
26688
26688
|
getQuoteFees as y,
|
|
26689
26689
|
calculateMinReceived as z
|
|
26690
26690
|
};
|
|
26691
|
-
//# sourceMappingURL=index-
|
|
26691
|
+
//# sourceMappingURL=index-Clp6WHUM.js.map
|