@graphysdk/react-renderer 1.9.0-beta.1789369093961 → 1.9.0-beta.1789369549494

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
@@ -1,13 +1,13 @@
1
- import { A as Dt, Bt as ne, Ct as le, Dt as $t, Et as xt, It as Ht, Lt as Mt, M as Pt, N as Lt, Ot as Bt, Pt as Ot, Rt as Kt, St as U, Tt as ue, Vt as A, X as At, Z as Ut, _ as jt, _t as Ft, a as Yt, at as Vt, bt as me, dt as Wt, ft as Xt, gt as zt, i as Qt, it as Zt, k as Jt, lt as er, n as tr, nt as rr, r as nr, s as sr, t as he, wt as or, xt as ir, yt as O, zt as ge } from "./history-chords-Bm7-0uT2.js";
1
+ import { A as Dt, At as $t, Bt as Ht, Ct as le, Dt as ue, Et as xt, Ht as ne, It as Mt, M as Pt, N as Lt, Ot as Bt, Rt as Ot, St as U, Ut as K, Vt as me, X as At, Z as Kt, _ as Ut, _t as jt, a as Ft, at as Yt, bt as he, dt as Vt, ft as Wt, gt as Xt, i as zt, it as Qt, k as Zt, kt as Jt, lt as er, n as tr, nt as rr, r as nr, s as sr, t as ge, xt as or, yt as O, zt as ir } from "./history-chords--6i35LQS.js";
2
2
  import { n as cr } from "./theme.contract.css-pudzI2o1.js";
3
- import { COMPILER_STAGE_KEYS as j, Geom as pe, GraphCompilationSession as fe, areEditTargetsEqual as ve, buildDiagnostic as W, createAnchorResolver as ye, createCompiler as be, createGraphyBuilder as Se, createStyleResolver as Ee, findAnnotation as Ce, findLayerById as X, isCompilerCachingEnabled as Te, resolveDefinition as Ne, setCompilerCachingEnabled as Re, toPercent as P } from "@graphysdk/viz-engine";
4
- import { Component as qe, useCallback as f, useEffect as x, useId as Ie, useImperativeHandle as Ge, useMemo as $, useRef as z, useState as C, useSyncExternalStore as ke } from "react";
5
- import { Fragment as we, jsx as d, jsxs as v } from "react/jsx-runtime";
3
+ import { COMPILER_STAGE_KEYS as j, Geom as pe, GraphCompilationSession as fe, areEditTargetsEqual as ve, buildDiagnostic as W, createAnchorResolver as ye, createCompiler as be, createGraphyBuilder as Se, createStyleResolver as Ee, findAnnotation as Ce, findLayerById as X, isCompilerCachingEnabled as Ne, resolveDefinition as Re, setCompilerCachingEnabled as Te, toPercent as P } from "@graphysdk/viz-engine";
4
+ import { Component as qe, useCallback as f, useEffect as H, useId as Ie, useImperativeHandle as ke, useMemo as $, useRef as z, useState as C, useSyncExternalStore as Ge } from "react";
5
+ import { Fragment as _e, jsx as d, jsxs as v } from "react/jsx-runtime";
6
6
  import { useStore as Q } from "zustand";
7
7
  import { createStore as F } from "zustand/vanilla";
8
- import _e from "clsx";
8
+ import we from "clsx";
9
9
  import './index.css';var De = "_1a5iqpb0", $e = "_1a5iqpb1";
10
- var xe = "_1a5iqpb3", He = "_1a5iqpb4", Me = "_1a5iqpb5";
10
+ var He = "_1a5iqpb3", xe = "_1a5iqpb4", Me = "_1a5iqpb5";
11
11
  var Z = ({ errors: e }) => {
12
12
  const [t, ...r] = e;
13
13
  return /* @__PURE__ */ v("div", {
@@ -26,10 +26,10 @@ var Z = ({ errors: e }) => {
26
26
  ]
27
27
  });
28
28
  }, J = ({ diagnostic: e }) => /* @__PURE__ */ v("div", {
29
- className: xe,
29
+ className: He,
30
30
  children: [
31
31
  /* @__PURE__ */ d("span", {
32
- className: He,
32
+ className: xe,
33
33
  children: e.code
34
34
  }),
35
35
  /* @__PURE__ */ d("p", {
@@ -54,7 +54,7 @@ var Le = class extends qe {
54
54
  }
55
55
  componentDidCatch(e, t) {
56
56
  const r = W(e);
57
- A([r]), this.props.onError?.([r]), console.error("Chart render component stack:", t.componentStack);
57
+ K([r]), this.props.onError?.([r]), console.error("Chart render component stack:", t.componentStack);
58
58
  }
59
59
  componentDidUpdate(e) {
60
60
  this.state.caughtDiagnostic && !Pe(e.resetKeys, this.props.resetKeys) && this.setState({ caughtDiagnostic: null });
@@ -66,12 +66,12 @@ var Le = class extends qe {
66
66
  return t && t.length > 0 ? /* @__PURE__ */ d(Z, { errors: t }) : r;
67
67
  }
68
68
  }, se = (e) => typeof e == "object" && "geom" in e && "render" in e, Be = (e) => {
69
- const t = Ne(e);
69
+ const t = Re(e);
70
70
  return t instanceof pe ? t : null;
71
71
  }, Oe = (e, t) => {
72
- const r = e.filter((n) => Ke(n, t));
72
+ const r = e.filter((n) => Ae(n, t));
73
73
  return r.length === e.length ? e : r;
74
- }, Ke = (e, t) => e.kind === "annotation" ? Ce(t.annotations, e.id) !== null : e.kind === "observations" ? X(t.layers, e.layerId) !== void 0 : e.kind === "layer" && e.layerId !== void 0 ? X(t.layers, e.layerId) !== void 0 : !0, ee = [], Ae = () => F((e) => ({
74
+ }, Ae = (e, t) => e.kind === "annotation" ? Ce(t.annotations, e.id) !== null : e.kind === "observations" ? X(t.layers, e.layerId) !== void 0 : e.kind === "layer" && e.layerId !== void 0 ? X(t.layers, e.layerId) !== void 0 : !0, ee = [], Ke = () => F((e) => ({
75
75
  selection: ee,
76
76
  setSelection: (t) => e((r) => Ue(r.selection, t) ? r : { selection: t }),
77
77
  clearSelection: () => e((t) => t.selection.length === 0 ? t : { selection: ee })
@@ -295,28 +295,28 @@ var st = (e) => F((t) => ({
295
295
  compiled: e,
296
296
  setCompiled: (r) => t((n) => n.compiled === r ? n : { compiled: r })
297
297
  })), ot = ({ input: e, data: t, customPalettes: r, colorScheme: n, plugins: o, resolveRenderer: a, anchorResolver: i, onChange: c, onError: u, onWarnings: m }) => {
298
- const T = O(c), G = O(u), q = O(m), [{ session: h, compileBus: l }] = C(() => {
298
+ const N = O(c), k = O(u), q = O(m), [{ session: h, compileBus: l }] = C(() => {
299
299
  const s = be({ plugins: o });
300
300
  return {
301
301
  session: new fe(s),
302
302
  compileBus: Ye(s)
303
303
  };
304
- }), [p] = C(() => Qe(o ?? [])), y = z(null), [k] = C(it), N = z(null), b = f((s) => p.errors.length === 0 ? s : [...p.errors, ...s ?? []], [p]), _ = f((s) => {
304
+ }), [p] = C(() => Qe(o ?? [])), y = z(null), [G] = C(it), R = z(null), b = f((s) => p.errors.length === 0 ? s : [...p.errors, ...s ?? []], [p]), w = f((s) => {
305
305
  if (!s.ok) return s.errors;
306
- if (N.current) N.current.getState().setCompiled(s.compiled);
306
+ if (R.current) R.current.getState().setCompiled(s.compiled);
307
307
  else {
308
308
  const g = st(s.compiled);
309
- g.subscribe(k.notify), N.current = g, k.notify();
309
+ g.subscribe(G.notify), R.current = g, G.notify();
310
310
  }
311
311
  return null;
312
- }, [k]), [H, D] = C(() => {
312
+ }, [G]), [x, D] = C(() => {
313
313
  const s = h.compile({
314
314
  input: e,
315
315
  data: t,
316
316
  customPalettes: r,
317
317
  colorScheme: n
318
318
  });
319
- return y.current = s, b(_(s));
319
+ return y.current = s, b(w(s));
320
320
  }), I = f((s) => s.ok ? [
321
321
  ...s.warnings,
322
322
  ...Ze(s.compiled, a),
@@ -326,20 +326,20 @@ var st = (e) => F((t) => ({
326
326
  ...nt(s.compiled, a),
327
327
  ...rt(s.compiled, i)
328
328
  ] : s.warnings, [a, i]), S = f((s) => {
329
- s.length !== 0 && (A(s), G.current?.(s));
330
- }, [G]), R = f((s) => {
331
- s.length !== 0 && (A(s), q.current?.(s));
329
+ s.length !== 0 && (K(s), k.current?.(s));
330
+ }, [k]), T = f((s) => {
331
+ s.length !== 0 && (K(s), q.current?.(s));
332
332
  }, [q]);
333
- x(() => {
333
+ H(() => {
334
334
  const s = y.current;
335
- s && (S([...p.errors, ...s.ok ? [] : s.errors]), R([...p.warnings, ...I(s)]), s.ok && l.emit({ kind: "init" }));
335
+ s && (S([...p.errors, ...s.ok ? [] : s.errors]), T([...p.warnings, ...I(s)]), s.ok && l.emit({ kind: "init" }));
336
336
  }, [
337
337
  l,
338
338
  S,
339
- R,
339
+ T,
340
340
  p,
341
341
  I
342
- ]), x(() => {
342
+ ]), H(() => {
343
343
  const s = h.update({
344
344
  input: e,
345
345
  data: t,
@@ -347,9 +347,9 @@ var st = (e) => F((t) => ({
347
347
  colorScheme: n
348
348
  });
349
349
  if (!s) return;
350
- s.sealedInput && T.current?.(s.sealedInput);
351
- const g = _(s.result);
352
- D(b(g)), g && S(g), R(I(s.result)), g || l.emit({ kind: s.inputChanged ? "input" : "data" });
350
+ s.sealedInput && N.current?.(s.sealedInput);
351
+ const g = w(s.result);
352
+ D(b(g)), g && S(g), T(I(s.result)), g || l.emit({ kind: s.inputChanged ? "input" : "data" });
353
353
  }, [
354
354
  e,
355
355
  t,
@@ -357,28 +357,28 @@ var st = (e) => F((t) => ({
357
357
  n,
358
358
  h,
359
359
  l,
360
- _,
360
+ w,
361
361
  S,
362
- R,
362
+ T,
363
363
  b,
364
364
  I,
365
- T
365
+ N
366
366
  ]);
367
- const w = f((s) => {
368
- D((g) => g === null ? g : b(null)), R(I(s));
367
+ const _ = f((s) => {
368
+ D((g) => g === null ? g : b(null)), T(I(s));
369
369
  }, [
370
370
  b,
371
- R,
371
+ T,
372
372
  I
373
373
  ]), M = f((s) => {
374
- s.compiled && N.current?.getState().setCompiled(s.compiled), s.result && w(s.result), s.command && l.emit({
374
+ s.compiled && R.current?.getState().setCompiled(s.compiled), s.result && _(s.result), s.command && l.emit({
375
375
  kind: "command",
376
376
  command: s.command
377
- }), s.input && T.current?.(s.input), s.errors && S([...s.errors]);
377
+ }), s.input && N.current?.(s.input), s.errors && S([...s.errors]);
378
378
  }, [
379
- w,
379
+ _,
380
380
  l,
381
- T,
381
+ N,
382
382
  S
383
383
  ]), E = f((s) => {
384
384
  for (const g of s) M(g);
@@ -395,16 +395,16 @@ var st = (e) => F((t) => ({
395
395
  h,
396
396
  Y,
397
397
  V
398
- ]), de = f(() => N.current?.getState().compiled ?? null, []);
398
+ ]), de = f(() => R.current?.getState().compiled ?? null, []);
399
399
  return {
400
- store: N.current,
400
+ store: R.current,
401
401
  dispatch: B,
402
402
  seal: ae,
403
403
  history: ce,
404
- subscribe: k.subscribe,
404
+ subscribe: G.subscribe,
405
405
  getCompiled: de,
406
406
  compileBus: l,
407
- compileErrors: H
407
+ compileErrors: x
408
408
  };
409
409
  }, it = () => {
410
410
  const e = /* @__PURE__ */ new Set();
@@ -414,48 +414,48 @@ var st = (e) => F((t) => ({
414
414
  }),
415
415
  notify: () => e.forEach((t) => t())
416
416
  };
417
- }, at = ({ data: e, input: t, plugins: r = [], formattingLocale: n, handleRef: o, onChange: a, onError: i, onWarnings: c, customPalettes: u, colorScheme: m = "light", children: T }) => {
418
- const [G] = C(() => me(r.filter(se))), q = Ie(), [h] = C(() => ye(r)), [l] = C(() => Ae()), p = $(() => Ee({ colorScheme: m }), [m]), { store: y, dispatch: k, seal: N, history: b, subscribe: _, getCompiled: H, compileBus: D, compileErrors: I } = ot({
417
+ }, at = ({ data: e, input: t, plugins: r = [], formattingLocale: n, handleRef: o, onChange: a, onError: i, onWarnings: c, customPalettes: u, colorScheme: m = "light", children: N }) => {
418
+ const [k] = C(() => he(r.filter(se))), q = Ie(), [h] = C(() => ye(r)), [l] = C(() => Ke()), p = $(() => Ee({ colorScheme: m }), [m]), { store: y, dispatch: G, seal: R, history: b, subscribe: w, getCompiled: x, compileBus: D, compileErrors: I } = ot({
419
419
  input: t,
420
420
  data: e,
421
421
  customPalettes: u,
422
422
  colorScheme: m,
423
423
  plugins: r,
424
- resolveRenderer: G,
424
+ resolveRenderer: k,
425
425
  anchorResolver: h,
426
426
  onChange: a,
427
427
  onError: i,
428
428
  onWarnings: c
429
429
  });
430
- x(() => {
430
+ H(() => {
431
431
  if (y)
432
- return y.subscribe((w, M) => {
433
- if (w.compiled.spec === M.compiled.spec) return;
432
+ return y.subscribe((_, M) => {
433
+ if (_.compiled.spec === M.compiled.spec) return;
434
434
  const { selection: E, setSelection: B } = l.getState();
435
- E.length !== 0 && B(Oe(E, w.compiled.spec));
435
+ E.length !== 0 && B(Oe(E, _.compiled.spec));
436
436
  });
437
437
  }, [y, l]);
438
438
  const S = $(() => ({
439
- dispatch: k,
440
- seal: N
441
- }), [k, N]);
442
- Ge(o, () => ({
439
+ dispatch: G,
440
+ seal: R
441
+ }), [G, R]);
442
+ ke(o, () => ({
443
443
  commands: S,
444
444
  undo: b.undo,
445
445
  redo: b.redo,
446
- subscribe: _,
447
- getCompiled: H,
446
+ subscribe: w,
447
+ getCompiled: x,
448
448
  getSelection: () => l.getState().selection,
449
- setSelection: (w) => l.getState().setSelection(w),
449
+ setSelection: (_) => l.getState().setSelection(_),
450
450
  subscribeSelection: l.subscribe
451
451
  }), [
452
452
  S,
453
453
  b,
454
- _,
455
- H,
454
+ w,
455
+ x,
456
456
  l
457
457
  ]);
458
- const R = $(() => y ? {
458
+ const T = $(() => y ? {
459
459
  chartId: q,
460
460
  store: y,
461
461
  selectionStore: l,
@@ -482,11 +482,11 @@ var st = (e) => F((t) => ({
482
482
  forcedErrors: I,
483
483
  onError: i,
484
484
  resetKeys: [t, e],
485
- children: R ? /* @__PURE__ */ d(ge.Provider, {
486
- value: R,
485
+ children: T ? /* @__PURE__ */ d(me.Provider, {
486
+ value: T,
487
487
  children: /* @__PURE__ */ d(ue, {
488
- value: G,
489
- children: T
488
+ value: k,
489
+ children: N
490
490
  })
491
491
  }) : null
492
492
  });
@@ -517,7 +517,7 @@ var fr = ({ children: e, ...t }) => /* @__PURE__ */ d("svg", {
517
517
  overflow: "hidden",
518
518
  pointerEvents: "none",
519
519
  children: t
520
- }), ct = "drqe3u0", dt = "drqe3u1", lt = "drqe3u2", ut = "drqe3u3", L = "drqe3u4", mt = "drqe3u5", ht = "drqe3u6", gt = "drqe3u7", K = "drqe3u8", pt = "drqe3u9", ft = "drqe3ua";
520
+ }), ct = "drqe3u0", dt = "drqe3u1", lt = "drqe3u2", ut = "drqe3u3", L = "drqe3u4", mt = "drqe3u5", ht = "drqe3u6", gt = "drqe3u7", A = "drqe3u8", pt = "drqe3u9", ft = "drqe3ua";
521
521
  var vt = "drqe3uc", yt = "drqe3ud", bt = "drqe3ue", St = "drqe3uf";
522
522
  var Et = "drqe3uh", Ct = "drqe3ui", te = {
523
523
  enabled: "drqe3uk drqe3uj",
@@ -530,19 +530,19 @@ var Et = "drqe3uh", Ct = "drqe3ui", te = {
530
530
  cached: "drqe3ur drqe3up",
531
531
  untouched: "drqe3us drqe3up"
532
532
  }, yr = ({ width: e = 380, style: t, className: r } = {}) => {
533
- const { compileBus: n } = ne(), [o] = C(() => Ve()), [a, i] = C(!1), [c, u] = C(Te);
534
- x(() => {
533
+ const { compileBus: n } = ne(), [o] = C(() => Ve()), [a, i] = C(!1), [c, u] = C(Ne);
534
+ H(() => {
535
535
  const { recordCompile: l } = o.getState(), p = n.getLastTrigger(), y = n.getLastCompile();
536
536
  return p && y && l(p, y), n.subscribe(l);
537
537
  }, [o, n]);
538
- const m = Q(o, (l) => l.lastCompile), T = Q(o, (l) => l.history), G = n.getCacheStats(), q = m === null && T.length === 0, h = () => {
538
+ const m = Q(o, (l) => l.lastCompile), N = Q(o, (l) => l.history), k = n.getCacheStats(), q = m === null && N.length === 0, h = () => {
539
539
  u((l) => {
540
540
  const p = !l;
541
- return Re(p), p;
541
+ return Te(p), p;
542
542
  });
543
543
  };
544
544
  return /* @__PURE__ */ v("div", {
545
- className: _e(ft, r),
545
+ className: we(ft, r),
546
546
  style: {
547
547
  width: e,
548
548
  ...t
@@ -576,13 +576,13 @@ var Et = "drqe3uh", Ct = "drqe3ui", te = {
576
576
  children: "next compile reflects this toggle"
577
577
  })]
578
578
  }),
579
- !a && !q && /* @__PURE__ */ v(we, { children: [/* @__PURE__ */ d(Tt, {
579
+ !a && !q && /* @__PURE__ */ v(_e, { children: [/* @__PURE__ */ d(Nt, {
580
580
  delta: m?.stages,
581
- cumulative: G
582
- }), /* @__PURE__ */ d(Nt, { entries: T })] })
581
+ cumulative: k
582
+ }), /* @__PURE__ */ d(Rt, { entries: N })] })
583
583
  ]
584
584
  });
585
- }, Tt = ({ delta: e, cumulative: t }) => /* @__PURE__ */ v("table", {
585
+ }, Nt = ({ delta: e, cumulative: t }) => /* @__PURE__ */ v("table", {
586
586
  className: lt,
587
587
  children: [/* @__PURE__ */ d("thead", { children: /* @__PURE__ */ v("tr", {
588
588
  className: Et,
@@ -609,7 +609,7 @@ var Et = "drqe3uh", Ct = "drqe3ui", te = {
609
609
  })
610
610
  ]
611
611
  }) }), /* @__PURE__ */ d("tbody", { children: j.map((r) => {
612
- const n = e?.[r], o = Rt(n);
612
+ const n = e?.[r], o = Tt(n);
613
613
  return /* @__PURE__ */ v("tr", {
614
614
  className: vt,
615
615
  children: [
@@ -629,21 +629,21 @@ var Et = "drqe3uh", Ct = "drqe3ui", te = {
629
629
  children: n?.misses ?? 0
630
630
  }),
631
631
  /* @__PURE__ */ d("td", {
632
- className: K,
632
+ className: A,
633
633
  children: n?.hits ?? 0
634
634
  }),
635
635
  /* @__PURE__ */ d("td", {
636
- className: K,
636
+ className: A,
637
637
  children: t[r].misses
638
638
  }),
639
639
  /* @__PURE__ */ d("td", {
640
- className: K,
640
+ className: A,
641
641
  children: t[r].hits
642
642
  })
643
643
  ]
644
644
  }, r);
645
645
  }) })]
646
- }), Nt = ({ entries: e }) => e.length === 0 ? null : /* @__PURE__ */ v("div", {
646
+ }), Rt = ({ entries: e }) => e.length === 0 ? null : /* @__PURE__ */ v("div", {
647
647
  className: yt,
648
648
  children: [/* @__PURE__ */ d("div", {
649
649
  className: Ct,
@@ -675,12 +675,12 @@ var Et = "drqe3uh", Ct = "drqe3ui", te = {
675
675
  ]
676
676
  }, t.id);
677
677
  })]
678
- }), Rt = (e) => !e || e.hits === 0 && e.misses === 0 ? "untouched" : e.misses > 0 ? "ran" : "cached", qt = (e, t) => {
678
+ }), Tt = (e) => !e || e.hits === 0 && e.misses === 0 ? "untouched" : e.misses > 0 ? "ran" : "cached", qt = (e, t) => {
679
679
  let r = 0;
680
680
  for (const n of j) t(e[n]) && (r += 1);
681
681
  return r;
682
682
  }, ie = (e) => e >= 10 ? `${e.toFixed(0)}ms` : `${e.toFixed(2)}ms`, br = () => {
683
- const { history: e } = ne(), { stack: t, undo: r, redo: n } = e, o = f((c) => t.subscribe(c), [t]), a = f(() => t.getSnapshot(), [t]), i = ke(o, a, a);
683
+ const { history: e } = ne(), { stack: t, undo: r, redo: n } = e, o = f((c) => t.subscribe(c), [t]), a = f(() => t.getSnapshot(), [t]), i = Ge(o, a, a);
684
684
  return $(() => ({
685
685
  ...i,
686
686
  undo: r,
@@ -703,12 +703,12 @@ var Et = "drqe3uh", Ct = "drqe3ui", te = {
703
703
  "submit"
704
704
  ]), Sr = (e, t = {}) => {
705
705
  const { target: r, enabled: n = !0 } = t;
706
- x(() => {
707
- const o = Gt(r);
706
+ H(() => {
707
+ const o = kt(r);
708
708
  if (!n || !o) return;
709
709
  const a = (i) => {
710
- if (!kt(i) || i.defaultPrevented || wt(i.target)) return;
711
- const c = he(i);
710
+ if (!Gt(i) || i.defaultPrevented || _t(i.target)) return;
711
+ const c = ge(i);
712
712
  if (!c) return;
713
713
  const u = e.current;
714
714
  u && (c === "undo" ? u.undo() : u.redo()) && i.preventDefault();
@@ -719,46 +719,46 @@ var Et = "drqe3uh", Ct = "drqe3ui", te = {
719
719
  r,
720
720
  n
721
721
  ]);
722
- }, Gt = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, kt = (e) => "key" in e, wt = (e) => e instanceof HTMLInputElement ? !It.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1;
722
+ }, kt = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, Gt = (e) => "key" in e, _t = (e) => e instanceof HTMLInputElement ? !It.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1;
723
723
  export {
724
724
  Pt as BrandMark,
725
- Bt as CanvasTextMeasurer,
725
+ $t as CanvasTextMeasurer,
726
726
  Dt as DefaultFooter,
727
727
  sr as DefaultGrid,
728
- Jt as DefaultHeader,
729
- or as DefaultSwatch,
728
+ Zt as DefaultHeader,
729
+ xt as DefaultSwatch,
730
730
  At as DefaultTooltip,
731
731
  yr as DevToolsPanel,
732
732
  er as GRAPH_MODES,
733
733
  Le as GraphErrorBoundary,
734
734
  Z as GraphErrorPanel,
735
735
  at as GraphProvider,
736
- Yt as GraphRenderer,
737
- Ft as HoverProvider,
738
- xt as TextMeasurerProvider,
736
+ Ft as GraphRenderer,
737
+ jt as HoverProvider,
738
+ Bt as TextMeasurerProvider,
739
739
  rr as ThemeProvider,
740
740
  vr as UnitBoxSvg,
741
741
  fr as UnitSpaceSvg,
742
742
  pr as createGraphyKit,
743
- Zt as darkTheme,
744
- ir as defineGeomRenderer,
745
- Vt as lightTheme,
746
- Ot as lightenCss,
743
+ Qt as darkTheme,
744
+ or as defineGeomRenderer,
745
+ Yt as lightTheme,
746
+ Mt as lightenCss,
747
747
  Oe as pruneSelection,
748
748
  Lt as resolveBrandMarkVisual,
749
- Kt as useCompiledSelector,
750
- Xt as useElementScreenRect,
751
- zt as useGeomHitTest,
752
- Wt as useGeomHover,
749
+ Ht as useCompiledSelector,
750
+ Wt as useElementScreenRect,
751
+ Xt as useGeomHitTest,
752
+ Vt as useGeomHover,
753
753
  tr as useGraphCommands,
754
- Qt as useGraphHandle,
754
+ zt as useGraphHandle,
755
755
  br as useGraphHistory,
756
756
  Sr as useGraphHistoryShortcuts,
757
- jt as useGraphSelection,
757
+ Ut as useGraphSelection,
758
758
  nr as useHandleCompiled,
759
- Ut as useHoverState,
760
- Ht as useStyleReaders,
761
- Mt as useStyleResolver,
762
- $t as useTextMeasurer,
759
+ Kt as useHoverState,
760
+ Ot as useStyleReaders,
761
+ ir as useStyleResolver,
762
+ Jt as useTextMeasurer,
763
763
  cr as vars
764
764
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "visualization",
12
12
  "renderer"
13
13
  ],
14
- "version": "1.9.0-beta.1789369093961",
14
+ "version": "1.9.0-beta.1789369549494",
15
15
  "type": "module",
16
16
  "sideEffects": [
17
17
  "**/*.css.ts",
@@ -55,7 +55,7 @@
55
55
  "react-colorful": "^5.6.1",
56
56
  "react-intl": "^8.1.3",
57
57
  "zustand": "^5.0.12",
58
- "@graphysdk/viz-engine": "1.9.0-beta.1789369093961"
58
+ "@graphysdk/viz-engine": "1.9.0-beta.1789369549494"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@tiptap/core": "^3.0.0",