{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "empty-state",
  "type": "registry:item",
  "title": "Empty State",
  "description": "What a list or page shows when there's nothing in it yet: a heading that says what's missing, a line on what it's for, and the action that fills it. Turns an empty screen into a next step.",
  "dependencies": [
    "@zubra/runtime@^5.13.1"
  ],
  "categories": [
    "data"
  ],
  "registryDependencies": [
    "https://zubra-js.github.io/zubra-ui/r/theme.json"
  ],
  "files": [
    {
      "path": "components/empty-state.js",
      "type": "registry:file",
      "target": "~/src/components/zubra/empty-state.js",
      "content": "// Generated by zubra from empty-state.zb. Do not edit.\nimport { $define, $r, $t } from \"@zubra/runtime\";\nimport { hasSlot } from '@zubra/runtime';\n\nexport const tag = \"empty-state\";\n\nexport default $define(tag, {\n  props: {\n    \"heading\": { attribute: \"heading\", default: \"Nothing here yet\", required: false },\n  },\n  abi: 3,\n  shadow: false,\n  form: false,\n  slots: [\"actions\", \"default\", \"heading\", \"icon\"],\n  events: [],\n  styled: true,\n  styles: \"@layer theme, base, components, utilities;\\n@layer components {\\n@scope (empty-state) to ([data-zb-slotted=\\\"empty-state\\\"]) {\\n  :scope { display: block; }\\n  .empty { display: grid; justify-items: center; gap: 0.6rem; padding: 2.5rem 1.5rem; border: 1px dashed var(--border, #e4e4e7); border-radius: var(--radius, 0.625rem); text-align: center; }\\n  .empty-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: calc(var(--radius, 0.625rem) * 1.2); background: var(--muted, #f4f4f5); color: color-mix(in oklab, var(--muted-foreground, #71717a) 75%, var(--foreground, #18181b)); }\\n  .empty-default { width: 1.4rem; height: 1.1rem; border: 2px solid currentColor; border-radius: 0.25rem; box-shadow: inset 0 0.35rem 0 -0.15rem currentColor; }\\n  h3 { margin: 0.25rem 0 0; font-size: 1.05rem; }\\n  .empty-text { max-width: 32ch; color: color-mix(in oklab, var(--muted-foreground, #71717a) 75%, var(--foreground, #18181b)); }\\n  .empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.4rem; }\\n}\\n}\\n\",\n  template: \"\\n  <div class=\\\"empty\\\">\\n    <div class=\\\"empty-icon\\\" aria-hidden=\\\"true\\\"><!--[--><!--]--></div>\\n    <h3><!--[--><!--]--></h3>\\n    <div class=\\\"empty-text\\\"><!--[--><!--]--></div>\\n    <!--[--><!--]-->\\n  </div>\\n\",\n  setup($p, $emit) {\n                                          \n\n  const actions = hasSlot('actions')\n    return [\n      { path: [0, 0, 0], slot: \"icon\", fallback: { template: \"<span class=\\\"empty-default\\\"></span>\", parts: () => [] } },\n      { path: [0, 1, 0], slot: \"heading\", fallback: { template: \"<!---->\", parts: () => [{ path: [0], anchor: () => $t($p.heading) }] } },\n      { path: [0, 2, 0], slot: \"default\", fallback: null },\n      { path: [0, 3], when: () => $r(actions), blocks: [{ template: \"<div class=\\\"empty-actions\\\"><!--[--><!--]--></div>\", parts: () => [{ path: [0, 0], slot: \"actions\", fallback: null }] }, null] },\n    ];\n  },\n});\n"
    }
  ]
}
