@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.
- package/dist/evaa-bridge.cjs +8 -8
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +8 -8
- 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
|
@@ -1668,7 +1668,7 @@ const SelectTokenButton = ({
|
|
|
1668
1668
|
onClick,
|
|
1669
1669
|
size: "sm",
|
|
1670
1670
|
variant: "secondary",
|
|
1671
|
-
className: "shrink-0 gap-2 bg-card text-card-foreground h-9",
|
|
1671
|
+
className: "shrink-0 gap-2 bg-card text-card-foreground hover:text-card-foreground h-9",
|
|
1672
1672
|
type: "button",
|
|
1673
1673
|
"aria-label": label,
|
|
1674
1674
|
children: [
|
|
@@ -1716,7 +1716,7 @@ const FormHeaderComponent = () => {
|
|
|
1716
1716
|
{
|
|
1717
1717
|
onClick: onOpenSettings,
|
|
1718
1718
|
size: "sm",
|
|
1719
|
-
className: "bg-card text-card-foreground h-9",
|
|
1719
|
+
className: "bg-card text-card-foreground hover:text-card-foreground h-9",
|
|
1720
1720
|
variant: "secondary",
|
|
1721
1721
|
children: /* @__PURE__ */ jsxRuntime.jsx(BoltIcon, { stroke: "currentColor" })
|
|
1722
1722
|
}
|
|
@@ -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 backdrop-blur-md h-9",
|
|
2296
|
+
"bg-card text-card-foreground hover: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
|
),
|
|
@@ -2349,7 +2349,7 @@ const SelectNetworkButton = ({
|
|
|
2349
2349
|
size: "sm",
|
|
2350
2350
|
variant: "secondary",
|
|
2351
2351
|
type: "button",
|
|
2352
|
-
className: "shrink-0 gap-2 bg-card text-card-foreground h-9",
|
|
2352
|
+
className: "shrink-0 gap-2 bg-card text-card-foreground hover:text-card-foreground h-9",
|
|
2353
2353
|
"aria-label": label,
|
|
2354
2354
|
children: [
|
|
2355
2355
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2 items-center", children: [
|
|
@@ -2501,7 +2501,7 @@ const ChainSelectModal = ({
|
|
|
2501
2501
|
button.Button,
|
|
2502
2502
|
{
|
|
2503
2503
|
onClick: () => onChainPick(chain, willChangeSrc),
|
|
2504
|
-
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:
|
|
2504
|
+
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" : ""}`,
|
|
2505
2505
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
2506
2506
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2507
2507
|
NetworkSymbol,
|
|
@@ -2607,7 +2607,7 @@ const WalletButton = ({
|
|
|
2607
2607
|
className: "flex gap-1 cursor-pointer px-0 h-5",
|
|
2608
2608
|
children: [
|
|
2609
2609
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: isConnected ? prefixIcons[wallet] : null }),
|
|
2610
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "leading-3 text-sm border-b
|
|
2610
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "leading-3 text-sm border-b border-dotted border-foreground", children: buttonText })
|
|
2611
2611
|
]
|
|
2612
2612
|
}
|
|
2613
2613
|
),
|
|
@@ -3829,7 +3829,7 @@ const WalletSelectModal = () => {
|
|
|
3829
3829
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "py-2 font-semibold text-muted-foreground uppercase", children: t("wallets.connected") }),
|
|
3830
3830
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "", children: connectedWallets.map((wallet) => {
|
|
3831
3831
|
const IconComponent = wallet.icon;
|
|
3832
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "-mx-3", children: /* @__PURE__ */ jsxRuntime.jsxs(button.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
|
|
3832
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "-mx-3", children: /* @__PURE__ */ jsxRuntime.jsxs(button.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: [
|
|
3833
3833
|
/* @__PURE__ */ jsxRuntime.jsx(IconComponent, { className: "min-w-8 min-h-8" }),
|
|
3834
3834
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-start min-w-0", children: [
|
|
3835
3835
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold text-foreground text-sm leading-4 truncate", children: short(wallet.address) }),
|
|
@@ -3868,7 +3868,7 @@ const WalletSelectModal = () => {
|
|
|
3868
3868
|
}
|
|
3869
3869
|
},
|
|
3870
3870
|
disabled: isEvmConnector ? isPending : !wallet.enabled,
|
|
3871
|
-
className: "w-full cursor-pointer bg-transparent flex shadow-none items-center justify-start gap-3 px-3 py-3
|
|
3871
|
+
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",
|
|
3872
3872
|
children: [
|
|
3873
3873
|
/* @__PURE__ */ jsxRuntime.jsx(IconComponent, { className: "min-w-8 min-h-8" }),
|
|
3874
3874
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-start min-w-0", children: [
|