{
  "$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 = og_def(p['number'], none) -%}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_text = og_def(p['text'], '') -%}\n{%- set v_layout = og_def(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      {{ og_include('compose/box.html.j2', {'p': {'Class': 'flex size-8 shrink-0 items-center justify-center rounded bg-primary text-sm font-medium text-primary-foreground'}, 'children': c_1}) }}\n    {%- endif %}\n    {%- set c_4 -%}\n      {%- set c_2 -%}\n        {{ og_text(v_title) }}\n      {%- endset -%}\n      {{ og_include('compose/title.html.j2', {'p': {'As': 2, 'Size': 'lg', 'Weight': 'semibold'}, 'children': c_2}) }}\n      {%- if og_t(v_text) %}\n        {%- set c_3 -%}\n          {{ og_text(v_text) }}\n        {%- endset -%}\n        {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_3}) }}\n      {%- endif %}\n    {%- endset -%}\n    {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0'}, 'children': c_4}) }}\n  {%- endset -%}\n  {{ og_include('compose/group.html.j2', {'p': {'Gap': '4', 'Align': 'start'}, 'children': c_5}) }}\n  {{ og_slot(og_def(children, none))|safe }}\n{%- endset -%}\n{{ og_include('compose/stack.html.j2', {'p': {'Gap': '6', 'Align': 'stretch', 'Class': og_s(('rounded bg-card inset-ring inset-ring-border p-6' if og_t(og_eq(v_layout, 'cards')) else 'border-t border-border pt-6')), 'Attrs': og_attrs(['data-slot', 'step'])}, 'children': c_6}) }}\n",
      "path": "blocks/checkout-step.html.j2",
      "target": "blocks/checkout-step.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "checkout-step",
  "registryDependencies": [
    "box",
    "group",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Checkout Step",
  "type": "registry:component"
}
