{
  "$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\">\nexport type ShellContentProps = {\n  title: string;\n  titleId: string;\n  level?: 1 | 2;\n  content?: \"grid\" | \"split\" | \"list\";\n};\n</script>\n\n<script setup lang=\"ts\">\nimport Box from \"../compose/Box.vue\";\nimport Group from \"../compose/Group.vue\";\nimport Stack from \"../compose/Stack.vue\";\nimport Title from \"../compose/Title.vue\";\nimport { cn } from \"../utils\";\n\nconst { title, titleId, level = 2, content = \"grid\" } = defineProps<ShellContentProps>();\n</script>\n\n<template>\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      <template v-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      </template>\n      <template v-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      </template>\n      <template v-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      </template>\n    </Box>\n  </Stack>\n</template>\n",
      "path": "components/shell-content.vue",
      "target": "components/shell-content.vue"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "vue",
      "component"
    ]
  },
  "name": "shell-content",
  "registryDependencies": [
    "box",
    "group",
    "stack",
    "title",
    "utils"
  ],
  "runtime": "vue",
  "title": "Shell Content",
  "type": "registry:component"
}
