@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.mjs
CHANGED
|
@@ -3095,8 +3095,8 @@ var PropertyNewsUpdates = React5.forwardRef(
|
|
|
3095
3095
|
type: "button",
|
|
3096
3096
|
onClick: () => setHomePage((p) => Math.max(0, p - 1)),
|
|
3097
3097
|
disabled: homePage === 0,
|
|
3098
|
-
style: { background: "transparent", border: "1px solid rgba(255,255,255,0.15)", borderRadius: "
|
|
3099
|
-
children:
|
|
3098
|
+
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)" },
|
|
3099
|
+
children: "Prev"
|
|
3100
3100
|
}
|
|
3101
3101
|
),
|
|
3102
3102
|
/* @__PURE__ */ jsxs("span", { style: { fontSize: "0.7rem", color: "rgba(255,255,255,0.5)" }, children: [
|
|
@@ -3110,8 +3110,8 @@ var PropertyNewsUpdates = React5.forwardRef(
|
|
|
3110
3110
|
type: "button",
|
|
3111
3111
|
onClick: () => setHomePage((p) => Math.min(homeTotalPages - 1, p + 1)),
|
|
3112
3112
|
disabled: homePage >= homeTotalPages - 1,
|
|
3113
|
-
style: { background: "transparent", border: "1px solid rgba(255,255,255,0.15)", borderRadius: "
|
|
3114
|
-
children:
|
|
3113
|
+
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)" },
|
|
3114
|
+
children: "Next"
|
|
3115
3115
|
}
|
|
3116
3116
|
)
|
|
3117
3117
|
] }),
|
|
@@ -3122,9 +3122,8 @@ var PropertyNewsUpdates = React5.forwardRef(
|
|
|
3122
3122
|
type: "button",
|
|
3123
3123
|
onClick: () => setPage((p) => Math.max(0, p - 1)),
|
|
3124
3124
|
disabled: page === 0,
|
|
3125
|
-
className: cn("rounded-full border border-white/15
|
|
3126
|
-
|
|
3127
|
-
children: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" }) })
|
|
3125
|
+
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"),
|
|
3126
|
+
children: "Prev"
|
|
3128
3127
|
}
|
|
3129
3128
|
),
|
|
3130
3129
|
/* @__PURE__ */ jsxs("span", { className: "font-medium text-white/70", children: [
|
|
@@ -3139,9 +3138,8 @@ var PropertyNewsUpdates = React5.forwardRef(
|
|
|
3139
3138
|
type: "button",
|
|
3140
3139
|
onClick: () => setPage((p) => Math.min(totalPages - 1, p + 1)),
|
|
3141
3140
|
disabled: page >= totalPages - 1,
|
|
3142
|
-
className: cn("rounded-full border border-white/15
|
|
3143
|
-
|
|
3144
|
-
children: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }) })
|
|
3141
|
+
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"),
|
|
3142
|
+
children: "Next"
|
|
3145
3143
|
}
|
|
3146
3144
|
)
|
|
3147
3145
|
] }),
|
|
@@ -9745,7 +9743,7 @@ function OfferingProgressCard({
|
|
|
9745
9743
|
/* @__PURE__ */ jsx("span", { children: "\u24D8" })
|
|
9746
9744
|
] }),
|
|
9747
9745
|
/* @__PURE__ */ jsxs(LivePercent, { children: [
|
|
9748
|
-
percentSold.toFixed(1),
|
|
9746
|
+
percentSold < 0.1 && percentSold > 0 ? percentSold.toFixed(3) : percentSold.toFixed(1),
|
|
9749
9747
|
"%",
|
|
9750
9748
|
/* @__PURE__ */ jsx("span", { className: "arrow", children: "\u2191" })
|
|
9751
9749
|
] })
|
|
@@ -11655,7 +11653,7 @@ function PortfolioActivityPanel({
|
|
|
11655
11653
|
formatTimestamp(trade.executedAt)
|
|
11656
11654
|
] })
|
|
11657
11655
|
] }),
|
|
11658
|
-
/* @__PURE__ */ jsx(
|
|
11656
|
+
trade.status === "SETTLEMENT_FAILED" ? /* @__PURE__ */ jsx(ActivityTag, { $color: "#f6465d", $bg: "rgba(246,70,93,0.12)", children: "Failed" }) : /* @__PURE__ */ jsx(
|
|
11659
11657
|
ActivityTag,
|
|
11660
11658
|
{
|
|
11661
11659
|
$color: trade.side === "SELL" ? "#f6465d" : "#0ecb81",
|