{
  "component": {
    "id": "transfer-list",
    "name": "Transfer list",
    "tier": "pro",
    "exampleId": "transfer-list",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/transfer-list-demo.tsx",
    "exportName": "TransferListDemo",
    "sha256": "36b7e4e6d4415fe02f52265863ff3e64127727da7701d79861d720f0f683a6fd",
    "helperImports": [],
    "directComponentImports": [
      "transfer-list"
    ],
    "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/transfer-list",
    "registryUrl": "https://tidalui.com/r/pro/transfer-list.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/transfer-list",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/transfer-list",
      "registryUrl": "https://tidalui.com/r/pro/transfer-list.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/transfer-list.tsx",
    "exports": [
      "TidalTransferItem",
      "TidalTransferList"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/transfer-list.css",
      "components/ui/checkbox.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [
      "https://tidalui.com/r/tidal-button.json",
      "@tidal-pro/checkbox"
    ],
    "additionalRegistry": [],
    "installClosure": [
      "checkbox",
      "tidal-button",
      "transfer-list"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/transfer-list.css",
      "components/ui/checkbox.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/transfer-list.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/transfer-list-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useState } from \"react\";\n\nimport { TidalTransferList, type TidalTransferItem } from \"./components/ui/transfer-list\";\n\nimport \"./components/ui/transfer-list.css\";\n\nimport \"./components/ui/checkbox.css\";\n\n\n\nconst tidalExampleStyles = \".tidal-scope .transfer-list-demo {\\n  display: grid;\\n  width: 100%;\\n  max-width: 900px;\\n  min-width: 0;\\n  gap: 14px;\\n}\\n\\n.tidal-scope .transfer-list-demo-status {\\n  min-width: 0;\\n  min-height: 22px;\\n  color: var(--t-muted);\\n  font-size: 11px;\\n  line-height: 1.5;\\n  overflow-wrap: anywhere;\\n}\";\n\nconst INITIAL_AVAILABLE: readonly TidalTransferItem[] = [\n  {\n    id: \"kickoff-notes\",\n    label: \"Kickoff notes\",\n    description: \"Decisions and open questions from the first review.\",\n  },\n  {\n    id: \"research-summary\",\n    label: \"Research summary\",\n    description: \"Interview themes and supporting observations.\",\n  },\n  {\n    id: \"brand-checklist\",\n    label: \"Brand checklist\",\n    description: \"Approved names, marks and editorial rules.\",\n  },\n  {\n    id: \"budget-approval\",\n    label: \"Budget approval\",\n    description: \"Locked while finance completes its review.\",\n    disabled: true,\n  },\n];\n\nconst INITIAL_PACKET: readonly TidalTransferItem[] = [\n  {\n    id: \"launch-brief\",\n    label: \"Launch brief\",\n    description: \"Audience, rollout sequence and owner notes.\",\n  },\n  {\n    id: \"accessibility-audit\",\n    label: \"Accessibility audit\",\n    description: \"Keyboard and screen-reader findings.\",\n  },\n];\n\nexport function TransferListDemo() {\n  const [available, setAvailable] = useState<TidalTransferItem[]>([\n    ...INITIAL_AVAILABLE,\n  ]);\n  const [packet, setPacket] = useState<TidalTransferItem[]>([\n    ...INITIAL_PACKET,\n  ]);\n  const [availableSelected, setAvailableSelected] = useState<string[]>([\n    \"research-summary\",\n  ]);\n  const [packetSelected, setPacketSelected] = useState<string[]>([]);\n  const [status, setStatus] = useState(\n    \"Sample records change only in this preview.\",\n  );\n\n  function move(\n    ids: readonly string[],\n    direction: \"to-packet\" | \"to-available\",\n  ) {\n    const source = direction === \"to-packet\" ? available : packet;\n    const moved = source.filter((item) => ids.includes(item.id));\n    if (!moved.length) return;\n\n    if (direction === \"to-packet\") {\n      setAvailable(source.filter((item) => !ids.includes(item.id)));\n      setPacket((current) => [...current, ...moved]);\n      setAvailableSelected([]);\n    } else {\n      setPacket(source.filter((item) => !ids.includes(item.id)));\n      setAvailable((current) => [...current, ...moved]);\n      setPacketSelected([]);\n    }\n\n    setStatus(\n      `${moved.length} ${moved.length === 1 ? \"record\" : \"records\"} moved ${\n        direction === \"to-packet\" ? \"into the release packet\" : \"to available\"\n      }. Local sample only.`,\n    );\n  }\n\n  return (\n    <div className=\"transfer-list-demo\">\n      <TidalTransferList\n        label=\"Release packet documents\"\n        sourceLabel=\"Available\"\n        destinationLabel=\"Release packet\"\n        sourceItems={available}\n        destinationItems={packet}\n        sourceSelectedIds={availableSelected}\n        destinationSelectedIds={packetSelected}\n        onSourceSelectionChange={(ids) => setAvailableSelected([...ids])}\n        onDestinationSelectionChange={(ids) => setPacketSelected([...ids])}\n        onMoveToDestination={(ids) => move(ids, \"to-packet\")}\n        onMoveToSource={(ids) => move(ids, \"to-available\")}\n        labels={{\n          moveSelectedToDestination: \"Add selected\",\n          moveAllToDestination: \"Add all\",\n          moveSelectedToSource: \"Remove selected\",\n          moveAllToSource: \"Remove all\",\n          actions: \"Release packet actions\",\n        }}\n      />\n      <output className=\"transfer-list-demo-status\" aria-live=\"polite\">\n        {status}\n      </output>\n    </div>\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <style>{tidalExampleStyles}</style>\n      <TransferListDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/transfer-list.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "sourceItems",
      "type": "inferred-from-existing-demo",
      "initial": "[\n    ...INITIAL_AVAILABLE,\n  ]",
      "setter": "setAvailable",
      "proposalCanBeRejected": false
    },
    {
      "prop": "destinationItems",
      "type": "inferred-from-existing-demo",
      "initial": "[\n    ...INITIAL_PACKET,\n  ]",
      "setter": "setPacket",
      "proposalCanBeRejected": false
    },
    {
      "prop": "sourceSelectedIds",
      "type": "inferred-from-existing-demo",
      "initial": "[\n    \"research-summary\",\n  ]",
      "setter": "setAvailableSelected",
      "proposalCanBeRejected": false
    },
    {
      "prop": "destinationSelectedIds",
      "type": "inferred-from-existing-demo",
      "initial": "[]",
      "setter": "setPacketSelected",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onDestinationSelectionChange",
      "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."
    },
    {
      "name": "onMoveToDestination",
      "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."
    },
    {
      "name": "onMoveToSource",
      "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."
    },
    {
      "name": "onSourceSelectionChange",
      "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": "Existing demo label or ARIA prop",
    "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": "No error announcement path is present in this demo; the consumer owns validation messaging.",
    "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": []
}
