@mechane-ai/elements 0.48.0 → 0.49.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 +5 -5
- package/dist/{article-BXZr10QQ.js → article-yyNPg6VU.js} +10 -10
- package/dist/article.js +1 -1
- package/dist/catalog.json +215 -1
- package/dist/{categorical-values-BpVq8cFj.js → categorical-values-DCznViFp.js} +1 -1
- package/dist/{cells-xVmnQ9oQ.js → cells-CNZE4us2.js} +2 -2
- 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 +1 -1
- package/dist/charts/plot.js +6 -6
- 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/{code-block-DioAM2bZ.js → code-block-BZsY2sh3.js} +1 -1
- package/dist/collections.js +1 -1
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +3 -3
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +2 -2
- package/dist/content/tree.js +1 -1
- package/dist/{content-link-NWuHp5rC.js → content-link-PnpcnTCx.js} +1 -1
- package/dist/content.js +1 -1
- package/dist/{dates-Cww8UR_n.js → dates-ckJdYF7t.js} +1 -1
- package/dist/{dumbbell-plot-DQdTxDeO.js → dumbbell-plot-CMv9llfd.js} +7 -6
- package/dist/{embedding-map-CF-J-8JW.js → embedding-map-DC-lgzCq.js} +8 -8
- package/dist/feedback.js +1 -1
- package/dist/{figure-frame-BJ3REgTA.js → figure-frame-BjFzbl3m.js} +3 -3
- package/dist/forms/dates.js +1 -1
- package/dist/forms.js +3 -3
- package/dist/{image-grid-Dl2sjIMB.js → image-grid-DHqtj_zs.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/kits/evaluation.js +5 -5
- package/dist/kits/interpretability.js +320 -302
- package/dist/kits/operations.js +6 -6
- package/dist/kits/research.js +558 -0
- package/dist/kits/training.js +6 -6
- package/dist/layout.js +205 -110
- package/dist/lesson.js +2 -2
- package/dist/mdx.js +6 -6
- package/dist/navigation.js +2 -2
- package/dist/packages/charts/src/cartesian/index.d.ts +1 -1
- package/dist/packages/charts/src/cartesian/scatter-plot.d.ts +18 -0
- package/dist/packages/charts/src/chart-theme.d.ts +1 -1
- package/dist/packages/charts/src/plot/plot-surface.d.ts +3 -1
- package/dist/packages/collections/src/index.d.ts +1 -1
- package/dist/packages/collections/src/metrics.d.ts +9 -1
- package/dist/packages/content/src/index.d.ts +2 -0
- package/dist/packages/content/src/text-match.d.ts +22 -0
- package/dist/packages/core/src/index.d.ts +1 -0
- package/dist/packages/core/src/surfaces.d.ts +12 -2
- package/dist/packages/forms/src/index.d.ts +2 -0
- package/dist/packages/forms/src/token-input.d.ts +24 -0
- package/dist/packages/kits/src/interpretability/index.d.ts +1 -1
- package/dist/packages/kits/src/interpretability/logit-lens.d.ts +10 -1
- package/dist/packages/kits/src/research/finding-card.d.ts +43 -0
- package/dist/packages/kits/src/research/index.d.ts +8 -0
- package/dist/packages/kits/src/research/milestone-path.d.ts +36 -0
- package/dist/packages/kits/src/research/specimen-diff.d.ts +41 -0
- package/dist/packages/kits/src/research/work-heartbeat.d.ts +34 -0
- package/dist/packages/layout/src/figure-grid.d.ts +8 -0
- package/dist/packages/layout/src/index.d.ts +4 -1
- package/dist/packages/layout/src/sidebar.d.ts +7 -0
- package/dist/packages/layout/src/workbench.d.ts +4 -1
- package/dist/{param-CqKUTHaO.js → param-BE3VMSkH.js} +18 -18
- package/dist/{pierre-diff-DlvjyuJn.js → pierre-diff-aGyQK5xK.js} +1 -1
- package/dist/{plot-axes-DJkLW4wk.js → plot-axes-D5S9BnBa.js} +1 -1
- package/dist/{plot-layout-CZVSJ-le.js → plot-layout-Bqe4-0qZ.js} +2 -2
- package/dist/{plot-marks-uozcbOIX.js → plot-marks-FVsbFkUs.js} +3 -3
- package/dist/{plot-surface-CbVBvgqZ.js → plot-surface-DON6WUmk.js} +11 -11
- package/dist/{plot-width-DcqtSgzb.js → plot-width-D3hTycYX.js} +1 -1
- package/dist/{reference-lines-BDcttOp0.js → reference-lines-hjuD1rRZ.js} +2 -2
- package/dist/{scene-0z2gbaDE.js → scene-BP0Ue0R5.js} +8 -8
- package/dist/scene.js +1 -1
- package/dist/{slope-chart-BKVEAVCs.js → slope-chart-C8eeSgL4.js} +7 -7
- package/dist/{src-CpdJlDhO.js → src-9EJskqB_.js} +73 -31
- package/dist/{src-Dcfq8vE4.js → src-B2rgpWap.js} +48 -14
- package/dist/{src-BPTDJqt0.js → src-Ci8DeY8J.js} +1 -1
- package/dist/{src-CGc_hjxJ.js → src-DFW49IAs.js} +143 -111
- package/dist/{src-BD6xlvDt.js → src-Dxs3Buo_.js} +203 -137
- package/dist/{src-CExIrXPC.js → src-npqwq3Sa.js} +1 -1
- package/dist/styles2.css +67 -3
- package/dist/{time-series-BgzGNOk0.js → time-series-BL933QyA.js} +783 -713
- package/dist/{token-heatmap-BrW1OsKD.js → token-heatmap-BB65awva.js} +4 -4
- package/dist/{token-predictions-yerq_Oet.js → token-predictions-Pa8eUGan.js} +6 -6
- package/dist/{transport-BJweqDPj.js → transport-DzyxVXbL.js} +30 -30
- package/dist/{tree-diagram-D09BRqE-.js → tree-diagram-DJhKBiia.js} +6 -6
- package/dist/{treemap-CW4WsJNL.js → treemap-CxxgABUg.js} +5 -5
- package/dist/{violin-plot-DrtPZ1-T.js → violin-plot-CoAEF_7Z.js} +6 -6
- package/dist/{waterfall-DYLSnGjm.js → waterfall-DdoEXEkT.js} +7 -7
- package/package.json +5 -1
- package/skills/use-elements/references/kits.md +7 -6
|
@@ -5,7 +5,7 @@ export { BreakdownBar } from './breakdown-bar.tsx';
|
|
|
5
5
|
export type { BridgeChartProps, BridgeStep } from './bridge-chart.tsx';
|
|
6
6
|
export { BridgeChart } from './bridge-chart.tsx';
|
|
7
7
|
export type { ChartReferenceLine } from './reference-lines.tsx';
|
|
8
|
-
export type { ScatterPoint, ScatterRange, ScatterRangeDetails, ScatterPlotProps } from './scatter-plot.tsx';
|
|
8
|
+
export type { ScatterDiagonal, ScatterPoint, ScatterRange, ScatterRangeDetails, ScatterPlotProps, } from './scatter-plot.tsx';
|
|
9
9
|
export { ScatterPlot, scatterLimits } from './scatter-plot.tsx';
|
|
10
10
|
export type { SparklineLayout, SparklineProps, SparklinePoint } from './sparkline.tsx';
|
|
11
11
|
export { Sparkline } from './sparkline.tsx';
|
|
@@ -5,6 +5,7 @@ import type { ChartTone } from '../../../foundations/src/chart-tones.ts';
|
|
|
5
5
|
import type { FigureProps, FigureSelectionProps } from '../figure/figure-props.ts';
|
|
6
6
|
import type { PlotAxis, PlotHeight } from '../plot/plot-layout.ts';
|
|
7
7
|
import type { NumericDomain } from '../plot/scale.ts';
|
|
8
|
+
import type { ChartReferenceLine } from './reference-lines.tsx';
|
|
8
9
|
/** One supplied coordinate pair with a stable id, so selection survives reordering. */
|
|
9
10
|
export type ScatterPoint = {
|
|
10
11
|
readonly id: string;
|
|
@@ -21,10 +22,27 @@ export type ScatterRange = {
|
|
|
21
22
|
type SliderDetails = Parameters<NonNullable<ComponentProps<typeof Slider.Root<[number, number]>>['onValueChange']>>[1];
|
|
22
23
|
/** Why the range changed: a drag on the plot, one of the bound sliders, or the clear button. */
|
|
23
24
|
export type ScatterRangeDetails = ChangeDetails<'drag' | 'clear-press'> | SliderDetails;
|
|
25
|
+
/** A dashed `y = x` identity reference line drawn across the overlapping x and y domains. */
|
|
26
|
+
export type ScatterDiagonal = {
|
|
27
|
+
/** Caption drawn beside the diagonal line (such as `"y = x"`). */
|
|
28
|
+
readonly label?: string | undefined;
|
|
29
|
+
/** Quiet region caption in the upper-left (`y > x`) half of the plot. */
|
|
30
|
+
readonly aboveLabel?: string | undefined;
|
|
31
|
+
/** Quiet region caption in the lower-right (`y < x`) half of the plot. */
|
|
32
|
+
readonly belowLabel?: string | undefined;
|
|
33
|
+
};
|
|
24
34
|
export type ScatterPlotProps = FigureProps & FigureSelectionProps & {
|
|
25
35
|
readonly points: ReadonlyArray<ScatterPoint>;
|
|
26
36
|
readonly x: PlotAxis;
|
|
27
37
|
readonly y: PlotAxis;
|
|
38
|
+
/** Optional `y = x` reference diagonal (true or labelled regions) for paired/generalization plots. */
|
|
39
|
+
readonly referenceDiagonal?: boolean | ScatterDiagonal | undefined;
|
|
40
|
+
/** Optional dashed horizontal reference lines on the y axis (such as a baseline or ceiling). */
|
|
41
|
+
readonly referenceLines?: ReadonlyArray<ChartReferenceLine> | undefined;
|
|
42
|
+
/** Ordered point ids connected by a dashed Pareto/frontier line. Computed by the application. */
|
|
43
|
+
readonly frontier?: ReadonlyArray<string> | undefined;
|
|
44
|
+
/** Point ids that carry a direct haloed label beside their mark. */
|
|
45
|
+
readonly labeledIds?: ReadonlyArray<string> | undefined;
|
|
28
46
|
/** The coordinate range the application holds, or null for none. */
|
|
29
47
|
readonly range?: ScatterRange | null | undefined;
|
|
30
48
|
/** Asks the application to set or clear the range. With it, the plot offers a drag and two range sliders. */
|
|
@@ -94,6 +94,6 @@ export declare const chartStyles: Readonly<{
|
|
|
94
94
|
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", string>;
|
|
95
95
|
}>;
|
|
96
96
|
readonly receded: Readonly<{
|
|
97
|
-
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.
|
|
97
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.45>;
|
|
98
98
|
}>;
|
|
99
99
|
}>;
|
|
@@ -26,7 +26,9 @@ export type PlotSurfaceProps = {
|
|
|
26
26
|
*/
|
|
27
27
|
export declare function PlotSurface({ plotRef, box, label, readoutId, children, overlay, onPointerDown, }: PlotSurfaceProps): ReactNode;
|
|
28
28
|
/** Keeps marks inside the axes. Wrap the marks, never the axes or the labels beside them. */
|
|
29
|
-
export declare function PlotClip({ box, children }: {
|
|
29
|
+
export declare function PlotClip({ box, pad, children, }: {
|
|
30
30
|
readonly box: PlotBox;
|
|
31
|
+
/** Optional pixel margin around the plot inner area so boundary dot marks are not half-clipped. */
|
|
32
|
+
readonly pad?: number | undefined;
|
|
31
33
|
readonly children: ReactNode;
|
|
32
34
|
}): ReactNode;
|
|
@@ -13,7 +13,7 @@ export type { InspectorProps } from './inspector.tsx';
|
|
|
13
13
|
export { Inspector, Details } from './inspector.tsx';
|
|
14
14
|
export { ListFooter } from './list-footer.tsx';
|
|
15
15
|
export { MetricGrid, Metric } from './metrics.tsx';
|
|
16
|
-
export type { MetricGridProps, MetricProps } from './metrics.tsx';
|
|
16
|
+
export type { MetricChange, MetricGridProps, MetricProps } from './metrics.tsx';
|
|
17
17
|
export type { TimestampProps } from './timestamp.tsx';
|
|
18
18
|
export { Timestamp } from './timestamp.tsx';
|
|
19
19
|
export { Timeline } from './timeline.tsx';
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as stylex from '@stylexjs/stylex';
|
|
2
2
|
import type { ComponentProps, ReactElement, ReactNode } from 'react';
|
|
3
|
+
export type MetricChange = {
|
|
4
|
+
readonly value: string;
|
|
5
|
+
readonly tone?: 'positive' | 'negative' | 'neutral';
|
|
6
|
+
};
|
|
3
7
|
type MetricLayout = 'inline' | 'columns';
|
|
4
8
|
declare const variants: {
|
|
5
9
|
inline: {
|
|
@@ -55,6 +59,10 @@ export type MetricProps = Omit<ComponentProps<'div'>, 'children' | 'dangerouslyS
|
|
|
55
59
|
readonly label: string;
|
|
56
60
|
readonly variant?: MetricVariant;
|
|
57
61
|
readonly trend?: ReactElement;
|
|
62
|
+
/** Optional signed delta badge drawn beside the value (such as `+20.9% vs starter`). */
|
|
63
|
+
readonly change?: MetricChange | undefined;
|
|
64
|
+
/** Optional target or ceiling reference shown quietly below the detail line. */
|
|
65
|
+
readonly target?: string | undefined;
|
|
58
66
|
} & ({
|
|
59
67
|
readonly isLoading?: false;
|
|
60
68
|
readonly value: string;
|
|
@@ -67,5 +75,5 @@ export type MetricProps = Omit<ComponentProps<'div'>, 'children' | 'dangerouslyS
|
|
|
67
75
|
readonly hasDetail?: boolean;
|
|
68
76
|
});
|
|
69
77
|
export declare function MetricGrid({ layout, ...props }: MetricGridProps): ReactNode;
|
|
70
|
-
export declare function Metric({ label, value, detail, isLoading, hasDetail, variant, trend, ...props }: MetricProps): ReactNode;
|
|
78
|
+
export declare function Metric({ label, value, detail, change, target, isLoading, hasDetail, variant, trend, ...props }: MetricProps): ReactNode;
|
|
71
79
|
export {};
|
|
@@ -8,3 +8,5 @@ export type { StackFrame, StackTraceProps } from './stack-trace.tsx';
|
|
|
8
8
|
export { StackTrace } from './stack-trace.tsx';
|
|
9
9
|
export type { TraceStatus, TraceRootProps, TraceGroupProps, TraceItemProps } from './trace.tsx';
|
|
10
10
|
export { Trace } from './trace.tsx';
|
|
11
|
+
export type { MatchRange, MatchSegment, TextMatchMode, TextMatchProps, TextMatchTone } from './text-match.tsx';
|
|
12
|
+
export { fuzzyScore, matchRanges, matchSegments, TextMatch } from './text-match.tsx';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { MatchRange } from '@ui-sdk/react/text-match';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
export type TextMatchTone = 'warning' | 'accent' | 'danger';
|
|
4
|
+
export type TextMatchMode = 'contains' | 'startsWith' | 'fuzzy';
|
|
5
|
+
export type TextMatchProps = {
|
|
6
|
+
/** The full string to display. */
|
|
7
|
+
readonly text: string;
|
|
8
|
+
/** Highlight tone for matched ranges. Defaults to `'warning'`. */
|
|
9
|
+
readonly tone?: TextMatchTone;
|
|
10
|
+
/** Matching strategy when `query` is supplied. Defaults to `'contains'`. */
|
|
11
|
+
readonly mode?: TextMatchMode;
|
|
12
|
+
} & ({
|
|
13
|
+
readonly query: string;
|
|
14
|
+
readonly ranges?: never;
|
|
15
|
+
} | {
|
|
16
|
+
readonly ranges: ReadonlyArray<MatchRange>;
|
|
17
|
+
readonly query?: never;
|
|
18
|
+
});
|
|
19
|
+
/** Highlights matching spans of text using `@ui-sdk/react/text-match`, for search hits or token callouts. */
|
|
20
|
+
export declare function TextMatch({ text, query, ranges, tone, mode }: TextMatchProps): ReactNode;
|
|
21
|
+
export { fuzzyScore, matchRanges, matchSegments } from '@ui-sdk/react/text-match';
|
|
22
|
+
export type { MatchRange, MatchSegment } from '@ui-sdk/react/text-match';
|
|
@@ -9,6 +9,7 @@ export { AgentAvatar, agentAppearance, agentAvatarColors } from './agent-avatar.
|
|
|
9
9
|
export { CopyValue } from './copy-value.tsx';
|
|
10
10
|
export { RouteLink } from './route-link.tsx';
|
|
11
11
|
export { Accordion, Collapsible } from './disclosure.tsx';
|
|
12
|
+
export type { PanelProps } from './surfaces.tsx';
|
|
12
13
|
export { Panel, SurfaceLink, Row, Stack, Columns, Divider } from './surfaces.tsx';
|
|
13
14
|
export { SectionHeading } from './section-heading.tsx';
|
|
14
15
|
export type { SectionHeadingProps } from './section-heading.tsx';
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import type { ComponentProps, ReactNode } from 'react';
|
|
2
2
|
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
3
|
-
type PanelProps = ComponentProps<'section'> & {
|
|
3
|
+
export type PanelProps = Omit<ComponentProps<'section'>, 'title'> & {
|
|
4
4
|
readonly isPadded?: boolean;
|
|
5
|
+
/** Integrated technical-sheet title bar; when set, `Panel` renders a framed header strip. */
|
|
6
|
+
readonly title?: string | undefined;
|
|
7
|
+
/** Optional short index label (such as `"A"`, `"B"`, `"01"`) shown beside `title`. */
|
|
8
|
+
readonly index?: string | undefined;
|
|
9
|
+
/** Right-aligned scope, unit, or compact actions inside the header strip. */
|
|
10
|
+
readonly meta?: ReactNode;
|
|
11
|
+
/** Provenance or footnote bar anchored at the bottom of the panel. */
|
|
12
|
+
readonly footer?: ReactNode;
|
|
13
|
+
/** Removes inner body padding so tables or full-bleed visuals share the panel's outer border. */
|
|
14
|
+
readonly isFlush?: boolean;
|
|
5
15
|
};
|
|
6
16
|
type SurfaceLinkProps = ComponentProps<'a'> & {
|
|
7
17
|
readonly xstyle?: PlacementStyle;
|
|
@@ -14,7 +24,7 @@ type StackProps = ComponentProps<'div'> & {
|
|
|
14
24
|
};
|
|
15
25
|
type ColumnsProps = ComponentProps<'div'>;
|
|
16
26
|
type DividerProps = ComponentProps<'hr'>;
|
|
17
|
-
export declare function Panel({ isPadded, ...props }: PanelProps): ReactNode;
|
|
27
|
+
export declare function Panel({ isPadded, title, index, meta, footer, isFlush, children, ...props }: PanelProps): ReactNode;
|
|
18
28
|
export declare function SurfaceLink({ xstyle, ...props }: SurfaceLinkProps): ReactNode;
|
|
19
29
|
export declare function Row({ shouldSpaceBetween, ...props }: RowProps): ReactNode;
|
|
20
30
|
export declare function Stack({ isCompact, ...props }: StackProps): ReactNode;
|
|
@@ -17,3 +17,5 @@ export type { SettingsRowProps } from './settings-row.tsx';
|
|
|
17
17
|
export { SettingsRow } from './settings-row.tsx';
|
|
18
18
|
export type { SettingsSectionProps } from './settings-section.tsx';
|
|
19
19
|
export { SettingsSection } from './settings-section.tsx';
|
|
20
|
+
export type { Token, TokenInputEditorProps, TokenInputRootProps, TokenInputTokenProps, TokenInputTokenRemoveProps, TokenInputValue, TokenInputValueChangeDetails, } from './token-input.tsx';
|
|
21
|
+
export { defaultCodec, fromText, toLabel, TokenInput, toText } from './token-input.tsx';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TokenInputEditor as SdkTokenInputEditor, TokenInputToken as SdkTokenInputToken, TokenInputTokenRemove as SdkTokenInputTokenRemove } from '@ui-sdk/react/token-input';
|
|
2
|
+
import type { TokenInputEditorProps as SdkEditorProps, TokenInputProps as SdkTokenInputProps } from '@ui-sdk/react/token-input';
|
|
3
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
4
|
+
import type { ControlDensity } from '../../foundations/src/control-density.ts';
|
|
5
|
+
import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
|
|
6
|
+
export type TokenInputRootProps = SdkTokenInputProps;
|
|
7
|
+
export type TokenInputEditorProps = Omit<ComponentProps<typeof SdkTokenInputEditor>, 'children'> & SdkEditorProps & {
|
|
8
|
+
readonly density?: ControlDensity;
|
|
9
|
+
readonly xstyle?: PlacementStyle;
|
|
10
|
+
};
|
|
11
|
+
export type TokenInputTokenProps = ComponentProps<typeof SdkTokenInputToken>;
|
|
12
|
+
export type TokenInputTokenRemoveProps = ComponentProps<typeof SdkTokenInputTokenRemove>;
|
|
13
|
+
declare function TokenInputRoot(props: TokenInputRootProps): ReactNode;
|
|
14
|
+
declare function TokenInputEditor({ className, style, density, xstyle, placeholder, ...props }: TokenInputEditorProps): ReactNode;
|
|
15
|
+
declare function TokenInputToken({ className, style, ...props }: TokenInputTokenProps): ReactNode;
|
|
16
|
+
declare function TokenInputTokenRemove({ className, style, children, ...props }: TokenInputTokenRemoveProps): ReactNode;
|
|
17
|
+
export declare const TokenInput: {
|
|
18
|
+
Root: typeof TokenInputRoot;
|
|
19
|
+
Editor: typeof TokenInputEditor;
|
|
20
|
+
Token: typeof TokenInputToken;
|
|
21
|
+
TokenRemove: typeof TokenInputTokenRemove;
|
|
22
|
+
};
|
|
23
|
+
export { defaultCodec, fromText, toLabel, toText } from '@ui-sdk/react/token-input';
|
|
24
|
+
export type { Token, TokenInputValue, TokenInputValueChangeDetails } from '@ui-sdk/react/token-input';
|
|
@@ -10,7 +10,7 @@ export type { FeatureListLabels, FeatureListProps, FeatureListRow } from './feat
|
|
|
10
10
|
export { FeatureList } from './feature-list.tsx';
|
|
11
11
|
export type { FeatureCardData, FeatureDensity, FeatureExamples, FeatureLogit, FeatureLogits, FeatureSummary, InterpretabilityChangeDetails, } from './features.ts';
|
|
12
12
|
export { featureLimits } from './features.ts';
|
|
13
|
-
export type { LensLayer, LensTrack, LogitLensLabels, LogitLensProps } from './logit-lens.tsx';
|
|
13
|
+
export type { LensLayer, LensLayerGroup, LensTrack, LogitLensLabels, LogitLensProps } from './logit-lens.tsx';
|
|
14
14
|
export { LogitLens } from './logit-lens.tsx';
|
|
15
15
|
export type { SteeringCompletions, SteeringFeature, SteeringPanelLabels, SteeringPanelProps, } from './steering-panel.tsx';
|
|
16
16
|
export { SteeringPanel } from './steering-panel.tsx';
|
|
@@ -9,6 +9,13 @@ export type LensLayer = {
|
|
|
9
9
|
/** The layer's number, the horizontal position of its point in the curve. */
|
|
10
10
|
readonly depth: number;
|
|
11
11
|
};
|
|
12
|
+
/** A contiguous depth band (such as a loop pass or prelude/coda stage) marked along the lens curve. */
|
|
13
|
+
export type LensLayerGroup = {
|
|
14
|
+
readonly id: string;
|
|
15
|
+
readonly label: string;
|
|
16
|
+
readonly fromDepth: number;
|
|
17
|
+
readonly toDepth: number;
|
|
18
|
+
};
|
|
12
19
|
/** The probability of one chosen token at one position, read at each layer in `layers` order. */
|
|
13
20
|
export type LensTrack = {
|
|
14
21
|
readonly id: string;
|
|
@@ -34,6 +41,8 @@ export type LogitLensProps = Pick<FigureProps, 'title' | 'description' | 'locale
|
|
|
34
41
|
readonly cells: ReadonlyArray<TokenGridCell>;
|
|
35
42
|
/** The tokens to follow through the layers, for any positions the application chose. */
|
|
36
43
|
readonly tracks?: ReadonlyArray<LensTrack> | undefined;
|
|
44
|
+
/** Optional contiguous depth bands (such as loop passes) marked on the trajectory curve. */
|
|
45
|
+
readonly layerGroups?: ReadonlyArray<LensLayerGroup> | undefined;
|
|
37
46
|
/** How probabilities are written. Absent writes a percent. */
|
|
38
47
|
readonly valueFormat?: ValueFormat | undefined;
|
|
39
48
|
/** The cell in focus, as `tokenGridCellId(layerId, columnId)`. Its position's tracks are drawn as curves. */
|
|
@@ -47,4 +56,4 @@ export type LogitLensProps = Pick<FigureProps, 'title' | 'description' | 'locale
|
|
|
47
56
|
* that position, how the chosen tokens' probabilities change from layer to layer, while the application decodes every
|
|
48
57
|
* layer and supplies the cells and tracks.
|
|
49
58
|
*/
|
|
50
|
-
export declare function LogitLens({ columns, layers, cells, tracks, valueFormat, selected, onSelectedChange, labels: given, ...figure }: LogitLensProps): ReactNode;
|
|
59
|
+
export declare function LogitLens({ columns, layers, cells, tracks, layerGroups, valueFormat, selected, onSelectedChange, labels: given, ...figure }: LogitLensProps): ReactNode;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ValueFormat } from '../../../charts/src/index.ts';
|
|
3
|
+
export type FindingStatus = 'supported' | 'mixed' | 'falsified' | 'open';
|
|
4
|
+
export type FindingMetric = {
|
|
5
|
+
readonly label: string;
|
|
6
|
+
readonly value: number | null;
|
|
7
|
+
readonly format: ValueFormat;
|
|
8
|
+
readonly tone?: 'neutral' | 'positive' | 'warning' | 'negative' | undefined;
|
|
9
|
+
};
|
|
10
|
+
export type FindingSource = {
|
|
11
|
+
readonly id: string;
|
|
12
|
+
readonly label: string;
|
|
13
|
+
readonly href?: string | undefined;
|
|
14
|
+
readonly summary?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
export type FindingCardLabels = {
|
|
17
|
+
readonly limitation: string;
|
|
18
|
+
readonly details: string;
|
|
19
|
+
readonly sources: string;
|
|
20
|
+
readonly statusLabels: Readonly<Record<FindingStatus, string>>;
|
|
21
|
+
};
|
|
22
|
+
export type FindingCardProps = {
|
|
23
|
+
readonly title: string;
|
|
24
|
+
readonly claim: string;
|
|
25
|
+
readonly locale: string;
|
|
26
|
+
readonly status: FindingStatus;
|
|
27
|
+
readonly index?: string | undefined;
|
|
28
|
+
readonly limitation?: string | undefined;
|
|
29
|
+
readonly metrics?: ReadonlyArray<FindingMetric> | undefined;
|
|
30
|
+
readonly sources?: ReadonlyArray<FindingSource> | undefined;
|
|
31
|
+
readonly author?: string | undefined;
|
|
32
|
+
readonly recordedAt?: string | undefined;
|
|
33
|
+
readonly recordedLabel?: string | undefined;
|
|
34
|
+
/** Optional full methodology, notes, or raw markdown disclosed on demand. */
|
|
35
|
+
readonly details?: ReactNode;
|
|
36
|
+
readonly actions?: ReactNode;
|
|
37
|
+
readonly labels?: Partial<FindingCardLabels> | undefined;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* A framed scientific evidence card: headline claim, explicit limitation, declared metric chips, hover-previewable
|
|
41
|
+
* citations, and optional methodology disclosed on demand. Composes Elements families with zero custom SVG.
|
|
42
|
+
*/
|
|
43
|
+
export declare function FindingCard({ title, claim, locale, status, index, limitation, metrics, sources, author, recordedAt, recordedLabel, details, actions, labels: given, }: FindingCardProps): ReactNode;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type { FindingCardLabels, FindingCardProps, FindingMetric, FindingSource, FindingStatus, } from './finding-card.tsx';
|
|
2
|
+
export { FindingCard } from './finding-card.tsx';
|
|
3
|
+
export type { MilestoneKind, MilestonePathLabels, MilestonePathProps, ResearchMilestone } from './milestone-path.tsx';
|
|
4
|
+
export { MilestonePath } from './milestone-path.tsx';
|
|
5
|
+
export type { SpecimenDiffLabels, SpecimenDiffProps, SpecimenDiffRow, SpecimenFilter, SpecimenOutcome, } from './specimen-diff.tsx';
|
|
6
|
+
export { SpecimenDiff } from './specimen-diff.tsx';
|
|
7
|
+
export type { WorkHeartbeatLabels, WorkHeartbeatProps, WorkHeartbeatState, WorkProgress, WorkReportItem, } from './work-heartbeat.tsx';
|
|
8
|
+
export { WorkHeartbeat } from './work-heartbeat.tsx';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { FigureProps, FigureSelectionProps, ValueFormat } from '../../../charts/src/index.ts';
|
|
3
|
+
export type MilestoneKind = 'baseline' | 'result' | 'breakthrough' | 'counterexample' | 'decision';
|
|
4
|
+
export type ResearchMilestone = {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly parentId: string | null;
|
|
7
|
+
readonly label: string;
|
|
8
|
+
readonly kind: MilestoneKind;
|
|
9
|
+
readonly claim: string;
|
|
10
|
+
readonly limitation?: string | undefined;
|
|
11
|
+
readonly metric?: number | null | undefined;
|
|
12
|
+
readonly delta?: number | null | undefined;
|
|
13
|
+
readonly source?: string | undefined;
|
|
14
|
+
readonly wave?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
export type MilestonePathLabels = {
|
|
17
|
+
readonly metric: string;
|
|
18
|
+
readonly delta: string;
|
|
19
|
+
readonly limitation: string;
|
|
20
|
+
readonly source: string;
|
|
21
|
+
readonly selectHint: string;
|
|
22
|
+
readonly empty: string;
|
|
23
|
+
readonly kinds: Readonly<Record<MilestoneKind, string>>;
|
|
24
|
+
};
|
|
25
|
+
export type MilestonePathProps = Pick<FigureProps, 'title' | 'description' | 'locale' | 'status' | 'source' | 'transforms'> & FigureSelectionProps & {
|
|
26
|
+
readonly milestones: ReadonlyArray<ResearchMilestone>;
|
|
27
|
+
readonly valueLabel: string;
|
|
28
|
+
readonly valueFormat: ValueFormat;
|
|
29
|
+
readonly deltaFormat?: ValueFormat | undefined;
|
|
30
|
+
readonly labels?: Partial<MilestonePathLabels> | undefined;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* A branching progression of research milestones: baselines, breakthroughs, falsified counterexamples, and decisions
|
|
34
|
+
* composed from `TreeDiagram` with a linked evidence inspection panel. Draws no SVG of its own.
|
|
35
|
+
*/
|
|
36
|
+
export declare function MilestonePath({ milestones, valueLabel, valueFormat, deltaFormat, selected, onSelectedChange, labels: given, ...figure }: MilestonePathProps): ReactNode;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { FigureProps } from '../../../charts/src/index.ts';
|
|
3
|
+
export type SpecimenOutcome = 'gained' | 'regressed' | 'both_pass' | 'both_fail';
|
|
4
|
+
export type SpecimenFilter = 'all' | SpecimenOutcome;
|
|
5
|
+
export type SpecimenDiffRow = {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
readonly prompt: string;
|
|
8
|
+
readonly family: string;
|
|
9
|
+
readonly expected: string;
|
|
10
|
+
readonly baselineOutput: string;
|
|
11
|
+
readonly candidateOutput: string;
|
|
12
|
+
readonly outcome: SpecimenOutcome;
|
|
13
|
+
};
|
|
14
|
+
export type SpecimenDiffLabels = {
|
|
15
|
+
readonly breakdownTitle: string;
|
|
16
|
+
readonly all: string;
|
|
17
|
+
readonly gained: string;
|
|
18
|
+
readonly regressed: string;
|
|
19
|
+
readonly bothPass: string;
|
|
20
|
+
readonly bothFail: string;
|
|
21
|
+
readonly specimen: string;
|
|
22
|
+
readonly expected: string;
|
|
23
|
+
readonly baseline: string;
|
|
24
|
+
readonly candidate: string;
|
|
25
|
+
readonly outcome: string;
|
|
26
|
+
readonly empty: string;
|
|
27
|
+
};
|
|
28
|
+
export type SpecimenDiffProps = Pick<FigureProps, 'title' | 'description' | 'locale' | 'status' | 'source'> & {
|
|
29
|
+
readonly rows: ReadonlyArray<SpecimenDiffRow>;
|
|
30
|
+
readonly baselineLabel: string;
|
|
31
|
+
readonly candidateLabel: string;
|
|
32
|
+
readonly filter: SpecimenFilter;
|
|
33
|
+
readonly onFilterChange: (filter: SpecimenFilter) => void;
|
|
34
|
+
readonly onSelectRow?: ((row: SpecimenDiffRow) => void) | undefined;
|
|
35
|
+
readonly labels?: Partial<SpecimenDiffLabels> | undefined;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Paired before/after example inspection: a `BreakdownBar` of outcome flips above a searchable specimen table that
|
|
39
|
+
* highlights expected targets with `TextMatch`. Composes Elements families with zero custom SVG.
|
|
40
|
+
*/
|
|
41
|
+
export declare function SpecimenDiff({ rows, baselineLabel, candidateLabel, filter, onFilterChange, onSelectRow, labels: given, ...figure }: SpecimenDiffProps): ReactNode;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type WorkHeartbeatState = 'running' | 'completed' | 'blocked' | 'overdue' | 'stopped';
|
|
3
|
+
export type WorkProgress = {
|
|
4
|
+
readonly completed: number;
|
|
5
|
+
readonly total: number;
|
|
6
|
+
readonly unit: string;
|
|
7
|
+
};
|
|
8
|
+
export type WorkReportItem = {
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly title: string;
|
|
11
|
+
readonly state: WorkHeartbeatState;
|
|
12
|
+
readonly observedAt: string;
|
|
13
|
+
readonly observedLabel: string;
|
|
14
|
+
readonly executionRef?: string | undefined;
|
|
15
|
+
readonly nextCheckpoint?: string | undefined;
|
|
16
|
+
readonly progress?: WorkProgress | undefined;
|
|
17
|
+
};
|
|
18
|
+
export type WorkHeartbeatLabels = {
|
|
19
|
+
readonly title: string;
|
|
20
|
+
readonly empty: string;
|
|
21
|
+
readonly nextCheckpoint: string;
|
|
22
|
+
readonly states: Readonly<Record<WorkHeartbeatState, string>>;
|
|
23
|
+
};
|
|
24
|
+
export type WorkHeartbeatProps = {
|
|
25
|
+
readonly reports: ReadonlyArray<WorkReportItem>;
|
|
26
|
+
readonly locale: string;
|
|
27
|
+
readonly title?: string | undefined;
|
|
28
|
+
readonly labels?: Partial<WorkHeartbeatLabels> | undefined;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Displays reported execution checkpoints with explicit freshness and optional finite batch progress. The application
|
|
32
|
+
* owns the state (including when an expired report becomes `'overdue'`); the kit never infers failure from staleness.
|
|
33
|
+
*/
|
|
34
|
+
export declare function WorkHeartbeat({ reports, locale, title, labels: given }: WorkHeartbeatProps): ReactNode;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
export type FigureGridLayout = '2-up' | 'hero-aside' | '3-up';
|
|
3
|
+
export type FigureGridProps = ComponentProps<'div'> & {
|
|
4
|
+
/** Responsive multi-figure arrangement that collapses cleanly by container width. */
|
|
5
|
+
readonly layout?: FigureGridLayout;
|
|
6
|
+
};
|
|
7
|
+
/** Arranges sibling analytical figures on a responsive container-aware grid with shared spacing. */
|
|
8
|
+
export declare function FigureGrid({ layout, children, ...props }: FigureGridProps): ReactNode;
|
|
@@ -5,6 +5,8 @@ export type { NavigationRailLink, NavigationRailProps } from './navigation-rail.
|
|
|
5
5
|
export { NavigationRailMenu } from './navigation-rail-menu.tsx';
|
|
6
6
|
export type { NavigationRailMenuProps } from './navigation-rail-menu.tsx';
|
|
7
7
|
export { DetailPage } from './detail-page.tsx';
|
|
8
|
+
export type { FigureGridLayout, FigureGridProps } from './figure-grid.tsx';
|
|
9
|
+
export { FigureGrid } from './figure-grid.tsx';
|
|
8
10
|
export { FocusPage } from './focus-page.tsx';
|
|
9
11
|
export { Workbench, WorkbenchScroll, WorkbenchFooter } from './workbench.tsx';
|
|
10
12
|
export { ViewStack } from './view-stack.tsx';
|
|
@@ -17,4 +19,5 @@ export type { RecordPageBodyProps, RecordPageHeaderProps, RecordPageContentProps
|
|
|
17
19
|
export { RecordPage } from './record-page.tsx';
|
|
18
20
|
export type { ResizableRootProps, ResizablePaneProps, ResizableHandleProps } from './resizable.tsx';
|
|
19
21
|
export { Resizable } from './resizable.tsx';
|
|
20
|
-
export {
|
|
22
|
+
export type { SidebarBrandProps } from './sidebar.tsx';
|
|
23
|
+
export { Navigation, NavigationSection, NavigationItem, NavigationLink, SidebarBrand, SidebarLabel, SidebarFooter, } from './sidebar.tsx';
|
|
@@ -50,6 +50,13 @@ export declare function NavigationSection({ children, label, }: {
|
|
|
50
50
|
}): ReactNode;
|
|
51
51
|
export declare function NavigationItem({ children, icon, isSelected, shouldCloseOnActivate, onClick, className, style, ...props }: NavigationItemProps): ReactNode;
|
|
52
52
|
export declare function NavigationLink({ children, icon, isSelected, onClick, className, style, ...props }: NavigationLinkProps): ReactNode;
|
|
53
|
+
export type SidebarBrandProps = {
|
|
54
|
+
readonly title: string;
|
|
55
|
+
readonly subtitle?: string | undefined;
|
|
56
|
+
readonly icon?: ReactNode;
|
|
57
|
+
};
|
|
58
|
+
/** Fits a workspace title, optional subtitle, and optional icon cleanly inside the 48px sidebar header. */
|
|
59
|
+
export declare function SidebarBrand({ title, subtitle, icon }: SidebarBrandProps): ReactNode;
|
|
53
60
|
export declare function SidebarLabel({ children, shouldGrow }: SidebarLabelProps): ReactNode;
|
|
54
61
|
export declare function SidebarFooter({ children, layout }: SidebarFooterProps): ReactNode;
|
|
55
62
|
export declare function SidebarToggle(): ReactNode;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
export declare function Workbench({ header, children, inspector, }: {
|
|
2
|
+
export declare function Workbench({ header, children, inspector, isResizable, inspectorInitialPercent, }: {
|
|
3
3
|
readonly header?: ReactNode;
|
|
4
4
|
readonly children: ReactNode;
|
|
5
5
|
readonly inspector?: {
|
|
6
6
|
readonly label: string;
|
|
7
7
|
readonly content: ReactNode;
|
|
8
8
|
} | undefined;
|
|
9
|
+
/** Lets desktop readers drag the divider between the main column and the inspector pane. */
|
|
10
|
+
readonly isResizable?: boolean;
|
|
11
|
+
readonly inspectorInitialPercent?: number;
|
|
9
12
|
}): ReactNode;
|
|
10
13
|
export declare function WorkbenchScroll({ label, children, isFlush, scrollRestorationId, }: {
|
|
11
14
|
readonly label: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as e, m as t } from "./src-Dxs3Buo_.js";
|
|
2
2
|
import { r as n } from "./figure-format-B8kRZMlo.js";
|
|
3
3
|
import "@stylexjs/stylex";
|
|
4
4
|
import { createParts as r } from "@ui-sdk/react/primitive";
|
|
@@ -323,12 +323,12 @@ function Y({ label: e, locale: t, format: r, ...i }) {
|
|
|
323
323
|
}
|
|
324
324
|
// packages/teaching/src/lesson/inline-choice.tsx
|
|
325
325
|
var ae = 14;
|
|
326
|
-
function oe({ param:
|
|
327
|
-
let a =
|
|
326
|
+
function oe({ param: e, value: n, isDisabled: r, onChange: i }) {
|
|
327
|
+
let a = e.options.map((e) => ({
|
|
328
328
|
value: e.id,
|
|
329
329
|
label: e.label
|
|
330
330
|
}));
|
|
331
|
-
return /* @__PURE__ */ h(
|
|
331
|
+
return /* @__PURE__ */ h(t.Root, {
|
|
332
332
|
value: n,
|
|
333
333
|
items: a,
|
|
334
334
|
disabled: r,
|
|
@@ -336,7 +336,7 @@ function oe({ param: t, value: n, isDisabled: r, onChange: i }) {
|
|
|
336
336
|
e !== null && i(e, t);
|
|
337
337
|
},
|
|
338
338
|
children: [/* @__PURE__ */ h(g, {
|
|
339
|
-
"aria-label":
|
|
339
|
+
"aria-label": e.label,
|
|
340
340
|
disabled: r,
|
|
341
341
|
className: "x3nfvp2 x1pha0wt xfko13i x1717udv x1ghz6dp xc342km x1ok0vyi xjbqb8w xbixft xjb2p0i x1qlqyl8 x15bjb6t xk4h15q xuxw1ft x1ypdohk xujl8zx xi2nhp4 xewurvo x11xz5oc x1jdncgf xif5pkx x1m8qfh3 x47ym49 x13qnu6 x9v5kkp x19rmrnh x7s97pk",
|
|
342
342
|
children: [/* @__PURE__ */ m(ne, {}), !r && /* @__PURE__ */ m(te, {
|
|
@@ -344,15 +344,15 @@ function oe({ param: t, value: n, isDisabled: r, onChange: i }) {
|
|
|
344
344
|
"aria-hidden": !0,
|
|
345
345
|
className: "xamitd3 x153jb6y"
|
|
346
346
|
})]
|
|
347
|
-
}), /* @__PURE__ */ m(
|
|
347
|
+
}), /* @__PURE__ */ m(t.Popup, {
|
|
348
348
|
align: "start",
|
|
349
|
-
children: /* @__PURE__ */ m(
|
|
350
|
-
value:
|
|
351
|
-
children: [/* @__PURE__ */ m(
|
|
349
|
+
children: /* @__PURE__ */ m(t.List, { children: a.map((e) => /* @__PURE__ */ h(t.Item, {
|
|
350
|
+
value: e.value,
|
|
351
|
+
children: [/* @__PURE__ */ m(t.ItemText, { children: e.label }), /* @__PURE__ */ m(t.ItemIndicator, { children: /* @__PURE__ */ m(ee, {
|
|
352
352
|
size: 16,
|
|
353
353
|
"aria-hidden": !0
|
|
354
354
|
}) })]
|
|
355
|
-
},
|
|
355
|
+
}, e.value)) })
|
|
356
356
|
})]
|
|
357
357
|
});
|
|
358
358
|
}
|
|
@@ -376,10 +376,10 @@ function Q({ param: e, value: t, locale: r, labels: i }) {
|
|
|
376
376
|
case "toggle": return t === !0 ? i.on : i.off;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
function ce({ name:
|
|
380
|
-
let n = R("Param"), r = Z(n,
|
|
379
|
+
function ce({ name: t }) {
|
|
380
|
+
let n = R("Param"), r = Z(n, t);
|
|
381
381
|
if ("error" in r) return /* @__PURE__ */ m(E, { children: r.error });
|
|
382
|
-
let { param: i } = r, a = n.state.values[
|
|
382
|
+
let { param: i } = r, a = n.state.values[t], { isReadOnly: o } = n.state;
|
|
383
383
|
switch (i.kind) {
|
|
384
384
|
case "number": return o ? /* @__PURE__ */ m("span", {
|
|
385
385
|
className: "xss6m8b xk4h15q xuxw1ft xbixft",
|
|
@@ -391,7 +391,7 @@ function ce({ name: e }) {
|
|
|
391
391
|
})
|
|
392
392
|
}) : /* @__PURE__ */ m(Y, {
|
|
393
393
|
value: typeof a == "number" ? a : i.value,
|
|
394
|
-
onValueChange: (
|
|
394
|
+
onValueChange: (e, r) => n.api.apply(t, e, r),
|
|
395
395
|
min: i.min,
|
|
396
396
|
max: i.max,
|
|
397
397
|
step: i.step,
|
|
@@ -404,16 +404,16 @@ function ce({ name: e }) {
|
|
|
404
404
|
param: i,
|
|
405
405
|
value: typeof a == "string" ? a : i.value,
|
|
406
406
|
isDisabled: o,
|
|
407
|
-
onChange: (
|
|
407
|
+
onChange: (e, r) => n.api.apply(t, e, r)
|
|
408
408
|
});
|
|
409
409
|
case "toggle": return /* @__PURE__ */ m("span", {
|
|
410
410
|
className: "x3nfvp2 xxymvpz",
|
|
411
|
-
children: /* @__PURE__ */ m(
|
|
411
|
+
children: /* @__PURE__ */ m(e.Root, {
|
|
412
412
|
checked: a === !0,
|
|
413
|
-
onCheckedChange: (
|
|
413
|
+
onCheckedChange: (e, r) => n.api.apply(t, e, r),
|
|
414
414
|
disabled: o,
|
|
415
415
|
"aria-label": i.label,
|
|
416
|
-
children: /* @__PURE__ */ m(
|
|
416
|
+
children: /* @__PURE__ */ m(e.Thumb, {})
|
|
417
417
|
})
|
|
418
418
|
});
|
|
419
419
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
2
|
-
import { n as t, r as n } from "./code-block-
|
|
2
|
+
import { n as t, r as n } from "./code-block-BZsY2sh3.js";
|
|
3
3
|
import { t as r } from "./viewer-styles-DsFYri4K.js";
|
|
4
4
|
import * as i from "@stylexjs/stylex";
|
|
5
5
|
import { useCallback as a, useState as o } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as e } from "./src-
|
|
2
|
-
import { d as t, m as n } from "./src-
|
|
1
|
+
import { u as e } from "./src-9EJskqB_.js";
|
|
2
|
+
import { d as t, m as n } from "./src-npqwq3Sa.js";
|
|
3
3
|
import { n as r, t as i } from "./chart-tones-ei3BC2AL.js";
|
|
4
4
|
import { a, i as o, n as s, r as c } from "./figure-format-B8kRZMlo.js";
|
|
5
5
|
import { r as l, t as u } from "./scale-C2xgZyZN.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, t } from "./chart-tones-ei3BC2AL.js";
|
|
2
2
|
import { r as n } from "./tokens.stylex-dF5CACEJ.js";
|
|
3
|
-
import { n as r } from "./plot-width-
|
|
3
|
+
import { n as r } from "./plot-width-D3hTycYX.js";
|
|
4
4
|
import * as i from "@stylexjs/stylex";
|
|
5
5
|
import { jsx as a } from "react/jsx-runtime";
|
|
6
6
|
// packages/charts/src/plot/plot-marks.tsx
|
|
@@ -80,14 +80,14 @@ var o = 4, s = 1.25, c = {
|
|
|
80
80
|
$$css: !0
|
|
81
81
|
},
|
|
82
82
|
receded: {
|
|
83
|
-
kSiTet: "
|
|
83
|
+
kSiTet: "xyd83as",
|
|
84
84
|
$$css: !0
|
|
85
85
|
}
|
|
86
86
|
}, d = {
|
|
87
87
|
normal: { $$css: !0 },
|
|
88
88
|
context: { $$css: !0 },
|
|
89
89
|
receded: {
|
|
90
|
-
kSiTet: "
|
|
90
|
+
kSiTet: "xyd83as",
|
|
91
91
|
$$css: !0
|
|
92
92
|
}
|
|
93
93
|
}, f = `color-mix(in srgb, ${n.faint} 70%, ${n.muted})`;
|