@neo4j-ndl/react-charts 2.0.0-alpha.0.3d763f7 → 2.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react-charts",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of charts from Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -57,18 +57,17 @@
|
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"react": ">=19.0.0",
|
|
59
59
|
"react-dom": ">=19.0.0",
|
|
60
|
-
"@neo4j-ndl/base": "^5.0.0
|
|
61
|
-
"@neo4j-ndl/react": "^5.0.0
|
|
60
|
+
"@neo4j-ndl/base": "^5.0.0",
|
|
61
|
+
"@neo4j-ndl/react": "^5.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"classnames": "2.5.1",
|
|
65
|
-
"echarts": "6.1.0"
|
|
66
|
-
"@neo4j-ndl/base": "5.0.0-alpha.0.3d763f7",
|
|
67
|
-
"@neo4j-ndl/react": "5.0.0-alpha.0.3d763f7"
|
|
65
|
+
"echarts": "6.1.0"
|
|
68
66
|
},
|
|
69
67
|
"scripts": {
|
|
70
68
|
"test": "pnpm run test:playwright",
|
|
71
|
-
"test:unit": "pnpm exec vitest --run --
|
|
69
|
+
"test:unit": "pnpm exec vitest --run --exclude node_modules",
|
|
70
|
+
"typecheck": "pnpm exec tsc -p tsconfig.tests.json",
|
|
72
71
|
"test:playwright": "pnpm exec playwright test -c playwright-component-testing.config.ts",
|
|
73
72
|
"build": "pnpm run build:esm && pnpm run build:cjs && pnpm run build:types",
|
|
74
73
|
"build:esm": "pnpm exec tsc -p tsconfig.esm.json",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: ndl-react-charts
|
|
3
3
|
metadata:
|
|
4
4
|
package: '@neo4j-ndl/react-charts'
|
|
5
|
-
version: '2.0.0
|
|
5
|
+
version: '2.0.0'
|
|
6
6
|
description: >-
|
|
7
7
|
Build data visualizations with the Neo4j Needle React Charts library
|
|
8
8
|
(@neo4j-ndl/react-charts), an Apache ECharts-based charting layer. Use when
|
|
@@ -15,7 +15,7 @@ description: >-
|
|
|
15
15
|
|
|
16
16
|
# Neo4j Needle React Charts (@neo4j-ndl/react-charts)
|
|
17
17
|
|
|
18
|
-
> 📌 Shipped with `@neo4j-ndl/react-charts` v2.0.0
|
|
18
|
+
> 📌 Shipped with `@neo4j-ndl/react-charts` v2.0.0. Once installed into your repo (e.g. via
|
|
19
19
|
> `npx skills add`) this folder is detached from the package — the installed
|
|
20
20
|
> package (TypeScript types in `node_modules/@neo4j-ndl/react-charts`) is the source of
|
|
21
21
|
> truth.
|
|
@@ -1868,7 +1868,7 @@ const Component = () => {
|
|
|
1868
1868
|
>
|
|
1869
1869
|
<Chart
|
|
1870
1870
|
legend={{
|
|
1871
|
-
|
|
1871
|
+
isVisible: true,
|
|
1872
1872
|
}}
|
|
1873
1873
|
dataset={[
|
|
1874
1874
|
{
|
|
@@ -2081,7 +2081,7 @@ const Component = () => {
|
|
|
2081
2081
|
>
|
|
2082
2082
|
<Chart
|
|
2083
2083
|
legend={{
|
|
2084
|
-
|
|
2084
|
+
isVisible: true,
|
|
2085
2085
|
}}
|
|
2086
2086
|
dataset={datasets}
|
|
2087
2087
|
series={[
|