@bendyline/squisq-editor-react 2.11.20 → 2.11.22

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.
@@ -1960,7 +1960,7 @@ function EditorProvider({
1960
1960
  const applySourceEdits = useCallback3(
1961
1961
  (edits, options) => {
1962
1962
  if (editorMode !== "markdown" || layoutModeState !== "document") return false;
1963
- if (activeView === "raw" && monacoEditor) {
1963
+ if ((activeView === "raw" || activeView === "preview") && monacoEditor) {
1964
1964
  const model = monacoEditor.getModel();
1965
1965
  if (!model) return false;
1966
1966
  const base = model.getValue();
@@ -1986,7 +1986,7 @@ function EditorProvider({
1986
1986
  monacoEditor.pushUndoStop();
1987
1987
  return true;
1988
1988
  }
1989
- if (activeView === "wysiwyg" && tiptapEditor) {
1989
+ if ((activeView === "wysiwyg" || activeView === "preview") && tiptapEditor) {
1990
1990
  const base = markdownSourceRef.current;
1991
1991
  if (options?.baseSource !== void 0 && options.baseSource !== base) return false;
1992
1992
  const sorted = normalizeSourceEdits(base, edits);
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ContentContainer } from '@bendyline/squisq/storage';
3
3
  import { ImageEditExportFormat, ImageEditVersionManager } from '@bendyline/squisq/imageEdit';
4
4
  import { Theme, SurfaceScheme, ImageEditDoc, ImageEditLayer } from '@bendyline/squisq/schemas';
@@ -28,7 +28,7 @@ interface ImageViewerProps {
28
28
  /** Color theme for the chrome around the image. */
29
29
  theme?: 'light' | 'dark';
30
30
  }
31
- declare function ImageViewer({ src, alt, className, theme }: ImageViewerProps): react_jsx_runtime.JSX.Element;
31
+ declare function ImageViewer({ src, alt, className, theme }: ImageViewerProps): react.JSX.Element;
32
32
 
33
33
  interface ImageEditorProps {
34
34
  /**
@@ -79,7 +79,7 @@ interface ImageEditorProps {
79
79
  /** Optional className for the root element. */
80
80
  className?: string;
81
81
  }
82
- declare function ImageEditor(props: ImageEditorProps): react_jsx_runtime.JSX.Element;
82
+ declare function ImageEditor(props: ImageEditorProps): react.JSX.Element;
83
83
 
84
84
  /**
85
85
  * Pure state + reducer for the `<ImageEditor>` component.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import { C as CodeContext, E as EditorHostMode, S as SceneTextChannel, a as CalcEngineFactory, b as EditorView$1, c as CsvSourceMeta, X as XlsxSourceMeta, F as FormulaEditRecord } from './shell-DTefmCBG.js';
2
- export { A as ApplySourceEditsOptions, B as BlockInsertionBuilder, d as BlockInsertionContext, e as BlockPlacement, f as BlockRange, g as BlockSlice, h as BlockTagVisibility, i as CodeContextSection, j as CoverImageSaveOutput, D as DashboardImageSaveOutput, k as DocumentLinkCandidate, l as DocumentLinkProvider, m as EditorActions, n as EditorColorScheme, o as EditorContextMenuContext, p as EditorContextMenuItem, q as EditorContextMenuItemVisibility, r as EditorContextMenuProvider, s as EditorContextMenuProviderProps, t as EditorContextValue, u as EditorInsertMenuItem, v as EditorMode, w as EditorProvider, x as EditorProviderProps, y as EditorSelectionInfo, z as EditorShell, G as EditorShellProps, H as EditorState, I as FormulaSessionOptions, J as ImageDisplayMode, K as IngestedSidecar, L as InsertBlockOptions, M as LayoutMode, N as MentionCandidate, O as MentionProvider, P as OutlineBlock, Q as OutlineInsertion, R as PreviewPanel, T as PreviewPanelProps, U as RawEditor, V as RawEditorProps, W as ThemeInheritance, Y as ViewPreferences, Z as WriteCanvasSettings, _ as WysiwygEditor, $ as WysiwygEditorProps, a0 as XLSX_LOCKED_REASON, a1 as XlsxFormulaSession, a2 as applySourceEditsToText, a3 as blockInsertionPoint, a4 as createXlsxFormulaSession, a5 as getBlockSlices, a6 as headingDepthForInsertion, a7 as ingestSidecarBytes, a8 as joinBlockAt, a9 as lineToOffset, aa as minimalReplaceEdit, ab as normalizeSourceEdits, ac as offsetToLine, ad as resolveOutlineInsertion, ae as sliceIndexAtOffset, af as sourceOutline, ag as spliceBlock, ah as useEditorContext, ai as useEditorContextMenuItems, aj as useEditorInsertMenuItems } from './shell-DTefmCBG.js';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import { C as CodeContext, E as EditorHostMode, S as SceneTextChannel, a as CalcEngineFactory, b as EditorView$1, c as CsvSourceMeta, X as XlsxSourceMeta, F as FormulaEditRecord } from './shell-CyUZ1rcq.js';
2
+ export { A as ApplySourceEditsOptions, B as BlockInsertionBuilder, d as BlockInsertionContext, e as BlockPlacement, f as BlockRange, g as BlockSlice, h as BlockTagVisibility, i as CodeContextSection, j as CoverImageSaveOutput, D as DashboardImageSaveOutput, k as DocumentLinkCandidate, l as DocumentLinkProvider, m as EditorActions, n as EditorColorScheme, o as EditorContextMenuContext, p as EditorContextMenuItem, q as EditorContextMenuItemVisibility, r as EditorContextMenuProvider, s as EditorContextMenuProviderProps, t as EditorContextValue, u as EditorInsertMenuItem, v as EditorMode, w as EditorProvider, x as EditorProviderProps, y as EditorSelectionInfo, z as EditorShell, G as EditorShellProps, H as EditorState, I as FormulaSessionOptions, J as ImageDisplayMode, K as IngestedSidecar, L as InsertBlockOptions, M as LayoutMode, N as MentionCandidate, O as MentionProvider, P as OutlineBlock, Q as OutlineInsertion, R as PreviewPanel, T as PreviewPanelProps, U as RawEditor, V as RawEditorProps, W as ThemeInheritance, Y as ViewPreferences, Z as WriteCanvasSettings, _ as WysiwygEditor, $ as WysiwygEditorProps, a0 as XLSX_LOCKED_REASON, a1 as XlsxFormulaSession, a2 as applySourceEditsToText, a3 as blockInsertionPoint, a4 as createXlsxFormulaSession, a5 as getBlockSlices, a6 as headingDepthForInsertion, a7 as ingestSidecarBytes, a8 as joinBlockAt, a9 as lineToOffset, aa as minimalReplaceEdit, ab as normalizeSourceEdits, ac as offsetToLine, ad as resolveOutlineInsertion, ae as sliceIndexAtOffset, af as sourceOutline, ag as spliceBlock, ah as useEditorContext, ai as useEditorContextMenuItems, aj as useEditorInsertMenuItems } from './shell-CyUZ1rcq.js';
4
3
  import * as react from 'react';
5
4
  import { ReactNode, CSSProperties, ReactElement } from 'react';
6
5
  import { Doc, ScheduledClip, VideoPlacement, VideoPipSize, VideoPipShape, VideoPipPosition, MediaEdits, MediaProvider, Theme, CustomTemplateDefinition, ThemeSeedColors, ViewportPreset, ViewportConfig, Block, MediaEntry, DiagramEdgeAnchor } from '@bendyline/squisq/schemas';
@@ -28,7 +27,7 @@ import { FenceRendererMap } from '@bendyline/squisq/fence';
28
27
  import { TableViewState } from '@bendyline/squisq/table';
29
28
  import { EditJournal } from '@bendyline/squisq-grid-react';
30
29
  export { JsonEditor, JsonEditorProps } from './json-editor/index.js';
31
- export { C as CameraStreamOptions, M as MediaDeviceInventory, R as RecordedBookmark, a as RecordedMediaKind, b as RecorderButton, c as RecorderButtonProps, d as RecorderCameraSaveResult, e as RecorderColorScheme, f as RecorderDeviceOption, g as RecorderDeviceQuickPicks, h as RecorderDeviceQuickPicksProps, i as RecorderDeviceSettingsPanel, j as RecorderDeviceSettingsPanelProps, k as RecorderModal, l as RecorderModalProps, m as RecorderNarrationOptions, n as RecorderPanel, o as RecorderPanelProps, p as RecorderSaveResult, q as RecorderSlidesOptions, S as ScreenStreamHandle, r as ScreenStreamOptions, s as SlideTimingSaveResult, T as TimingJson, t as buildTimingJson, u as encodeTimingJson, v as hasRecorderDeviceChoice, w as recordedMediaKind, x as recorderDeviceGroups, y as recorderDeviceOptions, z as requestCameraStream, A as requestMicStream, B as requestScreenStream, D as timingPathFor, E as useMediaDevices, F as useStreamPreview } from './recorder-Civyq5SU.js';
30
+ export { C as CameraStreamOptions, M as MediaDeviceInventory, R as RecordedBookmark, a as RecordedMediaKind, b as RecorderButton, c as RecorderButtonProps, d as RecorderCameraSaveResult, e as RecorderColorScheme, f as RecorderDeviceOption, g as RecorderDeviceQuickPicks, h as RecorderDeviceQuickPicksProps, i as RecorderDeviceSettingsPanel, j as RecorderDeviceSettingsPanelProps, k as RecorderModal, l as RecorderModalProps, m as RecorderNarrationOptions, n as RecorderPanel, o as RecorderPanelProps, p as RecorderSaveResult, q as RecorderSlidesOptions, S as ScreenStreamHandle, r as ScreenStreamOptions, s as SlideTimingSaveResult, T as TimingJson, t as buildTimingJson, u as encodeTimingJson, v as hasRecorderDeviceChoice, w as recordedMediaKind, x as recorderDeviceGroups, y as recorderDeviceOptions, z as requestCameraStream, A as requestMicStream, B as requestScreenStream, D as timingPathFor, E as useMediaDevices, F as useStreamPreview } from './recorder-rQGYsS6B.js';
32
31
  import { R as RecorderState } from './useNarrationStage-DlighI1z.js';
33
32
  export { C as CanvasSink, a as CaptureKind, D as DEFAULT_TELEPROMPTER_PREFS, F as FloatOpenOptions, b as FloatTier, c as FloatingWindowHandle, d as FloatingWindowManager, M as MicAnalysisHandle, e as MicAnalysisStatus, N as NarrationRecorderController, f as NarrationRecorderState, g as NarrationStageHandle, h as NarrationTake, P as PrompterTransport, i as RecorderAudioBitrateMode, j as RecorderCameraLane, k as RecorderExtendedMediaOptions, l as RecorderSource, m as ResolvedFormat, T as TeleprompterController, n as TeleprompterPrefs, o as TeleprompterRecordingDeps, U as UseMediaRecorderOptions, p as UseMediaRecorderResult, q as UseNarrationStageOptions, r as buildFilename, s as createFloatingWindowManager, t as detectFloatTiers, u as getCaptureKind, v as resolveFormat, w as supportsDisplayMedia, x as supportsMediaRecorder, y as supportsUserMedia, z as useFloatingWindow, A as useMediaRecorder, B as useMicAnalysis, E as useNarrationRecorder, G as useNarrationStage, H as useTeleprompter, I as vadConfigForSensitivity } from './useNarrationStage-DlighI1z.js';
34
33
  export { D as DEFAULT_RECORDER_DEVICE_SETTINGS, a as RecorderAudioDeviceSettings, b as RecorderCameraDeviceSettings, c as RecorderConstraintMode, R as RecorderDeviceSettings, d as RecorderEncodingSettings, e as RecorderScreenAudioSettings, f as RecorderScreenDeviceSettings, g as buildRecorderAudioConstraints, h as buildRecorderCameraConstraints, i as buildRecorderScreenAudioConstraints, j as buildRecorderScreenConstraints, r as recorderBitsPerSecond } from './deviceSettings-BSkIQncC.js';
@@ -57,7 +56,7 @@ import '@bendyline/squisq/narration';
57
56
  */
58
57
  declare function CodeContextZones({ options }: {
59
58
  options: CodeContext;
60
- }): react_jsx_runtime.JSX.Element | null;
59
+ }): react.JSX.Element | null;
61
60
 
62
61
  /**
63
62
  * One entry in a {@link FolderView} — a file or subfolder. Host-defined
@@ -104,7 +103,7 @@ interface FolderViewProps {
104
103
  * presentation and theming. It holds no state and reads nothing from
105
104
  * disk, so it composes into any storage backend.
106
105
  */
107
- declare function FolderView({ name, entries, onOpenFile, onOpenFolder, onNewDocument, onNewFolder, theme, height, iconFor, }: FolderViewProps): react_jsx_runtime.JSX.Element;
106
+ declare function FolderView({ name, entries, onOpenFile, onOpenFolder, onNewDocument, onNewFolder, theme, height, iconFor, }: FolderViewProps): react.JSX.Element;
108
107
 
109
108
  /**
110
109
  * useBlockNavigator
@@ -179,7 +178,7 @@ interface BlockCardViewProps {
179
178
  /** Optional extra class for the outer container. */
180
179
  className?: string;
181
180
  }
182
- declare function BlockCardView({ active, blockCount, activeBlockKey, onPrev, onNext, onAdd, children, className, }: BlockCardViewProps): react_jsx_runtime.JSX.Element;
181
+ declare function BlockCardView({ active, blockCount, activeBlockKey, onPrev, onNext, onAdd, children, className, }: BlockCardViewProps): react.JSX.Element;
183
182
 
184
183
  /**
185
184
  * useTimelineClock
@@ -229,7 +228,7 @@ interface TimelineTrackProps {
229
228
  */
230
229
  videoVisible?: boolean;
231
230
  }
232
- declare function TimelineTrack({ height, basePath, doc: docProp, clock, schedule, }: TimelineTrackProps): react_jsx_runtime.JSX.Element | null;
231
+ declare function TimelineTrack({ height, basePath, doc: docProp, clock, schedule, }: TimelineTrackProps): react.JSX.Element | null;
233
232
 
234
233
  interface TimelineVideoPanelProps {
235
234
  schedule: ScheduledClip[];
@@ -238,7 +237,7 @@ interface TimelineVideoPanelProps {
238
237
  basePath?: string;
239
238
  onClose?: () => void;
240
239
  }
241
- declare function TimelineVideoPanel({ schedule, currentTime, isPlaying, basePath, onClose, }: TimelineVideoPanelProps): react_jsx_runtime.JSX.Element;
240
+ declare function TimelineVideoPanel({ schedule, currentTime, isPlaying, basePath, onClose, }: TimelineVideoPanelProps): react.JSX.Element;
242
241
 
243
242
  interface TimelineCompositionPanelProps {
244
243
  doc: Doc | null;
@@ -247,7 +246,7 @@ interface TimelineCompositionPanelProps {
247
246
  workspaceContainer?: ContentContainer | null;
248
247
  onClose?: () => void;
249
248
  }
250
- declare function TimelineCompositionPanel({ doc, clock, basePath, workspaceContainer, onClose, }: TimelineCompositionPanelProps): react_jsx_runtime.JSX.Element;
249
+ declare function TimelineCompositionPanel({ doc, clock, basePath, workspaceContainer, onClose, }: TimelineCompositionPanelProps): react.JSX.Element;
251
250
 
252
251
  /** Horizontal controls for Timeline-only companion panes. */
253
252
  interface TimelineToolbarProps {
@@ -258,7 +257,7 @@ interface TimelineToolbarProps {
258
257
  onToggleLiteralVideo: () => void;
259
258
  onToggleComposition: () => void;
260
259
  }
261
- declare function TimelineToolbar({ literalVideoVisible, compositionVisible, videoAvailable, compositionAvailable, onToggleLiteralVideo, onToggleComposition, }: TimelineToolbarProps): react_jsx_runtime.JSX.Element;
260
+ declare function TimelineToolbar({ literalVideoVisible, compositionVisible, videoAvailable, compositionAvailable, onToggleLiteralVideo, onToggleComposition, }: TimelineToolbarProps): react.JSX.Element;
262
261
 
263
262
  /**
264
263
  * headingTransition
@@ -453,7 +452,7 @@ interface PlainHtmlPreviewProps {
453
452
  /** Optional host clipboard adapter; otherwise the browser Clipboard API is used. */
454
453
  onCopyCode?: CodeBlockCopyHandler;
455
454
  }
456
- declare function PlainHtmlPreview({ markdown, title, images, mediaProvider, mediaRevision, theme, className, style, globalKeyboardShortcuts, onFrameChange, onLinkClick, showCodeCopyButton, onCopyCode, }: PlainHtmlPreviewProps): react_jsx_runtime.JSX.Element;
455
+ declare function PlainHtmlPreview({ markdown, title, images, mediaProvider, mediaRevision, theme, className, style, globalKeyboardShortcuts, onFrameChange, onLinkClick, showCodeCopyButton, onCopyCode, }: PlainHtmlPreviewProps): react.JSX.Element;
457
456
 
458
457
  /**
459
458
  * Emoji Dataset
@@ -541,7 +540,7 @@ interface EmojiPickerProps {
541
540
  */
542
541
  theme?: 'light' | 'dark';
543
542
  }
544
- declare function EmojiPicker({ open, onSelect, onClose, anchorRef, className, style, theme, }: EmojiPickerProps): react_jsx_runtime.JSX.Element | null;
543
+ declare function EmojiPicker({ open, onSelect, onClose, anchorRef, className, style, theme, }: EmojiPickerProps): react.JSX.Element | null;
545
544
 
546
545
  /**
547
546
  * DocumentSettingsDialog
@@ -577,7 +576,7 @@ interface DocumentSettingsDialogProps {
577
576
  /** Label for the Theme picker's default entry. Defaults to `'Default'`. */
578
577
  defaultThemeLabel?: string;
579
578
  }
580
- declare function DocumentSettingsDialog({ markdownSource, onSave, onClose, defaultThemeId, defaultThemeLabel, }: DocumentSettingsDialogProps): react_jsx_runtime.JSX.Element;
579
+ declare function DocumentSettingsDialog({ markdownSource, onSave, onClose, defaultThemeId, defaultThemeLabel, }: DocumentSettingsDialogProps): react.JSX.Element;
581
580
 
582
581
  interface ThemePickerProps {
583
582
  /** Currently selected theme id. Empty string represents "default". */
@@ -622,7 +621,7 @@ interface ThemePickerProps {
622
621
  /** Per-custom-card delete affordance. */
623
622
  onDeleteCustom?: (id: string) => void;
624
623
  }
625
- declare function ThemePicker({ value, onChange, includeDefault, defaultThemeId, defaultLabel, variant, ariaLabel, customThemes, onCreateCustom, onEditCustom, onDeleteCustom, }: ThemePickerProps): react_jsx_runtime.JSX.Element;
624
+ declare function ThemePicker({ value, onChange, includeDefault, defaultThemeId, defaultLabel, variant, ariaLabel, customThemes, onCreateCustom, onEditCustom, onDeleteCustom, }: ThemePickerProps): react.JSX.Element;
626
625
 
627
626
  interface CustomThemeContextValue {
628
627
  /** Themes inlined into the current doc's frontmatter. */
@@ -666,7 +665,7 @@ interface CustomThemeProviderProps {
666
665
  onDocThemesChange: (next: Theme[]) => void;
667
666
  children: ReactNode;
668
667
  }
669
- declare function CustomThemeProvider({ docThemes, onDocThemesChange, children, }: CustomThemeProviderProps): react_jsx_runtime.JSX.Element;
668
+ declare function CustomThemeProvider({ docThemes, onDocThemesChange, children, }: CustomThemeProviderProps): react.JSX.Element;
670
669
  /**
671
670
  * Hook returning the current context. Returns null when no provider is
672
671
  * mounted — callers can degrade to "no custom themes" rather than throwing,
@@ -790,7 +789,18 @@ interface ImportThemeSectionProps {
790
789
  /** Also derive PPTX slide layouts as custom templates. Default false. */
791
790
  allowLayouts?: boolean;
792
791
  }
793
- declare function ImportThemeSection({ onImported, allowLayouts }: ImportThemeSectionProps): react_jsx_runtime.JSX.Element;
792
+ declare function ImportThemeSection({ onImported, allowLayouts }: ImportThemeSectionProps): react.JSX.Element;
793
+
794
+ /**
795
+ * Dropdown trigger rendered directly beside the Use tab. Selecting a mode
796
+ * also enters the Use view, so the menu works from Write and Source as well
797
+ * as from an already-active preview.
798
+ */
799
+ interface PreviewModeMenuProps {
800
+ /** Incremented by the parent to open the menu from another control. */
801
+ openRequest?: number;
802
+ }
803
+ declare function PreviewModeMenu({ openRequest }: PreviewModeMenuProps): react.JSX.Element;
794
804
 
795
805
  /** Caption selection: off, or one of the two enabled styles. */
796
806
  type CaptionMode = 'off' | CaptionStyle;
@@ -936,7 +946,7 @@ interface PreviewSettingsProviderProps {
936
946
  */
937
947
  defaultThemeLabel?: string;
938
948
  }
939
- declare function PreviewSettingsProvider({ doc, children, defaultViewportPreset, themeOverride, defaultThemeId, defaultThemeLabel, }: PreviewSettingsProviderProps): react_jsx_runtime.JSX.Element;
949
+ declare function PreviewSettingsProvider({ doc, children, defaultViewportPreset, themeOverride, defaultThemeId, defaultThemeLabel, }: PreviewSettingsProviderProps): react.JSX.Element;
940
950
  interface PreviewToolbarControlsProps {
941
951
  /**
942
952
  * Display mode whose applicable control set should be rendered. Defaults to
@@ -944,30 +954,22 @@ interface PreviewToolbarControlsProps {
944
954
  * setting still writes through the shared preview-settings context.
945
955
  */
946
956
  displayMode?: DisplayMode;
957
+ /** Optional designer for the current document's slide summarization. */
958
+ summarizationDesigner?: (onClose: () => void) => ReactNode;
947
959
  }
948
- declare function PreviewToolbarControls({ displayMode }?: PreviewToolbarControlsProps): react_jsx_runtime.JSX.Element;
960
+ declare function PreviewToolbarControls({ displayMode, summarizationDesigner, }?: PreviewToolbarControlsProps): react.JSX.Element;
949
961
  /**
950
962
  * Segmented display-mode switch retained as a public, embeddable control.
951
963
  * The editor shell uses {@link PreviewModeMenu} beside its Use tab instead.
952
964
  * Narrate is hidden when the host disables `allowNarrate`.
953
965
  */
954
- declare function PreviewModeSwitch(): react_jsx_runtime.JSX.Element;
955
- /**
956
- * Dropdown trigger rendered directly beside the Use tab. Selecting a mode
957
- * also enters the Use view, so the menu works from Write and Source as well
958
- * as from an already-active preview.
959
- */
960
- interface PreviewModeMenuProps {
961
- /** Incremented by the parent to open the menu from another control. */
962
- openRequest?: number;
963
- }
964
- declare function PreviewModeMenu({ openRequest }: PreviewModeMenuProps): react_jsx_runtime.JSX.Element;
966
+ declare function PreviewModeSwitch(): react.JSX.Element;
965
967
  /**
966
968
  * Segmented aspect-ratio switch (16:9 / 1:1 / 9:16 / 4:3), used inline in the
967
969
  * Use toolbar and inside its overflow popover. Reads and writes the same
968
970
  * `activePreset` in preview settings.
969
971
  */
970
- declare function PreviewFormatSwitch(): react_jsx_runtime.JSX.Element;
972
+ declare function PreviewFormatSwitch(): react.JSX.Element;
971
973
 
972
974
  /**
973
975
  * ViewSwitcher
@@ -981,7 +983,7 @@ interface ViewSwitcherProps {
981
983
  /**
982
984
  * Tab-style view switcher for the three editor modes.
983
985
  */
984
- declare function ViewSwitcher({ className }: ViewSwitcherProps): react_jsx_runtime.JSX.Element | null;
986
+ declare function ViewSwitcher({ className }: ViewSwitcherProps): react.JSX.Element | null;
985
987
 
986
988
  interface ToolbarProps {
987
989
  /** Additional class name */
@@ -1031,7 +1033,7 @@ interface ToolbarProps {
1031
1033
  * - WYSIWYG: calls Tiptap chain commands (toggleBold, etc.)
1032
1034
  * - Raw: appends markdown syntax to the source
1033
1035
  */
1034
- declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotLeft, slotAfterTabs, slotAfterActions, slotRight, showPlayTab, showFormattingControls, showInsertControls, hostMode, }: ToolbarProps): react_jsx_runtime.JSX.Element;
1036
+ declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotLeft, slotAfterTabs, slotAfterActions, slotRight, showPlayTab, showFormattingControls, showInsertControls, hostMode, }: ToolbarProps): react.JSX.Element;
1035
1037
 
1036
1038
  /**
1037
1039
  * VersionHistoryPanel
@@ -1045,7 +1047,7 @@ declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotL
1045
1047
  * is read from the EditorContext — render this component anywhere inside
1046
1048
  * a provider that has `allowVersioning` and a `container`.
1047
1049
  */
1048
- declare function VersionHistoryPanel(): react_jsx_runtime.JSX.Element | null;
1050
+ declare function VersionHistoryPanel(): react.JSX.Element | null;
1049
1051
 
1050
1052
  /**
1051
1053
  * ViewMenuPanel
@@ -1058,7 +1060,7 @@ declare function VersionHistoryPanel(): react_jsx_runtime.JSX.Element | null;
1058
1060
  * the host doesn't need to manage it. The initial value comes from the
1059
1061
  * EditorShell `inlinePreview` prop.
1060
1062
  */
1061
- declare function ViewMenuPanel(): react_jsx_runtime.JSX.Element;
1063
+ declare function ViewMenuPanel(): react.JSX.Element;
1062
1064
 
1063
1065
  /**
1064
1066
  * TransformMenu
@@ -1075,7 +1077,7 @@ declare function ViewMenuPanel(): react_jsx_runtime.JSX.Element;
1075
1077
  * `setContent` lands as one Tiptap history entry.
1076
1078
  * - Use view has no editing surface (no undo), so rows are disabled there.
1077
1079
  */
1078
- declare function TransformMenu(): react_jsx_runtime.JSX.Element | null;
1080
+ declare function TransformMenu(): react.JSX.Element | null;
1079
1081
 
1080
1082
  /**
1081
1083
  * Write-view wrap policy — "unwrap in Write view, persist with wrapping".
@@ -1129,7 +1131,7 @@ interface OutlinePanelProps {
1129
1131
  /** Disable heading-level changes and section reordering. */
1130
1132
  readOnly?: boolean;
1131
1133
  }
1132
- declare function OutlinePanel({ width, className, readOnly }: OutlinePanelProps): react_jsx_runtime.JSX.Element;
1134
+ declare function OutlinePanel({ width, className, readOnly }: OutlinePanelProps): react.JSX.Element;
1133
1135
 
1134
1136
  interface ThemeCustomizerPanelProps {
1135
1137
  /** Current custom theme (or null to start from defaults). */
@@ -1143,7 +1145,7 @@ interface ThemeCustomizerPanelProps {
1143
1145
  /** Optional text trigger. Omit to use the compact icon trigger. */
1144
1146
  triggerLabel?: string;
1145
1147
  }
1146
- declare function ThemeCustomizerPanel({ value, onChange, onSave, onReset, triggerLabel, }: ThemeCustomizerPanelProps): react_jsx_runtime.JSX.Element;
1148
+ declare function ThemeCustomizerPanel({ value, onChange, onSave, onReset, triggerLabel, }: ThemeCustomizerPanelProps): react.JSX.Element;
1147
1149
 
1148
1150
  interface TemplatePreviewSource {
1149
1151
  block: Block;
@@ -1189,7 +1191,7 @@ interface TemplatePickerProps {
1189
1191
  */
1190
1192
  previewSource?: TemplatePreviewSource;
1191
1193
  }
1192
- declare function TemplatePicker({ value, onChange, colorScheme, compact, recommended, onOpenDesigner, previewSource, }: TemplatePickerProps): react_jsx_runtime.JSX.Element;
1194
+ declare function TemplatePicker({ value, onChange, colorScheme, compact, recommended, onOpenDesigner, previewSource, }: TemplatePickerProps): react.JSX.Element;
1193
1195
 
1194
1196
  interface TransitionPickerProps {
1195
1197
  value: TransitionFields;
@@ -1199,7 +1201,7 @@ interface TransitionPickerProps {
1199
1201
  /** Active document-theme accent used for open and selected states. */
1200
1202
  accentColor?: string;
1201
1203
  }
1202
- declare function TransitionPicker({ value, onChange, colorScheme, accentColor, }: TransitionPickerProps): react_jsx_runtime.JSX.Element;
1204
+ declare function TransitionPicker({ value, onChange, colorScheme, accentColor, }: TransitionPickerProps): react.JSX.Element;
1203
1205
 
1204
1206
  /**
1205
1207
  * transitionCatalog
@@ -1342,7 +1344,7 @@ interface InlinePreviewGutterProps {
1342
1344
  */
1343
1345
  mediaProvider?: MediaProvider | null;
1344
1346
  }
1345
- declare function InlinePreviewGutter({ width, basePath, viewport, className, connectorWidth, mediaProvider, }: InlinePreviewGutterProps): react_jsx_runtime.JSX.Element | null;
1347
+ declare function InlinePreviewGutter({ width, basePath, viewport, className, connectorWidth, mediaProvider, }: InlinePreviewGutterProps): react.JSX.Element | null;
1346
1348
 
1347
1349
  interface MediaBinProps {
1348
1350
  /** The active MediaProvider (null when no media context is available) */
@@ -1390,7 +1392,7 @@ interface MediaBinProps {
1390
1392
  */
1391
1393
  highlightPath?: string | null;
1392
1394
  }
1393
- declare function MediaBin({ mediaProvider, isDark, refreshKey, usedMediaPaths, onMediaUploaded, onMediaRemoved, onCountChange, onRecord, isRecorderOpen, allowBinaryDownloads, highlightPath, }: MediaBinProps): react_jsx_runtime.JSX.Element;
1395
+ declare function MediaBin({ mediaProvider, isDark, refreshKey, usedMediaPaths, onMediaUploaded, onMediaRemoved, onCountChange, onRecord, isRecorderOpen, allowBinaryDownloads, highlightPath, }: MediaBinProps): react.JSX.Element;
1394
1396
 
1395
1397
  interface StatusBarProps {
1396
1398
  /** Additional class name */
@@ -1398,7 +1400,7 @@ interface StatusBarProps {
1398
1400
  /** Host-supplied status content rendered at the right edge. */
1399
1401
  slotRight?: ReactNode;
1400
1402
  }
1401
- declare function StatusBar({ className, slotRight }: StatusBarProps): react_jsx_runtime.JSX.Element;
1403
+ declare function StatusBar({ className, slotRight }: StatusBarProps): react.JSX.Element;
1402
1404
 
1403
1405
  /**
1404
1406
  * TooltipLayer
@@ -1463,7 +1465,7 @@ interface DropZoneOverlayProps {
1463
1465
  * Full-size overlay with contextual drop targets for file uploads.
1464
1466
  * Rendered conditionally by EditorShell when files are dragged over the editor.
1465
1467
  */
1466
- declare function DropZoneOverlay({ dragContentType, zoneProps, hasMediaProvider, }: DropZoneOverlayProps): react_jsx_runtime.JSX.Element;
1468
+ declare function DropZoneOverlay({ dragContentType, zoneProps, hasMediaProvider, }: DropZoneOverlayProps): react.JSX.Element;
1467
1469
 
1468
1470
  /**
1469
1471
  * Drop Utilities
@@ -1586,7 +1588,7 @@ interface CustomTemplateProviderProps {
1586
1588
  onDocTemplatesChange: (next: CustomTemplateDefinition[]) => void;
1587
1589
  children: ReactNode;
1588
1590
  }
1589
- declare function CustomTemplateProvider({ docTemplates, onDocTemplatesChange, children, }: CustomTemplateProviderProps): react_jsx_runtime.JSX.Element;
1591
+ declare function CustomTemplateProvider({ docTemplates, onDocTemplatesChange, children, }: CustomTemplateProviderProps): react.JSX.Element;
1590
1592
  /**
1591
1593
  * Hook returning the current context. Returns null when no provider is
1592
1594
  * mounted — callers can degrade to "no custom templates" rather than
@@ -1794,7 +1796,7 @@ interface DiagramCanvasProps {
1794
1796
  /** Per-editor toolbar bridge for detached scene roots. */
1795
1797
  textChannel?: SceneTextChannel;
1796
1798
  }
1797
- declare function DiagramCanvas({ nodes: incomingNodes, edges: incomingEdges, onCommand, showMaximize, maximized, onToggleMaximize, activeToolId: controlledToolId, onActiveToolIdChange, onSelectionChange, textChannel, }: DiagramCanvasProps): react_jsx_runtime.JSX.Element;
1799
+ declare function DiagramCanvas({ nodes: incomingNodes, edges: incomingEdges, onCommand, showMaximize, maximized, onToggleMaximize, activeToolId: controlledToolId, onActiveToolIdChange, onSelectionChange, textChannel, }: DiagramCanvasProps): react.JSX.Element;
1798
1800
 
1799
1801
  /**
1800
1802
  * Shared position-registry remapping for the fence-widget families (ascii
@@ -1895,7 +1897,7 @@ interface AsciiDiagramWidgetProps {
1895
1897
  host?: HTMLElement | null;
1896
1898
  textChannel?: SceneTextChannel;
1897
1899
  }
1898
- declare function AsciiDiagramWidget({ editor, blockId, host, textChannel, }: AsciiDiagramWidgetProps): react_jsx_runtime.JSX.Element | null;
1900
+ declare function AsciiDiagramWidget({ editor, blockId, host, textChannel, }: AsciiDiagramWidgetProps): react.JSX.Element | null;
1899
1901
 
1900
1902
  /**
1901
1903
  * Read direction of the ASCII diagram loop: fence text → canvas data.
@@ -2121,7 +2123,7 @@ interface MermaidDiagramWidgetProps {
2121
2123
  host?: HTMLElement | null;
2122
2124
  themeStore?: MermaidThemeStore;
2123
2125
  }
2124
- declare function MermaidDiagramWidget({ editor, blockId, host, themeStore, }: MermaidDiagramWidgetProps): react_jsx_runtime.JSX.Element | null;
2126
+ declare function MermaidDiagramWidget({ editor, blockId, host, themeStore, }: MermaidDiagramWidgetProps): react.JSX.Element | null;
2125
2127
 
2126
2128
  /** Mermaid 11.16 flowchart shape catalog used by the structured editor. */
2127
2129
  interface MermaidFlowchartShape {
@@ -2505,7 +2507,7 @@ interface MermaidDiagramCanvasProps {
2505
2507
  onDisconnectEdge?: (id: string) => void;
2506
2508
  onDeleteText?: (id: string) => void;
2507
2509
  }
2508
- declare function MermaidDiagramCanvas({ source, theme, maximized, onToggleMaximize, selection, renaming, selectedNodeId: legacySelectedNodeId, selectedEdgeId: legacySelectedEdgeId, selectedTextId: legacySelectedTextId, renamingNodeId: legacyRenamingNodeId, renamingEdgeId: legacyRenamingEdgeId, renamingTextId: legacyRenamingTextId, connectSourceId, connecting, onModelChange, onSelect, onSelectNode, onSelectEdge, onSelectText, onNodeAction, onEditEdgeLabel, onEditText, onCommitRename, onCommitEdgeLabel, onCommitText, onCancelRename, onCancelEdgeLabel, onCancelText, onDisconnectEdge, onDeleteText, }: MermaidDiagramCanvasProps): react_jsx_runtime.JSX.Element;
2510
+ declare function MermaidDiagramCanvas({ source, theme, maximized, onToggleMaximize, selection, renaming, selectedNodeId: legacySelectedNodeId, selectedEdgeId: legacySelectedEdgeId, selectedTextId: legacySelectedTextId, renamingNodeId: legacyRenamingNodeId, renamingEdgeId: legacyRenamingEdgeId, renamingTextId: legacyRenamingTextId, connectSourceId, connecting, onModelChange, onSelect, onSelectNode, onSelectEdge, onSelectText, onNodeAction, onEditEdgeLabel, onEditText, onCommitRename, onCommitEdgeLabel, onCommitText, onCancelRename, onCancelEdgeLabel, onCancelText, onDisconnectEdge, onDeleteText, }: MermaidDiagramCanvasProps): react.JSX.Element;
2509
2511
 
2510
2512
  /** Live source view for one registered Mermaid code fence. */
2511
2513
 
@@ -2577,7 +2579,7 @@ interface MermaidShapePaletteProps {
2577
2579
  onPick: (shape: MermaidFlowchartShapeId) => void;
2578
2580
  onClose: () => void;
2579
2581
  }
2580
- declare function MermaidShapePalette({ selected, onPick, onClose }: MermaidShapePaletteProps): react_jsx_runtime.JSX.Element;
2582
+ declare function MermaidShapePalette({ selected, onPick, onClose }: MermaidShapePaletteProps): react.JSX.Element;
2581
2583
 
2582
2584
  /** Curated starter gallery for the diagram grammars supported by Mermaid 11.16. */
2583
2585
  type MermaidDiagramCategory = 'Structure' | 'Planning' | 'Data';
@@ -2599,7 +2601,7 @@ declare function mermaidDiagramMarkdown(source: string): string;
2599
2601
  /** Small authored SVG cues; these avoid spinning up Mermaid for every gallery tile. */
2600
2602
  declare function MermaidDiagramTypeThumbnail({ preview }: {
2601
2603
  preview: MermaidDiagramPreview;
2602
- }): react_jsx_runtime.JSX.Element;
2604
+ }): react.JSX.Element;
2603
2605
 
2604
2606
  /**
2605
2607
  * Tiptap extension for ordinary explicit-language code fences.
@@ -2661,7 +2663,7 @@ interface CodeSnippetWidgetProps {
2661
2663
  */
2662
2664
  onCopyCode?: () => CodeBlockCopyHandler | undefined;
2663
2665
  }
2664
- declare function CodeSnippetWidget({ editor, blockId, host, focusOnMount, onCopyCode, }: CodeSnippetWidgetProps): react_jsx_runtime.JSX.Element | null;
2666
+ declare function CodeSnippetWidget({ editor, blockId, host, focusOnMount, onCopyCode, }: CodeSnippetWidgetProps): react.JSX.Element | null;
2665
2667
 
2666
2668
  /** Lossless edits for language-tagged code fences. */
2667
2669
 
@@ -2733,7 +2735,7 @@ interface TreeOutlineWidgetProps {
2733
2735
  fallbackPos: number;
2734
2736
  host?: HTMLElement | null;
2735
2737
  }
2736
- declare function TreeOutlineWidget({ editor, blockId }: TreeOutlineWidgetProps): react_jsx_runtime.JSX.Element | null;
2738
+ declare function TreeOutlineWidget({ editor, blockId }: TreeOutlineWidgetProps): react.JSX.Element | null;
2737
2739
 
2738
2740
  /**
2739
2741
  * Read direction of the tree loop: fence text → outline view.
@@ -3123,7 +3125,7 @@ interface VideoEmbedDialogProps {
3123
3125
  /** Dismiss without changes. */
3124
3126
  onClose: () => void;
3125
3127
  }
3126
- declare function VideoEmbedDialog({ mode, initialInput, initialTitle, onConfirm, onClose, }: VideoEmbedDialogProps): react_jsx_runtime.JSX.Element;
3128
+ declare function VideoEmbedDialog({ mode, initialInput, initialTitle, onConfirm, onClose, }: VideoEmbedDialogProps): react.JSX.Element;
3127
3129
 
3128
3130
  /**
3129
3131
  * Putting a stored file into the document, in whichever view is active.
@@ -3312,7 +3314,7 @@ interface TimelineEditorWidgetProps {
3312
3314
  editor: Editor;
3313
3315
  blockId: string;
3314
3316
  }
3315
- declare function TimelineEditorWidget({ editor, blockId }: TimelineEditorWidgetProps): react_jsx_runtime.JSX.Element | null;
3317
+ declare function TimelineEditorWidget({ editor, blockId }: TimelineEditorWidgetProps): react.JSX.Element | null;
3316
3318
 
3317
3319
  /** Live read-direction adapter from a registered timeline fence to React. */
3318
3320
 
@@ -3501,7 +3503,7 @@ interface RecorderSlidesPanelProps {
3501
3503
  /** Block ids already first-shown this take; drives the progress dots. */
3502
3504
  shownBlockIds?: ReadonlySet<string>;
3503
3505
  }
3504
- declare function RecorderSlidesPanel({ slides, index, onIndexChange, viewport, basePath, mediaProvider, recording, shownBlockIds, }: RecorderSlidesPanelProps): react_jsx_runtime.JSX.Element;
3506
+ declare function RecorderSlidesPanel({ slides, index, onIndexChange, viewport, basePath, mediaProvider, recording, shownBlockIds, }: RecorderSlidesPanelProps): react.JSX.Element;
3505
3507
 
3506
3508
  /**
3507
3509
  * Pure decision helpers for the Record media dialog's slides mode — the peer
package/dist/index.js CHANGED
@@ -232,7 +232,7 @@ import {
232
232
  videoEmbedParagraphJson,
233
233
  viewStateFromBinding,
234
234
  writeHeadingViewState
235
- } from "./chunk-NL4JP55H.js";
235
+ } from "./chunk-SFSSWQR3.js";
236
236
  import {
237
237
  EditorProvider,
238
238
  applySourceEditsToText,
@@ -253,7 +253,7 @@ import {
253
253
  useBlockNavigator,
254
254
  useEditorContext,
255
255
  useEditorInsertMenuItems
256
- } from "./chunk-JI74KA6C.js";
256
+ } from "./chunk-UCYZBMCG.js";
257
257
  import {
258
258
  SPEECH_INPUT_SAMPLE_RATE,
259
259
  isSpeechInputProviderFactory,
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { SquisqAnnotatedSchema, JsonFormValidator, JsonFormValidationError } from '@bendyline/squisq/jsonForm';
3
3
  import { Theme, SurfaceScheme } from '@bendyline/squisq/schemas';
4
4
 
@@ -22,6 +22,6 @@ interface JsonEditorProps {
22
22
  /** Optional CSS class for the outer container. */
23
23
  className?: string;
24
24
  }
25
- declare function JsonEditor(props: JsonEditorProps): react_jsx_runtime.JSX.Element;
25
+ declare function JsonEditor(props: JsonEditorProps): react.JSX.Element;
26
26
 
27
27
  export { JsonEditor, type JsonEditorProps };
@@ -1,9 +1,8 @@
1
- export { C as CameraStreamOptions, M as MediaDeviceInventory, R as RecordedBookmark, a as RecordedMediaKind, b as RecorderButton, c as RecorderButtonProps, d as RecorderCameraSaveResult, e as RecorderColorScheme, f as RecorderDeviceOption, g as RecorderDeviceQuickPicks, h as RecorderDeviceQuickPicksProps, i as RecorderDeviceSettingsPanel, j as RecorderDeviceSettingsPanelProps, k as RecorderModal, l as RecorderModalProps, n as RecorderPanel, o as RecorderPanelProps, p as RecorderSaveResult, S as ScreenStreamHandle, r as ScreenStreamOptions, T as TimingJson, t as buildTimingJson, u as encodeTimingJson, v as hasRecorderDeviceChoice, w as recordedMediaKind, x as recorderDeviceGroups, y as recorderDeviceOptions, z as requestCameraStream, A as requestMicStream, B as requestScreenStream, D as timingPathFor, E as useMediaDevices, F as useStreamPreview } from '../recorder-Civyq5SU.js';
1
+ export { C as CameraStreamOptions, M as MediaDeviceInventory, R as RecordedBookmark, a as RecordedMediaKind, b as RecorderButton, c as RecorderButtonProps, d as RecorderCameraSaveResult, e as RecorderColorScheme, f as RecorderDeviceOption, g as RecorderDeviceQuickPicks, h as RecorderDeviceQuickPicksProps, i as RecorderDeviceSettingsPanel, j as RecorderDeviceSettingsPanelProps, k as RecorderModal, l as RecorderModalProps, n as RecorderPanel, o as RecorderPanelProps, p as RecorderSaveResult, S as ScreenStreamHandle, r as ScreenStreamOptions, T as TimingJson, t as buildTimingJson, u as encodeTimingJson, v as hasRecorderDeviceChoice, w as recordedMediaKind, x as recorderDeviceGroups, y as recorderDeviceOptions, z as requestCameraStream, A as requestMicStream, B as requestScreenStream, D as timingPathFor, E as useMediaDevices, F as useStreamPreview } from '../recorder-rQGYsS6B.js';
2
2
  export { D as DEFAULT_RECORDER_DEVICE_SETTINGS, a as RecorderAudioDeviceSettings, b as RecorderCameraDeviceSettings, c as RecorderConstraintMode, R as RecorderDeviceSettings, d as RecorderEncodingSettings, e as RecorderScreenAudioSettings, f as RecorderScreenDeviceSettings, g as buildRecorderAudioConstraints, h as buildRecorderCameraConstraints, i as buildRecorderScreenAudioConstraints, j as buildRecorderScreenConstraints, r as recorderBitsPerSecond } from '../deviceSettings-BSkIQncC.js';
3
3
  export { a as CaptureKind, i as RecorderAudioBitrateMode, j as RecorderCameraLane, k as RecorderExtendedMediaOptions, l as RecorderSource, R as RecorderState, m as ResolvedFormat, U as UseMediaRecorderOptions, p as UseMediaRecorderResult, r as buildFilename, u as getCaptureKind, v as resolveFormat, w as supportsDisplayMedia, x as supportsMediaRecorder, y as supportsUserMedia, A as useMediaRecorder } from '../useNarrationStage-DlighI1z.js';
4
- import 'react/jsx-runtime';
4
+ import 'react';
5
5
  import '@bendyline/squisq/schemas';
6
6
  import '@bendyline/squisq/storage';
7
- import 'react';
8
7
  import '../screenRegion-Ci_RsCzG.js';
9
8
  import '@bendyline/squisq/narration';
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
+ import { CSSProperties, RefObject } from 'react';
2
3
  import { Doc, Theme, ViewportConfig, MediaProvider } from '@bendyline/squisq/schemas';
3
4
  import { ContentContainer } from '@bendyline/squisq/storage';
4
5
  import { l as RecorderSource, o as TeleprompterRecordingDeps } from './useNarrationStage-DlighI1z.js';
5
- import { CSSProperties, RefObject } from 'react';
6
6
  import { R as RecorderDeviceSettings } from './deviceSettings-BSkIQncC.js';
7
7
  import { S as ScreenCaptureRegion } from './screenRegion-Ci_RsCzG.js';
8
8
 
@@ -166,7 +166,7 @@ interface SlideTimingSaveResult {
166
166
  /** Take length the block ranges were normalized against. */
167
167
  durationSec: number;
168
168
  }
169
- declare function RecorderModal({ mediaProvider, container, initialMode, colorScheme, onClose, onSave, narration, slides, title, maxRecordingBytes, }: RecorderModalProps): react_jsx_runtime.JSX.Element;
169
+ declare function RecorderModal({ mediaProvider, container, initialMode, colorScheme, onClose, onSave, narration, slides, title, maxRecordingBytes, }: RecorderModalProps): react.JSX.Element;
170
170
 
171
171
  interface RecorderButtonProps {
172
172
  /** Where to write the resulting recording. Required. */
@@ -190,7 +190,7 @@ interface RecorderButtonProps {
190
190
  /** Whether the button is disabled. */
191
191
  disabled?: boolean;
192
192
  }
193
- declare function RecorderButton({ mediaProvider, container, initialMode, colorScheme, onSave, narration, slides, label, style, disabled, }: RecorderButtonProps): react_jsx_runtime.JSX.Element;
193
+ declare function RecorderButton({ mediaProvider, container, initialMode, colorScheme, onSave, narration, slides, label, style, disabled, }: RecorderButtonProps): react.JSX.Element;
194
194
 
195
195
  interface RecorderPanelProps {
196
196
  mediaProvider: MediaProvider;
@@ -216,7 +216,7 @@ interface RecorderPanelProps {
216
216
  /** Render the built-in trigger button. Defaults to true. */
217
217
  showTrigger?: boolean;
218
218
  }
219
- declare function RecorderPanel({ mediaProvider, container, initialMode, colorScheme, onSave, narration, slides, tooltip, title, className, open: controlledOpen, onOpenChange, showTrigger, }: RecorderPanelProps): react_jsx_runtime.JSX.Element;
219
+ declare function RecorderPanel({ mediaProvider, container, initialMode, colorScheme, onSave, narration, slides, tooltip, title, className, open: controlledOpen, onOpenChange, showTrigger, }: RecorderPanelProps): react.JSX.Element;
220
220
 
221
221
  interface RecorderDeviceSettingsPanelProps {
222
222
  value: RecorderDeviceSettings;
@@ -231,7 +231,7 @@ interface RecorderDeviceSettingsPanelProps {
231
231
  primaryStream?: MediaStream | null;
232
232
  cameraStream?: MediaStream | null;
233
233
  }
234
- declare function RecorderDeviceSettingsPanel({ value, onChange, disabled, microphoneEnabled, cameraEnabled, screenEnabled, systemAudioEnabled, separateAudioRecorder, primaryStream, cameraStream, }: RecorderDeviceSettingsPanelProps): react_jsx_runtime.JSX.Element;
234
+ declare function RecorderDeviceSettingsPanel({ value, onChange, disabled, microphoneEnabled, cameraEnabled, screenEnabled, systemAudioEnabled, separateAudioRecorder, primaryStream, cameraStream, }: RecorderDeviceSettingsPanelProps): react.JSX.Element;
235
235
 
236
236
  /**
237
237
  * Microphone / camera pickers promoted out of "Advanced device settings".
@@ -259,7 +259,7 @@ interface RecorderDeviceQuickPicksProps {
259
259
  onCameraDeviceChange: (deviceId: string) => void;
260
260
  disabled?: boolean;
261
261
  }
262
- declare function RecorderDeviceQuickPicks({ devices, microphoneEnabled, cameraEnabled, audioDeviceId, cameraDeviceId, onAudioDeviceChange, onCameraDeviceChange, disabled, }: RecorderDeviceQuickPicksProps): react_jsx_runtime.JSX.Element | null;
262
+ declare function RecorderDeviceQuickPicks({ devices, microphoneEnabled, cameraEnabled, audioDeviceId, cameraDeviceId, onAudioDeviceChange, onCameraDeviceChange, disabled, }: RecorderDeviceQuickPicksProps): react.JSX.Element | null;
263
263
 
264
264
  /**
265
265
  * Turning an `enumerateDevices()` result into the option list a recorder
@@ -19,7 +19,7 @@ import {
19
19
  updateReviewDecorations,
20
20
  useReview,
21
21
  useReviewState
22
- } from "../chunk-JI74KA6C.js";
22
+ } from "../chunk-UCYZBMCG.js";
23
23
  import "../chunk-DNEVUOBZ.js";
24
24
  import "../chunk-HSWWEWT4.js";
25
25
 
@@ -1,10 +1,9 @@
1
- export { h as BlockTagVisibility, k as DocumentLinkCandidate, l as DocumentLinkProvider, m as EditorActions, n as EditorColorScheme, o as EditorContextMenuContext, p as EditorContextMenuItem, q as EditorContextMenuItemVisibility, r as EditorContextMenuProvider, s as EditorContextMenuProviderProps, t as EditorContextValue, E as EditorHostMode, u as EditorInsertMenuItem, v as EditorMode, w as EditorProvider, x as EditorProviderProps, z as EditorShell, G as EditorShellProps, H as EditorState, b as EditorView, J as ImageDisplayMode, M as LayoutMode, N as MentionCandidate, O as MentionProvider, R as PreviewPanel, T as PreviewPanelProps, U as RawEditor, V as RawEditorProps, W as ThemeInheritance, Y as ViewPreferences, _ as WysiwygEditor, $ as WysiwygEditorProps, ah as useEditorContext, ai as useEditorContextMenuItems, aj as useEditorInsertMenuItems } from '../shell-DTefmCBG.js';
2
- import 'react/jsx-runtime';
1
+ export { h as BlockTagVisibility, k as DocumentLinkCandidate, l as DocumentLinkProvider, m as EditorActions, n as EditorColorScheme, o as EditorContextMenuContext, p as EditorContextMenuItem, q as EditorContextMenuItemVisibility, r as EditorContextMenuProvider, s as EditorContextMenuProviderProps, t as EditorContextValue, E as EditorHostMode, u as EditorInsertMenuItem, v as EditorMode, w as EditorProvider, x as EditorProviderProps, z as EditorShell, G as EditorShellProps, H as EditorState, b as EditorView, J as ImageDisplayMode, M as LayoutMode, N as MentionCandidate, O as MentionProvider, R as PreviewPanel, T as PreviewPanelProps, U as RawEditor, V as RawEditorProps, W as ThemeInheritance, Y as ViewPreferences, _ as WysiwygEditor, $ as WysiwygEditorProps, ah as useEditorContext, ai as useEditorContextMenuItems, aj as useEditorInsertMenuItems } from '../shell-CyUZ1rcq.js';
2
+ import 'react';
3
3
  import '@bendyline/squisq/table';
4
4
  import '@bendyline/squisq-calc';
5
5
  import '@bendyline/squisq-grid-react';
6
6
  import '@bendyline/squisq-formats/xlsx';
7
- import 'react';
8
7
  import '@bendyline/squisq/schemas';
9
8
  import '@bendyline/squisq/fence';
10
9
  import '@bendyline/squisq-react';
@@ -5,12 +5,12 @@ import {
5
5
  RawEditor,
6
6
  WysiwygEditor,
7
7
  useEditorContextMenuItems
8
- } from "../chunk-NL4JP55H.js";
8
+ } from "../chunk-SFSSWQR3.js";
9
9
  import {
10
10
  EditorProvider,
11
11
  useEditorContext,
12
12
  useEditorInsertMenuItems
13
- } from "../chunk-JI74KA6C.js";
13
+ } from "../chunk-UCYZBMCG.js";
14
14
  import "../chunk-DNEVUOBZ.js";
15
15
  import "../chunk-V4NBQF5C.js";
16
16
  import "../chunk-OCQEWWHI.js";