@loafmarkets/ui 0.1.418 → 0.1.419
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 +8 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1819,27 +1819,6 @@ function TradeRow({
|
|
|
1819
1819
|
}
|
|
1820
1820
|
);
|
|
1821
1821
|
}
|
|
1822
|
-
function BreadSliceGlyph() {
|
|
1823
|
-
return /* @__PURE__ */ jsx(
|
|
1824
|
-
"svg",
|
|
1825
|
-
{
|
|
1826
|
-
width: "10",
|
|
1827
|
-
height: "10",
|
|
1828
|
-
viewBox: "0 0 10 10",
|
|
1829
|
-
"aria-hidden": "true",
|
|
1830
|
-
style: { display: "block", filter: "drop-shadow(0 0 4px rgba(201,162,39,0.6))" },
|
|
1831
|
-
children: /* @__PURE__ */ jsx(
|
|
1832
|
-
"path",
|
|
1833
|
-
{
|
|
1834
|
-
d: "M1 4.2 C1 1.9 2.7 1 5 1 C7.3 1 9 1.9 9 4.2 L9 8.2 C9 8.6 8.6 9 8.2 9 L1.8 9 C1.4 9 1 8.6 1 8.2 Z",
|
|
1835
|
-
fill: "none",
|
|
1836
|
-
stroke: "#C9A227",
|
|
1837
|
-
strokeWidth: "1.3"
|
|
1838
|
-
}
|
|
1839
|
-
)
|
|
1840
|
-
}
|
|
1841
|
-
);
|
|
1842
|
-
}
|
|
1843
1822
|
function DepthRow({
|
|
1844
1823
|
side,
|
|
1845
1824
|
price,
|
|
@@ -1890,8 +1869,7 @@ function DepthRow({
|
|
|
1890
1869
|
"span",
|
|
1891
1870
|
{
|
|
1892
1871
|
"aria-label": "Your order at this price",
|
|
1893
|
-
className: "absolute left-0 top-1/2 -translate-y-1/2 z-[2]"
|
|
1894
|
-
children: /* @__PURE__ */ jsx(BreadSliceGlyph, {})
|
|
1872
|
+
className: "absolute left-0 top-1/2 -translate-y-1/2 z-[2] h-[6px] w-[6px] rounded-full bg-[#C9A227] shadow-[0_0_6px_rgba(201,162,39,0.7)]"
|
|
1895
1873
|
}
|
|
1896
1874
|
) : null,
|
|
1897
1875
|
/* @__PURE__ */ jsxs("div", { "data-cell": "price", className: cn("relative z-[1] tabular-nums", isAsk ? "text-[#f6465d]" : "text-[#0ecb81]"), children: [
|
|
@@ -2837,12 +2815,16 @@ function MobileDepthRow({
|
|
|
2837
2815
|
left: "2px",
|
|
2838
2816
|
top: "50%",
|
|
2839
2817
|
transform: "translateY(-50%)",
|
|
2818
|
+
width: "6px",
|
|
2819
|
+
height: "6px",
|
|
2820
|
+
borderRadius: "50%",
|
|
2821
|
+
backgroundColor: "#C9A227",
|
|
2822
|
+
boxShadow: "0 0 6px rgba(201,162,39,0.7)",
|
|
2840
2823
|
zIndex: 2
|
|
2841
|
-
}
|
|
2842
|
-
children: /* @__PURE__ */ jsx(BreadSliceGlyph, {})
|
|
2824
|
+
}
|
|
2843
2825
|
}
|
|
2844
2826
|
) : null,
|
|
2845
|
-
/* @__PURE__ */ jsxs("div", { style: { position: "relative", zIndex: 1, color: isAsk ? "#f6465d" : "#0ecb81", paddingLeft: hasUserOrder ? "
|
|
2827
|
+
/* @__PURE__ */ jsxs("div", { style: { position: "relative", zIndex: 1, color: isAsk ? "#f6465d" : "#0ecb81", paddingLeft: hasUserOrder ? "10px" : void 0 }, children: [
|
|
2846
2828
|
"$",
|
|
2847
2829
|
formatNumber(price, precision)
|
|
2848
2830
|
] }),
|