@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.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -3927,7 +3927,7 @@ const BadgeDetail = (props) => {
|
|
|
3927
3927
|
const status = props.finishedAt ? "Completed" : anyStarted || xp > 0 ? "In Progress" : "Available";
|
|
3928
3928
|
const { border, shadow, pillAccent } = STATUS_CLASSNAMES$1[status];
|
|
3929
3929
|
const showSubmit = !props.finishedAt && criteria.length > 0;
|
|
3930
|
-
return /* @__PURE__ */ React__namespace.createElement("div", { className: "flex max-w-2xl flex-col gap-3.5" }, props.
|
|
3930
|
+
return /* @__PURE__ */ React__namespace.createElement("div", { className: "flex max-w-2xl flex-col gap-3.5" }, props.onPathwayClick && /* @__PURE__ */ React__namespace.createElement("div", { onClick: props.onPathwayClick, className: "w-max cursor-pointer text-xs font-bold text-sky-blue-400" }, "\u2190 Go to Pathway"), /* @__PURE__ */ React__namespace.createElement("div", { className: `overflow-hidden rounded-2xl border bg-white ${border} ${shadow}` }, /* @__PURE__ */ React__namespace.createElement("div", { className: "flex gap-4 p-5" }, /* @__PURE__ */ React__namespace.createElement("div", { className: "shrink-0" }, /* @__PURE__ */ React__namespace.createElement(
|
|
3931
3931
|
BadgeEmblem,
|
|
3932
3932
|
{
|
|
3933
3933
|
icon: props.icon,
|