{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "One dish on a menu board: name, optional badge, a dotted leader to the price, then the summary and the portion/weight. Used by MenuBoard; Codex kind `dish`.",
  "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/menu-row.json\n    One dish on a menu board: name, optional badge, a dotted leader to the price, then the summary and the portion/weight. Used by MenuBoard; Codex kind `dish`.\n    Props (p): dish, prices. -#}\n{%- set v_dish = (p.dish ?? null) -%}\n{%- set v_prices = (p.prices ?? 'show') -%}\n{%- set c_6 -%}\n  {%- set c_4 -%}\n    {%- set c_1 -%}\n      {{ og_text(og_get(v_dish, ['name'])) }}\n    {%- endset -%}\n    {{ include('compose/Inline.html.twig', {'class': 'font-semibold', 'children': c_1}, with_context = false) }}\n    {%- if og_t(og_get(v_dish, ['badge'])) %}\n      {%- set c_2 -%}\n        {{ og_text(og_get(v_dish, ['badge'])) }}\n      {%- endset -%}\n      {{ include('compose/Badge.html.twig', {'variant': 'outline', 'size': 'sm', 'children': c_2}, with_context = false) }}\n    {%- endif %}\n    {%- if og_t(og_eq(v_prices, 'show')) %}\n      {{ include('compose/Inline.html.twig', {'class': 'flex-1 border-b border-dotted border-border', 'attrs': og_attrs(['aria-hidden', 'true'])}, with_context = false) }}\n      {%- set c_3 -%}\n        {{ og_text(og_money(og_get(v_dish, ['price']), og_get(v_dish, ['currency']))) }}\n      {%- endset -%}\n      {{ include('compose/Inline.html.twig', {'class': 'font-semibold', 'attrs': og_attrs(['data-slot', 'price']), 'children': c_3}, with_context = false) }}\n    {%- endif %}\n  {%- endset -%}\n  {{ include('compose/Box.html.twig', {'class': 'flex items-baseline gap-2', 'children': c_4}, with_context = false) }}\n  {%- set c_5 -%}\n    {{ og_text(og_tpl('{0} · {1}', [og_get(v_dish, ['summary']), og_get(v_dish, ['weight'])])) }}\n  {%- endset -%}\n  {{ include('compose/Inline.html.twig', {'class': 'text-sm text-muted-foreground', 'children': c_5}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/ListItem.html.twig', {'class': 'flex flex-col gap-0 border-b border-border py-2', 'attrs': og_attrs(['data-slot', 'item']), 'children': c_6}, with_context = false) }}\n",
      "path": "blocks/menu-row.html.twig",
      "target": "blocks/menu-row.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "menu-row",
  "registryDependencies": [
    "badge",
    "box",
    "inline",
    "list-item",
    "utils"
  ],
  "runtime": "twig",
  "title": "Menu Row",
  "type": "registry:component"
}
