{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Recent events as a timeline or a list.",
  "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/activity-feed.json\n    A panel with recent events: a timeline with dots on a line, or a list of rows with an icon. Axes: layout (timeline, list), density (default, compact), tone (default, muted).\n    Props (p): id, title, text, events, empty, layout, density, tone, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_text = (p.text ?? null) -%}\n{%- set v_events = (p.events ?? null) -%}\n{%- set v_empty = (p.empty ?? '') -%}\n{%- set v_layout = (p.layout ?? 'timeline') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_9 -%}\n  {%- set c_8 -%}\n    {%- set c_7 -%}\n      {%- if og_t(og_eq(og_len(v_events), 0)) %}\n        {{ include('blocks/empty-state.html.twig', {'p': {'icon': 'activity', 'title': v_empty}}, with_context = false) }}\n      {%- elseif og_t(og_eq(v_layout, 'timeline')) %}\n        {{ include('blocks/timeline.html.twig', {'p': {'items': v_events}}, with_context = false) }}\n      {%- else %}\n        {%- set c_6 -%}\n          {%- for v_e in og_l(v_events) %}\n            {%- set c_5 -%}\n              {%- set c_3 -%}\n                {%- set c_1 -%}\n                  {{ og_text(og_get(v_e, ['title'])) }}\n                {%- endset -%}\n                {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_1}, with_context = false) }}\n                {%- if og_t(og_eq(v_density, 'default')) %}\n                  {%- set c_2 -%}\n                    {{ og_text(og_get(v_e, ['text'])) }}\n                  {%- endset -%}\n                  {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}\n                {%- endif %}\n              {%- endset -%}\n              {{ include('compose/Stack.html.twig', {'gap': '0', 'children': c_3}, with_context = false) }}\n              {%- set c_4 -%}\n                {{ og_text(og_get(v_e, ['time'])) }}\n              {%- endset -%}\n              {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'shrink-0 text-muted-foreground', 'children': c_4}, with_context = false) }}\n            {%- endset -%}\n            {{ include('compose/ListItem.html.twig', {'class': og_s(og_cnv(['flex items-start justify-between gap-4 border-b border-border last:border-0', (og_t(og_eq(v_density, 'compact')) ? 'py-2' : 'py-4')])), 'attrs': og_attrs(['data-slot', 'item']), 'children': c_5}, with_context = false) }}\n          {%- endfor %}\n        {%- endset -%}\n        {{ include('compose/List.html.twig', {'class': 'm-0 flex list-none flex-col p-0', 'attrs': og_attrs(['data-slot', 'items']), 'children': c_6}, with_context = false) }}\n      {%- endif %}\n    {%- endset -%}\n    {{ include('blocks/panel.html.twig', {'p': {'title': v_title, 'description': v_text, 'id': v_id, 'className': og_cnv([(og_t(og_eq(v_tone, 'muted')) ? 'bg-muted' : '')])}, 'children': og_markup(c_7)}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Container.html.twig', {'class': 'mx-auto w-full max-w-6xl px-4 py-8', 'attrs': og_attrs(['data-slot', 'container']), 'children': c_8}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Block.html.twig', {'tag': 'section', 'attrs': og_attrs(['aria-labelledby', (og_t(v_landmarkLabel) ? null : (og_t(og_and([v_title, v_id])) ? og_tpl('{0}-t', [v_id]) : null)), 'aria-label', v_landmarkLabel, 'data-slot', 'panel-section']), 'children': c_9}, with_context = false) }}\n",
      "path": "blocks/activity-feed.html.twig",
      "target": "blocks/activity-feed.html.twig"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "widgets",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "activity-feed",
  "registryDependencies": [
    "block",
    "container",
    "empty-state",
    "list",
    "list-item",
    "panel",
    "stack",
    "text",
    "timeline",
    "utils"
  ],
  "runtime": "twig",
  "title": "Activity Feed",
  "type": "registry:block"
}
