strata-react 2.1.15 → 2.1.16
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/README.md +7 -1
- package/UPGRADING.md +4 -0
- package/dist/index.d.ts +20 -1
- package/dist/index.js +153 -5
- package/dist/index.js.map +1 -1
- package/dist/{run-D_Ic1jE7.js → run-C3RjrKWa.js} +76 -5
- package/dist/run-C3RjrKWa.js.map +1 -0
- package/dist/visual-cli.js +1 -1
- package/dist/visual.d.ts +8 -1
- package/dist/visual.js +2 -2
- package/package.json +1 -1
- package/dist/run-D_Ic1jE7.js.map +0 -1
package/README.md
CHANGED
|
@@ -244,6 +244,7 @@ thousands of lines. Such an app imports the same stylesheet **without the reset*
|
|
|
244
244
|
| Pictures from a set | `Lightbox` (`useLightboxUrl`), `BookViewer` (`useBookUrl`), `Concealed` (`useRevealed`), `TileGrid`, `BoxOverlay`/`BoxList`/`useBoxes`, `BoxedPicture`, `RegionEditor`; `regionStyle`, `moveRect`, `resizeRect`, `lerpRect`, `turnedSize`, `turnRect`, `readingOrder`, `zoomToBox`, `findPage` | A picture opened from a grid in a full-size `Dialog` (previous/next, arrow keys, "3 of 40" or a position like "Page 22 (12) of 44", zoom and 1:1, details beside it, an overlay and actions for the item, a thumbnail strip, `?view=` in the URL, neighbours preloaded, a `missing` sentence, Compare ticked hand-off); a scanned book read inline as spreads or single pages with printed and scan names, go-to, `?page=` and a strip with badges; a picture covered until a person chooses to see it (`Concealed`: the reason in words and a Show / Hide button named for the item, around a picture the *server* blurs until asked, never a CSS blur alone; `useRevealed` keeps which are shown and a show-all switch for this visit); a grid of picture tiles that link (`TileGrid`, with `TileGridSkeleton`); read-only boxes on a picture linked to a list beside it, and the picture opened zoomed to one of them (a face in its photo, `BoxedPicture`); one box of a picture shown on its own in a `Thumbnail` (`region`); `RegionEditor` also turns the picture by an angle (the windows turn with it) and edits a spread's gutter; named windows drawn and moved on a picture by pointer, keys and numbers, with aspect and bounds held, and a from/to move with a Watch preview |
|
|
245
245
|
| Sequences | `SequenceTimeline`; `snapToGrid`, `stepOnGrid`, `settleCut` | A gapless strip of windows whose cuts are sliders: dragged or stepped along a beat grid inside the room the app gives, the refusal said in words, both windows' new lengths announced; Shift+click chooses a run |
|
|
246
246
|
| Browsing | `Tree`, `FolderPicker` | A hierarchy that loads as it opens (`current` + `onCurrentChange` is the row in view beside the ticked ones, `count` and `badge` per row, `sortChildren`, `reveal` of a deep link (its ancestors are written into `useExpanded({ param })`'s URL), `branchPress="toggle"` so pressing a folder's name opens it and only files are chosen, `resolveBranch` so ticking a year says "2019 and its 91 folders" without opening them; a hook per open node; skeleton, Try again and empty rows; always virtualised); `choices` (from `useChoices`) chooses several: a checkbox per row, Shift ranges, a parent drawn mixed from what has loaded under it (ticking a branch never opened reads and opens it and chooses everything under it), "Select all shown", and rows the choice implies marked "Included because of …" in words and a server folder chooser on it: breadcrumb that is also editable text, Up, recents, New folder with the server's refusal on the field, Choose this folder; a `Folder` may carry a `badge` and `tone` ("project", as words), `canChoose` gives the reason the button is disabled beside it, `chooseLabel` names it, `onOpen` can answer `"choose"` to take a folder at once instead of entering it, and the listing may return a `footer` under the tree |
|
|
247
|
+
| JSON | `JsonView` | Any JSON value as a tree, the fallback when an app cannot show a value in its own words: objects and arrays open and close (chevron, Right/Left, type-ahead, Expand all / Collapse all), `openDepth` levels open at first, values coloured by type with theme roles, long strings wrapped, the open set optionally `useExpanded` keyed by JSON Pointer (`jsonBranchPaths`) |
|
|
247
248
|
| Marking text | `MarkableText`, `Mark`, `MarkSummary`; `rangeBetween` | Select words by drag, Shift+click and Shift+arrows (ids in document order, so it holds across virtualised rows), apply the app's marks from a bar or single-key chords, marks drawn by role, pattern and text, summarised and announced |
|
|
248
249
|
| Maps | `strata-react/map`: `RouteMap`; `geo`, `LatLng` (main entry) | Routes and a position that moves along them, on Leaflet (no react-leaflet), behind its own entry. Tiles are the app's (`tiles.light`, `tiles.dark`, each with its attribution); the dark scheme uses the dark set or a filter over the light one. Route colours are roles resolved at draw time; `values` with `colourScale` colour a route by value in runs of one step, with a key that names the steps; a single route gets direction chevrons and start/finish marks (a loop is one mark). The position is one marker moved with `setLatLng`: no route is redrawn for it (keep `routes` stable). As picture content (a route inset over footage): `zoom` sets any zoom (animate it per frame), `follow="centre"` holds the view exactly on a position with no animation (a frame is deterministic), and `positions` draws several, each tied to a route, in its colour and named in the text alternative; routes are not redrawn for any of it. Leaflet's keyboard pan and zoom stay; the map is named by `label` and described by a generated text alternative (routes, lengths, position along). Overlay slots `topEnd` and `bottomStart` avoid Leaflet's own controls and attribution. Leaflet's stylesheet is injected once, so an app imports nothing. `geo` (distance, bearing, bounds, `pointAlong`, `arrows`, `ends`) and `format.distance` need no map library |
|
|
249
250
|
| Timeline | `Timeline`, `useTimelineZoom`, `TimelineZoomControls`, `noOverlap` | Items with a start and a length in lanes on a zoomable time axis, for media edits, bookings, rotas and plans. The timeline draws and the app decides: every move, trim, lane change, selection and current-time change is reported (`onItemChange`, `onSelect`, `onPositionChange`) and the app applies it; `validate` refuses a change with a reason shown in words while it is made. One tab stop for the items; arrows move between them, Ctrl+arrows nudge and change lane, Alt+arrows trim, the current time is its own slider, `+` `-` `0` zoom, and each change is announced ("run-02.mp4 moved to 0:13"). The ruler picks steps people write on a scale so labels never collide. Lanes take drops from outside (`dropTypes`, `onDrop` with the lane and snapped time, `validateDrop`, and React Aria's keyboard drag landing at the current time), `laneRows` makes them taller, `kindColours` fixes each kind's stripe, and the header column fits its content. Only items near the view are rendered |
|
|
@@ -308,9 +309,14 @@ page's requests in Node, so the app needs no test mode and no service worker.
|
|
|
308
309
|
|
|
309
310
|
```bash
|
|
310
311
|
npm install -D -E playwright # exact version: the baselines belong to its Chromium
|
|
311
|
-
npx playwright install chromium
|
|
312
|
+
npx playwright install chromium # only where no Chromium is installed (CI)
|
|
312
313
|
```
|
|
313
314
|
|
|
315
|
+
When the pinned build is not downloaded, `strata-visual` uses a Chromium the machine already has
|
|
316
|
+
(`STRATA_VISUAL_CHROMIUM`, Playwright's other builds, then a system Chromium or Chrome) and says
|
|
317
|
+
which in a warning. Hinting and LCD text are off and the comparison blurs both images, so another
|
|
318
|
+
build gives the same baselines in practice (555 of 556 identical on 2026-11-30); CI keeps the pin.
|
|
319
|
+
|
|
314
320
|
```ts
|
|
315
321
|
// strata-visual.config.ts
|
|
316
322
|
import { defineVisualConfig } from "strata-react/visual";
|
package/UPGRADING.md
CHANGED
|
@@ -11,6 +11,10 @@ time. While the version is 0.x, any release may break.
|
|
|
11
11
|
|
|
12
12
|
Every PR that changes what an app sees adds a line here (see `CLAUDE.md`, "Changelog").
|
|
13
13
|
|
|
14
|
+
## 2026-11-30 (strata-visual: a local Chromium)
|
|
15
|
+
|
|
16
|
+
- `strata-visual` no longer fails when Playwright's pinned Chromium is not downloaded: it uses one already on the machine and adds a warning naming it. A test that expected the launch error now sees the warning. Set `STRATA_VISUAL_CHROMIUM` to choose the binary.
|
|
17
|
+
|
|
14
18
|
## 2026-11-29 (ChoiceGrid and PlaceBoard: a word fits its tile)
|
|
15
19
|
|
|
16
20
|
- A `ChoiceGrid` or `PlaceBoard` picture that is a string of letters three or more long is drawn smaller, by its length, so it fits its tile. Baselines of tiles showing words move; emoji, numerals and nodes do not.
|
package/dist/index.d.ts
CHANGED
|
@@ -5904,6 +5904,25 @@ type TreeCommon<N> = {
|
|
|
5904
5904
|
};
|
|
5905
5905
|
/** A hierarchy whose children load as each node opens (a `useChildren` hook per open node): a skeleton row, a Try again row and an "empty" row per node, type-ahead and arrow keys, single selection, open state optionally in the URL, always virtualised. */
|
|
5906
5906
|
export declare function Tree<N>({ label, roots, useChildren, nodeKey, nodeLabel, isBranch, renderNode, selected, onSelect, choices, current, onCurrentChange, count, badge, sortChildren, reveal, resolveBranch, coverNoun, branchPress, expanded, beforeOpen, loadingRow, emptyRow, height, className }: TreeProps<N>): React.JSX.Element;
|
|
5907
|
+
/** Every branch's path under `value` down to `depth` levels (all of them with `Infinity`): what `JsonView` opens at first, and what "Expand all" opens. */
|
|
5908
|
+
export declare function jsonBranchPaths(value: unknown, depth?: number, path?: string): string[];
|
|
5909
|
+
type JsonViewProps = {
|
|
5910
|
+
/** Any value: what `JSON.parse` gives, or a record from an API. Strings, numbers, booleans and null are coloured; objects and arrays open and close. */
|
|
5911
|
+
value: unknown;
|
|
5912
|
+
/** Names the tree for assistive technology: "Model output". Required. */
|
|
5913
|
+
label: string;
|
|
5914
|
+
/** How many levels are open at first. Default 2: the top and its children. Ignored when `expanded` is given. */
|
|
5915
|
+
openDepth?: number;
|
|
5916
|
+
/** The open set, keyed by JSON Pointer (`""` is the top, `/answer/0` below it), from `useExpanded`, to keep it in the URL. Default: the tree keeps its own. */
|
|
5917
|
+
expanded?: Expanded;
|
|
5918
|
+
/** The name shown on the top row. Default "value". */
|
|
5919
|
+
rootName?: string;
|
|
5920
|
+
/** The tallest the tree may be before it scrolls, as a CSS length. Default 32rem. */
|
|
5921
|
+
height?: string;
|
|
5922
|
+
className?: string;
|
|
5923
|
+
};
|
|
5924
|
+
/** Any JSON value as a tree: objects and arrays open and close (arrows, type-ahead, Expand all / Collapse all), values coloured by type with theme roles, long strings wrapped. The fallback for a value an app cannot show in its own words. */
|
|
5925
|
+
export declare function JsonView({ value, label, openDepth, expanded: given, rootName, height, className }: JsonViewProps): React.JSX.Element;
|
|
5907
5926
|
/** One folder in a listing. */
|
|
5908
5927
|
type Folder = {
|
|
5909
5928
|
/** The full path, which is also its key. */
|
|
@@ -6159,5 +6178,5 @@ export declare function hourAt(angle: number, minutes: number): number;
|
|
|
6159
6178
|
export declare function minutesAt(angle: number, step?: number): number;
|
|
6160
6179
|
/** A clock whose hands are dragged, pressed or keyed to a time, geared as a real clock's are. */
|
|
6161
6180
|
export declare function SetClock({ value, onChange, step, geared, face, label, handLabels, isDisabled, className, ...over }: SetClockProps): import("react").JSX.Element;
|
|
6162
|
-
export { type ActiveItem, type AlertDialogProps, type AlertProps, type Api, type ApiOptions, type ApiPage, type AspectRatio, type AsyncAction, type AsyncActionOptions, AsyncButton, type AsyncLabels, type AudioMedia, type AutoRecorder, type AutoRecorderState, type AutoSave, type AutoSaveOptions, type AutoTake, type BinaryByteUnit, type BookPage, type BookUrl, type BookViewerProps, type BoxListProps, type BoxOverlayProps, type BoxSource, type BoxTone, type BoxedPictureProps, type BoxesState, type Brush, type BrushControl, type BrushKind, Button, type ButtonLinkProps, type ButtonProps, type ByteHighlight, type ByteRange, type ByteUnit, type ByteViewProps, type BytesOptions, COLOR_SCHEME_STORAGE_KEY, type Candidate, type CellValue, type ChartMark, type ChartSpan, type CheckboxGesture, type CheckboxProps, type Choice, type ChoiceCounts, type ChoiceGridProps, type ChoiceGroupProps, type ChoiceMarks, type ChoiceSize, type ChoiceState, type Choices, type ClientWork, type Clips, type ClipsContext, type ClipsProviderProps, type ClockFaceProps, type ClockFaceStyle, type ClockHands, type ClockMarks, type ClockNumbers, type ClockNumerals, type ClockParts, type ClockProps, type ClockStyle, type ClockTime, type ClockWordsOptions, type ColorFieldProps, type ColorScheme, ColorSchemeChoice, type ColorSchemeLabels, type ColorSchemePreference, type ColorSchemeState, type Column, type Command, type CommandMenuProps, type CommandsOptions, type CompareAudioProps, type CompareGridProps, type CompareMode, type CompareProps, type CompareTextProps, type CompareVideoGridProps, type CompareVideoProps, type ComposerProps, type CompositionBarProps, type CompositionPart, type ConcealedProps, type ConsoleLevel, type ConsoleLine, type ConsoleProps, type ContextMenuProps, type ControlSize, type ConversationImage, type ConversationProps, type ConversationTurn, type CountOptions, type CountdownOptions, type CurrencyOptions, type CursorMapping, type CursorOwner, CursorScope, type CursorScopeProps, type CutChange, type CutLimit, type CutRoom, DEFAULT_PALETTE, type DataTableProps, type DateFormatter, type DateInput, type DecodedAudio, type Delivery, Density, type DensityName, type DensityProps, type DescribeError, type DialogProps, type Difference, type DifferenceState, type DigitalClockProps, type DigitalClockStyle, type DigitalTimeOptions, type DisclosureOpenProps, type DisclosureProps, type DragData, type DragSourceProps, type DrawTool, type Drawing, type Box as DrawingBox, type DrawingLayerProps, type DrawingOp, type DrawingOptions, type DrawingState, type DrawingToolbarProps, type DropTarget, type Easing, type EditClip, type EditListOptions, type EditListPlayerProps, type EditListSlot, type EditListState, type EditTimes, type EditableRegion, type EntityMatch, type EntityMatcher, type ErrorBody, type EventLogEntry, type EventLogImage, type EventLogProps, type Expanded, type ExpandedOptions, type FailedRemoval, type FetchJsonInit, type FetchJsonOptions, type FieldErrors, type FieldProps, type FileIntake, type FileIntakeOptions, type FileOutcome, type FilmFrame, type FilmStripProps, type Folder, type FolderListing, type FolderPickerProps, type Format, type FormatOptions, type FractionCut, type FractionOutline, type FractionShapeProps, type FullscreenFrameProps, type GlimpseLook, type GlimpseProps, type GlimpseWhy, type Grid, type GroupMember, type GroupedChart, type Handle, type History, type HistoryOptions, type HistoryStateOptions, type HistoryStep, type HotkeysOptions, IconButton, type IconButtonProps, type IconComponent, type ImageMedia, type Implies, type InViewOptions, type InfiniteListProps, type InfiniteLoad, type InfiniteLoadOptions, type InitialSelection, type InkColours, type InkMatch, type InkMatchState, type InputLevelProps, type InspectorProps, type InspectorSectionProps, type Job, type JobAction, type JobActionOptions, type JobFailure, type JobOptions, type JobProgress, type JobRow, type JobStatusProps, type JobWords, type JobsTableProps, type KeyCheck, KeysLegend, type LatLng, type LightboxItem, type LightboxProps, type LightboxUrl, LineChart, LineChartGroup, type LineChartGroupProps, type LineChartProps, type LinkCardProps, type ListeningLevelProps, type Load, type LoadFailure, type LoadMoreProps, type Loudness, type MarkKind, type MarkPattern, type MarkTone, type MarkableTextProps, type MediaContentsItem, type MediaContentsProps, type MediaElementOptions, type MediaElementState, type MediaHeading, type MediaMark, MediaPlayer, type MediaPlayerProps, type MediaProblem, type MediaProgress, type MediaSession, type MediaSource, type MediaSpanData, type MediaSpansState, MediaStage, type MediaStat, type MediaStats, type MediaWindow, type MenuEntry, type MenuProps, type MeterProps, type MeterThreshold, type MetricProps, type Microphone, MicrophoneContext, MicrophoneError, type MicrophoneStream, type More, type NativeSelectProps, type NavItem, type Nib, type NumberFieldProps, type NumberFormatter, type Outbox, type OutboxItem, type OutboxOptions, type OutboxRefusal, type OutboxRequest, type OutboxSnapshot, type OutboxStatusProps, PALETTE_STORAGE_KEY, type PageNames, type Pair, type PairAnswer, type PairJudgeProps, type PairVoteProps, type PairVoteSlot, type PairVoteWords, PaletteChoice, type PaletteOption, type PaletteState, type PaneProps, type PeakPair, type PendingRemoval, type Phase, type PictureBox, type PictureRegion, type PixelImageProps, type Pixels, type PlaceBoardProps, type PlaceState, type Platform, type PlayWindowButtonProps, PlayerNotice, type PlayerWarning, type PlayerWarningEvent, type Point, type Poll, type PopoverProps, type Precision, type Property, type PropertyListProps, type PropertyRowProps, type RangeProps, type RangeSliderProps, RateChoice, type ReadAlongPart, type ReadAlongProps, type ReadAloud, type ReadAloudOptions, type ReadPixels, type Rebinding, type Recorder, type RecorderState, type Recording, type Rect, type RectLimits, type Region, type RegionEditorProps, type RegionTone, type Reserve, type ReserveOptions, type ResumeWords, type Revealed, type Block as RichBlock, type Inline as RichInline, type RichTextProps, RowAction, type RowActionProps, type RowExpansion, type RowSelection, SPEECH_RATES, type SaveState, type SayAgainProps, type SayOnShowOptions, type SayPictureProps, type Saying, type ScheduleRow, type ScheduleTableProps, type SearchParam, type SearchParamOptions, type SecretFieldProps, type SecretTestResult, SeekBar, type SeekBarProps, type SeekBarSpan, type Segment, type Segmenter, type SegmenterOptions, type SelectableGridProps, type SequenceItem, type SequenceTimelineProps, type SetClockProps, type SetOptions, type ShareBox, type SharedCursor, type Shortcut, type ShortcutOverrides, type SkipAction, type SkipLevel, type SkipSteps, type SliderProps, type Sort, type SortableListProps, type SourceAttacher, SpanActions, type SpanActionsNotice, type SpanBehaviour, type SpanKind, type SpanOutcome, SpanStrip, type SpanTone, type SpanWords, type SpeakOptions, type Speech, type SpeechLevel, type SpeechPart, StageGuides, type StageState, type StageWords, type Stale, type StrataToastRegionProps, type StreamAttachment, type StreamContext, type StreamStats, type Stroke, type StrokeChange, type StrokeNoteWords, type StrokePoint, type StrokeShape, type SwitchProps, type SystemFact, type SystemFolder, type SystemInfoLike, type SystemPanelProps, type SystemService, type TabItem, type TakeLevelProps, type TextDifference, type TextLinkProps, type TextMedia, type TextSegment, ThemeProvider, type ThumbnailProps, type TileAspect, type TileGridProps, type TileSize, TimeReadout, type TimelineChange, type TimelineClock, type TimelineClockOptions, type TimelineDrop, type TimelineItem, type TimelineLane, type TimelineMarker, type TimelinePlayerProps, type TimelineProps, type ToastContentProps, type ToggleGroupProps, type ToggleOption, type ToggleProps, type Tone, type ToolChoice, type ToolbarProps, type TooltipProps, type TranscriptGroup, type TranscriptPhrase, type TranscriptPhraseState, type TranscriptSeek, type TranscriptViewProps, type TranscriptWord, Transport, type TransportProps, type TreeNodeState, type TreeProps, type TypedApi, type Undoable, type UndoableOptions, type UseAutoRecorderOptions, type UseRecorderOptions, type UseSpeechOptions, type VideoLoop, type VideoMedia, type VideoMode, type ViewGroup, type ViewGroupRows, type ViewOptionsConfig, type ViewOptionsProps, type ViewOptionsState, type ViewPointerOptions, type ViewSort, type Viewport, type ViewportFrameProps, type ViewportState, VolumeControl, type VolumeControlProps, type WaveformMark, type WaveformMarkKind, type WaveformPeaks, type WaveformProps, type WaveformSpan, type WaveformTone, type WorkContext, type WorkPhase, type WorkflowRunLike, type WorkflowRunOptions, type WorkflowStage, type WorkflowStepsProps, type WorkflowSummaryData, type WorkflowSummaryProps, type WorkflowSummaryState, type WorkflowSummaryWords, type WorkspaceBarProps, type WorkspaceState, type YScale, browserMicrophone, buttonVariants, colorSchemeScript, explainMicrophoneError, format$1 as format, geo, isTypingTarget, keyName, logScale, marksFor, mediaStatRows, paletteScript, palettes, readPixels$1 as readPixels, skipAction, transportShortcuts, useAsyncAction, useAttachedSource, useColorScheme, useHotkeys, useMediaElement, useMediaSpans, useMediaStats, useMicrophone, usePalette, usePlayerWarnings, useSharedCursor, useSystemColorScheme, valueAt };
|
|
6181
|
+
export { type ActiveItem, type AlertDialogProps, type AlertProps, type Api, type ApiOptions, type ApiPage, type AspectRatio, type AsyncAction, type AsyncActionOptions, AsyncButton, type AsyncLabels, type AudioMedia, type AutoRecorder, type AutoRecorderState, type AutoSave, type AutoSaveOptions, type AutoTake, type BinaryByteUnit, type BookPage, type BookUrl, type BookViewerProps, type BoxListProps, type BoxOverlayProps, type BoxSource, type BoxTone, type BoxedPictureProps, type BoxesState, type Brush, type BrushControl, type BrushKind, Button, type ButtonLinkProps, type ButtonProps, type ByteHighlight, type ByteRange, type ByteUnit, type ByteViewProps, type BytesOptions, COLOR_SCHEME_STORAGE_KEY, type Candidate, type CellValue, type ChartMark, type ChartSpan, type CheckboxGesture, type CheckboxProps, type Choice, type ChoiceCounts, type ChoiceGridProps, type ChoiceGroupProps, type ChoiceMarks, type ChoiceSize, type ChoiceState, type Choices, type ClientWork, type Clips, type ClipsContext, type ClipsProviderProps, type ClockFaceProps, type ClockFaceStyle, type ClockHands, type ClockMarks, type ClockNumbers, type ClockNumerals, type ClockParts, type ClockProps, type ClockStyle, type ClockTime, type ClockWordsOptions, type ColorFieldProps, type ColorScheme, ColorSchemeChoice, type ColorSchemeLabels, type ColorSchemePreference, type ColorSchemeState, type Column, type Command, type CommandMenuProps, type CommandsOptions, type CompareAudioProps, type CompareGridProps, type CompareMode, type CompareProps, type CompareTextProps, type CompareVideoGridProps, type CompareVideoProps, type ComposerProps, type CompositionBarProps, type CompositionPart, type ConcealedProps, type ConsoleLevel, type ConsoleLine, type ConsoleProps, type ContextMenuProps, type ControlSize, type ConversationImage, type ConversationProps, type ConversationTurn, type CountOptions, type CountdownOptions, type CurrencyOptions, type CursorMapping, type CursorOwner, CursorScope, type CursorScopeProps, type CutChange, type CutLimit, type CutRoom, DEFAULT_PALETTE, type DataTableProps, type DateFormatter, type DateInput, type DecodedAudio, type Delivery, Density, type DensityName, type DensityProps, type DescribeError, type DialogProps, type Difference, type DifferenceState, type DigitalClockProps, type DigitalClockStyle, type DigitalTimeOptions, type DisclosureOpenProps, type DisclosureProps, type DragData, type DragSourceProps, type DrawTool, type Drawing, type Box as DrawingBox, type DrawingLayerProps, type DrawingOp, type DrawingOptions, type DrawingState, type DrawingToolbarProps, type DropTarget, type Easing, type EditClip, type EditListOptions, type EditListPlayerProps, type EditListSlot, type EditListState, type EditTimes, type EditableRegion, type EntityMatch, type EntityMatcher, type ErrorBody, type EventLogEntry, type EventLogImage, type EventLogProps, type Expanded, type ExpandedOptions, type FailedRemoval, type FetchJsonInit, type FetchJsonOptions, type FieldErrors, type FieldProps, type FileIntake, type FileIntakeOptions, type FileOutcome, type FilmFrame, type FilmStripProps, type Folder, type FolderListing, type FolderPickerProps, type Format, type FormatOptions, type FractionCut, type FractionOutline, type FractionShapeProps, type FullscreenFrameProps, type GlimpseLook, type GlimpseProps, type GlimpseWhy, type Grid, type GroupMember, type GroupedChart, type Handle, type History, type HistoryOptions, type HistoryStateOptions, type HistoryStep, type HotkeysOptions, IconButton, type IconButtonProps, type IconComponent, type ImageMedia, type Implies, type InViewOptions, type InfiniteListProps, type InfiniteLoad, type InfiniteLoadOptions, type InitialSelection, type InkColours, type InkMatch, type InkMatchState, type InputLevelProps, type InspectorProps, type InspectorSectionProps, type Job, type JobAction, type JobActionOptions, type JobFailure, type JobOptions, type JobProgress, type JobRow, type JobStatusProps, type JobWords, type JobsTableProps, type JsonViewProps, type KeyCheck, KeysLegend, type LatLng, type LightboxItem, type LightboxProps, type LightboxUrl, LineChart, LineChartGroup, type LineChartGroupProps, type LineChartProps, type LinkCardProps, type ListeningLevelProps, type Load, type LoadFailure, type LoadMoreProps, type Loudness, type MarkKind, type MarkPattern, type MarkTone, type MarkableTextProps, type MediaContentsItem, type MediaContentsProps, type MediaElementOptions, type MediaElementState, type MediaHeading, type MediaMark, MediaPlayer, type MediaPlayerProps, type MediaProblem, type MediaProgress, type MediaSession, type MediaSource, type MediaSpanData, type MediaSpansState, MediaStage, type MediaStat, type MediaStats, type MediaWindow, type MenuEntry, type MenuProps, type MeterProps, type MeterThreshold, type MetricProps, type Microphone, MicrophoneContext, MicrophoneError, type MicrophoneStream, type More, type NativeSelectProps, type NavItem, type Nib, type NumberFieldProps, type NumberFormatter, type Outbox, type OutboxItem, type OutboxOptions, type OutboxRefusal, type OutboxRequest, type OutboxSnapshot, type OutboxStatusProps, PALETTE_STORAGE_KEY, type PageNames, type Pair, type PairAnswer, type PairJudgeProps, type PairVoteProps, type PairVoteSlot, type PairVoteWords, PaletteChoice, type PaletteOption, type PaletteState, type PaneProps, type PeakPair, type PendingRemoval, type Phase, type PictureBox, type PictureRegion, type PixelImageProps, type Pixels, type PlaceBoardProps, type PlaceState, type Platform, type PlayWindowButtonProps, PlayerNotice, type PlayerWarning, type PlayerWarningEvent, type Point, type Poll, type PopoverProps, type Precision, type Property, type PropertyListProps, type PropertyRowProps, type RangeProps, type RangeSliderProps, RateChoice, type ReadAlongPart, type ReadAlongProps, type ReadAloud, type ReadAloudOptions, type ReadPixels, type Rebinding, type Recorder, type RecorderState, type Recording, type Rect, type RectLimits, type Region, type RegionEditorProps, type RegionTone, type Reserve, type ReserveOptions, type ResumeWords, type Revealed, type Block as RichBlock, type Inline as RichInline, type RichTextProps, RowAction, type RowActionProps, type RowExpansion, type RowSelection, SPEECH_RATES, type SaveState, type SayAgainProps, type SayOnShowOptions, type SayPictureProps, type Saying, type ScheduleRow, type ScheduleTableProps, type SearchParam, type SearchParamOptions, type SecretFieldProps, type SecretTestResult, SeekBar, type SeekBarProps, type SeekBarSpan, type Segment, type Segmenter, type SegmenterOptions, type SelectableGridProps, type SequenceItem, type SequenceTimelineProps, type SetClockProps, type SetOptions, type ShareBox, type SharedCursor, type Shortcut, type ShortcutOverrides, type SkipAction, type SkipLevel, type SkipSteps, type SliderProps, type Sort, type SortableListProps, type SourceAttacher, SpanActions, type SpanActionsNotice, type SpanBehaviour, type SpanKind, type SpanOutcome, SpanStrip, type SpanTone, type SpanWords, type SpeakOptions, type Speech, type SpeechLevel, type SpeechPart, StageGuides, type StageState, type StageWords, type Stale, type StrataToastRegionProps, type StreamAttachment, type StreamContext, type StreamStats, type Stroke, type StrokeChange, type StrokeNoteWords, type StrokePoint, type StrokeShape, type SwitchProps, type SystemFact, type SystemFolder, type SystemInfoLike, type SystemPanelProps, type SystemService, type TabItem, type TakeLevelProps, type TextDifference, type TextLinkProps, type TextMedia, type TextSegment, ThemeProvider, type ThumbnailProps, type TileAspect, type TileGridProps, type TileSize, TimeReadout, type TimelineChange, type TimelineClock, type TimelineClockOptions, type TimelineDrop, type TimelineItem, type TimelineLane, type TimelineMarker, type TimelinePlayerProps, type TimelineProps, type ToastContentProps, type ToggleGroupProps, type ToggleOption, type ToggleProps, type Tone, type ToolChoice, type ToolbarProps, type TooltipProps, type TranscriptGroup, type TranscriptPhrase, type TranscriptPhraseState, type TranscriptSeek, type TranscriptViewProps, type TranscriptWord, Transport, type TransportProps, type TreeNodeState, type TreeProps, type TypedApi, type Undoable, type UndoableOptions, type UseAutoRecorderOptions, type UseRecorderOptions, type UseSpeechOptions, type VideoLoop, type VideoMedia, type VideoMode, type ViewGroup, type ViewGroupRows, type ViewOptionsConfig, type ViewOptionsProps, type ViewOptionsState, type ViewPointerOptions, type ViewSort, type Viewport, type ViewportFrameProps, type ViewportState, VolumeControl, type VolumeControlProps, type WaveformMark, type WaveformMarkKind, type WaveformPeaks, type WaveformProps, type WaveformSpan, type WaveformTone, type WorkContext, type WorkPhase, type WorkflowRunLike, type WorkflowRunOptions, type WorkflowStage, type WorkflowStepsProps, type WorkflowSummaryData, type WorkflowSummaryProps, type WorkflowSummaryState, type WorkflowSummaryWords, type WorkspaceBarProps, type WorkspaceState, type YScale, browserMicrophone, buttonVariants, colorSchemeScript, explainMicrophoneError, format$1 as format, geo, isTypingTarget, keyName, logScale, marksFor, mediaStatRows, paletteScript, palettes, readPixels$1 as readPixels, skipAction, transportShortcuts, useAsyncAction, useAttachedSource, useColorScheme, useHotkeys, useMediaElement, useMediaSpans, useMediaStats, useMicrophone, usePalette, usePlayerWarnings, useSharedCursor, useSystemColorScheme, valueAt };
|
|
6163
6182
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -9906,7 +9906,7 @@ function useObjectUrl(data, type) {
|
|
|
9906
9906
|
}
|
|
9907
9907
|
|
|
9908
9908
|
// src/components/pixel-image.tsx
|
|
9909
|
-
const sizeOf = (p) => p.image ? {
|
|
9909
|
+
const sizeOf$1 = (p) => p.image ? {
|
|
9910
9910
|
width: p.image.width,
|
|
9911
9911
|
height: p.image.height,
|
|
9912
9912
|
data: p.image.data
|
|
@@ -9922,7 +9922,7 @@ function pixelZoom(width, height, zoom = "fit", maxSize = 512) {
|
|
|
9922
9922
|
}
|
|
9923
9923
|
/** A decoded RGBA picture on a canvas at a whole-number zoom with square pixels, a checkerboard behind clear pixels, named with its size. */
|
|
9924
9924
|
function PixelImage({ label, zoom = "fit", maxSize = 512, className, ...source }) {
|
|
9925
|
-
const { width, height, data } = sizeOf(source);
|
|
9925
|
+
const { width, height, data } = sizeOf$1(source);
|
|
9926
9926
|
const canvas = React.useRef(null);
|
|
9927
9927
|
const complete = data.length === width * height * 4 && width > 0 && height > 0;
|
|
9928
9928
|
const scale = pixelZoom(width, height, zoom, maxSize);
|
|
@@ -23004,7 +23004,7 @@ function Row$1({ level, children }) {
|
|
|
23004
23004
|
children
|
|
23005
23005
|
});
|
|
23006
23006
|
}
|
|
23007
|
-
function Node$
|
|
23007
|
+
function Node$2({ node }) {
|
|
23008
23008
|
const c = useCtx();
|
|
23009
23009
|
const key = c.nodeKey(node);
|
|
23010
23010
|
c.nodes.set(key, node);
|
|
@@ -23095,7 +23095,7 @@ function ClosedChild({ id }) {
|
|
|
23095
23095
|
}
|
|
23096
23096
|
function Nodes({ nodes }) {
|
|
23097
23097
|
const c = useCtx();
|
|
23098
|
-
return /* @__PURE__ */ jsx(Fragment, { children: c.sorted(nodes).map((n) => /* @__PURE__ */ jsx(Node$
|
|
23098
|
+
return /* @__PURE__ */ jsx(Fragment, { children: c.sorted(nodes).map((n) => /* @__PURE__ */ jsx(Node$2, { node: n }, c.nodeKey(n))) });
|
|
23099
23099
|
}
|
|
23100
23100
|
function Children({ node }) {
|
|
23101
23101
|
const c = useCtx();
|
|
@@ -23406,6 +23406,154 @@ function Tree({ label, roots, useChildren, nodeKey, nodeLabel, isBranch, renderN
|
|
|
23406
23406
|
});
|
|
23407
23407
|
}
|
|
23408
23408
|
|
|
23409
|
+
// src/components/json-view.tsx
|
|
23410
|
+
const kindOf = (v) => v === null ? "null" : Array.isArray(v) ? "array" : typeof v === "object" ? "object" : typeof v === "string" ? "string" : typeof v === "number" ? "number" : typeof v === "boolean" ? "boolean" : "other";
|
|
23411
|
+
const entriesOf = (v) => Array.isArray(v) ? v.map((x, i) => [String(i), x]) : v !== null && typeof v === "object" ? Object.entries(v) : [];
|
|
23412
|
+
const isBranch = (v) => entriesOf(v).length > 0;
|
|
23413
|
+
const child = (path, key) => `${path}/${key.replaceAll("~", "~0").replaceAll("/", "~1")}`;
|
|
23414
|
+
/** Every branch's path under `value` down to `depth` levels (all of them with `Infinity`): what `JsonView` opens at first, and what "Expand all" opens. */
|
|
23415
|
+
function jsonBranchPaths(value, depth = Infinity, path = "") {
|
|
23416
|
+
if (!isBranch(value) || depth <= 0) return [];
|
|
23417
|
+
return [path, ...entriesOf(value).flatMap(([k, v]) => jsonBranchPaths(v, depth - 1, child(path, k)))];
|
|
23418
|
+
}
|
|
23419
|
+
function Scalar({ value }) {
|
|
23420
|
+
const kind = kindOf(value);
|
|
23421
|
+
if (kind === "string") return /* @__PURE__ */ jsxs("span", {
|
|
23422
|
+
className: "whitespace-pre-wrap break-words text-success",
|
|
23423
|
+
children: [
|
|
23424
|
+
/* @__PURE__ */ jsx("span", {
|
|
23425
|
+
className: "text-muted-foreground",
|
|
23426
|
+
children: "\""
|
|
23427
|
+
}),
|
|
23428
|
+
value,
|
|
23429
|
+
/* @__PURE__ */ jsx("span", {
|
|
23430
|
+
className: "text-muted-foreground",
|
|
23431
|
+
children: "\""
|
|
23432
|
+
})
|
|
23433
|
+
]
|
|
23434
|
+
});
|
|
23435
|
+
if (kind === "number") return /* @__PURE__ */ jsx("span", {
|
|
23436
|
+
className: "text-info tabular-nums",
|
|
23437
|
+
children: String(value)
|
|
23438
|
+
});
|
|
23439
|
+
if (kind === "boolean") return /* @__PURE__ */ jsx("span", {
|
|
23440
|
+
className: "text-primary",
|
|
23441
|
+
children: String(value)
|
|
23442
|
+
});
|
|
23443
|
+
if (kind === "null") return /* @__PURE__ */ jsx("span", {
|
|
23444
|
+
className: "italic text-muted-foreground",
|
|
23445
|
+
children: "null"
|
|
23446
|
+
});
|
|
23447
|
+
if (kind === "array") return /* @__PURE__ */ jsx("span", {
|
|
23448
|
+
className: "text-muted-foreground",
|
|
23449
|
+
children: "[]"
|
|
23450
|
+
});
|
|
23451
|
+
if (kind === "object") return /* @__PURE__ */ jsx("span", {
|
|
23452
|
+
className: "text-muted-foreground",
|
|
23453
|
+
children: "{}"
|
|
23454
|
+
});
|
|
23455
|
+
return /* @__PURE__ */ jsx("span", {
|
|
23456
|
+
className: "italic text-muted-foreground",
|
|
23457
|
+
children: String(value)
|
|
23458
|
+
});
|
|
23459
|
+
}
|
|
23460
|
+
const sizeOf = (v) => {
|
|
23461
|
+
const n = entriesOf(v).length;
|
|
23462
|
+
return Array.isArray(v) ? format.count(n, "item") : format.count(n, "key");
|
|
23463
|
+
};
|
|
23464
|
+
function Node$1({ name, value, path, index }) {
|
|
23465
|
+
const branch = isBranch(value);
|
|
23466
|
+
const array = Array.isArray(value);
|
|
23467
|
+
const text = kindOf(value) === "string" ? value : branch ? sizeOf(value) : String(value);
|
|
23468
|
+
return /* @__PURE__ */ jsxs(TreeItem, {
|
|
23469
|
+
id: path,
|
|
23470
|
+
textValue: `${name} ${text}`.trim(),
|
|
23471
|
+
className: "outline-none",
|
|
23472
|
+
children: [/* @__PURE__ */ jsx(TreeItemContent, { children: ({ level, isExpanded, isFocusVisible }) => /* @__PURE__ */ jsxs("div", {
|
|
23473
|
+
className: cn("flex min-h-(--control-h-sm) min-w-0 items-start gap-1 rounded-control py-1 pr-2 font-mono type-body-sm hover:bg-muted", isFocusVisible && "outline-2 -outline-offset-2 outline-ring"),
|
|
23474
|
+
style: { paddingInlineStart: `${(level - 1) * 1.25}rem` },
|
|
23475
|
+
children: [branch ? /* @__PURE__ */ jsx(Button$1, {
|
|
23476
|
+
slot: "chevron",
|
|
23477
|
+
"aria-label": isExpanded ? `Close ${name}` : `Open ${name}`,
|
|
23478
|
+
className: "grid size-5 shrink-0 place-items-center rounded-control text-muted-foreground",
|
|
23479
|
+
children: /* @__PURE__ */ jsx(ChevronRight, {
|
|
23480
|
+
"aria-hidden": true,
|
|
23481
|
+
className: cn("size-4", isExpanded && "rotate-90")
|
|
23482
|
+
})
|
|
23483
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
23484
|
+
"aria-hidden": true,
|
|
23485
|
+
className: "size-5 shrink-0"
|
|
23486
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
23487
|
+
className: "min-w-0 flex-1",
|
|
23488
|
+
children: [
|
|
23489
|
+
/* @__PURE__ */ jsx("span", {
|
|
23490
|
+
className: index ? "text-muted-foreground" : "font-medium text-foreground",
|
|
23491
|
+
children: name
|
|
23492
|
+
}),
|
|
23493
|
+
/* @__PURE__ */ jsx("span", {
|
|
23494
|
+
className: "text-muted-foreground",
|
|
23495
|
+
children: ": "
|
|
23496
|
+
}),
|
|
23497
|
+
branch ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
23498
|
+
/* @__PURE__ */ jsx("span", {
|
|
23499
|
+
className: "text-muted-foreground",
|
|
23500
|
+
children: array ? isExpanded ? "[" : "[…]" : isExpanded ? "{" : "{…}"
|
|
23501
|
+
}),
|
|
23502
|
+
" ",
|
|
23503
|
+
/* @__PURE__ */ jsx("span", {
|
|
23504
|
+
className: "font-sans type-caption text-muted-foreground",
|
|
23505
|
+
children: sizeOf(value)
|
|
23506
|
+
})
|
|
23507
|
+
] }) : /* @__PURE__ */ jsx(Scalar, { value })
|
|
23508
|
+
]
|
|
23509
|
+
})]
|
|
23510
|
+
}) }), branch && entriesOf(value).map(([k, v]) => /* @__PURE__ */ jsx(Node$1, {
|
|
23511
|
+
name: k,
|
|
23512
|
+
value: v,
|
|
23513
|
+
path: child(path, k),
|
|
23514
|
+
index: array
|
|
23515
|
+
}, k))]
|
|
23516
|
+
});
|
|
23517
|
+
}
|
|
23518
|
+
/** Any JSON value as a tree: objects and arrays open and close (arrows, type-ahead, Expand all / Collapse all), values coloured by type with theme roles, long strings wrapped. The fallback for a value an app cannot show in its own words. */
|
|
23519
|
+
function JsonView({ value, label, openDepth = 2, expanded: given, rootName = "value", height = "32rem", className }) {
|
|
23520
|
+
const [initial] = React.useState(() => given ? [] : jsonBranchPaths(value, openDepth));
|
|
23521
|
+
const own = useExpanded({ initial });
|
|
23522
|
+
const expanded = given ?? own;
|
|
23523
|
+
const branch = isBranch(value);
|
|
23524
|
+
const all = React.useMemo(() => jsonBranchPaths(value), [value]);
|
|
23525
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
23526
|
+
className: cn("grid min-w-0 gap-1", className),
|
|
23527
|
+
children: [branch && /* @__PURE__ */ jsxs("div", {
|
|
23528
|
+
className: "flex items-center gap-1",
|
|
23529
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
23530
|
+
size: "sm",
|
|
23531
|
+
variant: "ghost",
|
|
23532
|
+
onPress: () => expanded.onChange(new Set(all)),
|
|
23533
|
+
children: "Expand all"
|
|
23534
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
23535
|
+
size: "sm",
|
|
23536
|
+
variant: "ghost",
|
|
23537
|
+
onPress: () => expanded.onChange(/* @__PURE__ */ new Set()),
|
|
23538
|
+
children: "Collapse all"
|
|
23539
|
+
})]
|
|
23540
|
+
}), /* @__PURE__ */ jsx(Tree$1, {
|
|
23541
|
+
"aria-label": label,
|
|
23542
|
+
expandedKeys: expanded.expanded,
|
|
23543
|
+
onExpandedChange: (keys) => expanded.onChange(new Set([...keys].map(String))),
|
|
23544
|
+
className: "min-w-0 overflow-y-auto rounded-control bg-surface-sunken p-1 outline-none",
|
|
23545
|
+
style: { maxHeight: height },
|
|
23546
|
+
"data-strata-scroll": "",
|
|
23547
|
+
children: /* @__PURE__ */ jsx(Node$1, {
|
|
23548
|
+
name: rootName,
|
|
23549
|
+
value,
|
|
23550
|
+
path: "",
|
|
23551
|
+
index: false
|
|
23552
|
+
})
|
|
23553
|
+
})]
|
|
23554
|
+
});
|
|
23555
|
+
}
|
|
23556
|
+
|
|
23409
23557
|
// src/components/folder-picker.tsx
|
|
23410
23558
|
const SEP = "/";
|
|
23411
23559
|
const parts = (path) => path.split(SEP).filter(Boolean);
|
|
@@ -24964,5 +25112,5 @@ function SetClock({ value, onChange, step = 5, geared = true, face = "teaching",
|
|
|
24964
25112
|
});
|
|
24965
25113
|
}
|
|
24966
25114
|
|
|
24967
|
-
export { ActiveList, Alert, AlertDialog, AppShell, AsyncButton, BRUSHES, BookViewer, BoxList, BoxOverlay, BoxedPicture, Breadcrumb, BulkBar, Button, ButtonLink, ByteView, CLOCK_FACE_STYLES, CLOCK_STYLES, COLOR_SCHEME_STORAGE_KEY, Checkbox, ChoiceGrid, ChoiceGridSkeleton, ChoiceGroup, ClipsProvider, Clock, ClockFace, ColorField, ColorSchemeChoice, CommandLegend, CommandMenu, Compare, CompareAudio, CompareGrid, CompareText, CompareVideo, CompareVideoGrid, Composer, CompositionBar, Concealed, Console, ContextMenu, Conversation, CursorScope, DEFAULT_PALETTE, DEFAULT_TOLERANCE, DIGITAL_CLOCK_STYLES, DataTable, DataView$1 as DataView, Density, Dialog, DigitalClock, Disclosure, Done, DragSource, DrawingLayer, DrawingToolbar, EditListPlayer, EmptyState, EventLog, FIT, FRACTION_OUTLINES, Field, FileButton, FileDropOverlay, FileDropZone, FileOutcomes, FilmStrip, FolderPicker, FractionShape, FullscreenFrame, Glimpse, HttpError, INK_COLOURS, IconButton, InfiniteList, Input, InputLevel, Inspector, InspectorSection, JobStatus, JobsTable, KeysLegend, LEVEL_FLOOR_DB, Lightbox, LineChart, LineChartGroup, LinkCard, LinkCardList, ListeningLevel, LoadError, LoadMore, MAX_SCALE, MAX_SIDE, MIN_SCALE, MISSING, Mark, MarkSummary, MarkableText, MediaContents, MediaGroup, MediaPlayer, MediaStage, Menu, Meter, Metric, MetricStrip, MicrophoneContext, MicrophoneError, MissingFile, NBSP, NativeSelect, NumberField, OutboxStatus, PALETTE_STORAGE_KEY, PageHeader, PairJudge, PairVote, PaletteChoice, Pane, PauseButton, PixelImage, PlaceBoard, PlayWindowButton, PlayerNotice, Popover, PropertyList, PropertyRow, RangeSlider, RateChoice, ReadAlong, RegionEditor, RichText, RowAction, SPEECH_RATES, STRATA_DRAG_TYPE, SaveStatus, SayAgain, SayPicture, ScheduleTable, SecretField, SeekBar, SelectableGrid, SelectableGridSkeleton, SequenceTimeline, SetClock, ShortcutEditor, SideNav, Skeleton, Slider, SortableList, SpanActions, SpanStrip, Split, StageGuides, StaleNotice, Status, StrataQueryProvider, StrataToastRegion, Switch, SystemPanel, TableSkeleton, Tabs, TakeLevel, TextLink, Textarea, ThemeProvider, Thumbnail, ThumbnailSkeleton, TileGrid, TileGridSkeleton, TimeReadout, Timeline, TimelinePlayer, TimelineZoomControls, Toggle, ToggleGroup, Toolbar, ToolbarSeparator, Tooltip, TranscriptView, Transport, Tree, UndoBar, ViewOptions, ViewportFrame, VirtualList, VolumeControl, Waveform, WorkflowSteps, WorkflowSummary, Workspace, WorkspaceBar, actualPixelsScale, ancestorsOf, apiPage, appBase, applyOp, boxViewport, browserMicrophone, buttonVariants, canFullscreen, canPlayClips, canSay, canSpeak, checkKey, clampToRoom, clampViewport, clipsQueryKey, clockParts, clockWords, cn, colorSchemeScript, commandShortcut, continues, countMarks, createApi, createFormat, createOutbox, createQueryClient, createReserve, createSegmenter, createTypedApi, crossedThreshold, currentItem, currentOf, curvePoints, dayPart, describeActionError, describeHttpError, describeRegion, describeWorkflowSummary, detectPlatform, diffWords, differences, digitalTime, diskThresholds, drawRect, drawingToSvg, ease, editTimeOf, editTimes, emptyDrawing, encodeWav, errorPayload, explainMicrophoneError, feedbackMarker, fetchJson, fieldErrorsOf, filterMarkup, findPage, fitPoints, fitRect, followAim, format, formatChord, fractionParts, fractionWords, frameAt, gainToVolume, geo, gridPoints, gutterOf, hitsStroke, hourAt, inkMatch, inputLevelThresholds, invertOp, isDigitalStyle, isDoubtful, isRefusal, isReservedChord, isSpeaking, isTaskRunning, isTypingTarget, isWorkflowRunning, jobProgressText, joinMediaGroup, joinRects, joinSamples, keyName, labelOf, lerpRect, locateInEdit, logScale, loudnessOf, marksFor, matchEntities, matchGains, matchesAccept, matchesChord, measureLoudness, mediaStatRows, minutesAt, moveGutter, moveMinuteHand, movePoints, moveRect, newStrokeId, nextBreak, noOverlap, normaliseAngle, pageName, paletteScript, palettes, parentOf, parseChord, parseInline, parseRichText, parseSort, peakDb, peakGain, peaksFromAudio, phraseAt, phraseDoubtful, phraseOfWordId, pickEvenly, pickVoice, pixelZoom, plainText, pointsBox, rangeBetween, readErrorBody, readPixels, readingOrder, regionShares, regionStyle, replay, resample, resamplePeaks, rescaleDrawing, resizeRect, rgbaToBlob, rmsDb, romanHour, safeHref, sayPosition, serialiseSort, settleCut, simplifyPoints, skipAction, smoothPath, snapToGrid, sortRows, speak, speechLevel, splitRect, staleOf, stepId, stepMinuteHand, stepOnGrid, stopSpeaking, strokeAt, strokeBox, strokeShape, summariseWorkflow, textOf, tickLabel, tickStep, ticksBetween, toDate, toLoad, toPeakPair, toast, toastTimeout, transportShortcuts, turnRect, turnedSize, typeSteps, useActiveItem, useAsyncAction, useAttachedSource, useAutoRecorder, useAutoSave, useBookUrl, useBoxes, useChoices, useClientWork, useClips, useColorScheme, useCommands, useCountdown, useDifference, useDrawing, useEditList, useExpanded, useFileIntake, useHistory, useHistoryState, useHotkeys, useInView, useInfiniteLoad, useInkMatch, useJob, useJobAction, useLeaveGuard, useLightboxUrl, useLoad, useMediaElement, useMediaSpans, useMediaStats, useMicrophone, useObjectUrl, useOutbox, useOutboxStarted, usePalette, usePlayerWarnings, usePoll, useReadAloud, useRebindableShortcuts, useRecorder, useReserve, useRevealed, useSayOnShow, useSearchParam, useSelection, useSettledStatus, useSharedCursor, useSpeaking, useSpeech, useSystemColorScheme, useSystemInfo, useTimeline, useTimelineZoom, useUndoable, useViewOptions, useViewPointers, useViewport, useWheelZoom, useWorkflowRun, useWorkspaceState, valueAt, viewOf, viewsOf, widthsOf, withBase, wordAt, wordId, zoomAt, zoomToBox };
|
|
25115
|
+
export { ActiveList, Alert, AlertDialog, AppShell, AsyncButton, BRUSHES, BookViewer, BoxList, BoxOverlay, BoxedPicture, Breadcrumb, BulkBar, Button, ButtonLink, ByteView, CLOCK_FACE_STYLES, CLOCK_STYLES, COLOR_SCHEME_STORAGE_KEY, Checkbox, ChoiceGrid, ChoiceGridSkeleton, ChoiceGroup, ClipsProvider, Clock, ClockFace, ColorField, ColorSchemeChoice, CommandLegend, CommandMenu, Compare, CompareAudio, CompareGrid, CompareText, CompareVideo, CompareVideoGrid, Composer, CompositionBar, Concealed, Console, ContextMenu, Conversation, CursorScope, DEFAULT_PALETTE, DEFAULT_TOLERANCE, DIGITAL_CLOCK_STYLES, DataTable, DataView$1 as DataView, Density, Dialog, DigitalClock, Disclosure, Done, DragSource, DrawingLayer, DrawingToolbar, EditListPlayer, EmptyState, EventLog, FIT, FRACTION_OUTLINES, Field, FileButton, FileDropOverlay, FileDropZone, FileOutcomes, FilmStrip, FolderPicker, FractionShape, FullscreenFrame, Glimpse, HttpError, INK_COLOURS, IconButton, InfiniteList, Input, InputLevel, Inspector, InspectorSection, JobStatus, JobsTable, JsonView, KeysLegend, LEVEL_FLOOR_DB, Lightbox, LineChart, LineChartGroup, LinkCard, LinkCardList, ListeningLevel, LoadError, LoadMore, MAX_SCALE, MAX_SIDE, MIN_SCALE, MISSING, Mark, MarkSummary, MarkableText, MediaContents, MediaGroup, MediaPlayer, MediaStage, Menu, Meter, Metric, MetricStrip, MicrophoneContext, MicrophoneError, MissingFile, NBSP, NativeSelect, NumberField, OutboxStatus, PALETTE_STORAGE_KEY, PageHeader, PairJudge, PairVote, PaletteChoice, Pane, PauseButton, PixelImage, PlaceBoard, PlayWindowButton, PlayerNotice, Popover, PropertyList, PropertyRow, RangeSlider, RateChoice, ReadAlong, RegionEditor, RichText, RowAction, SPEECH_RATES, STRATA_DRAG_TYPE, SaveStatus, SayAgain, SayPicture, ScheduleTable, SecretField, SeekBar, SelectableGrid, SelectableGridSkeleton, SequenceTimeline, SetClock, ShortcutEditor, SideNav, Skeleton, Slider, SortableList, SpanActions, SpanStrip, Split, StageGuides, StaleNotice, Status, StrataQueryProvider, StrataToastRegion, Switch, SystemPanel, TableSkeleton, Tabs, TakeLevel, TextLink, Textarea, ThemeProvider, Thumbnail, ThumbnailSkeleton, TileGrid, TileGridSkeleton, TimeReadout, Timeline, TimelinePlayer, TimelineZoomControls, Toggle, ToggleGroup, Toolbar, ToolbarSeparator, Tooltip, TranscriptView, Transport, Tree, UndoBar, ViewOptions, ViewportFrame, VirtualList, VolumeControl, Waveform, WorkflowSteps, WorkflowSummary, Workspace, WorkspaceBar, actualPixelsScale, ancestorsOf, apiPage, appBase, applyOp, boxViewport, browserMicrophone, buttonVariants, canFullscreen, canPlayClips, canSay, canSpeak, checkKey, clampToRoom, clampViewport, clipsQueryKey, clockParts, clockWords, cn, colorSchemeScript, commandShortcut, continues, countMarks, createApi, createFormat, createOutbox, createQueryClient, createReserve, createSegmenter, createTypedApi, crossedThreshold, currentItem, currentOf, curvePoints, dayPart, describeActionError, describeHttpError, describeRegion, describeWorkflowSummary, detectPlatform, diffWords, differences, digitalTime, diskThresholds, drawRect, drawingToSvg, ease, editTimeOf, editTimes, emptyDrawing, encodeWav, errorPayload, explainMicrophoneError, feedbackMarker, fetchJson, fieldErrorsOf, filterMarkup, findPage, fitPoints, fitRect, followAim, format, formatChord, fractionParts, fractionWords, frameAt, gainToVolume, geo, gridPoints, gutterOf, hitsStroke, hourAt, inkMatch, inputLevelThresholds, invertOp, isDigitalStyle, isDoubtful, isRefusal, isReservedChord, isSpeaking, isTaskRunning, isTypingTarget, isWorkflowRunning, jobProgressText, joinMediaGroup, joinRects, joinSamples, jsonBranchPaths, keyName, labelOf, lerpRect, locateInEdit, logScale, loudnessOf, marksFor, matchEntities, matchGains, matchesAccept, matchesChord, measureLoudness, mediaStatRows, minutesAt, moveGutter, moveMinuteHand, movePoints, moveRect, newStrokeId, nextBreak, noOverlap, normaliseAngle, pageName, paletteScript, palettes, parentOf, parseChord, parseInline, parseRichText, parseSort, peakDb, peakGain, peaksFromAudio, phraseAt, phraseDoubtful, phraseOfWordId, pickEvenly, pickVoice, pixelZoom, plainText, pointsBox, rangeBetween, readErrorBody, readPixels, readingOrder, regionShares, regionStyle, replay, resample, resamplePeaks, rescaleDrawing, resizeRect, rgbaToBlob, rmsDb, romanHour, safeHref, sayPosition, serialiseSort, settleCut, simplifyPoints, skipAction, smoothPath, snapToGrid, sortRows, speak, speechLevel, splitRect, staleOf, stepId, stepMinuteHand, stepOnGrid, stopSpeaking, strokeAt, strokeBox, strokeShape, summariseWorkflow, textOf, tickLabel, tickStep, ticksBetween, toDate, toLoad, toPeakPair, toast, toastTimeout, transportShortcuts, turnRect, turnedSize, typeSteps, useActiveItem, useAsyncAction, useAttachedSource, useAutoRecorder, useAutoSave, useBookUrl, useBoxes, useChoices, useClientWork, useClips, useColorScheme, useCommands, useCountdown, useDifference, useDrawing, useEditList, useExpanded, useFileIntake, useHistory, useHistoryState, useHotkeys, useInView, useInfiniteLoad, useInkMatch, useJob, useJobAction, useLeaveGuard, useLightboxUrl, useLoad, useMediaElement, useMediaSpans, useMediaStats, useMicrophone, useObjectUrl, useOutbox, useOutboxStarted, usePalette, usePlayerWarnings, usePoll, useReadAloud, useRebindableShortcuts, useRecorder, useReserve, useRevealed, useSayOnShow, useSearchParam, useSelection, useSettledStatus, useSharedCursor, useSpeaking, useSpeech, useSystemColorScheme, useSystemInfo, useTimeline, useTimelineZoom, useUndoable, useViewOptions, useViewPointers, useViewport, useWheelZoom, useWorkflowRun, useWorkspaceState, valueAt, viewOf, viewsOf, widthsOf, withBase, wordAt, wordId, zoomAt, zoomToBox };
|
|
24968
25116
|
//# sourceMappingURL=index.js.map
|