{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Twelve frames of a signed-in app around empty cards: a top bar across the shell or over the content, with or without search; a wide, rail, collapsed, two-level or no sidebar, at the start or the end; a footer across the shell, under the content or none.",
  "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/dashboard-shell.json\n    The frame of a signed-in app around placeholder content. Axes: topbar (full: across the whole shell, inset: over the content column only, none), search (show, hide: the search field of the top bar), sidebar (wide, rail, collapsed: the static collapsed state, twolevel: a rail and a section panel, none: the top bar carries the links), side (start, end), footer (full, inset, none), content (grid, split, list), frame (window: a framed window in a section, page: the whole page). Collapsing the sidebar is a port contract.\n    Props (p): id, title, level, nav, topbar, search, sidebar, side, footer, content, frame, landmarkLabel. *}\n{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_level = ($p['level'] ?? 2)}\n{var $v_nav = ($p['nav'] ?? null)}\n{var $v_topbar = ($p['topbar'] ?? 'full')}\n{var $v_search = ($p['search'] ?? 'show')}\n{var $v_sidebar = ($p['sidebar'] ?? 'wide')}\n{var $v_side = ($p['side'] ?? 'start')}\n{var $v_footer = ($p['footer'] ?? 'none')}\n{var $v_content = ($p['content'] ?? 'grid')}\n{var $v_frame = ($p['frame'] ?? 'window')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{var $v_titleId = og_tpl('{0}-title', [$v_id])}\n{capture $c_5}\n  {capture $c_4}\n    {capture $c_3}\n      {if og_t(og_eq($v_topbar, 'full'))}\n        {=og_include('blocks/shell-topbar.latte', ['p' => ['nav' => $v_nav, 'links' => (og_t(og_eq($v_sidebar, 'none')) ? 'show' : 'hide'), 'search' => $v_search, 'landmarkLabel' => $v_landmarkLabel]])|noescape}\n      {/if}\n      {capture $c_2}\n        {if og_t(!(og_eq($v_sidebar, 'none')))}\n          {=og_include('blocks/shell-sidebar.latte', ['p' => ['nav' => $v_nav, 'mode' => $v_sidebar, 'side' => $v_side, 'brand' => (og_t(og_eq($v_topbar, 'full')) ? 'hide' : 'show'), 'landmarkLabel' => $v_landmarkLabel]])|noescape}\n        {/if}\n        {capture $c_1}\n          {if og_t(og_eq($v_topbar, 'inset'))}\n            {=og_include('blocks/shell-topbar.latte', ['p' => ['nav' => $v_nav, 'brand' => (og_t(og_eq($v_sidebar, 'none')) ? 'show' : 'hide'), 'links' => (og_t(og_eq($v_sidebar, 'none')) ? 'show' : 'hide'), 'search' => $v_search, 'landmarkLabel' => $v_landmarkLabel]])|noescape}\n          {/if}\n          {=og_include('blocks/shell-content.latte', ['p' => ['title' => $v_title, 'titleId' => $v_titleId, 'level' => $v_level, 'content' => $v_content]])|noescape}\n          {if og_t(og_eq($v_footer, 'inset'))}\n            {=og_include('blocks/shell-footer.latte', ['p' => ['nav' => $v_nav, 'place' => 'inset', 'landmarkLabel' => $v_landmarkLabel]])|noescape}\n          {/if}\n        {/capture}\n        {=og_include('compose/Box.latte', ['class' => 'flex min-w-0 flex-1 flex-col', 'children' => (string) $c_1])|noescape}\n      {/capture}\n      {=og_include('compose/Box.latte', ['class' => og_s(og_cnv(['flex min-h-0 flex-1', (og_t(og_eq($v_side, 'end')) ? 'flex-row-reverse' : '')])), 'children' => (string) $c_2])|noescape}\n      {if og_t(og_eq($v_footer, 'full'))}\n        {=og_include('blocks/shell-footer.latte', ['p' => ['nav' => $v_nav, 'landmarkLabel' => $v_landmarkLabel]])|noescape}\n      {/if}\n    {/capture}\n    {=og_include('compose/Box.latte', ['class' => og_s(og_cnv(['flex flex-col overflow-hidden bg-background', (og_t(og_eq($v_frame, 'window')) ? 'min-h-160 rounded border border-border' : 'min-h-screen')])), 'attrs' => og_attrs(['data-slot', 'window']), 'children' => (string) $c_3])|noescape}\n  {/capture}\n  {=og_include('compose/Box.latte', ['class' => og_s((og_t(og_eq($v_frame, 'window')) ? 'mx-auto w-full max-w-6xl px-4' : '')), 'children' => (string) $c_4])|noescape}\n{/capture}\n{=og_include('compose/Block.latte', ['tag' => 'section', 'class' => og_s((og_t(og_eq($v_frame, 'window')) ? 'bg-background py-12' : 'bg-background')), 'attrs' => og_attrs(['id', $v_id, 'aria-labelledby', (og_t($v_landmarkLabel) ? null : $v_titleId), 'data-topbar', $v_topbar, 'data-sidebar', $v_sidebar, 'data-footer', $v_footer, 'aria-label', $v_landmarkLabel, 'data-slot', 'dashboard-shell']), 'children' => (string) $c_5])|noescape}\n",
      "path": "blocks/dashboard-shell.latte",
      "target": "blocks/dashboard-shell.latte"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "layout",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "dashboard-shell",
  "registryDependencies": [
    "block",
    "box",
    "shell-content",
    "shell-footer",
    "shell-sidebar",
    "shell-topbar",
    "utils"
  ],
  "runtime": "latte",
  "title": "Dashboard Shell",
  "type": "registry:block"
}
