{
  "component": {
    "id": "bar-chart",
    "name": "Bar chart",
    "tier": "pro",
    "exampleId": "bar-chart",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/bar-chart-demo.tsx",
    "exportName": "BarChartDemo",
    "sha256": "db8980ae09cf1b5f856a6c3afc08452531249c57a074f74c990309007f2f2684",
    "helperImports": [],
    "directComponentImports": [
      "bar-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/bar-chart",
    "registryUrl": "https://tidalui.com/r/pro/bar-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/bar-chart",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/bar-chart",
      "registryUrl": "https://tidalui.com/r/pro/bar-chart.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/bar-chart.tsx",
    "exports": [
      "TidalBarChart"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/bar-chart.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [
      "https://tidalui.com/r/tidal-button.json"
    ],
    "additionalRegistry": [],
    "installClosure": [
      "bar-chart",
      "tidal-button"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/bar-chart.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/bar-chart.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { TidalBarChart } from \"./components/ui/bar-chart\";\n\nimport \"./components/ui/bar-chart.css\";\n\n\n\nconst format = new Intl.NumberFormat(\"en-US\", {\n  style: \"currency\",\n  currency: \"USD\",\n  maximumFractionDigits: 0,\n});\n\nexport function BarChartDemo() {\n  return (\n    <div style={{ width: \"min(100%, 600px)\", minWidth: 0 }}>\n      <TidalBarChart\n        title=\"Revenue by channel\"\n        description=\"Sample monthly revenue. Select a channel to inspect its values.\"\n        series={[\n          { id: \"current\", label: \"This month\" },\n          { id: \"previous\", label: \"Last month\" },\n        ]}\n        data={[\n          {\n            id: \"search\",\n            label: \"Search\",\n            values: { current: 24800, previous: 19200 },\n          },\n          {\n            id: \"direct\",\n            label: \"Direct\",\n            values: { current: 18600, previous: 15200 },\n          },\n          {\n            id: \"referral\",\n            label: \"Referral\",\n            values: { current: 14200, previous: 16400 },\n          },\n          {\n            id: \"social\",\n            label: \"Social\",\n            values: { current: 8400, previous: 6200 },\n          },\n        ]}\n        formatValue={(v) => format.format(v)}\n      />\n    </div>\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <BarChartDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/bar-chart.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [],
  "events": [],
  "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": "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": []
}
