@rash2x/bridge-widget 0.1.23 → 0.1.26

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 h-9",
1543
1544
  size: "sm",
1544
1545
  children: /* @__PURE__ */ jsxRuntime.jsx(
1545
1546
  ReloadIcon,
@@ -1567,6 +1568,7 @@ const SelectTokenButton = ({
1567
1568
  onClick,
1568
1569
  size: "sm",
1569
1570
  variant: "secondary",
1571
+ className: "shrink-0 gap-2 bg-card h-9",
1570
1572
  type: "button",
1571
1573
  "aria-label": label,
1572
1574
  children: [
@@ -1609,7 +1611,16 @@ const FormHeaderComponent = () => {
1609
1611
  ] }),
1610
1612
  /* @__PURE__ */ jsxRuntime.jsxs(card.CardAction, { className: "flex items-center gap-3", children: [
1611
1613
  /* @__PURE__ */ jsxRuntime.jsx(RefreshButton, {}),
1612
- /* @__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 h-9",
1620
+ variant: "secondary",
1621
+ children: /* @__PURE__ */ jsxRuntime.jsx(BoltIcon, { stroke: "currentColor" })
1622
+ }
1623
+ )
1613
1624
  ] }),
1614
1625
  /* @__PURE__ */ jsxRuntime.jsx(
1615
1626
  TokenSelectModal,
@@ -2182,6 +2193,7 @@ const SwapButton = () => {
2182
2193
  variant: "secondary",
2183
2194
  size: "sm",
2184
2195
  className: utils.cn(
2196
+ "bg-card h-9",
2185
2197
  "absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2",
2186
2198
  !canSwap || isSwapping ? "opacity-50 cursor-not-allowed" : "hover:scale-110"
2187
2199
  ),
@@ -2237,6 +2249,7 @@ const SelectNetworkButton = ({
2237
2249
  size: "sm",
2238
2250
  variant: "secondary",
2239
2251
  type: "button",
2252
+ className: "shrink-0 gap-2 bg-card h-9",
2240
2253
  "aria-label": label,
2241
2254
  children: [
2242
2255
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2 items-center", children: [
@@ -2306,7 +2319,7 @@ const CurrencyInput = require$$0.forwardRef(
2306
2319
  pattern: "[0-9]*[.,]?[0-9]*",
2307
2320
  readOnly,
2308
2321
  className: utils.cn(
2309
- "text-[32px] h-12 font-medium leading-9 rounded-none text-end bg-transparent dark:bg-transparent text-foreground shadow-none border-none outline-none ring-0 focus:outline-none",
2322
+ "text-4xl h-12 font-medium leading-9 rounded-none text-end bg-transparent dark:bg-transparent text-foreground shadow-none border-none outline-none ring-0 focus:outline-none focus-visible:ring-0 focus-visible:outline-0 focus-visible:ring-offset-0",
2310
2323
  className
2311
2324
  ),
2312
2325
  max,
@@ -2666,7 +2679,7 @@ const AnotherAddress = () => {
2666
2679
  } catch {
2667
2680
  }
2668
2681
  };
2669
- 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: [
2670
2683
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
2671
2684
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-5 font-medium text-muted-foreground", children: t("bridge.sendToAnotherAddress") }),
2672
2685
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2704,7 +2717,7 @@ const AnotherAddress = () => {
2704
2717
  input.Input,
2705
2718
  {
2706
2719
  className: utils.cn(
2707
- "p-0 h-auto text-base leading-5 font-semibold w-full bg-transparent dark:bg-transparent placeholder:text-muted-foreground/50 border-none"
2720
+ "p-0 h-auto text-base leading-5 font-semibold w-full bg-transparent dark:bg-transparent placeholder:text-muted-foreground/50 border-none focus:outline-none focus:ring-0"
2708
2721
  ),
2709
2722
  placeholder: t("bridge.anotherAddressPlaceholder"),
2710
2723
  type: "text",
@@ -2884,8 +2897,8 @@ const Details = () => {
2884
2897
  })();
2885
2898
  const currentSlippageText = formatPercentage(slippageBps);
2886
2899
  const routeText = quote?.route ? getRouteDisplayName(quote.route) : t(`settings.routePresets.${routePriority}`);
2887
- 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: [
2888
- /* @__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: [
2889
2902
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-normal text-priority leading-4", children: t("bridge.youWillReceive", { defaultValue: "You will receive" }) }),
2890
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: [
2891
2904
  /* @__PURE__ */ jsxRuntime.jsx(TokenSymbol, { symbol, className: "w-4 h-4", alt: "token" }),
@@ -7643,7 +7656,7 @@ const EvaaBridgeContent = ({
7643
7656
  /* @__PURE__ */ jsxRuntime.jsx(
7644
7657
  SwapSection,
7645
7658
  {
7646
- className: "rounded-t-lg",
7659
+ className: "rounded-t-sm",
7647
7660
  label: t("bridge.sourceNetwork"),
7648
7661
  balance: fromBalance,
7649
7662
  chain: fromChain,