@opendata-ai/openchart-vanilla 7.8.0 → 7.9.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/dist/{chunk-KYRQV6KR.js → chunk-QRE4FQQM.js} +44 -18
- package/dist/chunk-QRE4FQQM.js.map +1 -0
- package/dist/index.d.ts +26 -19
- package/dist/index.js +1743 -23
- package/dist/index.js.map +1 -1
- package/dist/static.js +1 -1
- package/package.json +3 -3
- package/src/__tests__/animation.test.ts +1 -1
- package/src/__tests__/transition.test.ts +1592 -0
- package/src/barlist-mount.ts +1 -1
- package/src/barlist-renderer.ts +4 -4
- package/src/index.ts +2 -0
- package/src/mount.ts +64 -1
- package/src/renderers/axes.ts +18 -0
- package/src/renderers/marks.ts +21 -7
- package/src/sankey-mount.ts +2 -2
- package/src/sankey-renderer.ts +9 -8
- package/src/svg-renderer.ts +8 -7
- package/src/table-mount.ts +1 -1
- package/src/table-renderer.ts +5 -5
- package/src/tilemap-mount.ts +1 -1
- package/src/tilemap-renderer.ts +6 -6
- package/src/transition.ts +2473 -0
- package/dist/chunk-KYRQV6KR.js.map +0 -1
package/dist/static.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendata-ai/openchart-vanilla",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.9.0",
|
|
4
4
|
"description": "Vanilla JS renderer for openchart: SVG charts, HTML tables, force-directed graphs",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Riley Hilliard",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@floating-ui/dom": "^1.7.6",
|
|
57
|
-
"@opendata-ai/openchart-core": "7.
|
|
58
|
-
"@opendata-ai/openchart-engine": "7.
|
|
57
|
+
"@opendata-ai/openchart-core": "7.9.0",
|
|
58
|
+
"@opendata-ai/openchart-engine": "7.9.0",
|
|
59
59
|
"d3-force": "^3.0.0",
|
|
60
60
|
"d3-quadtree": "^3.0.1"
|
|
61
61
|
},
|
|
@@ -47,7 +47,7 @@ describe('animation in compiled layout', () => {
|
|
|
47
47
|
const spec = { ...barSpec, animation: true } as ChartSpec;
|
|
48
48
|
const layout = compileChart(spec, { width: 600, height: 400 });
|
|
49
49
|
expect(layout.animation).toBeDefined();
|
|
50
|
-
expect(layout.animation!.
|
|
50
|
+
expect(layout.animation!.enter).toBeDefined();
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
it('layout has no animation config when spec omits animation', () => {
|