@bendyline/squisq-video-react 2.5.2 → 2.5.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/{chunk-DED3TWDX.js → chunk-5QQAZL7S.js} +1 -1
- package/dist/{chunk-N52HE3VP.js → chunk-7XM7QOF3.js} +1 -1
- package/dist/{chunk-RFPZS36V.js → chunk-WU53HCFR.js} +1 -1
- package/dist/{chunk-6RA6UME5.js → chunk-WWINHXWE.js} +2 -1
- package/dist/components/index.js +4 -4
- package/dist/cover-image/index.js +2 -2
- package/dist/dashboard-image/index.js +1 -1
- package/dist/hooks/index.js +2 -2
- package/dist/index.js +4 -4
- package/package.json +4 -4
|
@@ -4,7 +4,7 @@ import { createRoot } from "react-dom/client";
|
|
|
4
4
|
import { useRef, useCallback, useMemo } from "react";
|
|
5
5
|
import { parseMediaCrop } from "@bendyline/squisq/mediaEdit";
|
|
6
6
|
import { resolveDashboardStyleId } from "@bendyline/squisq/doc";
|
|
7
|
-
import { DocPlayer, MediaContext } from "@bendyline/squisq-react";
|
|
7
|
+
import { DocPlayer, MediaContext, decodeSvgImages } from "@bendyline/squisq-react";
|
|
8
8
|
|
|
9
9
|
// src/hooks/captureVideoFrames.ts
|
|
10
10
|
var FRAME_TIME_EPSILON_SECONDS = 1e-4;
|
|
@@ -345,6 +345,7 @@ async function waitForCaptureAssets(captureRoot, decodedImages = /* @__PURE__ */
|
|
|
345
345
|
decodedImages.add(image);
|
|
346
346
|
})
|
|
347
347
|
);
|
|
348
|
+
await decodeSvgImages(captureRoot);
|
|
348
349
|
}
|
|
349
350
|
function waitForCaptureVideoState(video, description, isReady, update) {
|
|
350
351
|
if (isReady()) return Promise.resolve();
|
package/dist/components/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VideoExportButton,
|
|
3
3
|
VideoExportModal
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-7XM7QOF3.js";
|
|
5
5
|
import {
|
|
6
6
|
CoverImageExportModal,
|
|
7
7
|
coverImageFilename,
|
|
8
8
|
validateCoverImageDimensions
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-5QQAZL7S.js";
|
|
10
10
|
import "../chunk-3NJDHK62.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-WU53HCFR.js";
|
|
12
|
+
import "../chunk-WWINHXWE.js";
|
|
13
13
|
import "../chunk-RIXBIX3H.js";
|
|
14
14
|
import "../chunk-5MFQMJ5Z.js";
|
|
15
15
|
export {
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
CoverImageExportModal,
|
|
3
3
|
coverImageFilename,
|
|
4
4
|
validateCoverImageDimensions
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-5QQAZL7S.js";
|
|
6
6
|
import "../chunk-3NJDHK62.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-WWINHXWE.js";
|
|
8
8
|
export {
|
|
9
9
|
CoverImageExportModal,
|
|
10
10
|
coverImageFilename,
|
package/dist/hooks/index.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
resolveVideoCoverFramePlan,
|
|
4
4
|
resolveVideoExportCover,
|
|
5
5
|
useVideoExport
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-WU53HCFR.js";
|
|
7
7
|
import {
|
|
8
8
|
useFrameCapture
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-WWINHXWE.js";
|
|
10
10
|
import "../chunk-RIXBIX3H.js";
|
|
11
11
|
import "../chunk-5MFQMJ5Z.js";
|
|
12
12
|
export {
|
package/dist/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VideoExportButton,
|
|
3
3
|
VideoExportModal
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7XM7QOF3.js";
|
|
5
5
|
import {
|
|
6
6
|
CoverImageExportModal,
|
|
7
7
|
coverImageFilename,
|
|
8
8
|
validateCoverImageDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5QQAZL7S.js";
|
|
10
10
|
import "./chunk-3NJDHK62.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_VIDEO_COVER_PRE_ROLL_SECONDS,
|
|
13
13
|
resolveVideoCoverFramePlan,
|
|
14
14
|
resolveVideoExportCover,
|
|
15
15
|
useVideoExport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WU53HCFR.js";
|
|
17
17
|
import {
|
|
18
18
|
useFrameCapture
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WWINHXWE.js";
|
|
20
20
|
import {
|
|
21
21
|
createAudioFileEncoder,
|
|
22
22
|
supportedAudioFileFormats
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/squisq-video-react",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.3",
|
|
4
4
|
"description": "React components for browser-based MP4 and animated-GIF export of Squisq documents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@bendyline/squisq": "2.12.
|
|
81
|
-
"@bendyline/squisq-video": "2.4.
|
|
82
|
-
"@bendyline/squisq-react": "2.12.
|
|
80
|
+
"@bendyline/squisq": "2.12.2",
|
|
81
|
+
"@bendyline/squisq-video": "2.4.2",
|
|
82
|
+
"@bendyline/squisq-react": "2.12.3",
|
|
83
83
|
"@ffmpeg/core": "0.12.10",
|
|
84
84
|
"@ffmpeg/ffmpeg": "0.12.15",
|
|
85
85
|
"@ffmpeg/util": "0.12.2",
|