@keneth80/k-chart 1.26.1 → 1.27.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 (38) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +129 -1100
  3. package/docs/code-graph-handoff.md +19 -37
  4. package/docs/configuration-reference.md +8 -1
  5. package/docs/functional-api.md +77 -0
  6. package/docs/react-nextjs.md +62 -8
  7. package/docs/refactor-plan.md +39 -23
  8. package/docs/release.md +9 -4
  9. package/examples/stackblitz-simple-api-basic/package-lock.json +96 -4
  10. package/examples/stackblitz-simple-api-basic/package.json +1 -1
  11. package/examples/stackblitz-subcell-heatmap-basic/README.md +48 -0
  12. package/examples/stackblitz-subcell-heatmap-basic/index.html +13 -0
  13. package/examples/stackblitz-subcell-heatmap-basic/package-lock.json +1788 -0
  14. package/examples/stackblitz-subcell-heatmap-basic/package.json +23 -0
  15. package/examples/stackblitz-subcell-heatmap-basic/src/app.ts +212 -0
  16. package/examples/stackblitz-subcell-heatmap-basic/src/component.css +169 -0
  17. package/examples/stackblitz-subcell-heatmap-basic/src/heatmap-demo-core.ts +505 -0
  18. package/examples/stackblitz-subcell-heatmap-basic/src/heatmap-demo.ts +23 -0
  19. package/examples/stackblitz-subcell-heatmap-basic/src/main.ts +15 -0
  20. package/examples/stackblitz-subcell-heatmap-basic/src/maplibre-compat.ts +6 -0
  21. package/examples/stackblitz-subcell-heatmap-basic/src/model.ts +242 -0
  22. package/examples/stackblitz-subcell-heatmap-basic/src/raster.ts +121 -0
  23. package/examples/stackblitz-subcell-heatmap-basic/src/style.css +15 -0
  24. package/examples/stackblitz-subcell-heatmap-basic/src/synthetic.ts +72 -0
  25. package/examples/stackblitz-subcell-heatmap-basic/src/vendor.d.ts +3 -0
  26. package/examples/stackblitz-subcell-heatmap-basic/src/vite-env.d.ts +1 -0
  27. package/examples/stackblitz-topology-basic/package-lock.json +96 -4
  28. package/examples/stackblitz-topology-basic/package.json +1 -1
  29. package/examples/stackblitz-webgl-line-basic/package-lock.json +96 -4
  30. package/examples/stackblitz-webgl-line-basic/package.json +1 -1
  31. package/examples/stackblitz-world-activity-map/package.json +1 -1
  32. package/lib/core/contracts.d.ts +6 -2
  33. package/lib/core/contracts.d.ts.map +1 -1
  34. package/lib/series/svg-graph.d.ts +29 -0
  35. package/lib/series/svg-graph.d.ts.map +1 -1
  36. package/lib/series/svg-graph.js +509 -80
  37. package/lib/series/svg-graph.js.map +1 -1
  38. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.27.0 - 2026-09-27
4
+
5
+ ### Added
6
+
7
+ - Added a MapLibre subcell scalar-field example that bilinearly interpolates
8
+ 51 x 51 node samples inside each 0.5-degree cell, preserves missing values,
9
+ and keeps the fixed 0-100 color scale across time and zoom.
10
+ - Added standalone field tests and a StackBlitz-ready project covering frame
11
+ changes, grid-only visibility toggling, map lifecycle cleanup, and the
12
+ distinction between numeric zero and unobserved data.
13
+ - Added a top-down `layered` graph layout with explicit or topology-derived
14
+ node ranks, strongly connected component handling, and dense-row wrapping.
15
+ - Added graph callbacks for node colors, edge colors, edge dash patterns, and
16
+ optional force-layout gravity while preserving existing force defaults.
17
+
18
+ ### Changed
19
+
20
+ - Reorganized the README around a concise value proposition, four primary trust
21
+ badges, four first-step links, an early Quick Start, and a small representative
22
+ StackBlitz set.
23
+ - Moved detailed renderer, adapter, AI, import-surface, custom-tooltip, and
24
+ advanced API guidance into focused documentation, leaving the root README as
25
+ a concise onboarding and navigation page.
26
+ - Updated the four representative StackBlitz projects to use KChart 1.26.1.
27
+ - Corrected development-port, React-wrapper, release-package, security-reporting,
28
+ architecture-snapshot, and public API compatibility wording across contributor
29
+ and integration documentation.
30
+ - Made layered graph packing account for label bounds and scale labels, nodes,
31
+ and spacing together in constrained panels.
32
+
33
+ ### Fixed
34
+
35
+ - Invalidated graph data and layout caches for same-array row replacement,
36
+ in-place source/target/value/category changes, and dynamic rank changes.
37
+ - Preserved callback edge styling and active node-selection emphasis after
38
+ tooltip cleanup.
39
+
40
+ ### Tests
41
+
42
+ - Added graph regression coverage for force-layout compatibility, layered
43
+ ordering and cycles, dense label packing, callback indexes and styles,
44
+ tooltip colors, selection restoration, and in-place data updates.
45
+ - Verified the graph demo at desktop and 820px widths with no label overlap,
46
+ clipping, horizontal overflow, or graph runtime errors.
47
+
48
+ ### Removed
49
+
50
+ - Removed the unconfigured coverage badge and the obsolete duplicate
51
+ `README 2.md` after confirming that it was unreferenced and described the former
52
+ package name, port, and class-based API.
53
+
3
54
  ## 1.26.1 - 2026-09-07
4
55
 
5
56
  ### Added