{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "One cell value of ComparisonTable: yes shows a check, no a dash (both with the hidden word for screen readers), any other value is shown as text.",
  "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/compare-mark.json\n    One cell value of ComparisonTable: yes shows a check, no a dash (both with the hidden word for screen readers), any other value is shown as text.\n    Props (p): value, yes, no. -#}\n{%- set v_value = (p.value ?? null) -%}\n{%- set v_yes = (p.yes ?? null) -%}\n{%- set v_no = (p.no ?? null) -%}\n{%- if og_t(og_eq(v_value, 'yes')) %}\n  {%- set c_2 -%}\n    {{ include('icons/LucideIcon.html.twig', {'name': 'check', 'size': 16, 'class': 'text-foreground'}, with_context = false) }}\n    {%- set c_1 -%}\n      {{ og_text(v_yes) }}\n    {%- endset -%}\n    {{ include('compose/Inline.html.twig', {'class': 'sr-only', 'children': c_1}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Inline.html.twig', {'class': 'inline-flex items-center gap-2', 'attrs': og_attrs(['data-mark', 'yes', 'data-slot', 'compare-mark']), 'children': c_2}, with_context = false) }}\n{%- endif %}\n{%- if og_t(og_eq(v_value, 'no')) %}\n  {%- set c_4 -%}\n    {{ include('icons/LucideIcon.html.twig', {'name': 'minus', 'size': 16}, with_context = false) }}\n    {%- set c_3 -%}\n      {{ og_text(v_no) }}\n    {%- endset -%}\n    {{ include('compose/Inline.html.twig', {'class': 'sr-only', 'children': c_3}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Inline.html.twig', {'class': 'inline-flex items-center gap-2 text-muted-foreground', 'attrs': og_attrs(['data-mark', 'no', 'data-slot', 'compare-mark']), 'children': c_4}, with_context = false) }}\n{%- endif %}\n{%- if og_t(og_and([not (og_eq(v_value, 'yes')), not (og_eq(v_value, 'no'))])) %}\n  {%- set c_5 -%}\n    {{ og_text(v_value) }}\n  {%- endset -%}\n  {{ include('compose/Inline.html.twig', {'attrs': og_attrs(['data-slot', 'compare-mark']), 'children': c_5}, with_context = false) }}\n{%- endif %}\n",
      "path": "blocks/compare-mark.html.twig",
      "target": "blocks/compare-mark.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "compare-mark",
  "registryDependencies": [
    "inline",
    "lucide-icon",
    "utils"
  ],
  "runtime": "twig",
  "title": "Compare Mark",
  "type": "registry:component"
}
