{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The ways to get help of MediaList as wide outline buttons, then three support figures as rows in a card.",
  "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/** The ways to get help of MediaList as wide outline buttons, then three support figures as rows in a card. */\nimport { For, type JSX } from \"solid-js\";\nimport { Button, Group, Stack, Text } from \"../compose\";\nimport { LucideIcon } from \"../icons/LucideIcon\";\nimport { urlOf } from \"../utils\";\nimport type { MediaExtras, MediaListLabels } from \"../blocks/media-list.types\";\n\nexport type MediaContactsProps = {\n  extras: MediaExtras;\n  labels: MediaListLabels;\n};\n\nexport function MediaContacts({ extras, labels }: MediaContactsProps) {\n  return (\n    <Stack gap=\"6\" align=\"stretch\" data-slot=\"media-contacts\">\n      <Stack gap=\"2\" align=\"stretch\">\n        <Text size=\"sm\" weight=\"semibold\">\n          {labels.list}\n        </Text>\n        <For each={extras.channels ?? []}>{(c, iOf) => { const i = iOf(); return (\n          <Button variant=\"outline\" size=\"default\" href={urlOf(c.href)} class=\"w-full gap-2\">\n            <LucideIcon name={c.icon} size={16} />\n            {c.title}\n          </Button>\n        ); }}</For>\n      </Stack>\n      <Stack gap=\"2\" align=\"stretch\" class=\"rounded bg-card inset-ring inset-ring-border p-4\">\n        <Text size=\"sm\" weight=\"semibold\">\n          {labels.figures}\n        </Text>\n        <For each={extras.stats ?? []}>{(s, iOf) => { const i = iOf(); return (\n          <>\n            {(i < 3) ? (\n              <Group gap=\"4\" align=\"center\" justify=\"between\" data-slot=\"media-stat\">\n                <Text size=\"sm\" class=\"text-muted-foreground\">\n                  {s.label}\n                </Text>\n                <Text size=\"sm\" weight=\"semibold\">\n                  {s.value}\n                </Text>\n              </Group>\n            ) : null}\n          </>\n        ); }}</For>\n      </Stack>\n    </Stack>\n  );\n}\n",
      "path": "components/media-contacts.tsx",
      "target": "components/media-contacts.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "solid",
      "component"
    ]
  },
  "name": "media-contacts",
  "registryDependencies": [
    "compose",
    "lucide-icon",
    "media-list",
    "utils"
  ],
  "runtime": "solid",
  "title": "Media Contacts",
  "type": "registry:component"
}
