{
  "$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 = og_def(p['s'], none) -%}\n{%- set v_index = og_def(p['index'], none) -%}\n{%- set v_total = og_def(p['total'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set c_8 -%}\n  {%- set c_3 -%}\n    {%- set c_1 -%}\n      {{ og_text(og_get(v_s, ['date'])) }}\n    {%- endset -%}\n    {{ og_include('compose/badge.html.j2', {'p': {'Variant': 'secondary', 'Size': 'sm'}, 'children': c_1}) }}\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    {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_2}) }}\n  {%- endset -%}\n  {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center'}, 'children': c_3}) }}\n  {%- set c_4 -%}\n    {{ og_text(og_get(v_s, ['title'])) }}\n  {%- endset -%}\n  {{ og_include('compose/title.html.j2', {'p': {'As': 3, 'Size': 'xl', 'Weight': 'semibold'}, 'children': c_4}) }}\n  {%- set c_5 -%}\n    {{ og_text(og_get(v_s, ['text'])) }}\n  {%- endset -%}\n  {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_5}) }}\n  {%- set c_7 -%}\n    {%- set c_6 -%}\n      {{ og_text(og_get(v_s, ['tag'])) }}\n    {%- endset -%}\n    {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Weight': 'semibold'}, 'children': c_6}) }}\n  {%- endset -%}\n  {{ og_include('compose/box.html.j2', {'p': {'Class': 'rounded bg-muted p-4'}, 'children': c_7}) }}\n{%- endset -%}\n{{ og_include('compose/stack.html.j2', {'p': {'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}) }}\n",
      "path": "blocks/story-panel.html.j2",
      "target": "blocks/story-panel.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "story-panel",
  "registryDependencies": [
    "badge",
    "box",
    "group",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Story Panel",
  "type": "registry:component"
}
