{"_id":"@alphinex/charts","_rev":"12-fac9e5913931bfe92316761f1c3a1143","name":"@alphinex/charts","dist-tags":{"latest":"1.1.8"},"versions":{"1.0.0":{"name":"@alphinex/charts","version":"1.0.0","license":"UNLICENSED","_id":"@alphinex/charts@1.0.0","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"e9ca6a6eaa1c3d6ee3d78246d15abaa38ce823b9","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.0.0.tgz","fileCount":5,"integrity":"sha512-OLZIBoKhsN1qP9bHanNvHmw6OzcY1snkEJYC0PY2b2hi17DBQkAUbrl4cgfFfsKz8Yzkij0vM/xTePZgWpFOew==","signatures":[{"sig":"MEUCIQDupDXm1mAXmd0PtO9GEwBm6qPUIn/SzucsLJsuBgxpHgIgGEczNIoQmx6trzIScQ7GtdDW+RLRQzA9nZIq0N3GvAU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31220},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"1.0.0","@alphinex/core":"1.0.0","@alphinex/theme":"1.0.0","@alphinex/utils":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.0.0_1785852478882_0.6765117842138604","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@alphinex/charts","version":"1.0.1","license":"UNLICENSED","_id":"@alphinex/charts@1.0.1","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"297037ad3018516d2a624262d439f0296df5aa11","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.0.1.tgz","fileCount":5,"integrity":"sha512-oLjAK4j6k2wO30fzuP47alXeeterMSREB95jv8GLybEMMqoM79ktj9wKJUPH2MzSPly38r8T/MLWB0FP8Ql1Dg==","signatures":[{"sig":"MEQCIByxGcFsapLM494/StisBi/e9la1Fp7fw0cRsy106zTwAiAzvfFLFV5/4xcd8ACuKSQRyRha/jol9TMlUhOqjyy/Lg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31220},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"2.0.0","@alphinex/core":"1.0.0","@alphinex/theme":"1.1.0","@alphinex/utils":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.0.1_1785858426080_0.8343313197959144","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@alphinex/charts","version":"1.0.2","license":"UNLICENSED","_id":"@alphinex/charts@1.0.2","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"66203e2a0aec468c795d247ad1f127608b5fac0d","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.0.2.tgz","fileCount":5,"integrity":"sha512-C49TDXQohkIh2c00igwO9SMrfjMtPXoUzINLSHkOR0zuVAbPysAXqc9KwwbLJeVL3V3H6Qe3gqUNodvgI8mKZQ==","signatures":[{"sig":"MEQCIFuxOC2C7ogBuRzuDp2H8c56K6gFDkQ4Iw2pXbabbcYCAiAWqkMvsD3IXwCrJWopZxRQuTx2DnuTbVjzwj5U/6Uyvg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31220},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"2.1.0","@alphinex/core":"1.0.0","@alphinex/theme":"1.1.0","@alphinex/utils":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.0.2_1785896122377_0.26620412005527183","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@alphinex/charts","version":"1.1.0","license":"UNLICENSED","_id":"@alphinex/charts@1.1.0","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"01950414ae1bb89d05743b572153ae5eb9e650a5","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.1.0.tgz","fileCount":5,"integrity":"sha512-nXBGM8ZakTceNaLV9CqlYDryPPhrMgs8fcmh8sJJj55smOf0gsq1PD1ug0/LC3sEeii2gweiXyRGo+T88lEQVQ==","signatures":[{"sig":"MEQCIAtc4MGBgK+o4RfeQsetTi9f0bob55GSzeWpGVPKYogrAiAjbXqX/zHdiy6w4ipgFF1LPRhUWrRFpjah0TIipG8h/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64746},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"2.1.0","@alphinex/core":"1.0.0","@alphinex/theme":"1.1.0","@alphinex/utils":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.1.0_1785919545120_0.9190542590333657","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@alphinex/charts","version":"1.1.1","license":"UNLICENSED","_id":"@alphinex/charts@1.1.1","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"208ddbf95fa5c6f14ec277a82edf4e10a8087ab9","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.1.1.tgz","fileCount":5,"integrity":"sha512-tw/GHvyjNDzFnj7FWj07TE1XsVqES3h58Z2pXkYTpE7gAqbjzN36dRf7V5HHpbxH1t8mOy7l28p8VJBMZ20SuQ==","signatures":[{"sig":"MEUCIQDMBHDD7bTOXA6+JL1A7PzksSGG8g7JBLgrT0rQFbms3AIgOfaU3RpPskeVd0iokI3mQYntjgMEr+7XcJiQwT1pwEA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64746},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"2.1.1","@alphinex/core":"1.0.0","@alphinex/theme":"1.1.0","@alphinex/utils":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.1.1_1785938261237_0.433911393048916","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@alphinex/charts","version":"1.1.2","license":"UNLICENSED","_id":"@alphinex/charts@1.1.2","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"5cc64c9d43f2b3043294890ec216f2f75f2296b3","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.1.2.tgz","fileCount":5,"integrity":"sha512-AwwNPv7WKQuUFZ3wIl6kGv56zM+NJSJ6avP93dJekX87L2eumYNBsuDabhVScYXIr3R6Mk/3J69w/d4tvUTf3w==","signatures":[{"sig":"MEQCIGSeTs6m227NPxUqrkGxdVBLFvW9VcVzTN0NSI/J53ukAiBkJKKX1YT+yBCnG+CG8OdY1DAxH6RyfO+himmf93yYwA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71152},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"2.2.0","@alphinex/core":"1.0.0","@alphinex/theme":"1.1.0","@alphinex/utils":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.1.2_1786003927558_0.5232912000900074","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@alphinex/charts","version":"1.1.3","license":"UNLICENSED","_id":"@alphinex/charts@1.1.3","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"8e52ca6886d094abbea846f3ecf0792787487df0","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.1.3.tgz","fileCount":5,"integrity":"sha512-Ruvk8Ox8HHxE5Np538pfGncoFBxRXp71aDHP+Z/ZElV/0LuXiPVz7AlwvMI5DjdAvDtNSBc2a8g/lNFLuQtwqg==","signatures":[{"sig":"MEQCIAqZj1WFYDkyUPulbeb0kFf5wjPr9uWqiRZRYoVBqsQRAiBbDALYpMvWCg9dLDj5q/6BZBbSmYJSHwOVZ2c9/YgVuQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71152},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"2.3.0","@alphinex/core":"1.0.0","@alphinex/theme":"1.1.0","@alphinex/utils":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.1.3_1786200446793_0.8927472030718611","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@alphinex/charts","version":"1.1.4","license":"UNLICENSED","_id":"@alphinex/charts@1.1.4","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"1e78ec7e62b88bb36496074a6c1e2771a785fcdf","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.1.4.tgz","fileCount":5,"integrity":"sha512-PKpJXhwHPTGoCfl2+o6xaGDud2pV74BjRwhTogvkTfSRax2W0vCAKO6uXdiwI1R1OUx8LbU7Y0g5JNMSNEKV3Q==","signatures":[{"sig":"MEQCICvu+3v0f5TzvqY0fe9R/tsKiDo+D8PjRlhBKM6Q+HYlAiAj61W6Fkim2f0lOvTQbA4r747su4XT1GSTdOcZrknvjw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71152},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"2.4.0","@alphinex/core":"1.0.0","@alphinex/theme":"1.1.0","@alphinex/utils":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.1.4_1786218404456_0.8512581729038413","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@alphinex/charts","version":"1.1.5","license":"UNLICENSED","_id":"@alphinex/charts@1.1.5","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"2f46687734d952dfd3ce156a4dc01276ebbcb27c","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.1.5.tgz","fileCount":5,"integrity":"sha512-Lut8IoyrBs/RDwZOWOJgzwwwGC6mU1iy8uFXNYD+CiACPnc/w0vXJGeF2LMsZYwBU/1jyrDyeUyvYLsFCJT65g==","signatures":[{"sig":"MEUCIQDzuNRtp+vF78r5Jh7kXm6nlEA7YpMa2vidsuYJYCa3pgIgMvTFj7ehm/3P/ZH0OXarJZqmpuVw6rI2Ty6r8uvAxfs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71152},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"2.5.0","@alphinex/core":"1.0.0","@alphinex/theme":"1.1.0","@alphinex/utils":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.1.5_1786273315765_0.5825983923916997","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@alphinex/charts","version":"1.1.6","license":"UNLICENSED","_id":"@alphinex/charts@1.1.6","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"784f744d2d319da6cc5d5b5d32f682322800dc99","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.1.6.tgz","fileCount":5,"integrity":"sha512-UT1p0jLOycisMq0ZIfxFJ8b4lZ0K6ZlL+h06/vR5l0ozxtWqF9q9xZdsDuZnyLnq0fd2gZz9sMBaZ+FbQQhNrg==","signatures":[{"sig":"MEQCIEv2SKrZb+HCKU34kVibWjonenUqGPUKc9Z3ILo50UN/AiBug9v1N6hpe3/9KUgQHwUaIHfi7woiQEzuToKnRvPbKQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71152},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"2.5.1","@alphinex/core":"1.0.0","@alphinex/theme":"1.1.0","@alphinex/utils":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.1.6_1786298612471_0.3947219497393477","host":"s3://npm-registry-packages-npm-production"}},"1.1.7":{"name":"@alphinex/charts","version":"1.1.7","license":"UNLICENSED","_id":"@alphinex/charts@1.1.7","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"dist":{"shasum":"a62bc9d82de257f3447e17d31fe714efa7c5ddb5","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.1.7.tgz","fileCount":5,"integrity":"sha512-OeE9Lw12Dwcz0irORZpCRASnMuiWaLpqFLg3nR1C/DcFW3kow1b/4bYewAjS+NFROSNwOBvaIpUExSWZt+S53w==","signatures":[{"sig":"MEUCIQDR3JvCrKncrrtYuvG7kShqYccKhEoHXnBIqvWcnS+Q4AIgD/xdZhdUI/kst5pWOxYZQFD4NJWONxXTikvxKsfsCcc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71152},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"vite build --watch","lint":"eslint .","test":"vitest run","build":"vite build","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"recharts":"^3.10.1","@alphinex/ui":"2.6.0","@alphinex/core":"1.0.0","@alphinex/theme":"1.1.0","@alphinex/utils":"1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","jsdom":"^25.0.1","react":"^19.0.0","eslint":"^9.17.0","vitest":"^2.1.8","react-dom":"^19.0.0","typescript":"^5.7.2","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@vitejs/plugin-react":"^4.3.4","@alphinex/build-config":"0.0.0","@testing-library/react":"^16.1.0","@alphinex/eslint-config":"0.0.0","@testing-library/jest-dom":"^6.6.3","@alphinex/typescript-config":"0.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/charts_1.1.7_1786525482435_0.8949954992280111","host":"s3://npm-registry-packages-npm-production"}},"1.1.8":{"name":"@alphinex/charts","version":"1.1.8","private":false,"description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","license":"UNLICENSED","type":"module","sideEffects":false,"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"dependencies":{"recharts":"^3.10.1","@alphinex/theme":"1.1.0","@alphinex/core":"1.0.0","@alphinex/utils":"1.1.0","@alphinex/ui":"2.7.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"devDependencies":{"typescript":"^5.7.2","vite":"^6.0.5","vitest":"^2.1.8","react":"^19.0.0","react-dom":"^19.0.0","@types/react":"^19.0.2","@types/react-dom":"^19.0.2","@testing-library/react":"^16.1.0","@testing-library/jest-dom":"^6.6.3","@vitejs/plugin-react":"^4.3.4","jsdom":"^25.0.1","eslint":"^9.17.0","@alphinex/build-config":"0.0.0","@alphinex/eslint-config":"0.0.0","@alphinex/typescript-config":"0.0.0"},"scripts":{"build":"vite build","dev":"vite build --watch","lint":"eslint .","typecheck":"tsc --noEmit","test":"vitest run","clean":"rimraf dist .turbo"},"_nodeVersion":"22.14.0","_id":"@alphinex/charts@1.1.8","dist":{"integrity":"sha512-4nr0SIyluI+tVJzBx1cshwwg0E4J6YBXha0+ecyVQxgQdOxPKTEK4whh9K/cPVtZjTBTwWS5ndCztaY6ybWBNA==","shasum":"e0752a0fce6df8cec97885a7b0b62b792040effa","tarball":"https://registry.npmjs.org/@alphinex/charts/-/charts-1.1.8.tgz","fileCount":5,"unpackedSize":71152,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDyw9jCqi8MPB2z7P6EUBPindOl6ZsNFXr/NYGGZOz1CAIhAKM2V41ScAJsDyhtpPkxc5AVR3ECNU0sO5WLs2Lqimka"}]},"_npmUser":{"name":"anasaliqureshi","email":"anas@alphinex.com"},"directories":{},"maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/charts_1.1.8_1786546531156_0.9309525687818556"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-04T14:07:58.769Z","modified":"2026-08-12T14:55:31.464Z","1.0.0":"2026-08-04T14:07:59.022Z","1.0.1":"2026-08-04T15:47:06.230Z","1.0.2":"2026-08-05T02:15:22.531Z","1.1.0":"2026-08-05T08:45:45.273Z","1.1.1":"2026-08-05T13:57:41.381Z","1.1.2":"2026-08-06T08:12:07.718Z","1.1.3":"2026-08-08T14:47:26.931Z","1.1.4":"2026-08-08T19:46:44.594Z","1.1.5":"2026-08-09T11:01:55.941Z","1.1.6":"2026-08-09T18:03:32.623Z","1.1.7":"2026-08-12T09:04:42.574Z","1.1.8":"2026-08-12T14:55:31.307Z"},"license":"UNLICENSED","description":"Theme-aware chart system (adapter pattern over an underlying charting primitive).","maintainers":[{"name":"anasaliqureshi","email":"anas@alphinex.com"}],"readme":"# @alphinex/charts\n\nTheme-aware chart components built on [Recharts](https://recharts.org/), sharing one set of design\ntokens (`chartTokens.ts`) so every chart in the platform renders with the same grid, axis, tooltip,\nand 8-slot categorical palette regardless of which chart type it is. Series colors, chrome (grid/axis\nink), and status colors all come from CSS variables set by `@alphinex/theme`'s `ThemeProvider`, so\ncharts repaint automatically on theme/mode change without re-rendering.\n\n## Cartesian charts: LineChart, BarChart, AreaChart, ComboChart\n\n`LineChart`, `BarChart`, and `AreaChart` all share the same `BaseChartProps<TData>` shape: `data`,\na `series` array of `{ dataKey, name?, color? }`, and `xKey` naming the field used for the x-axis.\nLegend is shown automatically once there's more than one series (override with `showLegend`).\n`ComboChart` is the odd one out — its `series` entries also carry a `kind: \"bar\" | \"line\" | \"area\"`\nso you can mix marks (e.g. actuals as bars, target as a line) sharing one x-axis:\n\n```tsx\nimport { BarChart, ComboChart, type ChartSeriesConfig } from \"@alphinex/charts\";\n\nconst data = [\n  { month: \"Jan\", revenue: 42000, target: 40000 },\n  { month: \"Feb\", revenue: 45500, target: 42000 },\n  { month: \"Mar\", revenue: 51000, target: 44000 },\n];\n\nfunction RevenueChart() {\n  return (\n    <BarChart\n      data={data}\n      series={[{ dataKey: \"revenue\", name: \"Revenue\" }]}\n      xKey=\"month\"\n      height={280}\n    />\n  );\n}\n\nfunction RevenueVsTargetChart() {\n  return (\n    <ComboChart\n      data={data}\n      series={[\n        { dataKey: \"revenue\", name: \"Revenue\", kind: \"bar\" },\n        { dataKey: \"target\", name: \"Target\", kind: \"line\" },\n      ]}\n      xKey=\"month\"\n      annotations={[{ id: \"goal\", value: 50000, label: \"Q1 goal\" }]}\n    />\n  );\n}\n```\n\n`annotations` (a `ChartAnnotation[]`) draws reference lines/points over any Cartesian chart —\nthresholds, targets, or events — independent of the data series themselves.\n\n## PieChart, ScatterChart, RadarChart, Sparkline\n\nThe remaining chart types don't fit the `series`/`xKey` shape and take their own props:\n\n| Component      | Props                                                                                                    | Notes                                                                                                                     |\n| -------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |\n| `PieChart`     | `data`, `dataKey`, `nameKey`, `showLegend?`, `height?`                                                   | One ring, categorical colors assigned per slice by index.                                                                 |\n| `ScatterChart` | `series: ScatterSeriesConfig[]` (each with `data: ScatterPoint[]`), `xLabel?`, `yLabel?`, `annotations?` | A point's optional `z` renders as bubble radius (bubble chart).                                                           |\n| `RadarChart`   | Same `BaseChartProps` shape as the Cartesian charts (minus `annotations`)                                | `xKey` names the per-axis subject field for the polar comparison.                                                         |\n| `Sparkline`    | `data`, `dataKey`, `variant?: \"line\" \\| \"area\"`, `color?`, `height?` (default `32`), `width?`            | Chrome-less — no axes/grid/legend/tooltip. Built for inline use in a `StatCard` or table cell, not as a standalone chart. |\n\n```tsx\nimport { PieChart, Sparkline } from \"@alphinex/charts\";\n\n<PieChart\n  data={[\n    { channel: \"Organic\", visits: 4200 },\n    { channel: \"Paid\", visits: 1800 },\n    { channel: \"Referral\", visits: 900 },\n  ]}\n  dataKey=\"visits\"\n  nameKey=\"channel\"\n/>\n\n<Sparkline data={last7Days} dataKey=\"orders\" variant=\"area\" height={28} />\n```\n\n## ChartTooltip\n\n`ChartTooltip` replaces Recharts' unstyled default tooltip with one that uses the platform's\nsurface/border/text tokens. Every chart component in this package already wires it in via\n`<Tooltip content={<ChartTooltip />} />` — you only need it directly if you're composing raw\nRecharts primitives into a custom chart:\n\n```tsx\nimport { Tooltip } from \"recharts\";\nimport { ChartTooltip } from \"@alphinex/charts\";\n\n<Tooltip content={<ChartTooltip />} />;\n```\n\n## useChartTheme\n\nExposes the same token bundle every chart component renders with — the categorical series colors,\nstatus colors, and chrome colors — for building a custom chart that still matches the platform's\npalette:\n\n```tsx\nimport { useChartTheme } from \"@alphinex/charts\";\n\nfunction CustomChart() {\n  const theme = useChartTheme();\n  const firstSeriesColor = theme.getSeriesColor(0);\n  const warningColor = theme.status.warning;\n  // ...pass into your own Recharts composition\n}\n```\n\n## useChartExport\n\nExports a chart's own rendered SVG as a `.svg` or `.png` download, using native\n`XMLSerializer`/canvas APIs (no DOM-to-image dependency — see ADR-0010). Attach `chartRef` to the\n`<div>` wrapper every chart component in this package already renders:\n\n```tsx\nimport { useChartExport, LineChart } from \"@alphinex/charts\";\n\nfunction ExportableChart() {\n  const { chartRef, exportAsPng, exportAsSvg } = useChartExport<HTMLDivElement>({\n    fileName: \"monthly-revenue\",\n  });\n\n  return (\n    <div ref={chartRef}>\n      <LineChart data={data} series={[{ dataKey: \"revenue\" }]} xKey=\"month\" />\n      <button onClick={() => exportAsPng(2)}>Export PNG</button>\n      <button onClick={exportAsSvg}>Export SVG</button>\n    </div>\n  );\n}\n```\n\n`exportAsPng(scale?)` multiplies the SVG's own pixel dimensions for higher-resolution output\n(defaults to `2`).\n\n## Chart tokens\n\n`CHART_SERIES_VARS` (the 8-slot categorical color order — never reorder it, it's the CVD-safety\nmechanism), `CHART_STATUS_COLORS` (fixed literal hex for good/warning/serious/critical, deliberately\nnot theme tokens so a status color never impersonates a series), `CHART_CHROME` (grid/axis/tick/ink/\nsurface, reusing `@alphinex/theme` semantic tokens), and `getSeriesColor(index)` (the `index % 8`\nfallback every chart component uses internally) are all exported for building custom charts or\nlegends that need to match:\n\n```ts\nimport { getSeriesColor, CHART_STATUS_COLORS } from \"@alphinex/charts\";\n\nconst seriesColor = getSeriesColor(2);\nconst criticalColor = CHART_STATUS_COLORS.critical;\n```\n\nSee [documentation/ARCHITECTURE.md](../../documentation/ARCHITECTURE.md) for the full package contract, dependency rules, and roadmap placement.\n","readmeFilename":""}