{
  "$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{var $v_dish = ($p['dish'] ?? null)}\n{var $v_prices = ($p['prices'] ?? 'show')}\n{capture $c_6}\n  {capture $c_4}\n    {capture $c_1}\n      {=og_text(og_get($v_dish, ['name']))}\n    {/capture}\n    {=og_include('compose/Inline.latte', ['class' => 'font-semibold', 'children' => (string) $c_1])|noescape}\n    {if og_t(og_get($v_dish, ['badge']))}\n      {capture $c_2}\n        {=og_text(og_get($v_dish, ['badge']))}\n      {/capture}\n      {=og_include('compose/Badge.latte', ['variant' => 'outline', 'size' => 'sm', 'children' => (string) $c_2])|noescape}\n    {/if}\n    {if og_t(og_eq($v_prices, 'show'))}\n      {=og_include('compose/Inline.latte', ['class' => 'flex-1 border-b border-dotted border-border', 'attrs' => og_attrs(['aria-hidden', 'true'])])|noescape}\n      {capture $c_3}\n        {=og_text(og_money(og_get($v_dish, ['price']), og_get($v_dish, ['currency'])))}\n      {/capture}\n      {=og_include('compose/Inline.latte', ['class' => 'font-semibold', 'attrs' => og_attrs(['data-slot', 'price']), 'children' => (string) $c_3])|noescape}\n    {/if}\n  {/capture}\n  {=og_include('compose/Box.latte', ['class' => 'flex items-baseline gap-2', 'children' => (string) $c_4])|noescape}\n  {capture $c_5}\n    {=og_text(og_tpl('{0} · {1}', [og_get($v_dish, ['summary']), og_get($v_dish, ['weight'])]))}\n  {/capture}\n  {=og_include('compose/Inline.latte', ['class' => 'text-sm text-muted-foreground', 'children' => (string) $c_5])|noescape}\n{/capture}\n{=og_include('compose/ListItem.latte', ['class' => 'flex flex-col gap-0 border-b border-border py-2', 'attrs' => og_attrs(['data-slot', 'item']), 'children' => (string) $c_6])|noescape}\n",
      "path": "blocks/menu-row.latte",
      "target": "blocks/menu-row.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "menu-row",
  "registryDependencies": [
    "badge",
    "box",
    "inline",
    "list-item",
    "utils"
  ],
  "runtime": "latte",
  "title": "Menu Row",
  "type": "registry:component"
}
