{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The topics of MediaList as card rows: a glyph tile, the name, the count and an arrow.",
  "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/media-topics.json\n    The topics of MediaList as card rows: a glyph tile, the name, the count and an arrow.\n    Props (p): extras, labels. -#}\n{%- set v_extras = og_def(p['extras'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set c_7 -%}\n  {%- set c_1 -%}\n    {{ og_text(og_get(v_labels, ['list'])) }}\n  {%- endset -%}\n  {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Weight': 'semibold'}, 'children': c_1}) }}\n  {%- for v_c in og_l(og_get(v_extras, ['topics'])) %}\n    {%- set v_i = loop.index0 -%}\n    {%- if og_t(og_lt(v_i, 5)) %}\n      {%- set c_6 -%}\n        {%- set c_2 -%}\n          {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': og_s(og_get(v_c, ['icon'])), 'Size': 16}}) }}\n        {%- endset -%}\n        {{ og_include('compose/inline.html.j2', {'p': {'Class': 'flex size-8 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground'}, 'children': c_2}) }}\n        {%- set c_5 -%}\n          {%- set c_3 -%}\n            {{ og_text(og_get(v_c, ['name'])) }}\n          {%- endset -%}\n          {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Weight': 'semibold'}, 'children': c_3}) }}\n          {%- set c_4 -%}\n            {{ og_text(og_tpl(og_get(v_labels, ['count']), [og_get(v_c, ['count'])])) }}\n          {%- endset -%}\n          {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_4}) }}\n        {%- endset -%}\n        {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0', 'Class': 'min-w-0 flex-1'}, 'children': c_5}) }}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'arrow-right', 'Size': 16}}) }}\n      {%- endset -%}\n      {{ og_include('blocks/menu-entry.html.j2', {'p': {'href': og_get(v_c, ['href']), 'className': og_cnv(['rounded bg-card inset-ring inset-ring-border flex w-full items-center gap-4 p-4']), 'variant': 'block', 'testid': 'media-topic', 'block': true}, 'children': og_markup(c_6)}) }}\n    {%- endif %}\n  {%- endfor %}\n{%- endset -%}\n{{ og_include('compose/stack.html.j2', {'p': {'Gap': '4', 'Align': 'stretch', 'Attrs': og_attrs(['data-slot', 'media-topics'])}, 'children': c_7}) }}\n",
      "path": "blocks/media-topics.html.j2",
      "target": "blocks/media-topics.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "media-topics",
  "registryDependencies": [
    "inline",
    "lucide-icon",
    "menu-entry",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Media Topics",
  "type": "registry:component"
}
