@loafmarkets/ui 0.1.43 → 0.1.44
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 +6 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2201,7 +2201,7 @@ function DesktopOrderbookLayout({
|
|
|
2201
2201
|
{
|
|
2202
2202
|
className: "flex flex-col justify-end divide-y divide-white/5 overflow-y-auto",
|
|
2203
2203
|
style: { height: `${sectionHeight}px`, scrollbarGutter: "stable" },
|
|
2204
|
-
children: isLoading ? Array.from({ length: LEVEL_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonRow, {}, `ask-skel-${i}`)) : asks.map((l) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2204
|
+
children: isLoading ? Array.from({ length: LEVEL_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonRow, {}, `ask-skel-${i}`)) : asks.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-full items-center justify-center px-3 text-xs text-white/40", children: "No asks" }) : asks.map((l) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2205
2205
|
DepthRow,
|
|
2206
2206
|
{
|
|
2207
2207
|
side: "ask",
|
|
@@ -2240,7 +2240,7 @@ function DesktopOrderbookLayout({
|
|
|
2240
2240
|
{
|
|
2241
2241
|
className: "divide-y divide-white/5 overflow-y-auto",
|
|
2242
2242
|
style: { height: `${sectionHeight}px`, scrollbarGutter: "stable" },
|
|
2243
|
-
children: isLoading ? Array.from({ length: LEVEL_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonRow, {}, `bid-skel-${i}`)) : bids.map((l) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2243
|
+
children: isLoading ? Array.from({ length: LEVEL_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonRow, {}, `bid-skel-${i}`)) : bids.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-full items-center justify-center px-3 text-xs text-white/40", children: "No bids" }) : bids.map((l) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2244
2244
|
DepthRow,
|
|
2245
2245
|
{
|
|
2246
2246
|
side: "bid",
|
|
@@ -2355,7 +2355,7 @@ function MobileOrderbookLayout({
|
|
|
2355
2355
|
]
|
|
2356
2356
|
}
|
|
2357
2357
|
),
|
|
2358
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "flex", flexDirection: "column" }, children: isLoading ? Array.from({ length: COMPACT_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonRow, { compact: true }, `m-ask-skel-${i}`)) : visibleAsks.map((l) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2358
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "flex", flexDirection: "column" }, children: isLoading ? Array.from({ length: COMPACT_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonRow, { compact: true }, `m-ask-skel-${i}`)) : visibleAsks.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "0.75rem 0", textAlign: "center", color: "rgba(255,255,255,0.4)", fontSize: "0.72rem" }, children: "No asks" }) : visibleAsks.map((l) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2359
2359
|
MobileDepthRow,
|
|
2360
2360
|
{
|
|
2361
2361
|
side: "ask",
|
|
@@ -2401,7 +2401,7 @@ function MobileOrderbookLayout({
|
|
|
2401
2401
|
]
|
|
2402
2402
|
}
|
|
2403
2403
|
),
|
|
2404
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "flex", flexDirection: "column" }, children: isLoading ? Array.from({ length: COMPACT_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonRow, { compact: true }, `m-bid-skel-${i}`)) : visibleBids.map((l) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2404
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "flex", flexDirection: "column" }, children: isLoading ? Array.from({ length: COMPACT_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(SkeletonRow, { compact: true }, `m-bid-skel-${i}`)) : visibleBids.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "0.75rem 0", textAlign: "center", color: "rgba(255,255,255,0.4)", fontSize: "0.72rem" }, children: "No bids" }) : visibleBids.map((l) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2405
2405
|
MobileDepthRow,
|
|
2406
2406
|
{
|
|
2407
2407
|
side: "bid",
|
|
@@ -11355,9 +11355,8 @@ var Tab = styled24__default.default.button`
|
|
|
11355
11355
|
}
|
|
11356
11356
|
`;
|
|
11357
11357
|
var TabCount = styled24__default.default.span`
|
|
11358
|
-
color:
|
|
11359
|
-
|
|
11360
|
-
font-weight: 500;
|
|
11358
|
+
color: #E6C656;
|
|
11359
|
+
font-weight: 600;
|
|
11361
11360
|
margin-left: 2px;
|
|
11362
11361
|
`;
|
|
11363
11362
|
var ActivityRow = styled24__default.default.div`
|