{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Work items in lanes with a count; cards with a tag and a person. Moving cards is a port contract (SortableList).",
  "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/kanban-board.json\n    Work items in lanes. Each lane has a title, a count and its cards; a card has a title, an optional tag and the person it belongs to. Axes: card (simple, detail: tag and person), cols (2, 3), tone, density. Moving a card between lanes is a port contract.\n    Props (p): id, title, lanes, empty, cards, countLabel, card, cols, tone, density, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_lanes = (p.lanes ?? null) -%}\n{%- set v_empty = (p.empty ?? '') -%}\n{%- set v_cards = (p.cards ?? null) -%}\n{%- set v_countLabel = (p.countLabel ?? null) -%}\n{%- set v_card = (p.card ?? 'detail') -%}\n{%- set v_cols = (p.cols ?? '3') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_12 -%}\n  {%- if og_t(og_eq(og_len(v_lanes), 0)) %}\n    {{ include('blocks/empty-state.html.twig', {'p': {'icon': 'kanban', 'title': v_empty}}, with_context = false) }}\n  {%- else %}\n    {%- set c_11 -%}\n      {%- for v_lane in og_l(v_lanes) %}\n        {%- set c_10 -%}\n          {%- set c_3 -%}\n            {%- set c_1 -%}\n              {{ og_text(og_get(v_lane, ['title'])) }}\n            {%- endset -%}\n            {{ include('compose/Title.html.twig', {'as': 3, 'size': 'base', 'weight': 'bold', 'children': c_1}, with_context = false) }}\n            {%- set c_2 -%}\n              {{ og_text(og_tpl(v_countLabel, [og_len(og_where(v_cards, 'lane', og_get(v_lane, ['key'])))])) }}\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': '2', 'align': 'center', 'justify': 'between', 'children': c_3}, with_context = false) }}\n          {%- set c_9 -%}\n            {%- for v_c in og_l(og_where(v_cards, 'lane', og_get(v_lane, ['key']))) %}\n              {%- set c_8 -%}\n                {%- set c_4 -%}\n                  {{ og_text(og_get(v_c, ['title'])) }}\n                {%- endset -%}\n                {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_4}, with_context = false) }}\n                {%- if og_t(og_eq(v_card, 'detail')) %}\n                  {%- set c_7 -%}\n                    {%- set c_5 -%}\n                      {{ og_text(og_get(v_c, ['tag'])) }}\n                    {%- endset -%}\n                    {{ include('blocks/pill.html.twig', {'p': {'tone': 'blue', 'icon': 'tag'}, 'children': og_markup(c_5)}, with_context = false) }}\n                    {%- set c_6 -%}\n                      {{ og_text(og_get(v_c, ['who'])) }}\n                    {%- endset -%}\n                    {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_6}, with_context = false) }}\n                  {%- endset -%}\n                  {{ include('compose/Group.html.twig', {'gap': '2', 'align': 'center', 'justify': 'between', 'class': 'flex-wrap', 'children': c_7}, with_context = false) }}\n                {%- endif %}\n              {%- endset -%}\n              {{ include('compose/ListItem.html.twig', {'class': og_s(og_cnv(['flex flex-col rounded bg-card inset-ring inset-ring-border', (og_t(og_eq(v_density, 'compact')) ? 'gap-2 p-2' : 'gap-2 p-4')])), 'attrs': og_attrs(['data-slot', 'item']), 'children': c_8}, with_context = false) }}\n            {%- endfor %}\n          {%- endset -%}\n          {{ include('compose/List.html.twig', {'class': 'm-0 flex list-none flex-col gap-2 p-0', 'children': c_9}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'stretch', 'class': 'rounded bg-muted p-4', 'attrs': og_attrs(['data-slot', 'lane']), 'children': c_10}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Grid.html.twig', {'cols': og_s((og_t(og_eq(v_cols, '2')) ? '1-2' : '1-3')), 'class': 'items-start gap-4', 'attrs': og_attrs(['data-slot', 'lanes']), 'children': c_11}, with_context = false) }}\n  {%- endif %}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_12)}, with_context = false) }}\n",
      "path": "blocks/kanban-board.html.twig",
      "target": "blocks/kanban-board.html.twig"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "widgets",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "kanban-board",
  "registryDependencies": [
    "empty-state",
    "grid",
    "group",
    "list",
    "list-item",
    "pill",
    "section-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Kanban Board",
  "type": "registry:block"
}
