{
  "$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{%- set v_days = (p.days ?? null) -%}\n{%- set v_name = (p.name ?? null) -%}\n{%- set v_item = (p.item ?? 'card') -%}\n{%- set c_10 -%}\n  {%- for v_d in og_l(v_days) %}\n    {%- set c_9 -%}\n      {%- set c_3 -%}\n        {%- set c_1 -%}\n          {{ og_text(og_get(v_d, ['title'])) }}\n        {%- endset -%}\n        {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_1}, with_context = false) }}\n        {%- set c_2 -%}\n          {{ og_text(og_get(v_d, ['note'])) }}\n        {%- endset -%}\n        {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'baseline', 'justify': 'between', 'class': 'flex-wrap', 'children': c_3}, with_context = false) }}\n      {%- set c_8 -%}\n        {%- for v_s in og_l(og_get(v_d, ['slots'])) %}\n          {%- set c_5 -%}\n            {{ include('compose/Radio.html.twig', {'name': og_s(v_name), 'value': og_s(og_tpl('{0} {1}', [og_get(v_d, ['id']), v_s]))}, with_context = false) }}\n            {%- set c_4 -%}\n              {{ og_text(v_s) }}\n            {%- endset -%}\n            {{ include('compose/Inline.html.twig', {'children': c_4}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Label.html.twig', {'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': c_5}, with_context = false) }}\n        {%- endfor %}\n        {%- for v_s in og_l(og_get(v_d, ['closed'])) %}\n          {%- set c_7 -%}\n            {{ include('compose/Radio.html.twig', {'name': og_s(v_name), 'value': og_s(og_tpl('{0} {1}', [og_get(v_d, ['id']), v_s])), 'disabled': true}, with_context = false) }}\n            {%- set c_6 -%}\n              {{ og_text(v_s) }}\n            {%- endset -%}\n            {{ include('compose/Inline.html.twig', {'children': c_6}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Label.html.twig', {'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': c_7}, with_context = false) }}\n        {%- endfor %}\n      {%- endset -%}\n      {{ include('compose/Box.html.twig', {'class': 'grid grid-cols-2 gap-2 sm:grid-cols-3', 'children': c_8}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Stack.html.twig', {'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': c_9}, with_context = false) }}\n  {%- endfor %}\n{%- endset -%}\n{{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'stretch', 'attrs': og_attrs(['data-slot', 'days']), 'children': c_10}, with_context = false) }}\n",
      "path": "blocks/slot-grid.html.twig",
      "target": "blocks/slot-grid.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "slot-grid",
  "registryDependencies": [
    "box",
    "group",
    "inline",
    "label",
    "radio",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Slot Grid",
  "type": "registry:component"
}
