@rash2x/bridge-widget 0.3.7 → 0.3.9
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 +6 -6
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +6 -6
- package/dist/evaa-bridge.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/evaa-bridge.mjs
CHANGED
|
@@ -2425,7 +2425,7 @@ const SearchInput = ({
|
|
|
2425
2425
|
className
|
|
2426
2426
|
}) => {
|
|
2427
2427
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-xs relative"), children: [
|
|
2428
|
-
/* @__PURE__ */ jsx(SearchIcon, { className: "w-6 h-6 absolute left-5 top-0 bottom-0 my-auto" }),
|
|
2428
|
+
/* @__PURE__ */ jsx(SearchIcon, { className: "w-6 h-6 absolute left-5 top-0 bottom-0 my-auto text-foreground" }),
|
|
2429
2429
|
/* @__PURE__ */ jsx(
|
|
2430
2430
|
Input,
|
|
2431
2431
|
{
|
|
@@ -2587,7 +2587,7 @@ const ChainSelectModal = ({
|
|
|
2587
2587
|
chain.chainKey
|
|
2588
2588
|
);
|
|
2589
2589
|
};
|
|
2590
|
-
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", children: [
|
|
2590
|
+
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 p-10 pt-8 max-w-md", children: [
|
|
2591
2591
|
/* @__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: [
|
|
2592
2592
|
/* @__PURE__ */ jsx("div", { children: t("bridge.select") }),
|
|
2593
2593
|
/* @__PURE__ */ jsx("div", { children: t(isSource ? "bridge.sourceNetwork" : "bridge.destinationNetwork") })
|
|
@@ -2740,7 +2740,7 @@ const WalletInlineButton = ({
|
|
|
2740
2740
|
className: "flex gap-1 cursor-pointer hover:opacity-60 hover:bg-transparent !px-0 pr-1 h-5",
|
|
2741
2741
|
children: [
|
|
2742
2742
|
/* @__PURE__ */ jsx("span", { children: isConnected ? prefixIcons[wallet] : null }),
|
|
2743
|
-
/* @__PURE__ */ jsx("span", { className: "leading-3 text-sm border-b border-dotted border-link text-bridge-link", children: buttonText }),
|
|
2743
|
+
/* @__PURE__ */ jsx("span", { className: "leading-3 text-sm border-b border-dotted border-bridge-link text-bridge-link", children: buttonText }),
|
|
2744
2744
|
isConnected && /* @__PURE__ */ jsx(EditIcon, { className: "text-bridge-link -ml-0.5" })
|
|
2745
2745
|
]
|
|
2746
2746
|
}
|
|
@@ -4026,7 +4026,7 @@ const WalletSelectModal = () => {
|
|
|
4026
4026
|
wallets: tronWallets.filter(notConnected)
|
|
4027
4027
|
}
|
|
4028
4028
|
].filter((category) => category.wallets.length > 0);
|
|
4029
|
-
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxs(DialogContent, { children: [
|
|
4029
|
+
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "p-10 pt-8 max-w-md", children: [
|
|
4030
4030
|
/* @__PURE__ */ jsxs(DialogHeader, { className: "text-left", children: [
|
|
4031
4031
|
/* @__PURE__ */ jsx(DialogTitle, { className: "text-2xl leading-8", children: t("wallets.chooseWallet") }),
|
|
4032
4032
|
/* @__PURE__ */ jsx(DialogDescription, { children: t("wallets.oneWalletPerEnv") })
|
|
@@ -6105,7 +6105,7 @@ const SettingsModal = ({ isOpen, onClose }) => {
|
|
|
6105
6105
|
);
|
|
6106
6106
|
const activeBtn = "bg-primary hover:bg-primary/80 text-primary-foreground transition-colors";
|
|
6107
6107
|
const notActiveBtn = "bg-accent hover:bg-accent/80 text-accent-foreground transition-colors";
|
|
6108
|
-
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxs(DialogContent, { onOpenAutoFocus: (e) => e.preventDefault(), children: [
|
|
6108
|
+
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && onClose(), children: /* @__PURE__ */ jsxs(DialogContent, { onOpenAutoFocus: (e) => e.preventDefault(), className: "p-10 pt-8 max-w-md", children: [
|
|
6109
6109
|
/* @__PURE__ */ jsx(DialogHeader, { className: "text-left", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-2xl leading-8", children: t("settings.title") }) }),
|
|
6110
6110
|
/* @__PURE__ */ jsxs("div", { className: "space-y-5", children: [
|
|
6111
6111
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-5", children: [
|
|
@@ -6389,7 +6389,7 @@ const TokenSelectModal = ({
|
|
|
6389
6389
|
[groupedTokens.willChangeSrcChain]
|
|
6390
6390
|
);
|
|
6391
6391
|
const hasNoResults = tokensToRender.length === 0 && willChangeSrcTokens.length === 0;
|
|
6392
|
-
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", children: [
|
|
6392
|
+
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 p-10 pt-8 max-w-md", children: [
|
|
6393
6393
|
/* @__PURE__ */ jsx(DialogHeader, { className: "text-left", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-2xl leading-8", children: t("bridge.selectToken") }) }),
|
|
6394
6394
|
/* @__PURE__ */ jsx(
|
|
6395
6395
|
SearchInput,
|