{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Four figures, figures with a featured review, numbered steps, the latest posts, topic rows, or contact buttons with support figures, beside a picture.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->\n<!--\n  A list or figures beside a picture. Axes: layout (figures: four figures in two columns, proof: three figures\n  and a featured review, steps: numbered steps, posts: the latest posts, topics: topic rows with counts,\n  contact: contact buttons and support figures), mediaSide, tone. The actions follow every layout but contact.\n-->\n<script lang=\"ts\" module>\n  import type { Snippet } from \"svelte\";\n  import type { MediaExtras, MediaListLabels } from \"./media-list.types\";\n  import type { Stat } from \"./stats-band.types\";\n  import type { Step } from \"./steps-list.types\";\n  import type { Post } from \"./post-card.types\";\n  import type { Category } from \"./category-nav.types\";\n  import type { Feature } from \"./feature-grid.types\";\n  import type { Review } from \"./review-list.types\";\n  import type { LinkActions } from \"./error-page.types\";\n\n  export type MediaListProps = {\n    id: string;\n    title: string;\n    lead?: string;\n    badge?: string;\n    extras: MediaExtras;\n    labels: MediaListLabels;\n    actions: LinkActions;\n    layout?: \"figures\" | \"proof\" | \"steps\" | \"posts\" | \"topics\" | \"contact\";\n    mediaSide?: \"end\" | \"start\";\n    tone?: \"default\" | \"muted\";\n    image?: string;\n    imageAlt?: string;\n    landmarkLabel?: string;\n  };\n</script>\n\n<script lang=\"ts\">\n  import ActionGroup from \"../components/action-group.svelte\";\n  import MediaContacts from \"../components/media-contacts.svelte\";\n  import MediaFigures from \"../components/media-figures.svelte\";\n  import MediaFrame from \"../components/media-frame.svelte\";\n  import MediaPosts from \"../components/media-posts.svelte\";\n  import MediaReview from \"../components/media-review.svelte\";\n  import MediaSteps from \"../components/media-steps.svelte\";\n  import MediaTopics from \"../components/media-topics.svelte\";\n  import SectionFrame from \"../components/section-frame.svelte\";\n\n  let {\n    id,\n    title,\n    lead = \"\",\n    badge = \"\",\n    extras,\n    labels,\n    actions,\n    layout = \"figures\",\n    mediaSide = \"end\",\n    tone = \"default\",\n    image,\n    imageAlt,\n    landmarkLabel,\n  }: MediaListProps = $props();\n</script>\n\n<SectionFrame\n  id={id}\n  title={title}\n  lead={lead}\n  heading={{ badge }}\n  tone={tone}\n  layout=\"split\"\n  media={{ show: true, side: mediaSide }}\n  landmarkLabel={landmarkLabel}\n>\n  {#if (((layout as string) === \"figures\") || ((layout as string) === \"proof\"))}\n    {#if ((extras.stats?.length ?? 0) > 0)}\n      <MediaFigures extras={extras} mode={(((layout as string) === \"proof\") ? \"row\" : \"grid\")} />\n    {/if}\n  {/if}\n  {#if ((layout as string) === \"proof\")}\n    {#if ((extras.reviews?.length ?? 0) > 0)}\n      <MediaReview extras={extras} labels={labels} />\n    {/if}\n  {/if}\n  {#if ((layout as string) === \"steps\")}\n    {#if ((extras.steps?.length ?? 0) > 0)}\n      <MediaSteps extras={extras} labels={labels} />\n    {/if}\n  {/if}\n  {#if ((layout as string) === \"posts\")}\n    {#if ((extras.posts?.length ?? 0) > 0)}\n      <MediaPosts extras={extras} labels={labels} />\n    {/if}\n  {/if}\n  {#if ((layout as string) === \"topics\")}\n    {#if ((extras.topics?.length ?? 0) > 0)}\n      <MediaTopics extras={extras} labels={labels} />\n    {/if}\n  {/if}\n  {#if ((layout as string) === \"contact\")}\n    {#if ((extras.channels?.length ?? 0) > 0)}\n      <MediaContacts extras={extras} labels={labels} />\n    {/if}\n  {/if}\n  {#if ((layout as string) !== \"contact\")}\n    <ActionGroup\n      primary={actions.cta}\n      primaryHref={actions.href}\n      secondary={((actions.mode === \"two\") ? actions.secondary : undefined)}\n      secondaryHref={actions.secondaryHref}\n    />\n  {/if}\n  {#snippet aside()}\n    <MediaFrame\n      alt={(imageAlt ? imageAlt : title)}\n      src={image}\n      ratio={((((layout as string) === \"steps\") || ((layout as string) === \"topics\")) ? \"1/1\" : \"4/3\")}\n    />\n  {/snippet}\n</SectionFrame>\n",
      "path": "blocks/media-list.svelte",
      "target": "blocks/media-list.svelte"
    },
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n\nimport type { Stat } from \"./stats-band.types\";\nimport type { Step } from \"./steps-list.types\";\nimport type { Post } from \"./post-card.types\";\nimport type { Category } from \"./category-nav.types\";\nimport type { Feature } from \"./feature-grid.types\";\nimport type { Review } from \"./review-list.types\";\n\nexport type MediaExtras = {\n  stats: Stat[];\n  steps: Step[];\n  posts: Post[];\n  topics: Category[];\n  channels: Feature[];\n  reviews: Review[];\n};\n\nexport type MediaListLabels = {\n  list: string;\n  count: string;\n  minutes: string;\n  featured: string;\n  rating: string;\n  figures: string;\n};\n",
      "path": "blocks/media-list.types.ts",
      "target": "blocks/media-list.types.ts"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "proof",
    "kind": "block",
    "tags": [
      "svelte",
      "block"
    ]
  },
  "name": "media-list",
  "registryDependencies": [
    "action-group",
    "category-nav",
    "error-page",
    "feature-grid",
    "media-contacts",
    "media-figures",
    "media-frame",
    "media-posts",
    "media-review",
    "media-steps",
    "media-topics",
    "post-card",
    "review-list",
    "section-frame",
    "stats-band",
    "steps-list",
    "utils"
  ],
  "runtime": "svelte",
  "title": "Media List",
  "type": "registry:block"
}
