@mechane-ai/elements 0.67.0 → 0.69.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.
- package/dist/ai.js +226 -225
- package/dist/{article-anMy8fA5.js → article-CTSxWe4y.js} +104 -89
- package/dist/article.js +1 -1
- package/dist/catalog.json +131 -1
- package/dist/{categorical-values-Bh7ZkEQn.js → categorical-values-DwomVcSd.js} +1 -1
- package/dist/{cells-X8SVrZBc.js → cells-BRI8LpMU.js} +1 -1
- package/dist/charts/cartesian.js +1 -1
- package/dist/charts/cells.js +1 -1
- package/dist/charts/comparison.js +1 -1
- package/dist/charts/distribution.js +1 -1
- package/dist/charts/figure.js +12 -12
- package/dist/charts/graph.js +1 -1
- package/dist/charts/hierarchy.js +1 -1
- package/dist/charts/image.js +1 -1
- package/dist/charts/matrix.js +2 -2
- package/dist/charts/plot.js +16 -15
- package/dist/charts/relationship.js +1 -1
- package/dist/charts/text.js +1 -1
- package/dist/charts/timeline.js +2 -2
- package/dist/charts/trend.js +1 -1
- package/dist/charts.js +3 -3
- package/dist/{color-legend-CIo7DhXB.js → color-legend-4As8881l.js} +1 -1
- package/dist/content/markdown.js +1 -1
- package/dist/content.js +1 -1
- package/dist/{dumbbell-plot-BQDGe0sQ.js → dumbbell-plot-S4RyfxmW.js} +5 -5
- package/dist/{embedding-map-DmmknG7A.js → embedding-map-Bm7aTA6z.js} +5 -5
- package/dist/figure-format-BVb7yFCA.js +46 -0
- package/dist/{figure-frame-DlyNTDzh.js → figure-frame-BHCNceS4.js} +1 -1
- package/dist/{image-grid-CxEAQvTf.js → image-grid-TTrLxvaI.js} +3 -3
- package/dist/kits/evaluation.js +5 -5
- package/dist/kits/interpretability.js +8 -8
- package/dist/kits/operations.js +4 -4
- package/dist/kits/research.js +1087 -230
- package/dist/kits/training.js +4 -4
- package/dist/lesson.js +3 -3
- package/dist/locate-Dcq5ZZSk.js +14 -0
- package/dist/markdown-JeuBeMDZ.js +293 -0
- package/dist/mdx.js +4 -4
- package/dist/packages/charts/src/plot/index.d.ts +3 -0
- package/dist/packages/charts/src/plot/locate.d.ts +3 -1
- package/dist/packages/charts/src/plot/plot-layout.d.ts +2 -2
- package/dist/packages/charts/src/plot/spatial-layer.d.ts +36 -0
- package/dist/packages/charts/src/plot/step-history.d.ts +13 -0
- package/dist/packages/charts/src/plot/ticks.d.ts +2 -2
- package/dist/packages/content/src/timeline-scrubber.d.ts +3 -1
- package/dist/packages/foundations/src/visible-motion.d.ts +1 -1
- package/dist/packages/kits/src/research/index.d.ts +14 -0
- package/dist/packages/kits/src/research/motion-clip.d.ts +3 -0
- package/dist/packages/kits/src/research/motion-error.d.ts +8 -0
- package/dist/packages/kits/src/research/motion-figure.d.ts +12 -0
- package/dist/packages/kits/src/research/motion-frame.d.ts +22 -0
- package/dist/packages/kits/src/research/motion-inspection.d.ts +14 -0
- package/dist/packages/kits/src/research/motion-location.d.ts +9 -0
- package/dist/packages/kits/src/research/motion-scene.d.ts +29 -0
- package/dist/packages/kits/src/research/motion-types.d.ts +54 -0
- package/dist/packages/kits/src/research/motion-view.d.ts +9 -0
- package/dist/packages/kits/src/research/native-motion-figure.d.ts +17 -0
- package/dist/packages/kits/src/research/native-motion.d.ts +18 -0
- package/dist/packages/teaching/src/article/uncover.d.ts +2 -0
- package/dist/{param-CKr8EYxF.js → param-Dk92C-K1.js} +1 -1
- package/dist/plot-BIYlgY2B.js +223 -0
- package/dist/{plot-layout-CVzSbcU7.js → plot-layout-CNNFMC8H.js} +152 -102
- package/dist/{plot-surface-CBhI1alw.js → plot-surface-BSjoNIva.js} +1 -1
- package/dist/{reference-lines-C970JwWZ.js → reference-lines-Bet_hRyA.js} +1 -1
- package/dist/{scene-C3dCxckI.js → scene-C88Xkz4l.js} +7 -7
- package/dist/scene.js +1 -1
- package/dist/{slope-chart-DekEJxsy.js → slope-chart-B6Mtcta2.js} +6 -6
- package/dist/{src-BsqbWDxS.js → src-DCozYUGI.js} +146 -131
- package/dist/styles2.css +16 -4
- package/dist/{time-series-BSNnijxf.js → time-series-DJk-2Mt0.js} +7 -7
- package/dist/{timeline-CnxfYSIg.js → timeline-BHpj7i7K.js} +4 -4
- package/dist/{token-heatmap-CJaXo56P.js → token-heatmap-DEqEaoGE.js} +273 -288
- package/dist/{token-predictions-Bi7aKPnh.js → token-predictions-Bjdh0K-A.js} +5 -5
- package/dist/{transport-CXj0DV6o.js → transport-DQ1yzsQl.js} +2 -2
- package/dist/{tree-diagram-BxOZsjr1.js → tree-diagram-BxSDOBFj.js} +4 -4
- package/dist/{treemap-B2yOAetT.js → treemap-DzHAp4ia.js} +5 -5
- package/dist/{use-tween-C1TWJwce.js → use-tween-DbXVZBR8.js} +1 -1
- package/dist/{violin-plot-W2L_2JRo.js → violin-plot-B4Cf38Y9.js} +5 -5
- package/dist/visible-motion-D6NwjGNz.js +24 -0
- package/dist/{waterfall-Bt73N2Ng.js → waterfall-C9_pHZzv.js} +4 -4
- package/package.json +1 -1
- package/recipes/recorded-motion.tsx +14 -0
- package/skills/review-elements/SKILL.md +6 -0
- package/skills/review-explainer/SKILL.md +4 -0
- package/skills/use-elements/SKILL.md +2 -0
- package/skills/use-elements/references/kits.md +33 -0
- package/skills/write-explainer/SKILL.md +5 -0
- package/dist/figure-format-B8kRZMlo.js +0 -36
- package/dist/locate-Bcg3QcP4.js +0 -11
- package/dist/markdown-Diffqqm7.js +0 -313
package/dist/charts/figure.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { d as e, f as t, l as n, n as r, p as i, r as a, s as o, t as s } from "../time-series-
|
|
2
|
-
import { a as c, r as l, t as u } from "../dumbbell-plot-
|
|
3
|
-
import { a as d, d as f, f as p, l as ee, r as te, s as ne, t as re, u as ie } from "../violin-plot-
|
|
4
|
-
import { a as ae, r as oe, s as se, t as ce } from "../tree-diagram-
|
|
5
|
-
import { n as le, t as ue } from "../treemap-
|
|
6
|
-
import { a as de, r as fe, t as pe } from "../image-grid-
|
|
7
|
-
import { c as me, i as he, o as m, r as ge, t as _e, u as ve } from "../token-heatmap-
|
|
8
|
-
import { a as ye, l as be, r as xe, s as Se, t as Ce } from "../embedding-map-
|
|
9
|
-
import { a as we, c as Te, r as h, t as Ee } from "../token-predictions-
|
|
10
|
-
import { n as De, t as Oe } from "../waterfall-
|
|
11
|
-
import { a as ke, l as Ae, r as je, s as Me, t as Ne } from "../slope-chart-
|
|
1
|
+
import { d as e, f as t, l as n, n as r, p as i, r as a, s as o, t as s } from "../time-series-DJk-2Mt0.js";
|
|
2
|
+
import { a as c, r as l, t as u } from "../dumbbell-plot-S4RyfxmW.js";
|
|
3
|
+
import { a as d, d as f, f as p, l as ee, r as te, s as ne, t as re, u as ie } from "../violin-plot-B4Cf38Y9.js";
|
|
4
|
+
import { a as ae, r as oe, s as se, t as ce } from "../tree-diagram-BxSDOBFj.js";
|
|
5
|
+
import { n as le, t as ue } from "../treemap-DzHAp4ia.js";
|
|
6
|
+
import { a as de, r as fe, t as pe } from "../image-grid-TTrLxvaI.js";
|
|
7
|
+
import { c as me, i as he, o as m, r as ge, t as _e, u as ve } from "../token-heatmap-DEqEaoGE.js";
|
|
8
|
+
import { a as ye, l as be, r as xe, s as Se, t as Ce } from "../embedding-map-Bm7aTA6z.js";
|
|
9
|
+
import { a as we, c as Te, r as h, t as Ee } from "../token-predictions-Bjdh0K-A.js";
|
|
10
|
+
import { n as De, t as Oe } from "../waterfall-C9_pHZzv.js";
|
|
11
|
+
import { a as ke, l as Ae, r as je, s as Me, t as Ne } from "../slope-chart-B6Mtcta2.js";
|
|
12
12
|
import { m as g } from "../values-963L6n1m.js";
|
|
13
|
-
import { a as _, r as v } from "../figure-frame-
|
|
13
|
+
import { a as _, r as v } from "../figure-frame-BHCNceS4.js";
|
|
14
14
|
import { createElement as y } from "react";
|
|
15
15
|
import { jsx as b } from "react/jsx-runtime";
|
|
16
16
|
import { formatNumber as Pe } from "@ui-sdk/core/number";
|
package/dist/charts/graph.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as AttributionGraph, s as FlowDiagram, a as RelationGraph, t as TreeDiagram, i as attributionLimits, c as flowLimits, o as relationGraphLimits, n as treeLimits } from "../tree-diagram-
|
|
1
|
+
export { r as AttributionGraph, s as FlowDiagram, a as RelationGraph, t as TreeDiagram, i as attributionLimits, c as flowLimits, o as relationGraphLimits, n as treeLimits } from "../tree-diagram-BxSDOBFj.js";
|
package/dist/charts/hierarchy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Icicle, t as Treemap, r as icicleLimits } from "../treemap-
|
|
1
|
+
export { n as Icicle, t as Treemap, r as icicleLimits } from "../treemap-DzHAp4ia.js";
|
package/dist/charts/image.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as AttributionOverlay, r as ImageAtlas, t as ImageGrid, o as attributionOverlayLimits, i as imageAtlasLimits, n as imageGridLimits } from "../image-grid-
|
|
1
|
+
export { a as AttributionOverlay, r as ImageAtlas, t as ImageGrid, o as attributionOverlayLimits, i as imageAtlasLimits, n as imageGridLimits } from "../image-grid-TTrLxvaI.js";
|
package/dist/charts/matrix.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../token-heatmap-
|
|
2
|
-
import { t as p } from "../color-legend-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../token-heatmap-DEqEaoGE.js";
|
|
2
|
+
import { t as p } from "../color-legend-4As8881l.js";
|
|
3
3
|
import { t as m } from "../heatmap-scale-Zte6Ya-g.js";
|
|
4
4
|
export { f as AttentionMatrix, t as CalendarHeatmap, p as ColorLegend, s as ConfusionMatrix, i as CorrelationMatrix, l as Matrix, d as TokenHeatmap, n as attentionMatrixLimits, a as calendarHeatmapLimits, u as confusionMatrixLimits, e as correlationMatrixLimits, m as heatmapColor, c as matrixCellId, r as matrixLimits, o as tokenHeatmapLimits };
|
package/dist/charts/plot.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as N } from "../
|
|
5
|
-
import {
|
|
6
|
-
import { a as L } from "../figure-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { a as
|
|
15
|
-
|
|
1
|
+
import { A as e, D as t, E as n, M as r, O as i, S as a, _ as o, a as s, d as c, f as l, g as u, h as d, i as f, j as p, l as m, m as h, n as g, o as _, p as v, r as y, s as b, t as x, u as S, v as C, y as w } from "../plot-layout-CNNFMC8H.js";
|
|
2
|
+
import { a as T, n as E, r as D } from "../tone-scope-DKiSw-JR.js";
|
|
3
|
+
import { a as O } from "../figure-format-BVb7yFCA.js";
|
|
4
|
+
import { a as k, i as A, n as j, o as M, r as N, t as P } from "../scale-C2xgZyZN.js";
|
|
5
|
+
import { t as F } from "../chart-cursor-1mFd48Jc.js";
|
|
6
|
+
import { a as I, i as L, l as R, n as z, o as B, r as V, t as H } from "../figure-frame-BHCNceS4.js";
|
|
7
|
+
import { n as U } from "../plot-width-D3hTycYX.js";
|
|
8
|
+
import { t as W } from "../plot-axes-D5S9BnBa.js";
|
|
9
|
+
import { a as G, c as K, d as q, f as J, i as Y, l as X, n as Z, o as Q, p as $, r as ee, s as te, t as ne, u as re } from "../plot-marks-DgCtcd3L.js";
|
|
10
|
+
import { n as ie, r as ae, t as oe } from "../plot-surface-BSjoNIva.js";
|
|
11
|
+
import { n as se, t as ce } from "../label-place-Z0fryBZb.js";
|
|
12
|
+
import { i as le, n as ue, r as de, t as fe } from "../path-BglsXpnO.js";
|
|
13
|
+
import { t as pe } from "../locate-Dcq5ZZSk.js";
|
|
14
|
+
import { a as me, c as he, d as ge, i as _e, l as ve, n as ye, o as be, r as xe, s as Se, t as Ce, u as we } from "../point-layer-C-EYETAt.js";
|
|
15
|
+
import { n as Te, t as Ee } from "../plot-BIYlgY2B.js";
|
|
16
|
+
export { ne as AreaMark, Z as BandMark, ee as BarMark, n as Chart, F as ChartCursor, R as ChartData, B as ChartInspection, t as ChartMark, i as ChartPlot, a as ChartReadout, Y as ConnectorMark, he as DensityLayer, G as DotMark, H as FigureEmpty, z as FigureFrame, V as FigureInvalid, L as FigureLoading, Q as GuideMark, te as IntervalMark, K as LabelMark, X as LineMark, re as LinkMark, W as PlotAxes, oe as PlotClip, ie as PlotSurface, ye as PlotViewportRoot, xe as PlotViewportSurface, Ce as PointLayer, q as RingMark, J as RuleMark, Te as SpatialLayer, Ee as StepHistory, $ as SymbolMark, _e as WHOLE_VIEW, fe as areaPath, E as assignTones, D as automaticTone, x as axisTicks, g as axisTitle, P as bandScale, y as bandTicks, f as categoryPlot, U as chartStyles, j as columnExtent, N as continuousScale, ve as contourSegments, be as countInside, I as coverageText, s as fitDomain, ce as freeLabelSpot, r as hasUniqueIds, Se as hitIndex, e as inspectedLabel, A as isFiniteDomain, ue as isolatedPoints, se as labelBox, de as linePath, d as linearTicks, le as linkPath, pe as locateNearest, u as logTicks, _ as numericPlot, k as outsideDomain, b as plotBox, p as plotLabel, m as plotMargins, we as sampleGrid, M as scaleDomainError, o as scaleTicks, ge as segmentsPath, C as symlogTicks, S as tickTexts, c as ticksMinimum, l as timeAxisTicks, v as timePlot, w as timeTicks, ae as usePlotSize, T as useTones, h as valueGutter, me as visibleDomains, O as zoneOffset };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { l as ContourPlot, r as DensityMap, t as EmbeddingMap, s as ParallelCoordinates, a as ScatterMatrix, u as contourLimits, i as densityLimits, n as embeddingLimits, c as parallelLimits, o as scatterMatrixLimits } from "../embedding-map-
|
|
1
|
+
export { l as ContourPlot, r as DensityMap, t as EmbeddingMap, s as ParallelCoordinates, a as ScatterMatrix, u as contourLimits, i as densityLimits, n as embeddingLimits, c as parallelLimits, o as scatterMatrixLimits } from "../embedding-map-Bm7aTA6z.js";
|
package/dist/charts/text.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { c as TokenExamples, a as TokenGrid, r as TokenLinks, t as TokenPredictions, u as TokenScaleLegend, d as TokenText, f as quoteToken, l as tokenExampleLimits, o as tokenGridCellId, s as tokenGridLimits, i as tokenLinkLimits, n as tokenPredictionLimits } from "../token-predictions-
|
|
1
|
+
export { c as TokenExamples, a as TokenGrid, r as TokenLinks, t as TokenPredictions, u as TokenScaleLegend, d as TokenText, f as quoteToken, l as tokenExampleLimits, o as tokenGridCellId, s as tokenGridLimits, i as tokenLinkLimits, n as tokenPredictionLimits } from "../token-predictions-Bjdh0K-A.js";
|
package/dist/charts/timeline.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../waterfall-
|
|
2
|
-
import { n as i, t as a } from "../timeline-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../waterfall-C9_pHZzv.js";
|
|
2
|
+
import { n as i, t as a } from "../timeline-BHpj7i7K.js";
|
|
3
3
|
export { t as EventStrip, a as TraceTimeline, r as Waterfall, n as eventStripGutter, e as eventStripLimits, i as traceTimelineLimits };
|
package/dist/charts/trend.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { l as BumpChart, s as CurveChart, a as HorizonChart, r as RunsChart, t as SlopeChart, u as bumpLimits, c as curveLimits, o as horizonLimits, i as runsLimits, n as slopeLimits } from "../slope-chart-
|
|
1
|
+
export { l as BumpChart, s as CurveChart, a as HorizonChart, r as RunsChart, t as SlopeChart, u as bumpLimits, c as curveLimits, o as horizonLimits, i as runsLimits, n as slopeLimits } from "../slope-chart-B6Mtcta2.js";
|
package/dist/charts.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e, t } from "./chart-tones-ei3BC2AL.js";
|
|
2
|
-
import { C as n, T as r, b as i, c as a, w as o, x as s } from "./plot-layout-
|
|
3
|
-
import { r as c } from "./categorical-values-
|
|
2
|
+
import { C as n, T as r, b as i, c as a, w as o, x as s } from "./plot-layout-CNNFMC8H.js";
|
|
3
|
+
import { r as c } from "./categorical-values-DwomVcSd.js";
|
|
4
4
|
import { i as l, n as u, t as d } from "./chart-link-AE_xuxiP.js";
|
|
5
5
|
import { i as f, t as p } from "./tone-scope-DKiSw-JR.js";
|
|
6
6
|
import { t as m } from "./src-DIS0YOj0.js";
|
|
7
|
-
import { i as h, n as g, r as _, t as v } from "./figure-format-
|
|
7
|
+
import { i as h, n as g, r as _, t as v } from "./figure-format-BVb7yFCA.js";
|
|
8
8
|
export { n as CaptionScope, i as ChartFrame, m as ChartGrid, s as ChartLegend, d as ChartLink, r as ChartSeriesMarker, v as MISSING_VALUE_TEXT, p as ToneScope, c as categoricalLimits, t as chartToneColors, e as chartToneOutlines, g as formatTime, _ as formatValue, a as plotHeights, h as tickFormat, u as useChartLinkControl, o as useIsCaptioned, l as useLinkedInspection, f as useScopedTone };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "./figure-format-
|
|
1
|
+
import { r as e } from "./figure-format-BVb7yFCA.js";
|
|
2
2
|
import { n as t, t as n } from "./heatmap-scale-Zte6Ya-g.js";
|
|
3
3
|
import * as r from "@stylexjs/stylex";
|
|
4
4
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
package/dist/content/markdown.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Markdown, t as MarkdownPreview } from "../markdown-
|
|
1
|
+
export { n as Markdown, t as MarkdownPreview } from "../markdown-JeuBeMDZ.js";
|
package/dist/content.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { p as JsonViewer, f as LogViewer, u as MediaViewer, d as MediaViewerPlaceholder, l as PlaybackBar, c as StackTrace, i as TextMatch, r as TimelineScrubber, n as Trace, t as ViewportFrame, a as fuzzyScore, o as matchRanges, s as matchSegments } from "./src-
|
|
1
|
+
export { p as JsonViewer, f as LogViewer, u as MediaViewer, d as MediaViewerPlaceholder, l as PlaybackBar, c as StackTrace, i as TextMatch, r as TimelineScrubber, n as Trace, t as ViewportFrame, a as fuzzyScore, o as matchRanges, s as matchSegments } from "./src-DCozYUGI.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as e } from "./tokens.stylex-dF5CACEJ.js";
|
|
2
|
-
import { A as t, E as n, M as r, S as i, a, c as o, i as s, j as c, n as l, x as u } from "./plot-layout-
|
|
2
|
+
import { A as t, E as n, M as r, S as i, a, c as o, i as s, j as c, n as l, x as u } from "./plot-layout-CNNFMC8H.js";
|
|
3
3
|
import { i as d, r as f } from "./chart-link-AE_xuxiP.js";
|
|
4
4
|
import { a as p } from "./tone-scope-DKiSw-JR.js";
|
|
5
|
-
import { r as m } from "./figure-format-
|
|
5
|
+
import { r as m } from "./figure-format-BVb7yFCA.js";
|
|
6
6
|
import { a as h, o as g } from "./scale-C2xgZyZN.js";
|
|
7
|
-
import { i as _, l as v, n as y, r as b, t as x } from "./figure-frame-
|
|
7
|
+
import { i as _, l as v, n as y, r as b, t as x } from "./figure-frame-BHCNceS4.js";
|
|
8
8
|
import { n as S } from "./plot-width-D3hTycYX.js";
|
|
9
9
|
import { t as C } from "./plot-axes-D5S9BnBa.js";
|
|
10
10
|
import { a as w, f as T, r as E, s as D } from "./plot-marks-DgCtcd3L.js";
|
|
11
|
-
import { n as O, r as k, t as A } from "./plot-surface-
|
|
12
|
-
import { t as ee } from "./locate-
|
|
11
|
+
import { n as O, r as k, t as A } from "./plot-surface-BSjoNIva.js";
|
|
12
|
+
import { t as ee } from "./locate-Dcq5ZZSk.js";
|
|
13
13
|
import * as j from "@stylexjs/stylex";
|
|
14
14
|
import { useId as M } from "react";
|
|
15
15
|
import { Fragment as N, jsx as P, jsxs as F } from "react/jsx-runtime";
|
|
@@ -3,18 +3,18 @@ import { A as t } from "./src-Bkov5TTa.js";
|
|
|
3
3
|
import { b as n, v as r } from "./src-DceyVyL0.js";
|
|
4
4
|
import { t as i } from "./forms-iAOjGRTO.js";
|
|
5
5
|
import { t as a } from "./chart-tones-ei3BC2AL.js";
|
|
6
|
-
import { A as o, D as s, E as c, M as l, S as u, a as d, c as f, j as ee, l as p, n as te, o as m, s as h, t as g, x as ne } from "./plot-layout-
|
|
6
|
+
import { A as o, D as s, E as c, M as l, S as u, a as d, c as f, j as ee, l as p, n as te, o as m, s as h, t as g, x as ne } from "./plot-layout-CNNFMC8H.js";
|
|
7
7
|
import { i as _ } from "./chart-link-AE_xuxiP.js";
|
|
8
8
|
import { a as v } from "./tone-scope-DKiSw-JR.js";
|
|
9
|
-
import { r as y } from "./figure-format-
|
|
9
|
+
import { r as y } from "./figure-format-BVb7yFCA.js";
|
|
10
10
|
import { a as b, n as x, o as S, r as re } from "./scale-C2xgZyZN.js";
|
|
11
|
-
import { i as ie, l as ae, n as oe, r as se, t as ce } from "./figure-frame-
|
|
11
|
+
import { i as ie, l as ae, n as oe, r as se, t as ce } from "./figure-frame-BHCNceS4.js";
|
|
12
12
|
import { n as C } from "./plot-width-D3hTycYX.js";
|
|
13
13
|
import { t as le } from "./plot-axes-D5S9BnBa.js";
|
|
14
14
|
import { a as w, c as ue, l as T } from "./plot-marks-DgCtcd3L.js";
|
|
15
|
-
import { n as de, r as fe, t as pe } from "./plot-surface-
|
|
15
|
+
import { n as de, r as fe, t as pe } from "./plot-surface-BSjoNIva.js";
|
|
16
16
|
import { n as E, r as D } from "./path-BglsXpnO.js";
|
|
17
|
-
import { t as O } from "./color-legend-
|
|
17
|
+
import { t as O } from "./color-legend-4As8881l.js";
|
|
18
18
|
import { a as k, c as A, d as j, i as M, l as me, n as N, o as P, r as he, s as F, t as I, u as L } from "./point-layer-C-EYETAt.js";
|
|
19
19
|
import * as R from "@stylexjs/stylex";
|
|
20
20
|
import { useEffect as z, useId as ge, useMemo as B, useRef as _e, useState as V } from "react";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { formatNumber as e } from "@ui-sdk/core/number";
|
|
2
|
+
// packages/charts/src/figure/figure-format.ts
|
|
3
|
+
var t = "Unavailable";
|
|
4
|
+
function n({ value: n, locale: r, format: i }) {
|
|
5
|
+
return n === null || !Number.isFinite(n) ? t : e(n, r, i);
|
|
6
|
+
}
|
|
7
|
+
function r(e) {
|
|
8
|
+
return typeof e == "function" ? e : {
|
|
9
|
+
notation: "compact",
|
|
10
|
+
...e
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
var i = 64;
|
|
14
|
+
function a() {
|
|
15
|
+
let e = /* @__PURE__ */ new Map();
|
|
16
|
+
return function(t, n) {
|
|
17
|
+
let r = JSON.stringify([t, n]), a = e.get(r);
|
|
18
|
+
if (a !== void 0) return a;
|
|
19
|
+
let o = new Intl.DateTimeFormat(t, n);
|
|
20
|
+
return e.size >= i && e.clear(), e.set(r, o), o;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
var o = a();
|
|
24
|
+
function s({ timestamp: e, locale: t, format: n }) {
|
|
25
|
+
return typeof n == "function" ? n(e) : o(t, n).format(e);
|
|
26
|
+
}
|
|
27
|
+
var c = {
|
|
28
|
+
hourCycle: "h23",
|
|
29
|
+
year: "numeric",
|
|
30
|
+
month: "numeric",
|
|
31
|
+
day: "numeric",
|
|
32
|
+
hour: "numeric",
|
|
33
|
+
minute: "numeric",
|
|
34
|
+
second: "numeric"
|
|
35
|
+
}, l = 1e3;
|
|
36
|
+
function u(e, t) {
|
|
37
|
+
let n = o("en-US", {
|
|
38
|
+
...c,
|
|
39
|
+
timeZone: t
|
|
40
|
+
}).formatToParts(e);
|
|
41
|
+
function r(e) {
|
|
42
|
+
return Number(n.find((t) => t.type === e)?.value);
|
|
43
|
+
}
|
|
44
|
+
return Date.UTC(r("year"), r("month") - 1, r("day"), r("hour"), r("minute"), r("second")) - Math.floor(e / l) * l;
|
|
45
|
+
}
|
|
46
|
+
export { u as a, r as i, s as n, n as r, t };
|
|
@@ -2,7 +2,7 @@ import { r as e } from "./tokens.stylex-dF5CACEJ.js";
|
|
|
2
2
|
import { o as t, t as n } from "./src-Bkov5TTa.js";
|
|
3
3
|
import { t as r } from "./accessibility-P89UG9-r.js";
|
|
4
4
|
import { d as i, u as a } from "./src-CIyuaSCi.js";
|
|
5
|
-
import { T as o, b as s, c, w as l } from "./plot-layout-
|
|
5
|
+
import { T as o, b as s, c, w as l } from "./plot-layout-CNNFMC8H.js";
|
|
6
6
|
import * as u from "@stylexjs/stylex";
|
|
7
7
|
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
8
8
|
import { formatNumber as m } from "@ui-sdk/core/number";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as e } from "./tokens.stylex-dF5CACEJ.js";
|
|
2
2
|
import { x as t } from "./src-DceyVyL0.js";
|
|
3
3
|
import { t as n } from "./chart-tones-ei3BC2AL.js";
|
|
4
|
-
import { A as r, D as i, E as a, M as o, O as s, S as c, j as l } from "./plot-layout-
|
|
5
|
-
import { r as u } from "./figure-format-
|
|
4
|
+
import { A as r, D as i, E as a, M as o, O as s, S as c, j as l } from "./plot-layout-CNNFMC8H.js";
|
|
5
|
+
import { r as u } from "./figure-format-BVb7yFCA.js";
|
|
6
6
|
import { a as d, o as f } from "./scale-C2xgZyZN.js";
|
|
7
|
-
import { i as p, l as m, n as h, r as g, t as _ } from "./figure-frame-
|
|
7
|
+
import { i as p, l as m, n as h, r as g, t as _ } from "./figure-frame-BHCNceS4.js";
|
|
8
8
|
import { n as v, t as y } from "./plot-width-D3hTycYX.js";
|
|
9
9
|
import * as b from "@stylexjs/stylex";
|
|
10
10
|
import { useId as x, useState as S } from "react";
|
package/dist/kits/evaluation.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { T as e } from "../plot-layout-
|
|
2
|
-
import { r as t } from "../figure-format-
|
|
1
|
+
import { T as e } from "../plot-layout-CNNFMC8H.js";
|
|
2
|
+
import { r as t } from "../figure-format-BVb7yFCA.js";
|
|
3
3
|
import { i as n, t as r } from "../tone-scope-DKiSw-JR.js";
|
|
4
|
-
import { n as i, r as a } from "../figure-frame-
|
|
4
|
+
import { n as i, r as a } from "../figure-frame-BHCNceS4.js";
|
|
5
5
|
import { d as o, g as s, h as c } from "../src-Dc1t1ugL.js";
|
|
6
6
|
import { n as l, t as u } from "../chart-link-AE_xuxiP.js";
|
|
7
|
-
import { a as d, i as f, o as p, r as m, t as h } from "../cells-
|
|
7
|
+
import { a as d, i as f, o as p, r as m, t as h } from "../cells-BRI8LpMU.js";
|
|
8
8
|
import { t as g } from "../accessibility-P89UG9-r.js";
|
|
9
|
-
import { r as _, t as v } from "../dumbbell-plot-
|
|
9
|
+
import { r as _, t as v } from "../dumbbell-plot-S4RyfxmW.js";
|
|
10
10
|
import * as y from "@stylexjs/stylex";
|
|
11
11
|
import { jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
12
12
|
// packages/kits/src/evaluation/evaluation-data.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { u as e } from "../token-heatmap-
|
|
2
|
-
import { a as t, c as n, f as r, o as i, r as a, t as o } from "../token-predictions-
|
|
1
|
+
import { u as e } from "../token-heatmap-DEqEaoGE.js";
|
|
2
|
+
import { a as t, c as n, f as r, o as i, r as a, t as o } from "../token-predictions-Bjdh0K-A.js";
|
|
3
3
|
import { E as s, m as c, o as l, t as u } from "../src-Bkov5TTa.js";
|
|
4
4
|
import { n as d, t as f } from "../chart-link-AE_xuxiP.js";
|
|
5
|
-
import { r as p } from "../tree-diagram-
|
|
5
|
+
import { r as p } from "../tree-diagram-BxSDOBFj.js";
|
|
6
6
|
import { t as m } from "../tone-scope-DKiSw-JR.js";
|
|
7
|
-
import { d as h, l as g } from "../violin-plot-
|
|
8
|
-
import { r as _ } from "../figure-format-
|
|
9
|
-
import { t as v } from "../embedding-map-
|
|
7
|
+
import { d as h, l as g } from "../violin-plot-B4Cf38Y9.js";
|
|
8
|
+
import { r as _ } from "../figure-format-BVb7yFCA.js";
|
|
9
|
+
import { t as v } from "../embedding-map-Bm7aTA6z.js";
|
|
10
10
|
import { n as y, t as b } from "../forms-iAOjGRTO.js";
|
|
11
|
-
import { o as x, t as S } from "../cells-
|
|
11
|
+
import { o as x, t as S } from "../cells-BRI8LpMU.js";
|
|
12
12
|
import { d as C, g as w, h as T } from "../src-Dc1t1ugL.js";
|
|
13
|
-
import { s as E } from "../slope-chart-
|
|
13
|
+
import { s as E } from "../slope-chart-B6Mtcta2.js";
|
|
14
14
|
import { x as D } from "../src-DceyVyL0.js";
|
|
15
15
|
import * as O from "@stylexjs/stylex";
|
|
16
16
|
import { useId as k, useState as A } from "react";
|
package/dist/kits/operations.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as e } from "../dumbbell-plot-
|
|
2
|
-
import { r as t } from "../figure-format-
|
|
1
|
+
import { a as e } from "../dumbbell-plot-S4RyfxmW.js";
|
|
2
|
+
import { r as t } from "../figure-format-BVb7yFCA.js";
|
|
3
3
|
import { t as n } from "../tone-scope-DKiSw-JR.js";
|
|
4
4
|
import { c as r, i, o as a, s as o } from "../src-Bkov5TTa.js";
|
|
5
|
-
import { n as s } from "../waterfall-
|
|
6
|
-
import { r as c, s as l } from "../time-series-
|
|
5
|
+
import { n as s } from "../waterfall-C9_pHZzv.js";
|
|
6
|
+
import { r as c, s as l } from "../time-series-DJk-2Mt0.js";
|
|
7
7
|
import { i as u, r as d } from "../src-Dc1t1ugL.js";
|
|
8
8
|
import "@stylexjs/stylex";
|
|
9
9
|
import { useId as f } from "react";
|