@krizaka/charts 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +59 -2
  3. package/dist/bar.d.ts +17 -0
  4. package/dist/bar.js +17 -0
  5. package/dist/bar.js.map +1 -0
  6. package/dist/candlestick-IG626XL4.js +13 -0
  7. package/dist/candlestick-IG626XL4.js.map +1 -0
  8. package/dist/candlestick.d.ts +42 -0
  9. package/dist/candlestick.js +13 -0
  10. package/dist/candlestick.js.map +1 -0
  11. package/dist/canvas-4MSYDVFO.js +14 -0
  12. package/dist/canvas-4MSYDVFO.js.map +1 -0
  13. package/dist/cartesian-BRhNQ3ib.d.ts +34 -0
  14. package/dist/chart.d.ts +58 -0
  15. package/dist/chart.js +11 -0
  16. package/dist/chart.js.map +1 -0
  17. package/dist/chunk-3CJHBJXA.js +186 -0
  18. package/dist/chunk-3CJHBJXA.js.map +1 -0
  19. package/dist/chunk-4LBXEAGC.js +133 -0
  20. package/dist/chunk-4LBXEAGC.js.map +1 -0
  21. package/dist/chunk-6FINSUOS.js +49 -0
  22. package/dist/chunk-6FINSUOS.js.map +1 -0
  23. package/dist/chunk-AA5EWWYV.js +38 -0
  24. package/dist/chunk-AA5EWWYV.js.map +1 -0
  25. package/dist/chunk-ANUCSRUN.js +43 -0
  26. package/dist/chunk-ANUCSRUN.js.map +1 -0
  27. package/dist/chunk-ARARFMNE.js +88 -0
  28. package/dist/chunk-ARARFMNE.js.map +1 -0
  29. package/dist/chunk-BISL7DYW.js +66 -0
  30. package/dist/chunk-BISL7DYW.js.map +1 -0
  31. package/dist/chunk-BV4DBGN7.js +178 -0
  32. package/dist/chunk-BV4DBGN7.js.map +1 -0
  33. package/dist/chunk-C4MFZLJM.js +19 -0
  34. package/dist/chunk-C4MFZLJM.js.map +1 -0
  35. package/dist/chunk-CSSZLFLO.js +116 -0
  36. package/dist/chunk-CSSZLFLO.js.map +1 -0
  37. package/dist/chunk-CVWSMUUB.js +378 -0
  38. package/dist/chunk-CVWSMUUB.js.map +1 -0
  39. package/dist/chunk-E5DKBSWX.js +2 -0
  40. package/dist/chunk-E5DKBSWX.js.map +1 -0
  41. package/dist/chunk-EEP7PS2L.js +54 -0
  42. package/dist/chunk-EEP7PS2L.js.map +1 -0
  43. package/dist/chunk-EQLC2QVN.js +73 -0
  44. package/dist/chunk-EQLC2QVN.js.map +1 -0
  45. package/dist/chunk-FINOPIDN.js +2 -0
  46. package/dist/chunk-FINOPIDN.js.map +1 -0
  47. package/dist/chunk-G2KF2WL4.js +2 -0
  48. package/dist/chunk-G2KF2WL4.js.map +1 -0
  49. package/dist/chunk-I3D7KUGN.js +205 -0
  50. package/dist/chunk-I3D7KUGN.js.map +1 -0
  51. package/dist/chunk-IKQV3NSL.js +76 -0
  52. package/dist/chunk-IKQV3NSL.js.map +1 -0
  53. package/dist/chunk-JTKR7ZWP.js +468 -0
  54. package/dist/chunk-JTKR7ZWP.js.map +1 -0
  55. package/dist/chunk-KNDHO67X.js +78 -0
  56. package/dist/chunk-KNDHO67X.js.map +1 -0
  57. package/dist/chunk-L2EKYWVI.js +94 -0
  58. package/dist/chunk-L2EKYWVI.js.map +1 -0
  59. package/dist/chunk-MXLITIGU.js +92 -0
  60. package/dist/chunk-MXLITIGU.js.map +1 -0
  61. package/dist/chunk-NCIQMRV3.js +155 -0
  62. package/dist/chunk-NCIQMRV3.js.map +1 -0
  63. package/dist/chunk-OB5EFDDH.js +118 -0
  64. package/dist/chunk-OB5EFDDH.js.map +1 -0
  65. package/dist/chunk-OIRHLJBC.js +83 -0
  66. package/dist/chunk-OIRHLJBC.js.map +1 -0
  67. package/dist/chunk-PBQV3B6O.js +145 -0
  68. package/dist/chunk-PBQV3B6O.js.map +1 -0
  69. package/dist/chunk-POQIHFAZ.js +2 -0
  70. package/dist/chunk-POQIHFAZ.js.map +1 -0
  71. package/dist/chunk-PWMMXRMC.js +234 -0
  72. package/dist/chunk-PWMMXRMC.js.map +1 -0
  73. package/dist/chunk-SLEJDQ3A.js +81 -0
  74. package/dist/chunk-SLEJDQ3A.js.map +1 -0
  75. package/dist/chunk-TPJDOB7R.js +15 -0
  76. package/dist/chunk-TPJDOB7R.js.map +1 -0
  77. package/dist/chunk-VKZZY2QD.js +103 -0
  78. package/dist/chunk-VKZZY2QD.js.map +1 -0
  79. package/dist/chunk-W5FX4TU3.js +102 -0
  80. package/dist/chunk-W5FX4TU3.js.map +1 -0
  81. package/dist/chunk-W5ILLSPK.js +107 -0
  82. package/dist/chunk-W5ILLSPK.js.map +1 -0
  83. package/dist/chunk-WBHFVBSK.js +25 -0
  84. package/dist/chunk-WBHFVBSK.js.map +1 -0
  85. package/dist/chunk-WNUFGMS7.js +113 -0
  86. package/dist/chunk-WNUFGMS7.js.map +1 -0
  87. package/dist/chunk-WVTIKOII.js +15 -0
  88. package/dist/chunk-WVTIKOII.js.map +1 -0
  89. package/dist/chunk-XDDALY4C.js +166 -0
  90. package/dist/chunk-XDDALY4C.js.map +1 -0
  91. package/dist/chunk-XLLYNNC6.js +89 -0
  92. package/dist/chunk-XLLYNNC6.js.map +1 -0
  93. package/dist/context-BgYUymEO.d.ts +163 -0
  94. package/dist/credits.d.ts +42 -0
  95. package/dist/credits.js +21 -0
  96. package/dist/credits.js.map +1 -0
  97. package/dist/earnings.d.ts +29 -0
  98. package/dist/earnings.js +22 -0
  99. package/dist/earnings.js.map +1 -0
  100. package/dist/frame-I7_xYGy5.d.ts +45 -0
  101. package/dist/full-S2MBPEEP.js +11 -0
  102. package/dist/full-S2MBPEEP.js.map +1 -0
  103. package/dist/funnel-QU5ZPC52.js +13 -0
  104. package/dist/funnel-QU5ZPC52.js.map +1 -0
  105. package/dist/funnel.d.ts +26 -0
  106. package/dist/funnel.js +13 -0
  107. package/dist/funnel.js.map +1 -0
  108. package/dist/gauge.d.ts +38 -0
  109. package/dist/gauge.js +13 -0
  110. package/dist/gauge.js.map +1 -0
  111. package/dist/geo.d.ts +37 -0
  112. package/dist/geo.js +13 -0
  113. package/dist/geo.js.map +1 -0
  114. package/dist/globe.d.ts +36 -0
  115. package/dist/globe.js +12 -0
  116. package/dist/globe.js.map +1 -0
  117. package/dist/goal.d.ts +26 -0
  118. package/dist/goal.js +17 -0
  119. package/dist/goal.js.map +1 -0
  120. package/dist/heatmap-JWQOKUGM.js +13 -0
  121. package/dist/heatmap-JWQOKUGM.js.map +1 -0
  122. package/dist/heatmap.d.ts +47 -0
  123. package/dist/heatmap.js +15 -0
  124. package/dist/heatmap.js.map +1 -0
  125. package/dist/host-_F8RgiIz.d.ts +15 -0
  126. package/dist/index.d.ts +29 -0
  127. package/dist/index.js +148 -0
  128. package/dist/index.js.map +1 -0
  129. package/dist/labels-DE_743fQ.d.ts +72 -0
  130. package/dist/latency.d.ts +33 -0
  131. package/dist/latency.js +24 -0
  132. package/dist/latency.js.map +1 -0
  133. package/dist/line.d.ts +25 -0
  134. package/dist/line.js +19 -0
  135. package/dist/line.js.map +1 -0
  136. package/dist/native.d.ts +494 -0
  137. package/dist/native.js +1244 -0
  138. package/dist/native.js.map +1 -0
  139. package/dist/pie.d.ts +37 -0
  140. package/dist/pie.js +16 -0
  141. package/dist/pie.js.map +1 -0
  142. package/dist/provider.d.ts +73 -0
  143. package/dist/provider.js +24 -0
  144. package/dist/provider.js.map +1 -0
  145. package/dist/radar-75GRJ2IK.js +13 -0
  146. package/dist/radar-75GRJ2IK.js.map +1 -0
  147. package/dist/radar.d.ts +22 -0
  148. package/dist/radar.js +13 -0
  149. package/dist/radar.js.map +1 -0
  150. package/dist/sankey-XQTX2EG6.js +13 -0
  151. package/dist/sankey-XQTX2EG6.js.map +1 -0
  152. package/dist/sankey.d.ts +28 -0
  153. package/dist/sankey.js +13 -0
  154. package/dist/sankey.js.map +1 -0
  155. package/dist/scatter-XSNG4OKD.js +13 -0
  156. package/dist/scatter-XSNG4OKD.js.map +1 -0
  157. package/dist/scatter.d.ts +41 -0
  158. package/dist/scatter.js +15 -0
  159. package/dist/scatter.js.map +1 -0
  160. package/dist/sparkline.d.ts +26 -0
  161. package/dist/sparkline.js +16 -0
  162. package/dist/sparkline.js.map +1 -0
  163. package/dist/svg-BJUHYX3B.js +14 -0
  164. package/dist/svg-BJUHYX3B.js.map +1 -0
  165. package/dist/throughput.d.ts +37 -0
  166. package/dist/throughput.js +24 -0
  167. package/dist/throughput.js.map +1 -0
  168. package/dist/ticker.d.ts +38 -0
  169. package/dist/ticker.js +22 -0
  170. package/dist/ticker.js.map +1 -0
  171. package/dist/treemap-OMGGGB5U.js +13 -0
  172. package/dist/treemap-OMGGGB5U.js.map +1 -0
  173. package/dist/treemap.d.ts +24 -0
  174. package/dist/treemap.js +14 -0
  175. package/dist/treemap.js.map +1 -0
  176. package/dist/world-110m-DVFWXS42.js +18 -0
  177. package/dist/world-110m-DVFWXS42.js.map +1 -0
  178. package/package.json +614 -3
  179. package/registry/area-chart.json +785 -0
  180. package/registry/bar-chart.json +784 -0
  181. package/registry/calendar-heatmap.json +460 -0
  182. package/registry/candlestick.json +553 -0
  183. package/registry/chart.json +441 -0
  184. package/registry/charts-provider.json +191 -0
  185. package/registry/credit-usage.json +473 -0
  186. package/registry/earnings-chart.json +703 -0
  187. package/registry/examples/area-chart/credits-usage.d.ts +4 -0
  188. package/registry/examples/area-chart/credits-usage.js +38 -0
  189. package/registry/examples/area-chart/credits-usage.tsx +32 -0
  190. package/registry/examples/area-chart/native/credits-usage.d.ts +4 -0
  191. package/registry/examples/area-chart/native/credits-usage.dark.png +0 -0
  192. package/registry/examples/area-chart/native/credits-usage.js +33 -0
  193. package/registry/examples/area-chart/native/credits-usage.light.png +0 -0
  194. package/registry/examples/area-chart/native/credits-usage.tsx +27 -0
  195. package/registry/examples/area-chart/storage.d.ts +4 -0
  196. package/registry/examples/area-chart/storage.js +27 -0
  197. package/registry/examples/area-chart/storage.tsx +21 -0
  198. package/registry/examples/bar-chart/jobs-by-status.d.ts +4 -0
  199. package/registry/examples/bar-chart/jobs-by-status.js +37 -0
  200. package/registry/examples/bar-chart/jobs-by-status.tsx +31 -0
  201. package/registry/examples/bar-chart/native/jobs-by-status.d.ts +4 -0
  202. package/registry/examples/bar-chart/native/jobs-by-status.dark.png +0 -0
  203. package/registry/examples/bar-chart/native/jobs-by-status.js +32 -0
  204. package/registry/examples/bar-chart/native/jobs-by-status.light.png +0 -0
  205. package/registry/examples/bar-chart/native/jobs-by-status.tsx +26 -0
  206. package/registry/examples/bar-chart/plans-by-quarter.d.ts +4 -0
  207. package/registry/examples/bar-chart/plans-by-quarter.js +31 -0
  208. package/registry/examples/bar-chart/plans-by-quarter.tsx +26 -0
  209. package/registry/examples/bar-chart/top-supporters.d.ts +4 -0
  210. package/registry/examples/bar-chart/top-supporters.js +32 -0
  211. package/registry/examples/bar-chart/top-supporters.tsx +27 -0
  212. package/registry/examples/calendar-heatmap/publishing.d.ts +4 -0
  213. package/registry/examples/calendar-heatmap/publishing.js +28 -0
  214. package/registry/examples/calendar-heatmap/publishing.tsx +23 -0
  215. package/registry/examples/candlestick/auction-bids.d.ts +4 -0
  216. package/registry/examples/candlestick/auction-bids.js +37 -0
  217. package/registry/examples/candlestick/auction-bids.tsx +32 -0
  218. package/registry/examples/chart/polar-uploads.d.ts +4 -0
  219. package/registry/examples/chart/polar-uploads.js +34 -0
  220. package/registry/examples/chart/polar-uploads.tsx +30 -0
  221. package/registry/examples/charts-provider/french-orazaka.d.ts +4 -0
  222. package/registry/examples/charts-provider/french-orazaka.js +26 -0
  223. package/registry/examples/charts-provider/french-orazaka.tsx +22 -0
  224. package/registry/examples/charts-provider/native/french-orazaka.d.ts +4 -0
  225. package/registry/examples/charts-provider/native/french-orazaka.dark.png +0 -0
  226. package/registry/examples/charts-provider/native/french-orazaka.js +17 -0
  227. package/registry/examples/charts-provider/native/french-orazaka.light.png +0 -0
  228. package/registry/examples/charts-provider/native/french-orazaka.tsx +17 -0
  229. package/registry/examples/credit-usage/monthly-credits.d.ts +4 -0
  230. package/registry/examples/credit-usage/monthly-credits.js +24 -0
  231. package/registry/examples/credit-usage/monthly-credits.tsx +19 -0
  232. package/registry/examples/credit-usage/native/monthly-credits.d.ts +4 -0
  233. package/registry/examples/credit-usage/native/monthly-credits.dark.png +0 -0
  234. package/registry/examples/credit-usage/native/monthly-credits.js +23 -0
  235. package/registry/examples/credit-usage/native/monthly-credits.light.png +0 -0
  236. package/registry/examples/credit-usage/native/monthly-credits.tsx +18 -0
  237. package/registry/examples/credit-usage/storage-plan.d.ts +4 -0
  238. package/registry/examples/credit-usage/storage-plan.js +21 -0
  239. package/registry/examples/credit-usage/storage-plan.tsx +15 -0
  240. package/registry/examples/earnings-chart/creator-month.d.ts +4 -0
  241. package/registry/examples/earnings-chart/creator-month.js +29 -0
  242. package/registry/examples/earnings-chart/creator-month.tsx +24 -0
  243. package/registry/examples/earnings-chart/gross-and-net.d.ts +4 -0
  244. package/registry/examples/earnings-chart/gross-and-net.js +29 -0
  245. package/registry/examples/earnings-chart/gross-and-net.tsx +24 -0
  246. package/registry/examples/earnings-chart/native/creator-month.d.ts +4 -0
  247. package/registry/examples/earnings-chart/native/creator-month.dark.png +0 -0
  248. package/registry/examples/earnings-chart/native/creator-month.js +29 -0
  249. package/registry/examples/earnings-chart/native/creator-month.light.png +0 -0
  250. package/registry/examples/earnings-chart/native/creator-month.tsx +24 -0
  251. package/registry/examples/funnel/signup.d.ts +4 -0
  252. package/registry/examples/funnel/signup.js +30 -0
  253. package/registry/examples/funnel/signup.tsx +24 -0
  254. package/registry/examples/gauge/challenge-goal.d.ts +4 -0
  255. package/registry/examples/gauge/challenge-goal.js +24 -0
  256. package/registry/examples/gauge/challenge-goal.tsx +18 -0
  257. package/registry/examples/gauge/credits-quota.d.ts +4 -0
  258. package/registry/examples/gauge/credits-quota.js +26 -0
  259. package/registry/examples/gauge/credits-quota.tsx +19 -0
  260. package/registry/examples/gauge/native/credits-quota.d.ts +4 -0
  261. package/registry/examples/gauge/native/credits-quota.dark.png +0 -0
  262. package/registry/examples/gauge/native/credits-quota.js +25 -0
  263. package/registry/examples/gauge/native/credits-quota.light.png +0 -0
  264. package/registry/examples/gauge/native/credits-quota.tsx +18 -0
  265. package/registry/examples/geo-map/viewers.d.ts +4 -0
  266. package/registry/examples/geo-map/viewers.js +43 -0
  267. package/registry/examples/geo-map/viewers.tsx +29 -0
  268. package/registry/examples/globe/deployment-regions.d.ts +4 -0
  269. package/registry/examples/globe/deployment-regions.js +36 -0
  270. package/registry/examples/globe/deployment-regions.tsx +30 -0
  271. package/registry/examples/goal-progress/challenge-pot.d.ts +4 -0
  272. package/registry/examples/goal-progress/challenge-pot.js +22 -0
  273. package/registry/examples/goal-progress/challenge-pot.tsx +16 -0
  274. package/registry/examples/goal-progress/goal-reached.d.ts +4 -0
  275. package/registry/examples/goal-progress/goal-reached.js +11 -0
  276. package/registry/examples/goal-progress/goal-reached.tsx +6 -0
  277. package/registry/examples/goal-progress/native/challenge-pot.d.ts +4 -0
  278. package/registry/examples/goal-progress/native/challenge-pot.dark.png +0 -0
  279. package/registry/examples/goal-progress/native/challenge-pot.js +11 -0
  280. package/registry/examples/goal-progress/native/challenge-pot.light.png +0 -0
  281. package/registry/examples/goal-progress/native/challenge-pot.tsx +6 -0
  282. package/registry/examples/heatmap/upload-activity.d.ts +4 -0
  283. package/registry/examples/heatmap/upload-activity.js +30 -0
  284. package/registry/examples/heatmap/upload-activity.tsx +25 -0
  285. package/registry/examples/job-throughput/live-hours.d.ts +4 -0
  286. package/registry/examples/job-throughput/live-hours.js +33 -0
  287. package/registry/examples/job-throughput/live-hours.tsx +28 -0
  288. package/registry/examples/job-throughput/native/week-of-jobs.d.ts +4 -0
  289. package/registry/examples/job-throughput/native/week-of-jobs.dark.png +0 -0
  290. package/registry/examples/job-throughput/native/week-of-jobs.js +20 -0
  291. package/registry/examples/job-throughput/native/week-of-jobs.light.png +0 -0
  292. package/registry/examples/job-throughput/native/week-of-jobs.tsx +16 -0
  293. package/registry/examples/job-throughput/week-of-jobs.d.ts +4 -0
  294. package/registry/examples/job-throughput/week-of-jobs.js +20 -0
  295. package/registry/examples/job-throughput/week-of-jobs.tsx +16 -0
  296. package/registry/examples/latency-chart/by-capability.d.ts +4 -0
  297. package/registry/examples/latency-chart/by-capability.js +26 -0
  298. package/registry/examples/latency-chart/by-capability.tsx +21 -0
  299. package/registry/examples/latency-chart/native/by-capability.d.ts +4 -0
  300. package/registry/examples/latency-chart/native/by-capability.dark.png +0 -0
  301. package/registry/examples/latency-chart/native/by-capability.js +17 -0
  302. package/registry/examples/latency-chart/native/by-capability.light.png +0 -0
  303. package/registry/examples/latency-chart/native/by-capability.tsx +13 -0
  304. package/registry/examples/latency-chart/time-to-result.d.ts +4 -0
  305. package/registry/examples/latency-chart/time-to-result.js +27 -0
  306. package/registry/examples/latency-chart/time-to-result.tsx +22 -0
  307. package/registry/examples/line-chart/creator-earnings.d.ts +4 -0
  308. package/registry/examples/line-chart/creator-earnings.js +35 -0
  309. package/registry/examples/line-chart/creator-earnings.tsx +30 -0
  310. package/registry/examples/line-chart/forecast.d.ts +4 -0
  311. package/registry/examples/line-chart/forecast.js +36 -0
  312. package/registry/examples/line-chart/forecast.tsx +30 -0
  313. package/registry/examples/line-chart/live-jobs.d.ts +4 -0
  314. package/registry/examples/line-chart/live-jobs.js +21 -0
  315. package/registry/examples/line-chart/live-jobs.tsx +23 -0
  316. package/registry/examples/line-chart/native/creator-earnings.d.ts +4 -0
  317. package/registry/examples/line-chart/native/creator-earnings.dark.png +0 -0
  318. package/registry/examples/line-chart/native/creator-earnings.js +32 -0
  319. package/registry/examples/line-chart/native/creator-earnings.light.png +0 -0
  320. package/registry/examples/line-chart/native/creator-earnings.tsx +26 -0
  321. package/registry/examples/line-chart/states.d.ts +4 -0
  322. package/registry/examples/line-chart/states.js +16 -0
  323. package/registry/examples/line-chart/states.tsx +13 -0
  324. package/registry/examples/pie-chart/credit-spend.d.ts +4 -0
  325. package/registry/examples/pie-chart/credit-spend.js +30 -0
  326. package/registry/examples/pie-chart/credit-spend.tsx +24 -0
  327. package/registry/examples/pie-chart/native/credit-spend.d.ts +4 -0
  328. package/registry/examples/pie-chart/native/credit-spend.dark.png +0 -0
  329. package/registry/examples/pie-chart/native/credit-spend.js +17 -0
  330. package/registry/examples/pie-chart/native/credit-spend.light.png +0 -0
  331. package/registry/examples/pie-chart/native/credit-spend.tsx +12 -0
  332. package/registry/examples/pie-chart/storage-by-kind.d.ts +4 -0
  333. package/registry/examples/pie-chart/storage-by-kind.js +31 -0
  334. package/registry/examples/pie-chart/storage-by-kind.tsx +26 -0
  335. package/registry/examples/price-ticker/auction-room.d.ts +4 -0
  336. package/registry/examples/price-ticker/auction-room.js +21 -0
  337. package/registry/examples/price-ticker/auction-room.tsx +17 -0
  338. package/registry/examples/price-ticker/native/auction-room.d.ts +4 -0
  339. package/registry/examples/price-ticker/native/auction-room.dark.png +0 -0
  340. package/registry/examples/price-ticker/native/auction-room.js +19 -0
  341. package/registry/examples/price-ticker/native/auction-room.light.png +0 -0
  342. package/registry/examples/price-ticker/native/auction-room.tsx +15 -0
  343. package/registry/examples/price-ticker/no-bid-yet.d.ts +4 -0
  344. package/registry/examples/price-ticker/no-bid-yet.js +11 -0
  345. package/registry/examples/price-ticker/no-bid-yet.tsx +6 -0
  346. package/registry/examples/radar-chart/model-comparison.d.ts +4 -0
  347. package/registry/examples/radar-chart/model-comparison.js +33 -0
  348. package/registry/examples/radar-chart/model-comparison.tsx +28 -0
  349. package/registry/examples/sankey/credit-flow.d.ts +4 -0
  350. package/registry/examples/sankey/credit-flow.js +37 -0
  351. package/registry/examples/sankey/credit-flow.tsx +32 -0
  352. package/registry/examples/scatter-chart/watch-time.d.ts +4 -0
  353. package/registry/examples/scatter-chart/watch-time.js +36 -0
  354. package/registry/examples/scatter-chart/watch-time.tsx +31 -0
  355. package/registry/examples/sparkline/bars.d.ts +4 -0
  356. package/registry/examples/sparkline/bars.js +12 -0
  357. package/registry/examples/sparkline/bars.tsx +7 -0
  358. package/registry/examples/sparkline/native/stat-trend.d.ts +4 -0
  359. package/registry/examples/sparkline/native/stat-trend.dark.png +0 -0
  360. package/registry/examples/sparkline/native/stat-trend.js +12 -0
  361. package/registry/examples/sparkline/native/stat-trend.light.png +0 -0
  362. package/registry/examples/sparkline/native/stat-trend.tsx +7 -0
  363. package/registry/examples/sparkline/stat-trend.d.ts +4 -0
  364. package/registry/examples/sparkline/stat-trend.js +18 -0
  365. package/registry/examples/sparkline/stat-trend.tsx +15 -0
  366. package/registry/examples/sparkline/table-rows.d.ts +4 -0
  367. package/registry/examples/sparkline/table-rows.js +23 -0
  368. package/registry/examples/sparkline/table-rows.tsx +26 -0
  369. package/registry/examples/treemap/storage.d.ts +4 -0
  370. package/registry/examples/treemap/storage.js +17 -0
  371. package/registry/examples/treemap/storage.tsx +13 -0
  372. package/registry/funnel.json +487 -0
  373. package/registry/gauge.json +600 -0
  374. package/registry/geo-map.json +484 -0
  375. package/registry/globe.json +469 -0
  376. package/registry/goal-progress.json +520 -0
  377. package/registry/heatmap.json +531 -0
  378. package/registry/index.json +582 -0
  379. package/registry/job-throughput.json +654 -0
  380. package/registry/latency-chart.json +671 -0
  381. package/registry/line-chart.json +793 -0
  382. package/registry/pie-chart.json +1288 -0
  383. package/registry/price-ticker.json +684 -0
  384. package/registry/radar-chart.json +459 -0
  385. package/registry/sankey.json +503 -0
  386. package/registry/scatter-chart.json +559 -0
  387. package/registry/sparkline.json +563 -0
  388. package/registry/treemap.json +432 -0
package/package.json CHANGED
@@ -1,6 +1,617 @@
1
1
  {
2
2
  "name": "@krizaka/charts",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.2.0",
4
+ "description": "Krizaka's data visualisation: typed, declarative React charts (line, area, bar, pie, radar, heatmap, calendar, sankey, funnel, gauge, sparkline, candlestick, treemap, scatter, geo map, 3D globe) on the --kz-* tokens and the brand palettes — an accessible data table, a written summary and keyboard navigation in every chart, SSR without layout shift, and React Native for the simple types.",
5
+ "keywords": [
6
+ "krizaka",
7
+ "charts",
8
+ "data-visualization",
9
+ "dataviz",
10
+ "echarts",
11
+ "svg",
12
+ "react",
13
+ "react-native",
14
+ "accessibility",
15
+ "design-system",
16
+ "sparkline",
17
+ "heatmap",
18
+ "sankey",
19
+ "globe"
20
+ ],
21
+ "homepage": "https://www.krizaka.com/docs/ui",
22
+ "bugs": "https://github.com/krizaka/krizaka-ui/issues",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/krizaka/krizaka-ui.git",
26
+ "directory": "packages/charts"
27
+ },
28
+ "license": "Apache-2.0",
29
+ "author": "Krizaka (https://www.krizaka.com)",
30
+ "type": "module",
31
+ "main": "./dist/index.js",
32
+ "module": "./dist/index.js",
33
+ "types": "./dist/index.d.ts",
34
+ "exports": {
35
+ ".": {
36
+ "types": "./dist/index.d.ts",
37
+ "import": "./dist/index.js"
38
+ },
39
+ "./provider": {
40
+ "types": "./dist/provider.d.ts",
41
+ "import": "./dist/provider.js"
42
+ },
43
+ "./earnings": {
44
+ "types": "./dist/earnings.d.ts",
45
+ "import": "./dist/earnings.js"
46
+ },
47
+ "./throughput": {
48
+ "types": "./dist/throughput.d.ts",
49
+ "import": "./dist/throughput.js"
50
+ },
51
+ "./latency": {
52
+ "types": "./dist/latency.d.ts",
53
+ "import": "./dist/latency.js"
54
+ },
55
+ "./credits": {
56
+ "types": "./dist/credits.d.ts",
57
+ "import": "./dist/credits.js"
58
+ },
59
+ "./goal": {
60
+ "types": "./dist/goal.d.ts",
61
+ "import": "./dist/goal.js"
62
+ },
63
+ "./ticker": {
64
+ "types": "./dist/ticker.d.ts",
65
+ "import": "./dist/ticker.js"
66
+ },
67
+ "./line": {
68
+ "types": "./dist/line.d.ts",
69
+ "import": "./dist/line.js"
70
+ },
71
+ "./bar": {
72
+ "types": "./dist/bar.d.ts",
73
+ "import": "./dist/bar.js"
74
+ },
75
+ "./pie": {
76
+ "types": "./dist/pie.d.ts",
77
+ "import": "./dist/pie.js"
78
+ },
79
+ "./gauge": {
80
+ "types": "./dist/gauge.d.ts",
81
+ "import": "./dist/gauge.js"
82
+ },
83
+ "./sparkline": {
84
+ "types": "./dist/sparkline.d.ts",
85
+ "import": "./dist/sparkline.js"
86
+ },
87
+ "./geo": {
88
+ "types": "./dist/geo.d.ts",
89
+ "import": "./dist/geo.js"
90
+ },
91
+ "./globe": {
92
+ "types": "./dist/globe.d.ts",
93
+ "import": "./dist/globe.js"
94
+ },
95
+ "./radar": {
96
+ "types": "./dist/radar.d.ts",
97
+ "import": "./dist/radar.js"
98
+ },
99
+ "./heatmap": {
100
+ "types": "./dist/heatmap.d.ts",
101
+ "import": "./dist/heatmap.js"
102
+ },
103
+ "./sankey": {
104
+ "types": "./dist/sankey.d.ts",
105
+ "import": "./dist/sankey.js"
106
+ },
107
+ "./funnel": {
108
+ "types": "./dist/funnel.d.ts",
109
+ "import": "./dist/funnel.js"
110
+ },
111
+ "./candlestick": {
112
+ "types": "./dist/candlestick.d.ts",
113
+ "import": "./dist/candlestick.js"
114
+ },
115
+ "./treemap": {
116
+ "types": "./dist/treemap.d.ts",
117
+ "import": "./dist/treemap.js"
118
+ },
119
+ "./scatter": {
120
+ "types": "./dist/scatter.d.ts",
121
+ "import": "./dist/scatter.js"
122
+ },
123
+ "./chart": {
124
+ "types": "./dist/chart.d.ts",
125
+ "import": "./dist/chart.js"
126
+ },
127
+ "./native": {
128
+ "types": "./dist/native.d.ts",
129
+ "import": "./dist/native.js"
130
+ },
131
+ "./registry/examples/*": {
132
+ "types": "./registry/examples/*.d.ts",
133
+ "import": "./registry/examples/*.js"
134
+ },
135
+ "./registry/*": "./registry/*.json",
136
+ "./package.json": "./package.json"
137
+ },
138
+ "files": [
139
+ "dist",
140
+ "registry/*.json",
141
+ "registry/examples/**/*.tsx",
142
+ "registry/examples/**/*.js",
143
+ "registry/examples/**/*.d.ts",
144
+ "registry/examples/**/*.png",
145
+ "README.md",
146
+ "LICENSE"
147
+ ],
148
+ "sideEffects": false,
149
+ "dependencies": {
150
+ "d3-geo": "^3.1.1",
151
+ "echarts": "^6.1.0",
152
+ "topojson-client": "^3.1.0",
153
+ "@krizaka/intl": "^0.1.0"
154
+ },
155
+ "peerDependencies": {
156
+ "react": ">=19",
157
+ "react-dom": ">=19",
158
+ "react-native": ">=0.76",
159
+ "react-native-svg": ">=15"
160
+ },
161
+ "peerDependenciesMeta": {
162
+ "react-dom": {
163
+ "optional": true
164
+ },
165
+ "react-native": {
166
+ "optional": true
167
+ },
168
+ "react-native-svg": {
169
+ "optional": true
170
+ }
171
+ },
172
+ "devDependencies": {
173
+ "@arethetypeswrong/cli": "^0.18.5",
174
+ "@babel/core": "^7.29.7",
175
+ "@jest/globals": "30.4.1",
176
+ "@react-native/babel-preset": "0.86.3",
177
+ "@react-native/jest-preset": "0.86.3",
178
+ "@size-limit/preset-small-lib": "^14.2.0",
179
+ "@storybook/react-vite": "10.6.1",
180
+ "@testing-library/react": "^16.3.0",
181
+ "@testing-library/react-native": "^14.1.0",
182
+ "@testing-library/user-event": "^14.6.7",
183
+ "@types/d3-geo": "^3.1.0",
184
+ "@types/geojson": "^7946.0.16",
185
+ "@types/node": "^22.15.0",
186
+ "@types/react": "^19.2.0",
187
+ "@types/react-dom": "^19.2.0",
188
+ "@types/topojson-client": "^3.1.5",
189
+ "@types/topojson-specification": "^1.0.5",
190
+ "axe-core": "^4.14.0",
191
+ "babel-jest": "30.4.1",
192
+ "eslint": "^9.39.0",
193
+ "happy-dom": "^20.0.0",
194
+ "i18n-iso-countries": "^7.14.0",
195
+ "jest": "30.4.2",
196
+ "jest-environment-node": "30.4.1",
197
+ "publint": "^0.3.25",
198
+ "react": "^19.2.0",
199
+ "react-docgen-typescript": "^2.4.0",
200
+ "react-dom": "^19.2.0",
201
+ "react-native": "^0.86.3",
202
+ "react-native-svg": "^15.15.4",
203
+ "react-native-web": "0.21.2",
204
+ "size-limit": "^14.2.0",
205
+ "storybook": "10.6.1",
206
+ "test-renderer": "^1.3.0",
207
+ "tsup": "^8.5.1",
208
+ "typescript": "^5.9.0",
209
+ "vitest": "^4.1.11",
210
+ "world-atlas": "^2.0.2",
211
+ "@krizaka/tokens": "2.6.0",
212
+ "@krizaka/config": "0.1.0"
213
+ },
214
+ "engines": {
215
+ "node": ">=20"
216
+ },
217
+ "publishConfig": {
218
+ "access": "public"
219
+ },
220
+ "size-limit": [
221
+ {
222
+ "name": "./line",
223
+ "path": "dist/line.js",
224
+ "limit": "13.5 kB",
225
+ "gzip": true,
226
+ "ignore": [
227
+ "react",
228
+ "react-dom",
229
+ "react-native",
230
+ "react-native-svg"
231
+ ]
232
+ },
233
+ {
234
+ "name": "./bar",
235
+ "path": "dist/bar.js",
236
+ "limit": "13.5 kB",
237
+ "gzip": true,
238
+ "ignore": [
239
+ "react",
240
+ "react-dom",
241
+ "react-native",
242
+ "react-native-svg"
243
+ ]
244
+ },
245
+ {
246
+ "name": "./pie",
247
+ "path": "dist/pie.js",
248
+ "limit": "9.5 kB",
249
+ "gzip": true,
250
+ "ignore": [
251
+ "react",
252
+ "react-dom",
253
+ "react-native",
254
+ "react-native-svg"
255
+ ]
256
+ },
257
+ {
258
+ "name": "./gauge",
259
+ "path": "dist/gauge.js",
260
+ "limit": "8.5 kB",
261
+ "gzip": true,
262
+ "ignore": [
263
+ "react",
264
+ "react-dom",
265
+ "react-native",
266
+ "react-native-svg"
267
+ ]
268
+ },
269
+ {
270
+ "name": "./earnings",
271
+ "path": "dist/earnings.js",
272
+ "limit": "14.5 kB",
273
+ "gzip": true,
274
+ "ignore": [
275
+ "react",
276
+ "react-dom",
277
+ "react-native",
278
+ "react-native-svg"
279
+ ]
280
+ },
281
+ {
282
+ "name": "./throughput",
283
+ "path": "dist/throughput.js",
284
+ "limit": "14.5 kB",
285
+ "gzip": true,
286
+ "ignore": [
287
+ "react",
288
+ "react-dom",
289
+ "react-native",
290
+ "react-native-svg"
291
+ ]
292
+ },
293
+ {
294
+ "name": "./latency",
295
+ "path": "dist/latency.js",
296
+ "limit": "14.5 kB",
297
+ "gzip": true,
298
+ "ignore": [
299
+ "react",
300
+ "react-dom",
301
+ "react-native",
302
+ "react-native-svg"
303
+ ]
304
+ },
305
+ {
306
+ "name": "./credits",
307
+ "path": "dist/credits.js",
308
+ "limit": "11.5 kB",
309
+ "gzip": true,
310
+ "ignore": [
311
+ "react",
312
+ "react-dom",
313
+ "react-native",
314
+ "react-native-svg"
315
+ ]
316
+ },
317
+ {
318
+ "name": "./goal",
319
+ "path": "dist/goal.js",
320
+ "limit": "9.5 kB",
321
+ "gzip": true,
322
+ "ignore": [
323
+ "react",
324
+ "react-dom",
325
+ "react-native",
326
+ "react-native-svg"
327
+ ]
328
+ },
329
+ {
330
+ "name": "./ticker",
331
+ "path": "dist/ticker.js",
332
+ "limit": "14.5 kB",
333
+ "gzip": true,
334
+ "ignore": [
335
+ "react",
336
+ "react-dom",
337
+ "react-native",
338
+ "react-native-svg"
339
+ ]
340
+ },
341
+ {
342
+ "name": "./sparkline",
343
+ "path": "dist/sparkline.js",
344
+ "limit": "10.5 kB",
345
+ "gzip": true,
346
+ "ignore": [
347
+ "react",
348
+ "react-dom",
349
+ "react-native",
350
+ "react-native-svg"
351
+ ]
352
+ },
353
+ {
354
+ "name": "./geo (with the world, 38 kB, loaded when a map is drawn)",
355
+ "path": "dist/geo.js",
356
+ "limit": "57 kB",
357
+ "gzip": true,
358
+ "ignore": [
359
+ "react",
360
+ "react-dom",
361
+ "react-native",
362
+ "react-native-svg"
363
+ ]
364
+ },
365
+ {
366
+ "name": "./globe (with the world, loaded when drawn)",
367
+ "path": "dist/globe.js",
368
+ "limit": "58 kB",
369
+ "gzip": true,
370
+ "ignore": [
371
+ "react",
372
+ "react-dom",
373
+ "react-native",
374
+ "react-native-svg"
375
+ ]
376
+ },
377
+ {
378
+ "name": "./radar (with its ECharts engine, loaded when the chart nears the screen)",
379
+ "path": "dist/radar.js",
380
+ "limit": "175 kB",
381
+ "gzip": true,
382
+ "ignore": [
383
+ "react",
384
+ "react-dom",
385
+ "react-native",
386
+ "react-native-svg"
387
+ ]
388
+ },
389
+ {
390
+ "name": "./heatmap (with its ECharts engine, loaded when the chart nears the screen)",
391
+ "path": "dist/heatmap.js",
392
+ "limit": "200 kB",
393
+ "gzip": true,
394
+ "ignore": [
395
+ "react",
396
+ "react-dom",
397
+ "react-native",
398
+ "react-native-svg"
399
+ ]
400
+ },
401
+ {
402
+ "name": "./sankey (with its ECharts engine, loaded when the chart nears the screen)",
403
+ "path": "dist/sankey.js",
404
+ "limit": "176 kB",
405
+ "gzip": true,
406
+ "ignore": [
407
+ "react",
408
+ "react-dom",
409
+ "react-native",
410
+ "react-native-svg"
411
+ ]
412
+ },
413
+ {
414
+ "name": "./funnel (with its ECharts engine, loaded when the chart nears the screen)",
415
+ "path": "dist/funnel.js",
416
+ "limit": "166 kB",
417
+ "gzip": true,
418
+ "ignore": [
419
+ "react",
420
+ "react-dom",
421
+ "react-native",
422
+ "react-native-svg"
423
+ ]
424
+ },
425
+ {
426
+ "name": "./candlestick (with its ECharts engine, loaded when the chart nears the screen)",
427
+ "path": "dist/candlestick.js",
428
+ "limit": "212 kB",
429
+ "gzip": true,
430
+ "ignore": [
431
+ "react",
432
+ "react-dom",
433
+ "react-native",
434
+ "react-native-svg"
435
+ ]
436
+ },
437
+ {
438
+ "name": "./treemap (with its ECharts engine, loaded when the chart nears the screen)",
439
+ "path": "dist/treemap.js",
440
+ "limit": "176 kB",
441
+ "gzip": true,
442
+ "ignore": [
443
+ "react",
444
+ "react-dom",
445
+ "react-native",
446
+ "react-native-svg"
447
+ ]
448
+ },
449
+ {
450
+ "name": "./scatter (with its ECharts engine, loaded when the chart nears the screen)",
451
+ "path": "dist/scatter.js",
452
+ "limit": "205 kB",
453
+ "gzip": true,
454
+ "ignore": [
455
+ "react",
456
+ "react-dom",
457
+ "react-native",
458
+ "react-native-svg"
459
+ ]
460
+ },
461
+ {
462
+ "name": "./chart (with all of ECharts by default: pass `modules`)",
463
+ "path": "dist/chart.js",
464
+ "limit": "392 kB",
465
+ "gzip": true,
466
+ "ignore": [
467
+ "react",
468
+ "react-dom",
469
+ "react-native",
470
+ "react-native-svg"
471
+ ]
472
+ },
473
+ {
474
+ "name": "./provider",
475
+ "path": "dist/provider.js",
476
+ "limit": "2.5 kB",
477
+ "gzip": true,
478
+ "ignore": [
479
+ "react",
480
+ "react-dom",
481
+ "react-native",
482
+ "react-native-svg"
483
+ ]
484
+ },
485
+ {
486
+ "name": ". (everything, lazy parts included)",
487
+ "path": "dist/index.js",
488
+ "limit": "476 kB",
489
+ "gzip": true,
490
+ "ignore": [
491
+ "react",
492
+ "react-dom",
493
+ "react-native",
494
+ "react-native-svg"
495
+ ]
496
+ },
497
+ {
498
+ "name": "./native (bundled by Metro: a regression guard)",
499
+ "path": "dist/native.js",
500
+ "limit": "13 kB",
501
+ "gzip": true,
502
+ "ignore": [
503
+ "react",
504
+ "react-dom",
505
+ "react-native",
506
+ "react-native-svg"
507
+ ]
508
+ },
509
+ {
510
+ "name": "./radar before the engine (what the page pays at load)",
511
+ "path": "dist/radar.js",
512
+ "limit": "15 kB",
513
+ "gzip": true,
514
+ "ignore": [
515
+ "react",
516
+ "react-dom",
517
+ "react-native",
518
+ "react-native-svg",
519
+ "echarts",
520
+ "zrender"
521
+ ]
522
+ },
523
+ {
524
+ "name": "./heatmap before the engine (what the page pays at load)",
525
+ "path": "dist/heatmap.js",
526
+ "limit": "15 kB",
527
+ "gzip": true,
528
+ "ignore": [
529
+ "react",
530
+ "react-dom",
531
+ "react-native",
532
+ "react-native-svg",
533
+ "echarts",
534
+ "zrender"
535
+ ]
536
+ },
537
+ {
538
+ "name": "./sankey before the engine (what the page pays at load)",
539
+ "path": "dist/sankey.js",
540
+ "limit": "15 kB",
541
+ "gzip": true,
542
+ "ignore": [
543
+ "react",
544
+ "react-dom",
545
+ "react-native",
546
+ "react-native-svg",
547
+ "echarts",
548
+ "zrender"
549
+ ]
550
+ },
551
+ {
552
+ "name": "./funnel before the engine (what the page pays at load)",
553
+ "path": "dist/funnel.js",
554
+ "limit": "15 kB",
555
+ "gzip": true,
556
+ "ignore": [
557
+ "react",
558
+ "react-dom",
559
+ "react-native",
560
+ "react-native-svg",
561
+ "echarts",
562
+ "zrender"
563
+ ]
564
+ },
565
+ {
566
+ "name": "./candlestick before the engine (what the page pays at load)",
567
+ "path": "dist/candlestick.js",
568
+ "limit": "15 kB",
569
+ "gzip": true,
570
+ "ignore": [
571
+ "react",
572
+ "react-dom",
573
+ "react-native",
574
+ "react-native-svg",
575
+ "echarts",
576
+ "zrender"
577
+ ]
578
+ },
579
+ {
580
+ "name": "./treemap before the engine (what the page pays at load)",
581
+ "path": "dist/treemap.js",
582
+ "limit": "15 kB",
583
+ "gzip": true,
584
+ "ignore": [
585
+ "react",
586
+ "react-dom",
587
+ "react-native",
588
+ "react-native-svg",
589
+ "echarts",
590
+ "zrender"
591
+ ]
592
+ },
593
+ {
594
+ "name": "./scatter before the engine (what the page pays at load)",
595
+ "path": "dist/scatter.js",
596
+ "limit": "15 kB",
597
+ "gzip": true,
598
+ "ignore": [
599
+ "react",
600
+ "react-dom",
601
+ "react-native",
602
+ "react-native-svg",
603
+ "echarts",
604
+ "zrender"
605
+ ]
606
+ }
607
+ ],
608
+ "scripts": {
609
+ "build": "node -e \"const fs=require('node:fs');fs.rmSync('dist',{recursive:true,force:true});for(const f of fs.readdirSync('registry/examples',{recursive:true}))if(/\\.(js|d\\.ts)$/.test(f))fs.rmSync('registry/examples/'+f)\" && tsup && node scripts/build-registry.mjs",
610
+ "lint": "eslint . --max-warnings 0 && tsc --noEmit --noUnusedLocals --noUnusedParameters --noFallthroughCasesInSwitch --noImplicitReturns",
611
+ "typecheck": "tsc --noEmit",
612
+ "test": "vitest run && jest",
613
+ "size": "size-limit",
614
+ "publint": "publint && attw --pack . --profile esm-only && node scripts/consumer.mjs && node scripts/dist-check.mjs",
615
+ "world": "node scripts/world.mjs"
616
+ }
6
617
  }