{
  "$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{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_label = (p.label ?? null) -%}\n{%- set v_lines = (p.lines ?? null) -%}\n{%- set v_shape = (p.shape ?? 'cards') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_9 -%}\n  {%- set c_8 -%}\n    {%- if og_t(og_eq(v_shape, 'cards')) %}\n      {%- set c_2 -%}\n        {%- for v_l in og_l(v_lines) %}\n          {%- set c_1 -%}\n            {{ include('compose/Skeleton.html.twig', {'class': 'aspect-video w-full'}, with_context = false) }}\n            {{ include('compose/Skeleton.html.twig', {'class': 'h-4 w-2/3'}, with_context = false) }}\n            {{ include('compose/Skeleton.html.twig', {'class': 'h-4 w-full'}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Stack.html.twig', {'gap': '4', 'class': 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs': og_attrs(['data-slot', 'item']), 'children': c_1}, with_context = false) }}\n        {%- endfor %}\n      {%- endset -%}\n      {{ include('compose/Grid.html.twig', {'cols': '1-3', 'class': 'gap-4', 'children': c_2}, with_context = false) }}\n    {%- elseif og_t(og_eq(v_shape, 'list')) %}\n      {%- set c_5 -%}\n        {%- for v_l in og_l(v_lines) %}\n          {%- set c_4 -%}\n            {{ include('compose/Skeleton.html.twig', {'class': 'size-10 shrink-0 rounded-full'}, with_context = false) }}\n            {%- set c_3 -%}\n              {{ include('compose/Skeleton.html.twig', {'class': 'h-4 w-1/3'}, with_context = false) }}\n              {{ include('compose/Skeleton.html.twig', {'class': 'h-4 w-full'}, with_context = false) }}\n            {%- endset -%}\n            {{ include('compose/Stack.html.twig', {'gap': '2', 'class': 'flex-1', 'children': c_3}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'center', 'attrs': og_attrs(['data-slot', 'item']), 'children': c_4}, with_context = false) }}\n        {%- endfor %}\n      {%- endset -%}\n      {{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'stretch', 'children': c_5}, with_context = false) }}\n    {%- else %}\n      {%- set c_7 -%}\n        {{ include('compose/Skeleton.html.twig', {'class': 'h-8 w-3/4'}, with_context = false) }}\n        {%- for v_l in og_l(v_lines) %}\n          {%- set c_6 -%}\n            {{ include('compose/Skeleton.html.twig', {'class': 'h-4 w-full'}, with_context = false) }}\n            {{ include('compose/Skeleton.html.twig', {'class': 'h-4 w-5/6'}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Stack.html.twig', {'gap': '2', 'attrs': og_attrs(['data-slot', 'item']), 'children': c_6}, with_context = false) }}\n        {%- endfor %}\n      {%- endset -%}\n      {{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'stretch', 'class': 'mx-auto max-w-2xl', 'children': c_7}, with_context = false) }}\n    {%- endif %}\n  {%- endset -%}\n  {{ include('compose/Block.html.twig', {'tag': 'div', 'class': 'w-full', 'attrs': og_attrs(['role', 'status', 'aria-label', v_label, 'data-shape', v_shape, 'data-slot', 'skeleton']), 'children': c_8}, with_context = false) }}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_9)}, with_context = false) }}\n",
      "path": "blocks/skeleton-layout.html.twig",
      "target": "blocks/skeleton-layout.html.twig"
    }
  ],
  "meta": {
    "category": "dashboard",
    "group": "states",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "skeleton-layout",
  "registryDependencies": [
    "block",
    "grid",
    "group",
    "section-frame",
    "skeleton",
    "stack",
    "utils"
  ],
  "runtime": "twig",
  "title": "Skeleton Layout",
  "type": "registry:block"
}
