{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The panel of the active step of StoryTabs: the year badge and the step count, the title, the text and the tag in a muted box.",
  "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/story-panel.json\n    The panel of the active step of StoryTabs: the year badge and the step count, the title, the text and the tag in a muted box.\n    Props (p): s, index, total, labels. -#}\n{%- set v_s = (p.s ?? null) -%}\n{%- set v_index = (p.index ?? null) -%}\n{%- set v_total = (p.total ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set c_8 -%}\n  {%- set c_3 -%}\n    {%- set c_1 -%}\n      {{ og_text(og_get(v_s, ['date'])) }}\n    {%- endset -%}\n    {{ include('compose/Badge.html.twig', {'variant': 'secondary', 'size': 'sm', 'children': c_1}, with_context = false) }}\n    {%- set c_2 -%}\n      {{ og_text(og_tpl(og_get(v_labels, ['step']), [og_str(og_add(v_index, 1)), og_str(v_total)])) }}\n    {%- endset -%}\n    {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Group.html.twig', {'gap': '2', 'align': 'center', 'children': c_3}, with_context = false) }}\n  {%- set c_4 -%}\n    {{ og_text(og_get(v_s, ['title'])) }}\n  {%- endset -%}\n  {{ include('compose/Title.html.twig', {'as': 3, 'size': 'xl', 'weight': 'semibold', 'children': c_4}, with_context = false) }}\n  {%- set c_5 -%}\n    {{ og_text(og_get(v_s, ['text'])) }}\n  {%- endset -%}\n  {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_5}, with_context = false) }}\n  {%- set c_7 -%}\n    {%- set c_6 -%}\n      {{ og_text(og_get(v_s, ['tag'])) }}\n    {%- endset -%}\n    {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_6}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Box.html.twig', {'class': 'rounded bg-muted p-4', 'children': c_7}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'stretch', 'class': 'rounded bg-card inset-ring inset-ring-border p-6', 'attrs': og_attrs(['data-slot', 'story-panel']), 'children': c_8}, with_context = false) }}\n",
      "path": "blocks/story-panel.html.twig",
      "target": "blocks/story-panel.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "story-panel",
  "registryDependencies": [
    "badge",
    "box",
    "group",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Story Panel",
  "type": "registry:component"
}
