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