@local-civics/mgmt-ui 0.1.252 → 0.1.253
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.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4237,7 +4237,7 @@ function SubmissionCommentPanel(props) {
|
|
|
4237
4237
|
"Leave a Comment"
|
|
4238
4238
|
))), /* @__PURE__ */ React.createElement("div", { className: "mt-4 flex flex-col gap-3" }, props.loading && /* @__PURE__ */ React.createElement("p", { className: "text-sm text-slate-400" }, "Loading comments\u2026"), !props.loading && props.comments.length === 0 && /* @__PURE__ */ React.createElement("p", { className: "text-sm text-slate-400" }, "No comments yet."), !props.loading && props.comments.map((c) => {
|
|
4239
4239
|
const resolved = !!c.resolvedAt;
|
|
4240
|
-
return /* @__PURE__ */ React.createElement("div", { key: c.commentId, className: "rounded-lg border border-slate-100 bg-slate-50 p-3.5" }, /* @__PURE__ */ React.createElement("div", { className: "flex items-start justify-between gap-3" }, /* @__PURE__ */ React.createElement("div", { className: "text-xs font-bold text-dark-blue-400" }, c.
|
|
4240
|
+
return /* @__PURE__ */ React.createElement("div", { key: c.commentId, className: "rounded-lg border border-slate-100 bg-slate-50 p-3.5" }, /* @__PURE__ */ React.createElement("div", { className: "flex items-start justify-between gap-3" }, /* @__PURE__ */ React.createElement("div", { className: "text-xs font-bold text-dark-blue-400" }, c.commenterName || "Educator"), /* @__PURE__ */ React.createElement("div", { className: "text-[10.5px] text-slate-400" }, formatDate(c.createdAt))), /* @__PURE__ */ React.createElement("p", { className: "mt-1.5 text-sm text-slate-600" }, c.commentText), c.requireValidation && /* @__PURE__ */ React.createElement("div", { className: "mt-2.5 flex items-center gap-2" }, /* @__PURE__ */ React.createElement("span", { className: `rounded-full px-2.5 py-1 text-[10px] font-bold uppercase tracking-wide ${resolved ? "bg-mint-100 text-dark-blue-400" : "bg-gold-100 text-dark-blue-400"}` }, resolved ? "Resolved" : "Needs Validation"), !resolved && !c.isLocal && props.onResolve && /* @__PURE__ */ React.createElement(
|
|
4241
4241
|
"button",
|
|
4242
4242
|
{
|
|
4243
4243
|
type: "button",
|