@loafmarkets/ui 0.1.376 → 0.1.378
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 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5017,9 +5017,9 @@ var PulsingDot = styled10.span`
|
|
|
5017
5017
|
`;
|
|
5018
5018
|
function fmtCompactUsd(n) {
|
|
5019
5019
|
const abs = Math.abs(n);
|
|
5020
|
-
if (abs >= 1e6) return
|
|
5021
|
-
if (abs >= 1e3) return
|
|
5022
|
-
return
|
|
5020
|
+
if (abs >= 1e6) return `${(abs / 1e6).toFixed(2)}M`;
|
|
5021
|
+
if (abs >= 1e3) return `${(abs / 1e3).toFixed(1)}K`;
|
|
5022
|
+
return `${abs.toFixed(2)}`;
|
|
5023
5023
|
}
|
|
5024
5024
|
function useIsNarrow(maxWidthPx = 768) {
|
|
5025
5025
|
const query = `(max-width:${maxWidthPx}px)`;
|
|
@@ -8180,12 +8180,6 @@ var GateShell = styled10.div`
|
|
|
8180
8180
|
justify-content: center;
|
|
8181
8181
|
z-index: 10000;
|
|
8182
8182
|
background-color: rgba(10, 10, 12, 0.66);
|
|
8183
|
-
animation: gateFade 0.25s ease-in-out;
|
|
8184
|
-
|
|
8185
|
-
@keyframes gateFade {
|
|
8186
|
-
from { opacity: 0; }
|
|
8187
|
-
to { opacity: 1; }
|
|
8188
|
-
}
|
|
8189
8183
|
`;
|
|
8190
8184
|
var GateTint = styled10.div`
|
|
8191
8185
|
position: absolute;
|