@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.
- package/NOTICE.md +2 -2
- package/THIRD_PARTY_LICENSES.txt +2 -2
- package/dist/{chunk-5NXCXT55.js → chunk-SFSSWQR3.js} +29 -35
- package/dist/image-editor/index.d.ts +3 -3
- package/dist/index.d.ts +46 -47
- package/dist/index.js +1 -1
- package/dist/json-editor/index.d.ts +2 -2
- package/dist/recorder/index.d.ts +2 -3
- package/dist/{recorder-Civyq5SU.d.ts → recorder-rQGYsS6B.d.ts} +7 -7
- package/dist/shell/index.d.ts +2 -3
- package/dist/shell/index.js +1 -1
- package/dist/{shell-XyXxGPs4.d.ts → shell-CyUZ1rcq.d.ts} +7 -7
- package/dist/styles/fa-brands-400-LA6RBN2H.woff2 +0 -0
- package/dist/styles/fa-regular-400-NCGHE5NP.woff2 +0 -0
- package/dist/styles/fa-solid-900-EFITDVWS.woff2 +0 -0
- package/dist/styles/fa-v4compatibility-4GXT74DT.woff2 +0 -0
- package/dist/styles/index.css +634 -55
- package/dist/teleprompter/index.d.ts +6 -6
- package/package.json +11 -11
- package/dist/styles/fa-brands-400-AHOAZHCU.woff2 +0 -0
- package/dist/styles/fa-regular-400-VRZYIBIZ.woff2 +0 -0
- package/dist/styles/fa-solid-900-MDEYK55F.woff2 +0 -0
- package/dist/styles/fa-v4compatibility-ETEVP6IB.woff2 +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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
|
package/dist/shell/index.d.ts
CHANGED
|
@@ -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-
|
|
2
|
-
import 'react
|
|
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';
|
package/dist/shell/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
1872
|
+
declare function PreviewPanel({ basePath, className, workspaceContainer, onLinkClick, showCodeCopyButton, onCopyCode, }: PreviewPanelProps): react.JSX.Element;
|
|
1873
1873
|
|
|
1874
1874
|
interface EditorInsertMenuItem {
|
|
1875
1875
|
id: string;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|