@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
package/NOTICE.md
CHANGED
|
@@ -8,7 +8,7 @@ Third-party components remain under their respective license terms.
|
|
|
8
8
|
|
|
9
9
|
| Package | Version | License | Repository |
|
|
10
10
|
| --------------------------------- | -------------------- | ----------------------------- | --------------------------------------------- |
|
|
11
|
-
| @fortawesome/fontawesome-free | 7.
|
|
11
|
+
| @fortawesome/fontawesome-free | 7.3.1 | CC-BY-4.0 AND OFL-1.1 AND MIT | https://github.com/FortAwesome/Font-Awesome |
|
|
12
12
|
| @tiptap/core | 2.27.3 | MIT | https://github.com/ueberdosis/tiptap |
|
|
13
13
|
| @tiptap/extension-heading | 2.27.3 | MIT | https://github.com/ueberdosis/tiptap |
|
|
14
14
|
| @tiptap/extension-image | 2.27.3 | MIT | https://github.com/ueberdosis/tiptap |
|
|
@@ -25,7 +25,7 @@ Third-party components remain under their respective license terms.
|
|
|
25
25
|
| @tiptap/react | 2.27.3 | MIT | https://github.com/ueberdosis/tiptap |
|
|
26
26
|
| @tiptap/starter-kit | 2.27.3 | MIT | https://github.com/ueberdosis/tiptap |
|
|
27
27
|
| @tiptap/suggestion | 2.27.3 | MIT | https://github.com/ueberdosis/tiptap |
|
|
28
|
-
| mermaid | 11.
|
|
28
|
+
| mermaid | 11.17.2 | MIT | https://github.com/mermaid-js/mermaid |
|
|
29
29
|
| type-fest | 4.41.0 | MIT OR CC0-1.0 | https://github.com/sindresorhus/type-fest |
|
|
30
30
|
| @monaco-editor/react _(bundled)_ | 4.7.0 | MIT | https://github.com/suren-atoyan/monaco-react |
|
|
31
31
|
| @monaco-editor/loader _(bundled)_ | 1.7.0 | MIT | https://github.com/suren-atoyan/monaco-loader |
|
package/THIRD_PARTY_LICENSES.txt
CHANGED
|
@@ -5,13 +5,13 @@ and notice files are reproduced verbatim. When an npm tarball omits its
|
|
|
5
5
|
repository license, the pinned upstream copy is vendored and identified below.
|
|
6
6
|
|
|
7
7
|
COMPONENTS
|
|
8
|
-
- @fortawesome/fontawesome-free@7.
|
|
8
|
+
- @fortawesome/fontawesome-free@7.3.1 ((CC-BY-4.0 AND OFL-1.1 AND MIT)); files: LICENSE.txt
|
|
9
9
|
- @monaco-editor/loader@1.7.0 (MIT); files: LICENSE
|
|
10
10
|
- @monaco-editor/react@4.7.0 (MIT); files: LICENSE
|
|
11
11
|
- state-local@1.0.7 (MIT); files: LICENSE
|
|
12
12
|
|
|
13
13
|
==============================================================================
|
|
14
|
-
@fortawesome/fontawesome-free@7.
|
|
14
|
+
@fortawesome/fontawesome-free@7.3.1 - LICENSE.txt
|
|
15
15
|
==============================================================================
|
|
16
16
|
Fonticons, Inc. (https://fontawesome.com)
|
|
17
17
|
|
|
@@ -4013,6 +4013,7 @@ function PreviewToolbarControls({
|
|
|
4013
4013
|
{
|
|
4014
4014
|
label: "Summarize",
|
|
4015
4015
|
labelTooltip: SUMMARIZE_TOOLTIP,
|
|
4016
|
+
style: { ...selectStyle, padding: "3px 6px" },
|
|
4016
4017
|
value: s.activeTransformStyle,
|
|
4017
4018
|
options: TRANSFORM_STYLE_OPTIONS,
|
|
4018
4019
|
onChange: (v2) => s.setSelectedTransformStyle(v2),
|
|
@@ -4226,7 +4227,8 @@ function PreviewSelect({
|
|
|
4226
4227
|
options,
|
|
4227
4228
|
onChange,
|
|
4228
4229
|
compact,
|
|
4229
|
-
children
|
|
4230
|
+
children,
|
|
4231
|
+
style = selectStyle
|
|
4230
4232
|
}) {
|
|
4231
4233
|
return /* @__PURE__ */ jsxs6("div", { className: `squisq-preview-control${compact ? " squisq-preview-control--compact" : ""}`, children: [
|
|
4232
4234
|
/* @__PURE__ */ jsxs6("label", { style: labelStyle, title: labelTooltip, children: [
|
|
@@ -4239,7 +4241,7 @@ function PreviewSelect({
|
|
|
4239
4241
|
"aria-label": label,
|
|
4240
4242
|
value,
|
|
4241
4243
|
onChange: (e2) => onChange(e2.target.value),
|
|
4242
|
-
style
|
|
4244
|
+
style,
|
|
4243
4245
|
children: options.map((o) => /* @__PURE__ */ jsx7("option", { value: o.key, children: o.label }, o.key))
|
|
4244
4246
|
}
|
|
4245
4247
|
),
|
|
@@ -9880,34 +9882,28 @@ function buildIconCategory(family, label) {
|
|
|
9880
9882
|
id: `fa-${family}`,
|
|
9881
9883
|
label,
|
|
9882
9884
|
tab: tabIcon,
|
|
9883
|
-
entries: familyIcons.map(
|
|
9884
|
-
|
|
9885
|
-
|
|
9886
|
-
|
|
9887
|
-
|
|
9888
|
-
|
|
9889
|
-
|
|
9890
|
-
|
|
9891
|
-
})
|
|
9892
|
-
)
|
|
9885
|
+
entries: familyIcons.map((i) => ({
|
|
9886
|
+
kind: "icon",
|
|
9887
|
+
family: i.family,
|
|
9888
|
+
name: i.name,
|
|
9889
|
+
label: i.label,
|
|
9890
|
+
keywords: i.keywords,
|
|
9891
|
+
token: canonicalIconToken(i)
|
|
9892
|
+
}))
|
|
9893
9893
|
};
|
|
9894
9894
|
}
|
|
9895
9895
|
var PICKER_CATEGORIES = [
|
|
9896
|
-
...EMOJI_CATEGORIES.map(
|
|
9897
|
-
|
|
9898
|
-
|
|
9899
|
-
|
|
9900
|
-
|
|
9901
|
-
|
|
9902
|
-
|
|
9903
|
-
|
|
9904
|
-
|
|
9905
|
-
|
|
9906
|
-
|
|
9907
|
-
})
|
|
9908
|
-
)
|
|
9909
|
-
})
|
|
9910
|
-
),
|
|
9896
|
+
...EMOJI_CATEGORIES.map((c) => ({
|
|
9897
|
+
id: c.id,
|
|
9898
|
+
label: c.label,
|
|
9899
|
+
tab: { kind: "emoji", char: c.icon },
|
|
9900
|
+
entries: c.emojis.map((e2) => ({
|
|
9901
|
+
kind: "emoji",
|
|
9902
|
+
char: e2.char,
|
|
9903
|
+
name: e2.name,
|
|
9904
|
+
keywords: e2.keywords
|
|
9905
|
+
}))
|
|
9906
|
+
})),
|
|
9911
9907
|
buildIconCategory("brands", "Brands"),
|
|
9912
9908
|
buildIconCategory("solid", "Solid"),
|
|
9913
9909
|
buildIconCategory("regular", "Regular")
|
|
@@ -31145,14 +31141,12 @@ function TimelineEditorWidget({ editor, blockId }) {
|
|
|
31145
31141
|
const normalized = asciiTimelineToTemplateData(view.timeline).tracks;
|
|
31146
31142
|
return view.timeline.tracks.flatMap((track, trackIndex) => {
|
|
31147
31143
|
const templateTrack = normalized[trackIndex];
|
|
31148
|
-
return track.events.map(
|
|
31149
|
-
|
|
31150
|
-
|
|
31151
|
-
|
|
31152
|
-
|
|
31153
|
-
|
|
31154
|
-
})
|
|
31155
|
-
);
|
|
31144
|
+
return track.events.map((event, eventIndex) => ({
|
|
31145
|
+
event,
|
|
31146
|
+
trackId: track.id,
|
|
31147
|
+
trackIndex,
|
|
31148
|
+
position: templateTrack?.events[eventIndex]?.position ?? 0
|
|
31149
|
+
}));
|
|
31156
31150
|
});
|
|
31157
31151
|
}, [view]);
|
|
31158
31152
|
const displayedPositioned = useMemo37(
|
|
@@ -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 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-
|
|
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-
|
|
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 */
|
|
@@ -1034,7 +1033,7 @@ interface ToolbarProps {
|
|
|
1034
1033
|
* - WYSIWYG: calls Tiptap chain commands (toggleBold, etc.)
|
|
1035
1034
|
* - Raw: appends markdown syntax to the source
|
|
1036
1035
|
*/
|
|
1037
|
-
declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotLeft, slotAfterTabs, slotAfterActions, slotRight, showPlayTab, showFormattingControls, showInsertControls, hostMode, }: ToolbarProps):
|
|
1036
|
+
declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotLeft, slotAfterTabs, slotAfterActions, slotRight, showPlayTab, showFormattingControls, showInsertControls, hostMode, }: ToolbarProps): react.JSX.Element;
|
|
1038
1037
|
|
|
1039
1038
|
/**
|
|
1040
1039
|
* VersionHistoryPanel
|
|
@@ -1048,7 +1047,7 @@ declare function Toolbar({ className, showFiles, fileCount, onToggleFiles, slotL
|
|
|
1048
1047
|
* is read from the EditorContext — render this component anywhere inside
|
|
1049
1048
|
* a provider that has `allowVersioning` and a `container`.
|
|
1050
1049
|
*/
|
|
1051
|
-
declare function VersionHistoryPanel():
|
|
1050
|
+
declare function VersionHistoryPanel(): react.JSX.Element | null;
|
|
1052
1051
|
|
|
1053
1052
|
/**
|
|
1054
1053
|
* ViewMenuPanel
|
|
@@ -1061,7 +1060,7 @@ declare function VersionHistoryPanel(): react_jsx_runtime.JSX.Element | null;
|
|
|
1061
1060
|
* the host doesn't need to manage it. The initial value comes from the
|
|
1062
1061
|
* EditorShell `inlinePreview` prop.
|
|
1063
1062
|
*/
|
|
1064
|
-
declare function ViewMenuPanel():
|
|
1063
|
+
declare function ViewMenuPanel(): react.JSX.Element;
|
|
1065
1064
|
|
|
1066
1065
|
/**
|
|
1067
1066
|
* TransformMenu
|
|
@@ -1078,7 +1077,7 @@ declare function ViewMenuPanel(): react_jsx_runtime.JSX.Element;
|
|
|
1078
1077
|
* `setContent` lands as one Tiptap history entry.
|
|
1079
1078
|
* - Use view has no editing surface (no undo), so rows are disabled there.
|
|
1080
1079
|
*/
|
|
1081
|
-
declare function TransformMenu():
|
|
1080
|
+
declare function TransformMenu(): react.JSX.Element | null;
|
|
1082
1081
|
|
|
1083
1082
|
/**
|
|
1084
1083
|
* Write-view wrap policy — "unwrap in Write view, persist with wrapping".
|
|
@@ -1132,7 +1131,7 @@ interface OutlinePanelProps {
|
|
|
1132
1131
|
/** Disable heading-level changes and section reordering. */
|
|
1133
1132
|
readOnly?: boolean;
|
|
1134
1133
|
}
|
|
1135
|
-
declare function OutlinePanel({ width, className, readOnly }: OutlinePanelProps):
|
|
1134
|
+
declare function OutlinePanel({ width, className, readOnly }: OutlinePanelProps): react.JSX.Element;
|
|
1136
1135
|
|
|
1137
1136
|
interface ThemeCustomizerPanelProps {
|
|
1138
1137
|
/** Current custom theme (or null to start from defaults). */
|
|
@@ -1146,7 +1145,7 @@ interface ThemeCustomizerPanelProps {
|
|
|
1146
1145
|
/** Optional text trigger. Omit to use the compact icon trigger. */
|
|
1147
1146
|
triggerLabel?: string;
|
|
1148
1147
|
}
|
|
1149
|
-
declare function ThemeCustomizerPanel({ value, onChange, onSave, onReset, triggerLabel, }: ThemeCustomizerPanelProps):
|
|
1148
|
+
declare function ThemeCustomizerPanel({ value, onChange, onSave, onReset, triggerLabel, }: ThemeCustomizerPanelProps): react.JSX.Element;
|
|
1150
1149
|
|
|
1151
1150
|
interface TemplatePreviewSource {
|
|
1152
1151
|
block: Block;
|
|
@@ -1192,7 +1191,7 @@ interface TemplatePickerProps {
|
|
|
1192
1191
|
*/
|
|
1193
1192
|
previewSource?: TemplatePreviewSource;
|
|
1194
1193
|
}
|
|
1195
|
-
declare function TemplatePicker({ value, onChange, colorScheme, compact, recommended, onOpenDesigner, previewSource, }: TemplatePickerProps):
|
|
1194
|
+
declare function TemplatePicker({ value, onChange, colorScheme, compact, recommended, onOpenDesigner, previewSource, }: TemplatePickerProps): react.JSX.Element;
|
|
1196
1195
|
|
|
1197
1196
|
interface TransitionPickerProps {
|
|
1198
1197
|
value: TransitionFields;
|
|
@@ -1202,7 +1201,7 @@ interface TransitionPickerProps {
|
|
|
1202
1201
|
/** Active document-theme accent used for open and selected states. */
|
|
1203
1202
|
accentColor?: string;
|
|
1204
1203
|
}
|
|
1205
|
-
declare function TransitionPicker({ value, onChange, colorScheme, accentColor, }: TransitionPickerProps):
|
|
1204
|
+
declare function TransitionPicker({ value, onChange, colorScheme, accentColor, }: TransitionPickerProps): react.JSX.Element;
|
|
1206
1205
|
|
|
1207
1206
|
/**
|
|
1208
1207
|
* transitionCatalog
|
|
@@ -1345,7 +1344,7 @@ interface InlinePreviewGutterProps {
|
|
|
1345
1344
|
*/
|
|
1346
1345
|
mediaProvider?: MediaProvider | null;
|
|
1347
1346
|
}
|
|
1348
|
-
declare function InlinePreviewGutter({ width, basePath, viewport, className, connectorWidth, mediaProvider, }: InlinePreviewGutterProps):
|
|
1347
|
+
declare function InlinePreviewGutter({ width, basePath, viewport, className, connectorWidth, mediaProvider, }: InlinePreviewGutterProps): react.JSX.Element | null;
|
|
1349
1348
|
|
|
1350
1349
|
interface MediaBinProps {
|
|
1351
1350
|
/** The active MediaProvider (null when no media context is available) */
|
|
@@ -1393,7 +1392,7 @@ interface MediaBinProps {
|
|
|
1393
1392
|
*/
|
|
1394
1393
|
highlightPath?: string | null;
|
|
1395
1394
|
}
|
|
1396
|
-
declare function MediaBin({ mediaProvider, isDark, refreshKey, usedMediaPaths, onMediaUploaded, onMediaRemoved, onCountChange, onRecord, isRecorderOpen, allowBinaryDownloads, highlightPath, }: MediaBinProps):
|
|
1395
|
+
declare function MediaBin({ mediaProvider, isDark, refreshKey, usedMediaPaths, onMediaUploaded, onMediaRemoved, onCountChange, onRecord, isRecorderOpen, allowBinaryDownloads, highlightPath, }: MediaBinProps): react.JSX.Element;
|
|
1397
1396
|
|
|
1398
1397
|
interface StatusBarProps {
|
|
1399
1398
|
/** Additional class name */
|
|
@@ -1401,7 +1400,7 @@ interface StatusBarProps {
|
|
|
1401
1400
|
/** Host-supplied status content rendered at the right edge. */
|
|
1402
1401
|
slotRight?: ReactNode;
|
|
1403
1402
|
}
|
|
1404
|
-
declare function StatusBar({ className, slotRight }: StatusBarProps):
|
|
1403
|
+
declare function StatusBar({ className, slotRight }: StatusBarProps): react.JSX.Element;
|
|
1405
1404
|
|
|
1406
1405
|
/**
|
|
1407
1406
|
* TooltipLayer
|
|
@@ -1466,7 +1465,7 @@ interface DropZoneOverlayProps {
|
|
|
1466
1465
|
* Full-size overlay with contextual drop targets for file uploads.
|
|
1467
1466
|
* Rendered conditionally by EditorShell when files are dragged over the editor.
|
|
1468
1467
|
*/
|
|
1469
|
-
declare function DropZoneOverlay({ dragContentType, zoneProps, hasMediaProvider, }: DropZoneOverlayProps):
|
|
1468
|
+
declare function DropZoneOverlay({ dragContentType, zoneProps, hasMediaProvider, }: DropZoneOverlayProps): react.JSX.Element;
|
|
1470
1469
|
|
|
1471
1470
|
/**
|
|
1472
1471
|
* Drop Utilities
|
|
@@ -1589,7 +1588,7 @@ interface CustomTemplateProviderProps {
|
|
|
1589
1588
|
onDocTemplatesChange: (next: CustomTemplateDefinition[]) => void;
|
|
1590
1589
|
children: ReactNode;
|
|
1591
1590
|
}
|
|
1592
|
-
declare function CustomTemplateProvider({ docTemplates, onDocTemplatesChange, children, }: CustomTemplateProviderProps):
|
|
1591
|
+
declare function CustomTemplateProvider({ docTemplates, onDocTemplatesChange, children, }: CustomTemplateProviderProps): react.JSX.Element;
|
|
1593
1592
|
/**
|
|
1594
1593
|
* Hook returning the current context. Returns null when no provider is
|
|
1595
1594
|
* mounted — callers can degrade to "no custom templates" rather than
|
|
@@ -1797,7 +1796,7 @@ interface DiagramCanvasProps {
|
|
|
1797
1796
|
/** Per-editor toolbar bridge for detached scene roots. */
|
|
1798
1797
|
textChannel?: SceneTextChannel;
|
|
1799
1798
|
}
|
|
1800
|
-
declare function DiagramCanvas({ nodes: incomingNodes, edges: incomingEdges, onCommand, showMaximize, maximized, onToggleMaximize, activeToolId: controlledToolId, onActiveToolIdChange, onSelectionChange, textChannel, }: DiagramCanvasProps):
|
|
1799
|
+
declare function DiagramCanvas({ nodes: incomingNodes, edges: incomingEdges, onCommand, showMaximize, maximized, onToggleMaximize, activeToolId: controlledToolId, onActiveToolIdChange, onSelectionChange, textChannel, }: DiagramCanvasProps): react.JSX.Element;
|
|
1801
1800
|
|
|
1802
1801
|
/**
|
|
1803
1802
|
* Shared position-registry remapping for the fence-widget families (ascii
|
|
@@ -1898,7 +1897,7 @@ interface AsciiDiagramWidgetProps {
|
|
|
1898
1897
|
host?: HTMLElement | null;
|
|
1899
1898
|
textChannel?: SceneTextChannel;
|
|
1900
1899
|
}
|
|
1901
|
-
declare function AsciiDiagramWidget({ editor, blockId, host, textChannel, }: AsciiDiagramWidgetProps):
|
|
1900
|
+
declare function AsciiDiagramWidget({ editor, blockId, host, textChannel, }: AsciiDiagramWidgetProps): react.JSX.Element | null;
|
|
1902
1901
|
|
|
1903
1902
|
/**
|
|
1904
1903
|
* Read direction of the ASCII diagram loop: fence text → canvas data.
|
|
@@ -2124,7 +2123,7 @@ interface MermaidDiagramWidgetProps {
|
|
|
2124
2123
|
host?: HTMLElement | null;
|
|
2125
2124
|
themeStore?: MermaidThemeStore;
|
|
2126
2125
|
}
|
|
2127
|
-
declare function MermaidDiagramWidget({ editor, blockId, host, themeStore, }: MermaidDiagramWidgetProps):
|
|
2126
|
+
declare function MermaidDiagramWidget({ editor, blockId, host, themeStore, }: MermaidDiagramWidgetProps): react.JSX.Element | null;
|
|
2128
2127
|
|
|
2129
2128
|
/** Mermaid 11.16 flowchart shape catalog used by the structured editor. */
|
|
2130
2129
|
interface MermaidFlowchartShape {
|
|
@@ -2508,7 +2507,7 @@ interface MermaidDiagramCanvasProps {
|
|
|
2508
2507
|
onDisconnectEdge?: (id: string) => void;
|
|
2509
2508
|
onDeleteText?: (id: string) => void;
|
|
2510
2509
|
}
|
|
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):
|
|
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;
|
|
2512
2511
|
|
|
2513
2512
|
/** Live source view for one registered Mermaid code fence. */
|
|
2514
2513
|
|
|
@@ -2580,7 +2579,7 @@ interface MermaidShapePaletteProps {
|
|
|
2580
2579
|
onPick: (shape: MermaidFlowchartShapeId) => void;
|
|
2581
2580
|
onClose: () => void;
|
|
2582
2581
|
}
|
|
2583
|
-
declare function MermaidShapePalette({ selected, onPick, onClose }: MermaidShapePaletteProps):
|
|
2582
|
+
declare function MermaidShapePalette({ selected, onPick, onClose }: MermaidShapePaletteProps): react.JSX.Element;
|
|
2584
2583
|
|
|
2585
2584
|
/** Curated starter gallery for the diagram grammars supported by Mermaid 11.16. */
|
|
2586
2585
|
type MermaidDiagramCategory = 'Structure' | 'Planning' | 'Data';
|
|
@@ -2602,7 +2601,7 @@ declare function mermaidDiagramMarkdown(source: string): string;
|
|
|
2602
2601
|
/** Small authored SVG cues; these avoid spinning up Mermaid for every gallery tile. */
|
|
2603
2602
|
declare function MermaidDiagramTypeThumbnail({ preview }: {
|
|
2604
2603
|
preview: MermaidDiagramPreview;
|
|
2605
|
-
}):
|
|
2604
|
+
}): react.JSX.Element;
|
|
2606
2605
|
|
|
2607
2606
|
/**
|
|
2608
2607
|
* Tiptap extension for ordinary explicit-language code fences.
|
|
@@ -2664,7 +2663,7 @@ interface CodeSnippetWidgetProps {
|
|
|
2664
2663
|
*/
|
|
2665
2664
|
onCopyCode?: () => CodeBlockCopyHandler | undefined;
|
|
2666
2665
|
}
|
|
2667
|
-
declare function CodeSnippetWidget({ editor, blockId, host, focusOnMount, onCopyCode, }: CodeSnippetWidgetProps):
|
|
2666
|
+
declare function CodeSnippetWidget({ editor, blockId, host, focusOnMount, onCopyCode, }: CodeSnippetWidgetProps): react.JSX.Element | null;
|
|
2668
2667
|
|
|
2669
2668
|
/** Lossless edits for language-tagged code fences. */
|
|
2670
2669
|
|
|
@@ -2736,7 +2735,7 @@ interface TreeOutlineWidgetProps {
|
|
|
2736
2735
|
fallbackPos: number;
|
|
2737
2736
|
host?: HTMLElement | null;
|
|
2738
2737
|
}
|
|
2739
|
-
declare function TreeOutlineWidget({ editor, blockId }: TreeOutlineWidgetProps):
|
|
2738
|
+
declare function TreeOutlineWidget({ editor, blockId }: TreeOutlineWidgetProps): react.JSX.Element | null;
|
|
2740
2739
|
|
|
2741
2740
|
/**
|
|
2742
2741
|
* Read direction of the tree loop: fence text → outline view.
|
|
@@ -3126,7 +3125,7 @@ interface VideoEmbedDialogProps {
|
|
|
3126
3125
|
/** Dismiss without changes. */
|
|
3127
3126
|
onClose: () => void;
|
|
3128
3127
|
}
|
|
3129
|
-
declare function VideoEmbedDialog({ mode, initialInput, initialTitle, onConfirm, onClose, }: VideoEmbedDialogProps):
|
|
3128
|
+
declare function VideoEmbedDialog({ mode, initialInput, initialTitle, onConfirm, onClose, }: VideoEmbedDialogProps): react.JSX.Element;
|
|
3130
3129
|
|
|
3131
3130
|
/**
|
|
3132
3131
|
* Putting a stored file into the document, in whichever view is active.
|
|
@@ -3315,7 +3314,7 @@ interface TimelineEditorWidgetProps {
|
|
|
3315
3314
|
editor: Editor;
|
|
3316
3315
|
blockId: string;
|
|
3317
3316
|
}
|
|
3318
|
-
declare function TimelineEditorWidget({ editor, blockId }: TimelineEditorWidgetProps):
|
|
3317
|
+
declare function TimelineEditorWidget({ editor, blockId }: TimelineEditorWidgetProps): react.JSX.Element | null;
|
|
3319
3318
|
|
|
3320
3319
|
/** Live read-direction adapter from a registered timeline fence to React. */
|
|
3321
3320
|
|
|
@@ -3504,7 +3503,7 @@ interface RecorderSlidesPanelProps {
|
|
|
3504
3503
|
/** Block ids already first-shown this take; drives the progress dots. */
|
|
3505
3504
|
shownBlockIds?: ReadonlySet<string>;
|
|
3506
3505
|
}
|
|
3507
|
-
declare function RecorderSlidesPanel({ slides, index, onIndexChange, viewport, basePath, mediaProvider, recording, shownBlockIds, }: RecorderSlidesPanelProps):
|
|
3506
|
+
declare function RecorderSlidesPanel({ slides, index, onIndexChange, viewport, basePath, mediaProvider, recording, shownBlockIds, }: RecorderSlidesPanelProps): react.JSX.Element;
|
|
3508
3507
|
|
|
3509
3508
|
/**
|
|
3510
3509
|
* Pure decision helpers for the Record media dialog's slides mode — the peer
|
package/dist/index.js
CHANGED
|
@@ -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';
|