{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Compare Mark 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 cell value of ComparisonTable: yes shows a check, no a dash (both with the hidden word for screen\n  readers), any other value is shown as text.\n-->\n<script lang=\"ts\">\nexport type CompareMarkProps = {\n  value: string;\n  yes: string;\n  no: string;\n};\n</script>\n\n<script setup lang=\"ts\">\nimport Inline from \"../compose/Inline.vue\";\nimport LucideIcon from \"../icons/LucideIcon.vue\";\n\nconst { value, yes, no } = defineProps<CompareMarkProps>();\n</script>\n\n<template>\n  <Inline\n    v-if=\"((value as string) === 'yes')\"\n    class=\"inline-flex items-center gap-2\"\n    data-mark=\"yes\"\n    data-slot=\"compare-mark\"\n  >\n    <LucideIcon name=\"check\" :size=\"16\" class=\"text-foreground\" />\n    <Inline class=\"sr-only\">\n      {{ yes }}\n    </Inline>\n  </Inline>\n  <Inline\n    v-if=\"((value as string) === 'no')\"\n    class=\"inline-flex items-center gap-2 text-muted-foreground\"\n    data-mark=\"no\"\n    data-slot=\"compare-mark\"\n  >\n    <LucideIcon name=\"minus\" :size=\"16\" />\n    <Inline class=\"sr-only\">\n      {{ no }}\n    </Inline>\n  </Inline>\n  <Inline v-if=\"(((value as string) !== 'yes') && ((value as string) !== 'no'))\" data-slot=\"compare-mark\">\n    {{ value }}\n  </Inline>\n</template>\n",
      "path": "components/compare-mark.vue",
      "target": "components/compare-mark.vue"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "vue",
      "component"
    ]
  },
  "name": "compare-mark",
  "registryDependencies": [
    "inline",
    "lucide-icon",
    "utils"
  ],
  "runtime": "vue",
  "title": "Compare Mark",
  "type": "registry:component"
}
