{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "gantt-timeline-fixtures",
  "title": "Gantt Timeline — fixtures",
  "author": "ilinxa",
  "description": "Gantt Timeline plus the dummy-data fixtures used by the docs-site demo.",
  "registryDependencies": [
    "@ilinxa/gantt-timeline"
  ],
  "files": [
    {
      "path": "src/registry/components/data/gantt-timeline/dummy-data.ts",
      "content": "import type {\n  TaskItem,\n  TaskLabelOption,\n  TaskPriorityOption,\n  TaskStatusOption,\n} from \"./types\";\n\n/* ───────── shared color/label language (reused by the demo) ───────── */\n\nexport const GANTT_STATUS_OPTIONS: TaskStatusOption[] = [\n  { value: \"todo\", label: \"To do\", tone: \"active\", variant: \"outline\" },\n  { value: \"in-progress\", label: \"In progress\", tone: \"active\", variant: \"secondary\" },\n  { value: \"blocked\", label: \"Blocked\", tone: \"blocked\", variant: \"destructive\", icon: \"⛔\" },\n  { value: \"done\", label: \"Done\", tone: \"done\", variant: \"secondary\", icon: \"✓\" },\n];\n\nexport const GANTT_PRIORITY_OPTIONS: TaskPriorityOption[] = [\n  { value: \"low\", label: \"Low\", color: \"var(--muted-foreground)\" },\n  { value: \"high\", label: \"High\", color: \"var(--destructive)\" },\n];\n\nexport const GANTT_LABEL_OPTIONS: TaskLabelOption[] = [\n  { value: \"design\", label: \"Design\", color: \"#0ea5e9\" },\n  { value: \"frontend\", label: \"Frontend\", color: \"#10b981\" },\n  { value: \"backend\", label: \"Backend\", color: \"#f59e0b\" },\n  { value: \"qa\", label: \"QA\", color: \"#ef4444\" },\n];\n\n/* ───────── a deep tree exercising every visual state ─────────\n * Dated around 2026-06; \"now\" lands mid-June so a blocked past-due bar is\n * overdue, an in-flight bar straddles today, and the launch is a future\n * milestone. Covers: summary roll-up, done/blocked/active tones, overdue,\n * milestone (no end), duration-based bar, inactive, locked, borderColor\n * override, priorities + labels. */\n\nexport const GANTT_DUMMY: TaskItem[] = [\n  {\n    id: \"epic-1\",\n    name: \"Q3 product launch\",\n    status: \"in-progress\",\n    active: true,\n    setAt: \"2026-06-01T09:00:00.000Z\",\n    startAt: \"2026-06-02T09:00:00.000Z\",\n    expireAt: \"2026-07-10T17:00:00.000Z\",\n    targetPerson: { id: \"u1\", name: \"Ava Stone\" },\n    priority: \"high\",\n    labels: [\"design\"],\n    children: [\n      {\n        id: \"t-1\",\n        name: \"Design system audit\",\n        status: \"done\",\n        active: true,\n        setAt: \"2026-06-02T09:00:00.000Z\",\n        startAt: \"2026-06-02T09:00:00.000Z\",\n        expireAt: \"2026-06-09T17:00:00.000Z\",\n        targetPerson: { id: \"u2\", name: \"Leo Park\" },\n        labels: [\"design\"],\n      },\n      {\n        id: \"t-2\",\n        name: \"Build component library\",\n        status: \"in-progress\",\n        active: true,\n        setAt: \"2026-06-08T09:00:00.000Z\",\n        startAt: \"2026-06-08T09:00:00.000Z\",\n        expireAt: \"2026-06-28T17:00:00.000Z\",\n        targetPerson: { id: \"u2\", name: \"Leo Park\" },\n        priority: \"high\",\n        labels: [\"design\", \"frontend\"],\n        children: [\n          {\n            id: \"t-2a\",\n            name: \"Buttons + inputs\",\n            status: \"done\",\n            active: true,\n            setAt: \"2026-06-08T09:00:00.000Z\",\n            expireAt: \"2026-06-14T17:00:00.000Z\",\n          },\n          {\n            id: \"t-2b\",\n            name: \"Data table\",\n            status: \"in-progress\",\n            active: true,\n            setAt: \"2026-06-15T09:00:00.000Z\",\n            expireAt: \"2026-06-25T17:00:00.000Z\",\n            priority: \"high\",\n          },\n        ],\n      },\n      {\n        id: \"t-3\",\n        name: \"API contract sign-off\",\n        status: \"todo\",\n        active: true,\n        setAt: \"2026-06-26T09:00:00.000Z\",\n        labels: [\"backend\"],\n      },\n    ],\n  },\n  {\n    id: \"epic-2\",\n    name: \"Infrastructure hardening\",\n    status: \"in-progress\",\n    active: true,\n    setAt: \"2026-06-05T09:00:00.000Z\",\n    startAt: \"2026-06-05T09:00:00.000Z\",\n    expireAt: \"2026-07-01T17:00:00.000Z\",\n    targetPerson: { id: \"u3\", name: \"Mei Chen\" },\n    children: [\n      {\n        id: \"t-4\",\n        name: \"Migrate to new cluster\",\n        status: \"blocked\",\n        active: true,\n        setAt: \"2026-06-05T09:00:00.000Z\",\n        startAt: \"2026-06-05T09:00:00.000Z\",\n        expireAt: \"2026-06-15T17:00:00.000Z\",\n        priority: \"high\",\n        labels: [\"backend\"],\n      },\n      {\n        id: \"t-5\",\n        name: \"Load testing\",\n        status: \"todo\",\n        active: true,\n        setAt: \"2026-06-20T09:00:00.000Z\",\n        duration: 5 * 86_400_000,\n        labels: [\"qa\"],\n      },\n      {\n        id: \"t-6\",\n        name: \"Decommission legacy stack\",\n        status: \"todo\",\n        active: false,\n        setAt: \"2026-07-01T09:00:00.000Z\",\n        expireAt: \"2026-07-05T17:00:00.000Z\",\n        locked: true,\n      },\n    ],\n  },\n  {\n    id: \"t-7\",\n    name: \"Marketing site refresh\",\n    status: \"in-progress\",\n    active: true,\n    setAt: \"2026-06-10T09:00:00.000Z\",\n    startAt: \"2026-06-10T09:00:00.000Z\",\n    expireAt: \"2026-06-30T17:00:00.000Z\",\n    borderColor: \"#0ea5e9\",\n    targetPerson: { id: \"u4\", name: \"Sam Reed\" },\n    labels: [\"design\"],\n  },\n  {\n    id: \"m-1\",\n    name: \"Public launch\",\n    status: \"todo\",\n    active: true,\n    setAt: \"2026-07-10T09:00:00.000Z\",\n  },\n];\n\n// @ilinxa/gantt-timeline-fixtures 0.7.2\n",
      "type": "registry:component",
      "target": "components/gantt-timeline/dummy-data.ts"
    }
  ],
  "meta": {
    "version": "0.7.2",
    "status": "alpha"
  },
  "categories": [
    "data",
    "task-management",
    "fixtures"
  ],
  "type": "registry:block"
}