@local-civics/hub-ui 0.1.146 → 0.1.147
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.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
|
@@ -5531,7 +5531,7 @@ const PathwayCard = (props) => {
|
|
|
5531
5531
|
const buttonTheme = b.completedAt ? "light" : "dark";
|
|
5532
5532
|
const iconName = b.completedAt ? "check & circle" : "circle";
|
|
5533
5533
|
const iconColor = b.completedAt ? "text-green-500" : "text-zinc-300";
|
|
5534
|
-
return /* @__PURE__ */ React.createElement("div", { key: b.badgeId, className: "flex gap-x-2 items-center" }, /* @__PURE__ */ React.createElement("div", { className: `shrink-0 h-4 w-4 ${iconColor}` }, /* @__PURE__ */ React.createElement(Icon, { name: iconName })), /* @__PURE__ */ React.createElement("div", { className: "grow" }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("span", { className: "font-semibold" }, b.displayName)), /* @__PURE__ */ React.createElement("div", { className: "text-xs" }, /* @__PURE__ */ React.createElement("span",
|
|
5534
|
+
return /* @__PURE__ */ React.createElement("div", { key: b.badgeId, className: "flex gap-x-2 items-center" }, /* @__PURE__ */ React.createElement("div", { className: `shrink-0 h-4 w-4 ${iconColor}` }, /* @__PURE__ */ React.createElement(Icon, { name: iconName })), /* @__PURE__ */ React.createElement("div", { className: "grow" }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("span", { className: "font-semibold" }, b.displayName)), /* @__PURE__ */ React.createElement("div", { className: "text-xs" }, /* @__PURE__ */ React.createElement("span", { className: "ml-1 text-green-500 font-semibold whitespace-nowrap" }, b.weight, " ", b.weight === 1 ? "point" : "points"))), /* @__PURE__ */ React.createElement("div", { className: "shrink-0 w-full max-w-[7rem]" }, /* @__PURE__ */ React.createElement(
|
|
5535
5535
|
Button,
|
|
5536
5536
|
{
|
|
5537
5537
|
onClick: b.onClick,
|