{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kit-c-proof",
  "type": "registry:lib",
  "title": "Kit c-proof",
  "description": "Helpers shared by the proof blocks.",
  "dependencies": [
    "lucide-react@^1.49.0"
  ],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/block-kit.json",
    "https://ui.klarhimmel.com/r/editing.json",
    "https://ui.klarhimmel.com/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/_shared/c-proof-kit.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/blocks/_shared/c-proof-kit.tsx",
      "content": "// Helpers shared by the proof, features and pricing blocks (package C). Layout only; copy always goes through Text/Opt.\nimport { useId } from 'react';\nimport { Check } from 'lucide-react';\nimport { Text, type PropPath } from '../../editing';\nimport { cn } from '../../lib/utils';\nimport { Eyebrow, Opt, useEditing } from './kit';\n\n/** Id for aria-labelledby when the heading exists; undefined when the title is empty (the section then has no name). */\nexport function useHeadingId(title: string | undefined) {\n  const id = useId();\n  const editing = useEditing();\n  return title || editing ? id : undefined;\n}\n\n/** Section header where every part may be empty. Renders nothing at all when it has no content outside the editor. */\nexport function Heading({\n  base = [], id, eyebrow, title, description, align = 'left', className, light,\n}: { light?: boolean; base?: PropPath; id?: string; eyebrow?: string; title?: string; description?: string; align?: 'left' | 'center'; className?: string }) {\n  const editing = useEditing();\n  if (!eyebrow && !title && !description && !editing) return null;\n  return (\n    <div className={cn('max-w-kh-narrow', align === 'center' && 'mx-auto text-center', className)}>\n      <Eyebrow path={[...base, 'eyebrow']} value={eyebrow} />\n      <div id={id}>\n        <Opt path={[...base, 'title']} value={title} as=\"h2\" className={light ? 'text-kh-title font-normal' : 'text-kh-title font-semibold'} placeholder=\"Title\" />\n      </div>\n      <Opt path={[...base, 'description']} value={description} className={cn('mt-4 max-w-kh-lead text-kh-lead text-kh-muted', align === 'center' && 'mx-auto')} placeholder=\"Description\" />\n    </div>\n  );\n}\n\nexport { hasImage } from './kit';\n\n/** Check-marked list item. */\nexport function CheckItem({ path, value, className }: { path: PropPath; value: string; className?: string }) {\n  return (\n    <li className={cn('flex items-start gap-3 text-kh-small', className)}>\n      <Check aria-hidden className=\"mt-0.5 size-4 shrink-0 text-kh-accent-ink\" strokeWidth={2.25} />\n      <Text path={path} value={value} as=\"span\" />\n    </li>\n  );\n}\n"
    }
  ]
}
