@bendyline/squisq-editor-react 2.11.21 → 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.
@@ -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
@@ -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-XyXxGPs4.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,7 +5,7 @@ import {
5
5
  RawEditor,
6
6
  WysiwygEditor,
7
7
  useEditorContextMenuItems
8
- } from "../chunk-5NXCXT55.js";
8
+ } from "../chunk-SFSSWQR3.js";
9
9
  import {
10
10
  EditorProvider,
11
11
  useEditorContext,
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
+ import { ReactNode, RefObject, ReactElement } from 'react';
2
3
  import { TableCellValue, TableCellEdit } from '@bendyline/squisq/table';
3
4
  import { CalcEngineConfig, CalcEngine } from '@bendyline/squisq-calc';
4
5
  import { IngestTable } from '@bendyline/squisq-grid-react';
5
6
  import { XlsxWorkbookGrids } from '@bendyline/squisq-formats/xlsx';
6
- import { ReactNode, RefObject, ReactElement } from 'react';
7
7
  import { Doc, MediaProvider, ViewportPreset, Theme } from '@bendyline/squisq/schemas';
8
8
  import { FenceRendererMap } from '@bendyline/squisq/fence';
9
9
  import { CodeBlockCopyHandler } from '@bendyline/squisq-react';
@@ -1059,7 +1059,7 @@ interface ViewPreferences {
1059
1059
  /** Document vs. block-at-a-time layout. */
1060
1060
  layoutMode?: LayoutMode;
1061
1061
  }
1062
- declare function EditorProvider({ initialMarkdown, initialView, articleId, colorScheme: initialColorScheme, workspaceContainer, allowVersioning, versionBasename, versioningPrunePolicy, versioningAutoSaveIdleMs, onSaveVersion, mediaProvider, mediaEditRenders, imageDisplayMode, mentionProvider, proofing, proofingDefaultEnabled, proofingSpellingEnabled, proofingGrammarEnabled, proofingIgnoreStore, speechInput, documentLinkProvider, fenceRenderers, onCopyCode, linkSchemes, allowRecording, allowNarrate, preserveSourceWrapping, fileName, saveCoverImageOutput, saveDashboardImageOutput, language, findMode: controlledFindMode, onFindModeChange, inlinePreview, showStatusBar, outline, blockTags, blockTagVisibility: initialBlockTagVisibility, themeInheritance, layoutMode, viewPreferences, onViewPreferencesChange, children, }: EditorProviderProps): react_jsx_runtime.JSX.Element;
1062
+ declare function EditorProvider({ initialMarkdown, initialView, articleId, colorScheme: initialColorScheme, workspaceContainer, allowVersioning, versionBasename, versioningPrunePolicy, versioningAutoSaveIdleMs, onSaveVersion, mediaProvider, mediaEditRenders, imageDisplayMode, mentionProvider, proofing, proofingDefaultEnabled, proofingSpellingEnabled, proofingGrammarEnabled, proofingIgnoreStore, speechInput, documentLinkProvider, fenceRenderers, onCopyCode, linkSchemes, allowRecording, allowNarrate, preserveSourceWrapping, fileName, saveCoverImageOutput, saveDashboardImageOutput, language, findMode: controlledFindMode, onFindModeChange, inlinePreview, showStatusBar, outline, blockTags, blockTagVisibility: initialBlockTagVisibility, themeInheritance, layoutMode, viewPreferences, onViewPreferencesChange, children, }: EditorProviderProps): react.JSX.Element;
1063
1063
 
1064
1064
  /**
1065
1065
  * Host-supplied context sections rendered INSIDE the Monaco (raw/code)
@@ -1721,7 +1721,7 @@ interface EditorShellProps {
1721
1721
  * Complete markdown editor shell with toolbar, view switcher, and three
1722
1722
  * editing modes: Raw (Monaco), WYSIWYG (Tiptap), and Preview.
1723
1723
  */
1724
- declare function EditorShell({ initialMarkdown, initialView, hostMode, defaultViewportPreset, articleId, basePath, onChange, onLinkClick, showCodeCopyButton, onCopyCode, colorScheme, className, height, minHeight, maxHeight, mediaProvider, mediaEditRenders, workspaceContainer, allowVersioning, versionBasename, versioningPrunePolicy, versioningAutoSaveIdleMs, onSaveVersion, showFilesToggle, showFilesWhenNotEmpty, showFormattingControls, showInsertControls, allowBinaryDownloads, toolbarSlotLeft, toolbarSlotAfterActions, toolbarSlotRight, summarizationDesigner, statusBarSlotRight, sidePanelSlot, reviewProviders, showPlayTab, allowPresentationWindow, allowPresentationFullscreen, allowPrint, submitOnEnter, calcEngineFactory, codeContext, fullWidth, uxFont, thinMargins, writeCanvasSettings, showStatusBar, imageDisplayMode, fileName, saveCoverImageOutput, saveDashboardImageOutput, language, findMode, onFindModeChange, mentionProvider, proofing, proofingDefaultEnabled, proofingSpellingEnabled, proofingGrammarEnabled, proofingIgnoreStore, speechInput, documentLinkProvider, fenceRenderers, linkSchemes, allowRecording, allowNarrate, preserveSourceWrapping, placeholder, readOnly, imageSrc, imageAlt, imageMode, imageEditorContainer, onImageExport, inlinePreview, inlinePreviewWidth, outline, outlineWidth, blockTags, blockTagVisibility, themeInheritance, viewPreferences, onViewPreferencesChange, themeOverride, defaultThemeId, defaultThemeLabel, }: EditorShellProps): react_jsx_runtime.JSX.Element;
1724
+ declare function EditorShell({ initialMarkdown, initialView, hostMode, defaultViewportPreset, articleId, basePath, onChange, onLinkClick, showCodeCopyButton, onCopyCode, colorScheme, className, height, minHeight, maxHeight, mediaProvider, mediaEditRenders, workspaceContainer, allowVersioning, versionBasename, versioningPrunePolicy, versioningAutoSaveIdleMs, onSaveVersion, showFilesToggle, showFilesWhenNotEmpty, showFormattingControls, showInsertControls, allowBinaryDownloads, toolbarSlotLeft, toolbarSlotAfterActions, toolbarSlotRight, summarizationDesigner, statusBarSlotRight, sidePanelSlot, reviewProviders, showPlayTab, allowPresentationWindow, allowPresentationFullscreen, allowPrint, submitOnEnter, calcEngineFactory, codeContext, fullWidth, uxFont, thinMargins, writeCanvasSettings, showStatusBar, imageDisplayMode, fileName, saveCoverImageOutput, saveDashboardImageOutput, language, findMode, onFindModeChange, mentionProvider, proofing, proofingDefaultEnabled, proofingSpellingEnabled, proofingGrammarEnabled, proofingIgnoreStore, speechInput, documentLinkProvider, fenceRenderers, linkSchemes, allowRecording, allowNarrate, preserveSourceWrapping, placeholder, readOnly, imageSrc, imageAlt, imageMode, imageEditorContainer, onImageExport, inlinePreview, inlinePreviewWidth, outline, outlineWidth, blockTags, blockTagVisibility, themeInheritance, viewPreferences, onViewPreferencesChange, themeOverride, defaultThemeId, defaultThemeLabel, }: EditorShellProps): react.JSX.Element;
1725
1725
 
1726
1726
  /**
1727
1727
  * Shared editor context menu.
@@ -1807,7 +1807,7 @@ interface RawEditorProps {
1807
1807
  * Raw markdown editor using Monaco Editor.
1808
1808
  * Binds to the shared EditorContext for source synchronization.
1809
1809
  */
1810
- declare function RawEditor({ monacoTheme, minimap, fontSize, wordWrap, className, submitOnEnter, readOnly, }: RawEditorProps): react_jsx_runtime.JSX.Element;
1810
+ declare function RawEditor({ monacoTheme, minimap, fontSize, wordWrap, className, submitOnEnter, readOnly, }: RawEditorProps): react.JSX.Element;
1811
1811
 
1812
1812
  interface WysiwygEditorProps {
1813
1813
  /**
@@ -1844,7 +1844,7 @@ interface WysiwygEditorProps {
1844
1844
  * Rich WYSIWYG markdown editor built on Tiptap (ProseMirror).
1845
1845
  * Binds to the shared EditorContext for source synchronization.
1846
1846
  */
1847
- declare function WysiwygEditor({ placeholder, className, submitOnEnter, readOnly, writeCanvasSettings, onOpenFilesPanel, calcEngineFactory, }: WysiwygEditorProps): react_jsx_runtime.JSX.Element;
1847
+ declare function WysiwygEditor({ placeholder, className, submitOnEnter, readOnly, writeCanvasSettings, onOpenFilesPanel, calcEngineFactory, }: WysiwygEditorProps): react.JSX.Element;
1848
1848
 
1849
1849
  interface PreviewPanelProps {
1850
1850
  /** Base path for resolving media URLs in DocPlayer */
@@ -1869,7 +1869,7 @@ interface PreviewPanelProps {
1869
1869
  * or document view. Controls (viewport, mode, theme, transform, captions)
1870
1870
  * are rendered in the main toolbar via PreviewToolbarControls.
1871
1871
  */
1872
- declare function PreviewPanel({ basePath, className, workspaceContainer, onLinkClick, showCodeCopyButton, onCopyCode, }: PreviewPanelProps): react_jsx_runtime.JSX.Element;
1872
+ declare function PreviewPanel({ basePath, className, workspaceContainer, onLinkClick, showCodeCopyButton, onCopyCode, }: PreviewPanelProps): react.JSX.Element;
1873
1873
 
1874
1874
  interface EditorInsertMenuItem {
1875
1875
  id: string;