@bicharts/chart-host 0.5.16 → 0.5.17

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
@@ -18,12 +18,12 @@ import {
18
18
  GEO_POINT_PRECISIONS,
19
19
  HOST_CONTAINER_CLASS,
20
20
  HOST_CONTRACT_VERSION,
21
+ L3,
21
22
  LEGEND_MARK_CLASS,
22
23
  MARK_CLASS,
23
24
  MARK_SELECTED_CLASS,
24
25
  ROW_IDX_ATTR,
25
26
  SELECTION_ACTIVE_CLASS,
26
- U3,
27
27
  XFILTER_REFRESH_EVENT,
28
28
  buildRenderPayload,
29
29
  clearGeoCache,
@@ -39,11 +39,11 @@ import {
39
39
  requiredD3Plugins,
40
40
  resolveOptions,
41
41
  stripEsmExports
42
- } from "./chunk-EIKZXZPN.mjs";
42
+ } from "./chunk-6QUDUUPQ.mjs";
43
43
  import "./chunk-A2GMXZP7.mjs";
44
44
 
45
45
  // src/trivial.ts
46
- var META_COLUMNS = /* @__PURE__ */ new Set(["__rowIdx__", "__geoIso__", "__geoLat__", "__geoLon__"]);
46
+ var META_COLUMNS = /* @__PURE__ */ new Set(["__rowIdx__", "__geoIso__", "__geoLat__", "__geoLon__", "__geoPrecision__"]);
47
47
  var MAX_FREQUENCY_CATEGORIES = 30;
48
48
  var MIN_HISTOGRAM_ROWS = 8;
49
49
  function columnName(c) {
@@ -316,7 +316,7 @@ function histogramSource(idx, name) {
316
316
 
317
317
  // src/index.ts
318
318
  function registerCityTable(packed) {
319
- U3(packed);
319
+ L3(packed);
320
320
  }
321
321
  export {
322
322
  ANIM_MAX_IDEAL_FRAMES_DEFAULT,
package/dist/react.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  createChartHost,
5
5
  geoFromCache,
6
6
  loadGeo
7
- } from "./chunk-EIKZXZPN.mjs";
7
+ } from "./chunk-6QUDUUPQ.mjs";
8
8
  import "./chunk-A2GMXZP7.mjs";
9
9
 
10
10
  // src/react.tsx
@@ -1,4 +1,4 @@
1
- export declare const HOST_CONTRACT_VERSION = "1.3.0";
1
+ export declare const HOST_CONTRACT_VERSION = "1.4.0";
2
2
  export type GeoPointPrecision = "latlon" | "city" | "zip3" | "state" | "country";
3
3
  /** Every valid tier, ordered most precise → coarsest. Runtime form of GeoPointPrecision. */
4
4
  export declare const GEO_POINT_PRECISIONS: readonly GeoPointPrecision[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bicharts/chart-host",
3
- "version": "0.5.16",
3
+ "version": "0.5.17",
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",