@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.cjs
CHANGED
|
@@ -2293,7 +2293,7 @@ const SwapButton = () => {
|
|
|
2293
2293
|
variant: "secondary",
|
|
2294
2294
|
size: "sm",
|
|
2295
2295
|
className: utils.cn(
|
|
2296
|
-
"bg-card text-card-foreground h-9",
|
|
2296
|
+
"bg-card text-card-foreground backdrop-blur-md h-9",
|
|
2297
2297
|
"absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2",
|
|
2298
2298
|
!canSwap || isSwapping ? "opacity-50 cursor-not-allowed" : "hover:scale-110"
|
|
2299
2299
|
),
|
|
@@ -2602,14 +2602,14 @@ const WalletButton = ({
|
|
|
2602
2602
|
e.preventDefault();
|
|
2603
2603
|
},
|
|
2604
2604
|
disabled: isButtonDisabled,
|
|
2605
|
-
className: "p-0
|
|
2605
|
+
className: "p-0 flex gap-1 cursor-pointer shadow-none hover:bg-transparent bg-transparent text-foreground rounded-none h-5",
|
|
2606
2606
|
children: [
|
|
2607
2607
|
isConnected ? prefixIcons[wallet] : null,
|
|
2608
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-4 text-sm
|
|
2608
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-4 text-sm border-b-1 border-dotted border-foreground", children: buttonText })
|
|
2609
2609
|
]
|
|
2610
2610
|
}
|
|
2611
2611
|
),
|
|
2612
|
-
error && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-
|
|
2612
|
+
error && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-destructive", children: error })
|
|
2613
2613
|
] });
|
|
2614
2614
|
};
|
|
2615
2615
|
function resolveTokenOnChainFromMatrix(assetMatrix, assetSymbol, chainKey) {
|
|
@@ -3704,16 +3704,16 @@ const SubmitButton = () => {
|
|
|
3704
3704
|
}
|
|
3705
3705
|
};
|
|
3706
3706
|
const disabled = isBusy || amountNum <= 0 || status === "loading" || isBalanceLoading || hasInsufficientBalance || hasAmountTooLarge || !gas.hasEnoughGas || noRoute || !isValidForTransfer;
|
|
3707
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3707
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3708
3708
|
button.Button,
|
|
3709
3709
|
{
|
|
3710
3710
|
onClick: handleClick,
|
|
3711
3711
|
disabled,
|
|
3712
3712
|
size: "lg",
|
|
3713
|
-
className: "w-full
|
|
3713
|
+
className: "w-full",
|
|
3714
3714
|
children: label
|
|
3715
3715
|
}
|
|
3716
|
-
);
|
|
3716
|
+
) });
|
|
3717
3717
|
};
|
|
3718
3718
|
function short(addr) {
|
|
3719
3719
|
return addr.slice(0, 4) + "…" + addr.slice(-4);
|