π₯ Make videos programmatically with React
v4.0.519
Jonny Burger838d5c660ca3
diff --git a/bun.lock b/bun.lockindex 0523057871..18e175438f 100644--- a/bun.lock+++ b/bun.lock@@ -24,7 +24,7 @@},"packages/animated-emoji": {"name": "@remotion/animated-emoji",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -36,7 +36,7 @@},"packages/animation-utils": {"name": "@remotion/animation-utils",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -52,7 +52,7 @@},"packages/astro-example": {"name": "@remotion/astro-example",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@astrojs/react": "4.0.0","@remotion/gif": "workspace:*",@@ -71,7 +71,7 @@},"packages/babel-loader": {"name": "@remotion/babel-loader",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@babel/core": "7.29.6","@babel/plugin-proposal-class-properties": "7.14.5",@@ -95,7 +95,7 @@},"packages/brand": {"name": "@remotion/brand",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@mediabunny/prores": "catalog:",},@@ -137,7 +137,7 @@},"packages/browser-studio": {"name": "@remotion/browser-studio",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/studio-codemods": "workspace:*","@remotion/studio-protocol": "workspace:*",@@ -164,7 +164,7 @@},"packages/bundler": {"name": "@remotion/bundler",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/media-parser": "workspace:*","@remotion/studio": "workspace:*",@@ -193,7 +193,7 @@},"packages/canvas": {"name": "@remotion/canvas",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/player": "workspace:*","remotion": "workspace:*",@@ -214,8 +214,9 @@},"packages/canvas-capture-extension": {"name": "@remotion/canvas-capture-extension",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {+ "@remotion/design": "workspace:*","mediabunny": "catalog:","react": "catalog:","react-dom": "catalog:",@@ -235,7 +236,7 @@},"packages/captions": {"name": "@remotion/captions",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -244,7 +245,7 @@},"packages/claude-code-plugin": {"name": "@remotion/claude-code-plugin",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -253,7 +254,7 @@},"packages/cli": {"name": "@remotion/cli",- "version": "4.0.518",+ "version": "4.0.519","bin": {"remotion": "remotion-cli.js","remotionb": "remotionb-cli.js",@@ -298,7 +299,7 @@},"packages/cloudrun": {"name": "@remotion/cloudrun",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@google-cloud/artifact-registry": "3.5.1","@google-cloud/functions-framework": "3.4.6",@@ -324,7 +325,7 @@},"packages/codex-plugin": {"name": "@remotion/codex-plugin",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -333,39 +334,39 @@},"packages/compositor": {"name": "@remotion/compositor",- "version": "4.0.518",+ "version": "4.0.519",},"packages/compositor-darwin-arm64": {"name": "@remotion/compositor-darwin-arm64",- "version": "4.0.518",+ "version": "4.0.519",},"packages/compositor-darwin-x64": {"name": "@remotion/compositor-darwin-x64",- "version": "4.0.518",+ "version": "4.0.519",},"packages/compositor-linux-arm64-gnu": {"name": "@remotion/compositor-linux-arm64-gnu",- "version": "4.0.518",+ "version": "4.0.519",},"packages/compositor-linux-arm64-musl": {"name": "@remotion/compositor-linux-arm64-musl",- "version": "4.0.518",+ "version": "4.0.519",},"packages/compositor-linux-x64-gnu": {"name": "@remotion/compositor-linux-x64-gnu",- "version": "4.0.518",+ "version": "4.0.519",},"packages/compositor-linux-x64-musl": {"name": "@remotion/compositor-linux-x64-musl",- "version": "4.0.518",+ "version": "4.0.519",},"packages/compositor-win32-x64-msvc": {"name": "@remotion/compositor-win32-x64-msvc",- "version": "4.0.518",+ "version": "4.0.519",},"packages/convert": {"name": "@remotion/convert",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@mediabunny/aac-encoder": "catalog:","@mediabunny/ac3": "catalog:",@@ -428,7 +429,7 @@},"packages/core": {"name": "remotion",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@happy-dom/global-registrator": "14.5.1","@remotion/eslint-config-internal": "workspace:*",@@ -450,7 +451,7 @@},"packages/create-video": {"name": "create-video",- "version": "4.0.518",+ "version": "4.0.519","bin": {"create-video": "bin.js",},@@ -472,7 +473,7 @@},"packages/design": {"name": "@remotion/design",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@radix-ui/react-select": "2.1.1","@radix-ui/react-slot": "1.2.4",@@ -502,11 +503,11 @@},"packages/discord-poster": {"name": "@remotion/discord-poster",- "version": "4.0.518",+ "version": "4.0.519",},"packages/docs": {"name": "docs",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@aws-sdk/s3-request-presigner": "catalog:","@babel/parser": "7.24.1",@@ -641,7 +642,7 @@},"packages/docusaurus-plugin": {"name": "@remotion/docusaurus-plugin",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@docusaurus/types": "3.6.0","@shikijs/twoslash": "3.22.0",@@ -660,7 +661,7 @@},"packages/effects": {"name": "@remotion/effects",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -674,7 +675,7 @@},"packages/elevenlabs": {"name": "@remotion/elevenlabs",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/captions": "workspace:*",},@@ -686,7 +687,7 @@},"packages/enable-scss": {"name": "@remotion/enable-scss",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"css-loader": "7.1.4","sass-loader": "14.2.1",@@ -704,7 +705,7 @@},"packages/eslint-config": {"name": "@remotion/eslint-config",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@remotion/eslint-plugin": "workspace:*",@@ -721,7 +722,7 @@},"packages/eslint-config-flat": {"name": "@remotion/eslint-config-flat",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"typescript-eslint": "8.21.0",},@@ -740,7 +741,7 @@},"packages/eslint-config-internal": {"name": "@remotion/eslint-config-internal",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@eslint/compat": "1.2.2","@eslint/eslintrc": "3.1.0",@@ -759,7 +760,7 @@},"packages/eslint-plugin": {"name": "@remotion/eslint-plugin",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@typescript-eslint/utils": "5.19.0",},@@ -774,7 +775,7 @@},"packages/example": {"name": "@remotion/example",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@mdx-js/loader": "2.3.0","@mdx-js/react": "2.3.0",@@ -871,7 +872,7 @@},"packages/example-videos": {"name": "@remotion/example-videos",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -882,7 +883,7 @@},"packages/example-without-zod": {"name": "@remotion/example-without-zod",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/cli": "workspace:*","react": "catalog:",@@ -892,7 +893,7 @@},"packages/fonts": {"name": "@remotion/fonts",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -904,7 +905,7 @@},"packages/gif": {"name": "@remotion/gif",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -925,7 +926,7 @@},"packages/google-fonts": {"name": "@remotion/google-fonts",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -938,7 +939,7 @@},"packages/gsap": {"name": "@remotion/gsap",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -961,7 +962,7 @@},"packages/install-whisper-cpp": {"name": "@remotion/install-whisper-cpp",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/captions": "workspace:*",},@@ -973,7 +974,7 @@},"packages/it-tests": {"name": "@remotion/it-tests",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@mdx-js/loader": "2.3.0","@remotion/babel-loader": "workspace:*",@@ -1028,7 +1029,7 @@},"packages/jonnys-videos": {"name": "@remotion/jonnys-videos",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@mediabunny/prores": "catalog:","@remotion/captions": "workspace:*",@@ -1052,7 +1053,7 @@},"packages/kimi-code-plugin": {"name": "@remotion/kimi-code-plugin",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -1061,7 +1062,7 @@},"packages/lambda": {"name": "@remotion/lambda",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@aws-sdk/client-cloudwatch-logs": "catalog:","@aws-sdk/client-iam": "catalog:",@@ -1103,7 +1104,7 @@},"packages/lambda-client": {"name": "@remotion/lambda-client",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@aws-sdk/client-cloudwatch-logs": "catalog:","@aws-sdk/client-iam": "catalog:",@@ -1127,25 +1128,25 @@},"packages/lambda-go": {"name": "@remotion/lambda-go",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"remotion": "workspace:*",},},"packages/lambda-go-example": {"name": "@remotion/lambda-go-example",- "version": "4.0.518",+ "version": "4.0.519",},"packages/lambda-php": {"name": "@remotion/lambda-php",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"remotion": "workspace:*",},},"packages/lambda-python": {"name": "@remotion/lambda-python",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"dotenv": "17.3.1",},@@ -1155,14 +1156,14 @@},"packages/lambda-ruby": {"name": "@remotion/lambda-ruby",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"remotion": "workspace:*",},},"packages/layout-utils": {"name": "@remotion/layout-utils",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -1178,7 +1179,7 @@},"packages/licensing": {"name": "@remotion/licensing",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -1189,7 +1190,7 @@},"packages/light-leaks": {"name": "@remotion/light-leaks",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/effects": "workspace:*","remotion": "workspace:*",@@ -1209,7 +1210,7 @@},"packages/lottie": {"name": "@remotion/lottie",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -1229,7 +1230,7 @@},"packages/mac-cursors": {"name": "@remotion/mac-cursors",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -1247,7 +1248,7 @@},"packages/maptiler": {"name": "@remotion/maptiler",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@maptiler/sdk": "4.0.2","@turf/turf": "7.3.2",@@ -1267,7 +1268,7 @@},"packages/mcp": {"name": "@remotion/mcp",- "version": "4.0.518",+ "version": "4.0.519","bin": {"remotion-mcp": "./dist/esm/index.mjs",},@@ -1284,7 +1285,7 @@},"packages/media": {"name": "@remotion/media",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"mediabunny": "catalog:","remotion": "workspace:*",@@ -1308,7 +1309,7 @@},"packages/media-parser": {"name": "@remotion/media-parser",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@remotion/example-videos": "workspace:*",@@ -1321,7 +1322,7 @@},"packages/media-utils": {"name": "@remotion/media-utils",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"mediabunny": "catalog:","remotion": "workspace:*",@@ -1338,7 +1339,7 @@},"packages/motion-blur": {"name": "@remotion/motion-blur",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -1357,7 +1358,7 @@},"packages/noise": {"name": "@remotion/noise",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*","simplex-noise": "4.0.1",@@ -1370,7 +1371,7 @@},"packages/openai-whisper": {"name": "@remotion/openai-whisper",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/captions": "workspace:*",},@@ -1383,7 +1384,7 @@},"packages/paths": {"name": "@remotion/paths",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -1392,7 +1393,7 @@},"packages/player": {"name": "@remotion/player",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -1415,7 +1416,7 @@},"packages/player-a11y": {"name": "@remotion/player-a11y",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/player": "workspace:*","remotion": "workspace:*",@@ -1434,7 +1435,7 @@},"packages/player-example": {"name": "@remotion/player-example",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/bundler": "workspace:*","@remotion/canvas": "workspace:*",@@ -1457,7 +1458,7 @@},"packages/preload": {"name": "@remotion/preload",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -1466,7 +1467,7 @@},"packages/promo-pages": {"name": "@remotion/promo-pages",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@mediabunny/aac-encoder": "catalog:","@mediabunny/ac3": "catalog:",@@ -1509,7 +1510,7 @@},"packages/react18-tests": {"name": "@remotion/react18-tests",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/zod-types": "workspace:*","@remotion/zod-types-v3": "workspace:*",@@ -1539,7 +1540,7 @@},"packages/remotion-media": {"name": "@remotion/remotion-media",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/cli": "workspace:*","@remotion/paths": "workspace:*",@@ -1562,7 +1563,7 @@},"packages/renderer": {"name": "@remotion/renderer",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/licensing": "workspace:*","@remotion/streaming": "workspace:*",@@ -1600,7 +1601,7 @@},"packages/rive": {"name": "@remotion/rive",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@rive-app/canvas-advanced": "2.31.5","remotion": "workspace:*",@@ -1619,7 +1620,7 @@},"packages/rough-notation": {"name": "@remotion/rough-notation",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/paths": "workspace:*","remotion": "workspace:*",@@ -1639,7 +1640,7 @@},"packages/rounded-text-box": {"name": "@remotion/rounded-text-box",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/layout-utils": "workspace:*","@remotion/paths": "workspace:*",@@ -1652,7 +1653,7 @@},"packages/serverless": {"name": "@remotion/serverless",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/bundler": "workspace:*","@remotion/licensing": "workspace:*",@@ -1667,7 +1668,7 @@},"packages/serverless-client": {"name": "@remotion/serverless-client",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@remotion/renderer": "workspace:*",@@ -1679,7 +1680,7 @@},"packages/sfx": {"name": "@remotion/sfx",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -1688,7 +1689,7 @@},"packages/shapes": {"name": "@remotion/shapes",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/paths": "workspace:*","remotion": "workspace:*",@@ -1709,7 +1710,7 @@},"packages/skia": {"name": "@remotion/skia",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -1733,7 +1734,7 @@},"packages/skills": {"name": "@remotion/skills",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/bundler": "workspace:*","@remotion/cli": "workspace:*",@@ -1751,7 +1752,7 @@},"packages/skills-evals": {"name": "@remotion/skills-evals",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/skills": "workspace:*","react": "catalog:",@@ -1768,7 +1769,7 @@},"packages/starburst": {"name": "@remotion/starburst",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/effects": "workspace:*","remotion": "workspace:*",@@ -1788,7 +1789,7 @@},"packages/streaming": {"name": "@remotion/streaming",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -1797,7 +1798,7 @@},"packages/studio": {"name": "@remotion/studio",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@jridgewell/trace-mapping": "0.3.31","@remotion/canvas": "workspace:*",@@ -1837,7 +1838,7 @@},"packages/studio-codemods": {"name": "@remotion/studio-codemods",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@babel/parser": "7.24.1","@babel/types": "7.24.0",@@ -1854,7 +1855,7 @@},"packages/studio-protocol": {"name": "@remotion/studio-protocol",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -1863,7 +1864,7 @@},"packages/studio-server": {"name": "@remotion/studio-server",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@babel/parser": "7.24.1","@babel/types": "7.24.0",@@ -1895,7 +1896,7 @@},"packages/studio-shared": {"name": "@remotion/studio-shared",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/studio-protocol": "workspace:*","remotion": "workspace:*",@@ -1909,7 +1910,7 @@},"packages/svg-3d-engine": {"name": "@remotion/svg-3d-engine",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/paths": "workspace:*",},@@ -1921,7 +1922,7 @@},"packages/tailwind": {"name": "@remotion/tailwind",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"autoprefixer": "10.4.20","css-loader": "7.1.4",@@ -1944,7 +1945,7 @@},"packages/tailwind-v4": {"name": "@remotion/tailwind-v4",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@tailwindcss/webpack": "4.2.0","css-loader": "7.1.4",@@ -2668,7 +2669,7 @@},"packages/test-utils": {"name": "@remotion/test-utils",- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@typescript/native-preview": "catalog:",@@ -2680,7 +2681,7 @@},"packages/three": {"name": "@remotion/three",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -2707,7 +2708,7 @@},"packages/timeline-utils": {"name": "@remotion/timeline-utils",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"mediabunny": "catalog:","remotion": "workspace:*",@@ -2721,7 +2722,7 @@},"packages/transitions": {"name": "@remotion/transitions",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/paths": "workspace:*","@remotion/shapes": "workspace:*",@@ -2745,7 +2746,7 @@},"packages/vercel": {"name": "@remotion/vercel",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/renderer": "workspace:*","remotion": "workspace:*",@@ -2763,7 +2764,7 @@},"packages/web-renderer": {"name": "@remotion/web-renderer",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@mediabunny/aac-encoder": "catalog:","@mediabunny/flac-encoder": "catalog:",@@ -2801,7 +2802,7 @@},"packages/webcodecs": {"name": "@remotion/webcodecs",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/media-parser": "workspace:*",},@@ -2818,7 +2819,7 @@},"packages/whisper-web": {"name": "@remotion/whisper-web",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/captions": "workspace:*",},@@ -2830,7 +2831,7 @@},"packages/whisper-webgpu": {"name": "@remotion/whisper-webgpu",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@huggingface/transformers": "catalog:","@remotion/captions": "workspace:*",@@ -2843,7 +2844,7 @@},"packages/zod-types": {"name": "@remotion/zod-types",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"remotion": "workspace:*",},@@ -2856,7 +2857,7 @@},"packages/zod-types-v3": {"name": "@remotion/zod-types-v3",- "version": "4.0.518",+ "version": "4.0.519","dependencies": {"@remotion/zod-types": "workspace:*","remotion": "workspace:*",diff --git a/packages/animated-emoji/package.json b/packages/animated-emoji/package.jsonindex 5729a1acc7..7664d5b170 100644--- a/packages/animated-emoji/package.json+++ b/packages/animated-emoji/package.json@@ -1,6 +1,6 @@{"name": "@remotion/animated-emoji",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts","module": "dist/esm/index.mjs",diff --git a/packages/animation-utils/package.json b/packages/animation-utils/package.jsonindex 32cb030f57..78ac0455ac 100644--- a/packages/animation-utils/package.json+++ b/packages/animation-utils/package.json@@ -7,7 +7,7 @@"name": "Chetan Karwa","email": "[email protected]"},- "version": "4.0.518",+ "version": "4.0.519","description": "Helpers for animating CSS properties","main": "./dist/index.js","module": "./dist/index.mjs",diff --git a/packages/astro-example/package.json b/packages/astro-example/package.jsonindex de42957718..0fc8c7e5f0 100644--- a/packages/astro-example/package.json+++ b/packages/astro-example/package.json@@ -5,7 +5,7 @@"name": "@remotion/astro-example","private": true,"type": "module",- "version": "4.0.518",+ "version": "4.0.519","scripts": {"dev": "astro dev","start": "astro dev",diff --git a/packages/babel-loader/package.json b/packages/babel-loader/package.jsonindex 0238d7ae9c..1b810b8979 100644--- a/packages/babel-loader/package.json+++ b/packages/babel-loader/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/babel-loader"},"name": "@remotion/babel-loader",- "version": "4.0.518",+ "version": "4.0.519","description": "Babel loader for Remotion","main": "dist/index.js","scripts": {diff --git a/packages/brand/package.json b/packages/brand/package.jsonindex ad7deee80f..c446433b81 100644--- a/packages/brand/package.json+++ b/packages/brand/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/brand"},"name": "@remotion/brand",- "version": "4.0.518",+ "version": "4.0.519","private": true,"sideEffects": ["*.css"diff --git a/packages/brand/src/bottom-up-letters.element.tsx b/packages/brand/src/bottom-up-letters.element.tsxnew file mode 100644index 0000000000..ef9be14270--- /dev/null+++ b/packages/brand/src/bottom-up-letters.element.tsx@@ -0,0 +1,235 @@+import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from "remotion";+import { forwardRef, useImperativeHandle, useRef, type ComponentProps } from "react";++interface BottomUpLettersProps {+ text: string;+ staggerDelay?: number;+ distance?: number;+ fontSize?: number;+ color?: string;+ fontWeight?: number;+ speed?: number;+ className?: string;+}++function BottomUpLettersBase({+ text,+ staggerDelay = 3,+ distance = 46,+ fontSize = 72,+ color = "#171717",+ fontWeight = 600,+ speed = 1,+ className,+}: BottomUpLettersProps) {+ const frame = useCurrentFrame() * speed;++ const chars = Array.from(text);+ const charDurationFrames = 12;+ const charTravelFrames = 7;++ return (+ <div+ style={{+ position: "absolute",+ inset: 0,+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ background: "transparent",+ }}+ >+ <span+ className={className}+ style={{+ fontSize,+ fontWeight,+ color,+ letterSpacing: "-0.05em",+ fontFamily:+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",+ }}+ >+ {chars.map((char, i) => {+ const local = frame - i * staggerDelay;+ const easing = Easing.bezier(0.18, 1, 0.32, 1);+ const opacity = interpolate(local, [0, charDurationFrames], [0, 1], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing,+ });+ const y = interpolate(local, [0, charTravelFrames], [distance, 0], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing,+ });+ return (+ <span+ key={i}+ style={{+ display: "inline-block",+ whiteSpace: "pre",+ backfaceVisibility: "hidden",+ transformOrigin: "50% 55%",+ opacity,+ translate: `0 ${y}px`,+ }}+ >+ {char}+ </span>+ );+ })}+ </span>+ </div>+ );+}++const elementSchema = {+ ...Interactive.baseSchema,+ text: {+ type: "text-content",+ default: "Shift",+ description: "Text",+ },+ staggerDelay: {+ type: "number",+ min: 1,+ max: 12,+ step: 1,+ default: 3,+ description: "Stagger",+ hiddenFromList: false,+ },+ distance: {+ type: "number",+ min: 0,+ max: 120,+ step: 1,+ default: 46,+ description: "Distance",+ hiddenFromList: false,+ },+ fontSize: {+ type: "number",+ min: 12,+ max: 160,+ step: 1,+ default: 72,+ description: "Font size",+ hiddenFromList: false,+ },+ color: {+ type: "color",+ default: "#171717",+ description: "Color",+ },+ fontWeight: {+ type: "enum",+ default: "600",+ variants: {+ "400": {},+ "500": {},+ "600": {},+ "700": {},+ },+ description: "Font weight",+ },+ speed: {+ type: "number",+ default: 1,+ min: 0.25,+ max: 4,+ step: 0.25,+ description: "Speed",+ hiddenFromList: false,+ },+ width: {+ type: "number",+ default: 190,+ min: 10,+ step: 10,+ description: "Width",+ },+ height: {+ type: "number",+ default: 100,+ min: 10,+ step: 10,+ description: "Height",+ },+ ...Interactive.transformSchema,+} as const satisfies InteractivitySchema;++const ELEMENT_PROP_KEYS = new Set(["text","staggerDelay","distance","fontSize","color","fontWeight","speed"]);++const ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {+ text: "Shift",+ staggerDelay: 3,+ distance: 46,+ fontSize: 72,+ color: "#171717",+ fontWeight: "600",+ speed: 1,+};++type BottomUpLettersElementProps = InteractiveBaseProps &+ InteractiveTransformProps & { readonly width?: number; readonly height?: number } &+ ComponentProps<typeof BottomUpLettersBase>;++const BottomUpLettersInner = forwardRef<+ HTMLDivElement,+ BottomUpLettersElementProps & { readonly controls: SequenceControls | undefined }+>(({ controls, name, style, width = 190, height = 100, ...rest }, ref) => {+ const outlineRef = useRef<HTMLDivElement>(null);+ useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);+ const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };+ const sequenceProps: Record<string, unknown> = {};+ for (const [key, value] of Object.entries(rest)) {+ if (ELEMENT_PROP_KEYS.has(key)) {+ if (value !== undefined) componentProps[key] = value;+ } else {+ sequenceProps[key] = value;+ }+ }+ return (+ <Sequence+ layout="none"+ {...sequenceProps}+ controls={controls}+ name={name ?? "<BottomUpLetters>"}+ outlineRef={outlineRef}+ >+ <div+ style={{+ position: "absolute",+ inset: 0,+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ }}+ >+ <div+ ref={outlineRef}+ style={{+ position: "relative",+ width,+ height,+ ...style,+ }}+ >+ <BottomUpLettersBase+ {...(componentProps as unknown as ComponentProps<typeof BottomUpLettersBase>)}+ />+ </div>+ </div>+ </Sequence>+ );+});++export const BottomUpLetters = Interactive.withSchema({+ Component: BottomUpLettersInner,+ componentName: "<BottomUpLetters>",+ componentIdentity: null,+ schema: elementSchema,+ supportsEffects: false,+});diff --git a/packages/brand/src/line-by-line-slide.element.tsx b/packages/brand/src/line-by-line-slide.element.tsxnew file mode 100644index 0000000000..65248a0f05--- /dev/null+++ b/packages/brand/src/line-by-line-slide.element.tsx@@ -0,0 +1,267 @@+import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, useVideoConfig, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from "remotion";+import { forwardRef, useImperativeHandle, useRef, type ComponentProps } from "react";++interface LineByLineSlideProps {+ text: string;+ distance?: number;+ fontSize?: number;+ color?: string;+ fontWeight?: number;+ speed?: number;+ className?: string;+}++function LineByLineSlideBase({+ text,+ distance = 48,+ fontSize = 72,+ color = "#171717",+ fontWeight = 600,+ speed = 1,+ className,+}: LineByLineSlideProps) {+ const frame = useCurrentFrame() * speed;+ const { durationInFrames } = useVideoConfig();++ const lines = text.split("\n");++ const enterDur = 27;+ const enterTravel = 14;+ const exitDur = 18;+ const exitTravelFrom = 8;+ const enterStagger = 4;+ const exitStagger = 2;++ const enterEasing = Easing.bezier(0.22, 1, 0.36, 1);+ const exitEasing = Easing.bezier(0.64, 0, 0.78, 0);++ const enterEnd = enterDur + (lines.length - 1) * enterStagger;+ const exitStart = Math.max(+ enterEnd,+ durationInFrames - exitDur - (lines.length - 1) * exitStagger,+ );++ return (+ <div+ style={{+ position: "absolute",+ inset: 0,+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ background: "transparent",+ }}+ >+ <span+ className={className}+ style={{+ fontSize,+ fontWeight,+ color,+ letterSpacing: "-0.03em",+ lineHeight: 1.1,+ textAlign: "left",+ fontFamily:+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",+ }}+ >+ {lines.map((line, i) => {+ const enterLocal = frame - i * enterStagger;+ const exitLocal = frame - exitStart - i * exitStagger;++ const enterP = interpolate(enterLocal, [0, enterDur], [0, 1], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: enterEasing,+ });++ const exitP = interpolate(exitLocal, [0, exitDur], [0, 1], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: exitEasing,+ });++ const opacity = enterP * (1 - exitP);++ const xEnter = interpolate(+ enterLocal,+ [0, enterTravel],+ [-distance, 0],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: enterEasing,+ },+ );++ const xExit = interpolate(+ exitLocal,+ [exitTravelFrom, exitDur],+ [0, distance],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: exitEasing,+ },+ );++ const x = xEnter + xExit;++ return (+ <span+ key={i}+ style={{+ display: "block",+ transformOrigin: "0% 50%",+ opacity,+ translate: `${x}px`,+ }}+ >+ {line}+ </span>+ );+ })}+ </span>+ </div>+ );+}++const elementSchema = {+ ...Interactive.baseSchema,+ text: {+ type: "text-content",+ default: "Think different.\nDo more.",+ description: "Text",+ },+ distance: {+ type: "number",+ min: 0,+ max: 160,+ step: 1,+ default: 48,+ description: "Distance",+ hiddenFromList: false,+ },+ fontSize: {+ type: "number",+ min: 12,+ max: 160,+ step: 1,+ default: 72,+ description: "Font size",+ hiddenFromList: false,+ },+ color: {+ type: "color",+ default: "#171717",+ description: "Color",+ },+ fontWeight: {+ type: "enum",+ default: "600",+ variants: {+ "400": {},+ "500": {},+ "600": {},+ "700": {},+ },+ description: "Font weight",+ },+ speed: {+ type: "number",+ default: 1,+ min: 0.25,+ max: 4,+ step: 0.25,+ description: "Speed",+ hiddenFromList: false,+ },+ width: {+ type: "number",+ default: 600,+ min: 10,+ step: 10,+ description: "Width",+ },+ height: {+ type: "number",+ default: 200,+ min: 10,+ step: 10,+ description: "Height",+ },+ ...Interactive.transformSchema,+} as const satisfies InteractivitySchema;++const ELEMENT_PROP_KEYS = new Set(["text","distance","fontSize","color","fontWeight","speed"]);++const ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {+ text: "Think different.\nDo more.",+ distance: 48,+ fontSize: 72,+ color: "#171717",+ fontWeight: "600",+ speed: 1,+};++type LineByLineSlideElementProps = InteractiveBaseProps &+ InteractiveTransformProps & { readonly width?: number; readonly height?: number } &+ ComponentProps<typeof LineByLineSlideBase>;++const LineByLineSlideInner = forwardRef<+ HTMLDivElement,+ LineByLineSlideElementProps & { readonly controls: SequenceControls | undefined }+>(({ controls, name, style, width = 600, height = 200, ...rest }, ref) => {+ const outlineRef = useRef<HTMLDivElement>(null);+ useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);+ const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };+ const sequenceProps: Record<string, unknown> = {};+ for (const [key, value] of Object.entries(rest)) {+ if (ELEMENT_PROP_KEYS.has(key)) {+ if (value !== undefined) componentProps[key] = value;+ } else {+ sequenceProps[key] = value;+ }+ }+ return (+ <Sequence+ layout="none"+ {...sequenceProps}+ controls={controls}+ name={name ?? "<LineByLineSlide>"}+ outlineRef={outlineRef}+ >+ <div+ style={{+ position: "absolute",+ inset: 0,+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ }}+ >+ <div+ ref={outlineRef}+ style={{+ position: "relative",+ width,+ height,+ ...style,+ }}+ >+ <LineByLineSlideBase+ {...(componentProps as unknown as ComponentProps<typeof LineByLineSlideBase>)}+ />+ </div>+ </div>+ </Sequence>+ );+});++export const LineByLineSlide = Interactive.withSchema({+ Component: LineByLineSlideInner,+ componentName: "<LineByLineSlide>",+ componentIdentity: null,+ schema: elementSchema,+ supportsEffects: false,+});diff --git a/packages/brand/src/per-word-crossfade.element.tsx b/packages/brand/src/per-word-crossfade.element.tsxnew file mode 100644index 0000000000..d0b63ef618--- /dev/null+++ b/packages/brand/src/per-word-crossfade.element.tsx@@ -0,0 +1,288 @@+import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from "remotion";+import { forwardRef, useImperativeHandle, useRef, type ComponentProps } from "react";++interface PerWordCrossfadeProps {+ fromText: string;+ toText: string;+ fontSize?: number;+ color?: string;+ fontWeight?: number;+ speed?: number;+ className?: string;+}++function PerWordCrossfadeBase({+ fromText,+ toText,+ fontSize = 72,+ color = "#171717",+ fontWeight = 600,+ speed = 1,+ className,+}: PerWordCrossfadeProps) {+ const frame = useCurrentFrame() * speed;++ const fromWords = fromText.split(" ");+ const toWords = toText.split(" ");++ const enterDur = 21;+ const enterTravel = 5;+ const exitDur = 15;+ const exitTravelFrom = 6;+ const enterStagger = 2;+ const exitStagger = 1;+ const overlapF = 5;+ const microDelayF = 2;++ const enterEasing = Easing.bezier(0.16, 1, 0.3, 1);+ const exitEasing = Easing.bezier(0.7, 0, 0.84, 0);++ const exitTotal = exitDur + (fromWords.length - 1) * exitStagger;+ const newStart = Math.max(0, exitTotal - overlapF + microDelayF);++ const fontStack =+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";++ return (+ <div+ className={className}+ style={{+ position: "absolute",+ inset: 0,+ background: "transparent",+ }}+ >+ <div+ style={{+ position: "absolute",+ inset: 0,+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ }}+ >+ <span+ style={{+ fontSize,+ fontWeight,+ color,+ letterSpacing: "-0.03em",+ fontFamily: fontStack,+ }}+ >+ {fromWords.map((word, i) => {+ const local = frame - i * exitStagger;+ const opacity = interpolate(local, [0, exitDur], [1, 0], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: exitEasing,+ });+ const y = interpolate(local, [exitTravelFrom, exitDur], [0, -6], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: exitEasing,+ });+ return (+ <span+ key={i}+ style={{+ display: "inline-block",+ marginRight: "0.25em",+ transformOrigin: "50% 55%",+ opacity,+ translate: `0 ${y}px`,+ }}+ >+ {word}+ </span>+ );+ })}+ </span>+ </div>++ <div+ style={{+ position: "absolute",+ inset: 0,+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ }}+ >+ <span+ style={{+ fontSize,+ fontWeight,+ color,+ letterSpacing: "-0.03em",+ fontFamily: fontStack,+ }}+ >+ {toWords.map((word, j) => {+ const local = frame - newStart - j * enterStagger;+ const opacity = interpolate(local, [0, enterDur], [0, 1], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: enterEasing,+ });+ const y = interpolate(local, [0, enterTravel], [8, 0], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: enterEasing,+ });+ return (+ <span+ key={j}+ style={{+ display: "inline-block",+ marginRight: "0.25em",+ transformOrigin: "50% 55%",+ opacity,+ translate: `0 ${y}px`,+ }}+ >+ {word}+ </span>+ );+ })}+ </span>+ </div>+ </div>+ );+}++const elementSchema = {+ ...Interactive.baseSchema,+ fromText: {+ type: "text-content",+ default: "Beautifully simple.",+ description: "From text",+ },+ toText: {+ type: "text-content",+ default: "Designed for focus.",+ description: "To text",+ },+ fontSize: {+ type: "number",+ min: 12,+ max: 160,+ step: 1,+ default: 72,+ description: "Font size",+ hiddenFromList: false,+ },+ color: {+ type: "color",+ default: "#171717",+ description: "Color",+ },+ fontWeight: {+ type: "enum",+ default: "600",+ variants: {+ "400": {},+ "500": {},+ "600": {},+ "700": {},+ },+ description: "Font weight",+ },+ speed: {+ type: "number",+ default: 1,+ min: 0.25,+ max: 4,+ step: 0.25,+ description: "Speed",+ hiddenFromList: false,+ },+ width: {+ type: "number",+ default: 720,+ min: 10,+ step: 10,+ description: "Width",+ },+ height: {+ type: "number",+ default: 100,+ min: 10,+ step: 10,+ description: "Height",+ },+ ...Interactive.transformSchema,+} as const satisfies InteractivitySchema;++const ELEMENT_PROP_KEYS = new Set(["fromText","toText","fontSize","color","fontWeight","speed"]);++const ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {+ fromText: "Beautifully simple.",+ toText: "Designed for focus.",+ fontSize: 72,+ color: "#171717",+ fontWeight: "600",+ speed: 1,+};++type PerWordCrossfadeElementProps = InteractiveBaseProps &+ InteractiveTransformProps & { readonly width?: number; readonly height?: number } &+ ComponentProps<typeof PerWordCrossfadeBase>;++const PerWordCrossfadeInner = forwardRef<+ HTMLDivElement,+ PerWordCrossfadeElementProps & { readonly controls: SequenceControls | undefined }+>(({ controls, name, style, width = 720, height = 100, ...rest }, ref) => {+ const outlineRef = useRef<HTMLDivElement>(null);+ useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);+ const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };+ const sequenceProps: Record<string, unknown> = {};+ for (const [key, value] of Object.entries(rest)) {+ if (ELEMENT_PROP_KEYS.has(key)) {+ if (value !== undefined) componentProps[key] = value;+ } else {+ sequenceProps[key] = value;+ }+ }+ return (+ <Sequence+ layout="none"+ {...sequenceProps}+ controls={controls}+ name={name ?? "<PerWordCrossfade>"}+ outlineRef={outlineRef}+ >+ <div+ style={{+ position: "absolute",+ inset: 0,+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ }}+ >+ <div+ ref={outlineRef}+ style={{+ position: "relative",+ width,+ height,+ ...style,+ }}+ >+ <PerWordCrossfadeBase+ {...(componentProps as unknown as ComponentProps<typeof PerWordCrossfadeBase>)}+ />+ </div>+ </div>+ </Sequence>+ );+});++export const PerWordCrossfade = Interactive.withSchema({+ Component: PerWordCrossfadeInner,+ componentName: "<PerWordCrossfade>",+ componentIdentity: null,+ schema: elementSchema,+ supportsEffects: false,+});diff --git a/packages/brand/src/word-stream.element.tsx b/packages/brand/src/word-stream.element.tsxnew file mode 100644index 0000000000..95f69c4443--- /dev/null+++ b/packages/brand/src/word-stream.element.tsx@@ -0,0 +1,338 @@+import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from "remotion";+import { forwardRef, useImperativeHandle, useRef, type ComponentProps } from "react";++interface WordStreamProps {+ text: string;+ fontSize?: number;+ color?: string;+ fontWeight?: number;+ wordGap?: number;+ hold?: number;+ drift?: number;+ speed?: number;+ className?: string;+}++interface PhraseSchedule {+ words: string[];+ start: number;+ exitStart: number;+ last: boolean;+}++const REVEAL_FRAMES = 3;+const ENTRY_FRAMES = 8;+const RUN_OUT_FRAMES = 5;+const SWAP_OVERLAP = 0;++function wordStreamLength(text: string, wordGap = 6, hold = 18): number {+ const schedule = schedulePhrases(text, wordGap, hold);+ const finalPhrase = schedule[schedule.length - 1];+ if (!finalPhrase) return 0;+ return (+ finalPhrase.start + (finalPhrase.words.length - 1) * wordGap + REVEAL_FRAMES+ );+}++function schedulePhrases(+ text: string,+ wordGap: number,+ hold: number,+): PhraseSchedule[] {+ const phrases = text+ .split("|")+ .map((phrase) => phrase.trim())+ .filter(Boolean);+ let cursor = 0;+ return phrases.map((phrase, i) => {+ const words = phrase.split(/\s+/);+ const start = cursor;+ const complete = start + (words.length - 1) * wordGap + REVEAL_FRAMES;+ const exitStart = complete + hold;+ cursor = exitStart + SWAP_OVERLAP;+ return { words, start, exitStart, last: i === phrases.length - 1 };+ });+}++const revealEasing = Easing.bezier(0.2, 0.8, 0.2, 1);+const entryEasing = Easing.bezier(0.2, 0.8, 0.3, 1);+const runOutEasing = Easing.bezier(0.7, 0, 0.9, 0.4);++function WordStreamBase({+ text,+ fontSize = 72,+ color = "#171717",+ fontWeight = 400,+ wordGap = 6,+ hold = 18,+ drift = 2,+ speed = 1,+ className,+}: WordStreamProps) {+ const frame = useCurrentFrame() * speed;++ const schedule = schedulePhrases(text, wordGap, hold);++ return (+ <div+ style={{+ position: "absolute",+ inset: 0,+ background: "transparent",+ }}+ >+ {schedule.map((phrase, i) => {+ if (frame < phrase.start) return null;+ if (!phrase.last && frame >= phrase.exitStart) return null;++ const scale = fontSize / 72;+ const crawl = scale * drift;+ const life = phrase.exitStart - phrase.start;++ const entryX = interpolate(+ frame,+ [phrase.start, phrase.start + ENTRY_FRAMES],+ [scale * 30, 0],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: entryEasing,+ },+ );+ const crawlX =+ crawl *+ (life / 2 - (Math.min(frame, phrase.exitStart) - phrase.start));+ const runOutX = phrase.last+ ? 0+ : interpolate(+ frame,+ [phrase.exitStart - RUN_OUT_FRAMES, phrase.exitStart],+ [0, -scale * 80],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: runOutEasing,+ },+ );+ const x = entryX + crawlX + runOutX;++ return (+ <div+ key={i}+ style={{+ position: "absolute",+ inset: 0,+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ whiteSpace: "nowrap",+ translate: `${x}px 0`,+ }}+ >+ <span+ className={className}+ style={{+ fontSize,+ fontWeight,+ color,+ letterSpacing: "-0.02em",+ fontFamily:+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",+ }}+ >+ {phrase.words.map((word, j) => {+ const revealAt = phrase.start + j * wordGap;++ const opacity = interpolate(+ frame,+ [revealAt, revealAt + REVEAL_FRAMES],+ [0, 1],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: revealEasing,+ },+ );++ return (+ <span+ key={j}+ style={{+ display: "inline-block",+ whiteSpace: "pre",+ marginRight:+ j < phrase.words.length - 1 ? "0.28em" : undefined,+ opacity,+ }}+ >+ {word}+ </span>+ );+ })}+ </span>+ </div>+ );+ })}+ </div>+ );+}++const elementSchema = {+ ...Interactive.baseSchema,+ text: {+ type: "text-content",+ default: "introducing | one-tap checkout | for your store",+ description: "Phrases (| separated)",+ },+ fontSize: {+ type: "number",+ min: 12,+ max: 160,+ step: 1,+ default: 72,+ description: "Font size",+ hiddenFromList: false,+ },+ wordGap: {+ type: "number",+ min: 2,+ max: 30,+ step: 1,+ default: 6,+ description: "Frames / word",+ hiddenFromList: false,+ },+ hold: {+ type: "number",+ min: 6,+ max: 90,+ step: 3,+ default: 18,+ description: "Phrase hold",+ hiddenFromList: false,+ },+ drift: {+ type: "number",+ min: 0,+ max: 6,+ step: 0.5,+ default: 2,+ description: "Drift px / frame",+ hiddenFromList: false,+ },+ color: {+ type: "color",+ default: "#171717",+ description: "Color",+ },+ fontWeight: {+ type: "enum",+ default: "400",+ variants: {+ "400": {},+ "500": {},+ "600": {},+ "700": {},+ },+ description: "Font weight",+ },+ speed: {+ type: "number",+ default: 1,+ min: 0.25,+ max: 4,+ step: 0.25,+ description: "Speed",+ hiddenFromList: false,+ },+ width: {+ type: "number",+ default: 700,+ min: 10,+ step: 10,+ description: "Width",+ },+ height: {+ type: "number",+ default: 110,+ min: 10,+ step: 10,+ description: "Height",+ },+ ...Interactive.transformSchema,+} as const satisfies InteractivitySchema;++const ELEMENT_PROP_KEYS = new Set(["text","fontSize","wordGap","hold","drift","color","fontWeight","speed"]);++const ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {+ text: "introducing | one-tap checkout | for your store",+ fontSize: 72,+ wordGap: 6,+ hold: 18,+ drift: 2,+ color: "#171717",+ fontWeight: "400",+ speed: 1,+};++type WordStreamElementProps = InteractiveBaseProps &+ InteractiveTransformProps & { readonly width?: number; readonly height?: number } &+ ComponentProps<typeof WordStreamBase>;++const WordStreamInner = forwardRef<+ HTMLDivElement,+ WordStreamElementProps & { readonly controls: SequenceControls | undefined }+>(({ controls, name, style, width = 700, height = 110, ...rest }, ref) => {+ const outlineRef = useRef<HTMLDivElement>(null);+ useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);+ const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };+ const sequenceProps: Record<string, unknown> = {};+ for (const [key, value] of Object.entries(rest)) {+ if (ELEMENT_PROP_KEYS.has(key)) {+ if (value !== undefined) componentProps[key] = value;+ } else {+ sequenceProps[key] = value;+ }+ }+ return (+ <Sequence+ layout="none"+ {...sequenceProps}+ controls={controls}+ name={name ?? "<WordStream>"}+ outlineRef={outlineRef}+ >+ <div+ style={{+ position: "absolute",+ inset: 0,+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ }}+ >+ <div+ ref={outlineRef}+ style={{+ position: "relative",+ width,+ height,+ ...style,+ }}+ >+ <WordStreamBase+ {...(componentProps as unknown as ComponentProps<typeof WordStreamBase>)}+ />+ </div>+ </div>+ </Sequence>+ );+});++export const WordStream = Interactive.withSchema({+ Component: WordStreamInner,+ componentName: "<WordStream>",+ componentIdentity: null,+ schema: elementSchema,+ supportsEffects: false,+});diff --git a/packages/browser-studio/package.json b/packages/browser-studio/package.jsonindex b091a50082..b7d6c41e08 100644--- a/packages/browser-studio/package.json+++ b/packages/browser-studio/package.json@@ -4,7 +4,7 @@},"name": "@remotion/browser-studio","private": true,- "version": "4.0.518",+ "version": "4.0.519","description": "Run Remotion Studio in the browser","main": "dist/esm/index.mjs","types": "dist/index.d.ts",diff --git a/packages/bugs/package.json b/packages/bugs/package.jsonindex 869fa7fc48..2019d942ec 100644--- a/packages/bugs/package.json+++ b/packages/bugs/package.json@@ -4,5 +4,5 @@},"name": "bugs","private": true,- "version": "4.0.518"+ "version": "4.0.519"}diff --git a/packages/bundler/package.json b/packages/bundler/package.jsonindex 424c5654ed..b1755bf1e7 100644--- a/packages/bundler/package.json+++ b/packages/bundler/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/bundler"},"name": "@remotion/bundler",- "version": "4.0.518",+ "version": "4.0.519","description": "Bundle Remotion compositions using Webpack","main": "dist/index.js","bugs": {diff --git a/packages/canvas-capture-extension/package.json b/packages/canvas-capture-extension/package.jsonindex ff42eae8f4..5a2b648c8a 100644--- a/packages/canvas-capture-extension/package.json+++ b/packages/canvas-capture-extension/package.json@@ -1,6 +1,6 @@{"name": "@remotion/canvas-capture-extension",- "version": "4.0.518",+ "version": "4.0.519","private": true,"type": "module","scripts": {diff --git a/packages/canvas/package.json b/packages/canvas/package.jsonindex baed23c55c..bde1f5bf5b 100644--- a/packages/canvas/package.json+++ b/packages/canvas/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/canvas"},"name": "@remotion/canvas",- "version": "4.0.518",+ "version": "4.0.519","description": "Headless primitives for Remotion authoring interfaces","main": "dist/index.cjs","types": "dist/index.d.ts",diff --git a/packages/captions/package.json b/packages/captions/package.jsonindex 79b79c7e98..fa2b323d79 100644--- a/packages/captions/package.json+++ b/packages/captions/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/captions"},"name": "@remotion/captions",- "version": "4.0.518",+ "version": "4.0.519","description": "Primitives for dealing with captions","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/claude-code-plugin/.claude-plugin/plugin.json b/packages/claude-code-plugin/.claude-plugin/plugin.jsonindex bb0d5bebe5..9f29ab90c9 100644--- a/packages/claude-code-plugin/.claude-plugin/plugin.json+++ b/packages/claude-code-plugin/.claude-plugin/plugin.json@@ -2,7 +2,7 @@"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json","name": "remotion","displayName": "Remotion",- "version": "4.0.518",+ "version": "4.0.519","description": "Remotion video creation skills β best practices, animations, audio, captions, 3D, and more for building programmatic videos with React.","author": {"name": "Remotion",diff --git a/packages/claude-code-plugin/package.json b/packages/claude-code-plugin/package.jsonindex aaed54317d..1e38714475 100644--- a/packages/claude-code-plugin/package.json+++ b/packages/claude-code-plugin/package.json@@ -1,6 +1,6 @@{"name": "@remotion/claude-code-plugin",- "version": "4.0.518",+ "version": "4.0.519","private": true,"type": "module","repository": {diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 86b60265be..26091a4a46 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/cli"},"name": "@remotion/cli",- "version": "4.0.518",+ "version": "4.0.519","description": "Control Remotion features using the `npx remotion` command","main": "dist/index.js","bin": {diff --git a/packages/cloudrun/container/package.json b/packages/cloudrun/container/package.jsonindex 753664ed11..d2dea47926 100644--- a/packages/cloudrun/container/package.json+++ b/packages/cloudrun/container/package.json@@ -1,6 +1,6 @@{"name": "cloud-run-render",- "version": "4.0.518",+ "version": "4.0.519","description": "Render media and stills on GCP Cloud Run","main": "dist/index.js","scripts": {diff --git a/packages/cloudrun/package.json b/packages/cloudrun/package.jsonindex dd39e8fb72..414b2d4852 100644--- a/packages/cloudrun/package.json+++ b/packages/cloudrun/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/cloudrun"},"name": "@remotion/cloudrun",- "version": "4.0.518",+ "version": "4.0.519","description": "Render Remotion videos on Google Cloud Run","main": "dist/index.js","scripts": {diff --git a/packages/codex-plugin/.codex-plugin/plugin.json b/packages/codex-plugin/.codex-plugin/plugin.jsonindex 058820d01c..309931c92b 100644--- a/packages/codex-plugin/.codex-plugin/plugin.json+++ b/packages/codex-plugin/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "remotion",- "version": "4.0.518",+ "version": "4.0.519","description": "Remotion video creation skills β best practices, animations, audio, captions, 3D, and more for building programmatic videos with React.","author": {"name": "Remotion",diff --git a/packages/codex-plugin/package.json b/packages/codex-plugin/package.jsonindex 80baacbe5e..461b3641b7 100644--- a/packages/codex-plugin/package.json+++ b/packages/codex-plugin/package.json@@ -1,6 +1,6 @@{"name": "@remotion/codex-plugin",- "version": "4.0.518",+ "version": "4.0.519","private": true,"type": "module","repository": {diff --git a/packages/codex-plugin/plugin.json b/packages/codex-plugin/plugin.jsonindex a642f49f65..532044b433 100644--- a/packages/codex-plugin/plugin.json+++ b/packages/codex-plugin/plugin.json@@ -1,7 +1,7 @@{"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json","name": "remotion",- "version": "4.0.518",+ "version": "4.0.519","description": "Remotion video creation skills β best practices, animations, audio, captions, 3D, and more for building programmatic videos with React.","author": {"name": "Remotion",diff --git a/packages/compositor-darwin-arm64/package.json b/packages/compositor-darwin-arm64/package.jsonindex 4ccb403cba..cea50545d7 100644--- a/packages/compositor-darwin-arm64/package.json+++ b/packages/compositor-darwin-arm64/package.json@@ -2,7 +2,7 @@"repository": {"url": "https://github.com/remotion-dev/remotion/tree/main/packages/compositor-darwin-arm64"},- "version": "4.0.518",+ "version": "4.0.519","name": "@remotion/compositor-darwin-arm64","os": ["darwin"diff --git a/packages/compositor-darwin-x64/package.json b/packages/compositor-darwin-x64/package.jsonindex 6395cb4b9b..efcdb226fc 100644--- a/packages/compositor-darwin-x64/package.json+++ b/packages/compositor-darwin-x64/package.json@@ -2,7 +2,7 @@"repository": {"url": "https://github.com/remotion-dev/remotion/tree/main/packages/compositor-darwin-x64"},- "version": "4.0.518",+ "version": "4.0.519","name": "@remotion/compositor-darwin-x64","os": ["darwin"diff --git a/packages/compositor-linux-arm64-gnu/package.json b/packages/compositor-linux-arm64-gnu/package.jsonindex 0bf09b44db..1c73734136 100644--- a/packages/compositor-linux-arm64-gnu/package.json+++ b/packages/compositor-linux-arm64-gnu/package.json@@ -2,7 +2,7 @@"repository": {"url": "https://github.com/remotion-dev/remotion/tree/main/packages/compositor-linux-arm64-gnu"},- "version": "4.0.518",+ "version": "4.0.519","name": "@remotion/compositor-linux-arm64-gnu","os": ["linux"diff --git a/packages/compositor-linux-arm64-musl/package.json b/packages/compositor-linux-arm64-musl/package.jsonindex a84bf39b9b..c3687e2ad3 100644--- a/packages/compositor-linux-arm64-musl/package.json+++ b/packages/compositor-linux-arm64-musl/package.json@@ -2,7 +2,7 @@"repository": {"url": "https://github.com/remotion-dev/remotion/tree/main/packages/compositor-linux-arm64-musl"},- "version": "4.0.518",+ "version": "4.0.519","name": "@remotion/compositor-linux-arm64-musl","os": ["linux"diff --git a/packages/compositor-linux-x64-gnu/package.json b/packages/compositor-linux-x64-gnu/package.jsonindex e4bae653ea..da33e9df73 100644--- a/packages/compositor-linux-x64-gnu/package.json+++ b/packages/compositor-linux-x64-gnu/package.json@@ -2,7 +2,7 @@"repository": {"url": "https://github.com/remotion-dev/remotion/tree/main/packages/compositor-linux-x64-gnu"},- "version": "4.0.518",+ "version": "4.0.519","name": "@remotion/compositor-linux-x64-gnu","os": ["linux"diff --git a/packages/compositor-linux-x64-musl/package.json b/packages/compositor-linux-x64-musl/package.jsonindex 2358499e5f..302c29d65e 100644--- a/packages/compositor-linux-x64-musl/package.json+++ b/packages/compositor-linux-x64-musl/package.json@@ -2,7 +2,7 @@"repository": {"url": "https://github.com/remotion-dev/remotion/tree/main/packages/compositor-linux-x64-musl"},- "version": "4.0.518",+ "version": "4.0.519","name": "@remotion/compositor-linux-x64-musl","os": ["linux"diff --git a/packages/compositor-win32-x64-msvc/package.json b/packages/compositor-win32-x64-msvc/package.jsonindex 3b2def6fcc..08d7cb0d73 100644--- a/packages/compositor-win32-x64-msvc/package.json+++ b/packages/compositor-win32-x64-msvc/package.json@@ -2,7 +2,7 @@"repository": {"url": "https://github.com/remotion-dev/remotion/tree/main/packages/compositor-win32-x64-msvc"},- "version": "4.0.518",+ "version": "4.0.519","name": "@remotion/compositor-win32-x64-msvc","os": ["win32"diff --git a/packages/compositor/package.json b/packages/compositor/package.jsonindex 6655455bb4..9969f39167 100644--- a/packages/compositor/package.json+++ b/packages/compositor/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/compositor"},"name": "@remotion/compositor",- "version": "4.0.518",+ "version": "4.0.519","description": "Rust binary for Remotion","scripts": {"build-all": "bun build.ts --all"diff --git a/packages/convert/package.json b/packages/convert/package.jsonindex d59189365d..d124f4e7ee 100644--- a/packages/convert/package.json+++ b/packages/convert/package.json@@ -1,6 +1,6 @@{"name": "@remotion/convert",- "version": "4.0.518",+ "version": "4.0.519","private": true,"type": "module","author": "Jonny Burger <[email protected]>, Hunain Ahmed <[email protected]>",diff --git a/packages/core/package.json b/packages/core/package.jsonindex 8fc3510dc5..a5e7cc28b0 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/core"},"name": "remotion",- "version": "4.0.518",+ "version": "4.0.519","description": "Make videos programmatically","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/core/src/version.ts b/packages/core/src/version.tsindex 50a9667f92..664b485c81 100644--- a/packages/core/src/version.ts+++ b/packages/core/src/version.ts@@ -5,4 +5,4 @@* @see [Documentation](https://remotion.dev/docs/version)* @returns {string} The current version of the remotion package*/-export const VERSION = '4.0.518';+export const VERSION = '4.0.519';diff --git a/packages/create-video/package.json b/packages/create-video/package.jsonindex d928ac8fc1..683c4d97ec 100644--- a/packages/create-video/package.json+++ b/packages/create-video/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/create-video"},"name": "create-video",- "version": "4.0.518",+ "version": "4.0.519","description": "Create a new Remotion project","main": "dist/index.js","bin": {diff --git a/packages/design/package.json b/packages/design/package.jsonindex 611a707562..085406fbca 100644--- a/packages/design/package.json+++ b/packages/design/package.json@@ -1,6 +1,6 @@{"name": "@remotion/design",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/index.js","types": "dist/index.d.ts","module": "dist/esm/index.mjs",diff --git a/packages/discord-poster/package.json b/packages/discord-poster/package.jsonindex 3a7dd48a90..c3bb683504 100644--- a/packages/discord-poster/package.json+++ b/packages/discord-poster/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/discord-poster"},"name": "@remotion/discord-poster",- "version": "4.0.518",+ "version": "4.0.519","license": "SEE LICENSE IN LICENSE.md","type": "module","scripts": {diff --git a/packages/docs/package.json b/packages/docs/package.jsonindex a58518f93a..0f617e5b2f 100644--- a/packages/docs/package.json+++ b/packages/docs/package.json@@ -4,7 +4,7 @@},"name": "docs","private": true,- "version": "4.0.518",+ "version": "4.0.519","scripts": {"formatting": "oxfmt src standalone --check","format": "oxfmt src standalone",diff --git a/packages/docusaurus-plugin/package.json b/packages/docusaurus-plugin/package.jsonindex 50880ee6ca..5222add206 100644--- a/packages/docusaurus-plugin/package.json+++ b/packages/docusaurus-plugin/package.json@@ -1,6 +1,6 @@{"name": "@remotion/docusaurus-plugin",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/index.js","types": "dist/index.d.ts","scripts": {diff --git a/packages/effects/package.json b/packages/effects/package.jsonindex 59cd84cda6..5fd889c1ae 100644--- a/packages/effects/package.json+++ b/packages/effects/package.json@@ -1,6 +1,6 @@{"name": "@remotion/effects",- "version": "4.0.518",+ "version": "4.0.519","description": "Effects that can be applied to Remotion-based canvas components","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/elevenlabs/package.json b/packages/elevenlabs/package.jsonindex c0aa41ca2b..945e02bf88 100644--- a/packages/elevenlabs/package.json+++ b/packages/elevenlabs/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/elevenlabs"},"name": "@remotion/elevenlabs",- "version": "4.0.518",+ "version": "4.0.519","description": "Work with the output of the ElevenLabs API","main": "dist/index.js","bugs": {diff --git a/packages/enable-scss/package.json b/packages/enable-scss/package.jsonindex f907d5b8d7..e482855fe3 100644--- a/packages/enable-scss/package.json+++ b/packages/enable-scss/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/enable-scss"},"name": "@remotion/enable-scss",- "version": "4.0.518",+ "version": "4.0.519","description": "Enable SCSS support in Remotion","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/eslint-config-flat/package.json b/packages/eslint-config-flat/package.jsonindex b7b0ab30e9..268b96b180 100644--- a/packages/eslint-config-flat/package.json+++ b/packages/eslint-config-flat/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/eslint-config-flat"},"name": "@remotion/eslint-config-flat",- "version": "4.0.518",+ "version": "4.0.519","description": "Default configuration for Remotion templates (ESLint >= 9)","main": "dist/esm/index.mjs","type": "module",diff --git a/packages/eslint-config-internal/package.json b/packages/eslint-config-internal/package.jsonindex 953a57937d..9d8e25918b 100644--- a/packages/eslint-config-internal/package.json+++ b/packages/eslint-config-internal/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/eslint-config-internal"},"name": "@remotion/eslint-config-internal",- "version": "4.0.518",+ "version": "4.0.519","license": "SEE LICENSE IN LICENSE.md","main": "dist/index.js","scripts": {diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.jsonindex 451435ee42..d501c83085 100644--- a/packages/eslint-config/package.json+++ b/packages/eslint-config/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/eslint-config"},"name": "@remotion/eslint-config",- "version": "4.0.518",+ "version": "4.0.519","description": "Default configuration for Remotion templates (ESLint <= 8)","main": "dist/index.js","files": [diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.jsonindex 47fe8953c3..00519e8fa2 100644--- a/packages/eslint-plugin/package.json+++ b/packages/eslint-plugin/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/eslint-plugin"},"name": "@remotion/eslint-plugin",- "version": "4.0.518",+ "version": "4.0.519","description": "Rules for writing Remotion code","scripts": {"test": "node src/tests/execute.mjs",diff --git a/packages/example-videos/package.json b/packages/example-videos/package.jsonindex a017ad089d..4cacd4d887 100644--- a/packages/example-videos/package.json+++ b/packages/example-videos/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/example-videos"},"name": "@remotion/example-videos",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/index.js","types": "dist/index.d.ts","scripts": {diff --git a/packages/example-without-zod/package.json b/packages/example-without-zod/package.jsonindex 5afae6bdb2..37c6bed59a 100644--- a/packages/example-without-zod/package.json+++ b/packages/example-without-zod/package.json@@ -4,7 +4,7 @@},"name": "@remotion/example-without-zod","private": true,- "version": "4.0.518",+ "version": "4.0.519","license": "SEE LICENSE IN LICENSE.md","author": "Jonny Burger","main": "dist/index.js",diff --git a/packages/example/package.json b/packages/example/package.jsonindex ddae347986..4f4d41a662 100644--- a/packages/example/package.json+++ b/packages/example/package.json@@ -4,7 +4,7 @@},"name": "@remotion/example","private": true,- "version": "4.0.518",+ "version": "4.0.519","license": "SEE LICENSE IN LICENSE.md","author": "Jonny Burger","main": "dist/index.js",diff --git a/packages/example/src/MovingPillCaptionsComposition.tsx b/packages/example/src/MovingPillCaptionsComposition.tsxnew file mode 100644index 0000000000..cb648c74bf--- /dev/null+++ b/packages/example/src/MovingPillCaptionsComposition.tsx@@ -0,0 +1,26 @@+import React from 'react';+import {MovingPillCaptions} from './moving-pill-captions.element';+import {AudioOscilloscope} from './oscilloscope.element';++export const MovingPillCaptionsComposition: React.FC = () => {+ return (+ <>+ <MovingPillCaptions+ durationInFrames={210}+ name="Moving Pill Captions"+ style={{+ position: 'absolute',+ translate: '-12.2px -10.3px',+ }}+ />+ <AudioOscilloscope+ durationInFrames={271}+ name="Audio Oscilloscope"+ style={{+ position: 'absolute',+ translate: '-28.2px -67.4px',+ }}+ />+ </>+ );+};diff --git a/packages/example/src/mirrored-spectrum.element.tsx b/packages/example/src/mirrored-spectrum.element.tsxnew file mode 100644index 0000000000..e9632dd0d4--- /dev/null+++ b/packages/example/src/mirrored-spectrum.element.tsx@@ -0,0 +1,176 @@+import {Audio} from '@remotion/media';+import {useWindowedAudioData, visualizeAudio} from '@remotion/media-utils';+import React, {forwardRef, useImperativeHandle, useRef} from 'react';+import {+ Interactive,+ Sequence,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveBaseProps,+ type InteractiveTransformProps,+ type InteractivitySchema,+ type SequenceControls,+} from 'remotion';++type MirroredAudioSpectrumProps = InteractiveBaseProps &+ InteractiveTransformProps & {+ readonly audioSrc?: string;+ readonly barColor?: string;+ readonly numberOfBars?: number;+ readonly sensitivity?: number;+ };++const mirroredAudioSpectrumSchema = {+ ...Interactive.baseSchema,+ audioSrc: {+ type: 'asset',+ default:+ 'https://remotion.media/elements/remotion-made-this-picture-move.mp3',+ description: 'Audio source',+ },+ barColor: {+ type: 'color',+ default: '#0b84f3',+ description: 'Bar color',+ },+ numberOfBars: {+ type: 'number',+ min: 3,+ max: 127,+ step: 2,+ default: 65,+ description: 'Number of bars',+ hiddenFromList: false,+ keyframable: false,+ },+ sensitivity: {+ type: 'number',+ min: 0.25,+ max: 3,+ step: 0.05,+ default: 1.5,+ description: 'Sensitivity',+ hiddenFromList: false,+ },+ ...Interactive.transformSchema,+} as const satisfies InteractivitySchema;++const MirroredAudioSpectrumContent: React.FC<{+ readonly audioSrc: string;+ readonly barColor: string;+ readonly numberOfBars: number;+ readonly outlineRef: React.RefObject<HTMLDivElement | null>;+ readonly sensitivity: number;+ readonly style: MirroredAudioSpectrumProps['style'];+}> = ({audioSrc, barColor, numberOfBars, outlineRef, sensitivity, style}) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const {audioData, dataOffsetInSeconds} = useWindowedAudioData({+ fps,+ frame,+ src: audioSrc,+ windowInSeconds: 10,+ });+ const roundedNumberOfBars = Math.max(+ 3,+ Math.min(127, Math.round(numberOfBars)),+ );+ const numberOfFrequencies = Math.ceil(roundedNumberOfBars / 2);+ const frequencyData = audioData+ ? visualizeAudio({+ audioData,+ dataOffsetInSeconds,+ fps,+ frame,+ numberOfSamples: 256,+ optimizeFor: 'speed',+ })+ : [];+ const frequencyDataSubset = frequencyData.slice(0, numberOfFrequencies);+ const frequenciesToDisplay = [+ ...frequencyDataSubset.slice(roundedNumberOfBars % 2).reverse(),+ ...frequencyDataSubset,+ ];++ return (+ <div+ ref={outlineRef}+ style={{+ alignItems: 'center',+ boxSizing: 'border-box',+ display: 'flex',+ gap: 8,+ height: 300,+ justifyContent: 'center',+ width: 900,+ ...style,+ }}+ >+ <Audio showInTimeline={false} src={audioSrc} />+ {frequenciesToDisplay.map((value, index) => (+ <div+ key={index}+ style={{+ backgroundColor: barColor,+ borderRadius: 999,+ flex: 1,+ height: Math.max(+ 4,+ Math.min(300, 300 * Math.sqrt(value) * sensitivity),+ ),+ minWidth: 2,+ }}+ />+ ))}+ </div>+ );+};++const MirroredAudioSpectrumInner = forwardRef<+ HTMLDivElement,+ MirroredAudioSpectrumProps & {readonly controls: SequenceControls | undefined}+>(+ (+ {+ audioSrc = 'https://remotion.media/elements/remotion-made-this-picture-move.mp3',+ barColor = '#0b84f3',+ controls,+ name,+ numberOfBars = 65,+ sensitivity = 1.5,+ style,+ ...sequenceProps+ },+ ref,+ ) => {+ const outlineRef = useRef<HTMLDivElement>(null);+ useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);++ return (+ <Sequence+ layout="none"+ {...sequenceProps}+ controls={controls}+ name={name ?? 'Mirrored audio spectrum'}+ outlineRef={outlineRef}+ >+ <MirroredAudioSpectrumContent+ audioSrc={audioSrc}+ barColor={barColor}+ numberOfBars={numberOfBars}+ outlineRef={outlineRef}+ sensitivity={sensitivity}+ style={style}+ />+ </Sequence>+ );+ },+);++export const MirroredAudioSpectrum = Interactive.withSchema({+ Component: MirroredAudioSpectrumInner,+ componentName: '<MirroredAudioSpectrum>',+ componentIdentity: null,+ schema: mirroredAudioSpectrumSchema,+ supportsEffects: false,+}) as React.FC<MirroredAudioSpectrumProps>;diff --git a/packages/example/src/moving-pill-captions.element.tsx b/packages/example/src/moving-pill-captions.element.tsxnew file mode 100644index 0000000000..a80f5808fc--- /dev/null+++ b/packages/example/src/moving-pill-captions.element.tsx@@ -0,0 +1,573 @@+import type {Caption, TikTokPage, TikTokToken} from '@remotion/captions';+import {createTikTokStyleCaptions} from '@remotion/captions';+import {loadFont} from '@remotion/google-fonts/Montserrat';+import {fitText} from '@remotion/layout-utils';+import React, {+ forwardRef,+ useEffect,+ useImperativeHandle,+ useLayoutEffect,+ useMemo,+ useRef,+ useState,+} from 'react';+import {+ cancelRender,+ Interactive,+ interpolate,+ Sequence,+ spring,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveBaseProps,+ type InteractiveTransformProps,+ type InteractivitySchema,+ type SequenceControls,+ type SequenceProps,+} from 'remotion';++type MovingPillCaptionsProps = InteractiveBaseProps &+ InteractiveTransformProps &+ Pick<SequenceProps, 'width' | 'height'> & {+ readonly captions?: Caption[];+ readonly combineTokensWithinMilliseconds?: number;+ };++type MovingPillCaptionsLayerProps = Omit<+ MovingPillCaptionsProps,+ 'captions'+> & {+ readonly callerStyle: React.CSSProperties | null;+ readonly captions: Caption[];+};++const desiredFontSize = 80;+const maximumTextWidth = 800;+const fontWeight = '700';+const textColor = '#ffffff';+const backgroundColor = '#0b84f3';+const pillHorizontalPadding = 12;+const pillVerticalPadding = 12;+const pillBorderRadius = 10;+const pillMoveDurationInFrames = 5;+const defaultCombineTokensWithinMilliseconds = 800;++const movingPillCaptionsSchema = {+ ...Interactive.baseSchema,+ ...Interactive.captionsSchema,+ width: {+ type: 'number',+ min: 1,+ step: 1,+ default: undefined,+ description: 'Caption area width',+ hiddenFromList: false,+ },+ height: {+ type: 'number',+ min: 1,+ step: 1,+ default: undefined,+ description: 'Caption area height',+ hiddenFromList: false,+ },+ combineTokensWithinMilliseconds: {+ type: 'number',+ min: 0,+ step: 50,+ default: defaultCombineTokensWithinMilliseconds,+ description: 'Time between caption pages',+ hiddenFromList: false,+ },+ callerStyle: {type: 'hidden'},+ ...Interactive.transformSchema,+} as const satisfies InteractivitySchema;++const {fontFamily, waitUntilDone} = loadFont('normal', {+ weights: [fontWeight],+ subsets: ['latin'],+});++const frameToMilliseconds = (frame: number, fps: number) =>+ (frame / fps) * 1000;++const isTimeWithinHalfOpenInterval = (+ timeMs: number,+ fromMs: number,+ toMs: number,+) => timeMs >= fromMs && timeMs < toMs;++const getActivePageIndex = (+ pages: readonly Pick<TikTokPage, 'startMs' | 'durationMs'>[],+ timeMs: number,+) =>+ pages.findIndex((page) =>+ isTimeWithinHalfOpenInterval(+ timeMs,+ page.startMs,+ page.startMs + page.durationMs,+ ),+ );++const getLatestStartedTokenIndex = (+ tokens: readonly Pick<TikTokToken, 'fromMs'>[],+ timeMs: number,+) =>+ tokens.reduce(+ (latestIndex, token, tokenIndex) =>+ token.fromMs <= timeMs ? tokenIndex : latestIndex,+ -1,+ );++type TokenLayout = {+ readonly height: number;+ readonly left: number;+ readonly top: number;+ readonly width: number;+};++const CaptionPage: React.FC<{+ readonly captionAreaWidth: number | null;+ readonly currentTimeMs: number;+ readonly fps: number;+ readonly page: TikTokPage;+ readonly pageIndex: number;+}> = ({captionAreaWidth, currentTimeMs, fps, page, pageIndex}) => {+ const fontSize = useMemo(() => {+ const availableWidth = Math.min(+ maximumTextWidth,+ captionAreaWidth ?? maximumTextWidth,+ );+ const maximumTokenWidth = Math.max(+ 1,+ availableWidth - pillHorizontalPadding * 2,+ );+ const tokenFontSizes = page.tokens+ .map((token) => token.text.trim())+ .filter(Boolean)+ .map(+ (text) =>+ fitText({+ fontFamily,+ fontWeight,+ text,+ validateFontIsLoaded: true,+ withinWidth: maximumTokenWidth,+ }).fontSize,+ );++ return Math.min(+ desiredFontSize,+ fitText({+ fontFamily,+ fontWeight,+ text: page.text,+ validateFontIsLoaded: true,+ withinWidth: maximumTextWidth,+ }).fontSize,+ ...tokenFontSizes,+ );+ }, [captionAreaWidth, page.text, page.tokens]);+ const textContainerRef = useRef<HTMLDivElement>(null);+ const tokenRefs = useRef<Array<HTMLSpanElement | null>>([]);+ const [tokenLayouts, setTokenLayouts] = useState<TokenLayout[]>([]);++ useLayoutEffect(() => {+ const container = textContainerRef.current;++ if (!container) {+ return;+ }++ const updateTokenLayouts = () => {+ setTokenLayouts(+ page.tokens.map((_, tokenIndex) => {+ const token = tokenRefs.current[tokenIndex];++ if (!token) {+ return {height: 0, left: 0, top: 0, width: 0};+ }++ return {+ height: token.offsetHeight,+ left: token.offsetLeft,+ top: token.offsetTop,+ width: token.offsetWidth,+ };+ }),+ );+ };++ updateTokenLayouts();+ const resizeObserver = new ResizeObserver(updateTokenLayouts);+ resizeObserver.observe(container);++ return () => resizeObserver.disconnect();+ }, [fontSize, page.tokens]);+ const latestStartedTokenIndex = getLatestStartedTokenIndex(+ page.tokens,+ currentTimeMs,+ );+ const pageLocalFrame = ((currentTimeMs - page.startMs) / 1000) * fps;+ const backgroundWordIndex = page.tokens.reduce(+ (wordIndex, token, tokenIndex) => {+ if (tokenIndex === 0) {+ return wordIndex;+ }++ const tokenStartFrame = ((token.fromMs - page.startMs) / 1000) * fps;+ return (+ wordIndex ++ spring({+ config: {damping: 100},+ delay: Math.max(0, tokenStartFrame - pillMoveDurationInFrames / 2),+ durationInFrames: pillMoveDurationInFrames,+ fps,+ frame: pageLocalFrame,+ })+ );+ },+ 0,+ );+ const hasTokenLayouts = tokenLayouts.length === page.tokens.length;+ const clampedBackgroundWordIndex = Math.min(+ Math.max(backgroundWordIndex, 0),+ Math.max(0, tokenLayouts.length - 1),+ );+ const interpolationInput = tokenLayouts.map((_, tokenIndex) =>+ Number(tokenIndex),+ );+ const interpolateTokenLayout = (values: number[]) => {+ if (values.length === 0) {+ return 0;+ }++ if (values.length === 1) {+ return values[0];+ }++ return interpolate(clampedBackgroundWordIndex, interpolationInput, values);+ };+ const pillHeight = fontSize + pillVerticalPadding * 2;+ const pillLeft = interpolateTokenLayout(+ tokenLayouts.map((measurement) => measurement.left),+ );+ const pillTop = interpolateTokenLayout(+ tokenLayouts.map(+ (measurement) => measurement.top + (measurement.height - pillHeight) / 2,+ ),+ );+ const pillWidth = interpolateTokenLayout(+ tokenLayouts.map((measurement) => measurement.width),+ );+ const textStrokeWidth = fontSize / 7;++ return (+ <div+ aria-label={page.text}+ aria-live="off"+ role="group"+ style={{+ alignItems: 'center',+ display: 'flex',+ height: '100%',+ justifyContent: 'center',+ width: '100%',+ }}+ >+ <div+ ref={textContainerRef}+ aria-hidden="true"+ style={{+ color: textColor,+ fontFamily,+ fontSize,+ fontWeight,+ lineHeight: 1.5,+ maxWidth: maximumTextWidth,+ paintOrder: 'stroke fill',+ position: 'relative',+ textAlign: 'center',+ WebkitTextStroke: `${textStrokeWidth}px #000000`,+ whiteSpace: 'normal',+ width: '100%',+ }}+ >+ {hasTokenLayouts && latestStartedTokenIndex >= 0 ? (+ <div+ aria-hidden="true"+ style={{+ backgroundColor,+ borderRadius: pillBorderRadius,+ height: pillHeight,+ left: pillLeft - pillHorizontalPadding,+ position: 'absolute',+ top: pillTop,+ width: pillWidth + pillHorizontalPadding * 2,+ }}+ />+ ) : null}+ {page.tokens.map((token, tokenIndex) => {+ const visibleText = token.text.trim();+ const visibleTextIndex = token.text.indexOf(visibleText);+ const leadingWhitespace = visibleText+ ? token.text.slice(0, visibleTextIndex)+ : token.text;+ const trailingWhitespace = visibleText+ ? token.text.slice(visibleTextIndex + visibleText.length)+ : '';++ return (+ <React.Fragment+ key={`${pageIndex}-${page.startMs}-${token.fromMs}-${tokenIndex}`}+ >+ {leadingWhitespace}+ <span+ ref={(element) => {+ tokenRefs.current[tokenIndex] = element;+ }}+ style={{+ color: textColor,+ display: 'inline-block',+ position: 'relative',+ whiteSpace: 'pre',+ zIndex: 1,+ }}+ >+ {visibleText}+ </span>+ {trailingWhitespace}+ </React.Fragment>+ );+ })}+ </div>+ </div>+ );+};++const MovingPillCaptionsContent: React.FC<{+ readonly captionAreaWidth: number | null;+ readonly captions: Caption[];+ readonly combineTokensWithinMilliseconds: number;+ readonly fontLoaded: boolean;+}> = ({+ captionAreaWidth,+ captions,+ combineTokensWithinMilliseconds,+ fontLoaded,+}) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const pages = useMemo(+ () =>+ createTikTokStyleCaptions({+ captions,+ combineTokensWithinMilliseconds,+ }).pages,+ [captions, combineTokensWithinMilliseconds],+ );+ const currentTimeMs = frameToMilliseconds(frame, fps);+ const activePageIndex = getActivePageIndex(pages, currentTimeMs);+ const page = pages[activePageIndex];++ if (!fontLoaded || !page) {+ return null;+ }++ return (+ <CaptionPage+ key={`${activePageIndex}-${page.startMs}`}+ captionAreaWidth={captionAreaWidth}+ currentTimeMs={currentTimeMs}+ fps={fps}+ page={page}+ pageIndex={activePageIndex}+ />+ );+};++const MovingPillCaptionsInner = forwardRef<+ HTMLDivElement,+ MovingPillCaptionsLayerProps & {+ readonly controls: SequenceControls | undefined;+ }+>(+ (+ {+ callerStyle,+ captions,+ combineTokensWithinMilliseconds = defaultCombineTokensWithinMilliseconds,+ controls,+ height,+ name,+ style,+ width,+ ...interactiveProps+ },+ ref,+ ) => {+ const outlineRef = useRef<HTMLDivElement>(null);+ const [fontLoaded, setFontLoaded] = useState(false);+ const {+ rotate: callerRotate,+ scale: callerScale,+ transform: callerTransform,+ transformBox: callerTransformBox,+ transformOrigin: callerTransformOrigin,+ transformStyle: callerTransformStyle,+ translate: callerTranslate,+ ...callerContentStyle+ } = callerStyle ?? {};++ useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);++ useEffect(() => {+ waitUntilDone()+ .then(() => {+ setFontLoaded(true);+ })+ .catch((error) => {+ cancelRender(+ error instanceof Error ? error : new Error(String(error)),+ );+ });+ }, []);++ return (+ <Sequence+ layout="none"+ {...interactiveProps}+ controls={controls}+ name={name ?? '<MovingPillCaptions>'}+ outlineRef={outlineRef}+ >+ <div+ style={{+ height: height ?? '100%',+ rotate: callerRotate,+ scale: callerScale,+ transform: callerTransform,+ transformBox: callerTransformBox,+ transformOrigin: callerTransformOrigin,+ transformStyle: callerTransformStyle,+ translate: callerTranslate,+ width: width ?? '100%',+ }}+ >+ <div+ ref={outlineRef}+ style={{+ height: '100%',+ width: '100%',+ ...style,+ ...callerContentStyle,+ }}+ >+ <MovingPillCaptionsContent+ captionAreaWidth={width ?? null}+ captions={captions}+ combineTokensWithinMilliseconds={combineTokensWithinMilliseconds}+ fontLoaded={fontLoaded}+ />+ </div>+ </div>+ </Sequence>+ );+ },+);++const MovingPillCaptionsWithControls: React.FC<+ MovingPillCaptionsProps & {readonly controls: SequenceControls | undefined}+> = ({captions, controls, style, ...props}) => {+ if (captions) {+ return (+ <MovingPillCaptionsInner+ {...props}+ callerStyle={style ?? null}+ captions={captions}+ controls={controls}+ style={{translate: '0px 0px'}}+ />+ );+ }++ return (+ <div+ style={{+ alignItems: 'center',+ display: 'flex',+ height: 180,+ justifyContent: 'center',+ width: 900,+ }}+ >+ <MovingPillCaptionsInner+ {...props}+ callerStyle={style ?? null}+ captions={[+ {+ text: 'Captions',+ startMs: 0,+ endMs: 800,+ timestampMs: 400,+ confidence: null,+ },+ {+ text: ' can',+ startMs: 800,+ endMs: 1500,+ timestampMs: 1150,+ confidence: null,+ },+ {+ text: ' move',+ startMs: 1500,+ endMs: 2300,+ timestampMs: 1900,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 2300,+ endMs: 3100,+ timestampMs: 2700,+ confidence: null,+ },+ {+ text: ' every',+ startMs: 3100,+ endMs: 4000,+ timestampMs: 3550,+ confidence: null,+ },+ {+ text: ' spoken',+ startMs: 4000,+ endMs: 5100,+ timestampMs: 4550,+ confidence: null,+ },+ {+ text: ' word.',+ startMs: 5100,+ endMs: 6500,+ timestampMs: 5800,+ confidence: null,+ },+ ]}+ controls={controls}+ width={props.width ?? 681}+ height={props.height ?? 252}+ style={{translate: '0px 0px'}}+ />+ </div>+ );+};++export const MovingPillCaptions = Interactive.withSchema({+ Component: MovingPillCaptionsWithControls,+ componentName: '<MovingPillCaptions>',+ componentIdentity: null,+ schema: movingPillCaptionsSchema,+ supportsEffects: false,+}) as React.FC<MovingPillCaptionsProps>;diff --git a/packages/example/src/oscilloscope.element.tsx b/packages/example/src/oscilloscope.element.tsxnew file mode 100644index 0000000000..c11fcab332--- /dev/null+++ b/packages/example/src/oscilloscope.element.tsx@@ -0,0 +1,214 @@+import {Audio} from '@remotion/media';+import {+ createSmoothSvgPath,+ getWaveformPortion,+ useWindowedAudioData,+} from '@remotion/media-utils';+import React, {forwardRef, useImperativeHandle, useRef} from 'react';+import {+ Interactive,+ Sequence,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveBaseProps,+ type InteractiveTransformProps,+ type InteractivitySchema,+ type SequenceControls,+} from 'remotion';++type AudioOscilloscopeProps = InteractiveBaseProps &+ InteractiveTransformProps & {+ readonly amplitude?: number;+ readonly audioSrc?: string;+ readonly lineColor?: string;+ readonly lineWidth?: number;+ readonly windowInSeconds?: number;+ };++const audioOscilloscopeSchema = {+ ...Interactive.baseSchema,+ audioSrc: {+ type: 'asset',+ default:+ 'https://remotion.media/elements/remotion-made-this-picture-move.mp3',+ description: 'Audio source',+ },+ lineColor: {+ type: 'color',+ default: '#55e6ff',+ description: 'Waveform color',+ },+ lineWidth: {+ type: 'number',+ min: 1,+ max: 16,+ step: 1,+ default: 6,+ description: 'Line width',+ hiddenFromList: false,+ },+ amplitude: {+ type: 'number',+ min: 0.25,+ max: 4,+ step: 0.05,+ default: 2,+ description: 'Amplitude',+ hiddenFromList: false,+ },+ windowInSeconds: {+ type: 'number',+ min: 0.05,+ max: 1,+ step: 0.05,+ default: 0.35,+ description: 'Time window in seconds',+ hiddenFromList: false,+ },+ ...Interactive.transformSchema,+} as const satisfies InteractivitySchema;++const AudioOscilloscopeContent: React.FC<{+ readonly amplitude: number;+ readonly audioSrc: string;+ readonly lineColor: string;+ readonly lineWidth: number;+ readonly outlineRef: React.RefObject<HTMLDivElement | null>;+ readonly style: AudioOscilloscopeProps['style'];+ readonly windowInSeconds: number;+}> = ({+ amplitude,+ audioSrc,+ lineColor,+ lineWidth,+ outlineRef,+ style,+ windowInSeconds,+}) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const {audioData, dataOffsetInSeconds} = useWindowedAudioData({+ fps,+ frame,+ src: audioSrc,+ windowInSeconds: 10,+ });+ const waveform = audioData+ ? getWaveformPortion({+ audioData,+ channel: 0,+ dataOffsetInSeconds,+ durationInSeconds: windowInSeconds,+ normalize: false,+ numberOfSamples: 128,+ outputRange: 'minus-one-to-one',+ startTimeInSeconds: frame / fps - windowInSeconds / 2,+ }).map((sample) => sample.amplitude)+ : [];+ const path = createSmoothSvgPath({+ points: waveform.map((value, index) => ({+ x:+ lineWidth * 2 + (index / (waveform.length - 1)) * (900 - lineWidth * 4),+ y: 150 + value * 150 * amplitude,+ })),+ });++ return (+ <div+ ref={outlineRef}+ style={{+ boxSizing: 'border-box',+ height: 300,+ overflow: 'hidden',+ width: 900,+ ...style,+ }}+ >+ <Audio showInTimeline={false} src={audioSrc} />+ <svg height={300} viewBox="0 0 900 300" width={900}>+ <line+ x1={0}+ x2={900}+ y1={150}+ y2={150}+ stroke={lineColor}+ strokeOpacity={0.18}+ strokeWidth={1}+ />+ {path ? (+ <>+ <path+ d={path}+ fill="none"+ stroke={lineColor}+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeOpacity={0.22}+ strokeWidth={lineWidth * 4}+ />+ <path+ d={path}+ fill="none"+ stroke={lineColor}+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth={lineWidth}+ />+ </>+ ) : null}+ </svg>+ </div>+ );+};++const AudioOscilloscopeInner = forwardRef<+ HTMLDivElement,+ AudioOscilloscopeProps & {readonly controls: SequenceControls | undefined}+>(+ (+ {+ amplitude = 2,+ audioSrc = 'https://remotion.media/elements/remotion-made-this-picture-move.mp3',+ controls,+ lineColor = '#55e6ff',+ lineWidth = 6,+ name,+ style,+ windowInSeconds = 0.35,+ ...sequenceProps+ },+ ref,+ ) => {+ const outlineRef = useRef<HTMLDivElement>(null);++ useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);++ return (+ <Sequence+ layout="none"+ {...sequenceProps}+ controls={controls}+ name={name ?? 'Audio oscilloscope'}+ outlineRef={outlineRef}+ >+ <AudioOscilloscopeContent+ amplitude={amplitude}+ audioSrc={audioSrc}+ lineColor={lineColor}+ lineWidth={lineWidth}+ outlineRef={outlineRef}+ style={style}+ windowInSeconds={windowInSeconds}+ />+ </Sequence>+ );+ },+);++export const AudioOscilloscope = Interactive.withSchema({+ Component: AudioOscilloscopeInner,+ componentName: '<AudioOscilloscope>',+ componentIdentity: null,+ schema: audioOscilloscopeSchema,+ supportsEffects: false,+}) as React.FC<AudioOscilloscopeProps>;diff --git a/packages/fonts/package.json b/packages/fonts/package.jsonindex 60ef5fc290..c19673c63f 100644--- a/packages/fonts/package.json+++ b/packages/fonts/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/fonts"},"name": "@remotion/fonts",- "version": "4.0.518",+ "version": "4.0.519","description": "Helpers for loading local fonts into Remotion","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/gif/package.json b/packages/gif/package.jsonindex cdc524a18c..328b771cd6 100644--- a/packages/gif/package.json+++ b/packages/gif/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/gif"},"name": "@remotion/gif",- "version": "4.0.518",+ "version": "4.0.519","description": "Embed GIFs in a Remotion video","bugs": {"url": "https://github.com/remotion-dev/remotion/issues"diff --git a/packages/google-fonts/package.json b/packages/google-fonts/package.jsonindex 340452e48a..0e18d8bdd1 100644--- a/packages/google-fonts/package.json+++ b/packages/google-fonts/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/google-fonts"},"name": "@remotion/google-fonts",- "version": "4.0.518",+ "version": "4.0.519","description": "Use Google Fonts in Remotion","main": "dist/cjs/index.js","module": "dist/esm/index.mjs",diff --git a/packages/google-fonts/scripts/incompatible-fonts.ts b/packages/google-fonts/scripts/incompatible-fonts.tsindex 31aa1cf186..9e8c24ce19 100644--- a/packages/google-fonts/scripts/incompatible-fonts.ts+++ b/packages/google-fonts/scripts/incompatible-fonts.ts@@ -1,124 +1,124 @@export const incompatibleFonts = ["Allkin","Chiron GoRound TC",- "Chiron Hei HK","Chiron Sung HK",+ "Chiron Hei HK","Libertinus Math","Linefont","Material Icons",- "Material Icons Round","Material Icons Outlined",+ "Material Icons Round",+ "Material Icons Sharp","Material Icons Two Tone","Material Symbols","Material Symbols Outlined",- "Material Icons Sharp",- "Material Symbols Rounded","Material Symbols Sharp",+ "Material Symbols Rounded","Noto Sans Math","Playwrite AR",- "Playwrite AT Guides","Playwrite AR Guides",+ "Playwrite AT Guides",+ "Playwrite AU NSW","Playwrite AU NSW Guides",- "Playwrite AU QLD",+ "Playwrite AU QLD Guides","Playwrite AT",- "Playwrite AU SA",+ "Playwrite AU QLD",+ "Playwrite AU TAS","Playwrite AU SA Guides",+ "Playwrite AU SA","Playwrite AU TAS Guides",+ "Playwrite BE VLG",+ "Playwrite BE WAL","Playwrite AU VIC",- "Playwrite AU TAS","Playwrite AU VIC Guides",- "Playwrite AU QLD Guides",- "Playwrite BE VLG","Playwrite BE VLG Guides",- "Playwrite BE WAL","Playwrite BR",- "Playwrite CA",+ "Playwrite BR Guides","Playwrite BE WAL Guides",- "Playwrite AU NSW",+ "Playwrite CA Guides","Playwrite CL Guides",+ "Playwrite CA",+ "Playwrite CU Guides","Playwrite CL",- "Playwrite CO Guides","Playwrite CO","Playwrite CU",- "Playwrite CU Guides",- "Playwrite CZ",- "Playwrite DE Grund",- "Playwrite CZ Guides",+ "Playwrite CO Guides","Playwrite DE Grund Guides",+ "Playwrite CZ Guides",+ "Playwrite DE Grund",+ "Playwrite DE SAS Guides","Playwrite DE LA",- "Playwrite DE LA Guides",- "Playwrite BR Guides","Playwrite DE SAS",- "Playwrite DE SAS Guides",+ "Playwrite CZ",+ "Playwrite DE LA Guides","Playwrite DE VA",- "Playwrite DE VA Guides",- "Playwrite DK Loopet","Playwrite DK Loopet Guides",+ "Playwrite DK Loopet",+ "Playwrite ES Deco","Playwrite DK Uloopet Guides",+ "Playwrite DE VA Guides","Playwrite DK Uloopet","Playwrite ES",- "Playwrite ES Deco",- "Playwrite ES Guides",- "Playwrite FR Moderne Guides",- "Playwrite FR Moderne","Playwrite FR Trad Guides",+ "Playwrite ES Deco Guides",+ "Playwrite FR Moderne",+ "Playwrite FR Trad","Playwrite GB J",+ "Playwrite ES Guides",+ "Playwrite GB J Guides",+ "Playwrite FR Moderne Guides",+ "Playwrite HU",+ "Playwrite HR Lijeva Guides","Playwrite GB S",- "Playwrite GB S Guides",- "Playwrite HR Guides","Playwrite HR Lijeva",- "Playwrite HR Lijeva Guides",- "Playwrite HU",- "Playwrite ES Deco Guides",- "Playwrite GB J Guides",+ "Playwrite HR Guides",+ "Playwrite GB S Guides","Playwrite HU Guides",- "Playwrite ID",- "Playwrite ID Guides",- "Playwrite IE",+ "Playwrite HR","Playwrite IE Guides",+ "Playwrite IE","Playwrite IN Guides","Playwrite IS",- "Playwrite IN","Playwrite IS Guides",+ "Playwrite IN",+ "Playwrite ID",+ "Playwrite ID Guides","Playwrite IT Moderna",- "Playwrite IT Trad","Playwrite IT Moderna Guides",+ "Playwrite IT Trad",+ "Playwrite NG Modern","Playwrite IT Trad Guides",- "Playwrite MX","Playwrite MX Guides",- "Playwrite NG Modern","Playwrite NG Modern Guides",- "Playwrite NL Guides",- "Playwrite NL",+ "Playwrite MX","Playwrite NO",- "Playwrite NO Guides",+ "Playwrite NL",+ "Playwrite NL Guides","Playwrite NZ","Playwrite NZ Basic",- "Playwrite NZ Guides","Playwrite NZ Basic Guides",- "Playwrite PE Guides",+ "Playwrite NZ Guides",+ "Playwrite NO Guides","Playwrite PE",- "Playwrite PL",+ "Playwrite PE Guides","Playwrite PT","Playwrite RO",- "Playwrite CA Guides",+ "Playwrite PT Guides",+ "Playwrite PL","Playwrite RO Guides","Playwrite SK",+ "Playwrite PL Guides","Playwrite SK Guides","Playwrite TZ","Playwrite TZ Guides","Playwrite US Modern","Playwrite US Trad",- "Playwrite US Trad Guides","Playwrite US Modern Guides",- "Playwrite VN",+ "Playwrite US Trad Guides","Playwrite VN Guides",- "Playwrite ZA","Playwrite ZA Guides",- "Playwrite FR Trad",- "Playwrite HR",- "Playwrite PT Guides",- "Playwrite PL Guides",+ "Playwrite ZA",+ "Playwrite VN","STIX Two Math","Wavefont"];\ No newline at end of filediff --git a/packages/gsap/package.json b/packages/gsap/package.jsonindex a13345e4d7..2ca6957eee 100644--- a/packages/gsap/package.json+++ b/packages/gsap/package.json@@ -1,6 +1,6 @@{"name": "@remotion/gsap",- "version": "4.0.518",+ "version": "4.0.519","description": "Use GSAP timelines in Remotion","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/install-whisper-cpp/package.json b/packages/install-whisper-cpp/package.jsonindex d7286d1bfd..ba37d23e9c 100644--- a/packages/install-whisper-cpp/package.json+++ b/packages/install-whisper-cpp/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/install-whisper-cpp"},"name": "@remotion/install-whisper-cpp",- "version": "4.0.518",+ "version": "4.0.519","description": "Helpers for installing and using Whisper.cpp","main": "dist/index.js","bugs": {diff --git a/packages/it-tests/package.json b/packages/it-tests/package.jsonindex 699613aa94..ffa9d82d4d 100644--- a/packages/it-tests/package.json+++ b/packages/it-tests/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/it-tests"},"name": "@remotion/it-tests",- "version": "4.0.518",+ "version": "4.0.519","license": "SEE LICENSE IN LICENSE.md","scripts": {"test": " node --test src/node-version/media-parser.mjs && bun test src/rendering --run --timeout 60000",diff --git a/packages/jonnys-videos/package.json b/packages/jonnys-videos/package.jsonindex 41a2ef4e17..041ab393dc 100644--- a/packages/jonnys-videos/package.json+++ b/packages/jonnys-videos/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/jonnys-videos"},"name": "@remotion/jonnys-videos",- "version": "4.0.518",+ "version": "4.0.519","private": true,"type": "module","scripts": {diff --git a/packages/kimi-code-plugin/.kimi-plugin/plugin.json b/packages/kimi-code-plugin/.kimi-plugin/plugin.jsonindex 39a2628a85..acd36a3180 100644--- a/packages/kimi-code-plugin/.kimi-plugin/plugin.json+++ b/packages/kimi-code-plugin/.kimi-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "remotion",- "version": "4.0.518",+ "version": "4.0.519","description": "Remotion video creation skills β best practices, animations, audio, captions, 3D, and more for building programmatic videos with React.","author": {"name": "Remotion",diff --git a/packages/kimi-code-plugin/package.json b/packages/kimi-code-plugin/package.jsonindex 6c797203a3..9d57b9055d 100644--- a/packages/kimi-code-plugin/package.json+++ b/packages/kimi-code-plugin/package.json@@ -1,6 +1,6 @@{"name": "@remotion/kimi-code-plugin",- "version": "4.0.518",+ "version": "4.0.519","private": true,"type": "module","repository": {diff --git a/packages/lambda-client/package.json b/packages/lambda-client/package.jsonindex 5ee9811f73..45613a495e 100644--- a/packages/lambda-client/package.json+++ b/packages/lambda-client/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda-client"},"name": "@remotion/lambda-client",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/cjs/index.js","scripts": {"formatting": "oxfmt src --check",diff --git a/packages/lambda-go-example/package.json b/packages/lambda-go-example/package.jsonindex 2276d15662..3dd65cc91d 100644--- a/packages/lambda-go-example/package.json+++ b/packages/lambda-go-example/package.json@@ -4,6 +4,6 @@},"name": "@remotion/lambda-go-example","private": true,- "version": "4.0.518",+ "version": "4.0.519","scripts": {}}diff --git a/packages/lambda-go/package.json b/packages/lambda-go/package.jsonindex 6ffe814cc6..781042b673 100644--- a/packages/lambda-go/package.json+++ b/packages/lambda-go/package.json@@ -4,7 +4,7 @@},"name": "@remotion/lambda-go","private": true,- "version": "4.0.518",+ "version": "4.0.519","scripts": {"lint": "node build.mjs","publishprivate": "node publish.mjs"diff --git a/packages/lambda-go/version.go b/packages/lambda-go/version.goindex 6e60f1a96c..7a6d92cf9c 100644--- a/packages/lambda-go/version.go+++ b/packages/lambda-go/version.go@@ -1,3 +1,3 @@package lambda_go_sdk;-const VERSION = "4.0.518"\ No newline at end of file+const VERSION = "4.0.519"\ No newline at end of filediff --git a/packages/lambda-php-example/composer.json b/packages/lambda-php-example/composer.jsonindex f2ed86fb35..416587c04d 100644--- a/packages/lambda-php-example/composer.json+++ b/packages/lambda-php-example/composer.json@@ -19,6 +19,6 @@],"require": {"vlucas/phpdotenv": "^5.5",- "remotion/lambda": "4.0.518"+ "remotion/lambda": "4.0.519"}}diff --git a/packages/lambda-php/composer.json b/packages/lambda-php/composer.jsonindex ef81083746..e65c123a01 100644--- a/packages/lambda-php/composer.json+++ b/packages/lambda-php/composer.json@@ -1,7 +1,7 @@{"name": "remotion/lambda","type": "library",- "version": "4.0.518",+ "version": "4.0.519","description": "A PHP library for working with Remotion Lambda","license": "proprietary","autoload": {diff --git a/packages/lambda-php/composer.lock b/packages/lambda-php/composer.lockindex 47ef7e63d2..df048deaea 100644--- a/packages/lambda-php/composer.lock+++ b/packages/lambda-php/composer.lock@@ -4,7 +4,7 @@"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies","This file is @generated automatically"],- "content-hash": "8454a94907735c086541672655a0fd7e",+ "content-hash": "d0164d32378e86774bbb4ba2b335c04a","packages": [{"name": "aws/aws-crt-php",diff --git a/packages/lambda-php/package.json b/packages/lambda-php/package.jsonindex 3d7c53274a..2021f788c2 100644--- a/packages/lambda-php/package.json+++ b/packages/lambda-php/package.json@@ -4,7 +4,7 @@},"name": "@remotion/lambda-php","private": true,- "version": "4.0.518",+ "version": "4.0.519","scripts": {"lint": "node build.mjs","publishprivate": "node publish.mjs"diff --git a/packages/lambda-php/src/Semantic.php b/packages/lambda-php/src/Semantic.phpindex f44c1852bd..3d76b130b5 100644--- a/packages/lambda-php/src/Semantic.php+++ b/packages/lambda-php/src/Semantic.php@@ -4,5 +4,5 @@ namespace Remotion\LambdaPhp;class Semantic{- public const VERSION = "4.0.518";+ public const VERSION = "4.0.519";}\ No newline at end of filediff --git a/packages/lambda-python/package.json b/packages/lambda-python/package.jsonindex e327b80bfe..a2944e6780 100644--- a/packages/lambda-python/package.json+++ b/packages/lambda-python/package.json@@ -4,7 +4,7 @@},"name": "@remotion/lambda-python","private": true,- "version": "4.0.518",+ "version": "4.0.519","scripts": {"publishprivate": "node publish.mjs"},diff --git a/packages/lambda-python/remotion_lambda/version.py b/packages/lambda-python/remotion_lambda/version.pyindex 7cb503ec7f..9d8d00e278 100644--- a/packages/lambda-python/remotion_lambda/version.py+++ b/packages/lambda-python/remotion_lambda/version.py@@ -1,2 +1,2 @@# pylint: disable=missing-module-docstring, missing-final-newline-VERSION = "4.0.518"\ No newline at end of file+VERSION = "4.0.519"\ No newline at end of filediff --git a/packages/lambda-ruby/lib/remotion_lambda/version.rb b/packages/lambda-ruby/lib/remotion_lambda/version.rbindex e52a5b61e5..11bdb35a9c 100644--- a/packages/lambda-ruby/lib/remotion_lambda/version.rb+++ b/packages/lambda-ruby/lib/remotion_lambda/version.rb@@ -1 +1 @@-VERSION = "4.0.518"\ No newline at end of file+VERSION = "4.0.519"\ No newline at end of filediff --git a/packages/lambda-ruby/package.json b/packages/lambda-ruby/package.jsonindex 6ee9b3eddd..6514a15bc9 100644--- a/packages/lambda-ruby/package.json+++ b/packages/lambda-ruby/package.json@@ -4,7 +4,7 @@},"name": "@remotion/lambda-ruby","private": true,- "version": "4.0.518",+ "version": "4.0.519","scripts": {"publishprivate": "bun publish.ts"},diff --git a/packages/lambda-ruby/remotion_lambda.gemspec b/packages/lambda-ruby/remotion_lambda.gemspecindex 4010a01761..cf621bdcad 100644--- a/packages/lambda-ruby/remotion_lambda.gemspec+++ b/packages/lambda-ruby/remotion_lambda.gemspec@@ -1,6 +1,6 @@Gem::Specification.new do |s|s.name = "remotion_lambda"- s.version = "4.0.518"+ s.version = "4.0.519"s.summary = "Remotion Lambda SDK"s.description = "A Ruby SDK for Remotion Lambda"s.authors = ["Jonny Burger"]diff --git a/packages/lambda/package.json b/packages/lambda/package.jsonindex db2c638b62..034ff0ff87 100644--- a/packages/lambda/package.json+++ b/packages/lambda/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"},"name": "@remotion/lambda",- "version": "4.0.518",+ "version": "4.0.519","description": "Render Remotion videos on AWS Lambda","main": "dist/index.js","scripts": {diff --git a/packages/layout-utils/package.json b/packages/layout-utils/package.jsonindex f3a654f3e9..1c76fa365a 100644--- a/packages/layout-utils/package.json+++ b/packages/layout-utils/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/layout-utils"},"name": "@remotion/layout-utils",- "version": "4.0.518",+ "version": "4.0.519","description": "Utilities for working with layouts","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/licensing/package.json b/packages/licensing/package.jsonindex bac70bc8d4..1bd44d767e 100644--- a/packages/licensing/package.json+++ b/packages/licensing/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/licensing"},"name": "@remotion/licensing",- "version": "4.0.518",+ "version": "4.0.519","description": "Manage your Remotion.pro license","main": "dist","scripts": {diff --git a/packages/light-leaks/package.json b/packages/light-leaks/package.jsonindex 533dca0271..645eca7d1a 100644--- a/packages/light-leaks/package.json+++ b/packages/light-leaks/package.json@@ -1,6 +1,6 @@{"name": "@remotion/light-leaks",- "version": "4.0.518",+ "version": "4.0.519","description": "Light leak effects for Remotion","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/lottie/package.json b/packages/lottie/package.jsonindex c567803a07..5815854d62 100644--- a/packages/lottie/package.json+++ b/packages/lottie/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/lottie"},"name": "@remotion/lottie",- "version": "4.0.518",+ "version": "4.0.519","description": "Include Lottie animations in Remotion","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/mac-cursors/package.json b/packages/mac-cursors/package.jsonindex 6b0bc9a170..f976c7a326 100644--- a/packages/mac-cursors/package.json+++ b/packages/mac-cursors/package.json@@ -1,6 +1,6 @@{"name": "@remotion/mac-cursors",- "version": "4.0.518",+ "version": "4.0.519","description": "macOS cursor components for Remotion","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/maptiler/package.json b/packages/maptiler/package.jsonindex fc9c860347..bb25b12582 100644--- a/packages/maptiler/package.json+++ b/packages/maptiler/package.json@@ -1,6 +1,6 @@{"name": "@remotion/maptiler",- "version": "4.0.518",+ "version": "4.0.519","description": "MapTiler components for Remotion","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/mcp/package.json b/packages/mcp/package.jsonindex 61e69f35e3..c68af0a5a3 100644--- a/packages/mcp/package.json+++ b/packages/mcp/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/mcp"},"name": "@remotion/mcp",- "version": "4.0.518",+ "version": "4.0.519","description": "Remotion's Model Context Protocol","main": "dist/esm/index.mjs","type": "module",diff --git a/packages/media-parser/package.json b/packages/media-parser/package.jsonindex f44d9bed0c..172bd844af 100644--- a/packages/media-parser/package.json+++ b/packages/media-parser/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/media-parser"},"name": "@remotion/media-parser",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/index.js","scripts": {"formatting": "oxfmt src --check",diff --git a/packages/media-parser/src/version.ts b/packages/media-parser/src/version.tsindex de3d60d32b..6f1eca1d94 100644--- a/packages/media-parser/src/version.ts+++ b/packages/media-parser/src/version.ts@@ -1,2 +1,2 @@// Automatically generated on publish-export const VERSION = '4.0.518';+export const VERSION = '4.0.519';diff --git a/packages/media-utils/package.json b/packages/media-utils/package.jsonindex e65c3164d9..9feb150090 100644--- a/packages/media-utils/package.json+++ b/packages/media-utils/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/media-utils"},"name": "@remotion/media-utils",- "version": "4.0.518",+ "version": "4.0.519","description": "Utilities for working with media files","main": "dist/index.js","scripts": {diff --git a/packages/media/package.json b/packages/media/package.jsonindex 9c8ba58c1c..c5b8a961f2 100644--- a/packages/media/package.json+++ b/packages/media/package.json@@ -1,6 +1,6 @@{"name": "@remotion/media",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/index.js","types": "dist/index.d.ts","module": "dist/esm/index.mjs",diff --git a/packages/motion-blur/package.json b/packages/motion-blur/package.jsonindex 1af3bcbaf8..5665bce516 100644--- a/packages/motion-blur/package.json+++ b/packages/motion-blur/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/motion-blur"},"name": "@remotion/motion-blur",- "version": "4.0.518",+ "version": "4.0.519","description": "Motion blur effect for Remotion","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/noise/package.json b/packages/noise/package.jsonindex ebda23b325..6a10b26857 100644--- a/packages/noise/package.json+++ b/packages/noise/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/noise"},"name": "@remotion/noise",- "version": "4.0.518",+ "version": "4.0.519","description": "Noise generation functions","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/openai-whisper/package.json b/packages/openai-whisper/package.jsonindex 793f06a48e..b12a5162d4 100644--- a/packages/openai-whisper/package.json+++ b/packages/openai-whisper/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/openai-whisper"},"name": "@remotion/openai-whisper",- "version": "4.0.518",+ "version": "4.0.519","description": "Work with the output of the OpenAI Whisper API","main": "dist/index.js","bugs": {diff --git a/packages/paths/package.json b/packages/paths/package.jsonindex 55f6ead163..fe1e31a962 100644--- a/packages/paths/package.json+++ b/packages/paths/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/paths"},"name": "@remotion/paths",- "version": "4.0.518",+ "version": "4.0.519","description": "Utilities for working with SVG paths","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/player-a11y/package.json b/packages/player-a11y/package.jsonindex eaccb636eb..6e95276be7 100644--- a/packages/player-a11y/package.json+++ b/packages/player-a11y/package.json@@ -1,6 +1,6 @@{"name": "@remotion/player-a11y",- "version": "4.0.518",+ "version": "4.0.519","description": "Internal accessibility wrapper around @remotion/player","private": true,"main": "dist/index.js",diff --git a/packages/player-example/package.json b/packages/player-example/package.jsonindex 081761a86d..4b0ac21dc3 100644--- a/packages/player-example/package.json+++ b/packages/player-example/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/player-example"},"name": "@remotion/player-example",- "version": "4.0.518",+ "version": "4.0.519","private": true,"author": "Jonny Burger <[email protected]>","maintainers": [diff --git a/packages/player/package.json b/packages/player/package.jsonindex 2b6a76b09c..48db55371f 100644--- a/packages/player/package.json+++ b/packages/player/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/player"},"name": "@remotion/player",- "version": "4.0.518",+ "version": "4.0.519","description": "React component for embedding a Remotion preview into your app","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/preload/package.json b/packages/preload/package.jsonindex 083616c923..731d1c895d 100644--- a/packages/preload/package.json+++ b/packages/preload/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/preload"},"name": "@remotion/preload",- "version": "4.0.518",+ "version": "4.0.519","description": "Preloads assets for use in Remotion","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/promo-pages/package.json b/packages/promo-pages/package.jsonindex e820260552..2e719246c5 100644--- a/packages/promo-pages/package.json+++ b/packages/promo-pages/package.json@@ -1,6 +1,6 @@{"name": "@remotion/promo-pages",- "version": "4.0.518",+ "version": "4.0.519","publishConfig": {"access": "public"},diff --git a/packages/react18-tests/package.json b/packages/react18-tests/package.jsonindex 7ebb794f5f..47b5c1f54f 100644--- a/packages/react18-tests/package.json+++ b/packages/react18-tests/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/react18-tests"},"name": "@remotion/react18-tests",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/index.js","scripts": {"formatting": "oxfmt src --check",diff --git a/packages/remotion-media/package.json b/packages/remotion-media/package.jsonindex c2df96edad..a16ee80a1f 100644--- a/packages/remotion-media/package.json+++ b/packages/remotion-media/package.json@@ -1,6 +1,6 @@{"name": "@remotion/remotion-media",- "version": "4.0.518",+ "version": "4.0.519","private": true,"type": "module","repository": {diff --git a/packages/renderer/package.json b/packages/renderer/package.jsonindex e263893aaa..9cabd0b207 100644--- a/packages/renderer/package.json+++ b/packages/renderer/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"},"name": "@remotion/renderer",- "version": "4.0.518",+ "version": "4.0.519","description": "Render Remotion videos using Node.js or Bun","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/rive/package.json b/packages/rive/package.jsonindex 78554fb0ca..db80f6a304 100644--- a/packages/rive/package.json+++ b/packages/rive/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/rive"},"name": "@remotion/rive",- "version": "4.0.518",+ "version": "4.0.519","description": "Embed Rive animations in a Remotion video","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/rough-notation/package.json b/packages/rough-notation/package.jsonindex c724613c49..6c50984982 100644--- a/packages/rough-notation/package.json+++ b/packages/rough-notation/package.json@@ -1,6 +1,6 @@{"name": "@remotion/rough-notation",- "version": "4.0.518",+ "version": "4.0.519","description": "Rough annotation primitives for Remotion","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/rounded-text-box/package.json b/packages/rounded-text-box/package.jsonindex a3b8d30f24..8ee32f7062 100644--- a/packages/rounded-text-box/package.json+++ b/packages/rounded-text-box/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/rounded-text-box"},"name": "@remotion/rounded-text-box",- "version": "4.0.518",+ "version": "4.0.519","description": "Create a TikTok-like multiline text box SVG path with rounded corners","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/serverless-client/package.json b/packages/serverless-client/package.jsonindex ed85fe73fe..e7dfe199df 100644--- a/packages/serverless-client/package.json+++ b/packages/serverless-client/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/serverless-client"},"name": "@remotion/serverless-client",- "version": "4.0.518",+ "version": "4.0.519","main": "dist","scripts": {"lint": "eslint src",diff --git a/packages/serverless/package.json b/packages/serverless/package.jsonindex 6479b7bba3..a0a6d285da 100644--- a/packages/serverless/package.json+++ b/packages/serverless/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/serverless"},"name": "@remotion/serverless",- "version": "4.0.518",+ "version": "4.0.519","description": "A runtime for distributed rendering","main": "dist","scripts": {diff --git a/packages/sfx/package.json b/packages/sfx/package.jsonindex 27fff80754..a5d57755e0 100644--- a/packages/sfx/package.json+++ b/packages/sfx/package.json@@ -1,6 +1,6 @@{"name": "@remotion/sfx",- "version": "4.0.518",+ "version": "4.0.519","description": "Sound effect library","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/shapes/package.json b/packages/shapes/package.jsonindex b9a8e2b3c4..79b9eb70ba 100644--- a/packages/shapes/package.json+++ b/packages/shapes/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/shapes"},"name": "@remotion/shapes",- "version": "4.0.518",+ "version": "4.0.519","description": "Generate SVG shapes","main": "dist/index.js","scripts": {diff --git a/packages/skia/package.json b/packages/skia/package.jsonindex 28e3e5f3a0..8b79bf38a7 100644--- a/packages/skia/package.json+++ b/packages/skia/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/skia"},"name": "@remotion/skia",- "version": "4.0.518",+ "version": "4.0.519","description": "Include React Native Skia components in a Remotion video","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/skills-evals/package.json b/packages/skills-evals/package.jsonindex f4fb51d01a..0e8c6e5e2b 100644--- a/packages/skills-evals/package.json+++ b/packages/skills-evals/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/skills-evals"},"name": "@remotion/skills-evals",- "version": "4.0.518",+ "version": "4.0.519","private": true,"type": "module","scripts": {diff --git a/packages/skills/package.json b/packages/skills/package.jsonindex 7119270e40..cda9c22cad 100644--- a/packages/skills/package.json+++ b/packages/skills/package.json@@ -7,7 +7,7 @@},"name": "@remotion/skills","private": true,- "version": "4.0.518",+ "version": "4.0.519","devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",diff --git a/packages/skills/skills/remotion-best-practices/SKILL.md b/packages/skills/skills/remotion-best-practices/SKILL.mdindex f8871d646b..179cbf9b08 100644--- a/packages/skills/skills/remotion-best-practices/SKILL.md+++ b/packages/skills/skills/remotion-best-practices/SKILL.md@@ -1,7 +1,7 @@---name: remotion-best-practicesdescription: Router for all Remotion skills-version: 4.0.518+version: 4.0.519---## Preserve user changesdiff --git a/packages/skills/skills/remotion-captions/SKILL.md b/packages/skills/skills/remotion-captions/SKILL.mdindex 055b42aedd..d2007b2257 100644--- a/packages/skills/skills/remotion-captions/SKILL.md+++ b/packages/skills/skills/remotion-captions/SKILL.md@@ -1,7 +1,7 @@---name: remotion-captionsdescription: Transcribing, displaying and animating captions-version: 4.0.518+version: 4.0.519---All captions must be processed in JSON. The captions must use the [`Caption`](https://www.remotion.dev/docs/captions/caption.md) type which is the following:diff --git a/packages/skills/skills/remotion-create/SKILL.md b/packages/skills/skills/remotion-create/SKILL.mdindex 28b49fa818..aeb25b2062 100644--- a/packages/skills/skills/remotion-create/SKILL.md+++ b/packages/skills/skills/remotion-create/SKILL.md@@ -1,7 +1,7 @@---name: remotion-createdescription: Create a new Remotion video-version: 4.0.518+version: 4.0.519---These are instructions for making a new Remotion project and composition.diff --git a/packages/skills/skills/remotion-docs/SKILL.md b/packages/skills/skills/remotion-docs/SKILL.mdindex 71e49f11d9..14f1db6179 100644--- a/packages/skills/skills/remotion-docs/SKILL.md+++ b/packages/skills/skills/remotion-docs/SKILL.md@@ -1,7 +1,7 @@---name: remotion-docsdescription: Search Remotion documentation-version: 4.0.518+version: 4.0.519---This skill teaches you how to discover and read current Remotion documentation.diff --git a/packages/skills/skills/remotion-interactivity/SKILL.md b/packages/skills/skills/remotion-interactivity/SKILL.mdindex 468d6b09ce..ac4a9287c1 100644--- a/packages/skills/skills/remotion-interactivity/SKILL.md+++ b/packages/skills/skills/remotion-interactivity/SKILL.md@@ -1,7 +1,7 @@---name: remotion-interactivitydescription: Structure Remotion markup for interactivity-version: 4.0.518+version: 4.0.519---By writing Remotion markup in a specific way, the Remotion Studio is able to recognize the structure of the code and makes it interactive:diff --git a/packages/skills/skills/remotion-maps/SKILL.md b/packages/skills/skills/remotion-maps/SKILL.mdindex 585c2d1e2a..190dfa0e70 100644--- a/packages/skills/skills/remotion-maps/SKILL.md+++ b/packages/skills/skills/remotion-maps/SKILL.md@@ -1,7 +1,7 @@---name: remotion-mapsdescription: Remotion Map animation knowledge-version: 4.0.518+version: 4.0.519---# Remotion Mapsdiff --git a/packages/skills/skills/remotion-markup/SKILL.md b/packages/skills/skills/remotion-markup/SKILL.mdindex f0a6c1eb8f..d3584db8df 100644--- a/packages/skills/skills/remotion-markup/SKILL.md+++ b/packages/skills/skills/remotion-markup/SKILL.md@@ -1,7 +1,7 @@---name: remotion-markupdescription: Content, animation and effects best practices-version: 4.0.518+version: 4.0.519---This is guidance for writing Remotion React Markup.diff --git a/packages/skills/skills/remotion-multimedia/SKILL.md b/packages/skills/skills/remotion-multimedia/SKILL.mdindex 6b3d363297..001c7bb6d2 100644--- a/packages/skills/skills/remotion-multimedia/SKILL.md+++ b/packages/skills/skills/remotion-multimedia/SKILL.md@@ -1,7 +1,7 @@---name: remotion-multimediadescription: Interacting with Mediabunny-version: 4.0.518+version: 4.0.519---Mediabunny is a multimedia library for dealing with audio and video in the browser.diff --git a/packages/skills/skills/remotion-render/SKILL.md b/packages/skills/skills/remotion-render/SKILL.mdindex b992dbda37..53621e8c83 100644--- a/packages/skills/skills/remotion-render/SKILL.md+++ b/packages/skills/skills/remotion-render/SKILL.md@@ -1,7 +1,7 @@---name: remotion-renderdescription: Export a Remotion video-version: 4.0.518+version: 4.0.519---## General rendering strategydiff --git a/packages/skills/skills/remotion-saas/SKILL.md b/packages/skills/skills/remotion-saas/SKILL.mdindex 8f317322a7..1c0a9a767f 100644--- a/packages/skills/skills/remotion-saas/SKILL.md+++ b/packages/skills/skills/remotion-saas/SKILL.md@@ -1,7 +1,7 @@---name: remotion-saasdescription: Build an app with Remotion-version: 4.0.518+version: 4.0.519---One can build apps with Remotion.diff --git a/packages/skills/skills/remotion-studio/SKILL.md b/packages/skills/skills/remotion-studio/SKILL.mdindex 0c08812a6b..dff6c3716e 100644--- a/packages/skills/skills/remotion-studio/SKILL.md+++ b/packages/skills/skills/remotion-studio/SKILL.md@@ -1,7 +1,7 @@---name: remotion-studiodescription: Preview a Remotion video-version: 4.0.518+version: 4.0.519---Execute the following command:diff --git a/packages/skills/skills/remotion-upgrade/SKILL.md b/packages/skills/skills/remotion-upgrade/SKILL.mdindex c8a3a1c726..3e51fa1b8d 100644--- a/packages/skills/skills/remotion-upgrade/SKILL.md+++ b/packages/skills/skills/remotion-upgrade/SKILL.md@@ -1,7 +1,7 @@---name: remotion-upgradedescription: Upgrade Remotion, and related packages-version: 4.0.518+version: 4.0.519---# Upgrade Remotiondiff --git a/packages/starburst/package.json b/packages/starburst/package.jsonindex fab82c930b..bafc7f82ae 100644--- a/packages/starburst/package.json+++ b/packages/starburst/package.json@@ -1,6 +1,6 @@{"name": "@remotion/starburst",- "version": "4.0.518",+ "version": "4.0.519","description": "Starburst ray effect for Remotion","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/streaming/package.json b/packages/streaming/package.jsonindex dac381ddbe..72ce99adec 100644--- a/packages/streaming/package.json+++ b/packages/streaming/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/streaming"},"name": "@remotion/streaming",- "version": "4.0.518",+ "version": "4.0.519","description": "Utilities for streaming data between programs","main": "dist","scripts": {diff --git a/packages/studio-codemods/package.json b/packages/studio-codemods/package.jsonindex 6b89dd6d3a..6c2921f74f 100644--- a/packages/studio-codemods/package.json+++ b/packages/studio-codemods/package.json@@ -1,6 +1,6 @@{"name": "@remotion/studio-codemods",- "version": "4.0.518",+ "version": "4.0.519","description": "Shared codemods for Remotion Studio","main": "dist/index.cjs","types": "dist/index.d.ts",diff --git a/packages/studio-protocol/package.json b/packages/studio-protocol/package.jsonindex 37fa4fe970..0d194d7b4c 100644--- a/packages/studio-protocol/package.json+++ b/packages/studio-protocol/package.json@@ -1,6 +1,6 @@{"name": "@remotion/studio-protocol",- "version": "4.0.518",+ "version": "4.0.519","description": "Create Element payloads and request installation into Remotion Studio","main": "dist/index.cjs","types": "dist/index.d.ts",diff --git a/packages/studio-server/package.json b/packages/studio-server/package.jsonindex 6dde8e6a56..281bd8f8a2 100644--- a/packages/studio-server/package.json+++ b/packages/studio-server/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio-server"},"name": "@remotion/studio-server",- "version": "4.0.518",+ "version": "4.0.519","description": "Run a Remotion Studio with a server backend","main": "dist","scripts": {diff --git a/packages/studio-shared/package.json b/packages/studio-shared/package.jsonindex 6aa84df51a..53455a48d3 100644--- a/packages/studio-shared/package.json+++ b/packages/studio-shared/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio-shared"},"name": "@remotion/studio-shared",- "version": "4.0.518",+ "version": "4.0.519","description": "Internal package for shared objects between the Studio backend and frontend","main": "dist","module": "dist/esm/index.mjs",diff --git a/packages/studio/package.json b/packages/studio/package.jsonindex 433063f453..94f49ca438 100644--- a/packages/studio/package.json+++ b/packages/studio/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"},"name": "@remotion/studio",- "version": "4.0.518",+ "version": "4.0.519","description": "APIs for interacting with the Remotion Studio","main": "dist","scripts": {diff --git a/packages/svg-3d-engine/package.json b/packages/svg-3d-engine/package.jsonindex bdeaecdeb6..4bc27b3117 100644--- a/packages/svg-3d-engine/package.json+++ b/packages/svg-3d-engine/package.json@@ -24,7 +24,7 @@"require": "./dist/cjs/index.js"}},- "version": "4.0.518",+ "version": "4.0.519","repository": {"url": "https://github.com/remotion-dev/remotion/tree/main/packages/svg-3d-engine"},diff --git a/packages/tailwind-v4/package.json b/packages/tailwind-v4/package.jsonindex 9e374fbcbf..afc829594c 100644--- a/packages/tailwind-v4/package.json+++ b/packages/tailwind-v4/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/tailwind-v4"},"name": "@remotion/tailwind-v4",- "version": "4.0.518",+ "version": "4.0.519","description": "Enable TailwindCSS support in Remotion (TailwindCSS v4)","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/tailwind/package.json b/packages/tailwind/package.jsonindex 767d7b15f4..4758ca2c1d 100644--- a/packages/tailwind/package.json+++ b/packages/tailwind/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/tailwind"},"name": "@remotion/tailwind",- "version": "4.0.518",+ "version": "4.0.519","description": "Enable TailwindCSS support in Remotion (TailwindCSS v3)","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/test-utils/package.json b/packages/test-utils/package.jsonindex d11249d363..cf1bd9cca9 100644--- a/packages/test-utils/package.json+++ b/packages/test-utils/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/test-utils"},"name": "@remotion/test-utils",- "version": "4.0.518",+ "version": "4.0.519","main": "dist","scripts": {"lint": "eslint src",diff --git a/packages/three/package.json b/packages/three/package.jsonindex 7f9eb80231..6cb9bd0bae 100644--- a/packages/three/package.json+++ b/packages/three/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/three"},"name": "@remotion/three",- "version": "4.0.518",+ "version": "4.0.519","description": "Include React Three Fiber components in a Remotion video","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",diff --git a/packages/timeline-utils/package.json b/packages/timeline-utils/package.jsonindex 73c3b73aca..779b2cd9c3 100644--- a/packages/timeline-utils/package.json+++ b/packages/timeline-utils/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/timeline-utils"},"name": "@remotion/timeline-utils",- "version": "4.0.518",+ "version": "4.0.519","description": "Internal utilities for rendering Remotion timelines","main": "dist/index.js","scripts": {diff --git a/packages/transitions/package.json b/packages/transitions/package.jsonindex 61e71ad938..8e2f19b4d0 100644--- a/packages/transitions/package.json+++ b/packages/transitions/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/transitions"},"name": "@remotion/transitions",- "version": "4.0.518",+ "version": "4.0.519","description": "Library for creating transitions in Remotion","main": "dist/esm/index.mjs","module": "dist/esm/index.js",diff --git a/packages/vercel/package.json b/packages/vercel/package.jsonindex ba99a3e7f9..3e20866c3d 100644--- a/packages/vercel/package.json+++ b/packages/vercel/package.json@@ -1,6 +1,6 @@{"name": "@remotion/vercel",- "version": "4.0.518",+ "version": "4.0.519","description": "Render Remotion videos on Vercel Sandbox","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/web-renderer/package.json b/packages/web-renderer/package.jsonindex 40c9b06a45..8e0ffc4f3a 100644--- a/packages/web-renderer/package.json+++ b/packages/web-renderer/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/web-renderer"},"name": "@remotion/web-renderer",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/index.js","type": "module","scripts": {diff --git a/packages/webcodecs/package.json b/packages/webcodecs/package.jsonindex 351eeec8a2..d2497b0d39 100644--- a/packages/webcodecs/package.json+++ b/packages/webcodecs/package.json@@ -1,6 +1,6 @@{"name": "@remotion/webcodecs",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/index.js","types": "dist/index.d.ts","module": "dist/esm/index.mjs",diff --git a/packages/whisper-web/package.json b/packages/whisper-web/package.jsonindex 4323c50669..ea290fa683 100644--- a/packages/whisper-web/package.json+++ b/packages/whisper-web/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/whisper-web"},"name": "@remotion/whisper-web",- "version": "4.0.518",+ "version": "4.0.519","main": "dist/index.js","scripts": {"formatting": "oxfmt src --check",diff --git a/packages/whisper-webgpu/package.json b/packages/whisper-webgpu/package.jsonindex 4e5b834346..19853c0c5c 100644--- a/packages/whisper-webgpu/package.json+++ b/packages/whisper-webgpu/package.json@@ -1,6 +1,6 @@{"name": "@remotion/whisper-webgpu",- "version": "4.0.518",+ "version": "4.0.519","description": "Transcribe audio in the browser using Whisper and WebGPU","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/zod-types-v3/package.json b/packages/zod-types-v3/package.jsonindex be50d75e5d..b9bffc4943 100644--- a/packages/zod-types-v3/package.json+++ b/packages/zod-types-v3/package.json@@ -1,6 +1,6 @@{"name": "@remotion/zod-types-v3",- "version": "4.0.518",+ "version": "4.0.519","description": "Zod 3.22.3 types for Remotion","main": "dist/index.js","types": "dist/index.d.ts",diff --git a/packages/zod-types/package.json b/packages/zod-types/package.jsonindex a0b2d8f6e1..729d2ac83c 100644--- a/packages/zod-types/package.json+++ b/packages/zod-types/package.json@@ -3,7 +3,7 @@"url": "https://github.com/remotion-dev/remotion/tree/main/packages/zod-types"},"name": "@remotion/zod-types",- "version": "4.0.518",+ "version": "4.0.519","description": "Zod types for Remotion","main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts",