{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Bulk Bar 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  The \"N selected\" bar of a list: a count, a clear button and the bulk actions (children). All text comes in\n  through props.\n-->\n<script lang=\"ts\">\nexport type BulkBarProps = {\n  label: string;\n  clearLabel: string;\n  class?: string;\n};\n</script>\n\n<script setup lang=\"ts\">\nimport Box from \"../compose/Box.vue\";\nimport Button from \"../compose/Button.vue\";\nimport Inline from \"../compose/Inline.vue\";\nimport LucideIcon from \"../icons/LucideIcon.vue\";\nimport { cn } from \"../utils\";\n\nconst { label, clearLabel, class: className } = defineProps<BulkBarProps>();\nconst emit = defineEmits<{ clear: [] }>();\ndefineSlots<{ default?(): unknown }>();\n</script>\n\n<template>\n  <Box\n    :class=\"cn(\n      'flex flex-wrap items-center gap-2 rounded bg-foreground px-4 py-2 text-xs font-bold text-background',\n      className\n    )\"\n    role=\"region\"\n    :aria-label=\"label\"\n    aria-live=\"polite\"\n    data-slot=\"bulk-bar\"\n  >\n    <Button\n      variant=\"ghost\"\n      size=\"sm\"\n      layout=\"icon\"\n      type=\"button\"\n      :aria-label=\"clearLabel\"\n      class=\"text-background hover:bg-background/15 hover:text-background\"\n      @click=\"() => emit('clear')\"\n    >\n      <LucideIcon name=\"x\" :size=\"16\" />\n    </Button>\n    <Inline data-slot=\"bulk-count\">\n      {{ label }}\n    </Inline>\n    <Inline class=\"ml-auto flex flex-wrap items-center gap-2\">\n      <slot />\n    </Inline>\n  </Box>\n</template>\n",
      "path": "components/bulk-bar.vue",
      "target": "components/bulk-bar.vue"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "vue",
      "component"
    ]
  },
  "name": "bulk-bar",
  "registryDependencies": [
    "box",
    "button",
    "inline",
    "lucide-icon",
    "utils"
  ],
  "runtime": "vue",
  "title": "Bulk Bar",
  "type": "registry:component"
}
