@mechane-ai/elements 0.55.0 → 0.56.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 +1 -1
- package/dist/{article-DPDk0Xgp.js → article-COShcQPh.js} +1 -1
- package/dist/article.js +1 -1
- package/dist/catalog.json +9 -1
- package/dist/{categorical-values-CGavb4HZ.js → categorical-values-DdZLdWhL.js} +1 -1
- package/dist/charts/cartesian.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 +1 -1
- package/dist/charts/plot.js +3 -3
- package/dist/charts/relationship.js +1 -1
- package/dist/charts/text.js +1 -1
- package/dist/charts/timeline.js +1 -1
- package/dist/charts/trend.js +1 -1
- package/dist/charts.js +2 -2
- package/dist/collections.js +1 -1
- package/dist/commands-D0bF2JxV.js +107 -0
- package/dist/{dumbbell-plot-DJOyXW7m.js → dumbbell-plot-BeHhL-01.js} +3 -3
- package/dist/{embedding-map-BSlNwXs2.js → embedding-map-DbETVJXp.js} +3 -3
- package/dist/feedback.js +1 -1
- package/dist/{figure-frame-C2hCrRX4.js → figure-frame-ClYRIRAq.js} +2 -2
- package/dist/{image-grid-D0Xk_KNk.js → image-grid-DB5U7Jtx.js} +2 -2
- package/dist/kits/evaluation.js +4 -4
- package/dist/kits/interpretability.js +8 -8
- package/dist/kits/operations.js +5 -5
- package/dist/kits/research.js +5 -5
- package/dist/kits/training.js +4 -4
- package/dist/layout.js +1 -1
- package/dist/mdx.js +2 -2
- package/dist/navigation/commands.js +1 -95
- package/dist/packages/charts/src/timeline/event-strip.d.ts +2 -0
- package/dist/packages/layout/src/app-shell.d.ts +2 -1
- package/dist/packages/layout/src/devtools-bar.d.ts +3 -0
- package/dist/packages/layout/src/index.d.ts +1 -0
- package/dist/packages/layout/src/shell-bottom-bar.d.ts +4 -0
- package/dist/packages/navigation/src/commands/command.d.ts +1 -0
- package/dist/{plot-layout-PBlcYu9p.js → plot-layout-B-b6tioh.js} +1 -1
- package/dist/{plot-surface-CdqANDC1.js → plot-surface-BlR44uTL.js} +1 -1
- package/dist/{reference-lines-Cdrs0B3S.js → reference-lines-BDfsv8dy.js} +1 -1
- package/dist/{scene-CcJb3zcs.js → scene-CY05-A1k.js} +4 -4
- package/dist/scene.js +1 -1
- package/dist/{slope-chart-CagCaJYG.js → slope-chart-DTyF1lNG.js} +4 -4
- package/dist/{src-LEom7AhF.js → src-4qgpiWvP.js} +1 -1
- package/dist/{src-DhWMspwr.js → src-BqY5rsqi.js} +362 -284
- package/dist/{src-Bg4eyJZO.js → src-C-Wg9m9H.js} +2 -1
- package/dist/styles2.css +33 -1
- package/dist/{time-series-g4trCNxp.js → time-series-CoAtNizi.js} +6 -6
- package/dist/{token-heatmap-CgJNUXJH.js → token-heatmap-o_9l6vaq.js} +2 -2
- package/dist/{token-predictions-BMVVfAL3.js → token-predictions-DaAztlOS.js} +3 -3
- package/dist/{tree-diagram-BHLewHQl.js → tree-diagram-BDj4TGXb.js} +3 -3
- package/dist/{treemap-n3Er3k6e.js → treemap-DUSFlCPK.js} +4 -4
- package/dist/{violin-plot-qCMn4e1I.js → violin-plot-ULdC_dcY.js} +3 -3
- package/dist/waterfall-BjUXqaWu.js +615 -0
- package/package.json +1 -1
- package/skills/use-elements/references/workspace.md +6 -0
- package/dist/waterfall-ChExGsn8.js +0 -605
package/dist/ai.js
CHANGED
|
@@ -4,7 +4,7 @@ import { l as u } from "./src-DFW49IAs.js";
|
|
|
4
4
|
import { t as d } from "./content-link-PnpcnTCx.js";
|
|
5
5
|
import { n as f, r as p } from "./markdown-VpLw_P9T.js";
|
|
6
6
|
import { r as m, t as h } from "./src-na2DdkKI.js";
|
|
7
|
-
import { c as g, d as _ } from "./src-
|
|
7
|
+
import { c as g, d as _ } from "./src-C-Wg9m9H.js";
|
|
8
8
|
import { i as ee, t as v } from "./forms-CEbwzlRR.js";
|
|
9
9
|
import { t as te } from "./accessibility-P89UG9-r.js";
|
|
10
10
|
import { r as y } from "./control-styles-D3q_Qyxi.js";
|
|
@@ -4,7 +4,7 @@ import { a as i, c as a, i as o, l as s, n as c, o as l, t as u } from "./transp
|
|
|
4
4
|
import { d, f, n as p, t as m } from "./param-BdqTpZER.js";
|
|
5
5
|
import { i as h, r as g } from "./tokens.stylex-dF5CACEJ.js";
|
|
6
6
|
import { T as _, m as v } from "./src-9EJskqB_.js";
|
|
7
|
-
import { C as y } from "./plot-layout-
|
|
7
|
+
import { C as y } from "./plot-layout-B-b6tioh.js";
|
|
8
8
|
import { t as b } from "./accessibility-P89UG9-r.js";
|
|
9
9
|
import { r as x } from "./figure-format-B8kRZMlo.js";
|
|
10
10
|
import { t as S } from "./forms-CEbwzlRR.js";
|
package/dist/article.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as Article, v as Aside, _ as Beat, g as Challenge, y as Cite, t as DiagramPart, f as Figure, p as FigureReference, b as Footnote, d as Predict, x as References, m as Reveal, l as Scrolly, u as ScrollyStep, r as TeX, n as Term, s as answerSources, a as articleChecks, c as articleOutline, S as defaultArticleLabels, o as emptyProgress, h as useRevealed } from "./article-
|
|
1
|
+
export { i as Article, v as Aside, _ as Beat, g as Challenge, y as Cite, t as DiagramPart, f as Figure, p as FigureReference, b as Footnote, d as Predict, x as References, m as Reveal, l as Scrolly, u as ScrollyStep, r as TeX, n as Term, s as answerSources, a as articleChecks, c as articleOutline, S as defaultArticleLabels, o as emptyProgress, h as useRevealed } from "./article-COShcQPh.js";
|
package/dist/catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@mechane-ai/elements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"recipes": [
|
|
5
5
|
{
|
|
6
6
|
"slug": "allocation-report",
|
|
@@ -811,6 +811,14 @@
|
|
|
811
811
|
"kind": "value",
|
|
812
812
|
"declaration": "dist/packages/layout/src/page-layout.d.ts"
|
|
813
813
|
},
|
|
814
|
+
"DevToolsBar": {
|
|
815
|
+
"kind": "value",
|
|
816
|
+
"declaration": "dist/packages/layout/src/devtools-bar.d.ts"
|
|
817
|
+
},
|
|
818
|
+
"useDevToolsBar": {
|
|
819
|
+
"kind": "value",
|
|
820
|
+
"declaration": "dist/packages/layout/src/devtools-bar.d.ts"
|
|
821
|
+
},
|
|
814
822
|
"AppShell": {
|
|
815
823
|
"kind": "value",
|
|
816
824
|
"declaration": "dist/packages/layout/src/app-shell.d.ts"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e, t } from "./chart-tones-ei3BC2AL.js";
|
|
2
|
-
import { A as n, D as r, M as i, O as a, j as o } from "./plot-layout-
|
|
2
|
+
import { A as n, D as r, M as i, O as a, j as o } from "./plot-layout-B-b6tioh.js";
|
|
3
3
|
import { t as s } from "./accessibility-P89UG9-r.js";
|
|
4
4
|
import * as c from "@stylexjs/stylex";
|
|
5
5
|
import { useId as l } from "react";
|
package/dist/charts/cartesian.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as AreaChart, p as BarChart, m as BarChartPlaceholder, f as BreakdownBar, d as BridgeChart, n as LineChart, l as ScatterPlot, r as SmallMultiples, i as SmallMultiplesPlaceholder, s as Sparkline, a as TimeSeriesChartPlaceholder, u as scatterLimits, o as timeSeriesBandLimits, c as timeSeriesLimits } from "../time-series-
|
|
1
|
+
export { t as AreaChart, p as BarChart, m as BarChartPlaceholder, f as BreakdownBar, d as BridgeChart, n as LineChart, l as ScatterPlot, r as SmallMultiples, i as SmallMultiplesPlaceholder, s as Sparkline, a as TimeSeriesChartPlaceholder, u as scatterLimits, o as timeSeriesBandLimits, c as timeSeriesLimits } from "../time-series-CoAtNizi.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as BulletBar, r as DotPlot, t as DumbbellPlot, o as bulletLimits, i as dotPlotLimits, n as dumbbellLimits } from "../dumbbell-plot-
|
|
1
|
+
export { a as BulletBar, r as DotPlot, t as DumbbellPlot, o as bulletLimits, i as dotPlotLimits, n as dumbbellLimits } from "../dumbbell-plot-BeHhL-01.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as BoxPlot, f as ECDF, d as Histogram, u as IntervalPlot, l as RankedBars, a as Ridgeline, r as StripPlot, t as ViolinPlot, c as boxLimits, p as distributionLimits, o as ridgelineLimits, i as stripLimits, n as violinLimits } from "../violin-plot-
|
|
1
|
+
export { s as BoxPlot, f as ECDF, d as Histogram, u as IntervalPlot, l as RankedBars, a as Ridgeline, r as StripPlot, t as ViolinPlot, c as boxLimits, p as distributionLimits, o as ridgelineLimits, i as stripLimits, n as violinLimits } from "../violin-plot-ULdC_dcY.js";
|
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-CoAtNizi.js";
|
|
2
|
+
import { a as c, r as l, t as u } from "../dumbbell-plot-BeHhL-01.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-ULdC_dcY.js";
|
|
4
|
+
import { a as ae, r as oe, s as se, t as ce } from "../tree-diagram-BDj4TGXb.js";
|
|
5
|
+
import { n as le, t as ue } from "../treemap-DUSFlCPK.js";
|
|
6
|
+
import { a as de, r as fe, t as pe } from "../image-grid-DB5U7Jtx.js";
|
|
7
|
+
import { c as me, i as he, o as m, r as ge, t as _e, u as ve } from "../token-heatmap-o_9l6vaq.js";
|
|
8
|
+
import { a as ye, l as be, r as xe, s as Se, t as Ce } from "../embedding-map-DbETVJXp.js";
|
|
9
|
+
import { a as we, c as Te, r as h, t as Ee } from "../token-predictions-DaAztlOS.js";
|
|
10
|
+
import { n as De, t as Oe } from "../waterfall-BjUXqaWu.js";
|
|
11
|
+
import { a as ke, l as Ae, r as je, s as Me, t as Ne } from "../slope-chart-DTyF1lNG.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-ClYRIRAq.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-BDj4TGXb.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-DUSFlCPK.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-DB5U7Jtx.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-
|
|
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-o_9l6vaq.js";
|
|
2
2
|
import { t as p } from "../color-legend-CIo7DhXB.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,6 +1,6 @@
|
|
|
1
|
-
import { a as e, i as t, l as n, n as r, o as i, r as a, t as o } from "../figure-frame-
|
|
1
|
+
import { a as e, i as t, l as n, n as r, o as i, r as a, t as o } from "../figure-frame-ClYRIRAq.js";
|
|
2
2
|
import { t as s } from "../chart-cursor-1mFd48Jc.js";
|
|
3
|
-
import { A as c, D as l, E as u, M as d, O as f, S as p, _ as m, a as h, d as g, f as _, g as v, h as y, i as b, j as x, l as S, m as C, n as w, o as T, p as E, r as D, s as O, t as k, u as A, v as j, y as M } from "../plot-layout-
|
|
3
|
+
import { A as c, D as l, E as u, M as d, O as f, S as p, _ as m, a as h, d as g, f as _, g as v, h as y, i as b, j as x, l as S, m as C, n as w, o as T, p as E, r as D, s as O, t as k, u as A, v as j, y as M } from "../plot-layout-B-b6tioh.js";
|
|
4
4
|
import { n as N } from "../plot-width-D3hTycYX.js";
|
|
5
5
|
import { a as P, n as F, r as I } from "../tone-scope-DKiSw-JR.js";
|
|
6
6
|
import { a as L } from "../figure-format-B8kRZMlo.js";
|
|
@@ -10,6 +10,6 @@ import { t as Z } from "../locate-Bcg3QcP4.js";
|
|
|
10
10
|
import { i as Q, n as $, r as ee, t as te } from "../path-BglsXpnO.js";
|
|
11
11
|
import { t as ne } from "../plot-axes-D5S9BnBa.js";
|
|
12
12
|
import { a as re, c as ie, d as ae, f as oe, i as se, l as ce, n as le, o as ue, p as de, r as fe, s as pe, t as me, u as he } from "../plot-marks-FVsbFkUs.js";
|
|
13
|
-
import { n as ge, r as _e, t as ve } from "../plot-surface-
|
|
13
|
+
import { n as ge, r as _e, t as ve } from "../plot-surface-BlR44uTL.js";
|
|
14
14
|
import { a as ye, i as be, n as xe, o as Se, r as Ce, t as we } from "../scale-C2xgZyZN.js";
|
|
15
15
|
export { me as AreaMark, le as BandMark, fe as BarMark, u as Chart, s as ChartCursor, n as ChartData, i as ChartInspection, l as ChartMark, f as ChartPlot, p as ChartReadout, se as ConnectorMark, z as DensityLayer, re as DotMark, o as FigureEmpty, r as FigureFrame, a as FigureInvalid, t as FigureLoading, ue as GuideMark, pe as IntervalMark, ie as LabelMark, ce as LineMark, he as LinkMark, ne as PlotAxes, ve as PlotClip, ge as PlotSurface, U as PlotViewportRoot, G as PlotViewportSurface, q as PointLayer, ae as RingMark, oe as RuleMark, de as SymbolMark, V as WHOLE_VIEW, te as areaPath, F as assignTones, I as automaticTone, k as axisTicks, w as axisTitle, we as bandScale, D as bandTicks, b as categoryPlot, N as chartStyles, xe as columnExtent, Ce as continuousScale, H as contourSegments, W as countInside, e as coverageText, h as fitDomain, X as freeLabelSpot, d as hasUniqueIds, K as hitIndex, c as inspectedLabel, be as isFiniteDomain, $ as isolatedPoints, Y as labelBox, ee as linePath, y as linearTicks, Q as linkPath, Z as locateNearest, v as logTicks, T as numericPlot, ye as outsideDomain, O as plotBox, x as plotLabel, S as plotMargins, J as sampleGrid, Se as scaleDomainError, m as scaleTicks, B as segmentsPath, j as symlogTicks, A as tickTexts, g as ticksMinimum, _ as timeAxisTicks, E as timePlot, M as timeTicks, _e as usePlotSize, P as useTones, C as valueGutter, R as visibleDomains, L 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-DbETVJXp.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-DaAztlOS.js";
|
package/dist/charts/timeline.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as EventStrip, t as Waterfall, r as eventStripGutter, i as eventStripLimits } from "../waterfall-
|
|
1
|
+
export { n as EventStrip, t as Waterfall, r as eventStripGutter, i as eventStripLimits } from "../waterfall-BjUXqaWu.js";
|
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-DTyF1lNG.js";
|
package/dist/charts.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-B-b6tioh.js";
|
|
3
|
+
import { r as c } from "./categorical-values-DdZLdWhL.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";
|
package/dist/collections.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { c as CollectionEnd, p as CollectionFilters, v as CollectionPagination, l as CollectionScroll, y as CollectionToolbar, u as DataTable, d as DataTablePlaceholder, g as DataTableText, _ as DataTableTextPlaceholder, o as Details, b as DisplayOptions, x as FilterChips, s as Inspector, a as ListFooter, r as Metric, i as MetricGrid, m as TableQueryFrame, t as Timeline, n as Timestamp, f as useCollectionControls, h as useLocalTableQuery } from "./src-
|
|
1
|
+
export { c as CollectionEnd, p as CollectionFilters, v as CollectionPagination, l as CollectionScroll, y as CollectionToolbar, u as DataTable, d as DataTablePlaceholder, g as DataTableText, _ as DataTableTextPlaceholder, o as Details, b as DisplayOptions, x as FilterChips, s as Inspector, a as ListFooter, r as Metric, i as MetricGrid, m as TableQueryFrame, t as Timeline, n as Timestamp, f as useCollectionControls, h as useLocalTableQuery } from "./src-4qgpiWvP.js";
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { r as e } from "./control-styles-D3q_Qyxi.js";
|
|
2
|
+
import { s as t } from "./src-na2DdkKI.js";
|
|
3
|
+
import { n } from "./navigation-CveMIuXI.js";
|
|
4
|
+
import * as r from "@stylexjs/stylex";
|
|
5
|
+
import { useEffect as i, useEffectEvent as a } from "react";
|
|
6
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
|
+
import { matchesShortcut as c } from "@ui-sdk/core/shortcuts";
|
|
8
|
+
import { Command as l, CommandEmpty as u, CommandInput as d, CommandItem as f, CommandList as p } from "@ui-sdk/react/command";
|
|
9
|
+
import { useShortcutHint as m } from "@ui-sdk/react/shortcuts";
|
|
10
|
+
// packages/navigation/src/commands/command.tsx
|
|
11
|
+
function h(e) {
|
|
12
|
+
return [
|
|
13
|
+
e.mod === !0 && "mod",
|
|
14
|
+
e.ctrl === !0 && "ctrl",
|
|
15
|
+
e.meta === !0 && "meta",
|
|
16
|
+
e.shift === !0 && "shift",
|
|
17
|
+
e.alt === !0 && "alt",
|
|
18
|
+
e.key
|
|
19
|
+
].filter(Boolean).join("+");
|
|
20
|
+
}
|
|
21
|
+
function g(e, t) {
|
|
22
|
+
if (t.code === void 0) return c(e, h(t));
|
|
23
|
+
if (e.code !== t.code) return !1;
|
|
24
|
+
let n = new KeyboardEvent("keydown", {
|
|
25
|
+
key: t.key,
|
|
26
|
+
metaKey: e.metaKey,
|
|
27
|
+
ctrlKey: e.ctrlKey,
|
|
28
|
+
altKey: e.altKey,
|
|
29
|
+
shiftKey: e.shiftKey
|
|
30
|
+
});
|
|
31
|
+
return c(n, h(t));
|
|
32
|
+
}
|
|
33
|
+
function _({ commands: e, target: t, isEnabled: n }) {
|
|
34
|
+
let r = a((t, n) => {
|
|
35
|
+
if (t.defaultPrevented || t.repeat || t.isComposing || t.target instanceof Element && t.target.closest("input, textarea, select, [contenteditable]:not([contenteditable=\"false\"])") !== null) return;
|
|
36
|
+
let r = e.find((e) => e.isDisabled === !0 || e.shortcut === void 0 ? !1 : g(t, e.shortcut) && e.shouldRun?.(t) !== !1);
|
|
37
|
+
if (r === void 0) return;
|
|
38
|
+
let i = n.ownerDocument.querySelectorAll(":is(dialog[open], [role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], [role=\"listbox\"], [data-slot=\"popover-content\"]):not([data-closed])");
|
|
39
|
+
for (let e of i) if (e.getClientRects().length > 0 && !e.contains(n)) return;
|
|
40
|
+
t.preventDefault(), t.stopPropagation(), r.onSelect();
|
|
41
|
+
});
|
|
42
|
+
i(() => {
|
|
43
|
+
let e = t !== null && "current" in t ? t.current : t;
|
|
44
|
+
if (!n || e === null) return;
|
|
45
|
+
let i = e;
|
|
46
|
+
function a(e) {
|
|
47
|
+
r(e, i);
|
|
48
|
+
}
|
|
49
|
+
return e.addEventListener("keydown", a), () => e.removeEventListener("keydown", a);
|
|
50
|
+
}, [n, t]);
|
|
51
|
+
}
|
|
52
|
+
function v({ shortcut: e }) {
|
|
53
|
+
let { text: t } = m(h(e));
|
|
54
|
+
return /* @__PURE__ */ o(n, { children: t });
|
|
55
|
+
}
|
|
56
|
+
function y({ open: n, onOpenChange: i, title: a, commands: c, trigger: m, placeholder: h = "Search commands…", empty: g = "No matching commands" }) {
|
|
57
|
+
return /* @__PURE__ */ s(t.Root, {
|
|
58
|
+
open: n,
|
|
59
|
+
onOpenChange: i,
|
|
60
|
+
children: [
|
|
61
|
+
m !== void 0 && /* @__PURE__ */ o(t.Trigger, { render: m }),
|
|
62
|
+
/* @__PURE__ */ o(t.Backdrop, { motion: "none" }),
|
|
63
|
+
/* @__PURE__ */ o(t.Popup, {
|
|
64
|
+
motion: "none",
|
|
65
|
+
children: /* @__PURE__ */ s("div", {
|
|
66
|
+
className: "x78zum5 xdt5ytf x1n8ia3y",
|
|
67
|
+
children: [/* @__PURE__ */ o(t.Title, { children: a }), /* @__PURE__ */ s(l, {
|
|
68
|
+
filter: "contains",
|
|
69
|
+
onAction: (e) => {
|
|
70
|
+
let t = c.find((t) => t.id === e && t.isDisabled !== !0);
|
|
71
|
+
t !== void 0 && (i(!1), t.onSelect());
|
|
72
|
+
},
|
|
73
|
+
className: "x78zum5 xdt5ytf x1n8ia3y",
|
|
74
|
+
children: [
|
|
75
|
+
/* @__PURE__ */ o(d, {
|
|
76
|
+
"aria-label": h,
|
|
77
|
+
placeholder: h,
|
|
78
|
+
...r.props(e.base, e.field, e.singleLineField, e.textFieldState)
|
|
79
|
+
}),
|
|
80
|
+
/* @__PURE__ */ o(p, {
|
|
81
|
+
className: "x1717udv x1ghz6dp x1sslpiy x1odjw0f xish69e",
|
|
82
|
+
children: c.map((e) => /* @__PURE__ */ s(f, {
|
|
83
|
+
value: e.id,
|
|
84
|
+
label: e.label,
|
|
85
|
+
disabled: e.isDisabled === !0,
|
|
86
|
+
className: "x78zum5 x9f619 x6s0dn4 xaml1ju x17tes2r x17oiadl xn9t2bk x5g2kb4 x1ok0vyi xbixft xpvm0e4 x1hz01jw xj57cvi xtqrqnz x1778rvt x1ypdohk xf2ykmf x1480za7 xd12npn xwj21n9 x1m8qfh3",
|
|
87
|
+
children: [/* @__PURE__ */ s("span", {
|
|
88
|
+
className: "x98rzlu xeuugli xj0a0fe",
|
|
89
|
+
children: [e.label, e.description !== void 0 && /* @__PURE__ */ o("span", {
|
|
90
|
+
className: "x1lliihq x153jb6y xy8obcc xas2l8k",
|
|
91
|
+
children: e.description
|
|
92
|
+
})]
|
|
93
|
+
}), e.shortcut !== void 0 && /* @__PURE__ */ o(v, { shortcut: e.shortcut })]
|
|
94
|
+
}, e.id))
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ o(u, {
|
|
97
|
+
className: "x1c8xbx5 x153jb6y xtqrqnz xjl7jj",
|
|
98
|
+
children: g
|
|
99
|
+
})
|
|
100
|
+
]
|
|
101
|
+
})]
|
|
102
|
+
})
|
|
103
|
+
})
|
|
104
|
+
]
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
export { v as n, _ as r, y as t };
|
|
@@ -1,14 +1,14 @@
|
|
|
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-B-b6tioh.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
5
|
import { r as m } from "./figure-format-B8kRZMlo.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-ClYRIRAq.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-FVsbFkUs.js";
|
|
11
|
-
import { n as O, r as k, t as A } from "./plot-surface-
|
|
11
|
+
import { n as O, r as k, t as A } from "./plot-surface-BlR44uTL.js";
|
|
12
12
|
import { t as ee } from "./locate-Bcg3QcP4.js";
|
|
13
13
|
import * as j from "@stylexjs/stylex";
|
|
14
14
|
import { useId as M } from "react";
|
|
@@ -3,16 +3,16 @@ import { k as t } from "./src-9EJskqB_.js";
|
|
|
3
3
|
import { b as n, v as r } from "./src-Dxs3Buo_.js";
|
|
4
4
|
import { t as i } from "./forms-CEbwzlRR.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-B-b6tioh.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
9
|
import { r as y } from "./figure-format-B8kRZMlo.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-ClYRIRAq.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-FVsbFkUs.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-BlR44uTL.js";
|
|
16
16
|
import { n as E, r as D } from "./path-BglsXpnO.js";
|
|
17
17
|
import { t as O } from "./color-legend-CIo7DhXB.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";
|
package/dist/feedback.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as AsyncRegion, c as ButtonPlaceholder, n as ContentReveal, p as EmptyState, l as FieldPlaceholder, r as LoadingScope, o as Meter, m as Notice, s as Progress, u as Skeleton, d as SkeletonText, f as Spinner, i as Toaster, a as toast } from "./src-
|
|
1
|
+
export { t as AsyncRegion, c as ButtonPlaceholder, n as ContentReveal, p as EmptyState, l as FieldPlaceholder, r as LoadingScope, o as Meter, m as Notice, s as Progress, u as Skeleton, d as SkeletonText, f as Spinner, i as Toaster, a as toast } from "./src-C-Wg9m9H.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as e } from "./tokens.stylex-dF5CACEJ.js";
|
|
2
2
|
import { t } from "./accessibility-P89UG9-r.js";
|
|
3
3
|
import { t as n } from "./src-9EJskqB_.js";
|
|
4
|
-
import { d as r, m as i, u as a } from "./src-
|
|
5
|
-
import { T as o, b as s, c, w as l } from "./plot-layout-
|
|
4
|
+
import { d as r, m as i, u as a } from "./src-C-Wg9m9H.js";
|
|
5
|
+
import { T as o, b as s, c, w as l } from "./plot-layout-B-b6tioh.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-Dxs3Buo_.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-
|
|
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-B-b6tioh.js";
|
|
5
5
|
import { r as u } from "./figure-format-B8kRZMlo.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-ClYRIRAq.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-
|
|
1
|
+
import { T as e } from "../plot-layout-B-b6tioh.js";
|
|
2
2
|
import { r as t } from "../figure-format-B8kRZMlo.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-
|
|
5
|
-
import { d as o, g as s, u as c } from "../src-
|
|
4
|
+
import { n as i, r as a } from "../figure-frame-ClYRIRAq.js";
|
|
5
|
+
import { d as o, g as s, u as c } from "../src-4qgpiWvP.js";
|
|
6
6
|
import { n as l, t as u } from "../chart-link-AE_xuxiP.js";
|
|
7
7
|
import { a as d, i as f, o as p, r as m, t as h } from "../cells-BTTLURWI.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-BeHhL-01.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,17 +1,17 @@
|
|
|
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-o_9l6vaq.js";
|
|
2
|
+
import { a as t, c as n, f as r, o as i, r as a, t as o } from "../token-predictions-DaAztlOS.js";
|
|
3
3
|
import { T as s, m as c, t as l } from "../src-9EJskqB_.js";
|
|
4
|
-
import { m as u } from "../src-
|
|
4
|
+
import { m as u } from "../src-C-Wg9m9H.js";
|
|
5
5
|
import { n as d, t as f } from "../chart-link-AE_xuxiP.js";
|
|
6
|
-
import { r as p } from "../tree-diagram-
|
|
6
|
+
import { r as p } from "../tree-diagram-BDj4TGXb.js";
|
|
7
7
|
import { t as m } from "../tone-scope-DKiSw-JR.js";
|
|
8
|
-
import { d as h, l as g } from "../violin-plot-
|
|
8
|
+
import { d as h, l as g } from "../violin-plot-ULdC_dcY.js";
|
|
9
9
|
import { r as _ } from "../figure-format-B8kRZMlo.js";
|
|
10
|
-
import { t as v } from "../embedding-map-
|
|
10
|
+
import { t as v } from "../embedding-map-DbETVJXp.js";
|
|
11
11
|
import { n as y, t as b } from "../forms-CEbwzlRR.js";
|
|
12
12
|
import { o as x, t as S } from "../cells-BTTLURWI.js";
|
|
13
|
-
import { d as C, g as w, u as T } from "../src-
|
|
14
|
-
import { s as E } from "../slope-chart-
|
|
13
|
+
import { d as C, g as w, u as T } from "../src-4qgpiWvP.js";
|
|
14
|
+
import { s as E } from "../slope-chart-DTyF1lNG.js";
|
|
15
15
|
import { x as D } from "../src-Dxs3Buo_.js";
|
|
16
16
|
import * as O from "@stylexjs/stylex";
|
|
17
17
|
import { useId as k, useState as A } from "react";
|
package/dist/kits/operations.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as e } from "../dumbbell-plot-
|
|
1
|
+
import { a as e } from "../dumbbell-plot-BeHhL-01.js";
|
|
2
2
|
import { r as t } from "../figure-format-B8kRZMlo.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-9EJskqB_.js";
|
|
5
|
-
import { m as s } from "../src-
|
|
6
|
-
import { n as c } from "../waterfall-
|
|
7
|
-
import { r as l, s as u } from "../time-series-
|
|
8
|
-
import { i as d, r as f } from "../src-
|
|
5
|
+
import { m as s } from "../src-C-Wg9m9H.js";
|
|
6
|
+
import { n as c } from "../waterfall-BjUXqaWu.js";
|
|
7
|
+
import { r as l, s as u } from "../time-series-CoAtNizi.js";
|
|
8
|
+
import { i as d, r as f } from "../src-4qgpiWvP.js";
|
|
9
9
|
import "@stylexjs/stylex";
|
|
10
10
|
import { useId as p } from "react";
|
|
11
11
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
package/dist/kits/research.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as e, f as t, g as n, h as r, m as i, n as a, o, u as s, y as c } from "../src-
|
|
1
|
+
import { d as e, f as t, g as n, h as r, m as i, n as a, o, u as s, y as c } from "../src-4qgpiWvP.js";
|
|
2
2
|
import { c as l, f as u, h as d, l as f, m as p, o as m, p as h, r as g, t as _, v } from "../src-9EJskqB_.js";
|
|
3
|
-
import { m as y, p as b, s as x, t as S } from "../src-
|
|
3
|
+
import { m as y, p as b, s as x, t as S } from "../src-C-Wg9m9H.js";
|
|
4
4
|
import { u as C } from "../src-Dxs3Buo_.js";
|
|
5
|
-
import {
|
|
5
|
+
import { D as w, _ as T, i as E, n as D } from "../src-BqY5rsqi.js";
|
|
6
6
|
import { r as O } from "../figure-format-B8kRZMlo.js";
|
|
7
7
|
import { n as k } from "../src-na2DdkKI.js";
|
|
8
|
-
import { a as A, t as j } from "../tree-diagram-
|
|
9
|
-
import { f as M } from "../time-series-
|
|
8
|
+
import { a as A, t as j } from "../tree-diagram-BDj4TGXb.js";
|
|
9
|
+
import { f as M } from "../time-series-CoAtNizi.js";
|
|
10
10
|
import { t as N } from "../src-DFW49IAs.js";
|
|
11
11
|
import "@stylexjs/stylex";
|
|
12
12
|
import { useEffect as ee, useState as P } from "react";
|
package/dist/kits/training.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "../src-DIS0YOj0.js";
|
|
2
2
|
import { i as t, t as n } from "../tone-scope-DKiSw-JR.js";
|
|
3
|
-
import { r, s as i } from "../slope-chart-
|
|
4
|
-
import { m as a } from "../src-
|
|
5
|
-
import { T as o } from "../plot-layout-
|
|
3
|
+
import { r, s as i } from "../slope-chart-DTyF1lNG.js";
|
|
4
|
+
import { m as a } from "../src-C-Wg9m9H.js";
|
|
5
|
+
import { T as o } from "../plot-layout-B-b6tioh.js";
|
|
6
6
|
import { o as s, t as c } from "../cells-BTTLURWI.js";
|
|
7
7
|
import { r as l } from "../figure-format-B8kRZMlo.js";
|
|
8
|
-
import { d as u, g as d, u as f } from "../src-
|
|
8
|
+
import { d as u, g as d, u as f } from "../src-4qgpiWvP.js";
|
|
9
9
|
import { c as p, o as m } from "../src-9EJskqB_.js";
|
|
10
10
|
import "@stylexjs/stylex";
|
|
11
11
|
import { useState as h } from "react";
|
package/dist/layout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { d as AppShell, n as CollectionLayout, u as DetailPage, l as FigureGrid, c as FocusPage,
|
|
1
|
+
export { d as AppShell, n as CollectionLayout, u as DetailPage, h as DevToolsBar, l as FigureGrid, c as FocusPage, b as Navigation, x as NavigationItem, S as NavigationLink, p as NavigationRail, f as NavigationRailMenu, m as NavigationRailPlaceholder, C as NavigationSection, D as PageContent, _ as PageLayout, v as PageSection, t as RecordPage, s as Resizable, w as SidebarBrand, T as SidebarFooter, E as SidebarLabel, y as ToolbarAction, r as ViewStack, i as Workbench, a as WorkbenchFooter, o as WorkbenchScroll, g as useDevToolsBar } from "./src-BqY5rsqi.js";
|
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-
|
|
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-COShcQPh.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-
|
|
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-CY05-A1k.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";
|
|
@@ -1,95 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { s as t } from "../src-na2DdkKI.js";
|
|
3
|
-
import { n } from "../navigation-CveMIuXI.js";
|
|
4
|
-
import * as r from "@stylexjs/stylex";
|
|
5
|
-
import { useEffect as i, useEffectEvent as a } from "react";
|
|
6
|
-
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
|
-
import { matchesShortcut as c } from "@ui-sdk/core/shortcuts";
|
|
8
|
-
import { Command as l, CommandEmpty as u, CommandInput as d, CommandItem as f, CommandList as p } from "@ui-sdk/react/command";
|
|
9
|
-
import { useShortcutHint as m } from "@ui-sdk/react/shortcuts";
|
|
10
|
-
// packages/navigation/src/commands/command.tsx
|
|
11
|
-
function h(e) {
|
|
12
|
-
return [
|
|
13
|
-
e.mod === !0 && "mod",
|
|
14
|
-
e.ctrl === !0 && "ctrl",
|
|
15
|
-
e.meta === !0 && "meta",
|
|
16
|
-
e.shift === !0 && "shift",
|
|
17
|
-
e.alt === !0 && "alt",
|
|
18
|
-
e.key
|
|
19
|
-
].filter(Boolean).join("+");
|
|
20
|
-
}
|
|
21
|
-
function g({ commands: e, target: t, isEnabled: n }) {
|
|
22
|
-
let r = a((t, n) => {
|
|
23
|
-
if (t.defaultPrevented || t.repeat || t.isComposing || t.target instanceof Element && t.target.closest("input, textarea, select, [contenteditable]:not([contenteditable=\"false\"])") !== null) return;
|
|
24
|
-
let r = e.find((e) => e.isDisabled === !0 || e.shortcut === void 0 ? !1 : c(t, h(e.shortcut)) && e.shouldRun?.(t) !== !1);
|
|
25
|
-
if (r === void 0) return;
|
|
26
|
-
let i = n.ownerDocument.querySelectorAll(":is(dialog[open], [role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], [role=\"listbox\"], [data-slot=\"popover-content\"]):not([data-closed])");
|
|
27
|
-
for (let e of i) if (e.getClientRects().length > 0 && !e.contains(n)) return;
|
|
28
|
-
t.preventDefault(), t.stopPropagation(), r.onSelect();
|
|
29
|
-
});
|
|
30
|
-
i(() => {
|
|
31
|
-
let e = t !== null && "current" in t ? t.current : t;
|
|
32
|
-
if (!n || e === null) return;
|
|
33
|
-
let i = e;
|
|
34
|
-
function a(e) {
|
|
35
|
-
r(e, i);
|
|
36
|
-
}
|
|
37
|
-
return e.addEventListener("keydown", a), () => e.removeEventListener("keydown", a);
|
|
38
|
-
}, [n, t]);
|
|
39
|
-
}
|
|
40
|
-
function _({ shortcut: e }) {
|
|
41
|
-
let { text: t } = m(h(e));
|
|
42
|
-
return /* @__PURE__ */ o(n, { children: t });
|
|
43
|
-
}
|
|
44
|
-
function v({ open: n, onOpenChange: i, title: a, commands: c, trigger: m, placeholder: h = "Search commands…", empty: g = "No matching commands" }) {
|
|
45
|
-
return /* @__PURE__ */ s(t.Root, {
|
|
46
|
-
open: n,
|
|
47
|
-
onOpenChange: i,
|
|
48
|
-
children: [
|
|
49
|
-
m !== void 0 && /* @__PURE__ */ o(t.Trigger, { render: m }),
|
|
50
|
-
/* @__PURE__ */ o(t.Backdrop, { motion: "none" }),
|
|
51
|
-
/* @__PURE__ */ o(t.Popup, {
|
|
52
|
-
motion: "none",
|
|
53
|
-
children: /* @__PURE__ */ s("div", {
|
|
54
|
-
className: "x78zum5 xdt5ytf x1n8ia3y",
|
|
55
|
-
children: [/* @__PURE__ */ o(t.Title, { children: a }), /* @__PURE__ */ s(l, {
|
|
56
|
-
filter: "contains",
|
|
57
|
-
onAction: (e) => {
|
|
58
|
-
let t = c.find((t) => t.id === e && t.isDisabled !== !0);
|
|
59
|
-
t !== void 0 && (i(!1), t.onSelect());
|
|
60
|
-
},
|
|
61
|
-
className: "x78zum5 xdt5ytf x1n8ia3y",
|
|
62
|
-
children: [
|
|
63
|
-
/* @__PURE__ */ o(d, {
|
|
64
|
-
"aria-label": h,
|
|
65
|
-
placeholder: h,
|
|
66
|
-
...r.props(e.base, e.field, e.singleLineField, e.textFieldState)
|
|
67
|
-
}),
|
|
68
|
-
/* @__PURE__ */ o(p, {
|
|
69
|
-
className: "x1717udv x1ghz6dp x1sslpiy x1odjw0f xish69e",
|
|
70
|
-
children: c.map((e) => /* @__PURE__ */ s(f, {
|
|
71
|
-
value: e.id,
|
|
72
|
-
label: e.label,
|
|
73
|
-
disabled: e.isDisabled === !0,
|
|
74
|
-
className: "x78zum5 x9f619 x6s0dn4 xaml1ju x17tes2r x17oiadl xn9t2bk x5g2kb4 x1ok0vyi xbixft xpvm0e4 x1hz01jw xj57cvi xtqrqnz x1778rvt x1ypdohk xf2ykmf x1480za7 xd12npn xwj21n9 x1m8qfh3",
|
|
75
|
-
children: [/* @__PURE__ */ s("span", {
|
|
76
|
-
className: "x98rzlu xeuugli xj0a0fe",
|
|
77
|
-
children: [e.label, e.description !== void 0 && /* @__PURE__ */ o("span", {
|
|
78
|
-
className: "x1lliihq x153jb6y xy8obcc xas2l8k",
|
|
79
|
-
children: e.description
|
|
80
|
-
})]
|
|
81
|
-
}), e.shortcut !== void 0 && /* @__PURE__ */ o(_, { shortcut: e.shortcut })]
|
|
82
|
-
}, e.id))
|
|
83
|
-
}),
|
|
84
|
-
/* @__PURE__ */ o(u, {
|
|
85
|
-
className: "x1c8xbx5 x153jb6y xtqrqnz xjl7jj",
|
|
86
|
-
children: g
|
|
87
|
-
})
|
|
88
|
-
]
|
|
89
|
-
})]
|
|
90
|
-
})
|
|
91
|
-
})
|
|
92
|
-
]
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
export { v as CommandPalette, _ as ShortcutHint, g as useCommandShortcuts };
|
|
1
|
+
export { t as CommandPalette, n as ShortcutHint, r as useCommandShortcuts } from "../commands-D0bF2JxV.js";
|
|
@@ -56,6 +56,8 @@ export type EventStripProps = FigureProps & FigureSelectionProps & EventStripTim
|
|
|
56
56
|
/** Optional time-window presets rendered in the figure header. */
|
|
57
57
|
readonly windows?: ReadonlyArray<EventStripWindow> | undefined;
|
|
58
58
|
readonly defaultWindowId?: string | undefined;
|
|
59
|
+
readonly windowId?: string | undefined;
|
|
60
|
+
readonly onWindowChange?: ((id: string) => void) | undefined;
|
|
59
61
|
/**
|
|
60
62
|
* The lane-label gutter's width in pixels, which strips stacked in a column pass the same from `eventStripGutter`
|
|
61
63
|
* over all their lanes so their time axes line up. A label longer than the gutter is cut with an ellipsis and keeps
|
|
@@ -16,9 +16,10 @@ type AppShellProps = {
|
|
|
16
16
|
readonly sidebarHeader?: ReactNode;
|
|
17
17
|
readonly sidebar: ReactNode;
|
|
18
18
|
readonly footer?: ReactNode;
|
|
19
|
+
readonly bottomBar?: ReactNode;
|
|
19
20
|
readonly children: ReactNode;
|
|
20
21
|
readonly mainId?: string;
|
|
21
22
|
readonly shouldFocus?: boolean;
|
|
22
23
|
};
|
|
23
|
-
export declare function AppShell({ rail, railFooter, sidebarHeader, sidebar, footer, children, mainId, shouldFocus, }: AppShellProps): ReactNode;
|
|
24
|
+
export declare function AppShell({ rail, railFooter, sidebarHeader, sidebar, footer, bottomBar, children, mainId, shouldFocus, }: AppShellProps): ReactNode;
|
|
24
25
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { PageLayout, PageSection } from './page-layout.tsx';
|
|
2
|
+
export { DevToolsBar, useDevToolsBar } from './devtools-bar.tsx';
|
|
2
3
|
export { AppShell } from './app-shell.tsx';
|
|
3
4
|
export { NavigationRail, NavigationRailPlaceholder } from './navigation-rail.tsx';
|
|
4
5
|
export type { NavigationRailLink, NavigationRailProps } from './navigation-rail.tsx';
|