{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "UI8Kit 3 Disclosure primitive (unstyled), from @ui8kit/registry",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by @ui8kit/codegen. DO NOT EDIT.\n    Disclosure: Disclosure renders a native details element.\n    Props (p): Class (string), Open (bool), Name (string), Attrs (attrs), Children (children).\n    children: TRUSTED HTML printed with |safe — never pass unescaped user input.\n    Classes without rendering: disclosure_classes(p) (no asChild in Jinja2). -#}\n<details\n  {%- with cls = disclosure_classes(p) %}{%- if cls %} class=\"{{ cls }}\"{%- endif %}{%- endwith %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'open') %}{%- if ui_def(p['Open'], false) %} open{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'name') %}{%- if ui_is_set_str(p['Name']) %} name=\"{{ p['Name'] }}\"{%- endif %}{%- endif %}\n  {{ ui_attr_html(ui_def(p['Attrs'], {}), false, ['name']) }}\n>{{ children|default('', true)|safe }}</details>\n",
      "path": "ui/disclosure/disclosure.html.j2",
      "target": "ui/disclosure/disclosure.html.j2"
    },
    {
      "content": "{#- Code generated by @ui8kit/codegen. DO NOT EDIT.\n    Summary: Summary renders the native summary (the disclosure trigger).\n    Props (p): Class (string), Attrs (attrs), Children (children).\n    children: TRUSTED HTML printed with |safe — never pass unescaped user input.\n    Classes without rendering: summary_classes(p) (no asChild in Jinja2). -#}\n<summary\n  {%- with cls = summary_classes(p) %}{%- if cls %} class=\"{{ cls }}\"{%- endif %}{%- endwith %}\n  {{ ui_attr_html(ui_def(p['Attrs'], {})) }}\n>{{ children|default('', true)|safe }}</summary>\n",
      "path": "ui/disclosure/summary.html.j2",
      "target": "ui/disclosure/summary.html.j2"
    }
  ],
  "meta": {
    "category": "kit",
    "kind": "primitive",
    "tags": [
      "jinja2",
      "primitive"
    ]
  },
  "name": "kit-disclosure",
  "registryDependencies": [
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Kit Disclosure",
  "type": "registry:ui"
}
