@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/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
- /** Whether the docked video monitor is currently visible. */
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, videoVisible, }: TimelineTrackProps): react_jsx_runtime.JSX.Element | null;
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
@@ -194,7 +194,7 @@ import {
194
194
  usePreviewSettings,
195
195
  useTimelineData,
196
196
  useTreeViewData
197
- } from "./chunk-XOMQK4JA.js";
197
+ } from "./chunk-JGW6BJZJ.js";
198
198
  import "./chunk-V4NBQF5C.js";
199
199
  import {
200
200
  JsonEditor
@@ -5,7 +5,7 @@ import {
5
5
  RawEditor,
6
6
  WysiwygEditor,
7
7
  useEditorContext
8
- } from "../chunk-XOMQK4JA.js";
8
+ } from "../chunk-JGW6BJZJ.js";
9
9
  import "../chunk-V4NBQF5C.js";
10
10
  import "../chunk-WLJ623UZ.js";
11
11
  import "../chunk-V44VP242.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/squisq-editor-react",
3
- "version": "2.4.2",
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.2",
88
- "@bendyline/squisq-formats": "2.3.6",
89
- "@bendyline/squisq-react": "2.4.2",
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",