@bicharts/chart-host 0.5.12 → 0.5.13

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
@@ -39,7 +39,7 @@ import {
39
39
  requiredD3Plugins,
40
40
  resolveOptions,
41
41
  stripEsmExports
42
- } from "./chunk-UAP5C7EQ.mjs";
42
+ } from "./chunk-GQC27T3R.mjs";
43
43
  import "./chunk-A2GMXZP7.mjs";
44
44
 
45
45
  // src/index.ts
package/dist/react.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  createChartHost,
5
5
  geoFromCache,
6
6
  loadGeo
7
- } from "./chunk-UAP5C7EQ.mjs";
7
+ } from "./chunk-GQC27T3R.mjs";
8
8
  import "./chunk-A2GMXZP7.mjs";
9
9
 
10
10
  // src/react.tsx
@@ -29,6 +29,20 @@ export interface RenderPayload {
29
29
  rolesBackfilled?: string[];
30
30
  rolesRefused?: string[];
31
31
  };
32
+ /**
33
+ * WHY THERE IS NO MAP — the refusals that survive when nothing could be placed.
34
+ *
35
+ * `geoPoint.rolesRefused` above only exists when a binding resolved, so the one case where
36
+ * an explanation is worth most — the resolver rejected every candidate and the chart is
37
+ * about to draw its own empty state — reported NOTHING. That is how "no coordinate data
38
+ * available" over a table full of countries cost a day: the classifier had a precise
39
+ * reason ("only 95.5% of values are country identifiers") and no way to say it.
40
+ *
41
+ * Present whenever a point binding was attempted and something was refused, whether or not
42
+ * a map came out of it. Joel 2026-08-02: "be sure to provide feedback in the output that
43
+ * helps call out exceptions / decisions like this, if possible."
44
+ */
45
+ geoPointRefused?: string[];
32
46
  }
33
47
  export declare function buildRenderPayload(cols: Array<{
34
48
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bicharts/chart-host",
3
- "version": "0.5.12",
3
+ "version": "0.5.13",
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",