@krizaka/charts 0.0.0-stage → 0.1.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.
- package/LICENSE +202 -0
- package/README.md +47 -2
- package/dist/bar.d.ts +17 -0
- package/dist/bar.js +16 -0
- package/dist/bar.js.map +1 -0
- package/dist/candlestick-IG626XL4.js +13 -0
- package/dist/candlestick-IG626XL4.js.map +1 -0
- package/dist/candlestick.d.ts +42 -0
- package/dist/candlestick.js +13 -0
- package/dist/candlestick.js.map +1 -0
- package/dist/canvas-4MSYDVFO.js +14 -0
- package/dist/canvas-4MSYDVFO.js.map +1 -0
- package/dist/cartesian-BRhNQ3ib.d.ts +34 -0
- package/dist/chart.d.ts +58 -0
- package/dist/chart.js +11 -0
- package/dist/chart.js.map +1 -0
- package/dist/chunk-3CJHBJXA.js +186 -0
- package/dist/chunk-3CJHBJXA.js.map +1 -0
- package/dist/chunk-6FINSUOS.js +49 -0
- package/dist/chunk-6FINSUOS.js.map +1 -0
- package/dist/chunk-7CSAGFBW.js +166 -0
- package/dist/chunk-7CSAGFBW.js.map +1 -0
- package/dist/chunk-7TIFCK5E.js +103 -0
- package/dist/chunk-7TIFCK5E.js.map +1 -0
- package/dist/chunk-AHQXJSAQ.js +38 -0
- package/dist/chunk-AHQXJSAQ.js.map +1 -0
- package/dist/chunk-ANUCSRUN.js +43 -0
- package/dist/chunk-ANUCSRUN.js.map +1 -0
- package/dist/chunk-BISL7DYW.js +66 -0
- package/dist/chunk-BISL7DYW.js.map +1 -0
- package/dist/chunk-BZ5CQFPH.js +19 -0
- package/dist/chunk-BZ5CQFPH.js.map +1 -0
- package/dist/chunk-DWJPPEMC.js +455 -0
- package/dist/chunk-DWJPPEMC.js.map +1 -0
- package/dist/chunk-DZB6HEVO.js +73 -0
- package/dist/chunk-DZB6HEVO.js.map +1 -0
- package/dist/chunk-EK3Z647J.js +133 -0
- package/dist/chunk-EK3Z647J.js.map +1 -0
- package/dist/chunk-I5QUZVU2.js +234 -0
- package/dist/chunk-I5QUZVU2.js.map +1 -0
- package/dist/chunk-OB5EFDDH.js +118 -0
- package/dist/chunk-OB5EFDDH.js.map +1 -0
- package/dist/chunk-OER6ETT4.js +155 -0
- package/dist/chunk-OER6ETT4.js.map +1 -0
- package/dist/chunk-PTSB3H5Q.js +205 -0
- package/dist/chunk-PTSB3H5Q.js.map +1 -0
- package/dist/chunk-TPJDOB7R.js +15 -0
- package/dist/chunk-TPJDOB7R.js.map +1 -0
- package/dist/chunk-UNK4MJVG.js +378 -0
- package/dist/chunk-UNK4MJVG.js.map +1 -0
- package/dist/chunk-VKO2OYYM.js +88 -0
- package/dist/chunk-VKO2OYYM.js.map +1 -0
- package/dist/chunk-VKTZD7UT.js +107 -0
- package/dist/chunk-VKTZD7UT.js.map +1 -0
- package/dist/chunk-W5FX4TU3.js +102 -0
- package/dist/chunk-W5FX4TU3.js.map +1 -0
- package/dist/chunk-WBH2QU77.js +178 -0
- package/dist/chunk-WBH2QU77.js.map +1 -0
- package/dist/chunk-WIRCIOLH.js +145 -0
- package/dist/chunk-WIRCIOLH.js.map +1 -0
- package/dist/chunk-XAJ3KCC4.js +116 -0
- package/dist/chunk-XAJ3KCC4.js.map +1 -0
- package/dist/chunk-XC6BQ3RN.js +92 -0
- package/dist/chunk-XC6BQ3RN.js.map +1 -0
- package/dist/chunk-XLLYNNC6.js +89 -0
- package/dist/chunk-XLLYNNC6.js.map +1 -0
- package/dist/chunk-XR4ZJDOV.js +15 -0
- package/dist/chunk-XR4ZJDOV.js.map +1 -0
- package/dist/context-BgYUymEO.d.ts +163 -0
- package/dist/frame-I7_xYGy5.d.ts +45 -0
- package/dist/full-S2MBPEEP.js +11 -0
- package/dist/full-S2MBPEEP.js.map +1 -0
- package/dist/funnel-QU5ZPC52.js +13 -0
- package/dist/funnel-QU5ZPC52.js.map +1 -0
- package/dist/funnel.d.ts +26 -0
- package/dist/funnel.js +13 -0
- package/dist/funnel.js.map +1 -0
- package/dist/gauge.d.ts +38 -0
- package/dist/gauge.js +12 -0
- package/dist/gauge.js.map +1 -0
- package/dist/geo.d.ts +37 -0
- package/dist/geo.js +13 -0
- package/dist/geo.js.map +1 -0
- package/dist/globe.d.ts +36 -0
- package/dist/globe.js +12 -0
- package/dist/globe.js.map +1 -0
- package/dist/heatmap-JWQOKUGM.js +13 -0
- package/dist/heatmap-JWQOKUGM.js.map +1 -0
- package/dist/heatmap.d.ts +47 -0
- package/dist/heatmap.js +15 -0
- package/dist/heatmap.js.map +1 -0
- package/dist/host-_F8RgiIz.d.ts +15 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +101 -0
- package/dist/index.js.map +1 -0
- package/dist/line.d.ts +25 -0
- package/dist/line.js +18 -0
- package/dist/line.js.map +1 -0
- package/dist/native.d.ts +300 -0
- package/dist/native.js +875 -0
- package/dist/native.js.map +1 -0
- package/dist/pie.d.ts +37 -0
- package/dist/pie.js +16 -0
- package/dist/pie.js.map +1 -0
- package/dist/provider.d.ts +73 -0
- package/dist/provider.js +24 -0
- package/dist/provider.js.map +1 -0
- package/dist/radar-75GRJ2IK.js +13 -0
- package/dist/radar-75GRJ2IK.js.map +1 -0
- package/dist/radar.d.ts +22 -0
- package/dist/radar.js +13 -0
- package/dist/radar.js.map +1 -0
- package/dist/sankey-XQTX2EG6.js +13 -0
- package/dist/sankey-XQTX2EG6.js.map +1 -0
- package/dist/sankey.d.ts +28 -0
- package/dist/sankey.js +13 -0
- package/dist/sankey.js.map +1 -0
- package/dist/scatter-XSNG4OKD.js +13 -0
- package/dist/scatter-XSNG4OKD.js.map +1 -0
- package/dist/scatter.d.ts +41 -0
- package/dist/scatter.js +15 -0
- package/dist/scatter.js.map +1 -0
- package/dist/sparkline.d.ts +26 -0
- package/dist/sparkline.js +15 -0
- package/dist/sparkline.js.map +1 -0
- package/dist/svg-BJUHYX3B.js +14 -0
- package/dist/svg-BJUHYX3B.js.map +1 -0
- package/dist/treemap-OMGGGB5U.js +13 -0
- package/dist/treemap-OMGGGB5U.js.map +1 -0
- package/dist/treemap.d.ts +24 -0
- package/dist/treemap.js +14 -0
- package/dist/treemap.js.map +1 -0
- package/dist/world-110m-DVFWXS42.js +18 -0
- package/dist/world-110m-DVFWXS42.js.map +1 -0
- package/package.json +518 -3
- package/registry/area-chart.json +784 -0
- package/registry/bar-chart.json +783 -0
- package/registry/calendar-heatmap.json +459 -0
- package/registry/candlestick.json +552 -0
- package/registry/chart.json +440 -0
- package/registry/charts-provider.json +190 -0
- package/registry/examples/area-chart/credits-usage.d.ts +4 -0
- package/registry/examples/area-chart/credits-usage.js +38 -0
- package/registry/examples/area-chart/credits-usage.tsx +32 -0
- package/registry/examples/area-chart/native/credits-usage.d.ts +4 -0
- package/registry/examples/area-chart/native/credits-usage.dark.png +0 -0
- package/registry/examples/area-chart/native/credits-usage.js +33 -0
- package/registry/examples/area-chart/native/credits-usage.light.png +0 -0
- package/registry/examples/area-chart/native/credits-usage.tsx +27 -0
- package/registry/examples/area-chart/storage.d.ts +4 -0
- package/registry/examples/area-chart/storage.js +27 -0
- package/registry/examples/area-chart/storage.tsx +21 -0
- package/registry/examples/bar-chart/jobs-by-status.d.ts +4 -0
- package/registry/examples/bar-chart/jobs-by-status.js +37 -0
- package/registry/examples/bar-chart/jobs-by-status.tsx +31 -0
- package/registry/examples/bar-chart/native/jobs-by-status.d.ts +4 -0
- package/registry/examples/bar-chart/native/jobs-by-status.dark.png +0 -0
- package/registry/examples/bar-chart/native/jobs-by-status.js +32 -0
- package/registry/examples/bar-chart/native/jobs-by-status.light.png +0 -0
- package/registry/examples/bar-chart/native/jobs-by-status.tsx +26 -0
- package/registry/examples/bar-chart/plans-by-quarter.d.ts +4 -0
- package/registry/examples/bar-chart/plans-by-quarter.js +31 -0
- package/registry/examples/bar-chart/plans-by-quarter.tsx +26 -0
- package/registry/examples/bar-chart/top-supporters.d.ts +4 -0
- package/registry/examples/bar-chart/top-supporters.js +32 -0
- package/registry/examples/bar-chart/top-supporters.tsx +27 -0
- package/registry/examples/calendar-heatmap/publishing.d.ts +4 -0
- package/registry/examples/calendar-heatmap/publishing.js +28 -0
- package/registry/examples/calendar-heatmap/publishing.tsx +23 -0
- package/registry/examples/candlestick/auction-bids.d.ts +4 -0
- package/registry/examples/candlestick/auction-bids.js +37 -0
- package/registry/examples/candlestick/auction-bids.tsx +32 -0
- package/registry/examples/chart/polar-uploads.d.ts +4 -0
- package/registry/examples/chart/polar-uploads.js +34 -0
- package/registry/examples/chart/polar-uploads.tsx +30 -0
- package/registry/examples/charts-provider/french-orazaka.d.ts +4 -0
- package/registry/examples/charts-provider/french-orazaka.js +26 -0
- package/registry/examples/charts-provider/french-orazaka.tsx +22 -0
- package/registry/examples/charts-provider/native/french-orazaka.d.ts +4 -0
- package/registry/examples/charts-provider/native/french-orazaka.dark.png +0 -0
- package/registry/examples/charts-provider/native/french-orazaka.js +17 -0
- package/registry/examples/charts-provider/native/french-orazaka.light.png +0 -0
- package/registry/examples/charts-provider/native/french-orazaka.tsx +17 -0
- package/registry/examples/funnel/signup.d.ts +4 -0
- package/registry/examples/funnel/signup.js +30 -0
- package/registry/examples/funnel/signup.tsx +24 -0
- package/registry/examples/gauge/challenge-goal.d.ts +4 -0
- package/registry/examples/gauge/challenge-goal.js +24 -0
- package/registry/examples/gauge/challenge-goal.tsx +18 -0
- package/registry/examples/gauge/credits-quota.d.ts +4 -0
- package/registry/examples/gauge/credits-quota.js +26 -0
- package/registry/examples/gauge/credits-quota.tsx +19 -0
- package/registry/examples/gauge/native/credits-quota.d.ts +4 -0
- package/registry/examples/gauge/native/credits-quota.dark.png +0 -0
- package/registry/examples/gauge/native/credits-quota.js +25 -0
- package/registry/examples/gauge/native/credits-quota.light.png +0 -0
- package/registry/examples/gauge/native/credits-quota.tsx +18 -0
- package/registry/examples/geo-map/viewers.d.ts +4 -0
- package/registry/examples/geo-map/viewers.js +43 -0
- package/registry/examples/geo-map/viewers.tsx +29 -0
- package/registry/examples/globe/deployment-regions.d.ts +4 -0
- package/registry/examples/globe/deployment-regions.js +36 -0
- package/registry/examples/globe/deployment-regions.tsx +30 -0
- package/registry/examples/heatmap/upload-activity.d.ts +4 -0
- package/registry/examples/heatmap/upload-activity.js +30 -0
- package/registry/examples/heatmap/upload-activity.tsx +25 -0
- package/registry/examples/line-chart/creator-earnings.d.ts +4 -0
- package/registry/examples/line-chart/creator-earnings.js +35 -0
- package/registry/examples/line-chart/creator-earnings.tsx +30 -0
- package/registry/examples/line-chart/forecast.d.ts +4 -0
- package/registry/examples/line-chart/forecast.js +36 -0
- package/registry/examples/line-chart/forecast.tsx +30 -0
- package/registry/examples/line-chart/live-jobs.d.ts +4 -0
- package/registry/examples/line-chart/live-jobs.js +21 -0
- package/registry/examples/line-chart/live-jobs.tsx +23 -0
- package/registry/examples/line-chart/native/creator-earnings.d.ts +4 -0
- package/registry/examples/line-chart/native/creator-earnings.dark.png +0 -0
- package/registry/examples/line-chart/native/creator-earnings.js +32 -0
- package/registry/examples/line-chart/native/creator-earnings.light.png +0 -0
- package/registry/examples/line-chart/native/creator-earnings.tsx +26 -0
- package/registry/examples/line-chart/states.d.ts +4 -0
- package/registry/examples/line-chart/states.js +16 -0
- package/registry/examples/line-chart/states.tsx +13 -0
- package/registry/examples/pie-chart/credit-spend.d.ts +4 -0
- package/registry/examples/pie-chart/credit-spend.js +30 -0
- package/registry/examples/pie-chart/credit-spend.tsx +24 -0
- package/registry/examples/pie-chart/native/credit-spend.d.ts +4 -0
- package/registry/examples/pie-chart/native/credit-spend.dark.png +0 -0
- package/registry/examples/pie-chart/native/credit-spend.js +17 -0
- package/registry/examples/pie-chart/native/credit-spend.light.png +0 -0
- package/registry/examples/pie-chart/native/credit-spend.tsx +12 -0
- package/registry/examples/pie-chart/storage-by-kind.d.ts +4 -0
- package/registry/examples/pie-chart/storage-by-kind.js +31 -0
- package/registry/examples/pie-chart/storage-by-kind.tsx +26 -0
- package/registry/examples/radar-chart/model-comparison.d.ts +4 -0
- package/registry/examples/radar-chart/model-comparison.js +33 -0
- package/registry/examples/radar-chart/model-comparison.tsx +28 -0
- package/registry/examples/sankey/credit-flow.d.ts +4 -0
- package/registry/examples/sankey/credit-flow.js +37 -0
- package/registry/examples/sankey/credit-flow.tsx +32 -0
- package/registry/examples/scatter-chart/watch-time.d.ts +4 -0
- package/registry/examples/scatter-chart/watch-time.js +36 -0
- package/registry/examples/scatter-chart/watch-time.tsx +31 -0
- package/registry/examples/sparkline/bars.d.ts +4 -0
- package/registry/examples/sparkline/bars.js +12 -0
- package/registry/examples/sparkline/bars.tsx +7 -0
- package/registry/examples/sparkline/native/stat-trend.d.ts +4 -0
- package/registry/examples/sparkline/native/stat-trend.dark.png +0 -0
- package/registry/examples/sparkline/native/stat-trend.js +12 -0
- package/registry/examples/sparkline/native/stat-trend.light.png +0 -0
- package/registry/examples/sparkline/native/stat-trend.tsx +7 -0
- package/registry/examples/sparkline/stat-trend.d.ts +4 -0
- package/registry/examples/sparkline/stat-trend.js +18 -0
- package/registry/examples/sparkline/stat-trend.tsx +15 -0
- package/registry/examples/sparkline/table-rows.d.ts +4 -0
- package/registry/examples/sparkline/table-rows.js +23 -0
- package/registry/examples/sparkline/table-rows.tsx +26 -0
- package/registry/examples/treemap/storage.d.ts +4 -0
- package/registry/examples/treemap/storage.js +17 -0
- package/registry/examples/treemap/storage.tsx +13 -0
- package/registry/funnel.json +486 -0
- package/registry/gauge.json +599 -0
- package/registry/geo-map.json +483 -0
- package/registry/globe.json +468 -0
- package/registry/heatmap.json +530 -0
- package/registry/index.json +420 -0
- package/registry/line-chart.json +792 -0
- package/registry/pie-chart.json +1287 -0
- package/registry/radar-chart.json +458 -0
- package/registry/sankey.json +502 -0
- package/registry/scatter-chart.json +558 -0
- package/registry/sparkline.json +562 -0
- package/registry/treemap.json +431 -0
package/package.json
CHANGED
|
@@ -1,6 +1,521 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/charts",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.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
|
+
"./line": {
|
|
44
|
+
"types": "./dist/line.d.ts",
|
|
45
|
+
"import": "./dist/line.js"
|
|
46
|
+
},
|
|
47
|
+
"./bar": {
|
|
48
|
+
"types": "./dist/bar.d.ts",
|
|
49
|
+
"import": "./dist/bar.js"
|
|
50
|
+
},
|
|
51
|
+
"./pie": {
|
|
52
|
+
"types": "./dist/pie.d.ts",
|
|
53
|
+
"import": "./dist/pie.js"
|
|
54
|
+
},
|
|
55
|
+
"./gauge": {
|
|
56
|
+
"types": "./dist/gauge.d.ts",
|
|
57
|
+
"import": "./dist/gauge.js"
|
|
58
|
+
},
|
|
59
|
+
"./sparkline": {
|
|
60
|
+
"types": "./dist/sparkline.d.ts",
|
|
61
|
+
"import": "./dist/sparkline.js"
|
|
62
|
+
},
|
|
63
|
+
"./geo": {
|
|
64
|
+
"types": "./dist/geo.d.ts",
|
|
65
|
+
"import": "./dist/geo.js"
|
|
66
|
+
},
|
|
67
|
+
"./globe": {
|
|
68
|
+
"types": "./dist/globe.d.ts",
|
|
69
|
+
"import": "./dist/globe.js"
|
|
70
|
+
},
|
|
71
|
+
"./radar": {
|
|
72
|
+
"types": "./dist/radar.d.ts",
|
|
73
|
+
"import": "./dist/radar.js"
|
|
74
|
+
},
|
|
75
|
+
"./heatmap": {
|
|
76
|
+
"types": "./dist/heatmap.d.ts",
|
|
77
|
+
"import": "./dist/heatmap.js"
|
|
78
|
+
},
|
|
79
|
+
"./sankey": {
|
|
80
|
+
"types": "./dist/sankey.d.ts",
|
|
81
|
+
"import": "./dist/sankey.js"
|
|
82
|
+
},
|
|
83
|
+
"./funnel": {
|
|
84
|
+
"types": "./dist/funnel.d.ts",
|
|
85
|
+
"import": "./dist/funnel.js"
|
|
86
|
+
},
|
|
87
|
+
"./candlestick": {
|
|
88
|
+
"types": "./dist/candlestick.d.ts",
|
|
89
|
+
"import": "./dist/candlestick.js"
|
|
90
|
+
},
|
|
91
|
+
"./treemap": {
|
|
92
|
+
"types": "./dist/treemap.d.ts",
|
|
93
|
+
"import": "./dist/treemap.js"
|
|
94
|
+
},
|
|
95
|
+
"./scatter": {
|
|
96
|
+
"types": "./dist/scatter.d.ts",
|
|
97
|
+
"import": "./dist/scatter.js"
|
|
98
|
+
},
|
|
99
|
+
"./chart": {
|
|
100
|
+
"types": "./dist/chart.d.ts",
|
|
101
|
+
"import": "./dist/chart.js"
|
|
102
|
+
},
|
|
103
|
+
"./native": {
|
|
104
|
+
"types": "./dist/native.d.ts",
|
|
105
|
+
"import": "./dist/native.js"
|
|
106
|
+
},
|
|
107
|
+
"./registry/examples/*": {
|
|
108
|
+
"types": "./registry/examples/*.d.ts",
|
|
109
|
+
"import": "./registry/examples/*.js"
|
|
110
|
+
},
|
|
111
|
+
"./registry/*": "./registry/*.json",
|
|
112
|
+
"./package.json": "./package.json"
|
|
113
|
+
},
|
|
114
|
+
"files": [
|
|
115
|
+
"dist",
|
|
116
|
+
"registry/*.json",
|
|
117
|
+
"registry/examples/**/*.tsx",
|
|
118
|
+
"registry/examples/**/*.js",
|
|
119
|
+
"registry/examples/**/*.d.ts",
|
|
120
|
+
"registry/examples/**/*.png",
|
|
121
|
+
"README.md",
|
|
122
|
+
"LICENSE"
|
|
123
|
+
],
|
|
124
|
+
"sideEffects": false,
|
|
125
|
+
"dependencies": {
|
|
126
|
+
"d3-geo": "^3.1.1",
|
|
127
|
+
"echarts": "^6.1.0",
|
|
128
|
+
"topojson-client": "^3.1.0",
|
|
129
|
+
"@krizaka/intl": "^0.1.0"
|
|
130
|
+
},
|
|
131
|
+
"peerDependencies": {
|
|
132
|
+
"react": ">=19",
|
|
133
|
+
"react-dom": ">=19",
|
|
134
|
+
"react-native": ">=0.76",
|
|
135
|
+
"react-native-svg": ">=15"
|
|
136
|
+
},
|
|
137
|
+
"peerDependenciesMeta": {
|
|
138
|
+
"react-dom": {
|
|
139
|
+
"optional": true
|
|
140
|
+
},
|
|
141
|
+
"react-native": {
|
|
142
|
+
"optional": true
|
|
143
|
+
},
|
|
144
|
+
"react-native-svg": {
|
|
145
|
+
"optional": true
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"devDependencies": {
|
|
149
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
150
|
+
"@babel/core": "^7.29.7",
|
|
151
|
+
"@jest/globals": "30.4.1",
|
|
152
|
+
"@react-native/babel-preset": "0.86.3",
|
|
153
|
+
"@react-native/jest-preset": "0.86.3",
|
|
154
|
+
"@size-limit/preset-small-lib": "^14.2.0",
|
|
155
|
+
"@storybook/react-vite": "10.6.1",
|
|
156
|
+
"@testing-library/react": "^16.3.0",
|
|
157
|
+
"@testing-library/react-native": "^14.1.0",
|
|
158
|
+
"@testing-library/user-event": "^14.6.7",
|
|
159
|
+
"@types/d3-geo": "^3.1.0",
|
|
160
|
+
"@types/geojson": "^7946.0.16",
|
|
161
|
+
"@types/node": "^22.15.0",
|
|
162
|
+
"@types/react": "^19.2.0",
|
|
163
|
+
"@types/react-dom": "^19.2.0",
|
|
164
|
+
"@types/topojson-client": "^3.1.5",
|
|
165
|
+
"@types/topojson-specification": "^1.0.5",
|
|
166
|
+
"axe-core": "^4.14.0",
|
|
167
|
+
"babel-jest": "30.4.1",
|
|
168
|
+
"eslint": "^9.39.0",
|
|
169
|
+
"happy-dom": "^20.0.0",
|
|
170
|
+
"i18n-iso-countries": "^7.14.0",
|
|
171
|
+
"jest": "30.4.2",
|
|
172
|
+
"jest-environment-node": "30.4.1",
|
|
173
|
+
"publint": "^0.3.25",
|
|
174
|
+
"react": "^19.2.0",
|
|
175
|
+
"react-docgen-typescript": "^2.4.0",
|
|
176
|
+
"react-dom": "^19.2.0",
|
|
177
|
+
"react-native": "^0.86.3",
|
|
178
|
+
"react-native-svg": "^15.15.4",
|
|
179
|
+
"react-native-web": "0.21.2",
|
|
180
|
+
"size-limit": "^14.2.0",
|
|
181
|
+
"storybook": "10.6.1",
|
|
182
|
+
"test-renderer": "^1.3.0",
|
|
183
|
+
"tsup": "^8.5.1",
|
|
184
|
+
"typescript": "^5.9.0",
|
|
185
|
+
"vitest": "^4.1.11",
|
|
186
|
+
"world-atlas": "^2.0.2",
|
|
187
|
+
"@krizaka/config": "0.1.0",
|
|
188
|
+
"@krizaka/tokens": "2.3.0"
|
|
189
|
+
},
|
|
190
|
+
"engines": {
|
|
191
|
+
"node": ">=20"
|
|
192
|
+
},
|
|
193
|
+
"publishConfig": {
|
|
194
|
+
"access": "public"
|
|
195
|
+
},
|
|
196
|
+
"size-limit": [
|
|
197
|
+
{
|
|
198
|
+
"name": "./line",
|
|
199
|
+
"path": "dist/line.js",
|
|
200
|
+
"limit": "13.5 kB",
|
|
201
|
+
"gzip": true,
|
|
202
|
+
"ignore": [
|
|
203
|
+
"react",
|
|
204
|
+
"react-dom",
|
|
205
|
+
"react-native",
|
|
206
|
+
"react-native-svg"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "./bar",
|
|
211
|
+
"path": "dist/bar.js",
|
|
212
|
+
"limit": "13.5 kB",
|
|
213
|
+
"gzip": true,
|
|
214
|
+
"ignore": [
|
|
215
|
+
"react",
|
|
216
|
+
"react-dom",
|
|
217
|
+
"react-native",
|
|
218
|
+
"react-native-svg"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "./pie",
|
|
223
|
+
"path": "dist/pie.js",
|
|
224
|
+
"limit": "9.5 kB",
|
|
225
|
+
"gzip": true,
|
|
226
|
+
"ignore": [
|
|
227
|
+
"react",
|
|
228
|
+
"react-dom",
|
|
229
|
+
"react-native",
|
|
230
|
+
"react-native-svg"
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "./gauge",
|
|
235
|
+
"path": "dist/gauge.js",
|
|
236
|
+
"limit": "8.5 kB",
|
|
237
|
+
"gzip": true,
|
|
238
|
+
"ignore": [
|
|
239
|
+
"react",
|
|
240
|
+
"react-dom",
|
|
241
|
+
"react-native",
|
|
242
|
+
"react-native-svg"
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "./sparkline",
|
|
247
|
+
"path": "dist/sparkline.js",
|
|
248
|
+
"limit": "10.5 kB",
|
|
249
|
+
"gzip": true,
|
|
250
|
+
"ignore": [
|
|
251
|
+
"react",
|
|
252
|
+
"react-dom",
|
|
253
|
+
"react-native",
|
|
254
|
+
"react-native-svg"
|
|
255
|
+
]
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "./geo (with the world, 38 kB, loaded when a map is drawn)",
|
|
259
|
+
"path": "dist/geo.js",
|
|
260
|
+
"limit": "57 kB",
|
|
261
|
+
"gzip": true,
|
|
262
|
+
"ignore": [
|
|
263
|
+
"react",
|
|
264
|
+
"react-dom",
|
|
265
|
+
"react-native",
|
|
266
|
+
"react-native-svg"
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "./globe (with the world, loaded when drawn)",
|
|
271
|
+
"path": "dist/globe.js",
|
|
272
|
+
"limit": "58 kB",
|
|
273
|
+
"gzip": true,
|
|
274
|
+
"ignore": [
|
|
275
|
+
"react",
|
|
276
|
+
"react-dom",
|
|
277
|
+
"react-native",
|
|
278
|
+
"react-native-svg"
|
|
279
|
+
]
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "./radar (with its ECharts engine, loaded when the chart nears the screen)",
|
|
283
|
+
"path": "dist/radar.js",
|
|
284
|
+
"limit": "175 kB",
|
|
285
|
+
"gzip": true,
|
|
286
|
+
"ignore": [
|
|
287
|
+
"react",
|
|
288
|
+
"react-dom",
|
|
289
|
+
"react-native",
|
|
290
|
+
"react-native-svg"
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "./heatmap (with its ECharts engine, loaded when the chart nears the screen)",
|
|
295
|
+
"path": "dist/heatmap.js",
|
|
296
|
+
"limit": "200 kB",
|
|
297
|
+
"gzip": true,
|
|
298
|
+
"ignore": [
|
|
299
|
+
"react",
|
|
300
|
+
"react-dom",
|
|
301
|
+
"react-native",
|
|
302
|
+
"react-native-svg"
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "./sankey (with its ECharts engine, loaded when the chart nears the screen)",
|
|
307
|
+
"path": "dist/sankey.js",
|
|
308
|
+
"limit": "176 kB",
|
|
309
|
+
"gzip": true,
|
|
310
|
+
"ignore": [
|
|
311
|
+
"react",
|
|
312
|
+
"react-dom",
|
|
313
|
+
"react-native",
|
|
314
|
+
"react-native-svg"
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "./funnel (with its ECharts engine, loaded when the chart nears the screen)",
|
|
319
|
+
"path": "dist/funnel.js",
|
|
320
|
+
"limit": "166 kB",
|
|
321
|
+
"gzip": true,
|
|
322
|
+
"ignore": [
|
|
323
|
+
"react",
|
|
324
|
+
"react-dom",
|
|
325
|
+
"react-native",
|
|
326
|
+
"react-native-svg"
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "./candlestick (with its ECharts engine, loaded when the chart nears the screen)",
|
|
331
|
+
"path": "dist/candlestick.js",
|
|
332
|
+
"limit": "212 kB",
|
|
333
|
+
"gzip": true,
|
|
334
|
+
"ignore": [
|
|
335
|
+
"react",
|
|
336
|
+
"react-dom",
|
|
337
|
+
"react-native",
|
|
338
|
+
"react-native-svg"
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "./treemap (with its ECharts engine, loaded when the chart nears the screen)",
|
|
343
|
+
"path": "dist/treemap.js",
|
|
344
|
+
"limit": "176 kB",
|
|
345
|
+
"gzip": true,
|
|
346
|
+
"ignore": [
|
|
347
|
+
"react",
|
|
348
|
+
"react-dom",
|
|
349
|
+
"react-native",
|
|
350
|
+
"react-native-svg"
|
|
351
|
+
]
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "./scatter (with its ECharts engine, loaded when the chart nears the screen)",
|
|
355
|
+
"path": "dist/scatter.js",
|
|
356
|
+
"limit": "205 kB",
|
|
357
|
+
"gzip": true,
|
|
358
|
+
"ignore": [
|
|
359
|
+
"react",
|
|
360
|
+
"react-dom",
|
|
361
|
+
"react-native",
|
|
362
|
+
"react-native-svg"
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "./chart (with all of ECharts by default: pass `modules`)",
|
|
367
|
+
"path": "dist/chart.js",
|
|
368
|
+
"limit": "392 kB",
|
|
369
|
+
"gzip": true,
|
|
370
|
+
"ignore": [
|
|
371
|
+
"react",
|
|
372
|
+
"react-dom",
|
|
373
|
+
"react-native",
|
|
374
|
+
"react-native-svg"
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "./provider",
|
|
379
|
+
"path": "dist/provider.js",
|
|
380
|
+
"limit": "2.5 kB",
|
|
381
|
+
"gzip": true,
|
|
382
|
+
"ignore": [
|
|
383
|
+
"react",
|
|
384
|
+
"react-dom",
|
|
385
|
+
"react-native",
|
|
386
|
+
"react-native-svg"
|
|
387
|
+
]
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"name": ". (everything, lazy parts included)",
|
|
391
|
+
"path": "dist/index.js",
|
|
392
|
+
"limit": "476 kB",
|
|
393
|
+
"gzip": true,
|
|
394
|
+
"ignore": [
|
|
395
|
+
"react",
|
|
396
|
+
"react-dom",
|
|
397
|
+
"react-native",
|
|
398
|
+
"react-native-svg"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "./native (bundled by Metro: a regression guard)",
|
|
403
|
+
"path": "dist/native.js",
|
|
404
|
+
"limit": "10.5 kB",
|
|
405
|
+
"gzip": true,
|
|
406
|
+
"ignore": [
|
|
407
|
+
"react",
|
|
408
|
+
"react-dom",
|
|
409
|
+
"react-native",
|
|
410
|
+
"react-native-svg"
|
|
411
|
+
]
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "./radar before the engine (what the page pays at load)",
|
|
415
|
+
"path": "dist/radar.js",
|
|
416
|
+
"limit": "15 kB",
|
|
417
|
+
"gzip": true,
|
|
418
|
+
"ignore": [
|
|
419
|
+
"react",
|
|
420
|
+
"react-dom",
|
|
421
|
+
"react-native",
|
|
422
|
+
"react-native-svg",
|
|
423
|
+
"echarts",
|
|
424
|
+
"zrender"
|
|
425
|
+
]
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"name": "./heatmap before the engine (what the page pays at load)",
|
|
429
|
+
"path": "dist/heatmap.js",
|
|
430
|
+
"limit": "15 kB",
|
|
431
|
+
"gzip": true,
|
|
432
|
+
"ignore": [
|
|
433
|
+
"react",
|
|
434
|
+
"react-dom",
|
|
435
|
+
"react-native",
|
|
436
|
+
"react-native-svg",
|
|
437
|
+
"echarts",
|
|
438
|
+
"zrender"
|
|
439
|
+
]
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "./sankey before the engine (what the page pays at load)",
|
|
443
|
+
"path": "dist/sankey.js",
|
|
444
|
+
"limit": "15 kB",
|
|
445
|
+
"gzip": true,
|
|
446
|
+
"ignore": [
|
|
447
|
+
"react",
|
|
448
|
+
"react-dom",
|
|
449
|
+
"react-native",
|
|
450
|
+
"react-native-svg",
|
|
451
|
+
"echarts",
|
|
452
|
+
"zrender"
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "./funnel before the engine (what the page pays at load)",
|
|
457
|
+
"path": "dist/funnel.js",
|
|
458
|
+
"limit": "15 kB",
|
|
459
|
+
"gzip": true,
|
|
460
|
+
"ignore": [
|
|
461
|
+
"react",
|
|
462
|
+
"react-dom",
|
|
463
|
+
"react-native",
|
|
464
|
+
"react-native-svg",
|
|
465
|
+
"echarts",
|
|
466
|
+
"zrender"
|
|
467
|
+
]
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "./candlestick before the engine (what the page pays at load)",
|
|
471
|
+
"path": "dist/candlestick.js",
|
|
472
|
+
"limit": "15 kB",
|
|
473
|
+
"gzip": true,
|
|
474
|
+
"ignore": [
|
|
475
|
+
"react",
|
|
476
|
+
"react-dom",
|
|
477
|
+
"react-native",
|
|
478
|
+
"react-native-svg",
|
|
479
|
+
"echarts",
|
|
480
|
+
"zrender"
|
|
481
|
+
]
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "./treemap before the engine (what the page pays at load)",
|
|
485
|
+
"path": "dist/treemap.js",
|
|
486
|
+
"limit": "15 kB",
|
|
487
|
+
"gzip": true,
|
|
488
|
+
"ignore": [
|
|
489
|
+
"react",
|
|
490
|
+
"react-dom",
|
|
491
|
+
"react-native",
|
|
492
|
+
"react-native-svg",
|
|
493
|
+
"echarts",
|
|
494
|
+
"zrender"
|
|
495
|
+
]
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "./scatter before the engine (what the page pays at load)",
|
|
499
|
+
"path": "dist/scatter.js",
|
|
500
|
+
"limit": "15 kB",
|
|
501
|
+
"gzip": true,
|
|
502
|
+
"ignore": [
|
|
503
|
+
"react",
|
|
504
|
+
"react-dom",
|
|
505
|
+
"react-native",
|
|
506
|
+
"react-native-svg",
|
|
507
|
+
"echarts",
|
|
508
|
+
"zrender"
|
|
509
|
+
]
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"scripts": {
|
|
513
|
+
"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",
|
|
514
|
+
"lint": "eslint . --max-warnings 0 && tsc --noEmit --noUnusedLocals --noUnusedParameters --noFallthroughCasesInSwitch --noImplicitReturns",
|
|
515
|
+
"typecheck": "tsc --noEmit",
|
|
516
|
+
"test": "vitest run && jest",
|
|
517
|
+
"size": "size-limit",
|
|
518
|
+
"publint": "publint && attw --pack . --profile esm-only && node scripts/consumer.mjs && node scripts/dist-check.mjs",
|
|
519
|
+
"world": "node scripts/world.mjs"
|
|
520
|
+
}
|
|
6
521
|
}
|