@bendyline/squisq-editor-react 2.11.3 → 2.11.5
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/dist/{chunk-PMNNJYFD.js → chunk-34FRFDQ6.js} +138 -30
- package/dist/{chunk-7RRYZULY.js → chunk-BJ3TXAIQ.js} +155 -15
- package/dist/{chunk-VH45VMPL.js → chunk-DN6XFOY2.js} +1 -1
- package/dist/chunk-DUO5XZQK.js +1653 -0
- package/dist/{chunk-UNOKKSAC.js → chunk-ENDRPV6T.js} +1 -1
- package/dist/{chunk-A2W4GYPG.js → chunk-ES6CPRCW.js} +5 -4
- package/dist/{chunk-SK3MQSHQ.js → chunk-UYKOTWJM.js} +1 -1
- package/dist/{chunk-AAIZHMVD.js → chunk-WMNH5ROU.js} +2802 -3764
- package/dist/index.d.ts +9 -57
- package/dist/index.js +19 -17
- package/dist/json-editor/index.js +2 -2
- package/dist/proofing/index.d.ts +2 -2
- package/dist/recorder/index.d.ts +2 -2
- package/dist/recorder/index.js +3 -3
- package/dist/{recorder-GrEh4xE8.d.ts → recorder-B6MtQH5u.d.ts} +4 -2
- package/dist/review/index.d.ts +285 -0
- package/dist/review/index.js +103 -0
- package/dist/shell/index.d.ts +4 -2
- package/dist/shell/index.js +9 -7
- package/dist/{shell-CJkHDwpz.d.ts → shell-Dwf_W4K4.d.ts} +116 -3
- package/dist/styles/index.css +152 -0
- package/dist/teleprompter/index.d.ts +2 -2
- package/dist/teleprompter/index.js +2 -2
- package/dist/types-C0puuw-M.d.ts +81 -0
- package/dist/{types-B_aHRuSc.d.ts → types-De4z-gGb.d.ts} +1 -1
- package/dist/{useNarrationStage-B6r9Zlq-.d.ts → useNarrationStage-D3Sgcf0L.d.ts} +19 -0
- package/package.json +10 -6
|
@@ -110,6 +110,12 @@ interface RecorderCameraLane {
|
|
|
110
110
|
extension: string | null;
|
|
111
111
|
}
|
|
112
112
|
interface UseMediaRecorderOptions {
|
|
113
|
+
/**
|
|
114
|
+
* Combined byte threshold for automatically stopping every capture lane.
|
|
115
|
+
* Defaults to 90 MiB. Browser chunk delivery can be delayed, so the final
|
|
116
|
+
* blobs may exceed this threshold; all bytes are retained for recovery.
|
|
117
|
+
*/
|
|
118
|
+
maxRecordingBytes?: number;
|
|
113
119
|
/** Which capture pipeline to use (default: `'mic'`). */
|
|
114
120
|
source?: RecorderSource;
|
|
115
121
|
/**
|
|
@@ -171,6 +177,12 @@ interface UseMediaRecorderOptions {
|
|
|
171
177
|
includeMicrophone?: boolean;
|
|
172
178
|
}
|
|
173
179
|
interface UseMediaRecorderResult {
|
|
180
|
+
/** Bytes received across all capture lanes, including the final flush. */
|
|
181
|
+
recordedBytes: number;
|
|
182
|
+
/** Effective byte threshold for this recorder. */
|
|
183
|
+
maxRecordingBytes: number;
|
|
184
|
+
/** Whether the recorder automatically stopped after reaching its byte threshold. */
|
|
185
|
+
limitReached: boolean;
|
|
174
186
|
/** Current recorder state. */
|
|
175
187
|
state: RecorderState;
|
|
176
188
|
/** `MediaStream` acquired by `request()`; live during preview/recording and
|
|
@@ -492,6 +504,8 @@ interface UseNarrationRecorderOptions {
|
|
|
492
504
|
audioRecorderOptions?: NarrationMediaRecorderOptions;
|
|
493
505
|
/** MediaRecorder hints for the camera companion file. */
|
|
494
506
|
cameraRecorderOptions?: NarrationMediaRecorderOptions;
|
|
507
|
+
/** Combined audio/camera soft stop threshold; defaults to 90 MiB. Final chunks are retained. */
|
|
508
|
+
maxRecordingBytes?: number;
|
|
495
509
|
/** Fired when capture actually starts (View starts the prompter). */
|
|
496
510
|
onRecordingStart?: () => void;
|
|
497
511
|
onRecordingStop?: () => void;
|
|
@@ -499,6 +513,9 @@ interface UseNarrationRecorderOptions {
|
|
|
499
513
|
interface NarrationRecorderController {
|
|
500
514
|
state: NarrationRecorderState;
|
|
501
515
|
error: Error | null;
|
|
516
|
+
recordedBytes: number;
|
|
517
|
+
maxRecordingBytes: number;
|
|
518
|
+
limitReached: boolean;
|
|
502
519
|
withCamera: boolean;
|
|
503
520
|
setWithCamera: (on: boolean) => void;
|
|
504
521
|
/** Live camera stream for the self-view while recording. */
|
|
@@ -546,6 +563,8 @@ interface UseNarrationStageOptions {
|
|
|
546
563
|
micConstraints?: MediaTrackConstraints;
|
|
547
564
|
/** Constraints for the optional narration camera lane. */
|
|
548
565
|
cameraConstraints?: MediaTrackConstraints;
|
|
566
|
+
/** Combined narration audio/camera soft stop threshold, in bytes. */
|
|
567
|
+
maxRecordingBytes?: number;
|
|
549
568
|
/** MediaRecorder hints for the narration audio file. */
|
|
550
569
|
audioRecorderOptions?: NarrationMediaRecorderOptions;
|
|
551
570
|
/** MediaRecorder hints for the optional narration camera file. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/squisq-editor-react",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.5",
|
|
4
4
|
"description": "React editor shell with raw/WYSIWYG/preview modes for Squisq documents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -72,6 +72,10 @@
|
|
|
72
72
|
"types": "./dist/proofing/index.d.ts",
|
|
73
73
|
"import": "./dist/proofing/index.js"
|
|
74
74
|
},
|
|
75
|
+
"./review": {
|
|
76
|
+
"types": "./dist/review/index.d.ts",
|
|
77
|
+
"import": "./dist/review/index.js"
|
|
78
|
+
},
|
|
75
79
|
"./styles": {
|
|
76
80
|
"types": "./dist/styles/index.d.ts",
|
|
77
81
|
"default": "./dist/styles/index.css"
|
|
@@ -94,12 +98,12 @@
|
|
|
94
98
|
}
|
|
95
99
|
},
|
|
96
100
|
"dependencies": {
|
|
97
|
-
"@bendyline/squisq": "2.11.
|
|
101
|
+
"@bendyline/squisq": "2.11.5",
|
|
98
102
|
"@bendyline/squisq-calc": "2.11.0",
|
|
99
|
-
"@bendyline/squisq-formats": "2.6.
|
|
100
|
-
"@bendyline/squisq-grid-react": "2.11.
|
|
101
|
-
"@bendyline/squisq-react": "2.11.
|
|
102
|
-
"@bendyline/squisq-video-react": "2.4.
|
|
103
|
+
"@bendyline/squisq-formats": "2.6.5",
|
|
104
|
+
"@bendyline/squisq-grid-react": "2.11.6",
|
|
105
|
+
"@bendyline/squisq-react": "2.11.5",
|
|
106
|
+
"@bendyline/squisq-video-react": "2.4.9",
|
|
103
107
|
"@fortawesome/fontawesome-free": "7.2.0",
|
|
104
108
|
"@tiptap/core": "2.27.2",
|
|
105
109
|
"@tiptap/extension-heading": "2.27.2",
|