@graphysdk/react 1.9.0-beta.1790062857454 → 1.9.0-beta.1790077344312

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.
@@ -6508,7 +6508,7 @@ function Moe({ group: e, show: t, compareWith: n, layers: r, scales: o }) {
6508
6508
  const i = r[e.layerIndex];
6509
6509
  if (i === void 0) return null;
6510
6510
  const s = we(i.mapping.y);
6511
- if (s === null || t === "total" && i.position === "fill") return null;
6511
+ if (s === null || i.data.getType(s) !== "numeric" || t === "total" && i.position === "fill") return null;
6512
6512
  const a = we(i.mapping.x), l = we(i.mapping.color), c = i.yScaleType === "secondary" ? o.ySecondary : o.y, u = Ll({
6513
6513
  layers: [i],
6514
6514
  scaleType: c?.spec.scaleType ?? "continuous",
@@ -6448,7 +6448,7 @@ function r5({ group: e, show: t, compareWith: r, layers: n, scales: i }) {
6448
6448
  const o = n[e.layerIndex];
6449
6449
  if (o === void 0) return null;
6450
6450
  const a = q(o.mapping.y);
6451
- if (a === null || t === "total" && o.position === "fill") return null;
6451
+ if (a === null || o.data.getType(a) !== "numeric" || t === "total" && o.position === "fill") return null;
6452
6452
  const s = q(o.mapping.x), l = q(o.mapping.color), c = o.yScaleType === "secondary" ? i.ySecondary : i.y, u = Ai({
6453
6453
  layers: [o],
6454
6454
  scaleType: c?.spec.scaleType ?? "continuous",
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "visualization",
12
12
  "grammar-of-graphics"
13
13
  ],
14
- "version": "1.9.0-beta.1790062857454",
14
+ "version": "1.9.0-beta.1790077344312",
15
15
  "type": "module",
16
16
  "sideEffects": false,
17
17
  "types": "./dist/index.d.ts",
@@ -35,8 +35,8 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@graphysdk/react-renderer": "1.9.0-beta.1790062857454",
39
- "@graphysdk/viz-engine": "1.9.0-beta.1790062857454"
38
+ "@graphysdk/react-renderer": "1.9.0-beta.1790077344312",
39
+ "@graphysdk/viz-engine": "1.9.0-beta.1790077344312"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@tiptap/core": "^3.0.0",