{
  "component": {
    "id": "gantt-chart",
    "name": "Gantt chart",
    "tier": "pro",
    "exampleId": "gantt-chart",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/gantt-chart-demo.tsx",
    "exportName": "GanttChartDemo",
    "sha256": "ce4efc51746569d5971fc68f938cfdd8e6cb508925ef7199e9b0df867a347803",
    "helperImports": [],
    "directComponentImports": [
      "gantt-chart"
    ],
    "sampleBoundary": "Existing local demo fixture with fictional data and callbacks. No live service, customer data, access key, or Pro source is included."
  },
  "install": {
    "command": "npx shadcn@latest add @tidal-pro/gantt-chart",
    "registryUrl": "https://tidalui.com/r/pro/gantt-chart.json",
    "namespace": "@tidal-pro",
    "access": "pro",
    "sourceDelivery": "server-gated",
    "requiresAuthorization": true,
    "tokenSource": "local-env",
    "tokenEnvName": "TIDALUI_TOKEN",
    "cli": {
      "package": "shadcn",
      "requested": "latest"
    }
  },
  "installPlan": [
    {
      "order": 1,
      "kind": "primary",
      "dependency": "@tidal-pro/gantt-chart",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/gantt-chart",
      "registryUrl": "https://tidalui.com/r/pro/gantt-chart.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/gantt-chart.tsx",
    "exports": [
      "TidalGanttChart",
      "TidalGanttTask"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/gantt-chart.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "gantt-chart"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/gantt-chart.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/gantt-chart.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "\"use client\";\n\nimport \"./components/ui/tidal.css\";\n\nimport { useState } from \"react\";\n\nimport { TidalGanttChart, type TidalGanttTask } from \"./components/ui/gantt-chart\";\n\nimport \"./components/ui/gantt-chart.css\";\n\n\n\nexport const sampleTasks: readonly TidalGanttTask[] = [\n  {\n    id: \"research\",\n    label: \"Research & planning\",\n    start: \"2026-10-05\",\n    end: \"2026-10-09\",\n    detail: \"Review the customer interviews and agree on the launch scope.\",\n  },\n  {\n    id: \"design\",\n    label: \"Design system\",\n    start: \"2026-10-08\",\n    end: \"2026-10-16\",\n    detail: \"Prepare the shared components and responsive screen layouts.\",\n    dependencies: [\"research\"],\n  },\n  {\n    id: \"build\",\n    label: \"Product development\",\n    start: \"2026-10-14\",\n    end: \"2026-10-27\",\n    detail: \"Implement the agreed flows with the shared design system.\",\n    dependencies: [\"design\"],\n  },\n  {\n    id: \"review\",\n    label: \"Quality review\",\n    start: \"2026-10-23\",\n    end: \"2026-10-29\",\n    detail: \"Test the main customer journeys on desktop and mobile.\",\n    dependencies: [\"build\"],\n  },\n  {\n    id: \"launch\",\n    label: \"Launch\",\n    start: \"2026-10-30\",\n    end: \"2026-10-30\",\n    detail: \"Publish the reviewed release.\",\n    dependencies: [\"review\"],\n  },\n];\n\nexport function GanttChartDemo() {\n  const [selected, setSelected] = useState<string | null>(\"design\");\n  return (\n    <TidalGanttChart\n      title=\"Website launch\"\n      description=\"Select a task to inspect its dates and dependencies.\"\n      tasks={sampleTasks}\n      selectedId={selected}\n      onSelectedChange={setSelected}\n      formatDate={(date) =>\n        new Intl.DateTimeFormat(\"en\", {\n          month: \"short\",\n          day: \"numeric\",\n          timeZone: \"UTC\",\n        }).format(new Date(`${date}T00:00:00Z`))\n      }\n      referenceDate=\"2026-10-15\"\n      referenceLabel=\"Review date\"\n    />\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <GanttChartDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/gantt-chart.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "selectedId",
      "type": "inferred-from-existing-demo",
      "initial": "\"design\"",
      "setter": "setSelected",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onSelectedChange",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    }
  ],
  "nativeForm": {
    "participates": false,
    "names": [],
    "expectedFormData": {},
    "submitBehavior": "No form submit is present in the existing demo.",
    "resetBehavior": "No reset control is present in the existing demo.",
    "disabledBehavior": "Disabled controls remain excluded from successful native form submission.",
    "readOnlyBehavior": "Read-only controls retain their value and remain inspectable by the consumer."
  },
  "accessibility": {
    "labelSource": "Consumer-provided label remains required where the component API requires one.",
    "semantics": "Preserve the component's native element and the semantics demonstrated by the source fixture.",
    "keyboard": [
      "Tab and Shift+Tab",
      "Enter or Space for native activation",
      "Arrow keys where the component exposes a composite control"
    ],
    "focusReturn": "Preserve browser focus order and visible focus.",
    "errorAnnouncement": "The existing error or alert path remains consumer-owned and should be announced by the rendered semantics.",
    "reducedMotion": "Verify prefers-reduced-motion with the existing component transition path.",
    "forcedColors": "Verify visible borders, text, and focus in forced-colors mode."
  },
  "responsive": {
    "widths": [
      320,
      390,
      768,
      1260
    ],
    "shortViewport": "Check the example at a 300px viewport height with keyboard or portal content visible.",
    "overflow": "The page should not gain horizontal overflow; component-local scrolling must remain intentional.",
    "touchTargetMinPx": 44,
    "coarseInputFontPx": 16
  },
  "errors": [
    {
      "fixture": "Exercise the existing demo's error, empty, loading, or invalid fixture.",
      "visibleResult": "The consumer-visible result must remain explicit and must not be replaced by a silent console error.",
      "focusResult": "Focus must remain on the triggering control or move to the announced error according to the native pattern.",
      "ownership": "Consumer-owned sample state only; no network request or customer data is used."
    }
  ],
  "verification": {
    "commands": [
      "npx tsc --noEmit",
      "npx vite build"
    ],
    "lockfile": "Use the consumer project's committed lockfile.",
    "browser": [
      "Chromium 1260x800",
      "Chromium 390x844",
      "Keyboard and reduced-motion pass"
    ]
  },
  "validation": {
    "consumerFixture": {
      "tsc": "pass",
      "viteBuild": "pass",
      "resourceModel": "Generated usage plus only the component files and CSS delivered by the primary item and listed registry dependencies."
    },
    "registryArtifact": "server-gated"
  },
  "exceptions": []
}
