{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Payment Options component",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n\nexport type Payment = {\n  id: string;\n  title: string;\n  text: string;\n  icon: string;\n};\n",
      "path": "components/payment-options.types.ts",
      "target": "components/payment-options.types.ts"
    },
    {
      "content": "<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->\n<!-- Ways to pay as radio cards: icon, name and a line of text; `checked` is the chosen one. Static markup. -->\n<script lang=\"ts\">\nimport type { Payment } from \"./payment-options.types\";\n\nexport type PaymentOptionsProps = {\n  payments: Payment[];\n  name: string;\n  checked?: string;\n};\n</script>\n\n<script setup lang=\"ts\">\nimport Grid from \"../compose/Grid.vue\";\nimport Inline from \"../compose/Inline.vue\";\nimport Label from \"../compose/Label.vue\";\nimport LucideIcon from \"../icons/LucideIcon.vue\";\nimport Radio from \"../compose/Radio.vue\";\n\nconst { payments, name, checked = \"\" } = defineProps<PaymentOptionsProps>();\n</script>\n\n<template>\n  <Grid cols=\"1-2\" class=\"gap-4\" data-slot=\"payments\">\n    <Label v-for=\"p in payments\" :key=\"p.id\"\n      :class=\"'flex items-center gap-4 rounded p-4 inset-ring inset-ring-border has-checked:inset-ring-foreground'\"\n      data-slot=\"payment\"\n    >\n      <Radio :name=\"name\" :value=\"p.id\" :checked=\"(p.id === checked)\" />\n      <LucideIcon :name=\"p.icon\" :size=\"20\" class=\"shrink-0\" />\n      <Inline class=\"flex flex-col items-start justify-start gap-0\">\n        <Inline class=\"text-sm font-semibold\">\n          {{ p.title }}\n        </Inline>\n        <Inline class=\"text-xs text-muted-foreground\">\n          {{ p.text }}\n        </Inline>\n      </Inline>\n    </Label>\n  </Grid>\n</template>\n",
      "path": "components/payment-options.vue",
      "target": "components/payment-options.vue"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "vue",
      "component"
    ]
  },
  "name": "payment-options",
  "registryDependencies": [
    "grid",
    "inline",
    "label",
    "lucide-icon",
    "radio",
    "utils"
  ],
  "runtime": "vue",
  "title": "Payment Options",
  "type": "registry:component"
}
