strata-react 2.1.14 → 2.1.15

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 CHANGED
@@ -250,6 +250,7 @@ thousands of lines. Such an app imports the same stylesheet **without the reset*
250
250
  | Answering by tap | `ChoiceGrid`, `ChoiceGridSkeleton`, `ChoiceState`; the `type-picture` step | One question, large picture tiles, one right answer, for someone who may not read yet (a child's learning game). Each tile is `open`, `wrong` (greyed, never red), `right` or `answer` (shown after the tries ran out), always with its word; a choice with no answer key ("Which one next?", a rating) uses `picked` (primary border, neutral word, `marks={{ picked }}`), which closes the grid so a slow request cannot be tapped twice; the app owns the answer key. Answered tiles cannot be pressed again and the grid closes once the answer shows. React Aria's `GridList`: arrows across and down, Enter answers. Tiles at least 120px (`md`) or 160px (`lg`); `stretch` shares the row out so a few tiles fill a wide screen; `beckon` pulses the open tiles one at a time in a random order until the grid closes. For a learner who cannot read a tile's word: `renderCaption` (a fitted line under the picture, "12 December"), `onHover` (say a tile when a mouse or pen comes over it) and `reading` (the tile being read aloud, lit; `useReadAloud` reads the tiles once in turn after the prompt, and stops for good at the learner's first tap) |
251
251
  | Answering by placing | `PlaceBoard`, `PlaceState` | An answer that is an arrangement (give a number, put in order, match pairs, sort), for someone who may not read yet. Two taps: pick a piece up (`aria-pressed`, "Picked up", a blue info ring), put it in a place ("Put apple in the basket"; every place that takes it gets the same ring); tap it again to put it down, or tap its gap in the pile ("Put … back"). Or drag it there by pointer (from the press, no long press). With one place a tap moves at once, in or out (a big X on hover). `limit` caps a place: a piece put in a full one sends the one there back ("in place of 4"). The pile keeps a slot per piece and each place room for all it can hold (a lone place takes the row), so nothing moves during a round (the held word sits over its piece's foot; the Check keeps its room once locked). Same presses by touch, mouse, keyboard and screen reader; places are disabled until a piece is held, so Tab walks the pieces, then the places; focus follows a moved piece. The app owns `placement`, applies `onMove` and checks (`check` draws its big Check, `Button size="lg"` with a tick either side; `check.untilPlaced` greys it out until the pile is empty, for a round with a set number of answers); `placeState` marks a place `right` or `wrong` (neutral, never red) with its word, `locked` ends the round. Pieces 96px or more in the pile, 72px once placed; `beckon` pulses the pile's pieces one at a time while none is held; `stretch` shares the pile's and places' rows out; a picture never outgrows its tile. `renderCaption`, `onHover`, `onHoverPlace` and `reading` as on `ChoiceGrid` |
252
252
  | Telling the time | `Clock`, `ClockFace`, `DigitalClock`, `SetClock`, `clockWords`, `digitalTime` | One time on a clock people know. `Clock` picks the face: analogue (`teaching`, the default classroom clock with its hands told apart by length, width and colour; `railway`, the Swiss station clock with its red disc; `classic`, Roman numerals and Breguet hands; `bauhaus`; `aviator`; `modern`; `minimal`) or digital (`segments`, `flip`, `plain`; 12- or 24-hour, am and pm). Each analogue part can be set on its own (`numerals`, `numbers`, `marks`, `hands`, `minuteNumbers`), so a step can take one away. The hour hand moves between the numbers as the minutes pass. Each is an `img` named with the time in words or as written; pass `label` when the time is the answer. `SetClock` is the control: press or drag anywhere and the nearer hand goes there, snapping to `step` minutes; the hands are geared as a real clock's are; each hand is a slider for the arrow keys and Page Up and Down. |
253
+ | Fractions | `FractionShape`, `fractionParts`, `fractionWords` | A circle, square, rectangle or triangle cut into 1 to 8 parts with some shaded: halves and quarters drawn the usual ways (`cut`: strips, rows, a grid, corner to corner), and `unequal` parts for a shape cut in two that is not cut in halves. An `img` named in words ("A circle cut into 4 equal parts, 1 shaded"); pass `label` when the fraction is the answer. `fractionWords(3, 4)` is "three quarters". |
253
254
  | Seeing for a moment | `Glimpse`, `useCountdown` | Something shown briefly and then hidden ("How many did you see?"). A 3-2-1 (`count`) before every look, then the content for `ms` with a bar under it that empties as the time goes (`drain`), then hidden with its room kept, so nothing under it moves. Changing `again` shows it again, count and timer included (after a wrong answer); `peeks` offers that many looks again on a "Look again" button in the empty box, gone once used. `onLook` reports each look and why (`first`, `again`, `peek`). `useCountdown(running, seconds, onDone, run, { hold })` is the whole-second count on its own (an auto Next); `hold: useSpeaking()` makes the end wait, on 1, until the words have been said too (given up after `holdAtMost`, 10 s) |
254
255
  | Sortable list | `SortableList` | Reorder a list and move items between lists, by pointer and by keyboard. React Aria's `GridList` with `useDragAndDrop` (no `@dnd-kit`): a grip per row is the drag handle, so clicking a row selects it and its own actions still work; Enter on the grip picks up, arrows and Tab choose a position or list, Enter drops, Escape cancels, with React Aria's screen-reader announcements. Items carry a kind (`getKind`); a list takes the kinds in `accepts` and says why it refuses another (`refuses`, shown with an icon while that kind is dragged over it). The list never changes the data: `onReorder` and `onInsert` report the move and the app applies it, undoably |
255
256
  | Drag source | `DragSource` | A row that is dragged onto a drop target elsewhere (a `Timeline` lane), by pointer or from the keyboard. React Aria's `useDrag` with a drag button: a grip named "Drag <label>" picks it up with Enter, Tab moves between targets that take its types, Enter drops, Escape cancels, with React Aria's announcements; the pointer can pick up the whole row and the row's own buttons still work. `items` returns the drag's data (`DragData`, a type to a value), read by the target |
package/dist/index.d.ts CHANGED
@@ -6077,6 +6077,36 @@ type DigitalClockProps = DigitalTimeOptions & {
6077
6077
  };
6078
6078
  /** A digital clock showing one time: seven segments, flip tiles or plain figures. */
6079
6079
  export declare function DigitalClock({ hours, minutes, seconds, hour12, period, label, face, className }: DigitalClockProps): import("react").JSX.Element;
6080
+ /** The outline `FractionShape` cuts up. */
6081
+ type FractionOutline = "circle" | "square" | "rectangle" | "triangle";
6082
+ /** How `FractionShape` cuts its shape: strips side by side, rows, a grid, corner to corner, or parts of unequal size. */
6083
+ type FractionCut = "strips" | "rows" | "grid" | "diagonal" | "unequal";
6084
+ /** Every outline, in the order a gallery shows them. */
6085
+ export declare const FRACTION_OUTLINES: readonly FractionOutline[];
6086
+ /** Props of `FractionShape`. */
6087
+ type FractionShapeProps = {
6088
+ /** The outline: a circle, a square, a rectangle or a triangle. */
6089
+ shape: FractionOutline;
6090
+ /** How many parts it is cut into, 1 to 8. */
6091
+ parts: number;
6092
+ /** How many parts are shaded (the first ones), or which (indices from 0). */
6093
+ shaded: number | readonly number[];
6094
+ /** How it is cut; `strips` by default (slices for a circle, whatever is asked). */
6095
+ cut?: FractionCut;
6096
+ /** What a screen reader hears; by default the shape, its parts and how many are shaded, in words. */
6097
+ label?: string;
6098
+ /** Layout at the call site (its width; the shape keeps its proportions). */
6099
+ className?: string;
6100
+ };
6101
+ /** The parts of a shape as SVG paths in a 200 by 200 view, in the order `shaded` counts them. */
6102
+ export declare function fractionParts(shape: FractionOutline, parts: number, cut?: FractionCut): string[];
6103
+ /**
6104
+ * A fraction as it is said: "one half", "three quarters", "two thirds". A whole is "one whole" ("two halves" is still
6105
+ * a whole, so `fractionWords(2, 2)` is "two halves"); 0 is "none".
6106
+ */
6107
+ export declare function fractionWords(shaded: number, parts: number): string;
6108
+ /** A shape cut into parts, some of them shaded: the picture of a fraction (a half, a quarter, and not a half). */
6109
+ export declare function FractionShape({ shape, parts, shaded, cut, label, className }: FractionShapeProps): import("react").JSX.Element;
6080
6110
  /** Any clock face: an analogue one (`ClockFaceStyle`) or a digital one (`DigitalClockStyle`). */
6081
6111
  type ClockStyle = ClockFaceStyle | DigitalClockStyle;
6082
6112
  /** Every face `Clock` draws: the analogue faces, then the digital ones. */
@@ -6129,5 +6159,5 @@ export declare function hourAt(angle: number, minutes: number): number;
6129
6159
  export declare function minutesAt(angle: number, step?: number): number;
6130
6160
  /** A clock whose hands are dragged, pressed or keyed to a time, geared as a real clock's are. */
6131
6161
  export declare function SetClock({ value, onChange, step, geared, face, label, handLabels, isDisabled, className, ...over }: SetClockProps): import("react").JSX.Element;
6132
- 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 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 };
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 };
6133
6163
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -21623,9 +21623,9 @@ const HANDLE_AT = {
21623
21623
  sw: "left-0 bottom-0 -translate-x-1/2 translate-y-1/2",
21624
21624
  w: "left-0 top-1/2 -translate-x-1/2 -translate-y-1/2"
21625
21625
  };
21626
- const round = (n) => format.integer(Math.round(n));
21626
+ const round$1 = (n) => format.integer(Math.round(n));
21627
21627
  /** A window said in words. */
21628
- const describeRegion = (r) => `${r.label}: ${round(r.w)} wide by ${round(r.h)} high, ${round(r.x)} across and ${round(r.y)} down`;
21628
+ const describeRegion = (r) => `${r.label}: ${round$1(r.w)} wide by ${round$1(r.h)} high, ${round$1(r.x)} across and ${round$1(r.y)} down`;
21629
21629
  /** Draw and move one or two named windows on a picture, with pointer, keyboard and numbers kept in step; aspect and bounds hold through all three; two windows make a from/to move with a Watch preview. */
21630
21630
  function RegionEditor({ label, children, size, regions, onChange, selectedId, onSelectedChange, aspect, min, bounds, step, onDraw, mode = "single", onPreview, duration = 1500, easing = "ease-in-out", fields = true, unit = "px", defaults, angle = 0, onAngleChange, guide, spreadLabels = {
21631
21631
  one: "Page",
@@ -21826,7 +21826,7 @@ function RegionEditor({ label, children, size, regions, onChange, selectedId, on
21826
21826
  ...regions[1],
21827
21827
  ...moved[1]
21828
21828
  }]);
21829
- setSaid(`Gutter at ${round(gutterOf(moved[0], moved[1]))}: ${spreadLabels.left} ${round(moved[0].w)} wide, ${spreadLabels.right} ${round(moved[1].w)} wide`);
21829
+ setSaid(`Gutter at ${round$1(gutterOf(moved[0], moved[1]))}: ${spreadLabels.left} ${round$1(moved[0].w)} wide, ${spreadLabels.right} ${round$1(moved[1].w)} wide`);
21830
21830
  }
21831
21831
  };
21832
21832
  const split = () => {
@@ -23758,7 +23758,7 @@ const MINUTE_WORDS = {
23758
23758
  20: "twenty",
23759
23759
  25: "twenty-five"
23760
23760
  };
23761
- const NUMBER_WORDS = [
23761
+ const NUMBER_WORDS$1 = [
23762
23762
  "",
23763
23763
  "one",
23764
23764
  "two",
@@ -23783,8 +23783,8 @@ const NUMBER_WORDS = [
23783
23783
  ];
23784
23784
  /** "one" to "twenty-nine", for the minutes said as a number ("seven minutes past three"). */
23785
23785
  function minuteWord(n) {
23786
- if (n <= 20) return NUMBER_WORDS[n] ?? String(n);
23787
- return `twenty-${NUMBER_WORDS[n - 20]}`;
23786
+ if (n <= 20) return NUMBER_WORDS$1[n] ?? String(n);
23787
+ return `twenty-${NUMBER_WORDS$1[n - 20]}`;
23788
23788
  }
23789
23789
  /** The part of the day a 24-hour time falls in, as `clockWords` says it with `dayPart`. */
23790
23790
  function dayPart(hours) {
@@ -23836,7 +23836,7 @@ const ROMAN = [
23836
23836
  function romanHour(n) {
23837
23837
  return ROMAN[(n % 12 + 12) % 12];
23838
23838
  }
23839
- const C = 100;
23839
+ const C$1 = 100;
23840
23840
  /** A point `r` from the centre at `deg` clockwise from 12. */
23841
23841
  function at(deg, r) {
23842
23842
  const a = (deg - 90) * Math.PI / 180;
@@ -23856,7 +23856,7 @@ function handAngles(hours, minutes, seconds = 0) {
23856
23856
  };
23857
23857
  }
23858
23858
  /** Points along a hand drawn pointing at 12, `from` below the centre to `to` above it, as an SVG polygon. */
23859
- const poly = (pts) => pts.map(([x, y]) => `${100 + x},${100 - y}`).join(" ");
23859
+ const poly$1 = (pts) => pts.map(([x, y]) => `${100 + x},${100 - y}`).join(" ");
23860
23860
  /** One hand drawn pointing at 12 (the group around it turns it): its shape by style, ink by role. */
23861
23861
  function handShape(style, which) {
23862
23862
  const hour = which === "hour";
@@ -23883,7 +23883,7 @@ function handShape(style, which) {
23883
23883
  3.25
23884
23884
  ];
23885
23885
  return /* @__PURE__ */ jsx("polygon", {
23886
- points: poly([
23886
+ points: poly$1([
23887
23887
  [-base, -tail],
23888
23888
  [base, -tail],
23889
23889
  [end, tip],
@@ -23926,7 +23926,7 @@ function handShape(style, which) {
23926
23926
  case "sword": {
23927
23927
  const [len, w] = hour ? [46, 6] : [74, 4.5];
23928
23928
  return /* @__PURE__ */ jsx("polygon", {
23929
- points: poly([
23929
+ points: poly$1([
23930
23930
  [0, -12],
23931
23931
  [w, len * .3],
23932
23932
  [0, len],
@@ -24490,6 +24490,228 @@ function DigitalClock({ hours, minutes, seconds, hour12 = true, period = false,
24490
24490
  });
24491
24491
  }
24492
24492
 
24493
+ // src/components/fraction-shape.tsx
24494
+ /** Every outline, in the order a gallery shows them. */
24495
+ const FRACTION_OUTLINES = [
24496
+ "circle",
24497
+ "square",
24498
+ "rectangle",
24499
+ "triangle"
24500
+ ];
24501
+ const R = 92;
24502
+ const C = 100;
24503
+ const RECT = {
24504
+ x: 6,
24505
+ y: 35,
24506
+ w: 188,
24507
+ h: 130
24508
+ };
24509
+ const SQUARE = {
24510
+ x: 8,
24511
+ y: 8,
24512
+ w: 184,
24513
+ h: 184
24514
+ };
24515
+ const TRIANGLE = [
24516
+ [100, 10],
24517
+ [192, 182],
24518
+ [8, 182]
24519
+ ];
24520
+ const poly = (points) => `M${points.map(([x, y]) => `${round(x)} ${round(y)}`).join(" L")} Z`;
24521
+ const round = (n) => Math.round(n * 100) / 100;
24522
+ const mid = (a, b) => [(a[0] + b[0]) / 2, (a[1] + b[1]) / 2];
24523
+ const lerp = (a, b, t) => [a[0] + (b[0] - a[0]) * t, a[1] + (b[1] - a[1]) * t];
24524
+ /** Cut points from 0 to 1: equal, or (unequal) each part one size bigger than the one before. */
24525
+ function stops(parts, unequal) {
24526
+ const sizes = Array.from({ length: parts }, (_, i) => unequal ? i + 1 : 1);
24527
+ const total = sizes.reduce((a, b) => a + b, 0);
24528
+ const out = [0];
24529
+ for (const s of sizes) out.push(out[out.length - 1] + s / total);
24530
+ out[out.length - 1] = 1;
24531
+ return out;
24532
+ }
24533
+ function slices(parts, unequal) {
24534
+ if (parts === 1) return [`M8 ${C} A${R} ${R} 0 1 1 192 ${C} A${R} ${R} 0 1 1 8 ${C} Z`];
24535
+ const at = (t) => [C + R * Math.sin(t * 2 * Math.PI), C - R * Math.cos(t * 2 * Math.PI)];
24536
+ const s = stops(parts, unequal);
24537
+ return s.slice(1).map((end, i) => {
24538
+ const [x0, y0] = at(s[i]);
24539
+ const [x1, y1] = at(end);
24540
+ const large = end - s[i] > .5 ? 1 : 0;
24541
+ return `M${C} ${C} L${round(x0)} ${round(y0)} A${R} ${R} 0 ${large} 1 ${round(x1)} ${round(y1)} Z`;
24542
+ });
24543
+ }
24544
+ function boxParts(box, parts, cut) {
24545
+ const { x, y, w, h } = box;
24546
+ const corners = [
24547
+ [x, y],
24548
+ [x + w, y],
24549
+ [x + w, y + h],
24550
+ [x, y + h]
24551
+ ];
24552
+ if (cut === "diagonal" && (parts === 2 || parts === 4)) {
24553
+ if (parts === 2) return [poly([
24554
+ corners[0],
24555
+ corners[1],
24556
+ corners[2]
24557
+ ]), poly([
24558
+ corners[0],
24559
+ corners[2],
24560
+ corners[3]
24561
+ ])];
24562
+ const centre = [x + w / 2, y + h / 2];
24563
+ return corners.map((p, i) => poly([
24564
+ p,
24565
+ corners[(i + 1) % 4],
24566
+ centre
24567
+ ]));
24568
+ }
24569
+ if (cut === "grid" && parts === 4) {
24570
+ const cx = x + w / 2;
24571
+ const cy = y + h / 2;
24572
+ return [
24573
+ poly([
24574
+ [x, y],
24575
+ [cx, y],
24576
+ [cx, cy],
24577
+ [x, cy]
24578
+ ]),
24579
+ poly([
24580
+ [cx, y],
24581
+ [x + w, y],
24582
+ [x + w, cy],
24583
+ [cx, cy]
24584
+ ]),
24585
+ poly([
24586
+ [cx, cy],
24587
+ [x + w, cy],
24588
+ [x + w, y + h],
24589
+ [cx, y + h]
24590
+ ]),
24591
+ poly([
24592
+ [x, cy],
24593
+ [cx, cy],
24594
+ [cx, y + h],
24595
+ [x, y + h]
24596
+ ])
24597
+ ];
24598
+ }
24599
+ const s = stops(parts, cut === "unequal");
24600
+ return s.slice(1).map((end, i) => cut === "rows" ? poly([
24601
+ [x, y + h * s[i]],
24602
+ [x + w, y + h * s[i]],
24603
+ [x + w, y + h * end],
24604
+ [x, y + h * end]
24605
+ ]) : poly([
24606
+ [x + w * s[i], y],
24607
+ [x + w * end, y],
24608
+ [x + w * end, y + h],
24609
+ [x + w * s[i], y + h]
24610
+ ]));
24611
+ }
24612
+ function triangleParts(parts, cut) {
24613
+ const [top, right, left] = TRIANGLE;
24614
+ if (parts === 4 && cut !== "unequal" && cut !== "strips") {
24615
+ const a = mid(top, right);
24616
+ const b = mid(right, left);
24617
+ const c = mid(left, top);
24618
+ return [
24619
+ poly([
24620
+ top,
24621
+ a,
24622
+ c
24623
+ ]),
24624
+ poly([
24625
+ a,
24626
+ right,
24627
+ b
24628
+ ]),
24629
+ poly([
24630
+ c,
24631
+ b,
24632
+ left
24633
+ ]),
24634
+ poly([
24635
+ a,
24636
+ b,
24637
+ c
24638
+ ])
24639
+ ];
24640
+ }
24641
+ const s = stops(parts, cut === "unequal");
24642
+ return s.slice(1).map((end, i) => poly([
24643
+ top,
24644
+ lerp(left, right, s[i]),
24645
+ lerp(left, right, end)
24646
+ ]));
24647
+ }
24648
+ /** The parts of a shape as SVG paths in a 200 by 200 view, in the order `shaded` counts them. */
24649
+ function fractionParts(shape, parts, cut = "strips") {
24650
+ if (!Number.isInteger(parts) || parts < 1 || parts > 8) throw new RangeError(`parts must be 1 to 8, not ${parts}`);
24651
+ if (shape === "circle") return slices(parts, cut === "unequal");
24652
+ if (shape === "triangle") return triangleParts(parts, cut);
24653
+ return boxParts(shape === "square" ? SQUARE : RECT, parts, cut);
24654
+ }
24655
+ const NUMBER_WORDS = [
24656
+ "zero",
24657
+ "one",
24658
+ "two",
24659
+ "three",
24660
+ "four",
24661
+ "five",
24662
+ "six",
24663
+ "seven",
24664
+ "eight"
24665
+ ];
24666
+ const PART_NAMES = {
24667
+ 2: ["half", "halves"],
24668
+ 3: ["third", "thirds"],
24669
+ 4: ["quarter", "quarters"],
24670
+ 5: ["fifth", "fifths"],
24671
+ 6: ["sixth", "sixths"],
24672
+ 7: ["seventh", "sevenths"],
24673
+ 8: ["eighth", "eighths"]
24674
+ };
24675
+ /**
24676
+ * A fraction as it is said: "one half", "three quarters", "two thirds". A whole is "one whole" ("two halves" is still
24677
+ * a whole, so `fractionWords(2, 2)` is "two halves"); 0 is "none".
24678
+ */
24679
+ function fractionWords(shaded, parts) {
24680
+ if (shaded === 0) return "none";
24681
+ if (parts === 1) return "one whole";
24682
+ const [one, many] = PART_NAMES[parts] ?? [`part of ${parts}`, `parts of ${parts}`];
24683
+ return `${NUMBER_WORDS[shaded] ?? String(shaded)} ${shaded === 1 ? one : many}`;
24684
+ }
24685
+ const OUTLINE_WORDS = {
24686
+ circle: "A circle",
24687
+ square: "A square",
24688
+ rectangle: "A rectangle",
24689
+ triangle: "A triangle"
24690
+ };
24691
+ /** A shape cut into parts, some of them shaded: the picture of a fraction (a half, a quarter, and not a half). */
24692
+ function FractionShape({ shape, parts, shaded, cut = "strips", label, className }) {
24693
+ const paths = fractionParts(shape, parts, cut);
24694
+ const lit = new Set(typeof shaded === "number" ? paths.map((_, i) => i).slice(0, shaded) : shaded);
24695
+ const equal = cut === "unequal" && parts > 1 ? "unequal" : "equal";
24696
+ const said = label ?? `${OUTLINE_WORDS[shape]} cut into ${parts} ${equal} part${parts === 1 ? "" : "s"}, ${lit.size} shaded`;
24697
+ return /* @__PURE__ */ jsx("svg", {
24698
+ viewBox: "0 0 200 200",
24699
+ role: "img",
24700
+ "aria-label": said,
24701
+ className: cn("block aspect-square w-full", className),
24702
+ children: /* @__PURE__ */ jsx("g", {
24703
+ strokeWidth: 3,
24704
+ strokeLinejoin: "round",
24705
+ className: "stroke-foreground",
24706
+ children: paths.map((d, i) => /* @__PURE__ */ jsx("path", {
24707
+ d,
24708
+ "data-shaded": lit.has(i) || void 0,
24709
+ className: lit.has(i) ? "fill-primary" : "fill-card"
24710
+ }, i))
24711
+ })
24712
+ });
24713
+ }
24714
+
24493
24715
  // src/components/clock.tsx
24494
24716
  /** Every face `Clock` draws: the analogue faces, then the digital ones. */
24495
24717
  const CLOCK_STYLES = [...CLOCK_FACE_STYLES, ...DIGITAL_CLOCK_STYLES];
@@ -24742,5 +24964,5 @@ function SetClock({ value, onChange, step = 5, geared = true, face = "teaching",
24742
24964
  });
24743
24965
  }
24744
24966
 
24745
- 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, Field, FileButton, FileDropOverlay, FileDropZone, FileOutcomes, FilmStrip, FolderPicker, 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, 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 };
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 };
24746
24968
  //# sourceMappingURL=index.js.map