@opendata-ai/openchart-vanilla 8.9.0 → 8.9.1

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.
@@ -7,10 +7,11 @@ import {
7
7
  prefersReducedMotion,
8
8
  resolveDarkMode,
9
9
  resolveEase
10
- } from "./chunk-2OJZBMXM.js";
10
+ } from "./chunk-REH5UQCL.js";
11
11
  import {
12
- resolvedSurface
13
- } from "./chunk-NG7CVCI2.js";
12
+ resolvedSurface,
13
+ warnDeprecated
14
+ } from "./chunk-UC4IHEUO.js";
14
15
 
15
16
  // src/graph/renderer-registry.ts
16
17
  var registry = /* @__PURE__ */ new Map();
@@ -2196,10 +2197,6 @@ var SimulationManager = class _SimulationManager {
2196
2197
  }
2197
2198
  };
2198
2199
 
2199
- // src/graph/spatial-index.ts
2200
- var SpatialIndex2 = class extends SpatialIndex {
2201
- };
2202
-
2203
2200
  // src/graph/update-diff-config.ts
2204
2201
  function stableKey(c) {
2205
2202
  return JSON.stringify([
@@ -2374,7 +2371,7 @@ function createGraph(container, spec, options) {
2374
2371
  let legendController = null;
2375
2372
  let renderer = null;
2376
2373
  let simulation = null;
2377
- const spatialIndex = new SpatialIndex2();
2374
+ const spatialIndex = new SpatialIndex();
2378
2375
  let interactionManager = null;
2379
2376
  const searchManager = new GraphSearchManager();
2380
2377
  let tooltipManager = null;
@@ -3442,6 +3439,7 @@ function createGraph(container, spec, options) {
3442
3439
  }
3443
3440
  }
3444
3441
  function updateVisuals(newSpec) {
3442
+ warnDeprecated("updateVisuals is deprecated; use update.");
3445
3443
  update(newSpec);
3446
3444
  }
3447
3445
  function teardownSimOnly() {
@@ -3584,4 +3582,4 @@ export {
3584
3582
  reheatAlpha,
3585
3583
  createGraph
3586
3584
  };
3587
- //# sourceMappingURL=chunk-YBVDBY6P.js.map
3585
+ //# sourceMappingURL=chunk-GX6BWMJD.js.map