@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.
@@ -2259,7 +2259,7 @@ const SwapButton = () => {
2259
2259
  {
2260
2260
  onClick: handleSwap,
2261
2261
  disabled: !canSwap || isSwapping,
2262
- variant: "card",
2262
+ variant: "secondary",
2263
2263
  size: "sm",
2264
2264
  className: cn(
2265
2265
  "bg-bridge-button text-bridge-button-foreground backdrop-blur-md h-9 w-9 p-0",
@@ -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-primary font-medium underline hover:opacity-70 cursor-pointer rounded-none",
2302
+ className: "h-auto p-0 px-0 text-xs text-link font-medium underline hover:opacity-70 cursor-pointer rounded-none",
2303
2303
  children: t("bridge.max")
2304
2304
  }
2305
2305
  )
@@ -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-primary text-primary", children: buttonText }),
2744
- isConnected && /* @__PURE__ */ jsx(EditIcon, { className: "text-primary -ml-0.5" })
2743
+ /* @__PURE__ */ jsx("span", { className: "leading-3 text-sm border-b border-dotted border-link text-link", children: buttonText }),
2744
+ isConnected && /* @__PURE__ */ jsx(EditIcon, { className: "text-link -ml-0.5" })
2745
2745
  ]
2746
2746
  }
2747
2747
  ),
@@ -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-b-0", children: /* @__PURE__ */ jsxs(AccordionItem, { value: "item-1", className: "bg-muted/50 rounded-sm", children: [
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: [