@local-civics/hub-ui 0.1.235 → 0.1.236

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 CHANGED
@@ -329,7 +329,6 @@ type BadgeDetailProps = {
329
329
  choices?: BadgeActivityProps[];
330
330
  canSubmit?: boolean;
331
331
  finishedAt?: string;
332
- onPathwayClick?: () => void;
333
332
  onSubmit?: () => void;
334
333
  };
335
334
  /**
package/dist/index.js CHANGED
@@ -3933,7 +3933,7 @@ const BadgeDetail = (props) => {
3933
3933
  const status = props.finishedAt ? "Completed" : anyStarted || xp > 0 ? "In Progress" : "Available";
3934
3934
  const { border, shadow, pillAccent } = STATUS_CLASSNAMES$1[status];
3935
3935
  const showSubmit = !props.finishedAt && criteria.length > 0;
3936
- return /* @__PURE__ */ React__namespace.createElement("div", { className: "flex w-full 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(
3936
+ return /* @__PURE__ */ React__namespace.createElement("div", { className: "flex w-full flex-col gap-3.5" }, /* @__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(
3937
3937
  BadgeEmblem,
3938
3938
  {
3939
3939
  icon: props.icon,