@crewlethq/ui 0.122.0 → 0.123.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +45 -2
  2. package/dist/AvatarPicker/index.js +2 -2
  3. package/dist/Charts/StackedRing.d.ts +40 -0
  4. package/dist/Charts/TimeSeries.d.ts +8 -1
  5. package/dist/Charts/index.d.ts +2 -0
  6. package/dist/Charts/index.js +1 -1
  7. package/dist/{Charts-UJKADWXE.css → Charts-4VQ7T3GB.css} +85 -0
  8. package/dist/DataGrid/DataGrid.d.ts +11 -1
  9. package/dist/DataGrid/index.d.ts +1 -1
  10. package/dist/DataGrid/index.js +1 -1
  11. package/dist/{DataGrid-7KUUYSHA.css → DataGrid-KAFVH4B3.css} +3 -1
  12. package/dist/DeepWorkCard/index.js +2 -2
  13. package/dist/Fullscreen/FullscreenToggle.d.ts +21 -0
  14. package/dist/Fullscreen/index.d.ts +2 -0
  15. package/dist/Fullscreen/index.js +11 -1
  16. package/dist/GraphCanvas/GraphCanvas.d.ts +97 -16
  17. package/dist/GraphCanvas/index.d.ts +4 -4
  18. package/dist/GraphCanvas/index.js +3 -3
  19. package/dist/GraphCanvas/layout.d.ts +31 -1
  20. package/dist/GraphCanvas/walk.d.ts +5 -4
  21. package/dist/GraphCanvas-UZPZRP6S.css +793 -0
  22. package/dist/IconTile/IconTile.d.ts +26 -18
  23. package/dist/IconTile/index.d.ts +1 -1
  24. package/dist/IconTile/index.js +1 -1
  25. package/dist/IconTile-6OSCIHYU.css +112 -0
  26. package/dist/OpenInAppCard/index.js +2 -2
  27. package/dist/OrgTable/index.js +3 -3
  28. package/dist/ReviewList/index.js +2 -2
  29. package/dist/TreeGrid/index.js +2 -2
  30. package/dist/{chunk-W5XCNEZC.js → chunk-3JLG6KRU.js} +23 -2
  31. package/dist/{chunk-AGVGX52B.js → chunk-7XYU5PSQ.js} +1 -1
  32. package/dist/{chunk-6KPHU4EB.js → chunk-DSBKVP73.js} +490 -122
  33. package/dist/{chunk-MDD6K5M4.js → chunk-EWJOBD25.js} +1 -1
  34. package/dist/{chunk-X5YI6QLW.js → chunk-NOKZULW3.js} +1 -1
  35. package/dist/{chunk-ZOMTCEHR.js → chunk-OFNJE4BN.js} +6 -1
  36. package/dist/{chunk-75O3HCCD.js → chunk-T4TKY4VZ.js} +1 -1
  37. package/dist/chunk-VRVNLJUA.js +46 -0
  38. package/dist/{chunk-MNTN5ESE.js → chunk-ZY5322MJ.js} +77 -3
  39. package/dist/generated/index.js +46 -46
  40. package/dist/index.js +46 -46
  41. package/dist/styles.css +701 -130
  42. package/package.json +3 -3
  43. package/dist/GraphCanvas-RSBMO2AF.css +0 -388
  44. package/dist/IconTile-G52XZVR4.css +0 -33
  45. package/dist/chunk-3LI4TRUR.js +0 -22
  46. package/dist/{chunk-4Z3AGYOB.js → chunk-P42LNYRX.js} +1 -1
  47. package/dist/{chunk-JWUIGUIS.js → chunk-YCT7LRYR.js} +1 -1
package/README.md CHANGED
@@ -43,12 +43,12 @@ import { Button } from '@crewlethq/ui/Button'; // 8 KB of CSS, not 182 KB
43
43
  | Actions | `Button` and `ButtonLink` (variants `primary`, `secondary`, `outline`, `ghost`, `accent`, `danger`; sizes `small`, `medium`, `large`; shapes `square`, `pill`), `IconButton`, `Menu`, `Link`, `Copyable`, `CopyButton`, `DownloadButton`, `Kbd` |
44
44
  | Content and text | `Text` (the eight registers and `inherit`; a line cut by `truncate` or `clamp` shows its whole words on hover), `Prose`, `Statement`, `Document`, `DocumentTitle` and `DocumentTitleField`, the Markdown grammar (`parseMarkdown`, `parseMarkdownSpans`, `markdownInline`, `safeHref` and the line readers, with no React in it), `Highlight`, `InlineCode`, `List` and `ListItem`, `DescriptionList`, `Timeline`, `RelativeTime`, `Note`, `Divider` |
45
45
  | Forms | `Input`, `Textarea`, `Label`, `FormField`, `FormRow`, `Checkbox`, `CheckboxGroup`, `ConfirmField`, `Select`, `Tag`, `TagsInput`, `DateTimePicker`, `TimeWindowPicker`, `TimeRangePicker`, `ImageUpload`, `CharacterPicker`, `HuePicker`, `AvatarPicker`, `FactList`, `ChoiceList`, `ChoiceCards`, `MemberPicker` (groups granted whole, with members left out or chosen on their own, and `chosenMembers`), `KeyValueRows` (keys and their values as rows under one column head, with `keyValueRowsLabels`), `ChipField` (chosen items as chips inside the field), `PersonRow` (a person or an agent as one row of a list), `Composer`, `MarkdownEditor`, `RichEditor` (with `preloadRichEditor`, and the round trip `roundTripMarkdown` and `canonicalMarkdown` from `@crewlethq/ui/RichEditorMarkdown`) |
46
- | Data display | `DataGrid` (with `useDataGridDriving`, `useAnyDataGridDriving` and `countDataGridRows`), `DataTable`, `CopyableCell`, `Table`, the read-only table cells (`TableKeyCell`, `TableNumberCell`, `TableDateCell`, `TableEntityCell`, `TableStatusCell`, `TableTagsCell`, `TableTextCell`, `TableTwoLineCell`), `StatCard`, `Meter`, `SegmentedMeter`, `Stepper`, `PricingCard`, `Avatar`, `AvatarStack`, `EntityChip`, `CodeBlock`, `QrCode`, `ObjectHeader`, `FactLine`, `SetByLine` (set, seen, observed or confirmed by, with `SET_BY_VERBS`), `GraphCanvas` (a layered map of lanes, groups and edges, with its pure layout `layoutGraph`, the reach `graphReach` and the keyboard walk `graphStep`), `Skeleton`, `Eyebrow`, `StatGroup`, `PinTile`, `IconTile`, `SettingsTable` (with `SettingsTable.Row`), `CatalogTile` |
46
+ | Data display | `DataGrid` (with `useDataGridDriving`, `useAnyDataGridDriving` and `countDataGridRows`), `DataTable`, `CopyableCell`, `Table`, the read-only table cells (`TableKeyCell`, `TableNumberCell`, `TableDateCell`, `TableEntityCell`, `TableStatusCell`, `TableTagsCell`, `TableTextCell`, `TableTwoLineCell`), `StatCard`, `Meter`, `SegmentedMeter`, `Stepper`, `PricingCard`, `Avatar`, `AvatarStack`, `EntityChip`, `CodeBlock`, `QrCode`, `ObjectHeader`, `FactLine`, `SetByLine` (set, seen, observed or confirmed by, with `SET_BY_VERBS`), `GraphCanvas` (a layered map of clusters, groups and three families of line, with its legend, the card beside an entry, the selection dock and fullscreen, its pure layout `layoutGraph`, the trunks `graphTrunks`, the reach `graphReach` and the keyboard walk `graphStep`), `Skeleton`, `Eyebrow`, `StatGroup`, `PinTile`, `IconTile`, `SettingsTable` (with `SettingsTable.Row`), `CatalogTile` |
47
47
  | List screens | `DataView`, and its parts on their own: `DataViewToolbar`, `FilterAxisBar`, `FilterAxisChip`, `FilterPill`, plus the filter model (`filterDefsFromColumns`, `applyColumnFilters`, `filterPredicate`, `blankFilterValue`) |
48
48
  | Feedback and overlays | `Callout`, `AttentionList` (what needs a person, as rows in one card), `ConflictNote`, `EditingStatus`, `Toaster`, `Modal` (with `variant="sheet"`), `ConfirmModal`, `CommandPalette`, `Tooltip`, `Popover`, `Announcer` |
49
49
  | Documents and review | `DiffView` and `DiffSummary` with the line diff they draw (`diffLines`, `diffStat`, `collapseDiff`, `firstChangedLines`, `splitLines`, `MAX_DIFF_LINES`, with no React in it), `DiffList`, `VersionCompare`, `CommentThread` |
50
50
  | Conversations and the assistant | `ChatThread` (with `ChatThreadHandle`), `ChatMessage` and `ChatMessageFailure`, `MessageActions` (with `MessageAction`, `QuickReaction` and `ActionDivider`), `ReactionBar` and `AddReaction` (with `reactionWho`), `EmojiPicker` (with `EMOJI_GROUPS`, `emojiName` and `searchEmoji`), `ThreadSummary`, `ActivityLine`, `WorkingLine` (every agent at work on one line, with `workingSentence`, `workingAnnouncement` and `BouncingDots`), `MentionChip`, `MessageBubble`, `RunChip`, `StepList` and `StepStateMark`, `ProposalCard`, `ChangeList` (with `shortenUnchanged`), `StatusCard`, `ReceiptStrip`, `RefusalStrip`, `ResultTableCard`, `OpenInAppCard`, `BriefCard` (with `points`, what was said, each citing its message), `EntityList`, `RecordChip` and `RecordChipList` (a record named in a sentence, opening a peek, and the Also read line), `RefusalCard`, `SuggestionRow` and `SuggestionList`, `SendButton`, a transcript's timeline (`ChatDay` with `ChatDayPill`, `ChatDivider`), `LinkCard` (a link unfurled under its message), `MentionMenu` (with `mentionQuery`), `ActionCard` and `ActionCardRow` |
51
- | Charts | `Legend`, `BarList`, `StackedBar`, `StackedColumns`, `ActivityStrip`, `TimeSeries`, `Sparkline`, the reading layer they share (`ChartTooltip`, `useChartHover`), and the ramp (`DATA_COLORS`, `DATA_COLOR_OTHER`, `dataColor`) |
51
+ | Charts | `Legend`, `BarList`, `StackedBar`, `StackedColumns`, `StackedRing`, `ActivityStrip`, `TimeSeries`, `Sparkline` (with its `fine` weight), the reading layer they share (`ChartTooltip`, `useChartHover`), and the ramp (`DATA_COLORS`, `DATA_COLOR_OTHER`, `dataColor`) |
52
52
  | Marks | `Count` (with `tone="attention"`), `StatusDot`, `Spinner`, `EmptyValue`, `VisuallyHidden` |
53
53
  | Hooks and seams | `useModalLayer`, `usePopupLayer`, `LayerHost`, `useListbox`, `useOptionKeys`, `useHighlightRest` and `HIGHLIGHT_REST_MS`, `useClipboard`, `useDownload`, `downloadText`, `downloadBlob`, `safeFilename`, `toCsv`, `elementToPng` and `ElementToPngError`, `useOutcome`, `useAnnouncer`, `useNow`, `formatRelative`, `HeadingLevelProvider`, `cx`, the node hues (`NODE_HUES`, `NODE_HUE_NAMES`, `isNodeHue`) |
54
54
  | Layout | `Container`, `Section`, `Card`, `TileGrid`, `ListDetail`, `RailList` (a directory's groups as a rail beside its list, folding into a picker), `AsideLayout`, `Tabs`, `Accordion`, `Disclosure`, `Outline` (with `useActiveHeading` and `scrollToHeading`), `TreeGrid` |
@@ -208,6 +208,49 @@ places:
208
208
  - A surface that pans or zooms dispatches `LAYER_REPOSITION_EVENT` on its host
209
209
  when the content beneath it moves, and every panel anchored inside follows.
210
210
 
211
+ ## Changes in 0.123.0
212
+
213
+ ### A map and a catalogue of what a company runs on
214
+
215
+ **Breaking: `GraphCanvas` is the layered service map, in one look.** It keeps its clusters (lanes) in bands, its groups that open and close, its right-angled routing round every card, its keyboard walk and its drawing budget (only the cards near the view are mounted, and zoomed out past reading they are shapes on one layer), and gains what a map of a company needs:
216
+
217
+ - **Three families of line** (`GraphEdge.family`, `GraphEdgeFamily`, `GRAPH_EDGE_FAMILIES`). `flow` is a call: drawn at rest, with dashes moving along it that say which way it points (direction, never volume). `support` is what something runs on: at rest it is one trunk per pair of clusters in neighbouring bands, with its count ("7 run on"; `graphTrunks`, `GraphTrunk`). `context` is what stands around (an account, a repository, a monitor). The last two are drawn line by line for the entry a reader stands on, or when the legend switches them on (`families`, `onFamiliesChange`, calls alone unless named). Hiding a family never moves a card: the order inside a cluster reads the calls and the "runs on" lines whatever is shown.
218
+ - **The lit path.** A selection lights its whole path both ways along the lines that carry a failure (calls and "runs on"), and what stands around it one step away; everything else recedes to a fifth. The lit line is the accent under a glow, with faster dashes. `trace` narrows the direction and the depth. A press on the selected card, a press on the ground or Escape clears.
219
+ - **The pointer and focus** light an entry and its neighbours after a short rest, and open the card `renderCard(id)` draws beside it (a `tooltip`, placed without re-rendering the map as the view moves). `onHover` says which entry that is, and `hoveredId` lights the entry another surface points at, so a table of the same entries and the map point at each other.
220
+ - **Clusters of several columns.** `GraphLane.columns` is how wide a cluster is, and `GraphNode.column` stands an entry in one of them, for a cluster whose columns mean something (a service one column right of what calls it). Arrow keys move the way they point: along a column, to the next column, then to the cluster beside.
221
+ - **The entry's card** is one line: the kind's glyph in a ruled cell with an optional `mark` (a vendor's) on its corner, and the name. `attention` is a notch on the leading edge in its tone and a badge with a glyph (the tone's own, or `attention.glyph`), and its word is read with the name, so the tone is never colour alone. `title` is the whole name where `name` is a short form.
222
+ - **Its own surfaces.** The legend (a key per tone the caller words through `tones`, quiet, unconfirmed, and a `FilterChip` switch per family) stands across from the zoom bar; `dock` is drawn over the lower edge, for what is selected and what can be done with it; and the zoom bar carries a fullscreen control (`fullscreen`, on by default, taking the map itself inside a `LayerHost`, or the element passed where the map opens something beside it). On a narrow map (under `GRAPH_CANVAS_NARROW_WIDTH`, 800px) nothing floats over the picture: the dock and the legend stand under the canvas, in room the map gives up for them, so neither covers a cluster's title or an entry. `chrome={false}` leaves a still diagram with no zoom bar, legend, trunks or fullscreen, for one entry among its neighbours.
223
+ - **One look, inside the world only.** A fine grid in two weights over a wash of the accent, see-through cluster panes inside an outline with the title set into the line, outlined cards on the ground's own colour (so no line shows through a card), square 2px corners and mono labels. These are the component's own values (`--crewlet-graph-canvas-*`) over the map's colour tokens (`--color-map-*`, see `@crewlethq/tokens`). The legend, the card, the dock and the zoom bar keep the kit's own shapes and type; the one exception is the legend's health key, which is the notch it explains. Past `GRAPH_CANVAS_FLOW_LIMIT` calls in view the dashes at rest stand still, and every motion stops for a reader who asked for less.
224
+
225
+ Types: `GraphEdgeFamily`, `GraphTrunk`. Stories: `GraphCanvas` (at rest, selected, traced, pointed at, every line, three hundred, two thousand closed and open, empty, a neighbourhood, light and dark, narrow, tablet).
226
+
227
+ What to change:
228
+
229
+ | Was | Is |
230
+ |---|---|
231
+ | `GraphEdge.atRest: false` | `family: 'context'` (what stands around), or `family: 'support'` for what something runs on; a call needs nothing |
232
+ | a selection with no `trace` lighting its neighbours only | it lights its whole path both ways; pass `trace={{ direction: 'both', depth: 1 }}` for one step |
233
+ | `GraphNode.caption` drawn as a second line | read after the name, never drawn: a card is one line. Put what a reader must see in `renderCard` |
234
+ | a `StatusDot` on the card for `attention` | a notch and a badge, drawn by the map; nothing to pass |
235
+ | a `StatusLegend` passed as `overlayEnd` to explain the tones | `tones={{ danger: 'Alerting', … }}`; the map draws its legend, and `overlayEnd` follows it in the same bar |
236
+ | a fullscreen button passed in `controlsExtra` | drop it: the map draws one. `fullscreen={false}` turns it off, `fullscreen={ref}` takes another element |
237
+ | the card's size, `--crewlet-graph-canvas-card-width: 13.5rem` and `-height: 3.25rem` | `11rem` by `2.375rem`; set the variables on the map to change them |
238
+ | `.crewlet-graph-canvas__edge[data-state='quiet' \| 'faint' \| 'strong']` | `.crewlet-graph-canvas__edge-layer[data-family][data-state='rest' \| 'dim' \| 'lit']` holding the `__edge`, its `__arrow` and its `__flow` |
239
+ | `.crewlet-graph-canvas__card[data-dimmed]`, `.crewlet-graph-canvas__tile`, `__text`, `__caption`, `__dot` | `[data-state='dim' \| 'lit' \| 'rest']`, `__cell`, `__name`, `__mark`, `__badge` |
240
+ | Up and Down walking a wide lane in reading order | they move along its column; Left and Right move to the next column, then the lane beside |
241
+
242
+ **`FullscreenToggle` is new**, beside `useFullscreen`: the control that takes a surface fullscreen and gives it back (`target`, the element taken; `labels`, `FULLSCREEN_TOGGLE_LABELS`), for a bar that acts on that surface. It is not drawn where the browser has no fullscreen. Types: `FullscreenToggleProps`, `FullscreenToggleLabels`.
243
+
244
+ **`IconTile` takes `shape="disc"`, `mark`, `status` and `dashed`**, for one entry of a catalogue where the square is a kind of thing: a round tile inside a hairline in its hue, a small mark on its lower corner (the vendor the entry lives at), a ring in the tone and a badge with a glyph when the entry needs a person (`IconTileStatus`: `tone`, and `glyph` in place of the tone's own), and a dashed edge while nobody has confirmed it. The tile stays hidden from assistive technology whatever it carries, so the word is always said beside it. Stories: `IconTile` (`Discs`).
245
+
246
+ **`StackedRing` is new, among the charts**: one whole split into its parts round a figure (`segments`, the `StackedSegment` list a `StackedBar` takes; the figure as children; `size`), for the lead tile of a summary band. Each part is an arc of one circle in its place's colour over a faint halo of itself, a zero part is not drawn, a whole of nothing is the empty track, and the sentence naming every part and its share is the ring's name (`summary`, `format`, `emptyLabel`). It stands beside the keys that name its parts, as a `StackedBar` does. Types: `StackedRingProps`. Stories: `Charts` (`Ring`).
247
+
248
+ **`Sparkline` takes `weight="fine"`**: a 1px line under a faint halo of its own colour (the same line again at half strength behind a 1px blur, so the line stays crisp), for a column of shapes read down a table. Stories: `Charts` (`FineLines`).
249
+
250
+ **`DataGrid` rows can be pointed at.** `onRowPoint(row | null)` says which row the pointer rests on, and `isPointed(row)` draws the row another surface points at as the pointer draws one (the selected row keeps its own fill), so a grid and a map of the same records point at each other. `DataGridSelection` is exported, as `DataGridProps.selection` already used it.
251
+
252
+ **A catalogue and its band need no new component.** `Atlas screen parts` (stories) composes the whole screen from the kit: the catalogue is a `DataGrid` with `bands` (rows grouped by health, each heading with its mark and count), its rows led by an `IconTile` disc in a `TableTwoLineCell`, then `TableTextCell` with a `VendorMark`, `EntityChip` (owner), `StatusDot` (the health word and its mark), `Tag` (relations and confidence) and a fine `Sparkline` beside its count; the band is `StackedRing`, `ActivityStrip`, and `StackedBar` with its `Legend`, on `Card`; the detail's recent changes are a `Timeline`.
253
+
211
254
  ## Changes in 0.86.0
212
255
 
213
256
  ### Forms, tables and directories
@@ -1,8 +1,8 @@
1
- export { AvatarPicker } from '../chunk-JWUIGUIS.js';
1
+ export { AvatarPicker } from '../chunk-YCT7LRYR.js';
2
2
  import '../chunk-5P6LLFEO.js';
3
3
  import '../chunk-KDRJZWE3.js';
4
- import '../chunk-AYKXMIOR.js';
5
4
  import '../chunk-S4JRQJEP.js';
5
+ import '../chunk-AYKXMIOR.js';
6
6
  import '../chunk-4PKMM3EZ.js';
7
7
  import '../chunk-GIYIKUJE.js';
8
8
  import '../chunk-EGMQURBR.js';
@@ -0,0 +1,40 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { StackedSegment } from './StackedBar.js';
3
+ export interface StackedRingProps {
4
+ /** The parts of the whole, as a StackedBar takes them: a part's colour is its place in the list. */
5
+ segments: StackedSegment[];
6
+ /** What stands in the middle: the whole as a figure, such as "52". */
7
+ children?: ReactNode;
8
+ /** How wide and tall the ring is, as a CSS length. */
9
+ size?: string;
10
+ /**
11
+ * How the parts are read out, for anybody who cannot see the ring. The
12
+ * default names each part and its share.
13
+ */
14
+ summary?: (parts: {
15
+ label: string;
16
+ value: number;
17
+ percent: number;
18
+ }[]) => string;
19
+ /** How a value reads out in the default sentence. Defaults to the reader's own number format. */
20
+ format?: (value: number) => string;
21
+ /** What is read out when no part holds anything. */
22
+ emptyLabel?: string;
23
+ className?: string;
24
+ }
25
+ /**
26
+ * One whole, split into its parts, round a figure: the lead tile of a summary
27
+ * band, where the figure is the whole and the ring says how it divides.
28
+ *
29
+ * ALWAYS BESIDE ITS KEYS. Like a StackedBar the ring carries no labels, so the
30
+ * parts are named beside it (a Legend, or lines of words with their counts),
31
+ * keyed from the same list. Where the parts need reading one by one, a
32
+ * StackedBar does that; the ring is a picture beside words that already say
33
+ * everything it does.
34
+ *
35
+ * A ZERO PART IS NOT DRAWN, and a whole of nothing is the empty track round
36
+ * its figure, never a ring that reads as full.
37
+ *
38
+ * THE VALUES ARE IN THE MARKUP: the summary sentence is the ring's name.
39
+ */
40
+ export declare function StackedRing({ segments, children, size, summary, format, emptyLabel, className, }: StackedRingProps): import("react").JSX.Element;
@@ -102,6 +102,13 @@ export interface SparklineProps {
102
102
  * itself or an ancestor.
103
103
  */
104
104
  current?: boolean | undefined;
105
+ /**
106
+ * How heavy the line is. `fine` is a 1px line under a faint halo of its own
107
+ * colour, for a dense table where a column of shapes is read down: the
108
+ * heavier line of a card's one sparkline would turn such a column into
109
+ * stripes. `regular` unless named.
110
+ */
111
+ weight?: 'regular' | 'fine' | undefined;
105
112
  /** How tall the shape is, as a CSS length. */
106
113
  height?: string;
107
114
  className?: string;
@@ -130,4 +137,4 @@ export interface SparklineProps {
130
137
  * Fewer than two values draw nothing, and the box keeps its height, so a row
131
138
  * of figures does not jump as one of them gains its second point.
132
139
  */
133
- export declare function Sparkline({ values, color, current, height, className, }: SparklineProps): import("react").JSX.Element;
140
+ export declare function Sparkline({ values, color, current, weight, height, className, }: SparklineProps): import("react").JSX.Element;
@@ -6,6 +6,8 @@ export { BarList } from './BarList.js';
6
6
  export type { BarDatum, BarListLayout, BarListProps, BarPart } from './BarList.js';
7
7
  export { StackedBar } from './StackedBar.js';
8
8
  export type { StackedBarProps, StackedSegment } from './StackedBar.js';
9
+ export { StackedRing } from './StackedRing.js';
10
+ export type { StackedRingProps } from './StackedRing.js';
9
11
  export { ActivityStrip } from './ActivityStrip.js';
10
12
  export type { ActivityBucket, ActivityStripProps } from './ActivityStrip.js';
11
13
  export { Histogram, histogramTicks } from './Histogram.js';
@@ -1,4 +1,4 @@
1
- export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from '../chunk-MNTN5ESE.js';
1
+ export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, StackedRing, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from '../chunk-ZY5322MJ.js';
2
2
  import '../chunk-XLMURU75.js';
3
3
  import '../chunk-WSIJDWUG.js';
4
4
  import '../chunk-RRRK2KB6.js';
@@ -420,6 +420,62 @@
420
420
  background: var(--crewlet-stacked-bar-segment-color, var(--color-data-other));
421
421
  }
422
422
 
423
+ /* ─── Stacked ring ────────────────────────────────────────────── */
424
+
425
+ /*
426
+ * One whole round a figure. The line starts at the top and runs clockwise;
427
+ * each arc is a dash of one circle, in its part's colour, over a track on the
428
+ * inset ground, with a faint halo of itself behind it.
429
+ */
430
+ .crewlet-stacked-ring {
431
+ --crewlet-stacked-ring-size: 4rem;
432
+ --crewlet-stacked-ring-halo: 0.5px;
433
+
434
+ position: relative;
435
+ display: inline-grid;
436
+ flex: none;
437
+ place-items: center;
438
+ width: var(--crewlet-stacked-ring-size);
439
+ height: var(--crewlet-stacked-ring-size);
440
+ }
441
+
442
+ .crewlet-stacked-ring__plot {
443
+ grid-area: 1 / 1;
444
+ width: 100%;
445
+ height: 100%;
446
+ overflow: visible;
447
+ transform: rotate(-90deg);
448
+ }
449
+
450
+ .crewlet-stacked-ring__track,
451
+ .crewlet-stacked-ring__arc {
452
+ fill: none;
453
+ stroke-width: 6;
454
+ }
455
+
456
+ .crewlet-stacked-ring__track {
457
+ stroke: var(--color-surface-inset);
458
+ }
459
+
460
+ .crewlet-stacked-ring__arc {
461
+ stroke: var(--crewlet-stacked-ring-segment-color, var(--color-data-other));
462
+ }
463
+
464
+ .crewlet-stacked-ring__halo {
465
+ opacity: 0.5;
466
+ filter: blur(var(--crewlet-stacked-ring-halo));
467
+ }
468
+
469
+ /* The whole, as a figure in the middle, sized by the ring. */
470
+ .crewlet-stacked-ring__figure {
471
+ grid-area: 1 / 1;
472
+ color: var(--color-text-primary);
473
+ font-size: calc(var(--crewlet-stacked-ring-size) * 0.3);
474
+ font-weight: var(--font-weight-semibold);
475
+ font-variant-numeric: tabular-nums;
476
+ line-height: var(--font-line-height-tight);
477
+ }
478
+
423
479
  /* ─── Stacked columns ─────────────────────────────────────────── */
424
480
 
425
481
  /*
@@ -977,6 +1033,35 @@
977
1033
  stroke-width: 1.75;
978
1034
  }
979
1035
 
1036
+ /*
1037
+ * A FINE LINE, for a column of shapes read down a table: 1px, under a faint
1038
+ * halo that is the same line at half strength behind a 1px blur, so the line
1039
+ * itself stays crisp.
1040
+ */
1041
+ .crewlet-spark--fine {
1042
+ --crewlet-spark-halo: 0.5px;
1043
+ }
1044
+
1045
+ .crewlet-spark--fine .crewlet-chart__series {
1046
+ stroke-width: 1;
1047
+ }
1048
+
1049
+ .crewlet-spark__halo {
1050
+ position: absolute;
1051
+ inset: 0;
1052
+ display: block;
1053
+ width: 100%;
1054
+ height: 100%;
1055
+ overflow: visible;
1056
+ opacity: 0.5;
1057
+ filter: blur(var(--crewlet-spark-halo));
1058
+ pointer-events: none;
1059
+ }
1060
+
1061
+ .crewlet-spark--current .crewlet-spark__halo {
1062
+ width: calc(100% - var(--crewlet-spark-point) / 2 - var(--crewlet-spark-ring));
1063
+ }
1064
+
980
1065
  .crewlet-spark--current {
981
1066
  padding-inline-end: calc(var(--crewlet-spark-point) / 2 + var(--crewlet-spark-ring));
982
1067
  }
@@ -297,6 +297,16 @@ export interface DataGridProps<T> {
297
297
  * Wins over `isFailed` where both are given.
298
298
  */
299
299
  rowTone?: ((row: T) => DataGridRowTone | undefined) | undefined;
300
+ /**
301
+ * The row another surface points at, such as the card under the pointer on
302
+ * a map of the same records: drawn as the pointer draws one.
303
+ */
304
+ isPointed?: ((row: T) => boolean) | undefined;
305
+ /**
306
+ * Called with the row the pointer rests on, and `null` when it leaves, so
307
+ * another surface showing the same records can point at it too.
308
+ */
309
+ onRowPoint?: ((row: T | null) => void) | undefined;
300
310
  /** Rows that open in place, with their detail under them: see [DataGridExpansion]. */
301
311
  expansion?: DataGridExpansion<T> | undefined;
302
312
  /**
@@ -473,4 +483,4 @@ export declare function sortGridRows<T>(rows: readonly T[], columns: readonly Pi
473
483
  key: string;
474
484
  desc: boolean;
475
485
  } | null | undefined): T[];
476
- export declare function DataGrid<T>({ rows, bands, columns, rowKey, onRowActivate, rowHref, isSelected, selection, isFailed, rowTone, expansion, rowAccessory, reorder, ordinal, summaryRows, density, loading, loadingRows, sort: sortRaw, defaultSort, onSortChange, serverSorted, cols: colsRaw, onColsChange, empty, footer, onLoadMore, loadedNote, phoneRows, flush, handleRef, onPointerDown, labels, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, className, }: DataGridProps<T>): import("react").JSX.Element;
486
+ export declare function DataGrid<T>({ rows, bands, columns, rowKey, onRowActivate, rowHref, isSelected, isPointed, onRowPoint, selection, isFailed, rowTone, expansion, rowAccessory, reorder, ordinal, summaryRows, density, loading, loadingRows, sort: sortRaw, defaultSort, onSortChange, serverSorted, cols: colsRaw, onColsChange, empty, footer, onLoadMore, loadedNote, phoneRows, flush, handleRef, onPointerDown, labels, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, className, }: DataGridProps<T>): import("react").JSX.Element;
@@ -2,4 +2,4 @@ import './DataGrid.css';
2
2
  export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, } from './DataGrid.js';
3
3
  export { countDataGridRows, useAnyDataGridDriving, useDataGridDriving } from './driving.js';
4
4
  export type { DataGridDriving } from './driving.js';
5
- export type { ColumnChoice, ChooserItem, ChooserListProps, ColumnChooserProps, DataGridActivationEvent, DataGridAlign, DataGridBand, DataGridColumn, DataGridExpansion, DataGridHandle, DataGridLabels, DataGridProps, DataGridReorder, DataGridRowTone, DataGridSummaryRow, GridFit, } from './DataGrid.js';
5
+ export type { ColumnChoice, ChooserItem, ChooserListProps, ColumnChooserProps, DataGridActivationEvent, DataGridAlign, DataGridBand, DataGridColumn, DataGridExpansion, DataGridHandle, DataGridLabels, DataGridProps, DataGridReorder, DataGridRowTone, DataGridSelection, DataGridSummaryRow, GridFit, } from './DataGrid.js';
@@ -1,4 +1,4 @@
1
- export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-ZOMTCEHR.js';
1
+ export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-OFNJE4BN.js';
2
2
  import '../chunk-WFAJYBLX.js';
3
3
  import '../chunk-WSIJDWUG.js';
4
4
  import '../chunk-JMBPMSNI.js';
@@ -337,7 +337,9 @@ button.crewlet-data-grid__row-link {
337
337
  border-bottom: none;
338
338
  }
339
339
 
340
- .crewlet-data-grid__row:hover {
340
+ /* Under the pointer, or pointed at from another surface showing the same records: one overlay, the same. */
341
+ .crewlet-data-grid__row:hover,
342
+ .crewlet-data-grid__row--pointed {
341
343
  background: var(--color-surface-hover);
342
344
  }
343
345
 
@@ -1,7 +1,7 @@
1
- export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-4Z3AGYOB.js';
1
+ export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-P42LNYRX.js';
2
2
  import '../chunk-EHD4CEHK.js';
3
- import '../chunk-TMHG4576.js';
4
3
  import '../chunk-MXOT2CWL.js';
4
+ import '../chunk-TMHG4576.js';
5
5
  import '../chunk-7L75YB57.js';
6
6
  import '../chunk-SJ3EUCFD.js';
7
7
  import '../chunk-3C3TSWRR.js';
@@ -0,0 +1,21 @@
1
+ import type { RefObject } from 'react';
2
+ import { type IconButtonSize } from '../IconButton/index.js';
3
+ /** The control's two names, for another language. */
4
+ export interface FullscreenToggleLabels {
5
+ enter: string;
6
+ leave: string;
7
+ }
8
+ export declare const FULLSCREEN_TOGGLE_LABELS: FullscreenToggleLabels;
9
+ export interface FullscreenToggleProps {
10
+ /** The element taken fullscreen: the surface with everything it opens, since a fullscreen element paints only its own subtree. */
11
+ target: RefObject<HTMLElement | null>;
12
+ size?: IconButtonSize | undefined;
13
+ labels?: Partial<FullscreenToggleLabels> | undefined;
14
+ className?: string | undefined;
15
+ }
16
+ /**
17
+ * The control that takes a surface fullscreen and gives it back, for a bar
18
+ * that acts on that surface (a canvas's `controlsExtra`). It is not drawn
19
+ * where the browser has no fullscreen, rather than drawn and failing.
20
+ */
21
+ export declare function FullscreenToggle({ target, size, labels, className }: FullscreenToggleProps): import("react").JSX.Element | null;
@@ -1,3 +1,5 @@
1
+ export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle } from './FullscreenToggle.js';
2
+ export type { FullscreenToggleLabels, FullscreenToggleProps } from './FullscreenToggle.js';
1
3
  export { useFullscreen } from './useFullscreen.js';
2
4
  export type { Fullscreen } from './useFullscreen.js';
3
5
  export { useIdle, IDLE_AFTER_MS } from './useIdle.js';
@@ -1 +1,11 @@
1
- export { IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-W5XCNEZC.js';
1
+ export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-3JLG6KRU.js';
2
+ import '../chunk-X5YI6E5X.js';
3
+ import '../chunk-TDFLCUBE.js';
4
+ import '../chunk-HXVMXH6U.js';
5
+ import '../chunk-L72URIHR.js';
6
+ import '../chunk-HTS5RJ7S.js';
7
+ import '../chunk-FIX72ZEC.js';
8
+ import '../chunk-EDPMHSLZ.js';
9
+ import '../chunk-4ITETIGZ.js';
10
+ import '../chunk-RRRK2KB6.js';
11
+ import '../chunk-ODEQTPFM.js';
@@ -1,26 +1,41 @@
1
1
  /**
2
- * A layered map on a canvas: entries in lanes read left to right, bands of
3
- * lanes under each other, groups that open and close, and orthogonal edges
4
- * from each entry to what it relies on.
2
+ * A layered map on a canvas: entries stand in clusters (lanes) read left to
3
+ * right, bands of clusters under each other, groups that open and close, and
4
+ * right-angled lines from each entry to what it relies on.
5
5
  *
6
6
  * PURE PRESENTATION. Entries, edges, the selection and the trace come in as
7
7
  * props and every decision goes out through a callback; nothing is fetched.
8
8
  * The layout is `layout.ts` (pure, tested without a DOM), the walk `walk.ts`
9
9
  * and the reach `reach.ts`; this component measures, draws and listens.
10
10
  *
11
+ * THREE FAMILIES OF LINE. `flow` is the path a request takes: drawn at rest,
12
+ * with dashes moving along it that say which way it points (direction, never
13
+ * volume). `support` is what something runs on: at rest it is one trunk per
14
+ * pair of clusters, with its count. `context` is everything around (an
15
+ * account, a repository, a monitor). The last two are drawn line by line for
16
+ * the entry a reader stands on, or when the legend turns them on, which is
17
+ * what keeps a few hundred entries from being a tangle.
18
+ *
19
+ * ONE LOOK, INSIDE THE WORLD ONLY. Outlined boxes on a fine grid, a ruled
20
+ * glyph cell, square corners and mono labels are the drawing of clusters,
21
+ * entries, lines and trunks. The legend, the card, the dock and the zoom bar
22
+ * are the kit's own surfaces.
23
+ *
11
24
  * IT STAYS LIGHT AT THOUSANDS OF ENTRIES. Every card is one size, so nothing
12
25
  * is measured per card; only the cards near the view are mounted; edges are a
13
26
  * few paths rather than one element each; and zoomed out past legibility the
14
27
  * cards are drawn as shapes on one layer rather than as elements at all.
15
28
  */
16
- import { type ReactNode, type Ref } from 'react';
29
+ import { type ReactNode, type Ref, type RefObject } from 'react';
17
30
  import { type CanvasGround, type CanvasLabels, type CanvasRect, type CanvasSize, type CanvasView } from '../Canvas/index.js';
18
31
  import { type GraphTraceDirection } from './reach.js';
19
32
  /** A lane: one column of the map, or several in a band with fewer lanes. */
20
33
  export interface GraphLane {
21
34
  id: string;
22
- /** Its name, drawn over it: "Runtime". */
35
+ /** Its name, set into its outline: "Runtime". */
23
36
  label: string;
37
+ /** How many columns of entries it is wide. One unless named. */
38
+ columns?: number | undefined;
24
39
  /** What an empty lane says would fill it. Drawn in the lane, and read when the walk reaches it. */
25
40
  empty?: ReactNode;
26
41
  }
@@ -40,26 +55,40 @@ export interface GraphGroup {
40
55
  /** A mark ahead of the name, such as a vendor's. Decorative: the label is read. */
41
56
  lead?: ReactNode;
42
57
  }
43
- /** What needs attention on an entry, as one dot: never colour alone, so the word is read with it. */
58
+ /**
59
+ * What needs attention on an entry: a notch on its leading edge in the tone,
60
+ * and a badge with a glyph. Never colour alone, so the word is read with it.
61
+ */
44
62
  export type GraphAttentionTone = 'danger' | 'warning' | 'info';
45
63
  export interface GraphAttention {
46
64
  tone: GraphAttentionTone;
47
65
  /** The word a screen reader hears, such as "Alerting". */
48
66
  label: string;
67
+ /** Drawn in the badge in place of the tone's own glyph. */
68
+ glyph?: ReactNode;
49
69
  }
70
+ /** What a line says: a call, what something runs on, or what stands around it. */
71
+ export type GraphEdgeFamily = 'flow' | 'support' | 'context';
72
+ export declare const GRAPH_EDGE_FAMILIES: readonly GraphEdgeFamily[];
50
73
  export interface GraphNode {
51
74
  id: string;
52
75
  lane: string;
53
76
  group?: string | undefined;
54
- /** The first line: "orders-db". */
77
+ /** The column of its lane it stands in, from 0, in a lane of several: see [GraphLayoutNode]. */
78
+ column?: number | undefined;
79
+ /** Its name, on one line: "orders-db". */
55
80
  name: string;
56
- /** The second line, in the quiet ink: "postgres 16 · eu-west-1". */
81
+ /** The whole name, where `name` is a short form of it: the hover text, and what is read. */
82
+ title?: string | undefined;
83
+ /** Read after the name and never drawn, a card being one line: "postgres 16, eu-west-1". */
57
84
  caption?: string | undefined;
58
85
  /** What it is, read after the name: "Database". */
59
86
  kind?: string | undefined;
60
- /** The kind's glyph, drawn on a tile at the card's start. */
87
+ /** The kind's glyph, drawn in the cell at the card's start. */
61
88
  glyph?: ReactNode;
62
- /** A dot on the card's corner, only when something needs a person. */
89
+ /** A small mark on the cell's corner, such as a vendor's. Decorative. */
90
+ mark?: ReactNode;
91
+ /** A notch and a badge, only when something needs a person. */
63
92
  attention?: GraphAttention | undefined;
64
93
  /** Not confirmed by anyone the map trusts: drawn with a dashed edge. */
65
94
  unconfirmed?: boolean | undefined;
@@ -71,8 +100,8 @@ export interface GraphEdge {
71
100
  to: string;
72
101
  /** The relation, as words a reader hears in a card's description: "runs on". */
73
102
  label?: string | undefined;
74
- /** Drawn while nothing is selected. Off for a relation that would cross the whole map (an owning account). */
75
- atRest?: boolean | undefined;
103
+ /** What it says, which decides how and when it is drawn. A call (`flow`) unless named. */
104
+ family?: GraphEdgeFamily | undefined;
76
105
  }
77
106
  /** What a trace lights from the selected entry: which way, and how many hops. */
78
107
  export interface GraphTrace {
@@ -101,6 +130,17 @@ export interface GraphCanvasLabels extends CanvasLabels {
101
130
  unconfirmed: string;
102
131
  /** A card's description: what it relies on and what relies on it. */
103
132
  relations: (dependsOn: readonly GraphRelationText[], usedBy: readonly GraphRelationText[]) => string;
133
+ /** The legend's name. */
134
+ legend: string;
135
+ /** Each family of line, as its legend switch says it. */
136
+ families: Record<GraphEdgeFamily, string>;
137
+ /** The legend's key for an entry nothing is wrong with. */
138
+ quiet: string;
139
+ /** On a trunk between two clusters: how many lines it stands for. */
140
+ trunk: (lines: number) => string;
141
+ /** The fullscreen control's two names. */
142
+ fullscreen: string;
143
+ leaveFullscreen: string;
104
144
  }
105
145
  export declare const GRAPH_CANVAS_LABELS: GraphCanvasLabels;
106
146
  /**
@@ -119,6 +159,17 @@ export declare const GRAPH_CANVAS_OPEN_ZOOM = 0.75;
119
159
  * large: two thousand entries in five lanes fit at about a twentieth.
120
160
  */
121
161
  export declare const GRAPH_CANVAS_FIT_FLOOR = 0.02;
162
+ /**
163
+ * HOW MANY MOVING LINES A VIEW CARRIES. Past this many calls in view the
164
+ * dashes at rest stand still: a few hundred animated dashes cost every frame
165
+ * and say nothing a reader can follow. The lit path always moves.
166
+ */
167
+ export declare const GRAPH_CANVAS_FLOW_LIMIT = 160;
168
+ /**
169
+ * The width, in CSS pixels, under which a map is narrow: its legend and its
170
+ * dock stand under the picture instead of over it, so neither ever covers an entry.
171
+ */
172
+ export declare const GRAPH_CANVAS_NARROW_WIDTH = 800;
122
173
  /** What a screen can ask of a map it holds a ref to. */
123
174
  export interface GraphCanvasHandle {
124
175
  /** Moves focus to an entry's card, opening its group and bringing it into view. */
@@ -143,10 +194,40 @@ export interface GraphCanvasProps {
143
194
  /** Called with the open groups whenever one opens or closes. */
144
195
  onOpenGroupsChange?: ((open: ReadonlySet<string>) => void) | undefined;
145
196
  selectedId?: string | null | undefined;
146
- /** A press or Enter on a card selects it; Escape clears with `null`. */
197
+ /** A press or Enter on a card selects it; the same on the selected card, a press on the ground or Escape clears with `null`. */
147
198
  onSelect?: ((id: string | null) => void) | undefined;
148
- /** Lights what the selection reaches; unset, the selection lights its neighbours. */
199
+ /**
200
+ * How far the selection lights along the lines that carry a failure (calls
201
+ * and what things run on). Unset, the whole path both ways. What stands
202
+ * around the selection is lit one step away whatever the trace.
203
+ */
149
204
  trace?: GraphTrace | null | undefined;
205
+ /** The entry another surface points at, such as a table row under the pointer: lit as the pointer lights one. */
206
+ hoveredId?: string | null | undefined;
207
+ /** Called with the entry the pointer or focus rests on, and `null` when it leaves. */
208
+ onHover?: ((id: string | null) => void) | undefined;
209
+ /** The card drawn beside the entry the pointer or focus rests on. */
210
+ renderCard?: ((id: string) => ReactNode) | undefined;
211
+ /** Drawn over the map's lower edge, such as what is selected and what can be done with it. */
212
+ dock?: ReactNode;
213
+ /** The families of line drawn at rest, when the caller holds them. Calls alone unless named. */
214
+ families?: ReadonlySet<GraphEdgeFamily> | undefined;
215
+ /** Called with the families drawn at rest whenever the legend switches one. */
216
+ onFamiliesChange?: ((families: ReadonlySet<GraphEdgeFamily>) => void) | undefined;
217
+ /** The word for each tone, for the legend and each cluster's tally: "Alerting". A tone with no word has no key. */
218
+ tones?: Partial<Record<GraphAttentionTone, string>> | undefined;
219
+ /**
220
+ * The zoom bar, the legend, the trunks and fullscreen. Off for a small,
221
+ * still diagram, such as one entry among its neighbours.
222
+ */
223
+ chrome?: boolean | undefined;
224
+ /**
225
+ * The fullscreen control in the zoom bar. On by default, taking the map
226
+ * itself; pass the element to take instead where the map opens something
227
+ * beside it (a detail sheet), since a fullscreen element paints only its
228
+ * own subtree.
229
+ */
230
+ fullscreen?: boolean | RefObject<HTMLElement | null> | undefined;
150
231
  /** A card pushed back, such as one a legend filter leaves out. */
151
232
  cardDimmed?: ((id: string) => boolean) | undefined;
152
233
  /** Drawn over the canvas without the transform. */
@@ -156,7 +237,7 @@ export interface GraphCanvasProps {
156
237
  controlsBelow?: ReactNode;
157
238
  /** A bar in the corner opposite the zoom bar, such as the trace switch. */
158
239
  controlsStart?: ReactNode;
159
- /** A bar across from the zoom bar, such as a status legend. */
240
+ /** More in the bar across from the zoom bar, after the legend. */
160
241
  overlayEnd?: ReactNode;
161
242
  hint?: ReactNode;
162
243
  ground?: CanvasGround | undefined;
@@ -177,7 +258,7 @@ export interface GraphWindow {
177
258
  /** Whether cards are drawn as cards, or as shapes for a zoom too far out to read. */
178
259
  detail: boolean;
179
260
  }
180
- export declare function GraphCanvas({ label, bands, nodes, edges, groups, collapseAbove, openGroups, onOpenGroupsChange, selectedId, onSelect, trace, cardDimmed, overlay, controlsPlacement, controlsExtra, controlsBelow, controlsStart, overlayEnd, hint, ground, labels, minZoom, fitKey, initialView, onViewChange, ref, className, }: GraphCanvasProps): import("react").JSX.Element;
261
+ export declare function GraphCanvas({ label, bands, nodes, edges, groups, collapseAbove, openGroups, onOpenGroupsChange, selectedId, onSelect, trace, hoveredId, onHover, renderCard, dock, families, onFamiliesChange, tones, chrome, fullscreen, cardDimmed, overlay, controlsPlacement, controlsExtra, controlsBelow, controlsStart, overlayEnd, hint, ground, labels, minZoom, fitKey, initialView, onViewChange, ref, className, }: GraphCanvasProps): import("react").JSX.Element;
181
262
  /**
182
263
  * THE WINDOW MOVES IN STEPS. What is mounted is the view with half a screen
183
264
  * of room on every side, and it is replaced only when the view leaves it or
@@ -1,8 +1,8 @@
1
1
  import './GraphCanvas.css';
2
- export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_OPEN_ZOOM, GraphCanvas, graphWindow, } from './GraphCanvas.js';
3
- export type { GraphAttention, GraphAttentionTone, GraphBand, GraphCanvasHandle, GraphCanvasLabels, GraphCanvasProps, GraphEdge, GraphGroup, GraphLane, GraphNode, GraphRelationText, GraphTrace, GraphWindow, } from './GraphCanvas.js';
4
- export { GRAPH_ORDER_SWEEPS, graphItemKey, layoutGraph, routeGraphEdges } from './layout.js';
5
- export type { GraphBandPlaced, GraphGrid, GraphGroupPlaced, GraphItem, GraphItemKind, GraphLanePlaced, GraphLayout, GraphLayoutBand, GraphLayoutEdge, GraphLayoutGroup, GraphLayoutInput, GraphLayoutNode, GraphMetrics, GraphRoute, GraphStreet, } from './layout.js';
2
+ export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_OPEN_ZOOM, GRAPH_EDGE_FAMILIES, GraphCanvas, graphWindow, } from './GraphCanvas.js';
3
+ export type { GraphAttention, GraphAttentionTone, GraphBand, GraphCanvasHandle, GraphCanvasLabels, GraphCanvasProps, GraphEdge, GraphEdgeFamily, GraphGroup, GraphLane, GraphNode, GraphRelationText, GraphTrace, GraphWindow, } from './GraphCanvas.js';
4
+ export { GRAPH_ORDER_SWEEPS, graphItemKey, graphTrunks, layoutGraph, routeGraphEdges } from './layout.js';
5
+ export type { GraphBandPlaced, GraphGrid, GraphGroupPlaced, GraphItem, GraphItemKind, GraphLanePlaced, GraphLayout, GraphLayoutBand, GraphLayoutEdge, GraphLayoutGroup, GraphLayoutInput, GraphLayoutNode, GraphMetrics, GraphRoute, GraphStreet, GraphTrunk, } from './layout.js';
6
6
  export { graphNeighbourhood, graphReach } from './reach.js';
7
7
  export type { GraphReach, GraphTraceDirection } from './reach.js';
8
8
  export { graphStep } from './walk.js';
@@ -1,11 +1,11 @@
1
- export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_OPEN_ZOOM, GRAPH_ORDER_SWEEPS, GraphCanvas, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphWindow, layoutGraph, routeGraphEdges } from '../chunk-6KPHU4EB.js';
1
+ export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_OPEN_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, routeGraphEdges } from '../chunk-DSBKVP73.js';
2
2
  import '../chunk-MY374UUD.js';
3
- import '../chunk-3LI4TRUR.js';
3
+ import '../chunk-L6HUVA33.js';
4
+ import '../chunk-3JLG6KRU.js';
4
5
  import '../chunk-GKHZSNIV.js';
5
6
  import '../chunk-X4HBZSXA.js';
6
7
  import '../chunk-XLMURU75.js';
7
8
  import '../chunk-WSIJDWUG.js';
8
- import '../chunk-QRE6JCHS.js';
9
9
  import '../chunk-VBBLHS2Y.js';
10
10
  import '../chunk-M2M6ZD7P.js';
11
11
  import '../chunk-XSPCITPN.js';