@rash2x/bridge-widget 0.1.24 → 0.1.27

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.
@@ -1540,6 +1540,7 @@ const RefreshButton = () => {
1540
1540
  onClick: handleRefresh,
1541
1541
  disabled: spinning,
1542
1542
  variant: "secondary",
1543
+ className: "bg-card text-card-foreground h-9",
1543
1544
  size: "sm",
1544
1545
  children: /* @__PURE__ */ jsxRuntime.jsx(
1545
1546
  ReloadIcon,
@@ -1567,7 +1568,7 @@ const SelectTokenButton = ({
1567
1568
  onClick,
1568
1569
  size: "sm",
1569
1570
  variant: "secondary",
1570
- className: "shrink-0 gap-2",
1571
+ className: "shrink-0 gap-2 bg-card text-card-foreground h-9",
1571
1572
  type: "button",
1572
1573
  "aria-label": label,
1573
1574
  children: [
@@ -1610,7 +1611,16 @@ const FormHeaderComponent = () => {
1610
1611
  ] }),
1611
1612
  /* @__PURE__ */ jsxRuntime.jsxs(card.CardAction, { className: "flex items-center gap-3", children: [
1612
1613
  /* @__PURE__ */ jsxRuntime.jsx(RefreshButton, {}),
1613
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { onClick: onOpenSettings, size: "sm", variant: "secondary", children: /* @__PURE__ */ jsxRuntime.jsx(BoltIcon, { stroke: "currentColor" }) })
1614
+ /* @__PURE__ */ jsxRuntime.jsx(
1615
+ button.Button,
1616
+ {
1617
+ onClick: onOpenSettings,
1618
+ size: "sm",
1619
+ className: "bg-card text-card-foreground h-9",
1620
+ variant: "secondary",
1621
+ children: /* @__PURE__ */ jsxRuntime.jsx(BoltIcon, { stroke: "currentColor" })
1622
+ }
1623
+ )
1614
1624
  ] }),
1615
1625
  /* @__PURE__ */ jsxRuntime.jsx(
1616
1626
  TokenSelectModal,
@@ -2183,6 +2193,7 @@ const SwapButton = () => {
2183
2193
  variant: "secondary",
2184
2194
  size: "sm",
2185
2195
  className: utils.cn(
2196
+ "bg-card text-card-foreground h-9",
2186
2197
  "absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2",
2187
2198
  !canSwap || isSwapping ? "opacity-50 cursor-not-allowed" : "hover:scale-110"
2188
2199
  ),
@@ -2238,7 +2249,7 @@ const SelectNetworkButton = ({
2238
2249
  size: "sm",
2239
2250
  variant: "secondary",
2240
2251
  type: "button",
2241
- className: "shrink-0 gap-2",
2252
+ className: "shrink-0 gap-2 bg-card text-card-foreground h-9",
2242
2253
  "aria-label": label,
2243
2254
  children: [
2244
2255
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2 items-center", children: [
@@ -2668,7 +2679,7 @@ const AnotherAddress = () => {
2668
2679
  } catch {
2669
2680
  }
2670
2681
  };
2671
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4 flex flex-col rounded-b-lg bg-muted", children: [
2682
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4 flex flex-col rounded-b-sm bg-muted", children: [
2672
2683
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
2673
2684
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-5 font-medium text-muted-foreground", children: t("bridge.sendToAnotherAddress") }),
2674
2685
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2886,8 +2897,8 @@ const Details = () => {
2886
2897
  })();
2887
2898
  const currentSlippageText = formatPercentage(slippageBps);
2888
2899
  const routeText = quote?.route ? getRouteDisplayName(quote.route) : t(`settings.routePresets.${routePriority}`);
2889
- return /* @__PURE__ */ jsxRuntime.jsx(accordion.Accordion, { type: "single", collapsible: true, className: "w-full", children: /* @__PURE__ */ jsxRuntime.jsxs(accordion.AccordionItem, { value: "item-1", className: "bg-muted rounded", children: [
2890
- /* @__PURE__ */ jsxRuntime.jsx(accordion.AccordionTrigger, { className: "w-full gap-1 items-center py-6 px-5 rounded-b-lg data-[state=open]:pb-3", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full flex items-center justify-between", children: [
2900
+ return /* @__PURE__ */ jsxRuntime.jsx(accordion.Accordion, { type: "single", collapsible: true, className: "w-full", children: /* @__PURE__ */ jsxRuntime.jsxs(accordion.AccordionItem, { value: "item-1", className: "bg-muted rounded-sm", children: [
2901
+ /* @__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: [
2891
2902
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-normal text-priority leading-4", children: t("bridge.youWillReceive", { defaultValue: "You will receive" }) }),
2892
2903
  /* @__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: [
2893
2904
  /* @__PURE__ */ jsxRuntime.jsx(TokenSymbol, { symbol, className: "w-4 h-4", alt: "token" }),
@@ -7645,7 +7656,7 @@ const EvaaBridgeContent = ({
7645
7656
  /* @__PURE__ */ jsxRuntime.jsx(
7646
7657
  SwapSection,
7647
7658
  {
7648
- className: "rounded-t-lg",
7659
+ className: "rounded-t-sm",
7649
7660
  label: t("bridge.sourceNetwork"),
7650
7661
  balance: fromBalance,
7651
7662
  chain: fromChain,