@rash2x/bridge-widget 0.1.33 → 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,
@@ -2584,7 +2584,7 @@ const WalletButton = ({
2584
2584
  className: "flex gap-1 cursor-pointer px-0 h-5",
2585
2585
  children: [
2586
2586
  /* @__PURE__ */ jsx("span", { children: isConnected ? prefixIcons[wallet] : null }),
2587
- /* @__PURE__ */ jsx("span", { className: "leading-3 text-sm border-b-1 border-dotted border-foreground", children: buttonText })
2587
+ /* @__PURE__ */ jsx("span", { className: "leading-3 text-sm border-b border-dotted border-foreground", children: buttonText })
2588
2588
  ]
2589
2589
  }
2590
2590
  ),
@@ -3806,7 +3806,7 @@ const WalletSelectModal = () => {
3806
3806
  /* @__PURE__ */ jsx("div", { className: "py-2 font-semibold text-muted-foreground uppercase", children: t2("wallets.connected") }),
3807
3807
  /* @__PURE__ */ jsx("div", { className: "", children: connectedWallets.map((wallet) => {
3808
3808
  const IconComponent = wallet.icon;
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 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: [
3810
3810
  /* @__PURE__ */ jsx(IconComponent, { className: "min-w-8 min-h-8" }),
3811
3811
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start min-w-0", children: [
3812
3812
  /* @__PURE__ */ jsx("p", { className: "font-semibold text-foreground text-sm leading-4 truncate", children: short(wallet.address) }),
@@ -3845,7 +3845,7 @@ const WalletSelectModal = () => {
3845
3845
  }
3846
3846
  },
3847
3847
  disabled: isEvmConnector ? isPending : !wallet.enabled,
3848
- 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",
3849
3849
  children: [
3850
3850
  /* @__PURE__ */ jsx(IconComponent, { className: "min-w-8 min-h-8" }),
3851
3851
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start min-w-0", children: [