@bendyline/squisq-editor-react 2.11.18 → 2.11.19

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.
@@ -380,6 +380,13 @@ interface TeleprompterController {
380
380
  prefs: TeleprompterPrefs;
381
381
  setPrefs: (patch: Partial<TeleprompterPrefs>) => void;
382
382
  play: () => void;
383
+ /**
384
+ * `play()`, resolving when the prompter actually rolls: true once the
385
+ * countdown finishes (at once if there is none or it is already rolling),
386
+ * false if pause/restart/unmount cancels the countdown first. Capture
387
+ * awaits this so a take opens at "go", not on "3, 2, 1".
388
+ */
389
+ countIn: () => Promise<boolean>;
383
390
  pause: () => void;
384
391
  restart: () => void;
385
392
  /** Move by spoken words and re-anchor voice tracking. */
@@ -519,8 +526,15 @@ interface UseNarrationRecorderOptions {
519
526
  cameraRecorderOptions?: NarrationMediaRecorderOptions;
520
527
  /** Combined audio/camera soft stop threshold; defaults to 90 MiB. Final chunks are retained. */
521
528
  maxRecordingBytes?: number;
522
- /** Fired when capture actually starts (View starts the prompter). */
529
+ /**
530
+ * Awaited once every device is live, immediately before the first byte is
531
+ * captured — the prompter's countdown. Resolving false cancels the start
532
+ * with nothing recorded.
533
+ */
534
+ countIn?: () => Promise<boolean>;
535
+ /** Fired once capture is running. */
523
536
  onRecordingStart?: () => void;
537
+ /** Fired on stop, including a stop while the start (or its count-in) is pending. */
524
538
  onRecordingStop?: () => void;
525
539
  }
526
540
  interface NarrationRecorderController {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/squisq-editor-react",
3
- "version": "2.11.18",
3
+ "version": "2.11.19",
4
4
  "description": "React editor shell with raw/WYSIWYG/preview modes for Squisq documents",
5
5
  "license": "MIT",
6
6
  "author": "Bendyline",
@@ -102,12 +102,12 @@
102
102
  }
103
103
  },
104
104
  "dependencies": {
105
- "@bendyline/squisq": "2.11.15",
105
+ "@bendyline/squisq": "2.11.16",
106
106
  "@bendyline/squisq-calc": "2.11.1",
107
- "@bendyline/squisq-formats": "2.6.15",
108
- "@bendyline/squisq-grid-react": "2.11.16",
109
- "@bendyline/squisq-react": "2.11.17",
110
- "@bendyline/squisq-video-react": "2.4.21",
107
+ "@bendyline/squisq-formats": "2.6.16",
108
+ "@bendyline/squisq-grid-react": "2.11.17",
109
+ "@bendyline/squisq-react": "2.11.18",
110
+ "@bendyline/squisq-video-react": "2.4.22",
111
111
  "@fortawesome/fontawesome-free": "7.2.0",
112
112
  "@tiptap/core": "2.27.3",
113
113
  "@tiptap/extension-heading": "2.27.3",