@mechane-ai/elements 0.52.0 → 0.53.0

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.
Files changed (48) hide show
  1. package/dist/ai.js +169 -169
  2. package/dist/{article-BDVuehRt.js → article-qU2scA0w.js} +1 -1
  3. package/dist/article.js +1 -1
  4. package/dist/catalog.json +1 -1
  5. package/dist/{categorical-values-BoS03HcI.js → categorical-values-DHl0r9od.js} +1 -1
  6. package/dist/charts/cartesian.js +1 -1
  7. package/dist/charts/comparison.js +1 -1
  8. package/dist/charts/distribution.js +1 -1
  9. package/dist/charts/figure.js +12 -12
  10. package/dist/charts/graph.js +1 -1
  11. package/dist/charts/hierarchy.js +1 -1
  12. package/dist/charts/image.js +1 -1
  13. package/dist/charts/matrix.js +1 -1
  14. package/dist/charts/plot.js +3 -3
  15. package/dist/charts/relationship.js +1 -1
  16. package/dist/charts/text.js +1 -1
  17. package/dist/charts/timeline.js +1 -1
  18. package/dist/charts/trend.js +1 -1
  19. package/dist/charts.js +2 -2
  20. package/dist/content/markdown.js +1 -278
  21. package/dist/{dumbbell-plot-Xxl6P7D1.js → dumbbell-plot-CKNqa-L2.js} +3 -3
  22. package/dist/{embedding-map-tU8hT_aC.js → embedding-map-DyCE2isi.js} +3 -3
  23. package/dist/{figure-frame-BKc9TvtX.js → figure-frame-DVZlUsa7.js} +1 -1
  24. package/dist/{image-grid-BZy2lkNb.js → image-grid-FByan2gk.js} +2 -2
  25. package/dist/kits/evaluation.js +3 -3
  26. package/dist/kits/interpretability.js +6 -6
  27. package/dist/kits/operations.js +3 -3
  28. package/dist/kits/research.js +2 -2
  29. package/dist/kits/training.js +2 -2
  30. package/dist/markdown-VpLw_P9T.js +313 -0
  31. package/dist/mdx.js +2 -2
  32. package/dist/packages/charts/src/trend/line-locate.d.ts +5 -3
  33. package/dist/packages/content/src/markdown/markdown.d.ts +8 -1
  34. package/dist/{plot-layout-D8j-ozGR.js → plot-layout-DjXbV9Lf.js} +4 -1
  35. package/dist/{plot-surface-5e3xeiub.js → plot-surface-BJuVNKMs.js} +1 -1
  36. package/dist/{reference-lines-1FttCg46.js → reference-lines-DLCFC7OO.js} +1 -1
  37. package/dist/{scene-8F-fQksU.js → scene-C4Q0pFav.js} +4 -4
  38. package/dist/scene.js +1 -1
  39. package/dist/{slope-chart-B35ZfaYn.js → slope-chart-DgpKO_1Y.js} +289 -288
  40. package/dist/{time-series-DoFMGmFV.js → time-series-BrM0g-aY.js} +5 -5
  41. package/dist/{token-heatmap-DLPQWwMv.js → token-heatmap-DKIPkRXQ.js} +2 -2
  42. package/dist/{token-predictions-D_Jwf8Aw.js → token-predictions-CKcNk4ks.js} +3 -3
  43. package/dist/{tree-diagram-DreDBCvt.js → tree-diagram-ZLk2jDUv.js} +3 -3
  44. package/dist/{treemap-MVX-wa4t.js → treemap-D6uNK6Tw.js} +4 -4
  45. package/dist/{violin-plot-Bi71NqXF.js → violin-plot-DeHiuWU_.js} +3 -3
  46. package/dist/{waterfall-8y8ANO3c.js → waterfall-CihTq6le.js} +3 -3
  47. package/package.json +1 -1
  48. package/dist/visible-motion-1GcUaEi4.js +0 -23
@@ -0,0 +1,313 @@
1
+ import { t as e } from "./use-scroll-tab-index-Dxpdh4W7.js";
2
+ import { t } from "./code-block-BZsY2sh3.js";
3
+ import { n, t as r } from "./content-link-PnpcnTCx.js";
4
+ import { t as i } from "./viewer-styles-DsFYri4K.js";
5
+ import * as a from "@stylexjs/stylex";
6
+ import { Children as o, createContext as s, createElement as c, memo as l, useContext as u, useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
7
+ import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
8
+ import { Block as v, Streamdown as y, defaultRehypePlugins as b, defaultRemarkPlugins as x, useIsCodeFenceIncomplete as S } from "streamdown";
9
+ // packages/foundations/src/visible-motion.ts
10
+ function C(e) {
11
+ let t = p(null), [n, r] = m(!1);
12
+ return d(() => {
13
+ let n = t.current;
14
+ if (!e || n === null) return;
15
+ let i = matchMedia("(prefers-reduced-motion: reduce)"), a = !1;
16
+ function o() {
17
+ r(a && !document.hidden && !i.matches);
18
+ }
19
+ let s = new IntersectionObserver((e) => {
20
+ a = e.some((e) => e.isIntersecting), o();
21
+ });
22
+ return s.observe(n), i.addEventListener("change", o), document.addEventListener("visibilitychange", o), () => {
23
+ s.disconnect(), i.removeEventListener("change", o), document.removeEventListener("visibilitychange", o);
24
+ };
25
+ }, [e]), {
26
+ ref: t,
27
+ isActive: e && n
28
+ };
29
+ }
30
+ // packages/content/src/markdown/markdown-options.ts
31
+ var w = /* @__PURE__ */ new Set(["href", "src"]), T = {
32
+ rehypePlugins: Object.entries(b).filter(([e]) => e === "sanitize").map(([, e]) => e),
33
+ remarkPlugins: Object.values(x),
34
+ skipHtml: !0,
35
+ urlTransform: (e, t) => {
36
+ if (w.has(t)) return n(e);
37
+ }
38
+ }, E = {
39
+ root: {
40
+ k7Eaqz: "xeuugli",
41
+ kMwMTN: "xbixft",
42
+ kMv6JI: "x1hz01jw",
43
+ khiITx: "xvmahel",
44
+ kGuDYH: "xtqrqnz",
45
+ kLWn49: "x1ytb0s6",
46
+ k63SB2: "xj57cvi",
47
+ kHjlTd: "xj0a0fe",
48
+ $$css: !0
49
+ },
50
+ block: {
51
+ keoZOQ: "xyrmp21 x14l7nz5",
52
+ k1K539: "x1jfksii xzboxd6",
53
+ $$css: !0
54
+ },
55
+ heading: {
56
+ keoZOQ: "x1m1vpj6 x14l7nz5",
57
+ k1K539: "x1jfksii xzboxd6",
58
+ k63SB2: "x1b5ytql",
59
+ $$css: !0
60
+ },
61
+ title: {
62
+ kGuDYH: "x1i2cqwi",
63
+ kLWn49: "x4fansv",
64
+ $$css: !0
65
+ },
66
+ section: {
67
+ kGuDYH: "x12myhf4",
68
+ kLWn49: "x1778rvt",
69
+ $$css: !0
70
+ },
71
+ minor: {
72
+ kGuDYH: "xtqrqnz",
73
+ kLWn49: "x1778rvt",
74
+ $$css: !0
75
+ },
76
+ tableRegion: {
77
+ k7Eaqz: "xeuugli",
78
+ ks0D6T: "x193iq5w",
79
+ kXHlph: "xw2csxc",
80
+ kMzoRj: "xmkeg23",
81
+ kt9PQ7: "x1qhh985",
82
+ ksu8eU: "x1y0btm7",
83
+ kVAM5u: "x1ey3b81",
84
+ $$css: !0
85
+ },
86
+ strong: {
87
+ k63SB2: "x1b5ytql",
88
+ $$css: !0
89
+ },
90
+ muted: {
91
+ kMwMTN: "x153jb6y",
92
+ $$css: !0
93
+ }
94
+ }, D = {
95
+ default: null,
96
+ muted: E.muted
97
+ }, O = {
98
+ regular: null,
99
+ strong: E.strong
100
+ }, k = s(1), A = {
101
+ animation: "fadeIn",
102
+ duration: 160,
103
+ stagger: 14,
104
+ maxBacklogMs: 100
105
+ }, j = /* @__PURE__ */ new Set(["string", "number"]);
106
+ function M(e) {
107
+ return j.has(typeof e);
108
+ }
109
+ function N({ children: e, className: n }) {
110
+ let r = S(), i = typeof n == "string" ? /(?:^|\s)language-([^\s]+)/u.exec(n) : null, a = i === null ? void 0 : i[1], s = o.toArray(e);
111
+ return s.every(M) ? /* @__PURE__ */ g("div", {
112
+ className: "xyrmp21 x14l7nz5 x1jfksii xzboxd6",
113
+ children: /* @__PURE__ */ g(t, {
114
+ code: s.join(""),
115
+ language: a,
116
+ isStreaming: r
117
+ })
118
+ }) : /* @__PURE__ */ g("code", {
119
+ className: "xiard35 xy8obcc x1r7kqkb x1ok0vyi x10dazmo x14w6jbu x17etxam",
120
+ children: e
121
+ });
122
+ }
123
+ function P({ level: e, children: t, id: n }) {
124
+ let r = u(k), i = `h${Math.min(e + r - 1, 6)}`, o = e === 1 ? E.title : e === 2 ? E.section : E.minor;
125
+ return c(i, {
126
+ id: n,
127
+ ...a.props(E.heading, o)
128
+ }, t);
129
+ }
130
+ function F({ children: t }) {
131
+ let n = e();
132
+ return /* @__PURE__ */ g("div", {
133
+ ref: n.ref,
134
+ role: "region",
135
+ "aria-label": "Markdown table",
136
+ tabIndex: n.tabIndex,
137
+ ...a.props(i.scrollRegion, E.block, E.tableRegion),
138
+ children: /* @__PURE__ */ g("table", {
139
+ className: "xh8yej3 x1mwwwfo xss6m8b x1yc453h x1h4wwuj x1778rvt",
140
+ children: t
141
+ })
142
+ });
143
+ }
144
+ var I = s(void 0);
145
+ function L(e) {
146
+ let t = u(I);
147
+ return t === void 0 ? /* @__PURE__ */ g(r, {
148
+ href: e.href,
149
+ title: e.title,
150
+ children: e.children
151
+ }) : t(e);
152
+ }
153
+ var R = {
154
+ h1: (e) => /* @__PURE__ */ g(P, {
155
+ ...e,
156
+ level: 1
157
+ }),
158
+ h2: (e) => /* @__PURE__ */ g(P, {
159
+ ...e,
160
+ level: 2
161
+ }),
162
+ h3: (e) => /* @__PURE__ */ g(P, {
163
+ ...e,
164
+ level: 3
165
+ }),
166
+ h4: (e) => /* @__PURE__ */ g(P, {
167
+ ...e,
168
+ level: 4
169
+ }),
170
+ h5: (e) => /* @__PURE__ */ g(P, {
171
+ ...e,
172
+ level: 5
173
+ }),
174
+ h6: (e) => /* @__PURE__ */ g(P, {
175
+ ...e,
176
+ level: 6
177
+ }),
178
+ p: ({ children: e }) => /* @__PURE__ */ g("p", {
179
+ className: "xyrmp21 x14l7nz5 x1jfksii xzboxd6",
180
+ children: e
181
+ }),
182
+ ul: ({ children: e }) => /* @__PURE__ */ g("ul", {
183
+ className: "xyrmp21 x14l7nz5 x1jfksii xzboxd6 x1sbza1b",
184
+ children: e
185
+ }),
186
+ ol: ({ children: e, start: t }) => /* @__PURE__ */ g("ol", {
187
+ start: t,
188
+ className: "xyrmp21 x14l7nz5 x1jfksii xzboxd6 x1sbza1b",
189
+ children: e
190
+ }),
191
+ li: ({ children: e }) => /* @__PURE__ */ g("li", {
192
+ className: "x1vblts3 xnkn1qj",
193
+ children: e
194
+ }),
195
+ blockquote: ({ children: e }) => /* @__PURE__ */ g("blockquote", {
196
+ className: "xyrmp21 x14l7nz5 x1jfksii xzboxd6 xrxpjvj x1umj4g3 xyumdvf x1t7ytsu x97x49r x153jb6y",
197
+ children: e
198
+ }),
199
+ code: ({ children: e, className: t }) => /* @__PURE__ */ g(N, {
200
+ className: t,
201
+ children: e
202
+ }),
203
+ inlineCode: ({ children: e }) => /* @__PURE__ */ g("code", {
204
+ className: "xiard35 xy8obcc x1r7kqkb x1ok0vyi x10dazmo x14w6jbu x17etxam",
205
+ children: e
206
+ }),
207
+ a: ({ href: e, children: t, title: n }) => /* @__PURE__ */ g(L, {
208
+ kind: "link",
209
+ href: e,
210
+ title: n,
211
+ children: t
212
+ }),
213
+ img: ({ src: e, alt: t, title: n }) => /* @__PURE__ */ g(L, {
214
+ kind: "image",
215
+ href: typeof e == "string" ? e : void 0,
216
+ title: n,
217
+ children: t !== void 0 && t.length > 0 ? `Open image: ${t}` : "Open image"
218
+ }),
219
+ table: ({ children: e }) => /* @__PURE__ */ g(F, { children: e }),
220
+ thead: ({ children: e }) => /* @__PURE__ */ g("thead", { children: e }),
221
+ tbody: ({ children: e }) => /* @__PURE__ */ g("tbody", { children: e }),
222
+ tr: ({ children: e }) => /* @__PURE__ */ g("tr", { children: e }),
223
+ th: ({ children: e }) => /* @__PURE__ */ g("th", {
224
+ scope: "col",
225
+ className: "xn9t2bk x1doqdfy xso031l x1q0q8m5 x1qndepd x16dsc37 x1yc453h x153jb6y xk4h15q x1r7kqkb",
226
+ children: e
227
+ }),
228
+ td: ({ children: e }) => /* @__PURE__ */ g("td", {
229
+ className: "xn9t2bk x1doqdfy xso031l x1q0q8m5 x1qndepd x16dsc37 x1yc453h",
230
+ children: e
231
+ }),
232
+ input: ({ checked: e }) => /* @__PURE__ */ g("input", {
233
+ type: "checkbox",
234
+ checked: e ?? !1,
235
+ disabled: !0,
236
+ "aria-label": "Task item",
237
+ className: "x1bzlxqo x6e7ywc"
238
+ }),
239
+ hr: () => /* @__PURE__ */ g("hr", { className: "xhff0hu xc342km x178xt8z x13fuv20 xhjagg4" }),
240
+ strong: ({ children: e }) => /* @__PURE__ */ g("strong", {
241
+ className: "x1b5ytql",
242
+ children: e
243
+ }),
244
+ em: ({ children: e }) => /* @__PURE__ */ g("em", {
245
+ className: "x1k4tb9n",
246
+ children: e
247
+ }),
248
+ del: ({ children: e }) => /* @__PURE__ */ g("del", {
249
+ className: "x5lhwog",
250
+ children: e
251
+ })
252
+ }, z = /* @__PURE__ */ "p.span.h1.h2.h3.h4.h5.h6.ul.ol.li.blockquote.pre.code.a.img.table.thead.tbody.tr.th.td.input.hr.strong.em.del.br.sup.sub.section".split("."), B = l(({ children: e, isStreaming: t = !1, label: n, headingLevel: r = 1, tone: i = "default", weight: o = "regular", renderLink: s, remarkPlugins: c }) => {
253
+ let { ref: l, isActive: u } = C(t), d = f(() => [...T.remarkPlugins ?? [], ...c ?? []], [c]);
254
+ return /* @__PURE__ */ g(I, {
255
+ value: s,
256
+ children: /* @__PURE__ */ g(k, {
257
+ value: r,
258
+ children: /* @__PURE__ */ g("div", {
259
+ ref: l,
260
+ "data-streamdown-paused": t && !u ? "" : void 0,
261
+ children: /* @__PURE__ */ g(y, {
262
+ ...T,
263
+ remarkPlugins: d,
264
+ ...a.props(E.root, D[i], O[o]),
265
+ "aria-label": n,
266
+ components: R,
267
+ mode: t ? "streaming" : "static",
268
+ isAnimating: t,
269
+ animated: t ? A : !1,
270
+ controls: !1,
271
+ linkSafety: { enabled: !1 },
272
+ allowedElements: z,
273
+ children: e
274
+ })
275
+ })
276
+ })
277
+ });
278
+ });
279
+ // packages/content/src/markdown/markdown-preview.tsx
280
+ function V({ children: e }) {
281
+ return /* @__PURE__ */ _(h, { children: [e, " "] });
282
+ }
283
+ var H = {
284
+ p: V,
285
+ li: V,
286
+ h1: V,
287
+ h2: V,
288
+ h3: V,
289
+ h4: V,
290
+ h5: V,
291
+ h6: V,
292
+ blockquote: V,
293
+ pre: V,
294
+ code: ({ children: e }) => /* @__PURE__ */ g(h, { children: e }),
295
+ th: V,
296
+ td: V,
297
+ br: () => /* @__PURE__ */ g(h, { children: " " }),
298
+ img: ({ alt: e }) => /* @__PURE__ */ g(h, { children: e })
299
+ };
300
+ function U({ children: e }) {
301
+ return /* @__PURE__ */ g(v, {
302
+ ...T,
303
+ content: e,
304
+ components: H,
305
+ allowedElements: Object.keys(H),
306
+ unwrapDisallowed: !0,
307
+ shouldParseIncompleteMarkdown: !1,
308
+ shouldNormalizeHtmlIndentation: !1,
309
+ isIncomplete: !1,
310
+ index: 0
311
+ });
312
+ }
313
+ export { B as n, C as r, U as t };
package/dist/mdx.js CHANGED
@@ -1,7 +1,7 @@
1
- import { _ as e, b as t, d as n, f as r, g as i, i as ee, l as a, m as o, n as s, p as te, r as c, t as ne, u as re, v as ie, x as ae, y as oe } from "./article-BDVuehRt.js";
1
+ import { _ as e, b as t, d as n, f as r, g as i, i as ee, l as a, m as o, n as s, p as te, r as c, t as ne, u as re, v as ie, x as ae, y as oe } from "./article-qU2scA0w.js";
2
2
  import { n as se, t as ce } from "./param-BdqTpZER.js";
3
3
  import { a as l, i as u, n as d, o as f, t as p } from "./transport-4V9rfYHN.js";
4
- import { C as m, F as h, G as g, H as _, I as v, J as y, L as b, M as x, N as S, P as C, U as w, W as T, X as E, Y as D, b as O, g as k, i as A, l as j, q as M, r as N, t as P, tt as F, u as I, x as L } from "./scene-8F-fQksU.js";
4
+ import { C as m, F as h, G as g, H as _, I as v, J as y, L as b, M as x, N as S, P as C, U as w, W as T, X as E, Y as D, b as O, g as k, i as A, l as j, q as M, r as N, t as P, tt as F, u as I, x as L } from "./scene-C4Q0pFav.js";
5
5
  import { t as R } from "./code-block-BZsY2sh3.js";
6
6
  import { t as z } from "./content-link-PnpcnTCx.js";
7
7
  import * as B from "@stylexjs/stylex";
@@ -10,12 +10,14 @@ export type LocatedLine = {
10
10
  readonly points: ReadonlyArray<LocatedPoint>;
11
11
  };
12
12
  /**
13
- * A chart `locate` for lines: the pointer inspects the line whose drawn path is nearest, between its vertices as well
14
- * as at them. A line is never a target where it has no value.
13
+ * A chart `locate` for lines: the pointer inspects the nearest drawn path within `maxDistance` pixels. Open whitespace
14
+ * returns undefined, so hovering only fires on a line.
15
15
  */
16
- export declare function locateNearestLine({ lines, width, height, }: {
16
+ export declare function locateNearestLine({ lines, width, height, maxDistance, }: {
17
17
  readonly lines: ReadonlyArray<LocatedLine>;
18
18
  /** The size the lines were laid out in. The pointer arrives in rendered pixels and is rescaled to it. */
19
19
  readonly width: number;
20
20
  readonly height: number;
21
+ /** Farthest a pointer may sit from a line and still inspect it, in plot pixels. */
22
+ readonly maxDistance?: number | undefined;
21
23
  }): (point: ChartPoint) => string | undefined;
@@ -1,6 +1,13 @@
1
1
  import type { ReactNode } from 'react';
2
+ import type { StreamdownProps } from 'streamdown';
3
+ import type { ContentLinkProps } from '../content-link.tsx';
2
4
  type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
5
+ type MarkdownLinkProps = ContentLinkProps & {
6
+ readonly kind: 'link' | 'image';
7
+ };
3
8
  export type MarkdownProps = {
9
+ readonly renderLink?: (props: MarkdownLinkProps) => ReactNode;
10
+ readonly remarkPlugins?: StreamdownProps['remarkPlugins'];
4
11
  readonly children: string;
5
12
  readonly isStreaming?: boolean;
6
13
  readonly label?: string;
@@ -8,5 +15,5 @@ export type MarkdownProps = {
8
15
  readonly tone?: 'default' | 'muted';
9
16
  readonly weight?: 'regular' | 'strong';
10
17
  };
11
- export declare const Markdown: import("react").MemoExoticComponent<({ children, isStreaming, label, headingLevel, tone, weight, }: MarkdownProps) => ReactNode>;
18
+ export declare const Markdown: import("react").MemoExoticComponent<({ children, isStreaming, label, headingLevel, tone, weight, renderLink, remarkPlugins, }: MarkdownProps) => ReactNode>;
12
19
  export {};
@@ -174,7 +174,10 @@ var j = b({
174
174
  width: a.width,
175
175
  height: a.height
176
176
  });
177
- s !== void 0 && (o(s, {
177
+ s === void 0 ? i === "item-hover" && r && (o(null, {
178
+ reason: i,
179
+ event: t
180
+ }), r = !1) : (o(s, {
178
181
  reason: i,
179
182
  event: t
180
183
  }), r = t.pointerType === "mouse");
@@ -1,5 +1,5 @@
1
1
  import { n as e, t } from "./plot-width-D3hTycYX.js";
2
- import { O as n, c as r } from "./plot-layout-D8j-ozGR.js";
2
+ import { O as n, c as r } from "./plot-layout-DjXbV9Lf.js";
3
3
  import * as i from "@stylexjs/stylex";
4
4
  import { useId as a } from "react";
5
5
  import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { M as e } from "./plot-layout-D8j-ozGR.js";
1
+ import { M as e } from "./plot-layout-DjXbV9Lf.js";
2
2
  import { t } from "./label-spacing-BncjePGb.js";
3
3
  import { n, t as r } from "./label-place-Z0fryBZb.js";
4
4
  import { c as i, f as a } from "./plot-marks-FVsbFkUs.js";
@@ -1,7 +1,7 @@
1
1
  import { i as e } from "./chart-link-AE_xuxiP.js";
2
- import { A as t, D as n, E as r, O as i, S as a, c as o, j as s, l as c, s as l, t as u, u as d } from "./plot-layout-D8j-ozGR.js";
3
- import { i as f, l as p, n as m, r as h, t as g } from "./figure-frame-BKc9TvtX.js";
4
- import { r as _, t as v } from "./plot-surface-5e3xeiub.js";
2
+ import { A as t, D as n, E as r, O as i, S as a, c as o, j as s, l as c, s as l, t as u, u as d } from "./plot-layout-DjXbV9Lf.js";
3
+ import { i as f, l as p, n as m, r as h, t as g } from "./figure-frame-DVZlUsa7.js";
4
+ import { r as _, t as v } from "./plot-surface-BJuVNKMs.js";
5
5
  import { a as y, i as b, r as x } from "./tone-scope-DKiSw-JR.js";
6
6
  import { _ as S, a as C, g as w, o as T, t as E, u as D } from "./param-BdqTpZER.js";
7
7
  import { n as O, t as k } from "./clock-DSm5lkNE.js";
@@ -16,7 +16,7 @@ import { a as z, c as ee, f as te, n as B, t as V, u as ne } from "./plot-marks-
16
16
  import { i as re, r as ie, t as ae } from "./path-BglsXpnO.js";
17
17
  import { t as oe } from "./plot-axes-D5S9BnBa.js";
18
18
  import { t as se } from "./heatmap-scale-Zte6Ya-g.js";
19
- import { d as ce, f as le } from "./token-predictions-D_Jwf8Aw.js";
19
+ import { d as ce, f as le } from "./token-predictions-CKcNk4ks.js";
20
20
  import * as H from "@stylexjs/stylex";
21
21
  import { Children as ue, createContext as de, memo as fe, use as pe, useEffect as me, useId as he, useLayoutEffect as U, useMemo as ge, useRef as _e, useState as W, useSyncExternalStore as ve } from "react";
22
22
  import { bindDrag as ye, dragThreshold as be } from "@ui-sdk/core";
package/dist/scene.js CHANGED
@@ -1 +1 @@
1
- export { r as LessonFlow, t as MorphScope, tt as Scene, H as SceneAxes, q as SceneBracket, G as SceneCallout, C as SceneCard, g as SceneCells, L as SceneCurve, U as SceneCustom, i as SceneFlow, J as SceneGroup, W as SceneHighlight, $ as SceneLayer, X as SceneNode, et as SceneOutside, I as ScenePoint, F as SceneProjection, P as SceneRegion, N as SceneRule, b as SceneSlot, x as SceneStack, u as SceneToken, l as SceneTokens, M as SceneVector, Y as SceneWire, w as cardRanks, T as cardSuits, v as cellGap, R as curveResolutions, nt as edgePoint, mt as fillLabel, a as flowNodeSize, s as flowPlan, c as flowPositions, n as morphLabels, rt as nodeBox, it as padRect, V as planeLabels, z as planeLimits, B as planeThicknesses, at as rectCenter, ot as rectsOverlap, E as sceneCardLabels, O as sceneCardSizes, y as sceneCellSizes, _ as sceneCellsLabels, st as sceneCircleSizes, Z as sceneContextColor, o as sceneFlowLabels, ht as sceneLabels, gt as sceneLimits, ct as sceneNodeSizes, Q as sceneOutlines, S as sceneStackLabels, _t as sceneStaggers, vt as sceneStore, d as sceneTokenLabels, lt as sidePoint, k as stackBounds, A as stackGaps, j as stackPlace, D as suitTones, p as tokenBox, m as tokenFlow, h as tokenGaps, f as tokenPercent, ut as unionRect, K as useObstacle, dt as useSceneContext, ft as useSceneFrames, pt as useSceneObject } from "./scene-8F-fQksU.js";
1
+ export { r as LessonFlow, t as MorphScope, tt as Scene, H as SceneAxes, q as SceneBracket, G as SceneCallout, C as SceneCard, g as SceneCells, L as SceneCurve, U as SceneCustom, i as SceneFlow, J as SceneGroup, W as SceneHighlight, $ as SceneLayer, X as SceneNode, et as SceneOutside, I as ScenePoint, F as SceneProjection, P as SceneRegion, N as SceneRule, b as SceneSlot, x as SceneStack, u as SceneToken, l as SceneTokens, M as SceneVector, Y as SceneWire, w as cardRanks, T as cardSuits, v as cellGap, R as curveResolutions, nt as edgePoint, mt as fillLabel, a as flowNodeSize, s as flowPlan, c as flowPositions, n as morphLabels, rt as nodeBox, it as padRect, V as planeLabels, z as planeLimits, B as planeThicknesses, at as rectCenter, ot as rectsOverlap, E as sceneCardLabels, O as sceneCardSizes, y as sceneCellSizes, _ as sceneCellsLabels, st as sceneCircleSizes, Z as sceneContextColor, o as sceneFlowLabels, ht as sceneLabels, gt as sceneLimits, ct as sceneNodeSizes, Q as sceneOutlines, S as sceneStackLabels, _t as sceneStaggers, vt as sceneStore, d as sceneTokenLabels, lt as sidePoint, k as stackBounds, A as stackGaps, j as stackPlace, D as suitTones, p as tokenBox, m as tokenFlow, h as tokenGaps, f as tokenPercent, ut as unionRect, K as useObstacle, dt as useSceneContext, ft as useSceneFrames, pt as useSceneObject } from "./scene-C4Q0pFav.js";