@local-civics/hub-ui 0.1.246 → 0.1.248
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 +2 -0
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7277,7 +7277,16 @@ const SubmissionReviewHeader = (props) => {
|
|
|
7277
7277
|
return null;
|
|
7278
7278
|
}
|
|
7279
7279
|
const showEmailLine = !!props.name && !!props.email && props.name !== props.email;
|
|
7280
|
-
return /* @__PURE__ */ React.createElement("div", { className: "mb-4 flex items-center gap-3 rounded-xl border border-slate-200 bg-white px-4 py-3" }, /* @__PURE__ */ React.createElement("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-sky-blue-400/15 text-sm font-bold text-sky-blue-400" }, initialsFor(props.name, props.email)), /* @__PURE__ */ React.createElement("div", { className: "min-w-0 flex-1" }, /* @__PURE__ */ React.createElement("div", { className: "truncate text-sm font-extrabold text-dark-blue-400" }, props.name || props.email), showEmailLine && /* @__PURE__ */ React.createElement("div", { className: "truncate text-xs text-slate-400" }, props.email)), props.
|
|
7280
|
+
return /* @__PURE__ */ React.createElement("div", { className: "mb-4 flex items-center gap-3 rounded-xl border border-slate-200 bg-white px-4 py-3" }, /* @__PURE__ */ React.createElement("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-sky-blue-400/15 text-sm font-bold text-sky-blue-400" }, initialsFor(props.name, props.email)), /* @__PURE__ */ React.createElement("div", { className: "min-w-0 flex-1" }, /* @__PURE__ */ React.createElement("div", { className: "truncate text-sm font-extrabold text-dark-blue-400" }, props.name || props.email), showEmailLine && /* @__PURE__ */ React.createElement("div", { className: "truncate text-xs text-slate-400" }, props.email)), props.onSecondaryAction && props.secondaryActionLabel && /* @__PURE__ */ React.createElement(
|
|
7281
|
+
"button",
|
|
7282
|
+
{
|
|
7283
|
+
type: "button",
|
|
7284
|
+
onClick: props.onSecondaryAction,
|
|
7285
|
+
className: "shrink-0 text-xs font-bold text-dark-blue-400 hover:underline"
|
|
7286
|
+
},
|
|
7287
|
+
props.secondaryActionLabel,
|
|
7288
|
+
" \u2192"
|
|
7289
|
+
), props.onViewOverview && props.overviewLabel && /* @__PURE__ */ React.createElement(
|
|
7281
7290
|
"button",
|
|
7282
7291
|
{
|
|
7283
7292
|
type: "button",
|