@bendyline/squisq-editor-react 2.9.0 → 2.10.1

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.
@@ -188,6 +188,16 @@ interface UseMediaRecorderResult {
188
188
  directory: 'audio' | 'video' | null;
189
189
  /** Milliseconds elapsed since `start()` was called. Updates ~10× per second while recording. */
190
190
  durationMs: number;
191
+ /**
192
+ * Milliseconds since `start()`, read at the moment of the call — or null
193
+ * when no take is rolling.
194
+ *
195
+ * The companion of `durationMs`, for callers that need to STAMP an event
196
+ * rather than display a clock. `durationMs` is a 10 Hz state value and so
197
+ * lags by up to one tick, which is fine for a readout but not for recording
198
+ * when the presenter advanced a slide.
199
+ */
200
+ getElapsedMs: () => number | null;
191
201
  /** Most recent error, if any. */
192
202
  error: Error | null;
193
203
  /**
@@ -557,4 +567,4 @@ interface NarrationStageHandle {
557
567
  }
558
568
  declare function useNarrationStage(opts: UseNarrationStageOptions): NarrationStageHandle;
559
569
 
560
- export { useMediaRecorder as A, useMicAnalysis as B, type CanvasSink as C, DEFAULT_TELEPROMPTER_PREFS as D, useNarrationRecorder as E, type FloatOpenOptions as F, useNarrationStage as G, useTeleprompter as H, vadConfigForSensitivity as I, TELEPROMPTER_PREF_LIMITS as J, normalizeTeleprompterPrefs as K, type MicAnalysisHandle as M, type NarrationRecorderController as N, type PrompterTransport as P, type RecorderAudioBitrateMode as R, type TeleprompterController as T, type UseMediaRecorderOptions as U, type CaptureKind as a, type FloatTier as b, type FloatingWindowHandle as c, type FloatingWindowManager as d, type MicAnalysisStatus as e, type NarrationRecorderState as f, type NarrationStageHandle as g, type NarrationTake as h, type RecorderCameraLane as i, type RecorderExtendedMediaOptions as j, type RecorderSource as k, type RecorderState as l, type ResolvedFormat as m, type TeleprompterPrefs as n, type TeleprompterRecordingDeps as o, type UseMediaRecorderResult as p, type UseNarrationStageOptions as q, buildFilename as r, createFloatingWindowManager as s, detectFloatTiers as t, getCaptureKind as u, resolveFormat as v, supportsDisplayMedia as w, supportsMediaRecorder as x, supportsUserMedia as y, useFloatingWindow as z };
570
+ export { useMediaRecorder as A, useMicAnalysis as B, type CanvasSink as C, DEFAULT_TELEPROMPTER_PREFS as D, useNarrationRecorder as E, type FloatOpenOptions as F, useNarrationStage as G, useTeleprompter as H, vadConfigForSensitivity as I, TELEPROMPTER_PREF_LIMITS as J, normalizeTeleprompterPrefs as K, type MicAnalysisHandle as M, type NarrationRecorderController as N, type PrompterTransport as P, type RecorderState as R, type TeleprompterController as T, type UseMediaRecorderOptions as U, type CaptureKind as a, type FloatTier as b, type FloatingWindowHandle as c, type FloatingWindowManager as d, type MicAnalysisStatus as e, type NarrationRecorderState as f, type NarrationStageHandle as g, type NarrationTake as h, type RecorderAudioBitrateMode as i, type RecorderCameraLane as j, type RecorderExtendedMediaOptions as k, type RecorderSource as l, type ResolvedFormat as m, type TeleprompterPrefs as n, type TeleprompterRecordingDeps as o, type UseMediaRecorderResult as p, type UseNarrationStageOptions as q, buildFilename as r, createFloatingWindowManager as s, detectFloatTiers as t, getCaptureKind as u, resolveFormat as v, supportsDisplayMedia as w, supportsMediaRecorder as x, supportsUserMedia as y, useFloatingWindow as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/squisq-editor-react",
3
- "version": "2.9.0",
3
+ "version": "2.10.1",
4
4
  "description": "React editor shell with raw/WYSIWYG/preview modes for Squisq documents",
5
5
  "license": "MIT",
6
6
  "author": "Bendyline",
@@ -68,6 +68,10 @@
68
68
  "types": "./dist/teleprompter/index.d.ts",
69
69
  "import": "./dist/teleprompter/index.js"
70
70
  },
71
+ "./proofing": {
72
+ "types": "./dist/proofing/index.d.ts",
73
+ "import": "./dist/proofing/index.js"
74
+ },
71
75
  "./styles": {
72
76
  "types": "./dist/styles/index.d.ts",
73
77
  "default": "./dist/styles/index.css"
@@ -79,15 +83,21 @@
79
83
  "typecheck": "tsc --noEmit"
80
84
  },
81
85
  "peerDependencies": {
86
+ "harper.js": "^2.7.0",
82
87
  "monaco-editor": "~0.50.0",
83
88
  "react": "^18.0.0 || ^19.0.0",
84
89
  "react-dom": "^18.0.0 || ^19.0.0"
85
90
  },
91
+ "peerDependenciesMeta": {
92
+ "harper.js": {
93
+ "optional": true
94
+ }
95
+ },
86
96
  "dependencies": {
87
- "@bendyline/squisq": "2.9.0",
88
- "@bendyline/squisq-formats": "2.4.6",
89
- "@bendyline/squisq-react": "2.9.0",
90
- "@bendyline/squisq-video-react": "2.4.1",
97
+ "@bendyline/squisq": "2.10.0",
98
+ "@bendyline/squisq-formats": "2.5.1",
99
+ "@bendyline/squisq-react": "2.10.0",
100
+ "@bendyline/squisq-video-react": "2.4.2",
91
101
  "@fortawesome/fontawesome-free": "7.2.0",
92
102
  "@tiptap/core": "2.27.2",
93
103
  "@tiptap/extension-heading": "2.27.2",
@@ -112,6 +122,7 @@
112
122
  "@monaco-editor/react": "4.7.0",
113
123
  "@types/react": "18.3.28",
114
124
  "@types/react-dom": "18.3.7",
125
+ "harper.js": "2.7.0",
115
126
  "monaco-editor": "0.50.0",
116
127
  "react": "18.3.1",
117
128
  "react-dom": "18.3.1",