{
  "$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 = og_def(p['id'], none) -%}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_level = og_def(p['level'], 2) -%}\n{%- set v_nav = og_def(p['nav'], none) -%}\n{%- set v_topbar = og_def(p['topbar'], 'full') -%}\n{%- set v_search = og_def(p['search'], 'show') -%}\n{%- set v_sidebar = og_def(p['sidebar'], 'wide') -%}\n{%- set v_side = og_def(p['side'], 'start') -%}\n{%- set v_footer = og_def(p['footer'], 'none') -%}\n{%- set v_content = og_def(p['content'], 'grid') -%}\n{%- set v_frame = og_def(p['frame'], 'window') -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\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        {{ og_include('blocks/shell-topbar.html.j2', {'p': {'nav': v_nav, 'links': ('show' if og_t(og_eq(v_sidebar, 'none')) else 'hide'), 'search': v_search, 'landmarkLabel': v_landmarkLabel}}) }}\n      {%- endif %}\n      {%- set c_2 -%}\n        {%- if og_t(not (og_eq(v_sidebar, 'none'))) %}\n          {{ og_include('blocks/shell-sidebar.html.j2', {'p': {'nav': v_nav, 'mode': v_sidebar, 'side': v_side, 'brand': ('hide' if og_t(og_eq(v_topbar, 'full')) else 'show'), 'landmarkLabel': v_landmarkLabel}}) }}\n        {%- endif %}\n        {%- set c_1 -%}\n          {%- if og_t(og_eq(v_topbar, 'inset')) %}\n            {{ og_include('blocks/shell-topbar.html.j2', {'p': {'nav': v_nav, 'brand': ('show' if og_t(og_eq(v_sidebar, 'none')) else 'hide'), 'links': ('show' if og_t(og_eq(v_sidebar, 'none')) else 'hide'), 'search': v_search, 'landmarkLabel': v_landmarkLabel}}) }}\n          {%- endif %}\n          {{ og_include('blocks/shell-content.html.j2', {'p': {'title': v_title, 'titleId': v_titleId, 'level': v_level, 'content': v_content}}) }}\n          {%- if og_t(og_eq(v_footer, 'inset')) %}\n            {{ og_include('blocks/shell-footer.html.j2', {'p': {'nav': v_nav, 'place': 'inset', 'landmarkLabel': v_landmarkLabel}}) }}\n          {%- endif %}\n        {%- endset -%}\n        {{ og_include('compose/box.html.j2', {'p': {'Class': 'flex min-w-0 flex-1 flex-col'}, 'children': c_1}) }}\n      {%- endset -%}\n      {{ og_include('compose/box.html.j2', {'p': {'Class': og_s(og_cnv(['flex min-h-0 flex-1', ('flex-row-reverse' if og_t(og_eq(v_side, 'end')) else '')]))}, 'children': c_2}) }}\n      {%- if og_t(og_eq(v_footer, 'full')) %}\n        {{ og_include('blocks/shell-footer.html.j2', {'p': {'nav': v_nav, 'landmarkLabel': v_landmarkLabel}}) }}\n      {%- endif %}\n    {%- endset -%}\n    {{ og_include('compose/box.html.j2', {'p': {'Class': og_s(og_cnv(['flex flex-col overflow-hidden bg-background', ('min-h-160 rounded border border-border' if og_t(og_eq(v_frame, 'window')) else 'min-h-screen')])), 'Attrs': og_attrs(['data-slot', 'window'])}, 'children': c_3}) }}\n  {%- endset -%}\n  {{ og_include('compose/box.html.j2', {'p': {'Class': og_s(('mx-auto w-full max-w-6xl px-4' if og_t(og_eq(v_frame, 'window')) else ''))}, 'children': c_4}) }}\n{%- endset -%}\n{{ og_include('compose/block.html.j2', {'p': {'Tag': 'section', 'Class': og_s(('bg-background py-12' if og_t(og_eq(v_frame, 'window')) else 'bg-background')), 'Attrs': og_attrs(['id', v_id, 'aria-labelledby', (none if og_t(v_landmarkLabel) else 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}) }}\n",
      "path": "blocks/dashboard-shell.html.j2",
      "target": "blocks/dashboard-shell.html.j2"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "layout",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "dashboard-shell",
  "registryDependencies": [
    "block",
    "box",
    "shell-content",
    "shell-footer",
    "shell-sidebar",
    "shell-topbar",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Dashboard Shell",
  "type": "registry:block"
}
