{
  "$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{var $v_s = ($p['s'] ?? null)}\n{var $v_index = ($p['index'] ?? null)}\n{var $v_total = ($p['total'] ?? null)}\n{var $v_labels = ($p['labels'] ?? null)}\n{capture $c_8}\n  {capture $c_3}\n    {capture $c_1}\n      {=og_text(og_get($v_s, ['date']))}\n    {/capture}\n    {=og_include('compose/Badge.latte', ['variant' => 'secondary', 'size' => 'sm', 'children' => (string) $c_1])|noescape}\n    {capture $c_2}\n      {=og_text(og_tpl(og_get($v_labels, ['step']), [og_str(og_add($v_index, 1)), og_str($v_total)]))}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}\n  {/capture}\n  {=og_include('compose/Group.latte', ['gap' => '2', 'align' => 'center', 'children' => (string) $c_3])|noescape}\n  {capture $c_4}\n    {=og_text(og_get($v_s, ['title']))}\n  {/capture}\n  {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'xl', 'weight' => 'semibold', 'children' => (string) $c_4])|noescape}\n  {capture $c_5}\n    {=og_text(og_get($v_s, ['text']))}\n  {/capture}\n  {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_5])|noescape}\n  {capture $c_7}\n    {capture $c_6}\n      {=og_text(og_get($v_s, ['tag']))}\n    {/capture}\n    {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_6])|noescape}\n  {/capture}\n  {=og_include('compose/Box.latte', ['class' => 'rounded bg-muted p-4', 'children' => (string) $c_7])|noescape}\n{/capture}\n{=og_include('compose/Stack.latte', ['gap' => '4', 'align' => 'stretch', 'class' => 'rounded bg-card inset-ring inset-ring-border p-6', 'attrs' => og_attrs(['data-slot', 'story-panel']), 'children' => (string) $c_8])|noescape}\n",
      "path": "blocks/story-panel.latte",
      "target": "blocks/story-panel.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "story-panel",
  "registryDependencies": [
    "badge",
    "box",
    "group",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Story Panel",
  "type": "registry:component"
}
