{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Features as a list of disclosures, the first one open, with an optional picture.",
  "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/feature-accordion.json\n    Features as a list of disclosures: icon and title in the summary, the text when open. Axes: expand (first: the first one is open, none: all closed), media (none, image: a picture beside the list), tone, density.\n    Props (p): id, title, features, empty, expand, media, multiple, tone, density, image, imageAlt, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_features = (p.features ?? null) -%}\n{%- set v_empty = (p.empty ?? '') -%}\n{%- set v_expand = (p.expand ?? 'first') -%}\n{%- set v_media = (p.media ?? 'none') -%}\n{%- set v_multiple = (p.multiple ?? false) -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_image = (p.image ?? null) -%}\n{%- set v_imageAlt = (p.imageAlt ?? null) -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set f_7 -%}\n  {{ include('blocks/media-frame.html.twig', {'p': {'alt': (og_t(v_imageAlt) ? v_imageAlt : v_title), 'src': v_image, 'ratio': '4/3'}}, with_context = false) }}\n{%- endset -%}\n{%- set c_8 -%}\n  {%- if og_t(og_eq(og_len(v_features), 0)) %}\n    {{ include('blocks/empty-state.html.twig', {'p': {'icon': 'layout-grid', 'title': v_empty}}, with_context = false) }}\n  {%- else %}\n    {%- set c_6 -%}\n      {%- for v_f in og_l(v_features) %}\n        {%- set v_i = loop.index0 -%}\n        {%- set c_5 -%}\n          {%- set c_3 -%}\n            {%- set c_2 -%}\n              {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_f, ['icon'])), 'size': 20}, with_context = false) }}\n              {%- set c_1 -%}\n                {{ og_text(og_get(v_f, ['title'])) }}\n              {%- endset -%}\n              {{ include('compose/Inline.html.twig', {'class': 'text-base font-semibold', 'children': c_1}, with_context = false) }}\n            {%- endset -%}\n            {{ include('compose/Inline.html.twig', {'class': 'flex min-w-0 items-center justify-start gap-4', 'children': c_2}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Summary.html.twig', {'variant': 'item', 'children': c_3}, with_context = false) }}\n          {%- set c_4 -%}\n            {{ og_text(og_get(v_f, ['text'])) }}\n          {%- endset -%}\n          {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'pb-4 text-muted-foreground', 'children': c_4}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Disclosure.html.twig', {'variant': 'item', 'name': og_s((og_t(v_multiple) ? null : og_tpl('{0}-accordion', [og_coalesce([v_id, 'accordion'])]))), 'open': og_t(og_and([og_eq(v_expand, 'first'), og_eq(v_i, 0)])), 'attrs': og_attrs(['data-slot', 'item']), 'children': c_5}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Stack.html.twig', {'gap': '0', 'align': 'stretch', 'attrs': og_attrs(['data-slot', 'items']), 'children': c_6}, with_context = false) }}\n  {%- endif %}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'layout': (og_t(og_eq(v_media, 'image')) ? 'split' : 'stack'), 'media': {'show': og_eq(v_media, 'image')}, 'landmarkLabel': v_landmarkLabel, 'aside': og_markup(f_7)}, 'children': og_markup(c_8)}, with_context = false) }}\n",
      "path": "blocks/feature-accordion.html.twig",
      "target": "blocks/feature-accordion.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "feature-accordion",
  "registryDependencies": [
    "disclosure",
    "empty-state",
    "inline",
    "lucide-icon",
    "media-frame",
    "section-frame",
    "stack",
    "summary",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Feature Accordion",
  "type": "registry:block"
}
