{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-locations-planning-context-3",
  "type": "registry:block",
  "title": "Planning context",
  "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/locations-planning-context-3.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/locations-planning-context-3.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/locations.tsx:180.\nimport { useState } from \"react\";\nimport { TeamWorkload } from \"./runtime/registry/overtrue/team-workload\";\nimport { workload } from \"./runtime/data/workspace/operations\";\nimport { SceneCard, FilterTabs } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample({ id = \"maps\" }: { id?: string } = {}) {\n  const [view, setView] = useState(\"Team locations\");\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page={id}>\n        <SceneCard title=\"Planning context\">\n          <FilterTabs\n            items={[\"Team locations\", \"Capacity\"]}\n            value={view}\n            onChange={setView}\n          />\n          {view === \"Capacity\" ? (\n            <TeamWorkload members={workload.slice(0, 3)} />\n          ) : (\n            <p>\n              Keep reviews within each contributor’s working hours. Confirm the\n              proposed time with the project team before sending an invitation.\n            </p>\n          )}\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/locations-planning-context-3. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
