@bendyline/squisq-editor-react 2.4.2 → 2.4.3
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 -0
- package/THIRD_PARTY_LICENSES.txt +0 -52
- package/dist/{chunk-XOMQK4JA.js → chunk-JGW6BJZJ.js} +249 -2392
- package/dist/index.d.ts +13 -2
- package/dist/index.js +1 -1
- package/dist/shell/index.js +1 -1
- package/package.json +6 -4
package/dist/index.d.ts
CHANGED
|
@@ -232,10 +232,18 @@ interface TimelineClock {
|
|
|
232
232
|
toggle: () => void;
|
|
233
233
|
/** Jump to a time (clamped to `[0, total]`). */
|
|
234
234
|
seek: (t: number) => void;
|
|
235
|
+
/**
|
|
236
|
+
* Registers the single media host driven by this clock. Keeping registration
|
|
237
|
+
* on the clock lets every play entry point (transport button or composition
|
|
238
|
+
* preview) unlock active media inside the originating browser gesture.
|
|
239
|
+
*/
|
|
240
|
+
registerMediaHost?: (host: HTMLElement | null) => void;
|
|
235
241
|
}
|
|
236
242
|
|
|
237
243
|
interface TimelineTrackProps {
|
|
238
244
|
height?: number;
|
|
245
|
+
/** Base path used when a media source is not resolved by MediaContext. */
|
|
246
|
+
basePath?: string;
|
|
239
247
|
/**
|
|
240
248
|
* Doc used for bar geometry / timing. Callers pass the narration-timed
|
|
241
249
|
* projection so the track matches what actually plays; falls back to the
|
|
@@ -247,10 +255,13 @@ interface TimelineTrackProps {
|
|
|
247
255
|
clock?: TimelineClock;
|
|
248
256
|
/** Reuse an already-resolved schedule instead of deriving it from the doc. */
|
|
249
257
|
schedule?: ScheduledClip[];
|
|
250
|
-
/**
|
|
258
|
+
/**
|
|
259
|
+
* @deprecated Preview panes are visual-only and no longer take audio
|
|
260
|
+
* ownership. Retained so existing callers remain source-compatible.
|
|
261
|
+
*/
|
|
251
262
|
videoVisible?: boolean;
|
|
252
263
|
}
|
|
253
|
-
declare function TimelineTrack({ height, doc: docProp, clock, schedule,
|
|
264
|
+
declare function TimelineTrack({ height, basePath, doc: docProp, clock, schedule, }: TimelineTrackProps): react_jsx_runtime.JSX.Element | null;
|
|
254
265
|
|
|
255
266
|
interface TimelineVideoPanelProps {
|
|
256
267
|
schedule: ScheduledClip[];
|
package/dist/index.js
CHANGED
package/dist/shell/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/squisq-editor-react",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.3",
|
|
4
4
|
"description": "React editor shell with raw/WYSIWYG/preview modes for Squisq documents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -84,10 +84,12 @@
|
|
|
84
84
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@bendyline/squisq": "2.4.
|
|
88
|
-
"@bendyline/squisq-formats": "2.3.
|
|
89
|
-
"@bendyline/squisq-react": "2.4.
|
|
87
|
+
"@bendyline/squisq": "2.4.3",
|
|
88
|
+
"@bendyline/squisq-formats": "2.3.7",
|
|
89
|
+
"@bendyline/squisq-react": "2.4.3",
|
|
90
90
|
"@fortawesome/fontawesome-free": "7.2.0",
|
|
91
|
+
"@tiptap/core": "2.27.2",
|
|
92
|
+
"@tiptap/extension-heading": "2.27.2",
|
|
91
93
|
"@tiptap/extension-image": "2.27.2",
|
|
92
94
|
"@tiptap/extension-link": "2.27.2",
|
|
93
95
|
"@tiptap/extension-mention": "2.27.2",
|