@rash2x/bridge-widget 0.3.5 → 0.3.6
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 +5 -5
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +5 -5
- 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
|
@@ -2282,7 +2282,7 @@ const SwapButton = () => {
|
|
|
2282
2282
|
{
|
|
2283
2283
|
onClick: handleSwap,
|
|
2284
2284
|
disabled: !canSwap || isSwapping,
|
|
2285
|
-
variant: "
|
|
2285
|
+
variant: "secondary",
|
|
2286
2286
|
size: "sm",
|
|
2287
2287
|
className: utils.cn(
|
|
2288
2288
|
"bg-bridge-button text-bridge-button-foreground backdrop-blur-md h-9 w-9 p-0",
|
|
@@ -2322,7 +2322,7 @@ const WalletBalance = (props) => {
|
|
|
2322
2322
|
variant: "ghost",
|
|
2323
2323
|
size: "sm",
|
|
2324
2324
|
onClick: onMaxClick,
|
|
2325
|
-
className: "h-auto p-0 px-0 text-xs text-
|
|
2325
|
+
className: "h-auto p-0 px-0 text-xs text-link font-medium underline hover:opacity-70 cursor-pointer rounded-none",
|
|
2326
2326
|
children: t("bridge.max")
|
|
2327
2327
|
}
|
|
2328
2328
|
)
|
|
@@ -2763,8 +2763,8 @@ const WalletInlineButton = ({
|
|
|
2763
2763
|
className: "flex gap-1 cursor-pointer hover:opacity-60 hover:bg-transparent !px-0 pr-1 h-5",
|
|
2764
2764
|
children: [
|
|
2765
2765
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: isConnected ? prefixIcons[wallet] : null }),
|
|
2766
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "leading-3 text-sm border-b border-dotted border-
|
|
2767
|
-
isConnected && /* @__PURE__ */ jsxRuntime.jsx(EditIcon, { className: "text-
|
|
2766
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "leading-3 text-sm border-b border-dotted border-link text-link", children: buttonText }),
|
|
2767
|
+
isConnected && /* @__PURE__ */ jsxRuntime.jsx(EditIcon, { className: "text-link -ml-0.5" })
|
|
2768
2768
|
]
|
|
2769
2769
|
}
|
|
2770
2770
|
),
|
|
@@ -3185,7 +3185,7 @@ const Details = () => {
|
|
|
3185
3185
|
const totalFeeDisplay = !quote ? "—" : gas.requiredNative > 0 ? `${gas.requiredNative.toFixed(6)} ${gas.nativeSym}` : "—";
|
|
3186
3186
|
const currentSlippageText = !quote ? "—" : formatPercentage(slippageBps);
|
|
3187
3187
|
const routeText = quote?.route ? getRouteDisplayName(quote.route) : t(`settings.routePresets.${routePriority}`);
|
|
3188
|
-
return /* @__PURE__ */ jsxRuntime.jsx(accordion.Accordion, { type: "single", collapsible: true, className: "w-full border-
|
|
3188
|
+
return /* @__PURE__ */ jsxRuntime.jsx(accordion.Accordion, { type: "single", collapsible: true, className: "w-full border-none", children: /* @__PURE__ */ jsxRuntime.jsxs(accordion.AccordionItem, { value: "item-1", className: "bg-muted rounded-sm", children: [
|
|
3189
3189
|
/* @__PURE__ */ jsxRuntime.jsx(accordion.AccordionTrigger, { className: "w-full gap-1 items-center py-6 px-5 rounded-b-sm data-[state=open]:pb-3", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full flex items-center justify-between", children: [
|
|
3190
3190
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-normal text-priority leading-4", children: t("bridge.youWillReceive", { defaultValue: "You will receive" }) }),
|
|
3191
3191
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-transparent hover:bg-transparent shadow-none h-4 p-0 px-0 py-0 flex items-center gap-2", children: [
|