@bicharts/chart-host 0.5.46 → 0.5.47

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.
@@ -638,7 +638,7 @@ function z2(e) {
638
638
  function G2(e) {
639
639
  let t = z2(e), i = e ?? {};
640
640
  if (t.nature === "Categorical") return ["first", "distinctcount", "count"];
641
- if (t.nature === "Ordinal") return Xt(i) ? ["median", "min", "max", "first", "distinctcount", "count"] : ["first", "distinctcount", "count"];
641
+ if (t.nature === "Ordinal") return Xt(i) ? ["median", "average", "min", "max", "first", "distinctcount", "count"] : ["first", "distinctcount", "count"];
642
642
  switch (t.additivity) {
643
643
  case "positional":
644
644
  return ["min", "max", "count", "distinctcount", "first"];
package/dist/index.mjs CHANGED
@@ -54,7 +54,7 @@ import {
54
54
  resolveOptions,
55
55
  stripEsmExports,
56
56
  z
57
- } from "./chunk-FC3XJPVX.mjs";
57
+ } from "./chunk-JPDIL3HN.mjs";
58
58
  import "./chunk-A2GMXZP7.mjs";
59
59
 
60
60
  // src/trivial.ts
package/dist/react.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  createChartHost,
5
5
  geoFromCache,
6
6
  loadGeo
7
- } from "./chunk-FC3XJPVX.mjs";
7
+ } from "./chunk-JPDIL3HN.mjs";
8
8
  import "./chunk-A2GMXZP7.mjs";
9
9
 
10
10
  // src/react.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bicharts/chart-host",
3
- "version": "0.5.46",
3
+ "version": "0.5.47",
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",