{
  "$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{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_lanes = ($p['lanes'] ?? null)}\n{var $v_empty = ($p['empty'] ?? '')}\n{var $v_cards = ($p['cards'] ?? null)}\n{var $v_countLabel = ($p['countLabel'] ?? null)}\n{var $v_card = ($p['card'] ?? 'detail')}\n{var $v_cols = ($p['cols'] ?? '3')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_density = ($p['density'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_12}\n  {if og_t(og_eq(og_len($v_lanes), 0))}\n    {=og_include('blocks/empty-state.latte', ['p' => ['icon' => 'kanban', 'title' => $v_empty]])|noescape}\n  {else}\n    {capture $c_11}\n      {foreach og_l($v_lanes) as $v_lane}\n        {capture $c_10}\n          {capture $c_3}\n            {capture $c_1}\n              {=og_text(og_get($v_lane, ['title']))}\n            {/capture}\n            {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'base', 'weight' => 'bold', 'children' => (string) $c_1])|noescape}\n            {capture $c_2}\n              {=og_text(og_tpl($v_countLabel, [og_len(og_where($v_cards, 'lane', og_get($v_lane, ['key'])))]))}\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' => '2', 'align' => 'center', 'justify' => 'between', 'children' => (string) $c_3])|noescape}\n          {capture $c_9}\n            {foreach og_l(og_where($v_cards, 'lane', og_get($v_lane, ['key']))) as $v_c}\n              {capture $c_8}\n                {capture $c_4}\n                  {=og_text(og_get($v_c, ['title']))}\n                {/capture}\n                {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_4])|noescape}\n                {if og_t(og_eq($v_card, 'detail'))}\n                  {capture $c_7}\n                    {capture $c_5}\n                      {=og_text(og_get($v_c, ['tag']))}\n                    {/capture}\n                    {=og_include('blocks/pill.latte', ['p' => ['tone' => 'blue', 'icon' => 'tag'], 'children' => og_markup($c_5)])|noescape}\n                    {capture $c_6}\n                      {=og_text(og_get($v_c, ['who']))}\n                    {/capture}\n                    {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_6])|noescape}\n                  {/capture}\n                  {=og_include('compose/Group.latte', ['gap' => '2', 'align' => 'center', 'justify' => 'between', 'class' => 'flex-wrap', 'children' => (string) $c_7])|noescape}\n                {/if}\n              {/capture}\n              {=og_include('compose/ListItem.latte', ['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' => (string) $c_8])|noescape}\n            {/foreach}\n          {/capture}\n          {=og_include('compose/List.latte', ['class' => 'm-0 flex list-none flex-col gap-2 p-0', 'children' => (string) $c_9])|noescape}\n        {/capture}\n        {=og_include('compose/Stack.latte', ['gap' => '4', 'align' => 'stretch', 'class' => 'rounded bg-muted p-4', 'attrs' => og_attrs(['data-slot', 'lane']), 'children' => (string) $c_10])|noescape}\n      {/foreach}\n    {/capture}\n    {=og_include('compose/Grid.latte', ['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' => (string) $c_11])|noescape}\n  {/if}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'tone' => $v_tone, 'density' => $v_density, 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_12)])|noescape}\n",
      "path": "blocks/kanban-board.latte",
      "target": "blocks/kanban-board.latte"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "widgets",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "kanban-board",
  "registryDependencies": [
    "empty-state",
    "grid",
    "group",
    "list",
    "list-item",
    "pill",
    "section-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Kanban Board",
  "type": "registry:block"
}
