@loafmarkets/ui 0.1.70 → 0.1.71
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +10 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -3121,8 +3121,8 @@ var PropertyNewsUpdates = React5__namespace.forwardRef(
|
|
|
3121
3121
|
type: "button",
|
|
3122
3122
|
onClick: () => setHomePage((p) => Math.max(0, p - 1)),
|
|
3123
3123
|
disabled: homePage === 0,
|
|
3124
|
-
style: { background: "transparent", border: "1px solid rgba(255,255,255,0.15)", borderRadius: "
|
|
3125
|
-
children:
|
|
3124
|
+
style: { background: "transparent", border: "1px solid rgba(255,255,255,0.15)", borderRadius: "999px", padding: "0.2rem 0.75rem", fontSize: "0.7rem", textTransform: "uppercase", letterSpacing: "0.15em", cursor: homePage === 0 ? "not-allowed" : "pointer", opacity: homePage === 0 ? 0.4 : 1, color: "rgba(255,255,255,0.6)" },
|
|
3125
|
+
children: "Prev"
|
|
3126
3126
|
}
|
|
3127
3127
|
),
|
|
3128
3128
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: "0.7rem", color: "rgba(255,255,255,0.5)" }, children: [
|
|
@@ -3136,8 +3136,8 @@ var PropertyNewsUpdates = React5__namespace.forwardRef(
|
|
|
3136
3136
|
type: "button",
|
|
3137
3137
|
onClick: () => setHomePage((p) => Math.min(homeTotalPages - 1, p + 1)),
|
|
3138
3138
|
disabled: homePage >= homeTotalPages - 1,
|
|
3139
|
-
style: { background: "transparent", border: "1px solid rgba(255,255,255,0.15)", borderRadius: "
|
|
3140
|
-
children:
|
|
3139
|
+
style: { background: "transparent", border: "1px solid rgba(255,255,255,0.15)", borderRadius: "999px", padding: "0.2rem 0.75rem", fontSize: "0.7rem", textTransform: "uppercase", letterSpacing: "0.15em", cursor: homePage >= homeTotalPages - 1 ? "not-allowed" : "pointer", opacity: homePage >= homeTotalPages - 1 ? 0.4 : 1, color: "rgba(255,255,255,0.6)" },
|
|
3140
|
+
children: "Next"
|
|
3141
3141
|
}
|
|
3142
3142
|
)
|
|
3143
3143
|
] }),
|
|
@@ -3148,9 +3148,8 @@ var PropertyNewsUpdates = React5__namespace.forwardRef(
|
|
|
3148
3148
|
type: "button",
|
|
3149
3149
|
onClick: () => setPage((p) => Math.max(0, p - 1)),
|
|
3150
3150
|
disabled: page === 0,
|
|
3151
|
-
className: cn("rounded-full border border-white/15
|
|
3152
|
-
|
|
3153
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" }) })
|
|
3151
|
+
className: cn("rounded-full border border-white/15 px-3 py-1 uppercase tracking-[0.2em]", page === 0 ? "opacity-40 cursor-not-allowed" : "hover:border-white/40"),
|
|
3152
|
+
children: "Prev"
|
|
3154
3153
|
}
|
|
3155
3154
|
),
|
|
3156
3155
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "font-medium text-white/70", children: [
|
|
@@ -3165,9 +3164,8 @@ var PropertyNewsUpdates = React5__namespace.forwardRef(
|
|
|
3165
3164
|
type: "button",
|
|
3166
3165
|
onClick: () => setPage((p) => Math.min(totalPages - 1, p + 1)),
|
|
3167
3166
|
disabled: page >= totalPages - 1,
|
|
3168
|
-
className: cn("rounded-full border border-white/15
|
|
3169
|
-
|
|
3170
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }) })
|
|
3167
|
+
className: cn("rounded-full border border-white/15 px-3 py-1 uppercase tracking-[0.2em]", page >= totalPages - 1 ? "opacity-40 cursor-not-allowed" : "hover:border-white/40"),
|
|
3168
|
+
children: "Next"
|
|
3171
3169
|
}
|
|
3172
3170
|
)
|
|
3173
3171
|
] }),
|
|
@@ -9771,7 +9769,7 @@ function OfferingProgressCard({
|
|
|
9771
9769
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "\u24D8" })
|
|
9772
9770
|
] }),
|
|
9773
9771
|
/* @__PURE__ */ jsxRuntime.jsxs(LivePercent, { children: [
|
|
9774
|
-
percentSold.toFixed(1),
|
|
9772
|
+
percentSold < 0.1 && percentSold > 0 ? percentSold.toFixed(3) : percentSold.toFixed(1),
|
|
9775
9773
|
"%",
|
|
9776
9774
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "arrow", children: "\u2191" })
|
|
9777
9775
|
] })
|
|
@@ -11681,7 +11679,7 @@ function PortfolioActivityPanel({
|
|
|
11681
11679
|
formatTimestamp(trade.executedAt)
|
|
11682
11680
|
] })
|
|
11683
11681
|
] }),
|
|
11684
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11682
|
+
trade.status === "SETTLEMENT_FAILED" ? /* @__PURE__ */ jsxRuntime.jsx(ActivityTag, { $color: "#f6465d", $bg: "rgba(246,70,93,0.12)", children: "Failed" }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
11685
11683
|
ActivityTag,
|
|
11686
11684
|
{
|
|
11687
11685
|
$color: trade.side === "SELL" ? "#f6465d" : "#0ecb81",
|