{
  "$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/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n// Source: packages/compose-gen/specs/organisms/shell-content.json\n\npackage blocks\n\nimport (\n\t\"github.com/ui8kit/codegen/generated/templ/ui/box\"\n\t\"github.com/ui8kit/codegen/generated/templ/compose\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/text\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// ShellContentProps are the props of ShellContent; the values are the JSON shapes of the TypeScript props.\ntype ShellContentProps struct {\n\tTitle any `json:\"title\"`\n\tTitleId any `json:\"titleId\"`\n\tLevel any `json:\"level\"`\n\tContent any `json:\"content\"`\n}\n\n// 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 from assistive technology.\ntempl ShellContent(p ShellContentProps) {\n\t{{ vTitle := p.Title }}\n\t{{ vTitleId := p.TitleId }}\n\t{{ vLevel := uiutils.Def(p.Level, float64(2)) }}\n\t{{ vContent := uiutils.Def(p.Content, \"grid\") }}\n\t@compose.Stack(compose.StackProps{Gap: \"6\", Align: \"stretch\", BoxProps: box.BoxProps{Class: \"flex-1 p-6\", Attrs: uiutils.Attrs(\"data-slot\", \"content\")}}) {\n\t\t@compose.Group(compose.GroupProps{Gap: \"4\", Align: \"center\", Justify: \"between\", BoxProps: box.BoxProps{}}) {\n\t\t\t@compose.Title(compose.TitleProps{As: uiutils.S(vLevel), Size: \"2xl\", Weight: \"semibold\", TextProps: text.TextProps{Attrs: uiutils.Attrs(\"id\", vTitleId)}}) {\n\t\t\t\t{ uiutils.Text(vTitle) }\n\t\t\t}\n\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: \"h-10 w-32 rounded bg-muted\", Attrs: uiutils.Attrs(\"aria-hidden\", \"true\")}})\n\t\t}\n\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: \"flex flex-1 flex-col gap-4\", Attrs: uiutils.Attrs(\"aria-hidden\", \"true\", \"data-slot\", \"panels\")}}) {\n\t\t\tif uiutils.Eq(vContent, \"grid\") {\n\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: \"grid grid-cols-2 gap-4 lg:grid-cols-4\"}}) {\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-24\")), Attrs: uiutils.Attrs(\"data-slot\", \"panel\")}}) {\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-4 w-1/3\"))}})\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"flex-1\"))}})\n\t\t\t\t\t}\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-24\")), Attrs: uiutils.Attrs(\"data-slot\", \"panel\")}}) {\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-4 w-1/3\"))}})\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"flex-1\"))}})\n\t\t\t\t\t}\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-24\")), Attrs: uiutils.Attrs(\"data-slot\", \"panel\")}}) {\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-4 w-1/3\"))}})\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"flex-1\"))}})\n\t\t\t\t\t}\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-24\")), Attrs: uiutils.Attrs(\"data-slot\", \"panel\")}}) {\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-4 w-1/3\"))}})\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"flex-1\"))}})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"min-h-64 flex-1\")), Attrs: uiutils.Attrs(\"data-slot\", \"panel\")}}) {\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-4 w-1/3\"))}})\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"flex-1\"))}})\n\t\t\t\t}\n\t\t\t}\n\t\t\tif uiutils.Eq(vContent, \"split\") {\n\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: \"grid grid-cols-1 gap-4 lg:grid-cols-3\"}}) {\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-64 lg:col-span-2\")), Attrs: uiutils.Attrs(\"data-slot\", \"panel\")}}) {\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-4 w-1/3\"))}})\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"flex-1\"))}})\n\t\t\t\t\t}\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"h-64\")), Attrs: uiutils.Attrs(\"data-slot\", \"panel\")}}) {\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-4 w-1/3\"))}})\n\t\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"flex-1\"))}})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"min-h-40 flex-1\")), Attrs: uiutils.Attrs(\"data-slot\", \"panel\")}}) {\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-4 w-1/3\"))}})\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"flex-1\"))}})\n\t\t\t\t}\n\t\t\t}\n\t\t\tif uiutils.Eq(vContent, \"list\") {\n\t\t\t\t@compose.Group(compose.GroupProps{Gap: \"4\", Align: \"center\", BoxProps: box.BoxProps{}}) {\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-10 w-64\"))}})\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-10 w-24\"))}})\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"ml-auto h-10 w-32\"))}})\n\t\t\t\t}\n\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex flex-col gap-4 rounded bg-card p-4 inset-ring inset-ring-border\", \"flex-1\")), Attrs: uiutils.Attrs(\"data-slot\", \"panel\")}}) {\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-8\"))}})\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-8\"))}})\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-8\"))}})\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-8\"))}})\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-8\"))}})\n\t\t\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"rounded bg-muted\", \"h-8\"))}})\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n",
      "path": "blocks/shell-content.templ",
      "target": "blocks/shell-content.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "shell-content",
  "registryDependencies": [
    "box",
    "group",
    "kit-box",
    "kit-text",
    "stack",
    "title",
    "utils"
  ],
  "runtime": "templ",
  "title": "Shell Content",
  "type": "registry:component"
}
