{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Choose the meat, the weight and the sides of a grill (mangal) 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/grill-builder.json\n    A grill (mangal) dish builder: the meat as picture cards in a radio group, the weight as chips, the sides as checkboxes with prices, then a summary with the live total and the order button. Axes: layout (split, stacked), tone.\n    Props (p): id, title, lead, labels, meats, weights, sides, total, currency, layout, tone, landmarkLabel. *}\n{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_lead = ($p['lead'] ?? '')}\n{var $v_labels = ($p['labels'] ?? null)}\n{var $v_meats = ($p['meats'] ?? null)}\n{var $v_weights = ($p['weights'] ?? null)}\n{var $v_sides = ($p['sides'] ?? null)}\n{var $v_total = ($p['total'] ?? null)}\n{var $v_currency = ($p['currency'] ?? null)}\n{var $v_layout = ($p['layout'] ?? 'split')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_9}\n  {capture $c_8}\n    {capture $c_1}\n      {=og_include('blocks/meat-cards.latte', ['p' => ['name' => og_tpl('{0}-meat', [$v_id]), 'legend' => og_get($v_labels, ['meat']), 'options' => $v_meats]])|noescape}\n      {=og_include('blocks/option-chips.latte', ['p' => ['name' => og_tpl('{0}-weight', [$v_id]), 'legend' => og_get($v_labels, ['weight']), 'options' => $v_weights, 'extra' => 'note']])|noescape}\n      {=og_include('blocks/side-checks.latte', ['p' => ['name' => og_tpl('{0}-sides', [$v_id]), 'legend' => og_get($v_labels, ['sides']), 'options' => $v_sides]])|noescape}\n    {/capture}\n    {=og_include('compose/Box.latte', ['class' => og_s((og_t(og_eq($v_layout, 'split')) ? 'flex flex-col gap-8 lg:col-span-2' : 'flex flex-col gap-8 lg:col-span-3')), 'attrs' => og_attrs(['data-slot', 'steps']), 'children' => (string) $c_1])|noescape}\n    {capture $c_7}\n      {capture $c_2}\n        {=og_text(og_get($v_labels, ['summary']))}\n      {/capture}\n      {=og_include('compose/Text.latte', ['size' => 'lg', 'weight' => 'semibold', 'children' => (string) $c_2])|noescape}\n      {capture $c_5}\n        {capture $c_3}\n          {=og_text(og_get($v_labels, ['total']))}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_3])|noescape}\n        {capture $c_4}\n          {=og_text(og_money($v_total, $v_currency))}\n        {/capture}\n        {=og_include('compose/Inline.latte', ['class' => 'text-2xl font-bold', 'attrs' => og_attrs(['role', 'status', 'aria-live', 'polite', 'data-slot', 'total']), 'children' => (string) $c_4])|noescape}\n      {/capture}\n      {=og_include('compose/Group.latte', ['gap' => '2', 'align' => 'baseline', 'justify' => 'between', 'children' => (string) $c_5])|noescape}\n      {capture $c_6}\n        {=og_include('icons/LucideIcon.latte', ['name' => 'shopping-bag', 'size' => 16])|noescape}\n        {=og_text(og_get($v_labels, ['add']))}\n      {/capture}\n      {=og_include('compose/Button.latte', ['variant' => 'default', 'size' => 'lg', 'type' => 'button', 'class' => 'w-full', 'children' => (string) $c_6])|noescape}\n    {/capture}\n    {=og_include('compose/Stack.latte', ['gap' => '4', 'class' => og_s((og_t(og_eq($v_layout, 'split')) ? 'rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6 lg:sticky lg:top-8' : 'rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6')), 'attrs' => og_attrs(['data-slot', 'summary']), 'children' => (string) $c_7])|noescape}\n  {/capture}\n  {=og_include('compose/Box.latte', ['class' => 'grid grid-cols-1 items-start gap-8 lg:grid-cols-3', 'children' => (string) $c_8])|noescape}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'lead' => $v_lead, 'tone' => $v_tone, 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_9)])|noescape}\n",
      "path": "blocks/grill-builder.latte",
      "target": "blocks/grill-builder.latte"
    }
  ],
  "meta": {
    "category": "commerce",
    "group": "food",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "grill-builder",
  "registryDependencies": [
    "box",
    "button",
    "group",
    "inline",
    "lucide-icon",
    "meat-cards",
    "option-chips",
    "section-frame",
    "side-checks",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "latte",
  "title": "Grill Builder",
  "type": "registry:block"
}
