{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Panel component",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->\n<!--\n  A titled card (surface bg-card, hairline ring): the content panel of a page. An optional title, description\n  and header actions. Pass `id` to name the panel by its title. Not a landmark: a labelled group inside the\n  Block of its block (rule 01).\n-->\n<script lang=\"ts\">\nexport type PanelProps = {\n  title?: string;\n  description?: string;\n  id?: string;\n  class?: string;\n};\n</script>\n\n<script setup lang=\"ts\">\nimport Box from \"../compose/Box.vue\";\nimport Text from \"../compose/Text.vue\";\nimport Title from \"../compose/Title.vue\";\nimport { cn, tpl } from \"../utils\";\n\nconst { title, description, id, class: className } = defineProps<PanelProps>();\ndefineSlots<{ default?(): unknown, actions?(): unknown }>();\n</script>\n\n<template>\n  <Box\n    :class=\"cn(\n      'flex min-w-0 flex-col gap-4 rounded bg-card p-6 inset-ring inset-ring-border',\n      className\n    )\"\n    role=\"group\"\n    :aria-labelledby=\"((title && id) ? tpl('{0}-t', id) : undefined)\"\n  >\n    <Box v-if=\"(title || $slots.actions)\" class=\"flex items-start justify-between gap-4\">\n      <Box class=\"flex min-w-0 flex-col gap-2\">\n        <Title v-if=\"title\" :as=\"2\" size=\"base\" class=\"m-0 text-foreground\" :id=\"(id ? tpl('{0}-t', id) : undefined)\">\n          {{ title }}\n        </Title>\n        <Text v-if=\"description\" class=\"m-0 text-xs font-medium text-muted-foreground\">\n          {{ description }}\n        </Text>\n      </Box>\n      <slot name=\"actions\" />\n    </Box>\n    <slot />\n  </Box>\n</template>\n",
      "path": "components/panel.vue",
      "target": "components/panel.vue"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "vue",
      "component"
    ]
  },
  "name": "panel",
  "registryDependencies": [
    "box",
    "text",
    "title",
    "utils"
  ],
  "runtime": "vue",
  "title": "Panel",
  "type": "registry:component"
}
