@bicharts/chart-host 0.5.17 → 0.5.19

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/index.mjs CHANGED
@@ -1,5 +1,7 @@
1
1
  /*! @bicharts/chart-host — Apache-2.0. Bundled reference data: GeoNames (https://www.geonames.org/) CC BY 4.0; Natural Earth and US Census/TIGER (public domain). Full text: NOTICE in this package. */
2
2
  import {
3
+ ANIM_LOOP_DELAY_DEFAULT,
4
+ ANIM_LOOP_DELAY_MIN,
3
5
  ANIM_MAX_IDEAL_FRAMES_DEFAULT,
4
6
  ANIM_MAX_IDEAL_FRAMES_MAX,
5
7
  ANIM_MAX_IDEAL_FRAMES_MIN,
@@ -39,7 +41,7 @@ import {
39
41
  requiredD3Plugins,
40
42
  resolveOptions,
41
43
  stripEsmExports
42
- } from "./chunk-6QUDUUPQ.mjs";
44
+ } from "./chunk-P2NWAYI7.mjs";
43
45
  import "./chunk-A2GMXZP7.mjs";
44
46
 
45
47
  // src/trivial.ts
@@ -319,6 +321,8 @@ function registerCityTable(packed) {
319
321
  L3(packed);
320
322
  }
321
323
  export {
324
+ ANIM_LOOP_DELAY_DEFAULT,
325
+ ANIM_LOOP_DELAY_MIN,
322
326
  ANIM_MAX_IDEAL_FRAMES_DEFAULT,
323
327
  ANIM_MAX_IDEAL_FRAMES_MAX,
324
328
  ANIM_MAX_IDEAL_FRAMES_MIN,
package/dist/react.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  createChartHost,
5
5
  geoFromCache,
6
6
  loadGeo
7
- } from "./chunk-6QUDUUPQ.mjs";
7
+ } from "./chunk-P2NWAYI7.mjs";
8
8
  import "./chunk-A2GMXZP7.mjs";
9
9
 
10
10
  // src/react.tsx
@@ -23,6 +23,8 @@ export declare const DIM_OPACITY_DEFAULT = 0.25;
23
23
  export declare const ANIM_PLAY_SPEED_DEFAULT = 1000;
24
24
  export declare const ANIM_PLAY_SPEED_MIN = 250;
25
25
  export declare const ANIM_PLAY_SPEED_MAX = 5000;
26
+ export declare const ANIM_LOOP_DELAY_DEFAULT = 3;
27
+ export declare const ANIM_LOOP_DELAY_MIN = 0;
26
28
  export declare const ANIM_MAX_IDEAL_FRAMES_DEFAULT = 60;
27
29
  export declare const ANIM_MAX_IDEAL_FRAMES_MIN = 3;
28
30
  export declare const ANIM_MAX_IDEAL_FRAMES_MAX = 500;
@@ -70,6 +72,7 @@ export interface RenderOptions {
70
72
  noDataText?: string;
71
73
  animAutoPlay?: boolean;
72
74
  animPlaySpeedMs?: number;
75
+ animLoopDelaySec?: number;
73
76
  animMaxIdealFrames?: number;
74
77
  animStopAtEnd?: boolean;
75
78
  filtersDuringPlay?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bicharts/chart-host",
3
- "version": "0.5.17",
3
+ "version": "0.5.19",
4
4
  "description": "Run a BIC-generated D3 chart in any web host: compiles the generated render() function, applies the shared option defaults, resolves mark clicks (through tooltip overlays), owns the selection affordance, and translates row indices between cross-filtered charts. The same contract the BIC Power BI visual implements, minus Power BI. React bindings at @bicharts/chart-host/react.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",