{
  "$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 = (p.title ?? null) -%}\n{%- set v_text = (p.text ?? null) -%}\n{%- set v_icon = (p.icon ?? 'inbox') -%}\n{%- set v_cta = (p.cta ?? null) -%}\n{%- set v_ctaHref = (p.ctaHref ?? null) -%}\n{%- set v_layout = (p.layout ?? 'card') -%}\n{%- set v_actions = (p.actions ?? 'button') -%}\n{%- set v_visual = (p.visual ?? 'icon') -%}\n{%- set v_size = (p.size ?? 'default') -%}\n{%- set v_image = (p.image ?? null) -%}\n{%- set v_imageAlt = (p.imageAlt ?? null) -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_8 -%}\n  {%- set c_7 -%}\n    {%- if og_t(og_eq(v_visual, 'image')) %}\n      {%- set c_4 -%}\n        {{ include('blocks/media-frame.html.twig', {'p': {'alt': (og_t(v_imageAlt) ? v_imageAlt : v_title), 'src': v_image, 'ratio': '4/3', 'className': og_cnv(['w-full max-w-xs'])}}, with_context = false) }}\n        {%- set c_1 -%}\n          {{ og_text(v_title) }}\n        {%- endset -%}\n        {{ include('compose/Title.html.twig', {'as': 2, 'size': '2xl', 'weight': 'bold', 'children': c_1}, with_context = false) }}\n        {%- set c_2 -%}\n          {{ og_text(v_text) }}\n        {%- endset -%}\n        {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}\n        {%- if og_t(og_eq(v_actions, 'button')) %}\n          {%- set c_3 -%}\n            {{ og_text(v_cta) }}\n          {%- endset -%}\n          {{ include('compose/Button.html.twig', {'variant': 'default', 'size': 'sm', 'href': og_url(og_s(v_ctaHref)), 'children': c_3}, with_context = false) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'center', 'class': 'mx-auto max-w-md text-center', 'attrs': og_attrs(['data-slot', 'empty-visual']), 'children': c_4}, with_context = false) }}\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          {{ include('compose/Button.html.twig', {'variant': 'default', 'size': 'sm', 'href': og_url(og_s(v_ctaHref)), 'children': c_6}, with_context = false) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ include('blocks/empty-state.html.twig', {'p': {'icon': v_icon, 'title': v_title, 'text': v_text, 'className': og_cnv([og_cnv(['mx-auto max-w-xl', (og_t(og_eq(v_layout, 'plain')) ? 'bg-transparent inset-ring-0' : ''), (og_t(og_eq(v_size, 'compact')) ? 'py-6' : '')])]), 'action': og_markup(f_5)}}, with_context = false) }}\n    {%- endif %}\n  {%- endset -%}\n  {{ include('compose/Container.html.twig', {'class': og_s(og_cnv(['mx-auto w-full max-w-6xl px-4', (og_t(og_eq(v_size, 'compact')) ? 'py-4' : 'py-8')])), 'attrs': og_attrs(['data-slot', 'container']), 'children': c_7}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Block.html.twig', {'tag': 'section', 'attrs': og_attrs(['aria-label', og_coalesce([v_landmarkLabel, v_title]), 'data-slot', 'empty']), 'children': c_8}, with_context = false) }}\n",
      "path": "blocks/empty-panel.html.twig",
      "target": "blocks/empty-panel.html.twig"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "states",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "empty-panel",
  "registryDependencies": [
    "block",
    "button",
    "container",
    "empty-state",
    "media-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Empty Panel",
  "type": "registry:block"
}
