@local-civics/hub-ui 0.1.224 → 0.1.225
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
|
@@ -3907,7 +3907,7 @@ const BadgeDetail = (props) => {
|
|
|
3907
3907
|
const status = props.finishedAt ? "Completed" : anyStarted || xp > 0 ? "In Progress" : "Available";
|
|
3908
3908
|
const { border, shadow, pillAccent } = STATUS_CLASSNAMES$1[status];
|
|
3909
3909
|
const showSubmit = !props.finishedAt && criteria.length > 0;
|
|
3910
|
-
return /* @__PURE__ */ React.createElement("div", { className: "flex max-w-2xl flex-col gap-3.5" }, props.
|
|
3910
|
+
return /* @__PURE__ */ React.createElement("div", { className: "flex max-w-2xl flex-col gap-3.5" }, props.onPathwayClick && /* @__PURE__ */ React.createElement("div", { onClick: props.onPathwayClick, className: "w-max cursor-pointer text-xs font-bold text-sky-blue-400" }, "\u2190 Go to Pathway"), /* @__PURE__ */ React.createElement("div", { className: `overflow-hidden rounded-2xl border bg-white ${border} ${shadow}` }, /* @__PURE__ */ React.createElement("div", { className: "flex gap-4 p-5" }, /* @__PURE__ */ React.createElement("div", { className: "shrink-0" }, /* @__PURE__ */ React.createElement(
|
|
3911
3911
|
BadgeEmblem,
|
|
3912
3912
|
{
|
|
3913
3913
|
icon: props.icon,
|