@bendyline/squisq-editor-react 2.11.21 → 2.11.23
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/README.md +5 -3
- package/THIRD_PARTY_LICENSES.txt +2 -2
- package/dist/{chunk-5NXCXT55.js → chunk-JGIETDY5.js} +468 -146
- package/dist/{chunk-UCYZBMCG.js → chunk-TRBNNRLK.js} +3 -0
- package/dist/image-editor/index.d.ts +3 -3
- package/dist/index.d.ts +50 -47
- package/dist/index.js +2 -2
- 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/review/index.js +1 -1
- package/dist/shell/index.d.ts +2 -3
- package/dist/shell/index.js +2 -2
- package/dist/{shell-XyXxGPs4.d.ts → shell-BVxeKlCx.d.ts} +44 -8
- 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 +654 -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
|
@@ -1520,6 +1520,7 @@ function EditorProvider({
|
|
|
1520
1520
|
language,
|
|
1521
1521
|
findMode: controlledFindMode,
|
|
1522
1522
|
onFindModeChange,
|
|
1523
|
+
findRequest = null,
|
|
1523
1524
|
inlinePreview = false,
|
|
1524
1525
|
showStatusBar = true,
|
|
1525
1526
|
outline = false,
|
|
@@ -2183,6 +2184,7 @@ function EditorProvider({
|
|
|
2183
2184
|
colorScheme,
|
|
2184
2185
|
editorMode,
|
|
2185
2186
|
findMode,
|
|
2187
|
+
findRequest,
|
|
2186
2188
|
language: resolvedLanguage,
|
|
2187
2189
|
inlinePreviewVisible,
|
|
2188
2190
|
statusBarVisible,
|
|
@@ -2271,6 +2273,7 @@ function EditorProvider({
|
|
|
2271
2273
|
colorScheme,
|
|
2272
2274
|
editorMode,
|
|
2273
2275
|
findMode,
|
|
2276
|
+
findRequest,
|
|
2274
2277
|
resolvedLanguage,
|
|
2275
2278
|
inlinePreviewVisible,
|
|
2276
2279
|
statusBarVisible,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
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):
|
|
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):
|
|
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-
|
|
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
|
|
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-BVxeKlCx.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 FindOptions, J as FindRequest, K as FormulaSessionOptions, L as ImageDisplayMode, M as IngestedSidecar, N as InsertBlockOptions, O as LayoutMode, P as MentionCandidate, Q as MentionProvider, R as OutlineBlock, T as OutlineInsertion, U as PreviewPanel, V as PreviewPanelProps, W as RawEditor, Y as RawEditorProps, Z as ThemeInheritance, _ as ViewPreferences, $ as WriteCanvasSettings, a0 as WysiwygEditor, a1 as WysiwygEditorProps, a2 as XLSX_LOCKED_REASON, a3 as XlsxFormulaSession, a4 as applySourceEditsToText, a5 as blockInsertionPoint, a6 as createXlsxFormulaSession, a7 as getBlockSlices, a8 as headingDepthForInsertion, a9 as ingestSidecarBytes, aa as joinBlockAt, ab as lineToOffset, ac as minimalReplaceEdit, ad as normalizeSourceEdits, ae as offsetToLine, af as resolveOutlineInsertion, ag as sliceIndexAtOffset, ah as sourceOutline, ai as spliceBlock, aj as useEditorContext, ak as useEditorContextMenuItems, al as useEditorInsertMenuItems } from './shell-BVxeKlCx.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-
|
|
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
|
-
}):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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,7 @@ 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):
|
|
792
|
+
declare function ImportThemeSection({ onImported, allowLayouts }: ImportThemeSectionProps): react.JSX.Element;
|
|
794
793
|
|
|
795
794
|
/**
|
|
796
795
|
* Dropdown trigger rendered directly beside the Use tab. Selecting a mode
|
|
@@ -801,7 +800,7 @@ interface PreviewModeMenuProps {
|
|
|
801
800
|
/** Incremented by the parent to open the menu from another control. */
|
|
802
801
|
openRequest?: number;
|
|
803
802
|
}
|
|
804
|
-
declare function PreviewModeMenu({ openRequest }: PreviewModeMenuProps):
|
|
803
|
+
declare function PreviewModeMenu({ openRequest }: PreviewModeMenuProps): react.JSX.Element;
|
|
805
804
|
|
|
806
805
|
/** Caption selection: off, or one of the two enabled styles. */
|
|
807
806
|
type CaptionMode = 'off' | CaptionStyle;
|
|
@@ -947,7 +946,7 @@ interface PreviewSettingsProviderProps {
|
|
|
947
946
|
*/
|
|
948
947
|
defaultThemeLabel?: string;
|
|
949
948
|
}
|
|
950
|
-
declare function PreviewSettingsProvider({ doc, children, defaultViewportPreset, themeOverride, defaultThemeId, defaultThemeLabel, }: PreviewSettingsProviderProps):
|
|
949
|
+
declare function PreviewSettingsProvider({ doc, children, defaultViewportPreset, themeOverride, defaultThemeId, defaultThemeLabel, }: PreviewSettingsProviderProps): react.JSX.Element;
|
|
951
950
|
interface PreviewToolbarControlsProps {
|
|
952
951
|
/**
|
|
953
952
|
* Display mode whose applicable control set should be rendered. Defaults to
|
|
@@ -958,19 +957,19 @@ interface PreviewToolbarControlsProps {
|
|
|
958
957
|
/** Optional designer for the current document's slide summarization. */
|
|
959
958
|
summarizationDesigner?: (onClose: () => void) => ReactNode;
|
|
960
959
|
}
|
|
961
|
-
declare function PreviewToolbarControls({ displayMode, summarizationDesigner, }?: PreviewToolbarControlsProps):
|
|
960
|
+
declare function PreviewToolbarControls({ displayMode, summarizationDesigner, }?: PreviewToolbarControlsProps): react.JSX.Element;
|
|
962
961
|
/**
|
|
963
962
|
* Segmented display-mode switch retained as a public, embeddable control.
|
|
964
963
|
* The editor shell uses {@link PreviewModeMenu} beside its Use tab instead.
|
|
965
964
|
* Narrate is hidden when the host disables `allowNarrate`.
|
|
966
965
|
*/
|
|
967
|
-
declare function PreviewModeSwitch():
|
|
966
|
+
declare function PreviewModeSwitch(): react.JSX.Element;
|
|
968
967
|
/**
|
|
969
968
|
* Segmented aspect-ratio switch (16:9 / 1:1 / 9:16 / 4:3), used inline in the
|
|
970
969
|
* Use toolbar and inside its overflow popover. Reads and writes the same
|
|
971
970
|
* `activePreset` in preview settings.
|
|
972
971
|
*/
|
|
973
|
-
declare function PreviewFormatSwitch():
|
|
972
|
+
declare function PreviewFormatSwitch(): react.JSX.Element;
|
|
974
973
|
|
|
975
974
|
/**
|
|
976
975
|
* ViewSwitcher
|
|
@@ -984,7 +983,7 @@ interface ViewSwitcherProps {
|
|
|
984
983
|
/**
|
|
985
984
|
* Tab-style view switcher for the three editor modes.
|
|
986
985
|
*/
|
|
987
|
-
declare function ViewSwitcher({ className }: ViewSwitcherProps):
|
|
986
|
+
declare function ViewSwitcher({ className }: ViewSwitcherProps): react.JSX.Element | null;
|
|
988
987
|
|
|
989
988
|
interface ToolbarProps {
|
|
990
989
|
/** Additional class name */
|
|
@@ -1028,13 +1027,17 @@ interface ToolbarProps {
|
|
|
1028
1027
|
* keyboard-switch targets. Defaults to `'document'`.
|
|
1029
1028
|
*/
|
|
1030
1029
|
hostMode?: EditorHostMode;
|
|
1030
|
+
/** The document cannot be edited: Find offers no Replace. */
|
|
1031
|
+
readOnly?: boolean;
|
|
1032
|
+
/** Bind Ctrl/Cmd+F and Ctrl+H / Cmd+Option+F while focus is inside this editor. */
|
|
1033
|
+
findShortcut?: boolean;
|
|
1031
1034
|
}
|
|
1032
1035
|
/**
|
|
1033
1036
|
* Formatting toolbar.
|
|
1034
1037
|
* - WYSIWYG: calls Tiptap chain commands (toggleBold, etc.)
|
|
1035
1038
|
* - Raw: appends markdown syntax to the source
|
|
1036
1039
|
*/
|
|
1037
|
-
declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotLeft, slotAfterTabs, slotAfterActions, slotRight, showPlayTab, showFormattingControls, showInsertControls, hostMode, }: ToolbarProps):
|
|
1040
|
+
declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotLeft, slotAfterTabs, slotAfterActions, slotRight, showPlayTab, showFormattingControls, showInsertControls, hostMode, readOnly, findShortcut, }: ToolbarProps): react.JSX.Element;
|
|
1038
1041
|
|
|
1039
1042
|
/**
|
|
1040
1043
|
* VersionHistoryPanel
|
|
@@ -1048,7 +1051,7 @@ declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotL
|
|
|
1048
1051
|
* is read from the EditorContext — render this component anywhere inside
|
|
1049
1052
|
* a provider that has `allowVersioning` and a `container`.
|
|
1050
1053
|
*/
|
|
1051
|
-
declare function VersionHistoryPanel():
|
|
1054
|
+
declare function VersionHistoryPanel(): react.JSX.Element | null;
|
|
1052
1055
|
|
|
1053
1056
|
/**
|
|
1054
1057
|
* ViewMenuPanel
|
|
@@ -1061,7 +1064,7 @@ declare function VersionHistoryPanel(): react_jsx_runtime.JSX.Element | null;
|
|
|
1061
1064
|
* the host doesn't need to manage it. The initial value comes from the
|
|
1062
1065
|
* EditorShell `inlinePreview` prop.
|
|
1063
1066
|
*/
|
|
1064
|
-
declare function ViewMenuPanel():
|
|
1067
|
+
declare function ViewMenuPanel(): react.JSX.Element;
|
|
1065
1068
|
|
|
1066
1069
|
/**
|
|
1067
1070
|
* TransformMenu
|
|
@@ -1078,7 +1081,7 @@ declare function ViewMenuPanel(): react_jsx_runtime.JSX.Element;
|
|
|
1078
1081
|
* `setContent` lands as one Tiptap history entry.
|
|
1079
1082
|
* - Use view has no editing surface (no undo), so rows are disabled there.
|
|
1080
1083
|
*/
|
|
1081
|
-
declare function TransformMenu():
|
|
1084
|
+
declare function TransformMenu(): react.JSX.Element | null;
|
|
1082
1085
|
|
|
1083
1086
|
/**
|
|
1084
1087
|
* Write-view wrap policy — "unwrap in Write view, persist with wrapping".
|
|
@@ -1132,7 +1135,7 @@ interface OutlinePanelProps {
|
|
|
1132
1135
|
/** Disable heading-level changes and section reordering. */
|
|
1133
1136
|
readOnly?: boolean;
|
|
1134
1137
|
}
|
|
1135
|
-
declare function OutlinePanel({ width, className, readOnly }: OutlinePanelProps):
|
|
1138
|
+
declare function OutlinePanel({ width, className, readOnly }: OutlinePanelProps): react.JSX.Element;
|
|
1136
1139
|
|
|
1137
1140
|
interface ThemeCustomizerPanelProps {
|
|
1138
1141
|
/** Current custom theme (or null to start from defaults). */
|
|
@@ -1146,7 +1149,7 @@ interface ThemeCustomizerPanelProps {
|
|
|
1146
1149
|
/** Optional text trigger. Omit to use the compact icon trigger. */
|
|
1147
1150
|
triggerLabel?: string;
|
|
1148
1151
|
}
|
|
1149
|
-
declare function ThemeCustomizerPanel({ value, onChange, onSave, onReset, triggerLabel, }: ThemeCustomizerPanelProps):
|
|
1152
|
+
declare function ThemeCustomizerPanel({ value, onChange, onSave, onReset, triggerLabel, }: ThemeCustomizerPanelProps): react.JSX.Element;
|
|
1150
1153
|
|
|
1151
1154
|
interface TemplatePreviewSource {
|
|
1152
1155
|
block: Block;
|
|
@@ -1192,7 +1195,7 @@ interface TemplatePickerProps {
|
|
|
1192
1195
|
*/
|
|
1193
1196
|
previewSource?: TemplatePreviewSource;
|
|
1194
1197
|
}
|
|
1195
|
-
declare function TemplatePicker({ value, onChange, colorScheme, compact, recommended, onOpenDesigner, previewSource, }: TemplatePickerProps):
|
|
1198
|
+
declare function TemplatePicker({ value, onChange, colorScheme, compact, recommended, onOpenDesigner, previewSource, }: TemplatePickerProps): react.JSX.Element;
|
|
1196
1199
|
|
|
1197
1200
|
interface TransitionPickerProps {
|
|
1198
1201
|
value: TransitionFields;
|
|
@@ -1202,7 +1205,7 @@ interface TransitionPickerProps {
|
|
|
1202
1205
|
/** Active document-theme accent used for open and selected states. */
|
|
1203
1206
|
accentColor?: string;
|
|
1204
1207
|
}
|
|
1205
|
-
declare function TransitionPicker({ value, onChange, colorScheme, accentColor, }: TransitionPickerProps):
|
|
1208
|
+
declare function TransitionPicker({ value, onChange, colorScheme, accentColor, }: TransitionPickerProps): react.JSX.Element;
|
|
1206
1209
|
|
|
1207
1210
|
/**
|
|
1208
1211
|
* transitionCatalog
|
|
@@ -1345,7 +1348,7 @@ interface InlinePreviewGutterProps {
|
|
|
1345
1348
|
*/
|
|
1346
1349
|
mediaProvider?: MediaProvider | null;
|
|
1347
1350
|
}
|
|
1348
|
-
declare function InlinePreviewGutter({ width, basePath, viewport, className, connectorWidth, mediaProvider, }: InlinePreviewGutterProps):
|
|
1351
|
+
declare function InlinePreviewGutter({ width, basePath, viewport, className, connectorWidth, mediaProvider, }: InlinePreviewGutterProps): react.JSX.Element | null;
|
|
1349
1352
|
|
|
1350
1353
|
interface MediaBinProps {
|
|
1351
1354
|
/** The active MediaProvider (null when no media context is available) */
|
|
@@ -1393,7 +1396,7 @@ interface MediaBinProps {
|
|
|
1393
1396
|
*/
|
|
1394
1397
|
highlightPath?: string | null;
|
|
1395
1398
|
}
|
|
1396
|
-
declare function MediaBin({ mediaProvider, isDark, refreshKey, usedMediaPaths, onMediaUploaded, onMediaRemoved, onCountChange, onRecord, isRecorderOpen, allowBinaryDownloads, highlightPath, }: MediaBinProps):
|
|
1399
|
+
declare function MediaBin({ mediaProvider, isDark, refreshKey, usedMediaPaths, onMediaUploaded, onMediaRemoved, onCountChange, onRecord, isRecorderOpen, allowBinaryDownloads, highlightPath, }: MediaBinProps): react.JSX.Element;
|
|
1397
1400
|
|
|
1398
1401
|
interface StatusBarProps {
|
|
1399
1402
|
/** Additional class name */
|
|
@@ -1401,7 +1404,7 @@ interface StatusBarProps {
|
|
|
1401
1404
|
/** Host-supplied status content rendered at the right edge. */
|
|
1402
1405
|
slotRight?: ReactNode;
|
|
1403
1406
|
}
|
|
1404
|
-
declare function StatusBar({ className, slotRight }: StatusBarProps):
|
|
1407
|
+
declare function StatusBar({ className, slotRight }: StatusBarProps): react.JSX.Element;
|
|
1405
1408
|
|
|
1406
1409
|
/**
|
|
1407
1410
|
* TooltipLayer
|
|
@@ -1466,7 +1469,7 @@ interface DropZoneOverlayProps {
|
|
|
1466
1469
|
* Full-size overlay with contextual drop targets for file uploads.
|
|
1467
1470
|
* Rendered conditionally by EditorShell when files are dragged over the editor.
|
|
1468
1471
|
*/
|
|
1469
|
-
declare function DropZoneOverlay({ dragContentType, zoneProps, hasMediaProvider, }: DropZoneOverlayProps):
|
|
1472
|
+
declare function DropZoneOverlay({ dragContentType, zoneProps, hasMediaProvider, }: DropZoneOverlayProps): react.JSX.Element;
|
|
1470
1473
|
|
|
1471
1474
|
/**
|
|
1472
1475
|
* Drop Utilities
|
|
@@ -1589,7 +1592,7 @@ interface CustomTemplateProviderProps {
|
|
|
1589
1592
|
onDocTemplatesChange: (next: CustomTemplateDefinition[]) => void;
|
|
1590
1593
|
children: ReactNode;
|
|
1591
1594
|
}
|
|
1592
|
-
declare function CustomTemplateProvider({ docTemplates, onDocTemplatesChange, children, }: CustomTemplateProviderProps):
|
|
1595
|
+
declare function CustomTemplateProvider({ docTemplates, onDocTemplatesChange, children, }: CustomTemplateProviderProps): react.JSX.Element;
|
|
1593
1596
|
/**
|
|
1594
1597
|
* Hook returning the current context. Returns null when no provider is
|
|
1595
1598
|
* mounted — callers can degrade to "no custom templates" rather than
|
|
@@ -1797,7 +1800,7 @@ interface DiagramCanvasProps {
|
|
|
1797
1800
|
/** Per-editor toolbar bridge for detached scene roots. */
|
|
1798
1801
|
textChannel?: SceneTextChannel;
|
|
1799
1802
|
}
|
|
1800
|
-
declare function DiagramCanvas({ nodes: incomingNodes, edges: incomingEdges, onCommand, showMaximize, maximized, onToggleMaximize, activeToolId: controlledToolId, onActiveToolIdChange, onSelectionChange, textChannel, }: DiagramCanvasProps):
|
|
1803
|
+
declare function DiagramCanvas({ nodes: incomingNodes, edges: incomingEdges, onCommand, showMaximize, maximized, onToggleMaximize, activeToolId: controlledToolId, onActiveToolIdChange, onSelectionChange, textChannel, }: DiagramCanvasProps): react.JSX.Element;
|
|
1801
1804
|
|
|
1802
1805
|
/**
|
|
1803
1806
|
* Shared position-registry remapping for the fence-widget families (ascii
|
|
@@ -1898,7 +1901,7 @@ interface AsciiDiagramWidgetProps {
|
|
|
1898
1901
|
host?: HTMLElement | null;
|
|
1899
1902
|
textChannel?: SceneTextChannel;
|
|
1900
1903
|
}
|
|
1901
|
-
declare function AsciiDiagramWidget({ editor, blockId, host, textChannel, }: AsciiDiagramWidgetProps):
|
|
1904
|
+
declare function AsciiDiagramWidget({ editor, blockId, host, textChannel, }: AsciiDiagramWidgetProps): react.JSX.Element | null;
|
|
1902
1905
|
|
|
1903
1906
|
/**
|
|
1904
1907
|
* Read direction of the ASCII diagram loop: fence text → canvas data.
|
|
@@ -2124,7 +2127,7 @@ interface MermaidDiagramWidgetProps {
|
|
|
2124
2127
|
host?: HTMLElement | null;
|
|
2125
2128
|
themeStore?: MermaidThemeStore;
|
|
2126
2129
|
}
|
|
2127
|
-
declare function MermaidDiagramWidget({ editor, blockId, host, themeStore, }: MermaidDiagramWidgetProps):
|
|
2130
|
+
declare function MermaidDiagramWidget({ editor, blockId, host, themeStore, }: MermaidDiagramWidgetProps): react.JSX.Element | null;
|
|
2128
2131
|
|
|
2129
2132
|
/** Mermaid 11.16 flowchart shape catalog used by the structured editor. */
|
|
2130
2133
|
interface MermaidFlowchartShape {
|
|
@@ -2508,7 +2511,7 @@ interface MermaidDiagramCanvasProps {
|
|
|
2508
2511
|
onDisconnectEdge?: (id: string) => void;
|
|
2509
2512
|
onDeleteText?: (id: string) => void;
|
|
2510
2513
|
}
|
|
2511
|
-
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):
|
|
2514
|
+
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;
|
|
2512
2515
|
|
|
2513
2516
|
/** Live source view for one registered Mermaid code fence. */
|
|
2514
2517
|
|
|
@@ -2580,7 +2583,7 @@ interface MermaidShapePaletteProps {
|
|
|
2580
2583
|
onPick: (shape: MermaidFlowchartShapeId) => void;
|
|
2581
2584
|
onClose: () => void;
|
|
2582
2585
|
}
|
|
2583
|
-
declare function MermaidShapePalette({ selected, onPick, onClose }: MermaidShapePaletteProps):
|
|
2586
|
+
declare function MermaidShapePalette({ selected, onPick, onClose }: MermaidShapePaletteProps): react.JSX.Element;
|
|
2584
2587
|
|
|
2585
2588
|
/** Curated starter gallery for the diagram grammars supported by Mermaid 11.16. */
|
|
2586
2589
|
type MermaidDiagramCategory = 'Structure' | 'Planning' | 'Data';
|
|
@@ -2602,7 +2605,7 @@ declare function mermaidDiagramMarkdown(source: string): string;
|
|
|
2602
2605
|
/** Small authored SVG cues; these avoid spinning up Mermaid for every gallery tile. */
|
|
2603
2606
|
declare function MermaidDiagramTypeThumbnail({ preview }: {
|
|
2604
2607
|
preview: MermaidDiagramPreview;
|
|
2605
|
-
}):
|
|
2608
|
+
}): react.JSX.Element;
|
|
2606
2609
|
|
|
2607
2610
|
/**
|
|
2608
2611
|
* Tiptap extension for ordinary explicit-language code fences.
|
|
@@ -2664,7 +2667,7 @@ interface CodeSnippetWidgetProps {
|
|
|
2664
2667
|
*/
|
|
2665
2668
|
onCopyCode?: () => CodeBlockCopyHandler | undefined;
|
|
2666
2669
|
}
|
|
2667
|
-
declare function CodeSnippetWidget({ editor, blockId, host, focusOnMount, onCopyCode, }: CodeSnippetWidgetProps):
|
|
2670
|
+
declare function CodeSnippetWidget({ editor, blockId, host, focusOnMount, onCopyCode, }: CodeSnippetWidgetProps): react.JSX.Element | null;
|
|
2668
2671
|
|
|
2669
2672
|
/** Lossless edits for language-tagged code fences. */
|
|
2670
2673
|
|
|
@@ -2736,7 +2739,7 @@ interface TreeOutlineWidgetProps {
|
|
|
2736
2739
|
fallbackPos: number;
|
|
2737
2740
|
host?: HTMLElement | null;
|
|
2738
2741
|
}
|
|
2739
|
-
declare function TreeOutlineWidget({ editor, blockId }: TreeOutlineWidgetProps):
|
|
2742
|
+
declare function TreeOutlineWidget({ editor, blockId }: TreeOutlineWidgetProps): react.JSX.Element | null;
|
|
2740
2743
|
|
|
2741
2744
|
/**
|
|
2742
2745
|
* Read direction of the tree loop: fence text → outline view.
|
|
@@ -3126,7 +3129,7 @@ interface VideoEmbedDialogProps {
|
|
|
3126
3129
|
/** Dismiss without changes. */
|
|
3127
3130
|
onClose: () => void;
|
|
3128
3131
|
}
|
|
3129
|
-
declare function VideoEmbedDialog({ mode, initialInput, initialTitle, onConfirm, onClose, }: VideoEmbedDialogProps):
|
|
3132
|
+
declare function VideoEmbedDialog({ mode, initialInput, initialTitle, onConfirm, onClose, }: VideoEmbedDialogProps): react.JSX.Element;
|
|
3130
3133
|
|
|
3131
3134
|
/**
|
|
3132
3135
|
* Putting a stored file into the document, in whichever view is active.
|
|
@@ -3315,7 +3318,7 @@ interface TimelineEditorWidgetProps {
|
|
|
3315
3318
|
editor: Editor;
|
|
3316
3319
|
blockId: string;
|
|
3317
3320
|
}
|
|
3318
|
-
declare function TimelineEditorWidget({ editor, blockId }: TimelineEditorWidgetProps):
|
|
3321
|
+
declare function TimelineEditorWidget({ editor, blockId }: TimelineEditorWidgetProps): react.JSX.Element | null;
|
|
3319
3322
|
|
|
3320
3323
|
/** Live read-direction adapter from a registered timeline fence to React. */
|
|
3321
3324
|
|
|
@@ -3504,7 +3507,7 @@ interface RecorderSlidesPanelProps {
|
|
|
3504
3507
|
/** Block ids already first-shown this take; drives the progress dots. */
|
|
3505
3508
|
shownBlockIds?: ReadonlySet<string>;
|
|
3506
3509
|
}
|
|
3507
|
-
declare function RecorderSlidesPanel({ slides, index, onIndexChange, viewport, basePath, mediaProvider, recording, shownBlockIds, }: RecorderSlidesPanelProps):
|
|
3510
|
+
declare function RecorderSlidesPanel({ slides, index, onIndexChange, viewport, basePath, mediaProvider, recording, shownBlockIds, }: RecorderSlidesPanelProps): react.JSX.Element;
|
|
3508
3511
|
|
|
3509
3512
|
/**
|
|
3510
3513
|
* 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-
|
|
235
|
+
} from "./chunk-JGIETDY5.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-
|
|
256
|
+
} from "./chunk-TRBNNRLK.js";
|
|
257
257
|
import {
|
|
258
258
|
SPEECH_INPUT_SAMPLE_RATE,
|
|
259
259
|
isSpeechInputProviderFactory,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
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):
|
|
25
|
+
declare function JsonEditor(props: JsonEditorProps): react.JSX.Element;
|
|
26
26
|
|
|
27
27
|
export { JsonEditor, type JsonEditorProps };
|
package/dist/recorder/index.d.ts
CHANGED
|
@@ -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-
|
|
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
|
|
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
|
|
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/review/index.js
CHANGED
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,
|
|
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, L as ImageDisplayMode, O as LayoutMode, P as MentionCandidate, Q as MentionProvider, U as PreviewPanel, V as PreviewPanelProps, W as RawEditor, Y as RawEditorProps, Z as ThemeInheritance, _ as ViewPreferences, a0 as WysiwygEditor, a1 as WysiwygEditorProps, aj as useEditorContext, ak as useEditorContextMenuItems, al as useEditorInsertMenuItems } from '../shell-BVxeKlCx.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
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
RawEditor,
|
|
6
6
|
WysiwygEditor,
|
|
7
7
|
useEditorContextMenuItems
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-JGIETDY5.js";
|
|
9
9
|
import {
|
|
10
10
|
EditorProvider,
|
|
11
11
|
useEditorContext,
|
|
12
12
|
useEditorInsertMenuItems
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-TRBNNRLK.js";
|
|
14
14
|
import "../chunk-DNEVUOBZ.js";
|
|
15
15
|
import "../chunk-V4NBQF5C.js";
|
|
16
16
|
import "../chunk-OCQEWWHI.js";
|