{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Shell Content component",
  "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-->\n<script lang=\"ts\" module>\n  import type { Snippet } from \"svelte\";\n\n  export type ShellContentProps = {\n    title: string;\n    titleId: string;\n    level?: 1 | 2;\n    content?: \"grid\" | \"split\" | \"list\";\n  };\n</script>\n\n<script lang=\"ts\">\n  import Box from \"../compose/Box.svelte\";\n  import Group from \"../compose/Group.svelte\";\n  import Stack from \"../compose/Stack.svelte\";\n  import Title from \"../compose/Title.svelte\";\n  import { cn } from \"../utils\";\n\n  let { title, titleId, level = 2, content = \"grid\" }: ShellContentProps = $props();\n</script>\n\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    {#if ((content as string) === \"grid\")}\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    {/if}\n    {#if ((content as string) === \"split\")}\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    {/if}\n    {#if ((content as string) === \"list\")}\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    {/if}\n  </Box>\n</Stack>\n",
      "path": "components/shell-content.svelte",
      "target": "components/shell-content.svelte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "svelte",
      "component"
    ]
  },
  "name": "shell-content",
  "registryDependencies": [
    "box",
    "group",
    "stack",
    "title",
    "utils"
  ],
  "runtime": "svelte",
  "title": "Shell Content",
  "type": "registry:component"
}
