@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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1916,7 +1916,7 @@ var Orderbook = React5__namespace.forwardRef(
|
|
|
1916
1916
|
className,
|
|
1917
1917
|
...props
|
|
1918
1918
|
}, ref) => {
|
|
1919
|
-
const resolvedRightHeader = rightHeader ?? /* @__PURE__ */ jsxRuntime.jsx(LoafLiquidityBadge, { className: "text-[0.6rem]", onClick: onLoafLiquidityClick });
|
|
1919
|
+
const resolvedRightHeader = rightHeader ?? /* @__PURE__ */ jsxRuntime.jsx(LoafLiquidityBadge, { className: "text-[0.6rem] orderbook-ll-badge", onClick: onLoafLiquidityClick });
|
|
1920
1920
|
const [tab, setTab] = React5__namespace.useState(defaultTab);
|
|
1921
1921
|
const [tradeFilter, setTradeFilter] = React5__namespace.useState("all");
|
|
1922
1922
|
const viewportCompact = useViewportCompact(COMPACT_BREAKPOINT_PX);
|
|
@@ -2218,8 +2218,8 @@ function DesktopOrderbookLayout({
|
|
|
2218
2218
|
"div",
|
|
2219
2219
|
{
|
|
2220
2220
|
ref: midRef,
|
|
2221
|
-
className: "flex items-center gap-2 bg-[#0b1a24] px-3 py-2 flex-shrink-0",
|
|
2222
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("text-lg font-semibold tabular-nums whitespace-nowrap", midClass), children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { width: 110, height: 20 }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2221
|
+
className: "flex items-center gap-2 bg-[#0b1a24] px-3 py-2 flex-shrink-0 overflow-hidden orderbook-mid-row",
|
|
2222
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("text-lg font-semibold tabular-nums whitespace-nowrap orderbook-mid-price", midClass), children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { width: 110, height: 20 }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2223
2223
|
"$",
|
|
2224
2224
|
formatNumber(midPrice, precision),
|
|
2225
2225
|
midChangePercent == null ? null : /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn("ml-2 text-sm font-semibold tabular-nums", midClass), children: [
|