@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.mjs
CHANGED
|
@@ -2176,7 +2176,7 @@ function DesktopOrderbookLayout({
|
|
|
2176
2176
|
{
|
|
2177
2177
|
className: "flex flex-col justify-end divide-y divide-white/5 overflow-y-auto",
|
|
2178
2178
|
style: { height: `${sectionHeight}px`, scrollbarGutter: "stable" },
|
|
2179
|
-
children: isLoading ? Array.from({ length: LEVEL_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsx(SkeletonRow, {}, `ask-skel-${i}`)) : asks.map((l) => /* @__PURE__ */ jsx(
|
|
2179
|
+
children: isLoading ? Array.from({ length: LEVEL_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsx(SkeletonRow, {}, `ask-skel-${i}`)) : asks.length === 0 ? /* @__PURE__ */ jsx("div", { className: "flex h-full items-center justify-center px-3 text-xs text-white/40", children: "No asks" }) : asks.map((l) => /* @__PURE__ */ jsx(
|
|
2180
2180
|
DepthRow,
|
|
2181
2181
|
{
|
|
2182
2182
|
side: "ask",
|
|
@@ -2215,7 +2215,7 @@ function DesktopOrderbookLayout({
|
|
|
2215
2215
|
{
|
|
2216
2216
|
className: "divide-y divide-white/5 overflow-y-auto",
|
|
2217
2217
|
style: { height: `${sectionHeight}px`, scrollbarGutter: "stable" },
|
|
2218
|
-
children: isLoading ? Array.from({ length: LEVEL_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsx(SkeletonRow, {}, `bid-skel-${i}`)) : bids.map((l) => /* @__PURE__ */ jsx(
|
|
2218
|
+
children: isLoading ? Array.from({ length: LEVEL_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsx(SkeletonRow, {}, `bid-skel-${i}`)) : bids.length === 0 ? /* @__PURE__ */ jsx("div", { className: "flex h-full items-center justify-center px-3 text-xs text-white/40", children: "No bids" }) : bids.map((l) => /* @__PURE__ */ jsx(
|
|
2219
2219
|
DepthRow,
|
|
2220
2220
|
{
|
|
2221
2221
|
side: "bid",
|
|
@@ -2330,7 +2330,7 @@ function MobileOrderbookLayout({
|
|
|
2330
2330
|
]
|
|
2331
2331
|
}
|
|
2332
2332
|
),
|
|
2333
|
-
/* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column" }, children: isLoading ? Array.from({ length: COMPACT_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsx(SkeletonRow, { compact: true }, `m-ask-skel-${i}`)) : visibleAsks.map((l) => /* @__PURE__ */ jsx(
|
|
2333
|
+
/* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column" }, children: isLoading ? Array.from({ length: COMPACT_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsx(SkeletonRow, { compact: true }, `m-ask-skel-${i}`)) : visibleAsks.length === 0 ? /* @__PURE__ */ 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__ */ jsx(
|
|
2334
2334
|
MobileDepthRow,
|
|
2335
2335
|
{
|
|
2336
2336
|
side: "ask",
|
|
@@ -2376,7 +2376,7 @@ function MobileOrderbookLayout({
|
|
|
2376
2376
|
]
|
|
2377
2377
|
}
|
|
2378
2378
|
),
|
|
2379
|
-
/* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column" }, children: isLoading ? Array.from({ length: COMPACT_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsx(SkeletonRow, { compact: true }, `m-bid-skel-${i}`)) : visibleBids.map((l) => /* @__PURE__ */ jsx(
|
|
2379
|
+
/* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column" }, children: isLoading ? Array.from({ length: COMPACT_ROWS_VISIBLE }).map((_, i) => /* @__PURE__ */ jsx(SkeletonRow, { compact: true }, `m-bid-skel-${i}`)) : visibleBids.length === 0 ? /* @__PURE__ */ 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__ */ jsx(
|
|
2380
2380
|
MobileDepthRow,
|
|
2381
2381
|
{
|
|
2382
2382
|
side: "bid",
|
|
@@ -11330,9 +11330,8 @@ var Tab = styled24.button`
|
|
|
11330
11330
|
}
|
|
11331
11331
|
`;
|
|
11332
11332
|
var TabCount = styled24.span`
|
|
11333
|
-
color:
|
|
11334
|
-
|
|
11335
|
-
font-weight: 500;
|
|
11333
|
+
color: #E6C656;
|
|
11334
|
+
font-weight: 600;
|
|
11336
11335
|
margin-left: 2px;
|
|
11337
11336
|
`;
|
|
11338
11337
|
var ActivityRow = styled24.div`
|