{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "SheetTrigger: Button + Lucide icons (data-ui8kit=\"sheet-trigger\" behaviour).",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by packages/kit-compose/src/build.ts from src/map.ts + variants/. DO NOT EDIT.\n    SheetTrigger: Button + Lucide icons. Props (p): Variant, Size, Controls, AriaLabel, Class, Attrs. -#}\n{%- set a = {'data-ui8kit': 'sheet-trigger', 'aria-expanded': 'false', 'aria-haspopup': 'dialog', 'aria-label': p['AriaLabel'] or 'Open menu'} %}\n{%- if p['Controls'] %}{%- set _ = a.update({'aria-controls': p['Controls']}) %}{%- endif %}\n{%- set _ = a.update(p['Attrs'] or {}) %}\n{%- set icons %}{% with p = {'Class': 'block size-5 in-aria-expanded:hidden'}, children = '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 12h16\"></path><path d=\"M4 6h16\"></path><path d=\"M4 18h16\"></path></svg>'|safe %}{% include 'ui/icon/icon.html.j2' %}{% endwith %}{% with p = {'Class': 'hidden size-5 in-aria-expanded:block'}, children = '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M18 6 6 18\"></path><path d=\"m6 6 12 12\"></path></svg>'|safe %}{% include 'ui/icon/icon.html.j2' %}{% endwith %}{% endset %}\n{%- with p = {'Type': 'button', 'Class': compose_join([compose_rc('sheettrigger', {'variant': p['Variant'], 'size': p['Size']}), p['Class']]), 'Attrs': a}, children = icons %}{% include 'ui/button/button.html.j2' %}{% endwith %}",
      "path": "compose/sheet-trigger.html.j2",
      "target": "compose/sheet-trigger.html.j2"
    }
  ],
  "meta": {
    "category": "primitives",
    "kind": "primitive",
    "tags": [
      "jinja2",
      "primitive"
    ]
  },
  "name": "sheet-trigger",
  "registryDependencies": [
    "kit-button",
    "kit-icon",
    "recipes",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Sheet Trigger",
  "type": "registry:ui"
}
