@inf-monkeys-tech/monkeys-design 2.0.80 → 2.0.81
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.
|
@@ -38381,6 +38381,17 @@ var actionIcon = (action) => {
|
|
|
38381
38381
|
return /* @__PURE__ */ jsx(DeleteIcon, {});
|
|
38382
38382
|
}
|
|
38383
38383
|
const governedIcon = isJsonObject(action.icon) ? stringValue2(action.icon.id) : void 0;
|
|
38384
|
+
if (governedIcon?.startsWith("lucide:") && governedIcon.length > 7) {
|
|
38385
|
+
return /* @__PURE__ */ jsx(
|
|
38386
|
+
BaseAssetIcon,
|
|
38387
|
+
{
|
|
38388
|
+
icon: { kind: "lucide", name: governedIcon.slice(7) },
|
|
38389
|
+
alt: "",
|
|
38390
|
+
"aria-hidden": "true",
|
|
38391
|
+
className: "h-4 w-4 shrink-0 rounded-none bg-transparent text-current"
|
|
38392
|
+
}
|
|
38393
|
+
);
|
|
38394
|
+
}
|
|
38384
38395
|
return semanticIcon(governedIcon ?? stringValue2(action.id));
|
|
38385
38396
|
};
|
|
38386
38397
|
var legacyRecordActionIcon = (actionId) => {
|