@invana/ui 0.0.30 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1190 -337
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +603 -2
- package/dist/index.d.ts +603 -2
- package/dist/index.js +1174 -338
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -462,6 +462,46 @@ declare const ResizableHandle: ({ withHandle, className, ...props }: React.Compo
|
|
|
462
462
|
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
463
463
|
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
464
464
|
|
|
465
|
+
interface SegmentedOption {
|
|
466
|
+
/** What the caller gets back. */
|
|
467
|
+
value: string;
|
|
468
|
+
label: React$1.ReactNode;
|
|
469
|
+
disabled?: boolean;
|
|
470
|
+
}
|
|
471
|
+
interface SegmentedControlProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
472
|
+
options: SegmentedOption[];
|
|
473
|
+
/** Controlled. Pass it with {@link onValueChange}. */
|
|
474
|
+
value?: string;
|
|
475
|
+
/** Uncontrolled starting option. Defaults to the first. */
|
|
476
|
+
defaultValue?: string;
|
|
477
|
+
onValueChange?: (value: string) => void;
|
|
478
|
+
/** `xs` is 22px — a pagehead slot. `sm` is 26px, for a panel header. */
|
|
479
|
+
size?: "xs" | "sm";
|
|
480
|
+
/** Fill the width given, each option an equal share of it. */
|
|
481
|
+
stretch?: boolean;
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* One page, read another way.
|
|
485
|
+
*
|
|
486
|
+
* A run has four readings and a step has three — *In order · Layers · Flow ·
|
|
487
|
+
* Lens*, *Overview · Touched · Log* — and each of them is the **same record**
|
|
488
|
+
* drawn differently. That is what this control says and a tab strip does not:
|
|
489
|
+
* tabs own a panel and imply separate content underneath, so four tabs over one
|
|
490
|
+
* trace read as four pages that happen to share a header. A segmented control
|
|
491
|
+
* sits in the pagehead's action slot, beside the chips that describe the record,
|
|
492
|
+
* and says *this is a switch on what you are already looking at*.
|
|
493
|
+
*
|
|
494
|
+
* It is also not `ToggleGroup`. That is a set of independent toggles which may
|
|
495
|
+
* all be off; a reading is never off, so the control is a radio group and is
|
|
496
|
+
* announced as one. Arrow keys move between options, which is what a reader who
|
|
497
|
+
* never leaves the keyboard expects of a radio group.
|
|
498
|
+
*
|
|
499
|
+
* **The frame is the control.** One border around the whole thing, the active
|
|
500
|
+
* option filled with the primary tint and the rest plain — never a border per
|
|
501
|
+
* option, which draws three controls where there is one.
|
|
502
|
+
*/
|
|
503
|
+
declare const SegmentedControl: React$1.ForwardRefExoticComponent<SegmentedControlProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
504
|
+
|
|
465
505
|
declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
466
506
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
467
507
|
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -639,6 +679,38 @@ declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGrou
|
|
|
639
679
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
640
680
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
641
681
|
|
|
682
|
+
/**
|
|
683
|
+
* Why a band is not drawn — **and these are three different facts.**
|
|
684
|
+
*
|
|
685
|
+
* - `unrecorded` — nobody wrote this document. A step in flight has no
|
|
686
|
+
* `result.json` because the interpreter writes it when the row settles.
|
|
687
|
+
* - `purged` — it was written, and retention removed it. The counts and the
|
|
688
|
+
* outcome stay; the input, the output and the log do not.
|
|
689
|
+
* - `declared-none` — the step declares no such output at all: a `notify` step
|
|
690
|
+
* returns nothing, and a read under `read_only: true` writes nothing.
|
|
691
|
+
*
|
|
692
|
+
* Collapsing them into one *empty* is the thing this component exists to stop.
|
|
693
|
+
* An empty table claims a step returned an empty result; *purged* claims it
|
|
694
|
+
* returned nothing. Both are lies about a different record.
|
|
695
|
+
*/
|
|
696
|
+
type AbsenceReason = "unrecorded" | "purged" | "declared-none";
|
|
697
|
+
interface AbsenceNoteProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
698
|
+
reason: AbsenceReason;
|
|
699
|
+
/** Overrides the word. The engine's own term is better where there is one — `read_only: true`. */
|
|
700
|
+
label?: React$1.ReactNode;
|
|
701
|
+
/** Why, in the record's terms. One or two sentences, and it is not optional in spirit. */
|
|
702
|
+
children?: React$1.ReactNode;
|
|
703
|
+
}
|
|
704
|
+
/**
|
|
705
|
+
* A band with nothing in it, saying which kind of nothing.
|
|
706
|
+
*
|
|
707
|
+
* It is not `EmptyState`: that invites an action — *load a dataset*, *ask a
|
|
708
|
+
* question* — and there is no action here. A step that recorded nothing is a
|
|
709
|
+
* finished fact about a finished record, and the only thing owed to the reader
|
|
710
|
+
* is which fact it is.
|
|
711
|
+
*/
|
|
712
|
+
declare const AbsenceNote: React$1.ForwardRefExoticComponent<AbsenceNoteProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
713
|
+
|
|
642
714
|
/**
|
|
643
715
|
* How this address stood in the run, or in the rule being read.
|
|
644
716
|
*
|
|
@@ -748,6 +820,88 @@ interface AppStatusBarProps extends React$1.HTMLAttributes<HTMLDivElement>, Vari
|
|
|
748
820
|
*/
|
|
749
821
|
declare const AppStatusBar: React$1.ForwardRefExoticComponent<AppStatusBarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
750
822
|
|
|
823
|
+
interface Artifact {
|
|
824
|
+
/** The file's name as the step wrote it — `rows-1284.csv`. */
|
|
825
|
+
name: React$1.ReactNode;
|
|
826
|
+
/** What produced it — `interpreter`, `export`, `rejects`, `input`. */
|
|
827
|
+
kind?: React$1.ReactNode;
|
|
828
|
+
size?: React$1.ReactNode;
|
|
829
|
+
/**
|
|
830
|
+
* **The address.** The same bytes produced twice are one artifact, so the
|
|
831
|
+
* digest — eight characters, mono — is what a reader quotes, not the name.
|
|
832
|
+
*/
|
|
833
|
+
digest?: React$1.ReactNode;
|
|
834
|
+
/** When it landed, on the run's own clock — `+76.8s`. */
|
|
835
|
+
written?: React$1.ReactNode;
|
|
836
|
+
/**
|
|
837
|
+
* Retention has taken the bytes. The row stays and is struck: *this file
|
|
838
|
+
* existed and is gone* is a different fact from *no file was written*.
|
|
839
|
+
*/
|
|
840
|
+
gone?: boolean;
|
|
841
|
+
}
|
|
842
|
+
interface ArtifactTableProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
843
|
+
files: Artifact[];
|
|
844
|
+
onOpen?: (file: Artifact, index: number) => void;
|
|
845
|
+
onDownload?: (file: Artifact, index: number) => void;
|
|
846
|
+
/** Anything else a row offers. Replaces the two defaults when given. */
|
|
847
|
+
renderActions?: (file: Artifact, index: number) => React$1.ReactNode;
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* The files a step left behind.
|
|
851
|
+
*
|
|
852
|
+
* A file is the one thing a step produces that outlives the reading of it, and
|
|
853
|
+
* it is **addressed by digest** — which is why the digest is drawn beside the
|
|
854
|
+
* name rather than hidden behind a tooltip: a file that outlives its run is
|
|
855
|
+
* still reachable, and two runs that produced the same bytes produced one
|
|
856
|
+
* artifact.
|
|
857
|
+
*
|
|
858
|
+
* Rejected records are a file like any other. That is what makes `18 rejected`
|
|
859
|
+
* something a person can open instead of a dead count.
|
|
860
|
+
*
|
|
861
|
+
* **A step that left nothing draws no table.** Absence is the caller's to
|
|
862
|
+
* render — see `AbsenceNote` — because an empty table here would claim the step
|
|
863
|
+
* wrote an empty file.
|
|
864
|
+
*/
|
|
865
|
+
declare const ArtifactTable: React$1.ForwardRefExoticComponent<ArtifactTableProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
866
|
+
|
|
867
|
+
interface AttemptRow {
|
|
868
|
+
/** `queued` · `attempt 1` · `attempt 2` · `settled`. */
|
|
869
|
+
label: React$1.ReactNode;
|
|
870
|
+
/** When it started, on the run's own clock — `+44.5s`. */
|
|
871
|
+
started?: React$1.ReactNode;
|
|
872
|
+
/** How long it took — `30.0s`, or `4.2s…` while it is still running. */
|
|
873
|
+
took?: React$1.ReactNode;
|
|
874
|
+
/** What happened, in one line. */
|
|
875
|
+
what?: React$1.ReactNode;
|
|
876
|
+
tone?: "muted" | "info" | "success" | "warning" | "destructive";
|
|
877
|
+
/** It ran and it did not stick. **Struck, never dropped.** */
|
|
878
|
+
struck?: boolean;
|
|
879
|
+
}
|
|
880
|
+
interface AttemptClockProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
881
|
+
rows: AttemptRow[];
|
|
882
|
+
/**
|
|
883
|
+
* What the two numbers are — `elapsed 32.4s · working 2.3s · the gap is the
|
|
884
|
+
* attempt that timed out`.
|
|
885
|
+
*
|
|
886
|
+
* **Stated, never left as arithmetic.** A reader who has to subtract two
|
|
887
|
+
* durations to find a 30-second timeout has been handed a sum instead of an
|
|
888
|
+
* answer.
|
|
889
|
+
*/
|
|
890
|
+
summary?: React$1.ReactNode;
|
|
891
|
+
}
|
|
892
|
+
/**
|
|
893
|
+
* A step's clock, attempt by attempt.
|
|
894
|
+
*
|
|
895
|
+
* One duration cannot say what happened to a step that timed out once and then
|
|
896
|
+
* returned: `2.1s` is what it *did*, `32.4s` is what a reader waited, and the
|
|
897
|
+
* gap between them **is** the first attempt. So the clock is a row per attempt
|
|
898
|
+
* — queued, each try, settled — and the try that failed keeps its place, struck.
|
|
899
|
+
*
|
|
900
|
+
* Nothing new is recorded for this: it is the `timing` and `attempt` fields the
|
|
901
|
+
* interpreter already writes, read as a list instead of as a total.
|
|
902
|
+
*/
|
|
903
|
+
declare const AttemptClock: React$1.ForwardRefExoticComponent<AttemptClockProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
904
|
+
|
|
751
905
|
/**
|
|
752
906
|
* TODO — provisional. Built ahead of its design review.
|
|
753
907
|
*
|
|
@@ -1890,6 +2044,44 @@ declare class ErrorBoundary extends Component<{
|
|
|
1890
2044
|
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | React$1.JSX.Element | null | undefined;
|
|
1891
2045
|
}
|
|
1892
2046
|
|
|
2047
|
+
interface ExchangeOption {
|
|
2048
|
+
label: React$1.ReactNode;
|
|
2049
|
+
/** The one that was taken. */
|
|
2050
|
+
chosen?: boolean;
|
|
2051
|
+
}
|
|
2052
|
+
interface ExchangeRecordProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
2053
|
+
/** Who asked — `the agent asks`. */
|
|
2054
|
+
asker?: React$1.ReactNode;
|
|
2055
|
+
question: React$1.ReactNode;
|
|
2056
|
+
/** Why it had to ask — `parse_intent found two readings and was told not to guess`. */
|
|
2057
|
+
why?: React$1.ReactNode;
|
|
2058
|
+
/** What it offered. Every option, with the taken one marked. */
|
|
2059
|
+
options?: ExchangeOption[];
|
|
2060
|
+
/** Who answered — `ravi answers`. */
|
|
2061
|
+
answerer?: React$1.ReactNode;
|
|
2062
|
+
answer?: React$1.ReactNode;
|
|
2063
|
+
/** What the answer cost and what happened next — `after 41.2s · the run resumed on round 2`. */
|
|
2064
|
+
answerNote?: React$1.ReactNode;
|
|
2065
|
+
}
|
|
2066
|
+
/**
|
|
2067
|
+
* A question a run asked a person, after it was answered.
|
|
2068
|
+
*
|
|
2069
|
+
* `ClarifyCard` is the **live** ask — it has controls, and the run is waiting on
|
|
2070
|
+
* them. This is the same exchange once it is a record: the question, every
|
|
2071
|
+
* option it offered with the one taken marked, who answered and how long the
|
|
2072
|
+
* run stood still. Nothing here is pickable, because the choice was made and a
|
|
2073
|
+
* trace is never rewritten.
|
|
2074
|
+
*
|
|
2075
|
+
* **The options that were not taken stay.** *It chose by promise date* is a
|
|
2076
|
+
* different fact from *it was offered two readings and chose by promise date* —
|
|
2077
|
+
* the second is the one that explains the round that follows.
|
|
2078
|
+
*
|
|
2079
|
+
* The rails mark the **act**, not the participant: asking is an interruption,
|
|
2080
|
+
* answering is what let the run continue. Which colour means `human` is a
|
|
2081
|
+
* palette decision and belongs to the layer components.
|
|
2082
|
+
*/
|
|
2083
|
+
declare const ExchangeRecord: React$1.ForwardRefExoticComponent<ExchangeRecordProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2084
|
+
|
|
1893
2085
|
interface EyebrowProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1894
2086
|
/**
|
|
1895
2087
|
* Right-aligned trailing text — a count, a position, a state. Kept separate
|
|
@@ -1943,6 +2135,18 @@ interface FilterChipProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
1943
2135
|
value?: React$1.ReactNode;
|
|
1944
2136
|
/** Marks the chip as narrowing the list, so an active filter is visible while scrolling. */
|
|
1945
2137
|
active?: boolean;
|
|
2138
|
+
/**
|
|
2139
|
+
* Clear this one filter, without opening its menu.
|
|
2140
|
+
*
|
|
2141
|
+
* Only for a chip that **is** set: an unset chip has nothing to clear, and an
|
|
2142
|
+
* × on it would offer to undo something nobody did. With it, the chip is a
|
|
2143
|
+
* pair of controls rather than one — the label opens the picker, the × drops
|
|
2144
|
+
* the value — so both are reachable by keyboard and the × carries its own
|
|
2145
|
+
* name.
|
|
2146
|
+
*/
|
|
2147
|
+
onRemove?: () => void;
|
|
2148
|
+
/** What the × is called, for a screen reader. Defaults to `Clear <label>`. */
|
|
2149
|
+
removeLabel?: string;
|
|
1946
2150
|
}
|
|
1947
2151
|
/**
|
|
1948
2152
|
* The row above a list that narrows it.
|
|
@@ -2014,6 +2218,36 @@ interface HeatStripProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "c
|
|
|
2014
2218
|
*/
|
|
2015
2219
|
declare const HeatStrip: React$1.ForwardRefExoticComponent<HeatStripProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2016
2220
|
|
|
2221
|
+
/**
|
|
2222
|
+
* The kinds of run Invana opens today — **suggestions, not a limit.**
|
|
2223
|
+
*
|
|
2224
|
+
* A product that grows a `simulate` kind passes `"simulate"` and the chip draws
|
|
2225
|
+
* it. The journal is one list with one filter over it ([SR7]), so the kind is a
|
|
2226
|
+
* *column value*, never a panel of its own — and a component that refused an
|
|
2227
|
+
* unknown value would make the kit a release blocker for every new one.
|
|
2228
|
+
*/
|
|
2229
|
+
type KnownRunKind = "ask" | "import" | "bulk" | "stitch" | "enrich" | "schedule";
|
|
2230
|
+
/** What a run is, as an identifier — any string at all. See {@link KnownRunKind}. */
|
|
2231
|
+
type RunKind = KnownRunKind | (string & {});
|
|
2232
|
+
interface KindChipProps extends Omit<React$1.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
2233
|
+
kind: RunKind;
|
|
2234
|
+
/** Not in play — a kind the current filter excludes. */
|
|
2235
|
+
dim?: boolean;
|
|
2236
|
+
}
|
|
2237
|
+
/**
|
|
2238
|
+
* What kind of run this row is: `ask` · `import` · `bulk` · `stitch` · `enrich`.
|
|
2239
|
+
*
|
|
2240
|
+
* **Neutral on purpose.** A kind is not a status and not a layer: it says which
|
|
2241
|
+
* shape of work opened the run, and every kind is equally ordinary. Painting
|
|
2242
|
+
* them would put five more hues on a row that already carries a status dot and
|
|
2243
|
+
* a layer, and would invite a reader to think `import` is worse than `ask`.
|
|
2244
|
+
*
|
|
2245
|
+
* Mono, because the value is the engine's own (`kind in (import, bulk)` is a
|
|
2246
|
+
* filter a person types), and small, because it sits inside a row that is
|
|
2247
|
+
* already carrying an address and a summary.
|
|
2248
|
+
*/
|
|
2249
|
+
declare const KindChip: React$1.ForwardRefExoticComponent<KindChipProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2250
|
+
|
|
2017
2251
|
interface LayerSectionProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children" | "title"> {
|
|
2018
2252
|
layer: Layer;
|
|
2019
2253
|
/**
|
|
@@ -2135,6 +2369,29 @@ interface LayerItem {
|
|
|
2135
2369
|
note?: string;
|
|
2136
2370
|
/** The rule that refused it, when one did. */
|
|
2137
2371
|
ruleMatched?: string;
|
|
2372
|
+
/** What this task usually takes — see {@link LayerForecast}. */
|
|
2373
|
+
forecast?: LayerForecast;
|
|
2374
|
+
}
|
|
2375
|
+
/**
|
|
2376
|
+
* What this task usually costs, drawn **on** the bar that says what it cost
|
|
2377
|
+
* this time.
|
|
2378
|
+
*
|
|
2379
|
+
* `p50` is a **duration in the axis's own unit**, not a position: the median is
|
|
2380
|
+
* a length of time a step takes, and placing it as an absolute moment would
|
|
2381
|
+
* make the same forecast wrong for every run that started the step a second
|
|
2382
|
+
* later. The strip turns it into a mark at `start + p50`, so the overrun is the
|
|
2383
|
+
* gap between the mark and the bar's end — visible, rather than two numbers a
|
|
2384
|
+
* reader has to subtract.
|
|
2385
|
+
*
|
|
2386
|
+
* Drawn for a task that came in **under** its median too. *Faster than usual*
|
|
2387
|
+
* is a finding, and a forecast that only ever showed overruns would be a
|
|
2388
|
+
* warning light rather than a comparison.
|
|
2389
|
+
*/
|
|
2390
|
+
interface LayerForecast {
|
|
2391
|
+
/** The median, as a duration in the axis's unit. */
|
|
2392
|
+
p50: number;
|
|
2393
|
+
/** The gap in the caller's words — `+11%`, `−33%`, `inside p95`. */
|
|
2394
|
+
note?: React$1.ReactNode;
|
|
2138
2395
|
}
|
|
2139
2396
|
/** A bounded repetition over a stretch of the axis — `loop · max 3`. */
|
|
2140
2397
|
interface LayerBracket {
|
|
@@ -2175,6 +2432,17 @@ interface LayerSeam {
|
|
|
2175
2432
|
* for one caller and not another. Drawn dashed — *this may appear*.
|
|
2176
2433
|
*/
|
|
2177
2434
|
conditional?: boolean;
|
|
2435
|
+
/**
|
|
2436
|
+
* **Nothing can forecast this one.** How long a person takes to say yes is
|
|
2437
|
+
* not in the record, so a gate marked this way is drawn dashed like a
|
|
2438
|
+
* conditional one and its note carries the actual instead of a comparison.
|
|
2439
|
+
*
|
|
2440
|
+
* It exists as its own flag rather than as a caller's choice of words because
|
|
2441
|
+
* *there is no estimate* and *the estimate was met* must not look alike on a
|
|
2442
|
+
* drawing whose whole subject is forecast against actual. Drawing a guess
|
|
2443
|
+
* here would be the one dishonest mark on the strip.
|
|
2444
|
+
*/
|
|
2445
|
+
noEstimate?: boolean;
|
|
2178
2446
|
/** Under the label — `nothing spent · finance-approvers · 4h`. */
|
|
2179
2447
|
note?: string;
|
|
2180
2448
|
}
|
|
@@ -2324,7 +2592,13 @@ declare const stateLabel: (state: LayerItemState) => string;
|
|
|
2324
2592
|
*/
|
|
2325
2593
|
declare const LayerStrip: React$1.ForwardRefExoticComponent<LayerStripProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2326
2594
|
|
|
2327
|
-
type LegendSwatchKind = "dot" | "line" | "dashed" | "arrow" | "ring"
|
|
2595
|
+
type LegendSwatchKind = "dot" | "line" | "dashed" | "arrow" | "ring"
|
|
2596
|
+
/** The rail down a row — how a trace says which layer a step spent. */
|
|
2597
|
+
| "stripe"
|
|
2598
|
+
/** A box around what it holds — a bounded repetition, drawn by containment. */
|
|
2599
|
+
| "bracket"
|
|
2600
|
+
/** A line the drawing is crossed by, with the mark that names it — a gate. */
|
|
2601
|
+
| "rule";
|
|
2328
2602
|
interface LegendItemProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "color"> {
|
|
2329
2603
|
/**
|
|
2330
2604
|
* What the mark looks like on the canvas. A legend that draws a dot for
|
|
@@ -2390,6 +2664,34 @@ interface LensChipProps extends Omit<React$1.HTMLAttributes<HTMLSpanElement>, "c
|
|
|
2390
2664
|
*/
|
|
2391
2665
|
declare const LensChip: React$1.ForwardRefExoticComponent<LensChipProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2392
2666
|
|
|
2667
|
+
/** What the mark means, as a tone. The same seven `StatusDot` uses, less the dot. */
|
|
2668
|
+
type MarkTone = "muted" | "info" | "success" | "warning" | "destructive";
|
|
2669
|
+
interface MarkChipProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
2670
|
+
tone?: MarkTone;
|
|
2671
|
+
/** `↺ 2 of 3`, `⏸ 1 of 3`, `live`, `↳ delegates`. */
|
|
2672
|
+
children?: React$1.ReactNode;
|
|
2673
|
+
}
|
|
2674
|
+
/**
|
|
2675
|
+
* What happened to this row that its own columns cannot say.
|
|
2676
|
+
*
|
|
2677
|
+
* A run's trace row already carries a name, a description, a layer, a role and
|
|
2678
|
+
* a duration. What it does *not* carry is the exception: this step took two
|
|
2679
|
+
* attempts, this one is painting right now, this one asked a person, this one
|
|
2680
|
+
* delegated a run of its own. Those are marks — they appear on a handful of
|
|
2681
|
+
* rows and they are the rows a reader is looking for.
|
|
2682
|
+
*
|
|
2683
|
+
* **Outlined, never filled.** A filled chip competes with the row's own name at
|
|
2684
|
+
* the same size; an outline reads as an annotation on the name, which is what it
|
|
2685
|
+
* is. Mono, because most marks are counts against a bound (`2 of 3`) and the
|
|
2686
|
+
* bound is the engine's number.
|
|
2687
|
+
*
|
|
2688
|
+
* Distinct from `BoundChip`, and the distinction is the point: a bound is what a
|
|
2689
|
+
* callable **may** spend, declared before anything ran. A mark is what a run
|
|
2690
|
+
* **did** — it exists only in the record, and it is usually the reason a reader
|
|
2691
|
+
* opened the trace at all.
|
|
2692
|
+
*/
|
|
2693
|
+
declare const MarkChip: React$1.ForwardRefExoticComponent<MarkChipProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2694
|
+
|
|
2393
2695
|
interface MatchCandidate {
|
|
2394
2696
|
address: string;
|
|
2395
2697
|
matched: boolean;
|
|
@@ -3125,6 +3427,52 @@ interface PanelStackProps {
|
|
|
3125
3427
|
*/
|
|
3126
3428
|
declare function PanelStack({ sections, stackRef, onCollapsedChange, headerHeight, withHandle, className, headerClassName, bodyClassName, }: PanelStackProps): React$1.JSX.Element;
|
|
3127
3429
|
|
|
3430
|
+
/**
|
|
3431
|
+
* What a run did with a participant it was allowed — **suggestions, not a
|
|
3432
|
+
* limit.** A product with a seventh verdict passes it and the row draws it in
|
|
3433
|
+
* the neutral.
|
|
3434
|
+
*/
|
|
3435
|
+
type KnownParticipantVerdict = "touched" | "never touched" | "refused" | "miss" | "denied";
|
|
3436
|
+
type ParticipantVerdict = KnownParticipantVerdict | (string & {});
|
|
3437
|
+
interface ParticipantRowProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
3438
|
+
/** The participant, as the world addresses it — `model/Routes@v4`. */
|
|
3439
|
+
address: string;
|
|
3440
|
+
verdict: ParticipantVerdict;
|
|
3441
|
+
/** What happened — `1,284 rows · step 7`, `allowed, and nothing asked for it`. */
|
|
3442
|
+
note?: React$1.ReactNode;
|
|
3443
|
+
/**
|
|
3444
|
+
* The tone the verdict is read in. Defaults: `touched` succeeds, `refused`
|
|
3445
|
+
* and `denied` are destructive, everything else is muted — *allowed and never
|
|
3446
|
+
* reached for* is not a failure, it is an invitation to narrow.
|
|
3447
|
+
*/
|
|
3448
|
+
tone?: "success" | "muted" | "warning" | "destructive";
|
|
3449
|
+
/**
|
|
3450
|
+
* How the **address** is drawn. Derived from the verdict — `refused` strikes
|
|
3451
|
+
* it in place, `never touched` mutes it — and overridable for a vocabulary
|
|
3452
|
+
* the kit has not seen.
|
|
3453
|
+
*
|
|
3454
|
+
* Striking is `AddressChip`'s job and not this row's: the address is struck
|
|
3455
|
+
* everywhere a refusal is shown, and two components deciding that
|
|
3456
|
+
* independently is how one surface comes to strike and another to hide.
|
|
3457
|
+
*/
|
|
3458
|
+
addressTone?: AddressTone;
|
|
3459
|
+
}
|
|
3460
|
+
/**
|
|
3461
|
+
* One participant a run could have spent, and what it actually did with it.
|
|
3462
|
+
*
|
|
3463
|
+
* The Lens reading of a run is a list of these under their layers: every
|
|
3464
|
+
* address the world allowed, each marked `touched` · `never touched` ·
|
|
3465
|
+
* `refused`. **Nothing is filtered out**, because the list is not an inventory
|
|
3466
|
+
* of what ran — it is the gap between *declared* and *did*, and each kind of
|
|
3467
|
+
* gap names a different act. Three allowed and never touched is an invitation
|
|
3468
|
+
* to narrow the world; a refusal is an invitation to widen it, or to accept
|
|
3469
|
+
* that the graph cannot answer inside it.
|
|
3470
|
+
*
|
|
3471
|
+
* It is not `RuleRow`: a rule is a sentence about what *may* happen, written
|
|
3472
|
+
* before anything ran. This is a fact about one execution.
|
|
3473
|
+
*/
|
|
3474
|
+
declare const ParticipantRow: React$1.ForwardRefExoticComponent<ParticipantRowProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3475
|
+
|
|
3128
3476
|
interface PropertyListProps extends React$1.HTMLAttributes<HTMLDListElement> {
|
|
3129
3477
|
/**
|
|
3130
3478
|
* Width of the label column. One value for the whole list, so every value
|
|
@@ -3267,6 +3615,32 @@ interface RecordHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
3267
3615
|
*/
|
|
3268
3616
|
declare const RecordHeader: React$1.ForwardRefExoticComponent<RecordHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3269
3617
|
|
|
3618
|
+
interface RecordPagerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
3619
|
+
/** Where the reader is — `step 7 of 9`. */
|
|
3620
|
+
position?: React$1.ReactNode;
|
|
3621
|
+
onPrevious?: () => void;
|
|
3622
|
+
onNext?: () => void;
|
|
3623
|
+
/** What the two controls are called. The defaults name the *record*, not the direction. */
|
|
3624
|
+
previousLabel?: string;
|
|
3625
|
+
nextLabel?: string;
|
|
3626
|
+
}
|
|
3627
|
+
/**
|
|
3628
|
+
* The record before this one, and the one after.
|
|
3629
|
+
*
|
|
3630
|
+
* A step opened from a run's trace is one of nine, and the reader almost always
|
|
3631
|
+
* wants the next one — so walking the run costs two keystrokes rather than a
|
|
3632
|
+
* return to the list and a second drill-in.
|
|
3633
|
+
*
|
|
3634
|
+
* **Both controls carry a name.** An icon-only button with no accessible name
|
|
3635
|
+
* is a control a screen reader announces as "button", which is the one thing a
|
|
3636
|
+
* pager must not be; `previousLabel` and `nextLabel` name the record, so it
|
|
3637
|
+
* reads *previous step* rather than *left*.
|
|
3638
|
+
*
|
|
3639
|
+
* At either end the control is **disabled, not hidden**: a pager that loses a
|
|
3640
|
+
* button at the edges moves the other one under the reader's cursor.
|
|
3641
|
+
*/
|
|
3642
|
+
declare const RecordPager: React$1.ForwardRefExoticComponent<RecordPagerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3643
|
+
|
|
3270
3644
|
interface RepairNoteProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3271
3645
|
/** What was wrong — `unknown property Theme.velocity5d`. */
|
|
3272
3646
|
from: React$1.ReactNode;
|
|
@@ -3492,6 +3866,93 @@ interface RuleRowProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "chi
|
|
|
3492
3866
|
*/
|
|
3493
3867
|
declare const RuleRow: React$1.ForwardRefExoticComponent<RuleRowProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3494
3868
|
|
|
3869
|
+
/**
|
|
3870
|
+
* How a run or a step ended, as the engine writes it — **suggestions, not a
|
|
3871
|
+
* limit.** An unknown status still renders: it says its own name, in the
|
|
3872
|
+
* neutral.
|
|
3873
|
+
*/
|
|
3874
|
+
type KnownRunStatus = "queued" | "running" | "succeeded" | "failed" | "cancelled" | "cannot_answer" | "awaiting_approval" | "skipped" | "held" | "purged";
|
|
3875
|
+
type RunStatus = KnownRunStatus | (string & {});
|
|
3876
|
+
/**
|
|
3877
|
+
* Which tone each status is read in.
|
|
3878
|
+
*
|
|
3879
|
+
* The kit owns this map where it does **not** own a layer's or a bound's
|
|
3880
|
+
* colour, and the difference is real: a layer is a product's vocabulary, while
|
|
3881
|
+
* *finished · finished but look at it · failed · not started* is the same small
|
|
3882
|
+
* set of states every surface in the system already draws with `StatusDot`. Two
|
|
3883
|
+
* maps for one idea is how a journal row and its own pagehead come to disagree.
|
|
3884
|
+
*
|
|
3885
|
+
* **`succeeded` and `cannot_answer` are deliberately different tones.** The
|
|
3886
|
+
* machinery succeeded; the reading is that the graph cannot answer inside this
|
|
3887
|
+
* world. A run that says both in one green word would be hiding the only fact
|
|
3888
|
+
* the reader needs ([SR53]).
|
|
3889
|
+
*/
|
|
3890
|
+
declare const TONE: Record<string, StatusDotProps["tone"]>;
|
|
3891
|
+
interface RunStatusTextProps extends Omit<React$1.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
3892
|
+
status: RunStatus;
|
|
3893
|
+
/** Overrides the tone {@link RunStatus} resolves to. */
|
|
3894
|
+
tone?: StatusDotProps["tone"];
|
|
3895
|
+
/** Draw the dot before the word. Off in a table cell, on in a row. */
|
|
3896
|
+
dot?: boolean;
|
|
3897
|
+
/** What to call it, when the engine's own word is not what this surface says. */
|
|
3898
|
+
label?: React$1.ReactNode;
|
|
3899
|
+
}
|
|
3900
|
+
/**
|
|
3901
|
+
* A run's outcome, in its tone and in the engine's own word.
|
|
3902
|
+
*
|
|
3903
|
+
* `succeeded` · `running` · `cannot_answer` · `awaiting_approval` — written as
|
|
3904
|
+
* the record writes them, underscores and all, because these are the values a
|
|
3905
|
+
* reader filters on and quotes into a support thread. Prettifying them here
|
|
3906
|
+
* would mean the word on screen is not the word in the API.
|
|
3907
|
+
*
|
|
3908
|
+
* The word is always present, so colour is never the only carrier of the state.
|
|
3909
|
+
*/
|
|
3910
|
+
declare const RunStatusText: React$1.ForwardRefExoticComponent<RunStatusTextProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
3911
|
+
|
|
3912
|
+
interface RunRowProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title" | "onSelect"> {
|
|
3913
|
+
status: RunStatus;
|
|
3914
|
+
/** Overrides the tone the status resolves to. */
|
|
3915
|
+
tone?: StatusDotProps["tone"];
|
|
3916
|
+
kind?: RunKind;
|
|
3917
|
+
/**
|
|
3918
|
+
* The run's address — the last eight characters of its uuid, mono.
|
|
3919
|
+
*
|
|
3920
|
+
* **First on the row, before anything measured.** A row a reader cannot
|
|
3921
|
+
* quote into a log line, a support thread or `GET …/runs/{id}` has made them
|
|
3922
|
+
* drill in to find out what they are looking at.
|
|
3923
|
+
*/
|
|
3924
|
+
address?: React$1.ReactNode;
|
|
3925
|
+
/** What it was about — the question asked, the dataset loaded, the stitch run. */
|
|
3926
|
+
title: React$1.ReactNode;
|
|
3927
|
+
/** Under it — `2m 51s · 21.4k · 9/9 · 4 mins ago`. */
|
|
3928
|
+
meta?: React$1.ReactNode;
|
|
3929
|
+
/** Hard right — a badge, a count, an outcome. */
|
|
3930
|
+
aside?: React$1.ReactNode;
|
|
3931
|
+
/** A child run sits under the step that spawned it, indented — never a sibling. */
|
|
3932
|
+
depth?: number;
|
|
3933
|
+
selected?: boolean;
|
|
3934
|
+
onSelect?: () => void;
|
|
3935
|
+
}
|
|
3936
|
+
/**
|
|
3937
|
+
* One run in the journal.
|
|
3938
|
+
*
|
|
3939
|
+
* Every execution in a Graph is one of these — a question answered, a dataset
|
|
3940
|
+
* loaded, a stitch committed, an enrichment gated on a person — because they
|
|
3941
|
+
* are one record walked by one interpreter. **There is no row type per kind**
|
|
3942
|
+
* and no panel per kind: the kind is a chip and a filter value, which is what
|
|
3943
|
+
* keeps one journal from becoming four lists that drift apart.
|
|
3944
|
+
*
|
|
3945
|
+
* The order on the row is addressed, then described, then measured: the id, the
|
|
3946
|
+
* kind, what it was about, and the numbers underneath. A reader scanning for
|
|
3947
|
+
* *the run I was just looking at* finds it by id; a reader scanning for *what
|
|
3948
|
+
* has this system been doing* reads the line under it.
|
|
3949
|
+
*
|
|
3950
|
+
* With `onSelect` the whole row is one button, so the accessible name is the
|
|
3951
|
+
* whole row — the id, the kind and the summary in one string, which is exactly
|
|
3952
|
+
* what a reader driving this from the keyboard needs to hear.
|
|
3953
|
+
*/
|
|
3954
|
+
declare const RunRow: React$1.ForwardRefExoticComponent<RunRowProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3955
|
+
|
|
3495
3956
|
/**
|
|
3496
3957
|
* `sm` (26px) is the application field — a search box docked in a panel header,
|
|
3497
3958
|
* beside a 30px tab strip. `default` (40px) stays the page size.
|
|
@@ -3839,6 +4300,15 @@ interface TaskNodeProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "ch
|
|
|
3839
4300
|
* (`p50 3.4s · 14/14`). One rendering, three readings.
|
|
3840
4301
|
*/
|
|
3841
4302
|
meta?: React$1.ReactNode;
|
|
4303
|
+
/**
|
|
4304
|
+
* The drawing is a **record**, not a draft: a picked node gets the ring and
|
|
4305
|
+
* **no handles**.
|
|
4306
|
+
*
|
|
4307
|
+
* Handles are an offer to move something. A run paints status onto the plan
|
|
4308
|
+
* it ran and nothing on it is editable, so a handle there is a control that
|
|
4309
|
+
* does nothing — the one thing worse on a trace than a missing affordance.
|
|
4310
|
+
*/
|
|
4311
|
+
readOnly?: boolean;
|
|
3842
4312
|
/** Picked — draws the ring and four corner handles. */
|
|
3843
4313
|
selected?: boolean;
|
|
3844
4314
|
/** Needs an approval before it writes. Rings it in `warning`. */
|
|
@@ -4021,6 +4491,37 @@ declare const TimelineFooter: React$1.ForwardRefExoticComponent<TimelineFooterPr
|
|
|
4021
4491
|
|
|
4022
4492
|
declare const Toolbar: React__default.FC;
|
|
4023
4493
|
|
|
4494
|
+
interface TouchItem {
|
|
4495
|
+
layer: Layer;
|
|
4496
|
+
/** What it amounts to — `3 calls`, `1,284 rows`, `miss`, `asked + approved`. */
|
|
4497
|
+
note?: React$1.ReactNode;
|
|
4498
|
+
/** What to call it, when {@link layerLabel} is not what this surface says. */
|
|
4499
|
+
label?: React$1.ReactNode;
|
|
4500
|
+
/** A guardrail said no. Struck in place, never dropped. */
|
|
4501
|
+
refused?: boolean;
|
|
4502
|
+
/** Allowed, and nothing reached for it. Present, and visibly not in play. */
|
|
4503
|
+
dim?: boolean;
|
|
4504
|
+
}
|
|
4505
|
+
interface TouchStripProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
4506
|
+
items: TouchItem[];
|
|
4507
|
+
palette?: LayerPalette;
|
|
4508
|
+
}
|
|
4509
|
+
/**
|
|
4510
|
+
* What a run touched at all — one cell per layer, on one line.
|
|
4511
|
+
*
|
|
4512
|
+
* This is a **summary**, and the whole reason it is a strip and not an axis.
|
|
4513
|
+
* *What did this touch* is answered once for the whole run, so it costs one
|
|
4514
|
+
* line above the list; drawn as a band per layer down a trace it would be a
|
|
4515
|
+
* matrix one sixth full, because a step spends exactly one layer.
|
|
4516
|
+
*
|
|
4517
|
+
* **Refused is struck in place and never touched is dimmed, and neither is
|
|
4518
|
+
* hidden.** The gap between what a world allowed and what the run reached for
|
|
4519
|
+
* is the finding: three layers allowed and never touched is an invitation to
|
|
4520
|
+
* narrow, and a refusal is an invitation to widen or to accept that the graph
|
|
4521
|
+
* cannot answer. A strip that showed only what was spent could say neither.
|
|
4522
|
+
*/
|
|
4523
|
+
declare const TouchStrip: React$1.ForwardRefExoticComponent<TouchStripProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4524
|
+
|
|
4024
4525
|
/**
|
|
4025
4526
|
* A single clickable/displayed reference shown in a step's
|
|
4026
4527
|
* "REFERENCED COMPONENTS" row.
|
|
@@ -4124,6 +4625,106 @@ interface TourProps {
|
|
|
4124
4625
|
*/
|
|
4125
4626
|
declare function Tour({ controller, steps, onExit, onComplete, badgeLabel, prevLabel, nextLabel, finishLabel, exitLabel, showExit, showCounter, showProgressBar, position, className, }: TourProps): React$1.JSX.Element | null;
|
|
4126
4627
|
|
|
4628
|
+
interface TraceListProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4629
|
+
children?: React$1.ReactNode;
|
|
4630
|
+
}
|
|
4631
|
+
/**
|
|
4632
|
+
* A run, in the order it happened.
|
|
4633
|
+
*
|
|
4634
|
+
* The default reading of a trace, because *what happened, and then what* is the
|
|
4635
|
+
* cheapest honest answer to a reader opening a run. Its rows are
|
|
4636
|
+
* {@link TraceStep}s; a bounded repetition **contains** its rounds
|
|
4637
|
+
* ({@link TraceLoop}) and a gate lies **between** rows ({@link TraceGate}).
|
|
4638
|
+
*
|
|
4639
|
+
* Nothing here is an axis. The layer a step spent is a column on its row, so a
|
|
4640
|
+
* list nests for free and a second round is simply another row inside the box
|
|
4641
|
+
* that holds it. The clock reading of the same trace is `LayerStrip`.
|
|
4642
|
+
*/
|
|
4643
|
+
declare const TraceList: React$1.ForwardRefExoticComponent<TraceListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4644
|
+
interface TraceStepProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onSelect" | "role"> {
|
|
4645
|
+
/** Where it sits in the run — the sequence number. */
|
|
4646
|
+
seq?: React$1.ReactNode;
|
|
4647
|
+
/** The step's key — `execute_query`. Mono, because it is the plan's own word. */
|
|
4648
|
+
name: React$1.ReactNode;
|
|
4649
|
+
/** One line: what it did, in the graph's terms. */
|
|
4650
|
+
description?: React$1.ReactNode;
|
|
4651
|
+
/** The participant class it spent. A step spends exactly one. */
|
|
4652
|
+
layer?: Layer;
|
|
4653
|
+
/** What it spent it on — `extract`, `decide`, `read_only`, `schema`. */
|
|
4654
|
+
role?: React$1.ReactNode;
|
|
4655
|
+
/** How long it took, or `—` when it never ran. */
|
|
4656
|
+
duration?: React$1.ReactNode;
|
|
4657
|
+
/** Under the duration — `ok`, `round 2`, `1,284 rows`, `skipped`. */
|
|
4658
|
+
note?: React$1.ReactNode;
|
|
4659
|
+
/** The exception this row carries — a `MarkChip`. */
|
|
4660
|
+
mark?: React$1.ReactNode;
|
|
4661
|
+
palette?: LayerPalette;
|
|
4662
|
+
/** A delegated run's steps sit under the step that spawned them. */
|
|
4663
|
+
depth?: number;
|
|
4664
|
+
/** Dispatched to nobody: queued, held, or never reached. Present, not in play. */
|
|
4665
|
+
dim?: boolean;
|
|
4666
|
+
/** It ran and it failed, or it was refused. The name is struck, in the destructive tone. */
|
|
4667
|
+
struck?: boolean;
|
|
4668
|
+
selected?: boolean;
|
|
4669
|
+
onSelect?: () => void;
|
|
4670
|
+
}
|
|
4671
|
+
/**
|
|
4672
|
+
* One event of a run: a step, and everything that is true of it.
|
|
4673
|
+
*
|
|
4674
|
+
* **The stripe is the layer.** A step touches exactly one participant class, so
|
|
4675
|
+
* the layer is a 3px rail down the row rather than a column of its own — which
|
|
4676
|
+
* leaves the row's width for the two things a reader is actually scanning, the
|
|
4677
|
+
* step's key and what it did.
|
|
4678
|
+
*
|
|
4679
|
+
* A row keeps its place in every state. A step that is painting right now, one
|
|
4680
|
+
* that was skipped because the step above it failed, one that was refused: all
|
|
4681
|
+
* three stay where they sit in the order, dimmed or struck. A list that dropped
|
|
4682
|
+
* them would be a list that cannot say *nothing below the failure was
|
|
4683
|
+
* dispatched*.
|
|
4684
|
+
*/
|
|
4685
|
+
declare const TraceStep: React$1.ForwardRefExoticComponent<TraceStepProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4686
|
+
interface TraceLoopProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4687
|
+
/** What bounded it — `↻ 2 of 3 rounds — understood on round 2`. */
|
|
4688
|
+
label: React$1.ReactNode;
|
|
4689
|
+
/** Hard right — `3 events · 42.8s`. */
|
|
4690
|
+
summary?: React$1.ReactNode;
|
|
4691
|
+
/** The rail and wash it is drawn in. Defaults to the warning token. */
|
|
4692
|
+
tone?: "warning" | "info" | "muted";
|
|
4693
|
+
children?: React$1.ReactNode;
|
|
4694
|
+
}
|
|
4695
|
+
/**
|
|
4696
|
+
* A bounded repetition, drawn by containment.
|
|
4697
|
+
*
|
|
4698
|
+
* The rounds are **inside** it, so a second round is one more row in the box
|
|
4699
|
+
* and a list nests for free. Drawing a loop as a marker beside its rows would
|
|
4700
|
+
* make a reader reconstruct which rows it held; drawing it as a bracket down the
|
|
4701
|
+
* side is the clock reading's job, where the axis is time and rows are bands.
|
|
4702
|
+
*/
|
|
4703
|
+
declare const TraceLoop: React$1.ForwardRefExoticComponent<TraceLoopProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4704
|
+
interface TraceGateProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4705
|
+
/** What it is — `approval — approved by ravi`. */
|
|
4706
|
+
label: React$1.ReactNode;
|
|
4707
|
+
/** What it cost — `waited 2m 04s · nothing was spent while it waited`. */
|
|
4708
|
+
note?: React$1.ReactNode;
|
|
4709
|
+
/** Defaults to the destructive token, which is what a stop is drawn in. */
|
|
4710
|
+
tone?: "destructive" | "warning" | "muted";
|
|
4711
|
+
/**
|
|
4712
|
+
* Which side of the line the cost falls on. `before` — nothing has been spent
|
|
4713
|
+
* yet; `after` — the work up to here is already paid for.
|
|
4714
|
+
*/
|
|
4715
|
+
edge?: "before" | "after";
|
|
4716
|
+
}
|
|
4717
|
+
/**
|
|
4718
|
+
* A gate — a rule across the list, never a row in it.
|
|
4719
|
+
*
|
|
4720
|
+
* It is dispatched by nobody, holds no slot and spends no participant, so it is
|
|
4721
|
+
* not a step: it is a **condition on the way into one**. Drawn as a full-width
|
|
4722
|
+
* rule with its chip hung off the side the cost falls on, *above this, nothing
|
|
4723
|
+
* has been spent* becomes something the drawing says rather than something a
|
|
4724
|
+
* legend has to claim.
|
|
4725
|
+
*/
|
|
4726
|
+
declare const TraceGate: React$1.ForwardRefExoticComponent<TraceGateProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4727
|
+
|
|
4127
4728
|
interface TreeViewProps {
|
|
4128
4729
|
style?: React$1.CSSProperties;
|
|
4129
4730
|
className?: string;
|
|
@@ -4305,4 +4906,4 @@ interface UseOverflowItemsResult {
|
|
|
4305
4906
|
*/
|
|
4306
4907
|
declare function useOverflowItems({ count, enabled, pinnedIndex, reserve, }: UseOverflowItemsOptions): UseOverflowItemsResult;
|
|
4307
4908
|
|
|
4308
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddressChip, type AddressChipProps, type AddressTone, AgentChip, type AgentChipProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppStatusBar, type AppStatusBarProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BarChartH, type BarChartHProps, BarChartV, type BarChartVProps, type BarDatum, type BaseNavProps, type Bound, BoundChip, type BoundChipProps, type BoundPalette, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, ButtonWithTooltip, type ButtonWithTooltipProps, CAST_ROLES, CannotAnswerCard, type CannotAnswerCardProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CardWithHeader, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CastResolution, type CastRole, type CastSource, CastTable, type CastTableProps, ChatSession, ChatSessionActivityRow, type ChatSessionActivityRowProps, type ChatSessionActivityStatus, ChatSessionActivitySubLine, type ChatSessionActivitySubLineProps, ChatSessionComposer, type ChatSessionComposerProps, ChatSessionContextChip, type ChatSessionContextChipProps, ChatSessionDisclosure, type ChatSessionDisclosureProps, ChatSessionMessage, type ChatSessionMessageAction, ChatSessionMessageOptions, type ChatSessionMessageOptionsProps, type ChatSessionMessageProps, type ChatSessionMessageRole, type ChatSessionMessageStatus, ChatSessionProgressLine, type ChatSessionProgressLineProps, ChatSessionPromptRow, type ChatSessionPromptRowProps, type ChatSessionProps, ChatSessionStatusBar, type ChatSessionStatusBarProps, ChatSessionTaskGroup, type ChatSessionTaskGroupProps, ChatSessionTaskRow, type ChatSessionTaskRowProps, type ChatSessionTaskStatus, CitationList, type CitationListProps, CitationMarker, CitationRow, type CitationRowProps, ClampedText, type ClampedTextProps, ClarifyCard, type ClarifyCardProps, type ClarifyOption, type ColumnDatum, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextBar, type ContextBarProps, type DeclaredAxes, DiagnosisCard, type DiagnosisCardProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffList, type DiffListProps, type DiffOp, DiffRow, type DiffRowProps, DivergingBar, type DivergingBarProps, type DivergingDatum, DotRating, type DotRatingProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EgressClass, EgressList, type EgressListProps, EmissionCard, type EmissionCardProps, EmissionHeader, type EmissionHeaderProps, type EmissionKind, EmptyState, EmptyStateLock, type EmptyStateLockProps, type EmptyStateProps, ErrorBoundary, Eyebrow, type EyebrowProps, FilterBar, type FilterBarProps, FilterChip, type FilterChipProps, type HeatCell, type HeatState, HeatStrip, type HeatStripProps, HoverCard, HoverCardContent, HoverCardTrigger, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, type KnownAddressTone, type KnownBound, type KnownDiffOp, type KnownLayer, type KnownLayerItemState, type KnownMetricTone, type KnownTerminalLevel, type Layer, type LayerBand, type LayerBracket, LayerChip, type LayerChipProps, type LayerItem, type LayerItemState, type LayerPaint, type LayerPalette, type LayerPart, type LayerScale, type LayerSeam, LayerSection, type LayerSectionProps, LayerStrip, type LayerStripProps, Legend, LegendItem, type LegendItemProps, type LegendProps, type LegendSwatchKind, LensChip, type LensChipProps, LensRow, type LensRowProps, type LensUsage, Link, type LinkProps, type MatchCandidate, MatchPreview, type MatchPreviewProps, MenuItem, type MenuItemProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricGrid, type MetricGridProps, MetricTile, type MetricTileProps, type MetricTone, type Narrowing, NavBase, NavHorizontal, type NavHorizontalItem, NavHorizontalItems, type NavHorizontalItemsProps, type NavHorizontalProps, type NavItemConfig, NavItems, type NavItemsProps, type NavItemsVariant, type NavMenuItem, type NavSection, NavVertical, type NavVerticalItem, NavVerticalItems, type NavVerticalItemsProps, type NavVerticalProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NestedMenu, type NestedMenuProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelBox, type PanelBoxProps, PanelContent, type PanelContentProps, PanelStack, type PanelStackHandle, type PanelStackProps, type PanelStackSection, Popover, PopoverContent, PopoverTrigger, Progress, PropertyList, type PropertyListProps, PropertyRow, type PropertyRowProps, ProposalCard, type ProposalCardProps, RatingControl, type RatingControlProps, RecordHeader, type RecordHeaderProps, RepairNote, type RepairNoteProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, RetryNote, type RetryNoteProps, RichSelect, type RichSelectOption, type RichSelectProps, type RuleEgress, type RuleProperties, RuleRow, type RuleRowProps, type RuleSelect, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, type SearchInputSize, SectionHeader, type SectionHeaderProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SliceLine, SliceSummary, type SliceSummaryProps, Sparkline, type SparklineProps, Spinner, StatusDot, type StatusDotProps, type TabConfig, TabbedPanel, type TabbedPanelProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TaskGantt, TaskGanttDetailCard, type TaskGanttDetailCardProps, type TaskGanttDetailProps, type TaskGanttInstant, type TaskGanttProps, type TaskGanttSegment, type TaskGanttStatus, type TaskGanttTask, TaskNode, type TaskNodeProps, type TaskNodeTag, type TemplateOption, TemplatePicker, type TemplatePickerProps, Terminal, type TerminalLevel, TerminalLine, type TerminalLineKind, type TerminalLineProps, type TerminalProps, TimelineEntry, type TimelineEntryProps, TimelineFooter, type TimelineFooterProps, TimelineList, type TimelineListProps, type TimelineVariant, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TouchDirection, Tour, type TourController, type TourProps, type TourReference, type TourStep, TreeItem, TreeView, type TreeViewProps, Typography, TypographyBlockquote, type TypographyBlockquoteProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyH5, type TypographyH5Props, TypographyH6, type TypographyH6Props, TypographyInlineCode, type TypographyInlineCodeProps, TypographyLarge, type TypographyLargeProps, TypographyLead, type TypographyLeadProps, TypographyList, type TypographyListProps, TypographyMuted, type TypographyMutedProps, TypographyP, type TypographyPProps, TypographyPre, type TypographyPreProps, TypographySmall, type TypographySmallProps, UnderDevelopment, type UnderDevelopmentProps, type UseOverflowItemsOptions, type UseOverflowItemsResult, type UseTourOptions, type Verdict, agentChipVariants, badgeVariants, buttonGroupVariants, buttonVariants, chatSessionGutterClass, cn, describeSlice, stateLabel as layerItemLabel, layerLabel, layerPaint, linkVariants, navigationMenuTriggerStyle, split as splitAddress, statusDotVariants, toggleVariants, useOverflowItems, useSidebar, useTour };
|
|
4909
|
+
export { AbsenceNote, type AbsenceNoteProps, type AbsenceReason, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddressChip, type AddressChipProps, type AddressTone, AgentChip, type AgentChipProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppStatusBar, type AppStatusBarProps, type Artifact, ArtifactTable, type ArtifactTableProps, AttemptClock, type AttemptClockProps, type AttemptRow, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BarChartH, type BarChartHProps, BarChartV, type BarChartVProps, type BarDatum, type BaseNavProps, type Bound, BoundChip, type BoundChipProps, type BoundPalette, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, ButtonWithTooltip, type ButtonWithTooltipProps, CAST_ROLES, CannotAnswerCard, type CannotAnswerCardProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CardWithHeader, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CastResolution, type CastRole, type CastSource, CastTable, type CastTableProps, ChatSession, ChatSessionActivityRow, type ChatSessionActivityRowProps, type ChatSessionActivityStatus, ChatSessionActivitySubLine, type ChatSessionActivitySubLineProps, ChatSessionComposer, type ChatSessionComposerProps, ChatSessionContextChip, type ChatSessionContextChipProps, ChatSessionDisclosure, type ChatSessionDisclosureProps, ChatSessionMessage, type ChatSessionMessageAction, ChatSessionMessageOptions, type ChatSessionMessageOptionsProps, type ChatSessionMessageProps, type ChatSessionMessageRole, type ChatSessionMessageStatus, ChatSessionProgressLine, type ChatSessionProgressLineProps, ChatSessionPromptRow, type ChatSessionPromptRowProps, type ChatSessionProps, ChatSessionStatusBar, type ChatSessionStatusBarProps, ChatSessionTaskGroup, type ChatSessionTaskGroupProps, ChatSessionTaskRow, type ChatSessionTaskRowProps, type ChatSessionTaskStatus, CitationList, type CitationListProps, CitationMarker, CitationRow, type CitationRowProps, ClampedText, type ClampedTextProps, ClarifyCard, type ClarifyCardProps, type ClarifyOption, type ColumnDatum, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextBar, type ContextBarProps, type DeclaredAxes, DiagnosisCard, type DiagnosisCardProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffList, type DiffListProps, type DiffOp, DiffRow, type DiffRowProps, DivergingBar, type DivergingBarProps, type DivergingDatum, DotRating, type DotRatingProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EgressClass, EgressList, type EgressListProps, EmissionCard, type EmissionCardProps, EmissionHeader, type EmissionHeaderProps, type EmissionKind, EmptyState, EmptyStateLock, type EmptyStateLockProps, type EmptyStateProps, ErrorBoundary, type ExchangeOption, ExchangeRecord, type ExchangeRecordProps, Eyebrow, type EyebrowProps, FilterBar, type FilterBarProps, FilterChip, type FilterChipProps, type HeatCell, type HeatState, HeatStrip, type HeatStripProps, HoverCard, HoverCardContent, HoverCardTrigger, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, KindChip, type KindChipProps, type KnownAddressTone, type KnownBound, type KnownDiffOp, type KnownLayer, type KnownLayerItemState, type KnownMetricTone, type KnownParticipantVerdict, type KnownRunKind, type KnownRunStatus, type KnownTerminalLevel, type Layer, type LayerBand, type LayerBracket, LayerChip, type LayerChipProps, type LayerForecast, type LayerItem, type LayerItemState, type LayerPaint, type LayerPalette, type LayerPart, type LayerScale, type LayerSeam, LayerSection, type LayerSectionProps, LayerStrip, type LayerStripProps, Legend, LegendItem, type LegendItemProps, type LegendProps, type LegendSwatchKind, LensChip, type LensChipProps, LensRow, type LensRowProps, type LensUsage, Link, type LinkProps, MarkChip, type MarkChipProps, type MarkTone, type MatchCandidate, MatchPreview, type MatchPreviewProps, MenuItem, type MenuItemProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricGrid, type MetricGridProps, MetricTile, type MetricTileProps, type MetricTone, type Narrowing, NavBase, NavHorizontal, type NavHorizontalItem, NavHorizontalItems, type NavHorizontalItemsProps, type NavHorizontalProps, type NavItemConfig, NavItems, type NavItemsProps, type NavItemsVariant, type NavMenuItem, type NavSection, NavVertical, type NavVerticalItem, NavVerticalItems, type NavVerticalItemsProps, type NavVerticalProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NestedMenu, type NestedMenuProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelBox, type PanelBoxProps, PanelContent, type PanelContentProps, PanelStack, type PanelStackHandle, type PanelStackProps, type PanelStackSection, ParticipantRow, type ParticipantRowProps, type ParticipantVerdict, Popover, PopoverContent, PopoverTrigger, Progress, PropertyList, type PropertyListProps, PropertyRow, type PropertyRowProps, ProposalCard, type ProposalCardProps, RatingControl, type RatingControlProps, RecordHeader, type RecordHeaderProps, RecordPager, type RecordPagerProps, RepairNote, type RepairNoteProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, RetryNote, type RetryNoteProps, RichSelect, type RichSelectOption, type RichSelectProps, type RuleEgress, type RuleProperties, RuleRow, type RuleRowProps, type RuleSelect, type RunKind, RunRow, type RunRowProps, type RunStatus, RunStatusText, type RunStatusTextProps, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, type SearchInputSize, SectionHeader, type SectionHeaderProps, SegmentedControl, type SegmentedControlProps, type SegmentedOption, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SliceLine, SliceSummary, type SliceSummaryProps, Sparkline, type SparklineProps, Spinner, StatusDot, type StatusDotProps, type TabConfig, TabbedPanel, type TabbedPanelProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TaskGantt, TaskGanttDetailCard, type TaskGanttDetailCardProps, type TaskGanttDetailProps, type TaskGanttInstant, type TaskGanttProps, type TaskGanttSegment, type TaskGanttStatus, type TaskGanttTask, TaskNode, type TaskNodeProps, type TaskNodeTag, type TemplateOption, TemplatePicker, type TemplatePickerProps, Terminal, type TerminalLevel, TerminalLine, type TerminalLineKind, type TerminalLineProps, type TerminalProps, TimelineEntry, type TimelineEntryProps, TimelineFooter, type TimelineFooterProps, TimelineList, type TimelineListProps, type TimelineVariant, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TouchDirection, type TouchItem, TouchStrip, type TouchStripProps, Tour, type TourController, type TourProps, type TourReference, type TourStep, TraceGate, type TraceGateProps, TraceList, type TraceListProps, TraceLoop, type TraceLoopProps, TraceStep, type TraceStepProps, TreeItem, TreeView, type TreeViewProps, Typography, TypographyBlockquote, type TypographyBlockquoteProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyH5, type TypographyH5Props, TypographyH6, type TypographyH6Props, TypographyInlineCode, type TypographyInlineCodeProps, TypographyLarge, type TypographyLargeProps, TypographyLead, type TypographyLeadProps, TypographyList, type TypographyListProps, TypographyMuted, type TypographyMutedProps, TypographyP, type TypographyPProps, TypographyPre, type TypographyPreProps, TypographySmall, type TypographySmallProps, UnderDevelopment, type UnderDevelopmentProps, type UseOverflowItemsOptions, type UseOverflowItemsResult, type UseTourOptions, type Verdict, agentChipVariants, badgeVariants, buttonGroupVariants, buttonVariants, chatSessionGutterClass, cn, describeSlice, stateLabel as layerItemLabel, layerLabel, layerPaint, linkVariants, navigationMenuTriggerStyle, TONE as runStatusTones, split as splitAddress, statusDotVariants, toggleVariants, useOverflowItems, useSidebar, useTour };
|