{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "table",
  "files": [
    {
      "path": "src/components/ui/table/table.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"table\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div data-slot=\"table-container\" class=\"relative w-full overflow-x-auto\">\n  <table\n    data-slot=\"table\"\n    class={cn(\"w-full caption-bottom text-sm\", className)}\n    {...props}\n  >\n    <slot />\n  </table>\n</div>\n",
      "type": "registry:ui"
    },
    {
      "path": "src/components/ui/table/table-body.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"tbody\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<tbody\n  data-slot=\"table-body\"\n  class={cn(\"[&_tr:last-child]:border-0\", className)}\n  {...props}\n>\n  <slot />\n</tbody>\n",
      "type": "registry:ui"
    },
    {
      "path": "src/components/ui/table/table-caption.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"caption\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<caption\n  data-slot=\"table-caption\"\n  class={cn(\"text-muted-foreground mt-4 text-sm\", className)}\n  {...props}\n>\n  <slot />\n</caption>\n",
      "type": "registry:ui"
    },
    {
      "path": "src/components/ui/table/table-cell.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"td\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<td\n  data-slot=\"table-cell\"\n  class={cn(\n    \"p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0\",\n    className\n  )}\n  {...props}\n>\n  <slot />\n</td>\n",
      "type": "registry:ui"
    },
    {
      "path": "src/components/ui/table/table-footer.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"tfoot\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<tfoot\n  data-slot=\"table-footer\"\n  class={cn(\n    \"bg-muted/50 border-t font-medium [&>tr]:last:border-b-0\",\n    className\n  )}\n  {...props}\n>\n  <slot />\n</tfoot>\n",
      "type": "registry:ui"
    },
    {
      "path": "src/components/ui/table/table-head.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"th\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<th\n  data-slot=\"table-head\"\n  class={cn(\n    \"text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0\",\n    className\n  )}\n  {...props}\n>\n  <slot />\n</th>\n",
      "type": "registry:ui"
    },
    {
      "path": "src/components/ui/table/table-header.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"thead\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<thead\n  data-slot=\"table-header\"\n  class={cn(\"[&_tr]:border-b\", className)}\n  {...props}\n>\n  <slot />\n</thead>\n",
      "type": "registry:ui"
    },
    {
      "path": "src/components/ui/table/table-row.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"tr\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<tr\n  data-slot=\"table-row\"\n  class={cn(\n    \"hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors\",\n    className\n  )}\n  {...props}\n>\n  <slot />\n</tr>\n",
      "type": "registry:ui"
    },
    {
      "path": "src/components/ui/table/index.ts",
      "content": "export { default as Table } from \"./table.astro\"\nexport { default as TableHeader } from \"./table-header.astro\"\nexport { default as TableBody } from \"./table-body.astro\"\nexport { default as TableFooter } from \"./table-footer.astro\"\nexport { default as TableRow } from \"./table-row.astro\"\nexport { default as TableHead } from \"./table-head.astro\"\nexport { default as TableCell } from \"./table-cell.astro\"\nexport { default as TableCaption } from \"./table-caption.astro\"\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}