{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A list with nothing in it, with an optional action.",
  "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/empty-panel.json\n    An empty list or an empty search: a round icon, a title, a hint and an optional action, in a card or plain. Axes: layout (card, plain), actions (button, none), size (default, compact).\n    Props (p): id, title, text, icon, cta, ctaHref, layout, actions, visual, size, image, imageAlt, landmarkLabel. -#}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_text = og_def(p['text'], none) -%}\n{%- set v_icon = og_def(p['icon'], 'inbox') -%}\n{%- set v_cta = og_def(p['cta'], none) -%}\n{%- set v_ctaHref = og_def(p['ctaHref'], none) -%}\n{%- set v_layout = og_def(p['layout'], 'card') -%}\n{%- set v_actions = og_def(p['actions'], 'button') -%}\n{%- set v_visual = og_def(p['visual'], 'icon') -%}\n{%- set v_size = og_def(p['size'], 'default') -%}\n{%- set v_image = og_def(p['image'], none) -%}\n{%- set v_imageAlt = og_def(p['imageAlt'], none) -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set c_8 -%}\n  {%- set c_7 -%}\n    {%- if og_t(og_eq(v_visual, 'image')) %}\n      {%- set c_4 -%}\n        {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': (v_imageAlt if og_t(v_imageAlt) else v_title), 'src': v_image, 'ratio': '4/3', 'className': og_cnv(['w-full max-w-xs'])}}) }}\n        {%- set c_1 -%}\n          {{ og_text(v_title) }}\n        {%- endset -%}\n        {{ og_include('compose/title.html.j2', {'p': {'As': 2, 'Size': '2xl', 'Weight': 'bold'}, 'children': c_1}) }}\n        {%- set c_2 -%}\n          {{ og_text(v_text) }}\n        {%- endset -%}\n        {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_2}) }}\n        {%- if og_t(og_eq(v_actions, 'button')) %}\n          {%- set c_3 -%}\n            {{ og_text(v_cta) }}\n          {%- endset -%}\n          {{ og_include('compose/button.html.j2', {'p': {'Variant': 'default', 'Size': 'sm', 'Href': og_url(og_s(v_ctaHref))}, 'children': c_3}) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ og_include('compose/stack.html.j2', {'p': {'Gap': '4', 'Align': 'center', 'Class': 'mx-auto max-w-md text-center', 'Attrs': og_attrs(['data-slot', 'empty-visual'])}, 'children': c_4}) }}\n    {%- else %}\n      {%- set f_5 -%}\n        {%- if og_t(og_eq(v_actions, 'button')) %}\n          {%- set c_6 -%}\n            {{ og_text(v_cta) }}\n          {%- endset -%}\n          {{ og_include('compose/button.html.j2', {'p': {'Variant': 'default', 'Size': 'sm', 'Href': og_url(og_s(v_ctaHref))}, 'children': c_6}) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ og_include('blocks/empty-state.html.j2', {'p': {'icon': v_icon, 'title': v_title, 'text': v_text, 'className': og_cnv([og_cnv(['mx-auto max-w-xl', ('bg-transparent inset-ring-0' if og_t(og_eq(v_layout, 'plain')) else ''), ('py-6' if og_t(og_eq(v_size, 'compact')) else '')])]), 'action': og_markup(f_5)}}) }}\n    {%- endif %}\n  {%- endset -%}\n  {{ og_include('compose/container.html.j2', {'p': {'Class': og_s(og_cnv(['mx-auto w-full max-w-6xl px-4', ('py-4' if og_t(og_eq(v_size, 'compact')) else 'py-8')])), 'Attrs': og_attrs(['data-slot', 'container'])}, 'children': c_7}) }}\n{%- endset -%}\n{{ og_include('compose/block.html.j2', {'p': {'Tag': 'section', 'Attrs': og_attrs(['aria-label', og_coalesce([v_landmarkLabel, v_title]), 'data-slot', 'empty'])}, 'children': c_8}) }}\n",
      "path": "blocks/empty-panel.html.j2",
      "target": "blocks/empty-panel.html.j2"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "states",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "empty-panel",
  "registryDependencies": [
    "block",
    "button",
    "container",
    "empty-state",
    "media-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Empty Panel",
  "type": "registry:block"
}
