{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The selected photo in a dialog: title, close, picture, optional caption and previous/next. Static open state. Used by LightboxGallery.",
  "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/organisms/lightbox-stage.json\n    The selected photo in a dialog: title, close, picture, optional caption and previous/next. Static open state. Used by LightboxGallery.\n    Props (p): photos, labels, captions, lightbox. -#}\n{%- set v_photos = og_def(p['photos'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set v_captions = og_def(p['captions'], 'show') -%}\n{%- set v_lightbox = og_def(p['lightbox'], 'closed') -%}\n{%- set c_10 -%}\n  {%- set c_3 -%}\n    {%- set c_1 -%}\n      {{ og_text(og_first_of(v_photos, 'title')) }}\n    {%- endset -%}\n    {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Weight': 'semibold'}, 'children': c_1}) }}\n    {%- set c_2 -%}\n      {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'x', 'Size': 16}}) }}\n    {%- endset -%}\n    {{ og_include('compose/button.html.j2', {'p': {'Variant': 'ghost', 'Size': 'sm', 'Layout': 'icon', 'Type': 'button', 'AriaLabel': og_s(og_get(v_labels, ['close']))}, 'children': c_2}) }}\n  {%- endset -%}\n  {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center', 'Justify': 'between'}, 'children': c_3}) }}\n  {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': og_first_of(v_photos, 'title'), 'src': og_first_of(v_photos, 'image'), 'ratio': '4/3'}}) }}\n  {%- if og_t(og_eq(v_captions, 'show')) %}\n    {%- set c_4 -%}\n      {{ og_text(og_first_of(v_photos, 'tag')) }}\n    {%- endset -%}\n    {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_4}) }}\n  {%- endif %}\n  {%- set c_9 -%}\n    {%- set c_5 -%}\n      {{ og_text(og_tpl(og_get(v_labels, ['counter']), [1, og_len(v_photos)])) }}\n    {%- endset -%}\n    {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_5}) }}\n    {%- set c_8 -%}\n      {%- set c_6 -%}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'chevron-left', 'Size': 16}}) }}\n      {%- endset -%}\n      {{ og_include('compose/button.html.j2', {'p': {'Variant': 'outline', 'Size': 'sm', 'Layout': 'icon', 'Type': 'button', 'AriaLabel': og_s(og_get(v_labels, ['previous']))}, 'children': c_6}) }}\n      {%- set c_7 -%}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'chevron-right', 'Size': 16}}) }}\n      {%- endset -%}\n      {{ og_include('compose/button.html.j2', {'p': {'Variant': 'outline', 'Size': 'sm', 'Layout': 'icon', 'Type': 'button', 'AriaLabel': og_s(og_get(v_labels, ['next']))}, 'children': c_7}) }}\n    {%- endset -%}\n    {{ og_include('compose/group.html.j2', {'p': {'Gap': '2'}, 'children': c_8}) }}\n  {%- endset -%}\n  {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center', 'Justify': 'between'}, 'children': c_9}) }}\n{%- endset -%}\n{{ og_include('compose/dialog.html.j2', {'p': {'Open': og_t(og_eq(v_lightbox, 'open')), 'Size': 'xl', 'AriaLabel': og_s(og_first_of(v_photos, 'title')), 'Class': 'gap-4 p-4', 'Attrs': og_attrs(['data-slot', 'lightbox'])}, 'children': c_10}) }}\n",
      "path": "blocks/lightbox-stage.html.j2",
      "target": "blocks/lightbox-stage.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "lightbox-stage",
  "registryDependencies": [
    "button",
    "dialog",
    "group",
    "lucide-icon",
    "media-frame",
    "text",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Lightbox Stage",
  "type": "registry:component"
}
