{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Extras to tick: a fieldset named by its legend, one checkbox per option with its note and price. Static markup.",
  "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/side-checks.json\n    Extras to tick: a fieldset named by its legend, one checkbox per option with its note and price. Static markup.\n    Props (p): name, legend, options. *}\n{var $v_name = ($p['name'] ?? null)}\n{var $v_legend = ($p['legend'] ?? null)}\n{var $v_options = ($p['options'] ?? null)}\n{capture $c_6}\n  {capture $c_1}\n    {=og_text($v_legend)}\n  {/capture}\n  {=og_include('compose/Legend.latte', ['size' => 'sm', 'class' => 'mb-2', 'children' => (string) $c_1])|noescape}\n  {foreach og_l($v_options) as $v_o}\n    {capture $c_5}\n      {capture $c_3}\n        {=og_include('compose/Checkbox.latte', ['name' => og_s(og_tpl('{0}-{1}', [$v_name, og_get($v_o, ['id'])])), 'value' => 'on'])|noescape}\n        {capture $c_2}\n          {=og_text(og_get($v_o, ['name']))}\n        {/capture}\n        {=og_include('compose/Inline.latte', ['children' => (string) $c_2])|noescape}\n      {/capture}\n      {=og_include('compose/Inline.latte', ['class' => 'flex items-center gap-2', 'children' => (string) $c_3])|noescape}\n      {capture $c_4}\n        {=og_text(og_tpl('{0} · {1}', [og_get($v_o, ['note']), og_money(og_get($v_o, ['price']), og_get($v_o, ['currency']))]))}\n      {/capture}\n      {=og_include('compose/Inline.latte', ['class' => 'text-muted-foreground', 'children' => (string) $c_4])|noescape}\n    {/capture}\n    {=og_include('compose/Label.latte', ['class' => 'flex items-center justify-between gap-4 rounded px-4 py-2 text-sm inset-ring inset-ring-border has-checked:bg-muted', 'attrs' => og_attrs(['data-slot', 'dish-option']), 'children' => (string) $c_5])|noescape}\n  {/foreach}\n{/capture}\n{=og_include('compose/Fieldset.latte', ['class' => 'flex flex-col gap-2', 'attrs' => og_attrs(['data-slot', 'sides']), 'children' => (string) $c_6])|noescape}\n",
      "path": "blocks/side-checks.latte",
      "target": "blocks/side-checks.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "side-checks",
  "registryDependencies": [
    "checkbox",
    "fieldset",
    "inline",
    "label",
    "legend",
    "utils"
  ],
  "runtime": "latte",
  "title": "Side Checks",
  "type": "registry:component"
}
