@rash2x/bridge-widget 0.1.28 → 0.1.29
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 +19 -10
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +19 -10
- package/dist/evaa-bridge.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/evaa-bridge.mjs
CHANGED
|
@@ -1306,7 +1306,7 @@ const TokenRow = ({
|
|
|
1306
1306
|
}
|
|
1307
1307
|
),
|
|
1308
1308
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start gap-1", children: [
|
|
1309
|
-
/* @__PURE__ */ jsx("p", { className: "font-
|
|
1309
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-foreground text-lg leading-4 truncate flex items-center gap-1", children: symbol }),
|
|
1310
1310
|
/* @__PURE__ */ jsx("div", { className: "text-xs leading-3 font-semibold text-muted-foreground truncate", children: name })
|
|
1311
1311
|
] })
|
|
1312
1312
|
] }),
|
|
@@ -1314,7 +1314,7 @@ const TokenRow = ({
|
|
|
1314
1314
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-16 rounded-md" }),
|
|
1315
1315
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-12 rounded-md" })
|
|
1316
1316
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1317
|
-
/* @__PURE__ */ jsx("div", { className: "font-
|
|
1317
|
+
/* @__PURE__ */ jsx("div", { className: "font-semibold text-foreground text-lg leading-4 truncate", children: hasAnyWallet ? formatBalance(balance) : "—" }),
|
|
1318
1318
|
/* @__PURE__ */ jsx("div", { className: "text-xs leading-3 text-muted-foreground", children: hasAnyWallet && balance > 0 && usdValue > 0 ? formatUsd(usdValue) : "—" })
|
|
1319
1319
|
] }) })
|
|
1320
1320
|
]
|
|
@@ -1660,7 +1660,7 @@ const SelectTokenButton = ({
|
|
|
1660
1660
|
),
|
|
1661
1661
|
/* @__PURE__ */ jsx("span", { children: label })
|
|
1662
1662
|
] }),
|
|
1663
|
-
/* @__PURE__ */ jsx(ArrowDownIcon, { className: "w-4 h-4
|
|
1663
|
+
/* @__PURE__ */ jsx(ArrowDownIcon, { className: "w-4 h-4" })
|
|
1664
1664
|
]
|
|
1665
1665
|
}
|
|
1666
1666
|
);
|
|
@@ -2340,7 +2340,7 @@ const SelectNetworkButton = ({
|
|
|
2340
2340
|
),
|
|
2341
2341
|
/* @__PURE__ */ jsx("span", { children: label })
|
|
2342
2342
|
] }),
|
|
2343
|
-
/* @__PURE__ */ jsx(ArrowDownIcon, { className: "w-4 h-4
|
|
2343
|
+
/* @__PURE__ */ jsx(ArrowDownIcon, { className: "w-4 h-4" })
|
|
2344
2344
|
]
|
|
2345
2345
|
}
|
|
2346
2346
|
);
|
|
@@ -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-
|
|
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" : ""}`,
|
|
2482
2482
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
2483
2483
|
/* @__PURE__ */ jsx(
|
|
2484
2484
|
NetworkSymbol,
|
|
@@ -2488,7 +2488,7 @@ const ChainSelectModal = ({
|
|
|
2488
2488
|
alt: chain.name
|
|
2489
2489
|
}
|
|
2490
2490
|
),
|
|
2491
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col items-start", children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1 ", children: /* @__PURE__ */ jsx("p", { className: "text-foreground text-base font-
|
|
2491
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col items-start", children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1 ", children: /* @__PURE__ */ jsx("p", { className: "text-foreground text-base font-semibold leading-[100%]", children: chain.name }) }) })
|
|
2492
2492
|
] })
|
|
2493
2493
|
},
|
|
2494
2494
|
chain.chainKey
|
|
@@ -2810,7 +2810,16 @@ const AnotherAddress = () => {
|
|
|
2810
2810
|
defaultValue: "Check correctness before transfer"
|
|
2811
2811
|
}) }) })
|
|
2812
2812
|
] }),
|
|
2813
|
-
!value ? /* @__PURE__ */ jsx(
|
|
2813
|
+
!value ? /* @__PURE__ */ jsx(
|
|
2814
|
+
Button,
|
|
2815
|
+
{
|
|
2816
|
+
variant: "secondary",
|
|
2817
|
+
className: "bg-card text-card-foreground",
|
|
2818
|
+
size: "sm",
|
|
2819
|
+
onClick: onPaste,
|
|
2820
|
+
children: t2("common.paste")
|
|
2821
|
+
}
|
|
2822
|
+
) : /* @__PURE__ */ jsx(
|
|
2814
2823
|
Button,
|
|
2815
2824
|
{
|
|
2816
2825
|
variant: "ghost",
|
|
@@ -2991,7 +3000,7 @@ const Details = () => {
|
|
|
2991
3000
|
DetailsRow,
|
|
2992
3001
|
{
|
|
2993
3002
|
label: t2("transaction.route"),
|
|
2994
|
-
value: /* @__PURE__ */ jsxs("strong", { className: "flex items-center gap-2", children: [
|
|
3003
|
+
value: /* @__PURE__ */ jsxs("strong", { className: "flex items-center font-semibold gap-2", children: [
|
|
2995
3004
|
/* @__PURE__ */ jsx(StargateIcon, { className: "w-4 h-4" }),
|
|
2996
3005
|
/* @__PURE__ */ jsx("p", { className: "", children: routeText })
|
|
2997
3006
|
] })
|
|
@@ -3798,7 +3807,7 @@ const WalletSelectModal = () => {
|
|
|
3798
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: [
|
|
3799
3808
|
/* @__PURE__ */ jsx(IconComponent, { className: "min-w-8 min-h-8" }),
|
|
3800
3809
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start min-w-0", children: [
|
|
3801
|
-
/* @__PURE__ */ jsx("p", { className: "font-
|
|
3810
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-foreground text-sm leading-4 truncate", children: short(wallet.address) }),
|
|
3802
3811
|
/* @__PURE__ */ jsx("div", { className: "text-xs leading-3 font-semibold text-muted-foreground", children: wallet.name })
|
|
3803
3812
|
] }),
|
|
3804
3813
|
/* @__PURE__ */ jsx(
|
|
@@ -3838,7 +3847,7 @@ const WalletSelectModal = () => {
|
|
|
3838
3847
|
children: [
|
|
3839
3848
|
/* @__PURE__ */ jsx(IconComponent, { className: "min-w-8 min-h-8" }),
|
|
3840
3849
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start min-w-0", children: [
|
|
3841
|
-
/* @__PURE__ */ jsx("p", { className: "font-
|
|
3850
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-foreground text-sm leading-4 truncate", children: wallet.name }),
|
|
3842
3851
|
wallet.comingSoon ? /* @__PURE__ */ jsx("div", { className: "text-xs leading-3 font-semibold text-muted-foreground", children: t2("wallets.comingSoon") }) : /* @__PURE__ */ jsx("div", { className: "text-xs leading-3 font-semibold text-muted-foreground", children: t2("wallets.connect") })
|
|
3843
3852
|
] })
|
|
3844
3853
|
]
|