{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The \"N selected\" bar of a list: a count, a clear button and the bulk actions (children). All text comes in through props.",
  "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/parts/bulk-bar.json\n    The \"N selected\" bar of a list: a count, a clear button and the bulk actions (children). All text comes in through props.\n    Props (p): label, clearLabel, className; children: markup. -#}\n{%- set v_label = (p.label ?? null) -%}\n{%- set v_clearLabel = (p.clearLabel ?? null) -%}\n{%- set c_4 -%}\n  {%- set c_1 -%}\n    {{ include('icons/LucideIcon.html.twig', {'name': 'x', 'size': 16}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Button.html.twig', {'variant': 'ghost', 'size': 'sm', 'layout': 'icon', 'type': 'button', 'ariaLabel': og_s(v_clearLabel), 'class': 'text-background hover:bg-background/15 hover:text-background', 'children': c_1}, with_context = false) }}\n  {%- set c_2 -%}\n    {{ og_text(v_label) }}\n  {%- endset -%}\n  {{ include('compose/Inline.html.twig', {'attrs': og_attrs(['data-slot', 'bulk-count']), 'children': c_2}, with_context = false) }}\n  {%- set c_3 -%}\n    {{ og_slot((children ?? null))|raw }}\n  {%- endset -%}\n  {{ include('compose/Inline.html.twig', {'class': 'ml-auto flex flex-wrap items-center gap-2', 'children': c_3}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Box.html.twig', {'class': og_s(og_cnv(['flex flex-wrap items-center gap-2 rounded bg-foreground px-4 py-2 text-xs font-bold text-background', (p.className ?? '')])), 'attrs': og_attrs(['role', 'region', 'aria-label', v_label, 'aria-live', 'polite', 'data-slot', 'bulk-bar']), 'children': c_4}, with_context = false) }}\n",
      "path": "blocks/bulk-bar.html.twig",
      "target": "blocks/bulk-bar.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "bulk-bar",
  "registryDependencies": [
    "box",
    "button",
    "inline",
    "lucide-icon",
    "utils"
  ],
  "runtime": "twig",
  "title": "Bulk Bar",
  "type": "registry:component"
}
