{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Checkout Step 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<!--\n  One step of a long form: an optional number, a heading (h2) and a line of text over the fields (`children`).\n  Axes: layout (cards: the step in a card, numbered: a number beside the heading and a line between steps).\n-->\n<script lang=\"ts\">\nexport type CheckoutStepProps = {\n  number: string;\n  title: string;\n  text?: string;\n  layout?: \"cards\" | \"numbered\";\n};\n</script>\n\n<script setup lang=\"ts\">\nimport Box from \"../compose/Box.vue\";\nimport Group from \"../compose/Group.vue\";\nimport Stack from \"../compose/Stack.vue\";\nimport Text from \"../compose/Text.vue\";\nimport Title from \"../compose/Title.vue\";\n\nconst { number, title, text = \"\", layout = \"cards\" } = defineProps<CheckoutStepProps>();\ndefineSlots<{ default?(): unknown }>();\n</script>\n\n<template>\n  <Stack\n    gap=\"6\"\n    align=\"stretch\"\n    :class=\"\n      (layout as string) === 'cards' ? 'rounded bg-card inset-ring inset-ring-border p-6'\n      : 'border-t border-border pt-6'\n    \"\n    data-slot=\"step\"\n  >\n    <Group gap=\"4\" align=\"start\">\n      <Box\n        v-if=\"((layout as string) === 'numbered')\"\n        :class=\"'flex size-8 shrink-0 items-center justify-center rounded bg-primary text-sm font-medium text-primary-foreground'\"\n      >\n        {{ number }}\n      </Box>\n      <Stack gap=\"0\">\n        <Title :as=\"2\" size=\"lg\" weight=\"semibold\">\n          {{ title }}\n        </Title>\n        <Text v-if=\"text\" size=\"sm\" class=\"text-muted-foreground\">\n          {{ text }}\n        </Text>\n      </Stack>\n    </Group>\n    <slot />\n  </Stack>\n</template>\n",
      "path": "components/checkout-step.vue",
      "target": "components/checkout-step.vue"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "vue",
      "component"
    ]
  },
  "name": "checkout-step",
  "registryDependencies": [
    "box",
    "group",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "vue",
  "title": "Checkout Step",
  "type": "registry:component"
}
