{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Delivery windows by day: each day lists its windows as radio chips; closed windows are disabled and struck through. One radio group (`name`) across all days. 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/slot-grid.json\n    Delivery windows by day: each day lists its windows as radio chips; closed windows are disabled and struck through. One radio group (`name`) across all days. Static markup.\n    Props (p): days, name, item. *}\n{var $v_days = ($p['days'] ?? null)}\n{var $v_name = ($p['name'] ?? null)}\n{var $v_item = ($p['item'] ?? 'card')}\n{capture $c_10}\n  {foreach og_l($v_days) as $v_d}\n    {capture $c_9}\n      {capture $c_3}\n        {capture $c_1}\n          {=og_text(og_get($v_d, ['title']))}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_1])|noescape}\n        {capture $c_2}\n          {=og_text(og_get($v_d, ['note']))}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}\n      {/capture}\n      {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'baseline', 'justify' => 'between', 'class' => 'flex-wrap', 'children' => (string) $c_3])|noescape}\n      {capture $c_8}\n        {foreach og_l(og_get($v_d, ['slots'])) as $v_s}\n          {capture $c_5}\n            {=og_include('compose/Radio.latte', ['name' => og_s($v_name), 'value' => og_s(og_tpl('{0} {1}', [og_get($v_d, ['id']), $v_s]))])|noescape}\n            {capture $c_4}\n              {=og_text($v_s)}\n            {/capture}\n            {=og_include('compose/Inline.latte', ['children' => (string) $c_4])|noescape}\n          {/capture}\n          {=og_include('compose/Label.latte', ['class' => 'flex items-center gap-2 rounded px-4 py-2 text-sm inset-ring inset-ring-border has-checked:bg-muted has-checked:inset-ring-foreground', 'attrs' => og_attrs(['data-slot', 'slots-row']), 'children' => (string) $c_5])|noescape}\n        {/foreach}\n        {foreach og_l(og_get($v_d, ['closed'])) as $v_s}\n          {capture $c_7}\n            {=og_include('compose/Radio.latte', ['name' => og_s($v_name), 'value' => og_s(og_tpl('{0} {1}', [og_get($v_d, ['id']), $v_s])), 'disabled' => true])|noescape}\n            {capture $c_6}\n              {=og_text($v_s)}\n            {/capture}\n            {=og_include('compose/Inline.latte', ['children' => (string) $c_6])|noescape}\n          {/capture}\n          {=og_include('compose/Label.latte', ['class' => og_s(og_cnv(['flex items-center gap-2 rounded px-4 py-2 text-sm inset-ring inset-ring-border has-checked:bg-muted has-checked:inset-ring-foreground', 'text-muted-foreground line-through'])), 'attrs' => og_attrs(['data-slot', 'closed-row']), 'children' => (string) $c_7])|noescape}\n        {/foreach}\n      {/capture}\n      {=og_include('compose/Box.latte', ['class' => 'grid grid-cols-2 gap-2 sm:grid-cols-3', 'children' => (string) $c_8])|noescape}\n    {/capture}\n    {=og_include('compose/Stack.latte', ['gap' => '4', 'class' => og_s((og_t(og_eq($v_item, 'card')) ? 'rounded bg-card inset-ring inset-ring-border p-4' : 'border-b border-border pb-4')), 'attrs' => og_attrs(['data-slot', 'day']), 'children' => (string) $c_9])|noescape}\n  {/foreach}\n{/capture}\n{=og_include('compose/Stack.latte', ['gap' => '4', 'align' => 'stretch', 'attrs' => og_attrs(['data-slot', 'days']), 'children' => (string) $c_10])|noescape}\n",
      "path": "blocks/slot-grid.latte",
      "target": "blocks/slot-grid.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "slot-grid",
  "registryDependencies": [
    "box",
    "group",
    "inline",
    "label",
    "radio",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "latte",
  "title": "Slot Grid",
  "type": "registry:component"
}
