@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.
|
@@ -38414,6 +38414,17 @@ var actionIcon = (action) => {
|
|
|
38414
38414
|
return /* @__PURE__ */ jsxRuntime.jsx(DeleteIcon, {});
|
|
38415
38415
|
}
|
|
38416
38416
|
const governedIcon = isJsonObject(action.icon) ? stringValue2(action.icon.id) : void 0;
|
|
38417
|
+
if (governedIcon?.startsWith("lucide:") && governedIcon.length > 7) {
|
|
38418
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
38419
|
+
BaseAssetIcon,
|
|
38420
|
+
{
|
|
38421
|
+
icon: { kind: "lucide", name: governedIcon.slice(7) },
|
|
38422
|
+
alt: "",
|
|
38423
|
+
"aria-hidden": "true",
|
|
38424
|
+
className: "h-4 w-4 shrink-0 rounded-none bg-transparent text-current"
|
|
38425
|
+
}
|
|
38426
|
+
);
|
|
38427
|
+
}
|
|
38417
38428
|
return semanticIcon(governedIcon ?? stringValue2(action.id));
|
|
38418
38429
|
};
|
|
38419
38430
|
var legacyRecordActionIcon = (actionId) => {
|