{
  "$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{%- set v_number = (p.number ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_text = (p.text ?? '') -%}\n{%- set v_layout = (p.layout ?? 'cards') -%}\n{%- set c_6 -%}\n  {%- set c_5 -%}\n    {%- if og_t(og_eq(v_layout, 'numbered')) %}\n      {%- set c_1 -%}\n        {{ og_text(v_number) }}\n      {%- endset -%}\n      {{ include('compose/Box.html.twig', {'class': 'flex size-8 shrink-0 items-center justify-center rounded bg-primary text-sm font-medium text-primary-foreground', 'children': c_1}, with_context = false) }}\n    {%- endif %}\n    {%- set c_4 -%}\n      {%- set c_2 -%}\n        {{ og_text(v_title) }}\n      {%- endset -%}\n      {{ include('compose/Title.html.twig', {'as': 2, 'size': 'lg', 'weight': 'semibold', 'children': c_2}, with_context = false) }}\n      {%- if og_t(v_text) %}\n        {%- set c_3 -%}\n          {{ og_text(v_text) }}\n        {%- endset -%}\n        {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_3}, with_context = false) }}\n      {%- endif %}\n    {%- endset -%}\n    {{ include('compose/Stack.html.twig', {'gap': '0', 'children': c_4}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'start', 'children': c_5}, with_context = false) }}\n  {{ og_slot((children ?? null))|raw }}\n{%- endset -%}\n{{ include('compose/Stack.html.twig', {'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': c_6}, with_context = false) }}\n",
      "path": "blocks/checkout-step.html.twig",
      "target": "blocks/checkout-step.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "checkout-step",
  "registryDependencies": [
    "box",
    "group",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Checkout Step",
  "type": "registry:component"
}
