@graphysdk/react-renderer 2.0.0-beta.1787305269287 → 2.0.0-beta.1788422115078

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,24 +1,24 @@
1
- import { $ as It, D as _t, Dt as ae, Et as kt, G as Dt, O as $t, Ot as te, Q as Ht, T as xt, Tt as Mt, W as Pt, X as Lt, _t as ce, a as Kt, bt as Ot, ct as Bt, dt as K, ft as le, gt as At, ht as de, i as Yt, it as jt, lt as Ft, m as Ut, mt as A, n as Wt, pt as Vt, r as Xt, rt as Qt, s as zt, t as ue, vt as Jt, w as Zt, yt as er } from "./history-chords-fIM-zVJc.js";
2
- import { m as rr, t as me } from "./dev.utils-mjCzrz3g.js";
3
- import { COMPILER_STAGE_KEYS as Y, Geom as ge, GraphCompilationSession as he, areEditTargetsEqual as pe, buildDiagnostic as W, createAnchorResolver as fe, createCompiler as ve, createGraphyBuilder as ye, findAnnotation as be, isCompilerCachingEnabled as Se, resolveDefinition as Ee, setCompilerCachingEnabled as Te } from "@graphysdk/viz-engine";
1
+ import { Ct as kt, M as wt, Mt as It, Nt as ae, O as Dt, Pt as te, St as ce, Tt as $t, X as xt, Y as Ht, _ as Mt, _t as le, a as Pt, bt as de, ct as Lt, gt as K, i as Kt, it as Bt, j as Ot, jt as At, k as jt, lt as Yt, mt as Ft, n as Ut, pt as Wt, r as Vt, rt as Xt, s as Qt, t as ue, tt as zt, vt as Jt, wt as Zt, xt as er, yt as A } from "./history-chords-Dduq5Eit.js";
2
+ import { f as rr, t as me } from "./dev.utils-DepuGtOF.js";
3
+ import { COMPILER_STAGE_KEYS as j, Geom as ge, GraphCompilationSession as he, areEditTargetsEqual as pe, buildDiagnostic as W, createAnchorResolver as fe, createCompiler as ve, createGraphyBuilder as ye, findAnnotation as be, isCompilerCachingEnabled as Se, resolveDefinition as Ee, setCompilerCachingEnabled as Te } from "@graphysdk/viz-engine";
4
4
  import { Component as Ce, useCallback as f, useEffect as $, useId as Ne, useImperativeHandle as Re, useMemo as P, useRef as V, useState as T, useSyncExternalStore as qe } from "react";
5
5
  import { Fragment as Ge, jsx as c, jsxs as v } from "react/jsx-runtime";
6
6
  import { useStore as X } from "zustand";
7
- import { createStore as j } from "zustand/vanilla";
8
- import we from "clsx";
9
- import './index.css';function B(e) {
7
+ import { createStore as Y } from "zustand/vanilla";
8
+ import _e from "clsx";
9
+ import './index.css';function O(e) {
10
10
  for (const t of e) (t.severity === "error" ? console.error : console.warn)(`[graphy] ${t.code}: ${t.message}`, t);
11
11
  }
12
- var Ie = "_1a5iqpb0", _e = "_1a5iqpb1";
13
- var ke = "_1a5iqpb3", De = "_1a5iqpb4", $e = "_1a5iqpb5";
12
+ var ke = "_1a5iqpb0", we = "_1a5iqpb1";
13
+ var Ie = "_1a5iqpb3", De = "_1a5iqpb4", $e = "_1a5iqpb5";
14
14
  var Q = ({ errors: e }) => {
15
15
  const [t, ...r] = e;
16
16
  return /* @__PURE__ */ v("div", {
17
17
  role: "alert",
18
- className: Ie,
18
+ className: ke,
19
19
  children: [
20
20
  /* @__PURE__ */ c("strong", {
21
- className: _e,
21
+ className: we,
22
22
  children: "This chart could not be rendered."
23
23
  }),
24
24
  t && /* @__PURE__ */ c(z, { diagnostic: t }),
@@ -29,7 +29,7 @@ var Q = ({ errors: e }) => {
29
29
  ]
30
30
  });
31
31
  }, z = ({ diagnostic: e }) => /* @__PURE__ */ v("div", {
32
- className: ke,
32
+ className: Ie,
33
33
  children: [
34
34
  /* @__PURE__ */ c("span", {
35
35
  className: De,
@@ -45,10 +45,10 @@ var Q = ({ errors: e }) => {
45
45
  })
46
46
  ]
47
47
  });
48
- function He(e = [], t = []) {
48
+ function xe(e = [], t = []) {
49
49
  return e.length === t.length && e.every((r, n) => Object.is(r, t[n]));
50
50
  }
51
- var xe = class extends Ce {
51
+ var He = class extends Ce {
52
52
  constructor(...e) {
53
53
  super(...e), this.state = { caughtDiagnostic: null };
54
54
  }
@@ -57,10 +57,10 @@ var xe = class extends Ce {
57
57
  }
58
58
  componentDidCatch(e, t) {
59
59
  const r = W(e);
60
- B([r]), this.props.onError?.([r]), console.error("Chart render component stack:", t.componentStack);
60
+ O([r]), this.props.onError?.([r]), console.error("Chart render component stack:", t.componentStack);
61
61
  }
62
62
  componentDidUpdate(e) {
63
- this.state.caughtDiagnostic && !He(e.resetKeys, this.props.resetKeys) && this.setState({ caughtDiagnostic: null });
63
+ this.state.caughtDiagnostic && !xe(e.resetKeys, this.props.resetKeys) && this.setState({ caughtDiagnostic: null });
64
64
  }
65
65
  render() {
66
66
  const { caughtDiagnostic: e } = this.state;
@@ -74,18 +74,18 @@ var xe = class extends Ce {
74
74
  }, Pe = (e, t) => {
75
75
  const r = e.filter((n) => Le(n, t));
76
76
  return r.length === e.length ? e : r;
77
- }, Le = (e, t) => e.kind !== "annotation" ? !0 : be(t.annotations, e.id) !== null, J = [], Ke = () => j((e) => ({
77
+ }, Le = (e, t) => e.kind !== "annotation" ? !0 : be(t.annotations, e.id) !== null, J = [], Ke = () => Y((e) => ({
78
78
  selection: J,
79
- setSelection: (t) => e((r) => Oe(r.selection, t) ? r : { selection: t }),
79
+ setSelection: (t) => e((r) => Be(r.selection, t) ? r : { selection: t }),
80
80
  clearSelection: () => e((t) => t.selection.length === 0 ? t : { selection: J })
81
- })), Oe = (e, t) => e === t ? !0 : e.length !== t.length ? !1 : e.every((r, n) => {
81
+ })), Be = (e, t) => e === t ? !0 : e.length !== t.length ? !1 : e.every((r, n) => {
82
82
  const o = t[n];
83
83
  return o !== void 0 && pe(r, o);
84
- }), Be = 5, Ae = (e) => {
84
+ }), Oe = 5, Ae = (e) => {
85
85
  if (!me) return {
86
86
  emit: () => {
87
87
  },
88
- subscribe: () => je,
88
+ subscribe: () => Ye,
89
89
  getLastTrigger: () => null,
90
90
  getLastCompile: () => null,
91
91
  getCacheStats: () => e.getCacheStats()
@@ -107,7 +107,7 @@ var xe = class extends Ce {
107
107
  getLastCompile: () => e.getLastCompile(),
108
108
  getCacheStats: () => e.getCacheStats()
109
109
  };
110
- }, Ye = () => j((e) => ({
110
+ }, je = () => Y((e) => ({
111
111
  lastCompile: null,
112
112
  history: [],
113
113
  nextId: 1,
@@ -122,12 +122,12 @@ var xe = class extends Ce {
122
122
  };
123
123
  return {
124
124
  lastCompile: o,
125
- history: Ue(n.history, o, Be),
125
+ history: Ue(n.history, o, Oe),
126
126
  nextId: n.nextId + 1,
127
127
  lastSnapshot: r
128
128
  };
129
129
  })
130
- })), je = () => {
130
+ })), Ye = () => {
131
131
  }, Fe = (e) => {
132
132
  switch (e.kind) {
133
133
  case "init":
@@ -294,11 +294,11 @@ function Ze(e, t) {
294
294
  }
295
295
  return l;
296
296
  }
297
- var et = (e) => j((t) => ({
297
+ var et = (e) => Y((t) => ({
298
298
  compiled: e,
299
299
  setCompiled: (r) => t((n) => n.compiled === r ? n : { compiled: r })
300
300
  })), tt = ({ input: e, data: t, customPalettes: r, plugins: n, resolveRenderer: o, anchorResolver: l, onChange: i, onError: a, onWarnings: d }) => {
301
- const m = K(i), q = K(a), _ = K(d), [{ session: g, compileBus: b }] = T(() => {
301
+ const m = K(i), q = K(a), w = K(d), [{ session: g, compileBus: b }] = T(() => {
302
302
  const s = ve({ plugins: n });
303
303
  return {
304
304
  session: new he(s),
@@ -312,7 +312,7 @@ var et = (e) => j((t) => ({
312
312
  p.subscribe(y.notify), C.current = p, y.notify();
313
313
  }
314
314
  return null;
315
- }, [y]), [H, k] = T(() => {
315
+ }, [y]), [x, I] = T(() => {
316
316
  const s = g.compile({
317
317
  input: e,
318
318
  data: t,
@@ -327,17 +327,17 @@ var et = (e) => j((t) => ({
327
327
  ...ze(s.compiled, o),
328
328
  ...Ze(s.compiled, o),
329
329
  ...Je(s.compiled, l)
330
- ] : s.warnings, [o, l]), w = f((s) => {
331
- s.length !== 0 && (B(s), q.current?.(s));
330
+ ] : s.warnings, [o, l]), _ = f((s) => {
331
+ s.length !== 0 && (O(s), q.current?.(s));
332
332
  }, [q]), S = f((s) => {
333
- s.length !== 0 && (B(s), _.current?.(s));
334
- }, [_]);
333
+ s.length !== 0 && (O(s), w.current?.(s));
334
+ }, [w]);
335
335
  $(() => {
336
336
  const s = h.current;
337
- s && (w([...u.errors, ...s.ok ? [] : s.errors]), S([...u.warnings, ...R(s)]), s.ok && b.emit({ kind: "init" }));
337
+ s && (_([...u.errors, ...s.ok ? [] : s.errors]), S([...u.warnings, ...R(s)]), s.ok && b.emit({ kind: "init" }));
338
338
  }, [
339
339
  b,
340
- w,
340
+ _,
341
341
  S,
342
342
  u,
343
343
  R
@@ -350,7 +350,7 @@ var et = (e) => j((t) => ({
350
350
  if (!s) return;
351
351
  s.sealedInput && m.current?.(s.sealedInput);
352
352
  const p = N(s.result);
353
- k(G(p)), p && w(p), S(R(s.result)), p || b.emit({ kind: s.inputChanged ? "input" : "data" });
353
+ I(G(p)), p && _(p), S(R(s.result)), p || b.emit({ kind: s.inputChanged ? "input" : "data" });
354
354
  }, [
355
355
  e,
356
356
  t,
@@ -358,32 +358,32 @@ var et = (e) => j((t) => ({
358
358
  g,
359
359
  b,
360
360
  N,
361
- w,
361
+ _,
362
362
  S,
363
363
  G,
364
364
  R,
365
365
  m
366
366
  ]);
367
367
  const D = f((s) => {
368
- k((p) => p === null ? p : G(null)), S(R(s));
368
+ I((p) => p === null ? p : G(null)), S(R(s));
369
369
  }, [
370
370
  G,
371
371
  S,
372
372
  R
373
- ]), I = f((s) => {
373
+ ]), k = f((s) => {
374
374
  s.compiled && C.current?.getState().setCompiled(s.compiled), s.result && D(s.result), s.command && b.emit({
375
375
  kind: "command",
376
376
  command: s.command
377
- }), s.input && m.current?.(s.input), s.errors && w([...s.errors]);
377
+ }), s.input && m.current?.(s.input), s.errors && _([...s.errors]);
378
378
  }, [
379
379
  D,
380
380
  b,
381
381
  m,
382
- w
382
+ _
383
383
  ]), E = f((s) => {
384
- for (const p of s) I(p);
384
+ for (const p of s) k(p);
385
385
  return s.some((p) => !!p.compiled);
386
- }, [I]), x = f((s, p) => {
386
+ }, [k]), H = f((s, p) => {
387
387
  E(g.applyCommand(s, p));
388
388
  }, [g, E]), L = f(() => {
389
389
  E(g.seal());
@@ -398,13 +398,13 @@ var et = (e) => j((t) => ({
398
398
  ]), ie = f(() => C.current?.getState().compiled ?? null, []);
399
399
  return {
400
400
  store: C.current,
401
- dispatch: x,
401
+ dispatch: H,
402
402
  seal: L,
403
403
  history: oe,
404
404
  subscribe: y.subscribe,
405
405
  getCompiled: ie,
406
406
  compileBus: b,
407
- compileErrors: H
407
+ compileErrors: x
408
408
  };
409
409
  }, rt = () => {
410
410
  const e = /* @__PURE__ */ new Set();
@@ -414,8 +414,8 @@ var et = (e) => j((t) => ({
414
414
  }),
415
415
  notify: () => e.forEach((t) => t())
416
416
  };
417
- }, nt = {}, st = ({ data: e, input: t, plugins: r = [], formattingLocale: n, handleRef: o, onChange: l, onError: i, onWarnings: a, customPalettes: d, colorScheme: m = "light", themeOverrides: q = nt, children: _ }) => {
418
- const [g] = T(() => le(r.filter(re))), b = Ne(), [u] = T(() => fe(r)), [h] = T(() => Ke()), { store: y, dispatch: C, seal: G, history: N, subscribe: H, getCompiled: k, compileBus: R, compileErrors: w } = tt({
417
+ }, nt = {}, st = ({ data: e, input: t, plugins: r = [], formattingLocale: n, handleRef: o, onChange: l, onError: i, onWarnings: a, customPalettes: d, colorScheme: m = "light", themeOverrides: q = nt, children: w }) => {
418
+ const [g] = T(() => le(r.filter(re))), b = Ne(), [u] = T(() => fe(r)), [h] = T(() => Ke()), { store: y, dispatch: C, seal: G, history: N, subscribe: x, getCompiled: I, compileBus: R, compileErrors: _ } = tt({
419
419
  input: t,
420
420
  data: e,
421
421
  customPalettes: d,
@@ -428,10 +428,10 @@ var et = (e) => j((t) => ({
428
428
  });
429
429
  $(() => {
430
430
  if (y)
431
- return y.subscribe((I, E) => {
432
- if (I.compiled.spec === E.compiled.spec) return;
433
- const { selection: x, setSelection: L } = h.getState();
434
- x.length !== 0 && L(Pe(x, I.compiled.spec));
431
+ return y.subscribe((k, E) => {
432
+ if (k.compiled.spec === E.compiled.spec) return;
433
+ const { selection: H, setSelection: L } = h.getState();
434
+ H.length !== 0 && L(Pe(H, k.compiled.spec));
435
435
  });
436
436
  }, [y, h]);
437
437
  const S = P(() => ({
@@ -442,16 +442,16 @@ var et = (e) => j((t) => ({
442
442
  commands: S,
443
443
  undo: N.undo,
444
444
  redo: N.redo,
445
- subscribe: H,
446
- getCompiled: k,
445
+ subscribe: x,
446
+ getCompiled: I,
447
447
  getSelection: () => h.getState().selection,
448
- setSelection: (I) => h.getState().setSelection(I),
448
+ setSelection: (k) => h.getState().setSelection(k),
449
449
  subscribeSelection: h.subscribe
450
450
  }), [
451
451
  S,
452
452
  N,
453
- H,
454
- k,
453
+ x,
454
+ I,
455
455
  h
456
456
  ]);
457
457
  const D = P(() => y ? {
@@ -477,15 +477,15 @@ var et = (e) => j((t) => ({
477
477
  q,
478
478
  u
479
479
  ]);
480
- return /* @__PURE__ */ c(xe, {
481
- forcedErrors: w,
480
+ return /* @__PURE__ */ c(He, {
481
+ forcedErrors: _,
482
482
  onError: i,
483
483
  resetKeys: [t, e],
484
484
  children: D ? /* @__PURE__ */ c(ae.Provider, {
485
485
  value: D,
486
486
  children: /* @__PURE__ */ c(ce, {
487
487
  value: g,
488
- children: _
488
+ children: w
489
489
  })
490
490
  }) : null
491
491
  });
@@ -508,7 +508,7 @@ var dr = ({ children: e, ...t }) => /* @__PURE__ */ c("svg", {
508
508
  pointerEvents: "none",
509
509
  ...t,
510
510
  children: e
511
- }), ot = "drqe3u0", it = "drqe3u1", at = "drqe3u2", ct = "drqe3u3", M = "drqe3u4", lt = "drqe3u5", dt = "drqe3u6", ut = "drqe3u7", O = "drqe3u8", mt = "drqe3u9", gt = "drqe3ua";
511
+ }), ot = "drqe3u0", it = "drqe3u1", at = "drqe3u2", ct = "drqe3u3", M = "drqe3u4", lt = "drqe3u5", dt = "drqe3u6", ut = "drqe3u7", B = "drqe3u8", mt = "drqe3u9", gt = "drqe3ua";
512
512
  var ht = "drqe3uc", pt = "drqe3ud", ft = "drqe3ue", vt = "drqe3uf";
513
513
  var yt = "drqe3uh", bt = "drqe3ui", Z = {
514
514
  enabled: "drqe3uk drqe3uj",
@@ -521,19 +521,19 @@ var yt = "drqe3uh", bt = "drqe3ui", Z = {
521
521
  cached: "drqe3ur drqe3up",
522
522
  untouched: "drqe3us drqe3up"
523
523
  }, ur = ({ width: e = 380, style: t, className: r } = {}) => {
524
- const { compileBus: n } = te(), [o] = T(() => Ye()), [l, i] = T(!1), [a, d] = T(Se);
524
+ const { compileBus: n } = te(), [o] = T(() => je()), [l, i] = T(!1), [a, d] = T(Se);
525
525
  $(() => {
526
526
  const { recordCompile: u } = o.getState(), h = n.getLastTrigger(), y = n.getLastCompile();
527
527
  return h && y && u(h, y), n.subscribe(u);
528
528
  }, [o, n]);
529
- const m = X(o, (u) => u.lastCompile), q = X(o, (u) => u.history), _ = n.getCacheStats(), g = m === null && q.length === 0, b = () => {
529
+ const m = X(o, (u) => u.lastCompile), q = X(o, (u) => u.history), w = n.getCacheStats(), g = m === null && q.length === 0, b = () => {
530
530
  d((u) => {
531
531
  const h = !u;
532
532
  return Te(h), h;
533
533
  });
534
534
  };
535
535
  return /* @__PURE__ */ v("div", {
536
- className: we(gt, r),
536
+ className: _e(gt, r),
537
537
  style: {
538
538
  width: e,
539
539
  ...t
@@ -569,7 +569,7 @@ var yt = "drqe3uh", bt = "drqe3ui", Z = {
569
569
  }),
570
570
  !l && !g && /* @__PURE__ */ v(Ge, { children: [/* @__PURE__ */ c(St, {
571
571
  delta: m?.stages,
572
- cumulative: _
572
+ cumulative: w
573
573
  }), /* @__PURE__ */ c(Et, { entries: q })] })
574
574
  ]
575
575
  });
@@ -599,7 +599,7 @@ var yt = "drqe3uh", bt = "drqe3ui", Z = {
599
599
  children: "total hit"
600
600
  })
601
601
  ]
602
- }) }), /* @__PURE__ */ c("tbody", { children: Y.map((r) => {
602
+ }) }), /* @__PURE__ */ c("tbody", { children: j.map((r) => {
603
603
  const n = e?.[r], o = Tt(n);
604
604
  return /* @__PURE__ */ v("tr", {
605
605
  className: ht,
@@ -620,15 +620,15 @@ var yt = "drqe3uh", bt = "drqe3ui", Z = {
620
620
  children: n?.misses ?? 0
621
621
  }),
622
622
  /* @__PURE__ */ c("td", {
623
- className: O,
623
+ className: B,
624
624
  children: n?.hits ?? 0
625
625
  }),
626
626
  /* @__PURE__ */ c("td", {
627
- className: O,
627
+ className: B,
628
628
  children: t[r].misses
629
629
  }),
630
630
  /* @__PURE__ */ c("td", {
631
- className: O,
631
+ className: B,
632
632
  children: t[r].hits
633
633
  })
634
634
  ]
@@ -640,7 +640,7 @@ var yt = "drqe3uh", bt = "drqe3ui", Z = {
640
640
  className: bt,
641
641
  children: "recent compiles"
642
642
  }), e.map((t) => {
643
- const r = Ct(t.stages, (l) => l.misses > 0), n = Y.length;
643
+ const r = Ct(t.stages, (l) => l.misses > 0), n = j.length;
644
644
  return /* @__PURE__ */ v("div", {
645
645
  className: dt,
646
646
  children: [
@@ -668,7 +668,7 @@ var yt = "drqe3uh", bt = "drqe3ui", Z = {
668
668
  })]
669
669
  }), Tt = (e) => !e || e.hits === 0 && e.misses === 0 ? "untouched" : e.misses > 0 ? "ran" : "cached", Ct = (e, t) => {
670
670
  let r = 0;
671
- for (const n of Y) t(e[n]) && (r += 1);
671
+ for (const n of j) t(e[n]) && (r += 1);
672
672
  return r;
673
673
  }, se = (e) => e >= 10 ? `${e.toFixed(0)}ms` : `${e.toFixed(2)}ms`, mr = () => {
674
674
  const { history: e } = te(), { stack: t, undo: r, redo: n } = e, o = f((a) => t.subscribe(a), [t]), l = f(() => t.getSnapshot(), [t]), i = qe(o, l, l);
@@ -712,40 +712,40 @@ var yt = "drqe3uh", bt = "drqe3ui", Z = {
712
712
  ]);
713
713
  }, Rt = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, qt = (e) => "key" in e, Gt = (e) => e instanceof HTMLInputElement ? !Nt.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1;
714
714
  export {
715
- _t as BrandMark,
716
- Ot as CanvasTextMeasurer,
717
- xt as DefaultFooter,
718
- zt as DefaultGrid,
719
- Zt as DefaultHeader,
720
- At as DefaultSwatch,
721
- Pt as DefaultTooltip,
715
+ Ot as BrandMark,
716
+ $t as CanvasTextMeasurer,
717
+ jt as DefaultFooter,
718
+ Qt as DefaultGrid,
719
+ Dt as DefaultHeader,
720
+ er as DefaultSwatch,
721
+ Ht as DefaultTooltip,
722
722
  ur as DevToolsPanel,
723
- xe as GraphErrorBoundary,
723
+ He as GraphErrorBoundary,
724
724
  Q as GraphErrorPanel,
725
725
  st as GraphProvider,
726
- Kt as GraphRenderer,
726
+ Pt as GraphRenderer,
727
727
  Ft as HoverProvider,
728
- Jt as TextMeasurerProvider,
729
- Lt as ThemeProvider,
728
+ kt as TextMeasurerProvider,
729
+ zt as ThemeProvider,
730
730
  dr as UnitSpaceSvg,
731
731
  lr as createGraphyKit,
732
- Ht as darkTheme,
733
- Vt as defineGeomRenderer,
734
- It as lightTheme,
735
- Mt as lightenCss,
732
+ Xt as darkTheme,
733
+ Jt as defineGeomRenderer,
734
+ Bt as lightTheme,
735
+ At as lightenCss,
736
736
  Pe as pruneSelection,
737
- $t as resolveBrandMarkVisual,
738
- kt as useCompiledSelector,
739
- jt as useElementScreenRect,
740
- Bt as useGeomHitTest,
741
- Qt as useGeomHover,
742
- Wt as useGraphCommands,
743
- Yt as useGraphHandle,
737
+ wt as resolveBrandMarkVisual,
738
+ It as useCompiledSelector,
739
+ Yt as useElementScreenRect,
740
+ Wt as useGeomHitTest,
741
+ Lt as useGeomHover,
742
+ Ut as useGraphCommands,
743
+ Kt as useGraphHandle,
744
744
  mr as useGraphHistory,
745
745
  gr as useGraphHistoryShortcuts,
746
- Ut as useGraphSelection,
747
- Xt as useHandleCompiled,
748
- Dt as useHoverState,
749
- er as useTextMeasurer,
746
+ Mt as useGraphSelection,
747
+ Vt as useHandleCompiled,
748
+ xt as useHoverState,
749
+ Zt as useTextMeasurer,
750
750
  rr as vars
751
751
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "visualization",
12
12
  "renderer"
13
13
  ],
14
- "version": "2.0.0-beta.1787305269287",
14
+ "version": "2.0.0-beta.1788422115078",
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": "2.0.0-beta.1787305269287"
58
+ "@graphysdk/viz-engine": "2.0.0-beta.1788422115078"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@tiptap/core": "^3.0.0",
@@ -75,6 +75,53 @@
75
75
  "@tiptap/react": "^3.0.0",
76
76
  "react": "^19.0.0"
77
77
  },
78
+ "peerDependenciesMeta": {
79
+ "@tiptap/core": {
80
+ "optional": true
81
+ },
82
+ "@tiptap/extension-bold": {
83
+ "optional": true
84
+ },
85
+ "@tiptap/extension-document": {
86
+ "optional": true
87
+ },
88
+ "@tiptap/extension-hard-break": {
89
+ "optional": true
90
+ },
91
+ "@tiptap/extension-heading": {
92
+ "optional": true
93
+ },
94
+ "@tiptap/extension-italic": {
95
+ "optional": true
96
+ },
97
+ "@tiptap/extension-link": {
98
+ "optional": true
99
+ },
100
+ "@tiptap/extension-paragraph": {
101
+ "optional": true
102
+ },
103
+ "@tiptap/extension-text": {
104
+ "optional": true
105
+ },
106
+ "@tiptap/extension-text-align": {
107
+ "optional": true
108
+ },
109
+ "@tiptap/extension-text-style": {
110
+ "optional": true
111
+ },
112
+ "@tiptap/extension-underline": {
113
+ "optional": true
114
+ },
115
+ "@tiptap/extensions": {
116
+ "optional": true
117
+ },
118
+ "@tiptap/pm": {
119
+ "optional": true
120
+ },
121
+ "@tiptap/react": {
122
+ "optional": true
123
+ }
124
+ },
78
125
  "devDependencies": {
79
126
  "@rollup/plugin-replace": "^6.0.3",
80
127
  "@testing-library/jest-dom": "^6.5.0",
@@ -1,2 +0,0 @@
1
- let d=require("@graphysdk/viz-engine");var m=["canvasDefault","canvasBlue","canvasCyan","canvasGreen","canvasYellow","canvasOrange","canvasRed","canvasPink","canvasPurple","canvasGray","canvasInverse"],e={white:"var(--graphy-white)",black:"var(--graphy-black)",transparent:"var(--graphy-transparent)",grey100:"var(--graphy-grey-100)",grey95:"var(--graphy-grey-95)",grey90:"var(--graphy-grey-90)",grey85:"var(--graphy-grey-85)",grey80:"var(--graphy-grey-80)",grey75:"var(--graphy-grey-75)",grey70:"var(--graphy-grey-70)",grey60:"var(--graphy-grey-60)",grey50:"var(--graphy-grey-50)",grey0:"var(--graphy-grey-0)",greyGradient80:"var(--graphy-grey-gradient-80)",green60:"var(--graphy-green-60)",green50:"var(--graphy-green-50)",red60:"var(--graphy-red-60)",red50:"var(--graphy-red-50)",amber70:"var(--graphy-amber-70)",amber50:"var(--graphy-amber-50)",amber40:"var(--graphy-amber-40)",amber30:"var(--graphy-amber-30)",blue80:"var(--graphy-blue-80)",blue60:"var(--graphy-blue-60)",purple50:"var(--graphy-purple-50)",purple30:"var(--graphy-purple-30)",brand:"var(--graphy-brand)",success:"var(--graphy-success)",warning:"var(--graphy-warning)",alert:"var(--graphy-alert)",textPrimary:"var(--graphy-text-primary)",textSecondary:"var(--graphy-text-secondary)",textDisabled:"var(--graphy-text-disabled)",iconPrimary:"var(--graphy-icon-primary)",iconSecondary:"var(--graphy-icon-secondary)",iconStickerBackground:"var(--graphy-icon-sticker-background)",border100:"var(--graphy-border-100)",border50:"var(--graphy-border-50)",border10:"var(--graphy-border-10)",sunkenBackground:"var(--graphy-sunken-background)",defaultBackground:"var(--graphy-default-background)",raisedBackground:"var(--graphy-raised-background)",overlayBackground:"var(--graphy-overlay-background)",overlayBorderGradient:"var(--graphy-overlay-border-gradient)",graphBackground:"var(--graphy-graph-background)",gridLineColor:"var(--graphy-grid-line-color)",axisTickColor:"var(--graphy-axis-tick-color)",originLineColor:"var(--graphy-origin-line-color)",legendBackground:"var(--graphy-legend-background)",legendBorderColor:"var(--graphy-legend-border-color)",legendFocusOutlineColor:"var(--graphy-legend-focus-outline-color)",legendTextColor:"var(--graphy-legend-text-color)",dimmedSeriesLabelTextColor:"var(--graphy-dimmed-series-label-text-color)",dimmedSeriesLabelLineColor:"var(--graphy-dimmed-series-label-line-color)",trendNegativeColor:"var(--graphy-trend-negative-color)",trendPositiveColor:"var(--graphy-trend-positive-color)",trendNeutralColor:"var(--graphy-trend-neutral-color)",defaultAnnotationArrowStroke:"var(--graphy-default-annotation-arrow-stroke)",defaultAnnotationShapeFill:"var(--graphy-default-annotation-shape-fill)",arrowAnnotationStickerOutlineColor:"var(--graphy-arrow-annotation-sticker-outline-color)",arrowAnnotationStickerOutlineColorInverse:"var(--graphy-arrow-annotation-sticker-outline-color-inverse)",annotationFrameBorderColor:"var(--graphy-annotation-frame-border-color)",editMenuTriggerIconColor:"var(--graphy-edit-menu-trigger-icon-color)",heatmapEmptyTileBackground:"var(--graphy-heatmap-empty-tile-background)",gridLineWidth:"var(--graphy-grid-line-width)",tooltipBorderRadius:"var(--graphy-tooltip-border-radius)",tooltipPaddingBlock:"var(--graphy-tooltip-padding-block)",tooltipPaddingInline:"var(--graphy-tooltip-padding-inline)",tooltipRowGap:"var(--graphy-tooltip-row-gap)",tooltipShadow:"var(--graphy-tooltip-shadow)",editorControlHeight:"var(--graphy-editor-control-height)",legendItemGap:"var(--graphy-legend-item-gap)",legendSwatchGap:"var(--graphy-legend-swatch-gap)",legendSwatchWidth:"var(--graphy-legend-swatch-width)",legendSwatchHeight:"var(--graphy-legend-swatch-height)",legendPillPaddingInline:"var(--graphy-legend-pill-padding-inline)",legendPillPaddingBlock:"var(--graphy-legend-pill-padding-block)",legendPillBorderWidth:"var(--graphy-legend-pill-border-width)",headlineRowGap:"var(--graphy-headline-row-gap)",headlineItemGap:"var(--graphy-headline-item-gap)",canvasDefault:"var(--graphy-canvas-default)",canvasBlue:"var(--graphy-canvas-blue)",canvasCyan:"var(--graphy-canvas-cyan)",canvasGreen:"var(--graphy-canvas-green)",canvasYellow:"var(--graphy-canvas-yellow)",canvasOrange:"var(--graphy-canvas-orange)",canvasRed:"var(--graphy-canvas-red)",canvasPink:"var(--graphy-canvas-pink)",canvasPurple:"var(--graphy-canvas-purple)",canvasGray:"var(--graphy-canvas-gray)",canvasInverse:"var(--graphy-canvas-inverse)",elevationXs:"var(--graphy-elevation-xs)",elevationSm:"var(--graphy-elevation-sm)",elevationMd:"var(--graphy-elevation-md)",elevationLg:"var(--graphy-elevation-lg)",radiiXs:"var(--graphy-radii-xs)",radiiSm:"var(--graphy-radii-sm)",radiiMd:"var(--graphy-radii-md)",radiiLg:"var(--graphy-radii-lg)",spaceXxs:"var(--graphy-space-xxs)",spaceXs:"var(--graphy-space-xs)",spaceSm:"var(--graphy-space-sm)",spaceMd:"var(--graphy-space-md)",spaceLg:"var(--graphy-space-lg)",spaceXl:"var(--graphy-space-xl)",zIndexToolbar:"var(--graphy-z-index-toolbar)",zIndexToolbarTooltip:"var(--graphy-z-index-toolbar-tooltip)",zIndexToolbarPopover:"var(--graphy-z-index-toolbar-popover)",zIndexEditorPopover:"var(--graphy-z-index-editor-popover)",toolbarBackgroundColor:"var(--graphy-toolbar-background-color)",toolbarButtonBackgroundColor:"var(--graphy-toolbar-button-background-color)",toolbarButtonBackgroundColorHovered:"var(--graphy-toolbar-button-background-color-hovered)",toolbarButtonBackgroundColorSelected:"var(--graphy-toolbar-button-background-color-selected)",toolbarSeparatorColor:"var(--graphy-toolbar-separator-color)",tooltipBackground:"var(--graphy-tooltip-background)",tooltipBorderColor:"var(--graphy-tooltip-border-color)",tooltipValueTextColor:"var(--graphy-tooltip-value-text-color)",hoverGuideLineColor:"var(--graphy-hover-guide-line-color)",hoverGuideFillColor:"var(--graphy-hover-guide-fill-color)",fontFamilyDefault:"var(--graphy-font-family-default)",fontFamilyHeading:"var(--graphy-font-family-heading)",fontWeightRegular:"var(--graphy-font-weight-regular)",fontWeightMedium:"var(--graphy-font-weight-medium)",fontWeightSemibold:"var(--graphy-font-weight-semibold)",fontWeightBold:"var(--graphy-font-weight-bold)",fontWeightExtraBold:"var(--graphy-font-weight-extra-bold)",fontWeightBlack:"var(--graphy-font-weight-black)",textScale:"var(--graphy-text-scale)",fontSizeXxs:"var(--graphy-font-size-xxs)",fontSizeXs:"var(--graphy-font-size-xs)",fontSizeSm:"var(--graphy-font-size-sm)",fontSizeMd:"var(--graphy-font-size-md)",fontSizeLg:"var(--graphy-font-size-lg)",fontSizeXl:"var(--graphy-font-size-xl)",fontLineHeightXxs:"var(--graphy-font-line-height-xxs)",fontLineHeightXs:"var(--graphy-font-line-height-xs)",fontLineHeightSm:"var(--graphy-font-line-height-sm)",fontLineHeightMd:"var(--graphy-font-line-height-md)",fontLineHeightLg:"var(--graphy-font-line-height-lg)",fontLineHeightXl:"var(--graphy-font-line-height-xl)",fontSizeEditorBody:"var(--graphy-font-size-editor-body)",fontSizeHeadingSm:"var(--graphy-font-size-heading-sm)",fontSizeHeadingMd:"var(--graphy-font-size-heading-md)",fontSizeHeadingLg:"var(--graphy-font-size-heading-lg)",fontLineHeightEditorBody:"var(--graphy-font-line-height-editor-body)",fontLineHeightHeadingSm:"var(--graphy-font-line-height-heading-sm)",fontLineHeightHeadingMd:"var(--graphy-font-line-height-heading-md)",fontLineHeightHeadingLg:"var(--graphy-font-line-height-heading-lg)",fontLegendLabel:"var(--graphy-font-legend-label)",fontSeriesLabel:"var(--graphy-font-series-label)",fontTooltipFooter:"var(--graphy-font-tooltip-footer)",fontJumboTooltipLabel:"var(--graphy-font-jumbo-tooltip-label)",fontJumboTooltip:"var(--graphy-font-jumbo-tooltip)",fontMiniTooltipLabel:"var(--graphy-font-mini-tooltip-label)",fontMiniTooltipFooter:"var(--graphy-font-mini-tooltip-footer)",fontTooltipCaption:"var(--graphy-font-tooltip-caption)",fontTooltipCaptionSmall:"var(--graphy-font-tooltip-caption-small)",fontTrendTag:"var(--graphy-font-trend-tag)",fontTrendTagSmall:"var(--graphy-font-trend-tag-small)",fontPieLabel:"var(--graphy-font-pie-label)",fontPieChartTotal:"var(--graphy-font-pie-chart-total)",fontDifferenceArrowSmall:"var(--graphy-font-difference-arrow-small)",fontDifferenceArrowMedium:"var(--graphy-font-difference-arrow-medium)",fontDifferenceArrowLarge:"var(--graphy-font-difference-arrow-large)",fontButton:"var(--graphy-font-button)",fontInput:"var(--graphy-font-input)",fontInputLabel:"var(--graphy-font-input-label)",fontSelectLabel:"var(--graphy-font-select-label)",fontSelectDescription:"var(--graphy-font-select-description)",fontColorSelectLabel:"var(--graphy-font-color-select-label)",fontMenuTitle:"var(--graphy-font-menu-title)",fontMenuGroupTitle:"var(--graphy-font-menu-group-title)",fontMenuItemLabel:"var(--graphy-font-menu-item-label)",fontMenuItemLabelSecondary:"var(--graphy-font-menu-item-label-secondary)",fontUITooltip:"var(--graphy-font-uitooltip)",fontUITooltipSecondary:"var(--graphy-font-uitooltip-secondary)",fontErrorBoundaryTitle:"var(--graphy-font-error-boundary-title)",fontErrorBoundaryMessage:"var(--graphy-font-error-boundary-message)",fontTableCell:"var(--graphy-font-table-cell)",fontTableHeaderCell:"var(--graphy-font-table-header-cell)",fontSourceLabel:"var(--graphy-font-source-label)",fontSourceLink:"var(--graphy-font-source-link)",fontTextEditorH1:"var(--graphy-font-text-editor-h1)",fontTextEditorH2:"var(--graphy-font-text-editor-h2)",fontTextEditorH3:"var(--graphy-font-text-editor-h3)",fontTextEditorH6:"var(--graphy-font-text-editor-h6)",fontTextEditorBody:"var(--graphy-font-text-editor-body)",fontTextEditorLink:"var(--graphy-font-text-editor-link)",fontHighlightModeTitle:"var(--graphy-font-highlight-mode-title)",fontHighlightModeSubtitle:"var(--graphy-font-highlight-mode-subtitle)",fontEditorControlLabel:"var(--graphy-font-editor-control-label)",fontEditorControlValue:"var(--graphy-font-editor-control-value)",fontEditorSectionTitle:"var(--graphy-font-editor-section-title)",fontEditorCaption:"var(--graphy-font-editor-caption)"},v=`var(--typography-chart-font-family, ${e.fontFamilyDefault})`,y=`'Inter', -apple-system, BlinkMacSystemFont, 'Open Sans', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu',
2
- 'Cantarell', 'Helvetica Neue', 'NotoSansArabic', 'NotoSansJP', 'NotoSansSC', 'NotoSansKR', 'NotoSerifKR', sans-serif, 'Apple Color Emoji', 'NotoColorEmoji'`,c=y,l={regular:d.NAMED_WEIGHTS.regular,medium:d.NAMED_WEIGHTS.medium,semibold:d.NAMED_WEIGHTS.semiBold,bold:d.NAMED_WEIGHTS.bold,extraBold:d.NAMED_WEIGHTS.extraBold,black:d.NAMED_WEIGHTS.black},r={xxs:1,xs:1.1,sm:1.2,md:1.4,lg:1.6,xl:2,editorBody:1.5,headingSm:1.8,headingMd:2.2,headingLg:2.8},n={xxs:1,xs:1,sm:1.3,md:1.43,lg:1,xl:1,editorBody:1.47,headingSm:1.25,headingMd:1.41,headingLg:1.29},f={fontLegendLabel:{weight:"fontWeightMedium",size:"fontSizeSm",lineHeight:"fontLineHeightSm"}},u=v,p=`var(--typography-chart-heading-font-family, ${e.fontFamilyHeading})`,S=i=>i in f,s=(i,o)=>{const g=f[i],h=t(o.weight?.toString()??e[g.weight],o.size===void 0?e[g.size]:`${o.size.value}${o.size.unit}`,o.lineHeight?.toString()??e[g.lineHeight],o.family??u);return o.style===void 0||o.style==="normal"?h:`${o.style} ${h}`},a=i=>`${i}em`,b={textScale:"1",fontFamilyDefault:y,fontFamilyHeading:c,fontWeightRegular:l.regular.toString(),fontWeightMedium:l.medium.toString(),fontWeightSemibold:l.semibold.toString(),fontWeightBold:l.bold.toString(),fontWeightExtraBold:l.extraBold.toString(),fontWeightBlack:l.black.toString(),fontSizeXxs:a(r.xxs),fontSizeXs:a(r.xs),fontSizeSm:a(r.sm),fontSizeMd:a(r.md),fontSizeLg:a(r.lg),fontSizeXl:a(r.xl),fontLineHeightXxs:n.xxs.toString(),fontLineHeightXs:n.xs.toString(),fontLineHeightSm:n.sm.toString(),fontLineHeightMd:n.md.toString(),fontLineHeightLg:n.lg.toString(),fontLineHeightXl:n.xl.toString()},L={fontSizeEditorBody:a(r.editorBody),fontSizeHeadingSm:a(r.headingSm),fontSizeHeadingMd:a(r.headingMd),fontSizeHeadingLg:a(r.headingLg),fontLineHeightEditorBody:n.editorBody.toString(),fontLineHeightHeadingSm:n.headingSm.toString(),fontLineHeightHeadingMd:n.headingMd.toString(),fontLineHeightHeadingLg:n.headingLg.toString()},t=(i,o,g,h=u)=>`${i} ${o}/${g} ${h}`,H=({weight:i,size:o,lineHeight:g})=>t(e[i],e[o],e[g]),M={fontLegendLabel:H(f.fontLegendLabel),fontSeriesLabel:t(e.fontWeightSemibold,e.fontSizeSm,e.fontLineHeightSm),fontTooltipFooter:t(e.fontWeightRegular,e.fontSizeSm,e.fontLineHeightSm),fontJumboTooltipLabel:t(e.fontWeightRegular,e.fontSizeSm,e.fontLineHeightSm),fontJumboTooltip:t(e.fontWeightMedium,e.fontSizeHeadingMd,e.fontLineHeightHeadingMd),fontMiniTooltipLabel:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontMiniTooltipFooter:t(e.fontWeightRegular,e.fontSizeSm,e.fontLineHeightSm),fontTooltipCaption:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontTooltipCaptionSmall:t(e.fontWeightMedium,e.fontSizeXxs,e.fontLineHeightXxs),fontUITooltip:t(e.fontWeightMedium,e.fontSizeMd,e.fontLineHeightMd),fontUITooltipSecondary:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontTrendTag:t(e.fontWeightMedium,e.fontSizeMd,e.fontLineHeightMd),fontTrendTagSmall:t(e.fontWeightMedium,e.fontSizeXs,e.fontLineHeightXs),fontPieLabel:t(e.fontWeightMedium,e.fontSizeXs,e.fontLineHeightXs),fontPieChartTotal:t(e.fontWeightBold,e.fontSizeHeadingLg,e.fontLineHeightHeadingLg),fontDifferenceArrowSmall:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontDifferenceArrowMedium:t(e.fontWeightMedium,e.fontSizeLg,e.fontLineHeightLg),fontDifferenceArrowLarge:t(e.fontWeightSemibold,e.fontSizeXl,e.fontLineHeightXl),fontButton:t(e.fontWeightMedium,e.fontSizeMd,e.fontLineHeightMd),fontInput:t(e.fontWeightMedium,e.fontSizeMd,e.fontLineHeightMd),fontInputLabel:t(e.fontWeightMedium,e.fontSizeXxs,e.fontLineHeightXxs),fontSelectLabel:t(e.fontWeightMedium,e.fontSizeMd,e.fontLineHeightMd),fontSelectDescription:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontColorSelectLabel:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontMenuTitle:t(e.fontWeightSemibold,e.fontSizeMd,e.fontLineHeightMd),fontMenuGroupTitle:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontMenuItemLabel:t(e.fontWeightMedium,e.fontSizeMd,e.fontLineHeightMd),fontMenuItemLabelSecondary:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontErrorBoundaryTitle:t(e.fontWeightSemibold,e.fontSizeHeadingSm,e.fontLineHeightHeadingSm),fontErrorBoundaryMessage:t(e.fontWeightMedium,e.fontSizeMd,e.fontLineHeightMd),fontTableCell:t(e.fontWeightMedium,e.fontSizeMd,e.fontLineHeightMd),fontTableHeaderCell:t(e.fontWeightSemibold,e.fontSizeSm,e.fontLineHeightSm),fontSourceLabel:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontSourceLink:t(e.fontWeightRegular,e.fontSizeSm,e.fontLineHeightSm),fontTextEditorH1:t(e.fontWeightBold,e.fontSizeHeadingLg,e.fontLineHeightHeadingLg,p),fontTextEditorH2:t(e.fontWeightBold,e.fontSizeHeadingMd,e.fontLineHeightHeadingMd,p),fontTextEditorH3:t(e.fontWeightSemibold,e.fontSizeHeadingSm,e.fontLineHeightHeadingSm,p),fontTextEditorH6:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontTextEditorBody:t(e.fontWeightMedium,e.fontSizeEditorBody,e.fontLineHeightEditorBody),fontTextEditorLink:t(e.fontWeightRegular,e.fontSizeMd,e.fontLineHeightMd),fontHighlightModeTitle:t(e.fontWeightBold,e.fontSizeMd,e.fontLineHeightMd),fontHighlightModeSubtitle:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontEditorControlLabel:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontEditorControlValue:t(e.fontWeightMedium,e.fontSizeSm,e.fontLineHeightSm),fontEditorSectionTitle:t(e.fontWeightSemibold,e.fontSizeSm,e.fontLineHeightSm),fontEditorCaption:t(e.fontWeightMedium,e.fontSizeXxs,e.fontLineHeightXxs)},T=process.env.NODE_ENV!=="production";Object.defineProperty(exports,"CANVAS_COLOR_KEYS",{enumerable:!0,get:function(){return m}});Object.defineProperty(exports,"CHART_FONT_FAMILY",{enumerable:!0,get:function(){return v}});Object.defineProperty(exports,"DEFAULT_FONT_FAMILY",{enumerable:!0,get:function(){return y}});Object.defineProperty(exports,"FONT_LINE_HEIGHT",{enumerable:!0,get:function(){return n}});Object.defineProperty(exports,"FONT_SIZE_EM",{enumerable:!0,get:function(){return r}});Object.defineProperty(exports,"FONT_WEIGHT",{enumerable:!0,get:function(){return l}});Object.defineProperty(exports,"IS_DEV",{enumerable:!0,get:function(){return T}});Object.defineProperty(exports,"MEASURED_ELEMENT_FONT_DEFINITIONS",{enumerable:!0,get:function(){return f}});Object.defineProperty(exports,"baseTypographyTokens",{enumerable:!0,get:function(){return b}});Object.defineProperty(exports,"buildFontShorthand",{enumerable:!0,get:function(){return s}});Object.defineProperty(exports,"elementTypographyTokens",{enumerable:!0,get:function(){return M}});Object.defineProperty(exports,"isMeasuredFontTokenKey",{enumerable:!0,get:function(){return S}});Object.defineProperty(exports,"semanticTypographyTokens",{enumerable:!0,get:function(){return L}});Object.defineProperty(exports,"vars",{enumerable:!0,get:function(){return e}});