{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The placeholder content of DashboardShell: the page heading beside a grey action, then empty cards on the 8px grid. Shapes: grid (four small cards over a big one), split (a wide card beside a narrow one over a low one), list (a toolbar over a card of rows). The cards are hidden f",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/**\n * The placeholder content of DashboardShell: the page heading beside a grey action, then empty cards on the 8px\n * grid. Shapes: grid (four small cards over a big one), split (a wide card beside a narrow one over a low one),\n * list (a toolbar over a card of rows). The cards are hidden from assistive technology.\n */\nimport { type JSX } from \"solid-js\";\nimport { Box, Group, Stack, Title } from \"../compose\";\nimport { cn } from \"../utils\";\n\nexport type ShellContentProps = {\n  title: string;\n  titleId: string;\n  level?: 1 | 2;\n  content?: \"grid\" | \"split\" | \"list\";\n};\n\nexport function ShellContent({ title, titleId, level = 2, content = \"grid\" }: ShellContentProps) {\n  return (\n    <Stack gap=\"6\" align=\"stretch\" class=\"flex-1 p-6\" data-slot=\"content\">\n      <Group gap=\"4\" align=\"center\" justify=\"between\">\n        <Title as={level} size=\"2xl\" weight=\"semibold\" id={titleId}>\n          {title}\n        </Title>\n        <Box class=\"h-10 w-32 rounded bg-muted\" aria-hidden=\"true\" />\n      </Group>\n      <Box class=\"flex flex-1 flex-col gap-4\" aria-hidden=\"true\" data-slot=\"panels\">\n        {((content as string) === \"grid\") ? (\n          <>\n            <Box class=\"grid grid-cols-2 gap-4 lg:grid-cols-4\">\n              <Box\n                class={cn(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-24\")}\n                data-slot=\"panel\"\n              >\n                <Box class={cn(\"rounded bg-muted\", \"h-4 w-1/3\")} />\n                <Box class={cn(\"rounded bg-muted\", \"flex-1\")} />\n              </Box>\n              <Box\n                class={cn(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-24\")}\n                data-slot=\"panel\"\n              >\n                <Box class={cn(\"rounded bg-muted\", \"h-4 w-1/3\")} />\n                <Box class={cn(\"rounded bg-muted\", \"flex-1\")} />\n              </Box>\n              <Box\n                class={cn(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-24\")}\n                data-slot=\"panel\"\n              >\n                <Box class={cn(\"rounded bg-muted\", \"h-4 w-1/3\")} />\n                <Box class={cn(\"rounded bg-muted\", \"flex-1\")} />\n              </Box>\n              <Box\n                class={cn(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-24\")}\n                data-slot=\"panel\"\n              >\n                <Box class={cn(\"rounded bg-muted\", \"h-4 w-1/3\")} />\n                <Box class={cn(\"rounded bg-muted\", \"flex-1\")} />\n              </Box>\n            </Box>\n            <Box\n              class={cn(\n                \"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\",\n                \"min-h-64 flex-1\"\n              )}\n              data-slot=\"panel\"\n            >\n              <Box class={cn(\"rounded bg-muted\", \"h-4 w-1/3\")} />\n              <Box class={cn(\"rounded bg-muted\", \"flex-1\")} />\n            </Box>\n          </>\n        ) : null}\n        {((content as string) === \"split\") ? (\n          <>\n            <Box class=\"grid grid-cols-1 gap-4 lg:grid-cols-3\">\n              <Box\n                class={cn(\n                  \"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\",\n                  \"h-64 lg:col-span-2\"\n                )}\n                data-slot=\"panel\"\n              >\n                <Box class={cn(\"rounded bg-muted\", \"h-4 w-1/3\")} />\n                <Box class={cn(\"rounded bg-muted\", \"flex-1\")} />\n              </Box>\n              <Box\n                class={cn(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-64\")}\n                data-slot=\"panel\"\n              >\n                <Box class={cn(\"rounded bg-muted\", \"h-4 w-1/3\")} />\n                <Box class={cn(\"rounded bg-muted\", \"flex-1\")} />\n              </Box>\n            </Box>\n            <Box\n              class={cn(\n                \"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\",\n                \"min-h-40 flex-1\"\n              )}\n              data-slot=\"panel\"\n            >\n              <Box class={cn(\"rounded bg-muted\", \"h-4 w-1/3\")} />\n              <Box class={cn(\"rounded bg-muted\", \"flex-1\")} />\n            </Box>\n          </>\n        ) : null}\n        {((content as string) === \"list\") ? (\n          <>\n            <Group gap=\"4\" align=\"center\">\n              <Box class={cn(\"rounded bg-muted\", \"h-10 w-64\")} />\n              <Box class={cn(\"rounded bg-muted\", \"h-10 w-24\")} />\n              <Box class={cn(\"rounded bg-muted\", \"ml-auto h-10 w-32\")} />\n            </Group>\n            <Box\n              class={cn(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"flex-1\")}\n              data-slot=\"panel\"\n            >\n              <Box class={cn(\"rounded bg-muted\", \"h-8\")} />\n              <Box class={cn(\"rounded bg-muted\", \"h-8\")} />\n              <Box class={cn(\"rounded bg-muted\", \"h-8\")} />\n              <Box class={cn(\"rounded bg-muted\", \"h-8\")} />\n              <Box class={cn(\"rounded bg-muted\", \"h-8\")} />\n              <Box class={cn(\"rounded bg-muted\", \"h-8\")} />\n            </Box>\n          </>\n        ) : null}\n      </Box>\n    </Stack>\n  );\n}\n",
      "path": "components/shell-content.tsx",
      "target": "components/shell-content.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "solid",
      "component"
    ]
  },
  "name": "shell-content",
  "registryDependencies": [
    "compose",
    "utils"
  ],
  "runtime": "solid",
  "title": "Shell Content",
  "type": "registry:component"
}
