{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The end of the checkout form: the consent checkbox, the submit button and the legal line.",
  "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-submit.json\n    The end of the checkout form: the consent checkbox, the submit button and the legal line.\n    Props (p): id, consent, submit, legal. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_consent = (p.consent ?? null) -%}\n{%- set v_submit = (p.submit ?? null) -%}\n{%- set v_legal = (p.legal ?? null) -%}\n{%- set c_5 -%}\n  {%- set c_2 -%}\n    {{ include('compose/Checkbox.html.twig', {'name': 'consent', 'attrs': og_attrs(['id', og_tpl('{0}-consent', [v_id])])}, with_context = false) }}\n    {%- set c_1 -%}\n      {{ og_text(v_consent) }}\n    {%- endset -%}\n    {{ include('compose/Label.html.twig', {'htmlFor': og_s(og_tpl('{0}-consent', [v_id])), 'class': 'text-sm', 'children': c_1}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Group.html.twig', {'gap': '2', 'align': 'center', 'class': og_s(og_cnv(['w-fit', ''])), 'children': c_2}, with_context = false) }}\n  {%- set c_3 -%}\n    {{ og_text(v_submit) }}\n  {%- endset -%}\n  {{ include('compose/Button.html.twig', {'variant': 'default', 'size': 'lg', 'type': 'submit', 'children': c_3}, with_context = false) }}\n  {%- set c_4 -%}\n    {{ og_text(v_legal) }}\n  {%- endset -%}\n  {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_4}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'start', 'attrs': og_attrs(['data-slot', 'checkout-submit']), 'children': c_5}, with_context = false) }}\n",
      "path": "blocks/checkout-submit.html.twig",
      "target": "blocks/checkout-submit.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "checkout-submit",
  "registryDependencies": [
    "button",
    "checkbox",
    "group",
    "label",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Checkout Submit",
  "type": "registry:component"
}
