@opendata-ai/openchart-core 6.25.1 → 6.25.2

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": "@opendata-ai/openchart-core",
3
- "version": "6.25.1",
3
+ "version": "6.25.2",
4
4
  "description": "Types, theme, colors, accessibility, and utilities for openchart",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Riley Hilliard",
package/src/types/spec.ts CHANGED
@@ -875,6 +875,13 @@ export interface ChartSpec {
875
875
  * - AnimationConfig: full control via enter/update/exit phases
876
876
  */
877
877
  animation?: AnimationSpec;
878
+ /**
879
+ * Render order within a LayerSpec. Higher values render on top.
880
+ * When omitted, layers render in array order (later layers paint on top).
881
+ * Axis assignment (left/right y) is always determined by array position,
882
+ * not zIndex.
883
+ */
884
+ zIndex?: number;
878
885
  }
879
886
 
880
887
  /**