@rash2x/bridge-widget 0.1.31 → 0.1.34

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.
@@ -1645,7 +1645,7 @@ const SelectTokenButton = ({
1645
1645
  onClick,
1646
1646
  size: "sm",
1647
1647
  variant: "secondary",
1648
- className: "shrink-0 gap-2 bg-card text-card-foreground h-9",
1648
+ className: "shrink-0 gap-2 bg-card text-card-foreground hover:text-card-foreground h-9",
1649
1649
  type: "button",
1650
1650
  "aria-label": label,
1651
1651
  children: [
@@ -1693,7 +1693,7 @@ const FormHeaderComponent = () => {
1693
1693
  {
1694
1694
  onClick: onOpenSettings,
1695
1695
  size: "sm",
1696
- className: "bg-card text-card-foreground h-9",
1696
+ className: "bg-card text-card-foreground hover:text-card-foreground h-9",
1697
1697
  variant: "secondary",
1698
1698
  children: /* @__PURE__ */ jsx(BoltIcon, { stroke: "currentColor" })
1699
1699
  }
@@ -2270,7 +2270,7 @@ const SwapButton = () => {
2270
2270
  variant: "secondary",
2271
2271
  size: "sm",
2272
2272
  className: cn(
2273
- "bg-card text-card-foreground backdrop-blur-md h-9",
2273
+ "bg-card text-card-foreground hover: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
  ),
@@ -2326,7 +2326,7 @@ const SelectNetworkButton = ({
2326
2326
  size: "sm",
2327
2327
  variant: "secondary",
2328
2328
  type: "button",
2329
- className: "shrink-0 gap-2 bg-card text-card-foreground h-9",
2329
+ className: "shrink-0 gap-2 bg-card text-card-foreground hover:text-card-foreground h-9",
2330
2330
  "aria-label": label,
2331
2331
  children: [
2332
2332
  /* @__PURE__ */ jsxs("div", { className: "flex gap-2 items-center", children: [
@@ -2478,7 +2478,7 @@ const ChainSelectModal = ({
2478
2478
  Button,
2479
2479
  {
2480
2480
  onClick: () => onChainPick(chain, willChangeSrc),
2481
- className: `w-full cursor-pointer flex shadow-none rounded-sm items-center justify-between gap-3 px-5 py-4 h-13 font-semibold capitalize hover:bg-muted bg-transparent transition-[300] ${isSelected ? "border border-ring" : ""}`,
2481
+ className: `w-full cursor-pointer flex shadow-none rounded-sm items-center justify-between gap-3 px-5 py-4 h-13 font-semibold capitalize bg-transparent hover:scale-100 hover:bg-accent ${isSelected ? "border border-ring" : ""}`,
2482
2482
  children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
2483
2483
  /* @__PURE__ */ jsx(
2484
2484
  NetworkSymbol,
@@ -2579,10 +2579,12 @@ const WalletButton = ({
2579
2579
  e.preventDefault();
2580
2580
  },
2581
2581
  disabled: isButtonDisabled,
2582
- className: "p-0 flex gap-1 cursor-pointer shadow-none hover:bg-transparent bg-transparent text-foreground rounded-none h-5",
2582
+ variant: "ghost",
2583
+ size: "sm",
2584
+ className: "flex gap-1 cursor-pointer px-0 h-5",
2583
2585
  children: [
2584
- isConnected ? prefixIcons[wallet] : null,
2585
- /* @__PURE__ */ jsx("p", { className: "leading-4 text-sm border-b-1 border-dotted border-foreground", children: buttonText })
2586
+ /* @__PURE__ */ jsx("span", { children: isConnected ? prefixIcons[wallet] : null }),
2587
+ /* @__PURE__ */ jsx("span", { className: "leading-3 text-sm border-b border-dotted border-foreground", children: buttonText })
2586
2588
  ]
2587
2589
  }
2588
2590
  ),
@@ -3681,7 +3683,7 @@ const SubmitButton = () => {
3681
3683
  }
3682
3684
  };
3683
3685
  const disabled = isBusy || amountNum <= 0 || status === "loading" || isBalanceLoading || hasInsufficientBalance || hasAmountTooLarge || !gas.hasEnoughGas || noRoute || !isValidForTransfer;
3684
- return /* @__PURE__ */ jsx("div", { className: "mt-4", children: /* @__PURE__ */ jsx(
3686
+ return /* @__PURE__ */ jsx("div", { className: "pt-4", children: /* @__PURE__ */ jsx(
3685
3687
  Button,
3686
3688
  {
3687
3689
  onClick: handleClick,
@@ -3804,7 +3806,7 @@ const WalletSelectModal = () => {
3804
3806
  /* @__PURE__ */ jsx("div", { className: "py-2 font-semibold text-muted-foreground uppercase", children: t2("wallets.connected") }),
3805
3807
  /* @__PURE__ */ jsx("div", { className: "", children: connectedWallets.map((wallet) => {
3806
3808
  const IconComponent = wallet.icon;
3807
- return /* @__PURE__ */ jsx("div", { className: "-mx-3", children: /* @__PURE__ */ jsxs(Button, { className: "w-full cursor-pointer bg-transparent flex shadow-none items-center justify-start gap-3 px-3 py-3 hover:bg-muted h-auto rounded-md transition-[300]", children: [
3809
+ return /* @__PURE__ */ jsx("div", { className: "-mx-3", children: /* @__PURE__ */ jsxs(Button, { className: "w-full cursor-pointer bg-transparent flex shadow-none items-center justify-start gap-3 px-3 py-3 hover:bg-muted h-auto rounded-md", children: [
3808
3810
  /* @__PURE__ */ jsx(IconComponent, { className: "min-w-8 min-h-8" }),
3809
3811
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start min-w-0", children: [
3810
3812
  /* @__PURE__ */ jsx("p", { className: "font-semibold text-foreground text-sm leading-4 truncate", children: short(wallet.address) }),
@@ -3843,7 +3845,7 @@ const WalletSelectModal = () => {
3843
3845
  }
3844
3846
  },
3845
3847
  disabled: isEvmConnector ? isPending : !wallet.enabled,
3846
- className: "w-full cursor-pointer bg-transparent flex shadow-none items-center justify-start gap-3 px-3 py-3 hover:bg-muted h-auto rounded-sm transition-[300] disabled:opacity-50 disabled:cursor-not-allowed",
3848
+ className: "w-full cursor-pointer bg-transparent flex shadow-none items-center justify-start gap-3 px-3 py-3 h-auto rounded-sm disabled:opacity-50 disabled:cursor-not-allowed hover:scale-100 hover:bg-accent",
3847
3849
  children: [
3848
3850
  /* @__PURE__ */ jsx(IconComponent, { className: "min-w-8 min-h-8" }),
3849
3851
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start min-w-0", children: [