{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kit-report",
  "type": "registry:lib",
  "title": "Kit report",
  "description": "Helpers shared by the report blocks.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/block-kit.json",
    "https://ui.klarhimmel.com/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/_shared/report-kit.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/blocks/_shared/report-kit.tsx",
      "content": "// Pieces the report blocks share: one reading column, the same rhythm, an optional section title. A report is a document: a\n// readable measure, calm spacing, and nothing that breaks when it is printed.\nimport type { ReactNode } from 'react';\nimport { cn } from '../../lib/utils';\nimport { Container, Opt, Section } from './kit';\n\n/** A report section: one reading column for every block (so the page keeps one left edge) and a lighter vertical rhythm than a marketing page. */\nexport function ReportSection({ labelledBy, className, children }: { labelledBy?: string; className?: string; children: ReactNode }) {\n  return (\n    <Section labelledBy={labelledBy} className={cn('py-8 @3xl:py-10 print:py-4', className)}>\n      <Container className=\"max-w-[54rem]\">{children}</Container>\n    </Section>\n  );\n}\n\n/** The optional h2 of a report section (and its lead-in). Not drawn when both are empty. */\nexport function ReportTitle({ id, title, lead }: { id: string; title?: string; lead?: string }) {\n  return (\n    <>\n      <div id={id}>\n        <Opt path={['title']} value={title} as=\"h2\" className=\"text-kh-heading font-semibold tracking-tight\" placeholder=\"Section title\" />\n      </div>\n      <Opt path={['lead']} value={lead} className=\"mt-2 max-w-kh-prose text-kh-body text-kh-muted\" placeholder=\"Lead-in\" />\n    </>\n  );\n}\n"
    }
  ]
}
