{
  "$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{var $v_photos = ($p['photos'] ?? null)}\n{var $v_labels = ($p['labels'] ?? null)}\n{var $v_captions = ($p['captions'] ?? 'show')}\n{var $v_lightbox = ($p['lightbox'] ?? 'closed')}\n{capture $c_10}\n  {capture $c_3}\n    {capture $c_1}\n      {=og_text(og_first_of($v_photos, 'title'))}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_1])|noescape}\n    {capture $c_2}\n      {=og_include('icons/LucideIcon.latte', ['name' => 'x', 'size' => 16])|noescape}\n    {/capture}\n    {=og_include('compose/Button.latte', ['variant' => 'ghost', 'size' => 'sm', 'layout' => 'icon', 'type' => 'button', 'ariaLabel' => og_s(og_get($v_labels, ['close'])), 'children' => (string) $c_2])|noescape}\n  {/capture}\n  {=og_include('compose/Group.latte', ['gap' => '2', 'align' => 'center', 'justify' => 'between', 'children' => (string) $c_3])|noescape}\n  {=og_include('blocks/media-frame.latte', ['p' => ['alt' => og_first_of($v_photos, 'title'), 'src' => og_first_of($v_photos, 'image'), 'ratio' => '4/3']])|noescape}\n  {if og_t(og_eq($v_captions, 'show'))}\n    {capture $c_4}\n      {=og_text(og_first_of($v_photos, 'tag'))}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_4])|noescape}\n  {/if}\n  {capture $c_9}\n    {capture $c_5}\n      {=og_text(og_tpl(og_get($v_labels, ['counter']), [1, og_len($v_photos)]))}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_5])|noescape}\n    {capture $c_8}\n      {capture $c_6}\n        {=og_include('icons/LucideIcon.latte', ['name' => 'chevron-left', 'size' => 16])|noescape}\n      {/capture}\n      {=og_include('compose/Button.latte', ['variant' => 'outline', 'size' => 'sm', 'layout' => 'icon', 'type' => 'button', 'ariaLabel' => og_s(og_get($v_labels, ['previous'])), 'children' => (string) $c_6])|noescape}\n      {capture $c_7}\n        {=og_include('icons/LucideIcon.latte', ['name' => 'chevron-right', 'size' => 16])|noescape}\n      {/capture}\n      {=og_include('compose/Button.latte', ['variant' => 'outline', 'size' => 'sm', 'layout' => 'icon', 'type' => 'button', 'ariaLabel' => og_s(og_get($v_labels, ['next'])), 'children' => (string) $c_7])|noescape}\n    {/capture}\n    {=og_include('compose/Group.latte', ['gap' => '2', 'children' => (string) $c_8])|noescape}\n  {/capture}\n  {=og_include('compose/Group.latte', ['gap' => '2', 'align' => 'center', 'justify' => 'between', 'children' => (string) $c_9])|noescape}\n{/capture}\n{=og_include('compose/Dialog.latte', ['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' => (string) $c_10])|noescape}\n",
      "path": "blocks/lightbox-stage.latte",
      "target": "blocks/lightbox-stage.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "lightbox-stage",
  "registryDependencies": [
    "button",
    "dialog",
    "group",
    "lucide-icon",
    "media-frame",
    "text",
    "utils"
  ],
  "runtime": "latte",
  "title": "Lightbox Stage",
  "type": "registry:component"
}
