{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Grey blocks in the shape of what is coming: cards, a list or an article.",
  "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/skeleton-layout.json\n    The loading state of a page: grey blocks in the shape of the content that is coming (cards, a list of rows or an article). Axes: shape (cards, list, article), tone. The label tells assistive technology that the content is loading. The shimmer itself belongs to the Skeleton part.\n    Props (p): id, title, label, lines, shape, tone, landmarkLabel. *}\n{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_label = ($p['label'] ?? null)}\n{var $v_lines = ($p['lines'] ?? null)}\n{var $v_shape = ($p['shape'] ?? 'cards')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_9}\n  {capture $c_8}\n    {if og_t(og_eq($v_shape, 'cards'))}\n      {capture $c_2}\n        {foreach og_l($v_lines) as $v_l}\n          {capture $c_1}\n            {=og_include('compose/Skeleton.latte', ['class' => 'aspect-video w-full'])|noescape}\n            {=og_include('compose/Skeleton.latte', ['class' => 'h-4 w-2/3'])|noescape}\n            {=og_include('compose/Skeleton.latte', ['class' => 'h-4 w-full'])|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_1])|noescape}\n        {/foreach}\n      {/capture}\n      {=og_include('compose/Grid.latte', ['cols' => '1-3', 'class' => 'gap-4', 'children' => (string) $c_2])|noescape}\n    {elseif og_t(og_eq($v_shape, 'list'))}\n      {capture $c_5}\n        {foreach og_l($v_lines) as $v_l}\n          {capture $c_4}\n            {=og_include('compose/Skeleton.latte', ['class' => 'size-10 shrink-0 rounded-full'])|noescape}\n            {capture $c_3}\n              {=og_include('compose/Skeleton.latte', ['class' => 'h-4 w-1/3'])|noescape}\n              {=og_include('compose/Skeleton.latte', ['class' => 'h-4 w-full'])|noescape}\n            {/capture}\n            {=og_include('compose/Stack.latte', ['gap' => '2', 'class' => 'flex-1', 'children' => (string) $c_3])|noescape}\n          {/capture}\n          {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'center', 'attrs' => og_attrs(['data-slot', 'item']), 'children' => (string) $c_4])|noescape}\n        {/foreach}\n      {/capture}\n      {=og_include('compose/Stack.latte', ['gap' => '4', 'align' => 'stretch', 'children' => (string) $c_5])|noescape}\n    {else}\n      {capture $c_7}\n        {=og_include('compose/Skeleton.latte', ['class' => 'h-8 w-3/4'])|noescape}\n        {foreach og_l($v_lines) as $v_l}\n          {capture $c_6}\n            {=og_include('compose/Skeleton.latte', ['class' => 'h-4 w-full'])|noescape}\n            {=og_include('compose/Skeleton.latte', ['class' => 'h-4 w-5/6'])|noescape}\n          {/capture}\n          {=og_include('compose/Stack.latte', ['gap' => '2', 'attrs' => og_attrs(['data-slot', 'item']), 'children' => (string) $c_6])|noescape}\n        {/foreach}\n      {/capture}\n      {=og_include('compose/Stack.latte', ['gap' => '4', 'align' => 'stretch', 'class' => 'mx-auto max-w-2xl', 'children' => (string) $c_7])|noescape}\n    {/if}\n  {/capture}\n  {=og_include('compose/Block.latte', ['tag' => 'div', 'class' => 'w-full', 'attrs' => og_attrs(['role', 'status', 'aria-label', $v_label, 'data-shape', $v_shape, 'data-slot', 'skeleton']), 'children' => (string) $c_8])|noescape}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'tone' => $v_tone, 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_9)])|noescape}\n",
      "path": "blocks/skeleton-layout.latte",
      "target": "blocks/skeleton-layout.latte"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "states",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "skeleton-layout",
  "registryDependencies": [
    "block",
    "grid",
    "group",
    "section-frame",
    "skeleton",
    "stack",
    "utils"
  ],
  "runtime": "latte",
  "title": "Skeleton Layout",
  "type": "registry:block"
}
