@rash2x/bridge-widget 0.1.29 → 0.1.31
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 +7 -7
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +7 -7
- 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
|
@@ -2270,7 +2270,7 @@ const SwapButton = () => {
|
|
|
2270
2270
|
variant: "secondary",
|
|
2271
2271
|
size: "sm",
|
|
2272
2272
|
className: cn(
|
|
2273
|
-
"bg-card text-card-foreground h-9",
|
|
2273
|
+
"bg-card text-card-foreground backdrop-blur-md h-9",
|
|
2274
2274
|
"absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2",
|
|
2275
2275
|
!canSwap || isSwapping ? "opacity-50 cursor-not-allowed" : "hover:scale-110"
|
|
2276
2276
|
),
|
|
@@ -2579,14 +2579,14 @@ const WalletButton = ({
|
|
|
2579
2579
|
e.preventDefault();
|
|
2580
2580
|
},
|
|
2581
2581
|
disabled: isButtonDisabled,
|
|
2582
|
-
className: "p-0
|
|
2582
|
+
className: "p-0 flex gap-1 cursor-pointer shadow-none hover:bg-transparent bg-transparent text-foreground rounded-none h-5",
|
|
2583
2583
|
children: [
|
|
2584
2584
|
isConnected ? prefixIcons[wallet] : null,
|
|
2585
|
-
/* @__PURE__ */ jsx("p", { className: "leading-4 text-sm
|
|
2585
|
+
/* @__PURE__ */ jsx("p", { className: "leading-4 text-sm border-b-1 border-dotted border-foreground", children: buttonText })
|
|
2586
2586
|
]
|
|
2587
2587
|
}
|
|
2588
2588
|
),
|
|
2589
|
-
error && /* @__PURE__ */ jsx("div", { className: "text-xs text-
|
|
2589
|
+
error && /* @__PURE__ */ jsx("div", { className: "text-xs text-destructive", children: error })
|
|
2590
2590
|
] });
|
|
2591
2591
|
};
|
|
2592
2592
|
function resolveTokenOnChainFromMatrix(assetMatrix, assetSymbol, chainKey) {
|
|
@@ -3681,16 +3681,16 @@ const SubmitButton = () => {
|
|
|
3681
3681
|
}
|
|
3682
3682
|
};
|
|
3683
3683
|
const disabled = isBusy || amountNum <= 0 || status === "loading" || isBalanceLoading || hasInsufficientBalance || hasAmountTooLarge || !gas.hasEnoughGas || noRoute || !isValidForTransfer;
|
|
3684
|
-
return /* @__PURE__ */ jsx(
|
|
3684
|
+
return /* @__PURE__ */ jsx("div", { className: "mt-4", children: /* @__PURE__ */ jsx(
|
|
3685
3685
|
Button,
|
|
3686
3686
|
{
|
|
3687
3687
|
onClick: handleClick,
|
|
3688
3688
|
disabled,
|
|
3689
3689
|
size: "lg",
|
|
3690
|
-
className: "w-full
|
|
3690
|
+
className: "w-full",
|
|
3691
3691
|
children: label
|
|
3692
3692
|
}
|
|
3693
|
-
);
|
|
3693
|
+
) });
|
|
3694
3694
|
};
|
|
3695
3695
|
function short(addr) {
|
|
3696
3696
|
return addr.slice(0, 4) + "…" + addr.slice(-4);
|