{
  "$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{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_level = (p.level ?? 2) -%}\n{%- set v_nav = (p.nav ?? null) -%}\n{%- set v_topbar = (p.topbar ?? 'full') -%}\n{%- set v_search = (p.search ?? 'show') -%}\n{%- set v_sidebar = (p.sidebar ?? 'wide') -%}\n{%- set v_side = (p.side ?? 'start') -%}\n{%- set v_footer = (p.footer ?? 'none') -%}\n{%- set v_content = (p.content ?? 'grid') -%}\n{%- set v_frame = (p.frame ?? 'window') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set v_titleId = og_tpl('{0}-title', [v_id]) -%}\n{%- set c_5 -%}\n  {%- set c_4 -%}\n    {%- set c_3 -%}\n      {%- if og_t(og_eq(v_topbar, 'full')) %}\n        {{ include('blocks/shell-topbar.html.twig', {'p': {'nav': v_nav, 'links': (og_t(og_eq(v_sidebar, 'none')) ? 'show' : 'hide'), 'search': v_search, 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n      {%- endif %}\n      {%- set c_2 -%}\n        {%- if og_t(not (og_eq(v_sidebar, 'none'))) %}\n          {{ include('blocks/shell-sidebar.html.twig', {'p': {'nav': v_nav, 'mode': v_sidebar, 'side': v_side, 'brand': (og_t(og_eq(v_topbar, 'full')) ? 'hide' : 'show'), 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n        {%- endif %}\n        {%- set c_1 -%}\n          {%- if og_t(og_eq(v_topbar, 'inset')) %}\n            {{ include('blocks/shell-topbar.html.twig', {'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}}, with_context = false) }}\n          {%- endif %}\n          {{ include('blocks/shell-content.html.twig', {'p': {'title': v_title, 'titleId': v_titleId, 'level': v_level, 'content': v_content}}, with_context = false) }}\n          {%- if og_t(og_eq(v_footer, 'inset')) %}\n            {{ include('blocks/shell-footer.html.twig', {'p': {'nav': v_nav, 'place': 'inset', 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n          {%- endif %}\n        {%- endset -%}\n        {{ include('compose/Box.html.twig', {'class': 'flex min-w-0 flex-1 flex-col', 'children': c_1}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Box.html.twig', {'class': og_s(og_cnv(['flex min-h-0 flex-1', (og_t(og_eq(v_side, 'end')) ? 'flex-row-reverse' : '')])), 'children': c_2}, with_context = false) }}\n      {%- if og_t(og_eq(v_footer, 'full')) %}\n        {{ include('blocks/shell-footer.html.twig', {'p': {'nav': v_nav, 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n      {%- endif %}\n    {%- endset -%}\n    {{ include('compose/Box.html.twig', {'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': c_3}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Box.html.twig', {'class': og_s((og_t(og_eq(v_frame, 'window')) ? 'mx-auto w-full max-w-6xl px-4' : '')), 'children': c_4}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Block.html.twig', {'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': c_5}, with_context = false) }}\n",
      "path": "blocks/dashboard-shell.html.twig",
      "target": "blocks/dashboard-shell.html.twig"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "layout",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "dashboard-shell",
  "registryDependencies": [
    "block",
    "box",
    "shell-content",
    "shell-footer",
    "shell-sidebar",
    "shell-topbar",
    "utils"
  ],
  "runtime": "twig",
  "title": "Dashboard Shell",
  "type": "registry:block"
}
