{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The cards layout of DishCompare: one compare card per cut with a picture, the name, the summary, the weight, heat and price as a description list, and the cooking time.",
  "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/cut-cards.json\n    The cards layout of DishCompare: one compare card per cut with a picture, the name, the summary, the weight, heat and price as a description list, and the cooking time.\n    Props (p): dishes, labels. *}\n{var $v_dishes = ($p['dishes'] ?? null)}\n{var $v_labels = ($p['labels'] ?? null)}\n{capture $c_15}\n  {foreach og_l($v_dishes) as $v_d}\n    {capture $c_14}\n      {=og_include('blocks/media-frame.latte', ['p' => ['alt' => og_get($v_d, ['name']), 'src' => og_get($v_d, ['image']), 'ratio' => '4/3']])|noescape}\n      {capture $c_1}\n        {=og_text(og_get($v_d, ['name']))}\n      {/capture}\n      {=og_include('compose/Text.latte', ['size' => 'lg', 'weight' => 'semibold', 'children' => (string) $c_1])|noescape}\n      {capture $c_2}\n        {=og_text(og_get($v_d, ['summary']))}\n      {/capture}\n      {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}\n      {capture $c_12}\n        {capture $c_5}\n          {capture $c_3}\n            {=og_text(og_get($v_labels, ['weight']))}\n          {/capture}\n          {=og_include('compose/Inline.latte', ['class' => 'text-muted-foreground', 'children' => (string) $c_3])|noescape}\n          {capture $c_4}\n            {=og_text(og_get($v_d, ['weight']))}\n          {/capture}\n          {=og_include('compose/Inline.latte', ['class' => 'font-semibold', 'children' => (string) $c_4])|noescape}\n        {/capture}\n        {=og_include('compose/ListItem.latte', ['class' => 'flex items-center justify-between gap-4', 'children' => (string) $c_5])|noescape}\n        {capture $c_8}\n          {capture $c_6}\n            {=og_text(og_get($v_labels, ['heat']))}\n          {/capture}\n          {=og_include('compose/Inline.latte', ['class' => 'text-muted-foreground', 'children' => (string) $c_6])|noescape}\n          {capture $c_7}\n            {=og_text(og_get($v_d, ['tag']))}\n          {/capture}\n          {=og_include('compose/Inline.latte', ['class' => 'font-semibold', 'children' => (string) $c_7])|noescape}\n        {/capture}\n        {=og_include('compose/ListItem.latte', ['class' => 'flex items-center justify-between gap-4', 'children' => (string) $c_8])|noescape}\n        {capture $c_11}\n          {capture $c_9}\n            {=og_text(og_get($v_labels, ['price']))}\n          {/capture}\n          {=og_include('compose/Inline.latte', ['class' => 'text-muted-foreground', 'children' => (string) $c_9])|noescape}\n          {capture $c_10}\n            {=og_text(og_money(og_get($v_d, ['price']), og_get($v_d, ['currency'])))}\n          {/capture}\n          {=og_include('compose/Inline.latte', ['class' => 'font-semibold', 'children' => (string) $c_10])|noescape}\n        {/capture}\n        {=og_include('compose/ListItem.latte', ['class' => 'flex items-center justify-between gap-4', 'children' => (string) $c_11])|noescape}\n      {/capture}\n      {=og_include('compose/List.latte', ['tag' => 'ul', 'class' => 'flex flex-col gap-2 text-sm', 'children' => (string) $c_12])|noescape}\n      {capture $c_13}\n        {=og_include('icons/LucideIcon.latte', ['name' => 'timer', 'size' => 16])|noescape}\n        {=og_text(og_tpl(og_get($v_labels, ['minutes']), [og_str(og_get($v_d, ['minutes']))]))}\n      {/capture}\n      {=og_include('compose/Badge.latte', ['variant' => 'secondary', 'size' => 'default', 'class' => 'w-fit', 'children' => (string) $c_13])|noescape}\n    {/capture}\n    {=og_include('compose/Stack.latte', ['gap' => '4', 'class' => 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs' => og_attrs(['data-slot', 'item']), 'children' => (string) $c_14])|noescape}\n  {/foreach}\n{/capture}\n{=og_include('compose/Grid.latte', ['cols' => '1-4', 'class' => 'gap-4', 'attrs' => og_attrs(['data-slot', 'items']), 'children' => (string) $c_15])|noescape}\n",
      "path": "blocks/cut-cards.latte",
      "target": "blocks/cut-cards.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "cut-cards",
  "registryDependencies": [
    "badge",
    "grid",
    "inline",
    "list",
    "list-item",
    "lucide-icon",
    "media-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "latte",
  "title": "Cut Cards",
  "type": "registry:component"
}
