@rash2x/bridge-widget 0.1.31 → 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.
@@ -2602,10 +2602,12 @@ const WalletButton = ({
2602
2602
  e.preventDefault();
2603
2603
  },
2604
2604
  disabled: isButtonDisabled,
2605
- className: "p-0 flex gap-1 cursor-pointer shadow-none hover:bg-transparent bg-transparent text-foreground rounded-none h-5",
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("p", { className: "leading-4 text-sm border-b-1 border-dotted border-foreground", children: buttonText })
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,7 +3706,7 @@ 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("div", { className: "mt-4", children: /* @__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,