{
  "component": {
    "id": "footer-trust",
    "name": "Trust resources footer",
    "tier": "pro",
    "exampleId": "footer-trust",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/footer-trust-demo.tsx",
    "exportName": "FooterTrustDemo",
    "sha256": "12d5e38ce24de2682bc96c62487ab2ee940f2722d960212f94adea76ac54655d",
    "helperImports": [],
    "directComponentImports": [
      "footer-trust"
    ],
    "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/footer-trust",
    "registryUrl": "https://tidalui.com/r/pro/footer-trust.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/footer-trust",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/footer-trust",
      "registryUrl": "https://tidalui.com/r/pro/footer-trust.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/footer-trust.tsx",
    "exports": [
      "TidalFooterTrust",
      "TidalFooterTrustLink",
      "TidalFooterTrustNavGroup",
      "TidalFooterTrustTopic"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/footer-trust.css",
      "components/ui/segmented-control.css",
      "components/ui/status-badge.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [
      "https://tidalui.com/r/segmented-control.json",
      "https://tidalui.com/r/status-badge.json"
    ],
    "additionalRegistry": [],
    "installClosure": [
      "footer-trust",
      "segmented-control",
      "status-badge"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/footer-trust.css",
      "components/ui/segmented-control.css",
      "components/ui/status-badge.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/footer-trust.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useState, type MouseEvent } from \"react\";\n\nimport { TidalFooterTrust, type TidalFooterTrustLink, type TidalFooterTrustNavGroup, type TidalFooterTrustTopic } from \"./components/ui/footer-trust\";\n\nimport \"./components/ui/footer-trust.css\";\n\nimport \"./components/ui/segmented-control.css\";\n\nimport \"./components/ui/status-badge.css\";\n\n\n\nfunction localLink(label: string, setStatus: (message: string) => void) {\n  return (event: MouseEvent<HTMLAnchorElement>) => {\n    if (\n      event.defaultPrevented ||\n      event.button !== 0 ||\n      event.metaKey ||\n      event.ctrlKey ||\n      event.shiftKey ||\n      event.altKey\n    ) {\n      return;\n    }\n    event.preventDefault();\n    setStatus(`${label} selected in this preview.`);\n  };\n}\n\nexport function FooterTrustDemo() {\n  const [selectedTopicId, setSelectedTopicId] = useState(\"security\");\n  const [status, setStatus] = useState(\"No preview action selected.\");\n  const topics: readonly TidalFooterTrustTopic[] = [\n    {\n      id: \"security\",\n      label: \"Security\",\n      statusLabel: \"Two documents supplied\",\n      evidence: [\n        {\n          id: \"overview\",\n          title: \"Security overview\",\n          description: \"Access, deployment and recovery practices.\",\n          href: \"#preview-security-overview\",\n          linkProps: { onClick: localLink(\"Security overview\", setStatus) },\n        },\n        {\n          id: \"access\",\n          title: \"Access-control notes\",\n          description: \"Roles and permissions across the product.\",\n          href: \"#preview-access\",\n          linkProps: { onClick: localLink(\"Access-control notes\", setStatus) },\n        },\n      ],\n    },\n    {\n      id: \"privacy\",\n      label: \"Privacy\",\n      statusLabel: \"One document supplied\",\n      evidence: [\n        {\n          id: \"handling\",\n          title: \"Data-handling summary\",\n          description: \"Data collection, retention and deletion.\",\n          href: \"#preview-data-handling\",\n          linkProps: { onClick: localLink(\"Data-handling summary\", setStatus) },\n        },\n      ],\n    },\n    {\n      id: \"review\",\n      label: \"Review\",\n      statusLabel: \"No documents supplied\",\n      status: \"warning\",\n      evidence: [],\n    },\n  ];\n  const actions: readonly TidalFooterTrustLink[] = [\n    {\n      id: \"portal\",\n      label: \"Open trust documents\",\n      href: \"#preview-trust-documents\",\n      onClick: localLink(\"Trust documents\", setStatus),\n    },\n    {\n      id: \"report\",\n      label: \"Report a vulnerability\",\n      href: \"#preview-report\",\n      onClick: localLink(\"Vulnerability report\", setStatus),\n    },\n  ];\n  const navigationGroups: readonly TidalFooterTrustNavGroup[] = [\n    {\n      id: \"policies\",\n      label: \"Policies\",\n      links: [\n        {\n          id: \"privacy\",\n          label: \"Privacy notice\",\n          href: \"#preview-privacy\",\n          onClick: localLink(\"Privacy notice\", setStatus),\n        },\n        {\n          id: \"terms\",\n          label: \"Terms\",\n          href: \"#preview-terms\",\n          onClick: localLink(\"Terms\", setStatus),\n        },\n      ],\n    },\n  ];\n\n  return (\n    <TidalFooterTrust\n      brand={\n        <a href=\"#preview-home\" onClick={localLink(\"Home\", setStatus)}>\n          Product trust\n        </a>\n      }\n      heading=\"Review our policies.\"\n      description=\"Security, privacy and access documentation.\"\n      topics={topics}\n      selectedTopicId={selectedTopicId}\n      onTopicChange={(id) => {\n        setSelectedTopicId(id);\n        setStatus(`${id} topic selected.`);\n      }}\n      actions={actions}\n      navigationGroups={navigationGroups}\n      legal={<span>Sample documents. No certification is claimed.</span>}\n      status={<span role=\"status\">{status}</span>}\n    />\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <FooterTrustDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/footer-trust.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "selectedTopicId",
      "type": "inferred-from-existing-demo",
      "initial": "\"security\"",
      "setter": "setSelectedTopicId",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onClick",
      "nativeType": "React synthetic event or native callback",
      "callerFirst": true,
      "preventable": false,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onTopicChange",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": false,
      "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": "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": "No error fixture is exposed by the existing demo; inject a consumer-owned failure state before production use.",
      "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": []
}
