{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Plans, or a product and its rivals, in columns, and the features in rows; yes and no as marks.",
  "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/comparison-table.json\n    Plans, or a product and its competitors, as three columns and the features as rows. A value of yes shows a check, no a dash (both with a hidden word), anything else is shown as text. Axes: highlight (none, middle column), tone, density.\n    Props (p): id, title, rows, empty, labels, highlight, tone, density, landmarkLabel. *}\n{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_rows = ($p['rows'] ?? null)}\n{var $v_empty = ($p['empty'] ?? '')}\n{var $v_labels = ($p['labels'] ?? null)}\n{var $v_highlight = ($p['highlight'] ?? 'none')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_density = ($p['density'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_16}\n  {if og_t(og_eq(og_len($v_rows), 0))}\n    {=og_include('blocks/empty-state.latte', ['p' => ['icon' => 'table', 'title' => $v_empty]])|noescape}\n  {else}\n    {capture $c_15}\n      {capture $c_14}\n        {capture $c_1}\n          {=og_text(og_get($v_labels, ['caption']))}\n        {/capture}\n        {=og_include('compose/TableCaption.latte', ['class' => 'sr-only', 'children' => (string) $c_1])|noescape}\n        {capture $c_7}\n          {capture $c_6}\n            {capture $c_2}\n              {=og_text(og_get($v_labels, ['feature']))}\n            {/capture}\n            {=og_include('compose/TableHeadCell.latte', ['class' => 'py-4', 'attrs' => og_attrs(['scope', 'col']), 'children' => (string) $c_2])|noescape}\n            {capture $c_3}\n              {=og_text(og_get($v_labels, ['a']))}\n            {/capture}\n            {=og_include('compose/TableHeadCell.latte', ['class' => 'py-4', 'attrs' => og_attrs(['scope', 'col']), 'children' => (string) $c_3])|noescape}\n            {capture $c_4}\n              {=og_text(og_get($v_labels, ['b']))}\n            {/capture}\n            {=og_include('compose/TableHeadCell.latte', ['class' => og_s(og_cnv(['py-4', (og_t(og_eq($v_highlight, 'middle')) ? 'bg-muted' : '')])), 'attrs' => og_attrs(['scope', 'col', 'data-highlight', (og_t(og_eq($v_highlight, 'middle')) ? 'true' : 'false')]), 'children' => (string) $c_4])|noescape}\n            {capture $c_5}\n              {=og_text(og_get($v_labels, ['c']))}\n            {/capture}\n            {=og_include('compose/TableHeadCell.latte', ['class' => 'py-4', 'attrs' => og_attrs(['scope', 'col']), 'children' => (string) $c_5])|noescape}\n          {/capture}\n          {=og_include('compose/TableRow.latte', ['children' => (string) $c_6])|noescape}\n        {/capture}\n        {=og_include('compose/TableHead.latte', ['children' => (string) $c_7])|noescape}\n        {capture $c_13}\n          {foreach og_l($v_rows) as $v_row}\n            {capture $c_12}\n              {capture $c_8}\n                {=og_text(og_get($v_row, ['label']))}\n              {/capture}\n              {=og_include('compose/TableHeadCell.latte', ['class' => og_s(og_cnv(['font-medium', (og_t(og_eq($v_density, 'compact')) ? 'py-2' : 'py-4')])), 'attrs' => og_attrs(['scope', 'row']), 'children' => (string) $c_8])|noescape}\n              {capture $c_9}\n                {=og_include('blocks/compare-mark.latte', ['p' => ['value' => og_get($v_row, ['a']), 'yes' => og_get($v_labels, ['yes']), 'no' => og_get($v_labels, ['no'])]])|noescape}\n              {/capture}\n              {=og_include('compose/TableCell.latte', ['class' => og_s(og_cnv([(og_t(og_eq($v_density, 'compact')) ? 'py-2' : 'py-4')])), 'children' => (string) $c_9])|noescape}\n              {capture $c_10}\n                {=og_include('blocks/compare-mark.latte', ['p' => ['value' => og_get($v_row, ['b']), 'yes' => og_get($v_labels, ['yes']), 'no' => og_get($v_labels, ['no'])]])|noescape}\n              {/capture}\n              {=og_include('compose/TableCell.latte', ['class' => og_s(og_cnv([(og_t(og_eq($v_density, 'compact')) ? 'py-2' : 'py-4'), (og_t(og_eq($v_highlight, 'middle')) ? 'bg-muted font-semibold' : '')])), 'children' => (string) $c_10])|noescape}\n              {capture $c_11}\n                {=og_include('blocks/compare-mark.latte', ['p' => ['value' => og_get($v_row, ['c']), 'yes' => og_get($v_labels, ['yes']), 'no' => og_get($v_labels, ['no'])]])|noescape}\n              {/capture}\n              {=og_include('compose/TableCell.latte', ['class' => og_s((og_t(og_eq($v_density, 'compact')) ? 'py-2' : 'py-4')), 'children' => (string) $c_11])|noescape}\n            {/capture}\n            {=og_include('compose/TableRow.latte', ['class' => 'border-t border-border', 'attrs' => og_attrs(['data-slot', 'item']), 'children' => (string) $c_12])|noescape}\n          {/foreach}\n        {/capture}\n        {=og_include('compose/TableBody.latte', ['children' => (string) $c_13])|noescape}\n      {/capture}\n      {=og_include('compose/Table.latte', ['class' => 'w-full text-left text-sm', 'attrs' => og_attrs(['data-slot', 'compare']), 'children' => (string) $c_14])|noescape}\n    {/capture}\n    {=og_include('compose/Box.latte', ['class' => 'relative w-full overflow-x-auto', 'children' => (string) $c_15])|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_16)])|noescape}\n",
      "path": "blocks/comparison-table.latte",
      "target": "blocks/comparison-table.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "pricing",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "comparison-table",
  "registryDependencies": [
    "box",
    "compare-mark",
    "empty-state",
    "section-frame",
    "table",
    "table-body",
    "table-caption",
    "table-cell",
    "table-head",
    "table-head-cell",
    "table-row",
    "utils"
  ],
  "runtime": "latte",
  "title": "Comparison Table",
  "type": "registry:block"
}
