@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.js
CHANGED
|
@@ -5042,9 +5042,9 @@ var PulsingDot = styled10__default.default.span`
|
|
|
5042
5042
|
`;
|
|
5043
5043
|
function fmtCompactUsd(n) {
|
|
5044
5044
|
const abs = Math.abs(n);
|
|
5045
|
-
if (abs >= 1e6) return
|
|
5046
|
-
if (abs >= 1e3) return
|
|
5047
|
-
return
|
|
5045
|
+
if (abs >= 1e6) return `${(abs / 1e6).toFixed(2)}M`;
|
|
5046
|
+
if (abs >= 1e3) return `${(abs / 1e3).toFixed(1)}K`;
|
|
5047
|
+
return `${abs.toFixed(2)}`;
|
|
5048
5048
|
}
|
|
5049
5049
|
function useIsNarrow(maxWidthPx = 768) {
|
|
5050
5050
|
const query = `(max-width:${maxWidthPx}px)`;
|
|
@@ -8205,12 +8205,6 @@ var GateShell = styled10__default.default.div`
|
|
|
8205
8205
|
justify-content: center;
|
|
8206
8206
|
z-index: 10000;
|
|
8207
8207
|
background-color: rgba(10, 10, 12, 0.66);
|
|
8208
|
-
animation: gateFade 0.25s ease-in-out;
|
|
8209
|
-
|
|
8210
|
-
@keyframes gateFade {
|
|
8211
|
-
from { opacity: 0; }
|
|
8212
|
-
to { opacity: 1; }
|
|
8213
|
-
}
|
|
8214
8208
|
`;
|
|
8215
8209
|
var GateTint = styled10__default.default.div`
|
|
8216
8210
|
position: absolute;
|