@graphysdk/react 1.9.0-beta.1788545270301 → 1.9.0-beta.1788548769329

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.
@@ -40156,25 +40156,33 @@ function jPe(e, t) {
40156
40156
  }, [t]), Ce(() => (n.registerHitTester(e, (o) => r.current(o)), () => n.unregisterHitTester(e)), [n, e]);
40157
40157
  }
40158
40158
  var KPe = ({ hitTest: e, input: t }) => {
40159
- const n = oe(() => e(t), [e, t.layer.data]);
40159
+ const n = oe(() => e(t), [
40160
+ e,
40161
+ t.layer.data,
40162
+ t.panelRect.x,
40163
+ t.panelRect.y,
40164
+ t.panelRect.width,
40165
+ t.panelRect.height
40166
+ ]);
40160
40167
  return jPe(t.layer.id, n), null;
40161
- }, YPe = ({ layer: e, coordSystem: t, shouldAnimateTransitions: n, isDimmed: r, dimStyle: o, formattingLocale: i }) => {
40162
- const a = ba(), s = Gke(e.id), { colorScheme: l } = at(), c = en(e), u = a(e.geom, t.type);
40163
- if (u === null) return null;
40164
- const d = d0(u.render);
40165
- return d.overlay ? null : /* @__PURE__ */ m("g", {
40168
+ }, YPe = ({ layer: e, coordSystem: t, shouldAnimateTransitions: n, isDimmed: r, dimStyle: o, formattingLocale: i, panelRect: a }) => {
40169
+ const s = ba(), l = Gke(e.id), { colorScheme: c } = at(), u = en(e), d = s(e.geom, t.type);
40170
+ if (d === null) return null;
40171
+ const f = d0(d.render);
40172
+ return f.overlay ? null : /* @__PURE__ */ m("g", {
40166
40173
  style: r ? {
40167
40174
  opacity: o.opacity,
40168
40175
  ...o.saturation === void 0 ? {} : { filter: `saturate(${o.saturation})` }
40169
40176
  } : void 0,
40170
- children: d.fn({
40177
+ children: f.fn({
40171
40178
  layer: e,
40172
40179
  coordSystem: t,
40173
40180
  shouldAnimateTransitions: n,
40174
40181
  formattingLocale: i,
40175
- intro: s,
40176
- colorScheme: l,
40177
- styleReaders: c
40182
+ intro: l,
40183
+ panelRect: a,
40184
+ colorScheme: c,
40185
+ styleReaders: u
40178
40186
  })
40179
40187
  });
40180
40188
  }, qPe = "overlay-portal_overlayBox__1gn3yz50", yV = ({ rect: e, zIndex: t, container: n, boxRef: r, children: o, ...i }) => n === null ? null : oy(/* @__PURE__ */ m("div", {
@@ -40498,6 +40506,7 @@ var nIe = 4, rIe = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
40498
40506
  coordSystem: t,
40499
40507
  shouldAnimateTransitions: n,
40500
40508
  formattingLocale: o,
40509
+ panelRect: r,
40501
40510
  colorScheme: c,
40502
40511
  styleReaders: en(e)
40503
40512
  }, d = a ? d0(a.render) : null, f = e.spatialKind === "render-hit-test", h = pIe(e);
@@ -40511,7 +40520,8 @@ var nIe = 4, rIe = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
40511
40520
  shouldAnimateTransitions: n,
40512
40521
  isDimmed: s?.composition.isDimmed ?? !1,
40513
40522
  dimStyle: l,
40514
- formattingLocale: o
40523
+ formattingLocale: o,
40524
+ panelRect: r
40515
40525
  }),
40516
40526
  f && !d?.overlay && a?.hitTest && /* @__PURE__ */ m(KPe, {
40517
40527
  hitTest: a.hitTest,
@@ -30719,7 +30719,14 @@ function Wq(e, t) {
30719
30719
  }, [t]), Se(() => (r.registerHitTester(e, (i) => n.current(i)), () => r.unregisterHitTester(e)), [r, e]);
30720
30720
  }
30721
30721
  var Gq = ({ hitTest: e, input: t }) => {
30722
- const r = W(() => e(t), [e, t.layer.data]);
30722
+ const r = W(() => e(t), [
30723
+ e,
30724
+ t.layer.data,
30725
+ t.panelRect.x,
30726
+ t.panelRect.y,
30727
+ t.panelRect.width,
30728
+ t.panelRect.height
30729
+ ]);
30723
30730
  return Wq(t.layer.id, r), null;
30724
30731
  }, Uq = "graphy_root", CM = () => typeof document > "u" ? null : document.getElementById(Uq) ?? document.body, jq = "overlay-portal_overlayBox__1gn3yz50", zq = ({ rect: e, zIndex: t, container: r, boxRef: n, children: i, ...o }) => r === null ? null : Mb(/* @__PURE__ */ v("div", {
30725
30732
  ...o,
@@ -38083,23 +38090,24 @@ var qE = (e, t) => {
38083
38090
  })
38084
38091
  ]
38085
38092
  });
38086
- }, toe = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, isDimmed: n, dimStyle: i, formattingLocale: o }) => {
38087
- const a = sn(), s = Dee(e.id), { colorScheme: l } = lt(), c = He(e), u = a(e.geom, t.type);
38088
- if (u === null) return null;
38089
- const d = Oc(u.render);
38090
- return d.overlay ? null : /* @__PURE__ */ v("g", {
38093
+ }, toe = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, isDimmed: n, dimStyle: i, formattingLocale: o, panelRect: a }) => {
38094
+ const s = sn(), l = Dee(e.id), { colorScheme: c } = lt(), u = He(e), d = s(e.geom, t.type);
38095
+ if (d === null) return null;
38096
+ const h = Oc(d.render);
38097
+ return h.overlay ? null : /* @__PURE__ */ v("g", {
38091
38098
  style: n ? {
38092
38099
  opacity: i.opacity,
38093
38100
  ...i.saturation === void 0 ? {} : { filter: `saturate(${i.saturation})` }
38094
38101
  } : void 0,
38095
- children: d.fn({
38102
+ children: h.fn({
38096
38103
  layer: e,
38097
38104
  coordSystem: t,
38098
38105
  shouldAnimateTransitions: r,
38099
38106
  formattingLocale: o,
38100
- intro: s,
38101
- colorScheme: l,
38102
- styleReaders: c
38107
+ intro: l,
38108
+ panelRect: a,
38109
+ colorScheme: c,
38110
+ styleReaders: u
38103
38111
  })
38104
38112
  });
38105
38113
  };
@@ -38280,6 +38288,7 @@ var noe = 4, ioe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
38280
38288
  coordSystem: t,
38281
38289
  shouldAnimateTransitions: r,
38282
38290
  formattingLocale: i,
38291
+ panelRect: n,
38283
38292
  colorScheme: c,
38284
38293
  styleReaders: He(e)
38285
38294
  }, d = a ? Oc(a.render) : null, h = e.spatialKind === "render-hit-test", f = goe(e);
@@ -38293,7 +38302,8 @@ var noe = 4, ioe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
38293
38302
  shouldAnimateTransitions: r,
38294
38303
  isDimmed: s?.composition.isDimmed ?? !1,
38295
38304
  dimStyle: l,
38296
- formattingLocale: i
38305
+ formattingLocale: i,
38306
+ panelRect: n
38297
38307
  }),
38298
38308
  h && !d?.overlay && a?.hitTest && /* @__PURE__ */ v(Gq, {
38299
38309
  hitTest: a.hitTest,
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "visualization",
12
12
  "grammar-of-graphics"
13
13
  ],
14
- "version": "1.9.0-beta.1788545270301",
14
+ "version": "1.9.0-beta.1788548769329",
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.1788545270301",
39
- "@graphysdk/viz-engine": "1.9.0-beta.1788545270301"
38
+ "@graphysdk/react-renderer": "1.9.0-beta.1788548769329",
39
+ "@graphysdk/viz-engine": "1.9.0-beta.1788548769329"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@tiptap/core": "^3.0.0",