{
  "$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\" module>\n  import type { Snippet } from \"svelte\";\n\n  export type CompareMarkProps = {\n    value: string;\n    yes: string;\n    no: string;\n  };\n</script>\n\n<script lang=\"ts\">\n  import Inline from \"../compose/Inline.svelte\";\n  import LucideIcon from \"../icons/LucideIcon.svelte\";\n\n  let { value, yes, no }: CompareMarkProps = $props();\n</script>\n\n{#if ((value as string) === \"yes\")}\n  <Inline class=\"inline-flex items-center gap-2\" data-mark=\"yes\" data-slot=\"compare-mark\">\n    <LucideIcon name=\"check\" size={16} class=\"text-foreground\" />\n    <Inline class=\"sr-only\">\n      {yes}\n    </Inline>\n  </Inline>\n{/if}\n{#if ((value as string) === \"no\")}\n  <Inline class=\"inline-flex items-center gap-2 text-muted-foreground\" data-mark=\"no\" data-slot=\"compare-mark\">\n    <LucideIcon name=\"minus\" size={16} />\n    <Inline class=\"sr-only\">\n      {no}\n    </Inline>\n  </Inline>\n{/if}\n{#if (((value as string) !== \"yes\") && ((value as string) !== \"no\"))}\n  <Inline data-slot=\"compare-mark\">\n    {value}\n  </Inline>\n{/if}\n",
      "path": "components/compare-mark.svelte",
      "target": "components/compare-mark.svelte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "svelte",
      "component"
    ]
  },
  "name": "compare-mark",
  "registryDependencies": [
    "inline",
    "lucide-icon",
    "utils"
  ],
  "runtime": "svelte",
  "title": "Compare Mark",
  "type": "registry:component"
}
