@loafmarkets/ui 0.1.244 → 0.1.246

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/index.mjs CHANGED
@@ -1890,7 +1890,7 @@ var Orderbook = React5.forwardRef(
1890
1890
  className,
1891
1891
  ...props
1892
1892
  }, ref) => {
1893
- const resolvedRightHeader = rightHeader ?? /* @__PURE__ */ jsx(LoafLiquidityBadge, { className: "text-[0.6rem]", onClick: onLoafLiquidityClick });
1893
+ const resolvedRightHeader = rightHeader ?? /* @__PURE__ */ jsx(LoafLiquidityBadge, { className: "text-[0.6rem] orderbook-ll-badge", onClick: onLoafLiquidityClick });
1894
1894
  const [tab, setTab] = React5.useState(defaultTab);
1895
1895
  const [tradeFilter, setTradeFilter] = React5.useState("all");
1896
1896
  const viewportCompact = useViewportCompact(COMPACT_BREAKPOINT_PX);
@@ -2192,8 +2192,8 @@ function DesktopOrderbookLayout({
2192
2192
  "div",
2193
2193
  {
2194
2194
  ref: midRef,
2195
- className: "flex items-center gap-2 bg-[#0b1a24] px-3 py-2 flex-shrink-0",
2196
- children: /* @__PURE__ */ jsx("div", { className: cn("text-lg font-semibold tabular-nums whitespace-nowrap", midClass), children: isLoading ? /* @__PURE__ */ jsx(Skeleton, { width: 110, height: 20 }) : /* @__PURE__ */ jsxs(Fragment, { children: [
2195
+ className: "flex items-center gap-2 bg-[#0b1a24] px-3 py-2 flex-shrink-0 overflow-hidden orderbook-mid-row",
2196
+ children: /* @__PURE__ */ jsx("div", { className: cn("text-lg font-semibold tabular-nums whitespace-nowrap orderbook-mid-price", midClass), children: isLoading ? /* @__PURE__ */ jsx(Skeleton, { width: 110, height: 20 }) : /* @__PURE__ */ jsxs(Fragment, { children: [
2197
2197
  "$",
2198
2198
  formatNumber(midPrice, precision),
2199
2199
  midChangePercent == null ? null : /* @__PURE__ */ jsxs("span", { className: cn("ml-2 text-sm font-semibold tabular-nums", midClass), children: [