{
  "$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 = og_def(p['dish'], none) -%}\n{%- set v_prices = og_def(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    {{ og_include('compose/inline.html.j2', {'p': {'Class': 'font-semibold'}, 'children': c_1}) }}\n    {%- if og_t(og_get(v_dish, ['badge'])) %}\n      {%- set c_2 -%}\n        {{ og_text(og_get(v_dish, ['badge'])) }}\n      {%- endset -%}\n      {{ og_include('compose/badge.html.j2', {'p': {'Variant': 'outline', 'Size': 'sm'}, 'children': c_2}) }}\n    {%- endif %}\n    {%- if og_t(og_eq(v_prices, 'show')) %}\n      {{ og_include('compose/inline.html.j2', {'p': {'Class': 'flex-1 border-b border-dotted border-border', 'Attrs': og_attrs(['aria-hidden', 'true'])}}) }}\n      {%- set c_3 -%}\n        {{ og_text(og_money(og_get(v_dish, ['price']), og_get(v_dish, ['currency']))) }}\n      {%- endset -%}\n      {{ og_include('compose/inline.html.j2', {'p': {'Class': 'font-semibold', 'Attrs': og_attrs(['data-slot', 'price'])}, 'children': c_3}) }}\n    {%- endif %}\n  {%- endset -%}\n  {{ og_include('compose/box.html.j2', {'p': {'Class': 'flex items-baseline gap-2'}, 'children': c_4}) }}\n  {%- set c_5 -%}\n    {{ og_text(og_tpl('{0} · {1}', [og_get(v_dish, ['summary']), og_get(v_dish, ['weight'])])) }}\n  {%- endset -%}\n  {{ og_include('compose/inline.html.j2', {'p': {'Class': 'text-sm text-muted-foreground'}, 'children': c_5}) }}\n{%- endset -%}\n{{ og_include('compose/list-item.html.j2', {'p': {'Class': 'flex flex-col gap-0 border-b border-border py-2', 'Attrs': og_attrs(['data-slot', 'item'])}, 'children': c_6}) }}\n",
      "path": "blocks/menu-row.html.j2",
      "target": "blocks/menu-row.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "menu-row",
  "registryDependencies": [
    "badge",
    "box",
    "inline",
    "list-item",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Menu Row",
  "type": "registry:component"
}
