{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "One step of a long form: an optional number, a heading (h2) and a line of text over the fields (`children`). Axes: layout (cards: the step in a card, numbered: a number beside the heading and a line between steps).",
  "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/checkout-step.json\n    One step of a long form: an optional number, a heading (h2) and a line of text over the fields (`children`). Axes: layout (cards: the step in a card, numbered: a number beside the heading and a line between steps).\n    Props (p): number, title, text, layout; children: markup. *}\n{var $v_number = ($p['number'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_text = ($p['text'] ?? '')}\n{var $v_layout = ($p['layout'] ?? 'cards')}\n{capture $c_6}\n  {capture $c_5}\n    {if og_t(og_eq($v_layout, 'numbered'))}\n      {capture $c_1}\n        {=og_text($v_number)}\n      {/capture}\n      {=og_include('compose/Box.latte', ['class' => 'flex size-8 shrink-0 items-center justify-center rounded bg-primary text-sm font-medium text-primary-foreground', 'children' => (string) $c_1])|noescape}\n    {/if}\n    {capture $c_4}\n      {capture $c_2}\n        {=og_text($v_title)}\n      {/capture}\n      {=og_include('compose/Title.latte', ['as' => 2, 'size' => 'lg', 'weight' => 'semibold', 'children' => (string) $c_2])|noescape}\n      {if og_t($v_text)}\n        {capture $c_3}\n          {=og_text($v_text)}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_3])|noescape}\n      {/if}\n    {/capture}\n    {=og_include('compose/Stack.latte', ['gap' => '0', 'children' => (string) $c_4])|noescape}\n  {/capture}\n  {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'start', 'children' => (string) $c_5])|noescape}\n  {=og_slot(($children ?? null))|noescape}\n{/capture}\n{=og_include('compose/Stack.latte', ['gap' => '6', 'align' => 'stretch', 'class' => og_s((og_t(og_eq($v_layout, 'cards')) ? 'rounded bg-card inset-ring inset-ring-border p-6' : 'border-t border-border pt-6')), 'attrs' => og_attrs(['data-slot', 'step']), 'children' => (string) $c_6])|noescape}\n",
      "path": "blocks/checkout-step.latte",
      "target": "blocks/checkout-step.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "checkout-step",
  "registryDependencies": [
    "box",
    "group",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Checkout Step",
  "type": "registry:component"
}
