"use client";
import { Badge } from './chunk-WR55H7DH.mjs';
import { jsx, jsxs } from 'react/jsx-runtime';

function GraphNodeIconBubble({ children, className = "" }) {
  return /* @__PURE__ */ jsx("div", { className: `flex h-10 w-10 items-center justify-center rounded-xl shadow-lg ${className}`, children });
}
function GraphNodeHeader({
  icon,
  title,
  description,
  compact = false,
  iconClassName
}) {
  return /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
    /* @__PURE__ */ jsx("div", { className: iconClassName, children: icon }),
    /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
      /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-gray-900 dark:text-white", children: title }),
      !compact && description && /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-gray-500 dark:text-gray-400", children: description })
    ] })
  ] });
}
function GraphNodeMeta({ compact = false, children }) {
  if (compact) return null;
  return /* @__PURE__ */ jsx("div", { className: "mt-2 flex items-center justify-between", children });
}
function GraphNodeBadge({ children, className }) {
  if (className) {
    return /* @__PURE__ */ jsx("span", { className, children });
  }
  return /* @__PURE__ */ jsx(Badge, { color: "zinc", size: "xs", children });
}

export { GraphNodeBadge, GraphNodeHeader, GraphNodeIconBubble, GraphNodeMeta };
//# sourceMappingURL=chunk-PLTLRL2V.mjs.map
//# sourceMappingURL=chunk-PLTLRL2V.mjs.map