{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-workspace-connections-workspace-connections-1-1",
  "type": "registry:block",
  "title": "Workspace connections 1",
  "description": "Workspace card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "workspace"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/workspace-connections-workspace-connections-1-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/workspace-connections-workspace-connections-1-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/workspace-tools.tsx:296.\nimport { DetailList } from \"./runtime/registry/overtrue/detail-list\";\nimport { SceneCard } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample({ id = \"social-icons\" }: { id?: string } = {}) {\n  const payments = id === \"payment-providers\";\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page={id}>\n        <SceneCard\n          title={payments ? \"Settlement details\" : \"Connection permissions\"}\n        >\n          <DetailList\n            items={\n              payments\n                ? [\n                    { id: \"currency\", label: \"Currency\", value: \"USD\" },\n                    {\n                      id: \"schedule\",\n                      label: \"Payout schedule\",\n                      value: \"Weekly\",\n                    },\n                    { id: \"mode\", label: \"Environment\", value: \"Test mode\" },\n                  ]\n                : [\n                    {\n                      id: \"owner\",\n                      label: \"Managed by\",\n                      value: \"Workspace admins\",\n                    },\n                    {\n                      id: \"access\",\n                      label: \"Project access\",\n                      value: \"Selected projects\",\n                    },\n                    {\n                      id: \"mode\",\n                      label: \"Environment\",\n                      value: \"Demo connections\",\n                    },\n                  ]\n            }\n          />\n          <p>\n            {payments\n              ? \"These payment settings are a local preview. No payment processor is connected.\"\n              : \"Connection changes are saved for this page preview. No external accounts are linked.\"}\n          </p>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/workspace-connections-workspace-connections-1-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
