@rash2x/bridge-widget 0.1.30 → 0.1.33
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 +8 -6
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +8 -6
- 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
|
@@ -2602,10 +2602,12 @@ const WalletButton = ({
|
|
|
2602
2602
|
e.preventDefault();
|
|
2603
2603
|
},
|
|
2604
2604
|
disabled: isButtonDisabled,
|
|
2605
|
-
|
|
2605
|
+
variant: "ghost",
|
|
2606
|
+
size: "sm",
|
|
2607
|
+
className: "flex gap-1 cursor-pointer px-0 h-5",
|
|
2606
2608
|
children: [
|
|
2607
|
-
isConnected ? prefixIcons[wallet] : null,
|
|
2608
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
2609
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: isConnected ? prefixIcons[wallet] : null }),
|
|
2610
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "leading-3 text-sm border-b-1 border-dotted border-foreground", children: buttonText })
|
|
2609
2611
|
]
|
|
2610
2612
|
}
|
|
2611
2613
|
),
|
|
@@ -3704,16 +3706,16 @@ const SubmitButton = () => {
|
|
|
3704
3706
|
}
|
|
3705
3707
|
};
|
|
3706
3708
|
const disabled = isBusy || amountNum <= 0 || status === "loading" || isBalanceLoading || hasInsufficientBalance || hasAmountTooLarge || !gas.hasEnoughGas || noRoute || !isValidForTransfer;
|
|
3707
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3709
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pt-4", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3708
3710
|
button.Button,
|
|
3709
3711
|
{
|
|
3710
3712
|
onClick: handleClick,
|
|
3711
3713
|
disabled,
|
|
3712
3714
|
size: "lg",
|
|
3713
|
-
className: "w-full
|
|
3715
|
+
className: "w-full",
|
|
3714
3716
|
children: label
|
|
3715
3717
|
}
|
|
3716
|
-
);
|
|
3718
|
+
) });
|
|
3717
3719
|
};
|
|
3718
3720
|
function short(addr) {
|
|
3719
3721
|
return addr.slice(0, 4) + "…" + addr.slice(-4);
|