@rash2x/bridge-widget 0.3.5 → 0.3.7
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 +11 -11
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +11 -11
- 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
|
@@ -2259,10 +2259,10 @@ const SwapButton = () => {
|
|
|
2259
2259
|
{
|
|
2260
2260
|
onClick: handleSwap,
|
|
2261
2261
|
disabled: !canSwap || isSwapping,
|
|
2262
|
-
variant: "
|
|
2262
|
+
variant: "secondary",
|
|
2263
2263
|
size: "sm",
|
|
2264
2264
|
className: cn(
|
|
2265
|
-
"bg-bridge-button text-bridge-button-foreground backdrop-blur-md h-9 w-9 p-0",
|
|
2265
|
+
"bg-bridge-button text-bridge-button-foreground hover:text-bridge-button-foreground backdrop-blur-md h-9 w-9 p-0",
|
|
2266
2266
|
"absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2",
|
|
2267
2267
|
!canSwap || isSwapping ? "opacity-50 cursor-not-allowed" : "hover:scale-110"
|
|
2268
2268
|
),
|
|
@@ -2299,7 +2299,7 @@ const WalletBalance = (props) => {
|
|
|
2299
2299
|
variant: "ghost",
|
|
2300
2300
|
size: "sm",
|
|
2301
2301
|
onClick: onMaxClick,
|
|
2302
|
-
className: "h-auto p-0 px-0 text-xs text-
|
|
2302
|
+
className: "h-auto p-0 px-0 text-xs text-bridge-link font-medium underline hover:opacity-70 hover:bg-transparent cursor-pointer rounded-none",
|
|
2303
2303
|
children: t("bridge.max")
|
|
2304
2304
|
}
|
|
2305
2305
|
)
|
|
@@ -2331,7 +2331,7 @@ const SelectNetworkButton = ({
|
|
|
2331
2331
|
size: "sm",
|
|
2332
2332
|
variant: "secondary",
|
|
2333
2333
|
type: "button",
|
|
2334
|
-
className: "shrink-0 gap-2 h-9 !pl-2 bg-bridge-button text-bridge-button-foreground",
|
|
2334
|
+
className: "shrink-0 gap-2 h-9 !pl-2 bg-bridge-button text-bridge-button-foreground hover:text-bridge-button-foreground",
|
|
2335
2335
|
"aria-label": label,
|
|
2336
2336
|
children: [
|
|
2337
2337
|
/* @__PURE__ */ jsxs("div", { className: "flex gap-2 items-center", children: [
|
|
@@ -2740,8 +2740,8 @@ const WalletInlineButton = ({
|
|
|
2740
2740
|
className: "flex gap-1 cursor-pointer hover:opacity-60 hover:bg-transparent !px-0 pr-1 h-5",
|
|
2741
2741
|
children: [
|
|
2742
2742
|
/* @__PURE__ */ jsx("span", { children: isConnected ? prefixIcons[wallet] : null }),
|
|
2743
|
-
/* @__PURE__ */ jsx("span", { className: "leading-3 text-sm border-b border-dotted border-
|
|
2744
|
-
isConnected && /* @__PURE__ */ jsx(EditIcon, { className: "text-
|
|
2743
|
+
/* @__PURE__ */ jsx("span", { className: "leading-3 text-sm border-b border-dotted border-link text-bridge-link", children: buttonText }),
|
|
2744
|
+
isConnected && /* @__PURE__ */ jsx(EditIcon, { className: "text-bridge-link -ml-0.5" })
|
|
2745
2745
|
]
|
|
2746
2746
|
}
|
|
2747
2747
|
),
|
|
@@ -2980,7 +2980,7 @@ const AnotherAddress = () => {
|
|
|
2980
2980
|
Button,
|
|
2981
2981
|
{
|
|
2982
2982
|
variant: "secondary",
|
|
2983
|
-
className: "bg-
|
|
2983
|
+
className: "bg-bridge-button text-bridge-button-foreground hover:text-bridge-button-foreground uppercase text-xs",
|
|
2984
2984
|
size: "sm",
|
|
2985
2985
|
onClick: onPaste,
|
|
2986
2986
|
children: t("common.paste")
|
|
@@ -3162,7 +3162,7 @@ const Details = () => {
|
|
|
3162
3162
|
const totalFeeDisplay = !quote ? "—" : gas.requiredNative > 0 ? `${gas.requiredNative.toFixed(6)} ${gas.nativeSym}` : "—";
|
|
3163
3163
|
const currentSlippageText = !quote ? "—" : formatPercentage(slippageBps);
|
|
3164
3164
|
const routeText = quote?.route ? getRouteDisplayName(quote.route) : t(`settings.routePresets.${routePriority}`);
|
|
3165
|
-
return /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: "w-full border-
|
|
3165
|
+
return /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: "w-full border-none", children: /* @__PURE__ */ jsxs(AccordionItem, { value: "item-1", className: "bg-muted rounded-sm", children: [
|
|
3166
3166
|
/* @__PURE__ */ jsx(AccordionTrigger, { className: "w-full gap-1 items-center py-6 px-5 rounded-b-sm data-[state=open]:pb-3", children: /* @__PURE__ */ jsxs("div", { className: "w-full flex items-center justify-between", children: [
|
|
3167
3167
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-normal text-priority leading-4", children: t("bridge.youWillReceive", { defaultValue: "You will receive" }) }),
|
|
3168
3168
|
/* @__PURE__ */ jsxs("div", { className: "bg-transparent hover:bg-transparent shadow-none h-4 p-0 px-0 py-0 flex items-center gap-2", children: [
|
|
@@ -6553,7 +6553,7 @@ const RefreshButton = () => {
|
|
|
6553
6553
|
onClick: handleRefresh,
|
|
6554
6554
|
disabled: spinning,
|
|
6555
6555
|
variant: "secondary",
|
|
6556
|
-
className: "bg-bridge-button text-bridge-button-foreground h-9 w-11",
|
|
6556
|
+
className: "bg-bridge-button text-bridge-button-foreground hover:text-bridge-button-foreground h-9 w-11",
|
|
6557
6557
|
size: "sm",
|
|
6558
6558
|
children: /* @__PURE__ */ jsx(
|
|
6559
6559
|
ReloadIcon,
|
|
@@ -6581,7 +6581,7 @@ const SelectTokenButton = ({
|
|
|
6581
6581
|
onClick,
|
|
6582
6582
|
size: "sm",
|
|
6583
6583
|
variant: "secondary",
|
|
6584
|
-
className: "shrink-0 gap-2 h-9 !pl-2 bg-bridge-button text-bridge-button-foreground",
|
|
6584
|
+
className: "shrink-0 gap-2 h-9 !pl-2 bg-bridge-button text-bridge-button-foreground hover:text-bridge-button-foreground",
|
|
6585
6585
|
type: "button",
|
|
6586
6586
|
"aria-label": label,
|
|
6587
6587
|
children: [
|
|
@@ -6629,7 +6629,7 @@ const Toolbar = () => {
|
|
|
6629
6629
|
{
|
|
6630
6630
|
onClick: onOpenSettings,
|
|
6631
6631
|
size: "sm",
|
|
6632
|
-
className: "bg-bridge-button text-bridge-button-foreground h-9 w-11",
|
|
6632
|
+
className: "bg-bridge-button text-bridge-button-foreground hover:text-bridge-button-foreground h-9 w-11",
|
|
6633
6633
|
variant: "secondary",
|
|
6634
6634
|
children: /* @__PURE__ */ jsx(BoltIcon, { stroke: "currentColor" })
|
|
6635
6635
|
}
|