{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A titled card (surface bg-card, hairline ring): the content panel of a page. An optional title, description and header actions. Pass `id` to name the panel by its title. Not a landmark: a labelled group inside the Block of its block (rule 01).",
  "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/parts/panel.json\n    A titled card (surface bg-card, hairline ring): the content panel of a page. An optional title, description and header actions. Pass `id` to name the panel by its title. Not a landmark: a labelled group inside the Block of its block (rule 01).\n    Props (p): title, description, id, className, actions (slot); children: markup. -#}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_description = og_def(p['description'], none) -%}\n{%- set v_id = og_def(p['id'], none) -%}\n{%- set c_5 -%}\n  {%- if og_t(og_or([v_title, (og_def(p['actions'], none) is not none)])) %}\n    {%- set c_4 -%}\n      {%- set c_3 -%}\n        {%- if og_t(v_title) %}\n          {%- set c_1 -%}\n            {{ og_text(v_title) }}\n          {%- endset -%}\n          {{ og_include('compose/title.html.j2', {'p': {'As': 2, 'Size': 'base', 'Class': 'm-0 text-foreground', 'Attrs': og_attrs(['id', (og_tpl('{0}-t', [v_id]) if og_t(v_id) else none)])}, 'children': c_1}) }}\n        {%- endif %}\n        {%- if og_t(v_description) %}\n          {%- set c_2 -%}\n            {{ og_text(v_description) }}\n          {%- endset -%}\n          {{ og_include('compose/text.html.j2', {'p': {'Class': 'm-0 text-xs font-medium text-muted-foreground'}, 'children': c_2}) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ og_include('compose/box.html.j2', {'p': {'Class': 'flex min-w-0 flex-col gap-2'}, 'children': c_3}) }}\n      {{ og_slot(og_def(p['actions'], none))|safe }}\n    {%- endset -%}\n    {{ og_include('compose/box.html.j2', {'p': {'Class': 'flex items-start justify-between gap-4'}, 'children': c_4}) }}\n  {%- endif %}\n  {{ og_slot(og_def(children, none))|safe }}\n{%- endset -%}\n{{ og_include('compose/box.html.j2', {'p': {'Class': og_s(og_cnv(['flex min-w-0 flex-col gap-4 rounded bg-card p-6 inset-ring inset-ring-border', og_def(p['className'], '')])), 'Attrs': og_attrs(['role', 'group', 'aria-labelledby', (og_tpl('{0}-t', [v_id]) if og_t(og_and([v_title, v_id])) else none)])}, 'children': c_5}) }}\n",
      "path": "blocks/panel.html.j2",
      "target": "blocks/panel.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "panel",
  "registryDependencies": [
    "box",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Panel",
  "type": "registry:component"
}
