remotion 3.0.0 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/.prettierrc.js +14 -0
  2. package/.turbo/turbo-build.log +5 -5
  3. package/.turbo/turbo-lint.log +11 -11
  4. package/.turbo/turbo-test.log +36 -30
  5. package/dist/Composition.d.ts +5 -1
  6. package/dist/Composition.d.ts.map +1 -1
  7. package/dist/Composition.js +34 -1
  8. package/dist/Composition.js.map +1 -1
  9. package/dist/CompositionManager.d.ts +9 -0
  10. package/dist/CompositionManager.d.ts.map +1 -1
  11. package/dist/CompositionManager.js +26 -0
  12. package/dist/CompositionManager.js.map +1 -1
  13. package/dist/RemotionRoot.js +3 -3
  14. package/dist/RemotionRoot.js.map +1 -1
  15. package/dist/audio/Audio.d.ts +2 -2
  16. package/dist/audio/Audio.d.ts.map +1 -1
  17. package/dist/audio/Audio.js +1 -0
  18. package/dist/audio/Audio.js.map +1 -1
  19. package/dist/audio/AudioForDevelopment.d.ts +2 -2
  20. package/dist/audio/AudioForRendering.d.ts +1 -1
  21. package/dist/audio/use-frame-for-volume-prop.d.ts +6 -0
  22. package/dist/audio/use-frame-for-volume-prop.d.ts.map +1 -0
  23. package/dist/audio/use-frame-for-volume-prop.js +16 -0
  24. package/dist/audio/use-frame-for-volume-prop.js.map +1 -0
  25. package/dist/audio/use-media-starts-at.d.ts +2 -0
  26. package/dist/audio/use-media-starts-at.d.ts.map +1 -0
  27. package/dist/audio/use-media-starts-at.js +13 -0
  28. package/dist/audio/use-media-starts-at.js.map +1 -0
  29. package/dist/config/index.d.ts +3 -3
  30. package/dist/config/index.d.ts.map +1 -1
  31. package/dist/delay-render.d.ts +15 -0
  32. package/dist/delay-render.d.ts.map +1 -0
  33. package/dist/delay-render.js +78 -0
  34. package/dist/delay-render.js.map +1 -0
  35. package/dist/index.d.ts +4 -4
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +3 -3
  38. package/dist/index.js.map +1 -1
  39. package/dist/internals.d.ts +5 -5
  40. package/dist/internals.d.ts.map +1 -1
  41. package/dist/internals.js +13 -13
  42. package/dist/internals.js.map +1 -1
  43. package/dist/use-video-config.d.ts.map +1 -1
  44. package/dist/validation/validate-folder-name.d.ts +4 -0
  45. package/dist/validation/validate-folder-name.d.ts.map +1 -0
  46. package/dist/validation/validate-folder-name.js +20 -0
  47. package/dist/validation/validate-folder-name.js.map +1 -0
  48. package/dist/video/Video.d.ts +2 -2
  49. package/dist/video/VideoForDevelopment.d.ts +1 -1
  50. package/dist/video/VideoForRendering.d.ts +1 -1
  51. package/dist/video/VideoForRendering.d.ts.map +1 -1
  52. package/dist/video/VideoForRendering.js +17 -11
  53. package/dist/video/VideoForRendering.js.map +1 -1
  54. package/package.json +4 -4
  55. package/dist/any-component.d.ts +0 -4
  56. package/dist/any-component.d.ts.map +0 -1
  57. package/dist/any-component.js +0 -3
  58. package/dist/any-component.js.map +0 -1
  59. package/dist/config/frames-per-lambda.d.ts +0 -3
  60. package/dist/config/frames-per-lambda.d.ts.map +0 -1
  61. package/dist/config/frames-per-lambda.js +0 -13
  62. package/dist/config/frames-per-lambda.js.map +0 -1
  63. package/dist/is-remote-asset.d.ts +0 -2
  64. package/dist/is-remote-asset.d.ts.map +0 -1
  65. package/dist/is-remote-asset.js +0 -8
  66. package/dist/is-remote-asset.js.map +0 -1
package/.prettierrc.js ADDED
@@ -0,0 +1,14 @@
1
+ module.exports = {
2
+ singleQuote: true,
3
+ bracketSpacing: false,
4
+ useTabs: true,
5
+ overrides: [
6
+ {
7
+ files: ['*.yml'],
8
+ options: {
9
+ singleQuote: false,
10
+ },
11
+ },
12
+ ],
13
+ plugins: [require.resolve('prettier-plugin-organize-imports')],
14
+ };
@@ -1,5 +1,5 @@
1
- remotion:build: cache hit, replaying output 0d0f1d00334f2ec2
2
- remotion:build: 
3
- remotion:build: > remotion@2.6.16 build /Users/jonathanburger/remotion/packages/core
4
- remotion:build: > tsc -d
5
- remotion:build: 
1
+ remotion:build: cache hit, replaying output 67d97c52df6ef27f
2
+ remotion:build: 
3
+ remotion:build: > remotion@3.0.2 build /Users/jonathanburger/remotion/packages/core
4
+ remotion:build: > tsc -d
5
+ remotion:build: 
@@ -1,11 +1,11 @@
1
- remotion:lint: cache hit, replaying output cfd1b8e3d4bfaf71
2
- remotion:lint: 
3
- remotion:lint: > remotion@2.6.15 lint /Users/jonathanburger/remotion/packages/core
4
- remotion:lint: > eslint src --ext ts,tsx
5
- remotion:lint: 
6
- remotion:lint: 
7
- remotion:lint: /Users/jonathanburger/remotion/packages/core/src/use-lazy-component.ts
8
- remotion:lint:  9:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
9
- remotion:lint: 
10
- remotion:lint: ✖ 1 problem (0 errors, 1 warning)
11
- remotion:lint: 
1
+ remotion:lint: cache hit, replaying output 2b460f5126a54cd2
2
+ remotion:lint: 
3
+ remotion:lint: > remotion@3.0.0 lint /Users/jonathanburger/remotion/packages/core
4
+ remotion:lint: > eslint src --ext ts,tsx
5
+ remotion:lint: 
6
+ remotion:lint: 
7
+ remotion:lint: /Users/jonathanburger/remotion/packages/core/src/use-lazy-component.ts
8
+ remotion:lint:  9:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
9
+ remotion:lint: 
10
+ remotion:lint: ✖ 1 problem (0 errors, 1 warning)
11
+ remotion:lint: 
@@ -1,8 +1,14 @@
1
- remotion:test: cache hit, replaying output d00af95c326f9762
1
+ remotion:test: cache hit, replaying output e3ba0eb77bd61cd6
2
2
  remotion:test: 
3
- remotion:test: > remotion@2.6.15 test /Users/jonathanburger/remotion/packages/core
3
+ remotion:test: > remotion@3.0.0 test /Users/jonathanburger/remotion/packages/core
4
4
  remotion:test: > jest --coverage && node generate-badges.js
5
5
  remotion:test: 
6
+ remotion:test: watchman warning: Recrawled this watch 15 times, most recently because:
7
+ remotion:test: MustScanSubDirs UserDroppedTo resolve, please review the information on
8
+ remotion:test: https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
9
+ remotion:test: To clear this warning, run:
10
+ remotion:test: `watchman watch-del '/Users/jonathanburger/remotion' ; watchman watch-project '/Users/jonathanburger/remotion'`
11
+ remotion:test: 
6
12
  remotion:test: Browserslist: caniuse-lite is outdated. Please run:
7
13
  remotion:test:  npx browserslist@latest --update-db
8
14
  remotion:test:  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
@@ -12,67 +18,67 @@
12
18
  remotion:test: Browserslist: caniuse-lite is outdated. Please run:
13
19
  remotion:test:  npx browserslist@latest --update-db
14
20
  remotion:test:  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
21
+ remotion:test: PASS src/test/easing.test.ts (11.085 s)
22
+ remotion:test: PASS src/test/crf.test.ts (11.217 s)
23
+ remotion:test: PASS src/test/interpolate.test.ts (11.633 s)
15
24
  remotion:test: Browserslist: caniuse-lite is outdated. Please run:
16
25
  remotion:test:  npx browserslist@latest --update-db
17
26
  remotion:test:  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
18
- remotion:test: PASS src/test/crf.test.ts (22.562 s)
19
- remotion:test: PASS src/test/easing.test.ts (23.331 s)
20
- remotion:test: PASS src/test/interpolate.test.ts (23.825 s)
27
+ remotion:test: PASS src/test/volume-prop.test.ts
21
28
  remotion:test: Browserslist: caniuse-lite is outdated. Please run:
22
29
  remotion:test:  npx browserslist@latest --update-db
23
30
  remotion:test:  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
24
- remotion:test: PASS src/test/volume-prop.test.ts
25
31
  remotion:test: Browserslist: caniuse-lite is outdated. Please run:
26
32
  remotion:test:  npx browserslist@latest --update-db
27
33
  remotion:test:  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
28
34
  remotion:test: PASS src/test/interpolateColors.test.ts
35
+ remotion:test: PASS src/test/nested-sequences.test.tsx (15.341 s)
29
36
  remotion:test: PASS src/test/pixel-format.test.ts
30
37
  remotion:test: Browserslist: caniuse-lite is outdated. Please run:
31
38
  remotion:test:  npx browserslist@latest --update-db
32
39
  remotion:test:  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
33
- remotion:test: PASS src/test/nested-sequences.test.tsx (30.022 s)
34
40
  remotion:test: PASS src/test/media-validation.test.tsx
35
- remotion:test: PASS src/test/image-format.test.ts
36
41
  remotion:test: PASS src/test/random.test.ts
42
+ remotion:test: PASS src/test/image-format.test.ts
37
43
  remotion:test: PASS src/test/codec.test.ts
38
44
  remotion:test: PASS src/test/get-current-time.test.ts
39
- remotion:test: PASS src/test/sequence-validation.test.tsx
40
- remotion:test: PASS src/test/range.test.tsx (13.571 s)
41
- remotion:test: PASS src/test/audio-for-rendering.test.tsx (11.012 s)
42
- remotion:test: PASS src/test/use-audio-frame.test.tsx
45
+ remotion:test: PASS src/test/sequence-validation.test.tsx (6.454 s)
46
+ remotion:test: PASS src/test/range.test.tsx (14.861 s)
47
+ remotion:test: PASS src/test/audio-for-rendering.test.tsx (13.478 s)
48
+ remotion:test: PASS src/test/use-audio-frame.test.tsx (5.065 s)
43
49
  remotion:test: PASS src/test/validate-start-from-props.test.ts
44
- remotion:test: PASS src/test/composition-rules.test.tsx (5.238 s)
45
- remotion:test: PASS src/test/freeze.test.tsx (8.949 s)
46
- remotion:test: PASS src/test/loop-validation.test.tsx (42.302 s)
47
- remotion:test: PASS src/test/series.test.tsx (42.599 s)
48
- remotion:test: PASS src/test/composition-validation.test.tsx (43.496 s)
50
+ remotion:test: PASS src/test/composition-rules.test.tsx (11.868 s)
51
+ remotion:test: PASS src/test/composition-validation.test.tsx (39.901 s)
52
+ remotion:test: PASS src/test/series.test.tsx (40.013 s)
53
+ remotion:test: PASS src/test/loop-validation.test.tsx (41.175 s)
54
+ remotion:test: PASS src/test/measure-spring.test.ts
55
+ remotion:test: PASS src/test/freeze.test.tsx (18.901 s)
49
56
  remotion:test: PASS src/test/use-sync-volume-with-media-tag.test.ts
50
57
  remotion:test: PASS src/test/log.test.ts
51
- remotion:test: PASS src/test/audio.test.tsx (6.1 s)
52
- remotion:test: PASS src/test/measure-spring.test.ts
53
- remotion:test: PASS src/test/use-media-tag-volume.test.tsx
54
- remotion:test: PASS src/test/bezier.test.ts
55
- remotion:test: PASS src/test/video.test.tsx (7.679 s)
58
+ remotion:test: PASS src/test/video.test.tsx (19.003 s)
56
59
  remotion:test: PASS src/test/pro-res-profile.test.ts
57
- remotion:test: PASS src/test/quality.test.ts
58
- remotion:test: PASS src/test/overwrite.test.ts
60
+ remotion:test: PASS src/test/use-media-tag-volume.test.tsx (5.726 s)
61
+ remotion:test: PASS src/test/bezier.test.ts
59
62
  remotion:test: PASS src/test/image-sequence.test.ts
63
+ remotion:test: PASS src/test/quality.test.ts
60
64
  remotion:test: PASS src/test/concurrency.test.ts
61
- remotion:test: PASS src/test/use-media-in-timeline.test.tsx
62
- remotion:test: PASS src/test/webpack-caching.test.ts
63
- remotion:test: PASS src/test/input-props.test.ts
64
65
  remotion:test: PASS src/test/validate-frame.test.ts
66
+ remotion:test: PASS src/test/overwrite.test.ts
67
+ remotion:test: PASS src/test/audio.test.tsx (13.874 s)
65
68
  remotion:test: PASS src/test/preview-server.test.ts
66
- remotion:test: PASS src/test/spring.test.ts
69
+ remotion:test: PASS src/test/input-props.test.ts
67
70
  remotion:test: PASS src/test/ready-manager.test.ts
68
- remotion:test: PASS src/test/validate-image-format.test.ts
71
+ remotion:test: PASS src/test/use-media-in-timeline.test.tsx (7.027 s)
69
72
  remotion:test: PASS src/test/get-asset-file-name.test.ts
73
+ remotion:test: PASS src/test/webpack-caching.test.ts
74
+ remotion:test: PASS src/test/spring.test.ts
70
75
  remotion:test: PASS src/test/truthy.test.ts
71
76
  remotion:test: PASS src/test/absolute-src.test.ts
77
+ remotion:test: PASS src/test/validate-image-format.test.ts
72
78
  remotion:test: PASS src/test/Img.test.tsx
73
79
  remotion:test: 
74
80
  remotion:test: Test Suites: 46 passed, 46 total
75
81
  remotion:test: Tests: 474 passed, 474 total
76
82
  remotion:test: Snapshots: 0 total
77
- remotion:test: Time: 50.985 s
83
+ remotion:test: Time: 56.337 s
78
84
  remotion:test: Ran all test suites.
@@ -1,4 +1,8 @@
1
- import React, { ComponentType } from 'react';
1
+ import React, { ComponentType, FC } from 'react';
2
+ export declare const Folder: FC<{
3
+ name: string;
4
+ children: React.ReactNode;
5
+ }>;
2
6
  declare type LooseComponentType<T> = ComponentType<T> | ((props: T) => React.ReactNode);
3
7
  export declare type CompProps<T> = {
4
8
  lazyComponent: () => Promise<{
@@ -1 +1 @@
1
- {"version":3,"file":"Composition.d.ts","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,aAAa,EAAwB,MAAM,OAAO,CAAC;AASlE,aAAK,kBAAkB,CAAC,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;AAEhF,oBAAY,SAAS,CAAC,CAAC,IACpB;IACA,aAAa,EAAE,MAAM,OAAO,CAAC;QAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,CAAC;CAC9D,GACD;IACA,SAAS,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC;AAEL,oBAAY,UAAU,CAAC,CAAC,IAAI;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,CAAC,CAAC;CACjB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAEjB,aAAK,gBAAgB,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,WAAW,4GAyDvB,CAAC"}
1
+ {"version":3,"file":"Composition.d.ts","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,aAAa,EAEb,EAAE,EAIF,MAAM,OAAO,CAAC;AAqBf,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAC,CAgChE,CAAC;AAEF,aAAK,kBAAkB,CAAC,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;AAEhF,oBAAY,SAAS,CAAC,CAAC,IACpB;IACA,aAAa,EAAE,MAAM,OAAO,CAAC;QAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,CAAC;CAC9D,GACD;IACA,SAAS,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC;AAEL,oBAAY,UAAU,CAAC,CAAC,IAAI;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,CAAC,CAAC;CACjB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAEjB,aAAK,gBAAgB,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,WAAW,4GAgEvB,CAAC"}
@@ -1,18 +1,47 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Composition = void 0;
3
+ exports.Composition = exports.Folder = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
5
  const react_1 = require("react");
5
6
  const CompositionManager_1 = require("./CompositionManager");
6
7
  const nonce_1 = require("./nonce");
8
+ const truthy_1 = require("./truthy");
7
9
  const use_lazy_component_1 = require("./use-lazy-component");
8
10
  const validate_composition_id_1 = require("./validation/validate-composition-id");
9
11
  const validate_dimensions_1 = require("./validation/validate-dimensions");
10
12
  const validate_duration_in_frames_1 = require("./validation/validate-duration-in-frames");
13
+ const validate_folder_name_1 = require("./validation/validate-folder-name");
11
14
  const validate_fps_1 = require("./validation/validate-fps");
15
+ const FolderContext = (0, react_1.createContext)({
16
+ folderName: null,
17
+ parentName: null,
18
+ });
19
+ const Folder = ({ name, children, }) => {
20
+ const parent = (0, react_1.useContext)(FolderContext);
21
+ const { registerFolder, unregisterFolder } = (0, react_1.useContext)(CompositionManager_1.CompositionManager);
22
+ (0, validate_folder_name_1.validateFolderName)(name);
23
+ const parentNameArr = [parent.parentName, parent.folderName].filter(truthy_1.truthy);
24
+ const parentName = parentNameArr.length === 0 ? null : parentNameArr.join('/');
25
+ const value = (0, react_1.useMemo)(() => {
26
+ return {
27
+ folderName: name,
28
+ parentName,
29
+ };
30
+ }, [name, parentName]);
31
+ (0, react_1.useEffect)(() => {
32
+ registerFolder(name, parentName);
33
+ return () => {
34
+ unregisterFolder(name, parentName);
35
+ };
36
+ }, [name, parent.folderName, parentName, registerFolder, unregisterFolder]);
37
+ return ((0, jsx_runtime_1.jsx)(FolderContext.Provider, { value: value, children: children }, void 0));
38
+ };
39
+ exports.Folder = Folder;
12
40
  const Composition = ({ width, height, fps, durationInFrames, id, defaultProps, ...compProps }) => {
13
41
  const { registerComposition, unregisterComposition } = (0, react_1.useContext)(CompositionManager_1.CompositionManager);
14
42
  const lazy = (0, use_lazy_component_1.useLazyComponent)(compProps);
15
43
  const nonce = (0, nonce_1.useNonce)();
44
+ const { folderName, parentName } = (0, react_1.useContext)(FolderContext);
16
45
  (0, react_1.useEffect)(() => {
17
46
  // Ensure it's a URL safe id
18
47
  if (!id) {
@@ -29,9 +58,11 @@ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps, .
29
58
  height,
30
59
  width,
31
60
  id,
61
+ folderName,
32
62
  component: lazy,
33
63
  defaultProps,
34
64
  nonce,
65
+ parentFolderName: parentName,
35
66
  });
36
67
  return () => {
37
68
  unregisterComposition(id);
@@ -42,11 +73,13 @@ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps, .
42
73
  height,
43
74
  lazy,
44
75
  id,
76
+ folderName,
45
77
  defaultProps,
46
78
  registerComposition,
47
79
  unregisterComposition,
48
80
  width,
49
81
  nonce,
82
+ parentName,
50
83
  ]);
51
84
  return null;
52
85
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Composition.js","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":";;;AAAA,iCAAkE;AAClE,6DAAwD;AACxD,mCAAiC;AACjC,6DAAsD;AACtD,kFAA2E;AAC3E,0EAAmE;AACnE,0FAAkF;AAClF,4DAAsD;AAwB/C,MAAM,WAAW,GAAG,CAAK,EAC/B,KAAK,EACL,MAAM,EACN,GAAG,EACH,gBAAgB,EAChB,EAAE,EACF,YAAY,EACZ,GAAG,SAAS,EACS,EAAE,EAAE;IACzB,MAAM,EAAC,mBAAmB,EAAE,qBAAqB,EAAC,GACjD,IAAA,kBAAU,EAAC,uCAAkB,CAAC,CAAC;IAEhC,MAAM,IAAI,GAAG,IAAA,qCAAgB,EAAC,SAAS,CAAC,CAAC;IACzC,MAAM,KAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;IAEzB,IAAA,iBAAS,EAAC,GAAG,EAAE;QACd,4BAA4B;QAC5B,IAAI,CAAC,EAAE,EAAE;YACR,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;SACjD;QAED,IAAA,+CAAqB,EAAC,EAAE,CAAC,CAAC;QAC1B,IAAA,uCAAiB,EAAC,KAAK,EAAE,OAAO,EAAE,iCAAiC,CAAC,CAAC;QACrE,IAAA,uCAAiB,EAAC,MAAM,EAAE,QAAQ,EAAE,iCAAiC,CAAC,CAAC;QACvE,IAAA,sDAAwB,EACvB,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AAE;QACd,4BAA4B;QAC5B,IAAI,CAAC,EAAE,EAAE;YACR,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;SACjD;QAED,IAAA,+CAAqB,EAAC,EAAE,CAAC,CAAC;QAC1B,IAAA,uCAAiB,EAAC,KAAK,EAAE,OAAO,EAAE,iCAAiC,CAAC,CAAC;QACrE,IAAA,uCAAiB,EAAC,MAAM,EAAE,QAAQ,EAAE,iCAAiC,CAAC,CAAC;QACvE,IAAA,sDAAwB,EACvB,gBAAgB,EAChB,iCAAiC,CACjC,CAAC;QAEF,IAAA,0BAAW,EAAC,GAAG,EAAE,2CAA2C,CAAC,CAAC;QAC9D,mBAAmB,CAAI;YACtB,gBAAgB;YAChB,GAAG;YACH,MAAM;YACN,KAAK;YACL,EAAE;YACF,UAAU;YACV,SAAS,EAAE,IAAI;YACf,YAAY;YACZ,KAAK;YACL,gBAAgB,EAAE,UAAU;SAC5B,CAAC,CAAC;QAEH,OAAO,GAAG,EAAE;YACX,qBAAqB,CAAC,EAAE,CAAC,CAAC;QAC3B,CAAC,CAAC;IACH,CAAC,EAAE;QACF,gBAAgB;QAChB,GAAG;QACH,MAAM;QACN,IAAI;QACJ,EAAE;QACF,UAAU;QACV,YAAY;QACZ,mBAAmB;QACnB,qBAAqB;QACrB,KAAK;QACL,KAAK;QACL,UAAU;KACV,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAhEW,QAAA,WAAW,eAgEtB"}
@@ -5,6 +5,8 @@ export declare type TComposition<T = unknown> = {
5
5
  fps: number;
6
6
  durationInFrames: number;
7
7
  id: string;
8
+ folderName: string | null;
9
+ parentFolderName: string | null;
8
10
  component: LazyExoticComponent<ComponentType<T>>;
9
11
  defaultProps: T | undefined;
10
12
  nonce: number;
@@ -56,6 +58,8 @@ export declare type CompositionManagerContext = {
56
58
  compositions: TComposition[];
57
59
  registerComposition: <T>(comp: TComposition<T>) => void;
58
60
  unregisterComposition: (name: string) => void;
61
+ registerFolder: (name: string, parent: string | null) => void;
62
+ unregisterFolder: (name: string, parent: string | null) => void;
59
63
  currentComposition: string | null;
60
64
  setCurrentComposition: (curr: string) => void;
61
65
  registerSequence: (seq: TSequence) => void;
@@ -64,11 +68,16 @@ export declare type CompositionManagerContext = {
64
68
  unregisterAsset: (id: string) => void;
65
69
  sequences: TSequence[];
66
70
  assets: TAsset[];
71
+ folders: TFolder[];
67
72
  };
68
73
  export declare const CompositionManager: React.Context<CompositionManagerContext>;
69
74
  export declare const compositionsRef: React.RefObject<{
70
75
  getCompositions: () => TCompMetadata[];
71
76
  }>;
77
+ export declare type TFolder = {
78
+ name: string;
79
+ parent: string | null;
80
+ };
72
81
  export declare const CompositionManagerProvider: React.FC<{
73
82
  children: React.ReactNode;
74
83
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"CompositionManager.d.ts","sourceRoot":"","sources":["../src/CompositionManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,aAAa,EAEb,mBAAmB,EAMnB,MAAM,OAAO,CAAC;AAEf,oBAAY,YAAY,CAAC,CAAC,GAAG,OAAO,IAAI;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;IACjD,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,aAAa,GAAG,IAAI,CAC/B,YAAY,EACZ,IAAI,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,kBAAkB,GAAG,cAAc,CACvE,CAAC;AAEF,oBAAY,kBAAkB,GAAG,IAAI,CACpC,YAAY,EACZ,IAAI,GAAG,QAAQ,GAAG,OAAO,GAAG,KAA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,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,EAAE,OAAO,EAAE,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,kBAAkB,0CAe7B,CAAC;AAEH,eAAO,MAAM,eAAe;qBACV,MAAM,aAAa,EAAE;EACnC,CAAC;AAEL,oBAAY,OAAO,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAmIA,CAAC"}
@@ -26,6 +26,8 @@ exports.CompositionManager = (0, react_1.createContext)({
26
26
  compositions: [],
27
27
  registerComposition: () => undefined,
28
28
  unregisterComposition: () => undefined,
29
+ registerFolder: () => undefined,
30
+ unregisterFolder: () => undefined,
29
31
  currentComposition: null,
30
32
  setCurrentComposition: () => undefined,
31
33
  registerSequence: () => undefined,
@@ -34,6 +36,7 @@ exports.CompositionManager = (0, react_1.createContext)({
34
36
  unregisterAsset: () => undefined,
35
37
  sequences: [],
36
38
  assets: [],
39
+ folders: [],
37
40
  });
38
41
  exports.compositionsRef = react_1.default.createRef();
39
42
  const CompositionManagerProvider = ({ children }) => {
@@ -42,6 +45,7 @@ const CompositionManagerProvider = ({ children }) => {
42
45
  const [compositions, setCompositions] = (0, react_1.useState)([]);
43
46
  const [currentComposition, setCurrentComposition] = (0, react_1.useState)(null);
44
47
  const [assets, setAssets] = (0, react_1.useState)([]);
48
+ const [folders, setFolders] = (0, react_1.useState)([]);
45
49
  const [sequences, setSequences] = (0, react_1.useState)([]);
46
50
  const registerComposition = (0, react_1.useCallback)((comp) => {
47
51
  setCompositions((comps) => {
@@ -74,6 +78,22 @@ const CompositionManagerProvider = ({ children }) => {
74
78
  return assts.filter((a) => a.id !== id);
75
79
  });
76
80
  }, []);
81
+ const registerFolder = (0, react_1.useCallback)((name, parent) => {
82
+ setFolders((prevFolders) => {
83
+ return [
84
+ ...prevFolders,
85
+ {
86
+ name,
87
+ parent,
88
+ },
89
+ ];
90
+ });
91
+ }, []);
92
+ const unregisterFolder = (0, react_1.useCallback)((name, parent) => {
93
+ setFolders((prevFolders) => {
94
+ return prevFolders.filter((p) => !(p.name === name && p.parent === parent));
95
+ });
96
+ }, []);
77
97
  (0, react_1.useLayoutEffect)(() => {
78
98
  if (typeof window !== 'undefined') {
79
99
  window.remotion_collectAssets = () => {
@@ -100,6 +120,9 @@ const CompositionManagerProvider = ({ children }) => {
100
120
  unregisterAsset,
101
121
  sequences,
102
122
  assets,
123
+ folders,
124
+ registerFolder,
125
+ unregisterFolder,
103
126
  };
104
127
  }, [
105
128
  compositions,
@@ -112,6 +135,9 @@ const CompositionManagerProvider = ({ children }) => {
112
135
  unregisterAsset,
113
136
  sequences,
114
137
  assets,
138
+ registerFolder,
139
+ unregisterFolder,
140
+ folders,
115
141
  ]);
116
142
  return ((0, jsx_runtime_1.jsx)(exports.CompositionManager.Provider, { value: contextValue, children: children }, void 0));
117
143
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CompositionManager.js","sourceRoot":"","sources":["../src/CompositionManager.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,+CASe;AAyFF,QAAA,kBAAkB,GAAG,IAAA,qBAAa,EAA4B;IAC1E,YAAY,EAAE,EAAE;IAChB,mBAAmB,EAAE,GAAG,EAAE,CAAC,SAAS;IACpC,qBAAqB,EAAE,GAAG,EAAE,CAAC,SAAS;IACtC,kBAAkB,EAAE,IAAI;IACxB,qBAAqB,EAAE,GAAG,EAAE,CAAC,SAAS;IACtC,gBAAgB,EAAE,GAAG,EAAE,CAAC,SAAS;IACjC,kBAAkB,EAAE,GAAG,EAAE,CAAC,SAAS;IACnC,aAAa,EAAE,GAAG,EAAE,CAAC,SAAS;IAC9B,eAAe,EAAE,GAAG,EAAE,C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AAK,WAAW,EAAE;YAClC,MAAM,CAAC,sBAAsB,GAAG,GAAG,EAAE;gBACpC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,8BAA8B;gBAC7C,OAAO,MAAM,CAAC;YACf,CAAC,CAAC;SACF;IACF,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEb,IAAA,2BAAmB,EAClB,uBAAe,EACf,GAAG,EAAE;QACJ,OAAO;YACN,eAAe,EAAE,GAAG,EAAE,CAAC,YAAY;SACnC,CAAC;IACH,CAAC,EACD,CAAC,YAAY,CAAC,CACd,CAAC;IAEF,MAAM,YAAY,GAAG,IAAA,eAAO,EAAC,GAA8B,EAAE;QAC5D,OAAO;YACN,YAAY;YACZ,mBAAmB;YACnB,qBAAqB;YACrB,kBAAkB;YAClB,qBAAqB;YACrB,gBAAgB;YAChB,kBAAkB;YAClB,aAAa;YACb,eAAe;YACf,SAAS;YACT,MAAM;SACN,CAAC;IACH,CAAC,EAAE;QACF,YAAY;QACZ,kBAAkB;QAClB,mBAAmB;QACnB,gBAAgB;QAChB,qBAAqB;QACrB,kBAAkB;QAClB,aAAa;QACb,eAAe;QACf,SAAS;QACT,MAAM;KACN,CAAC,CAAC;IAEH,OAAO,CACN,uBAAC,0BAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,YAC9C,QAAQ,WACoB,CAC9B,CAAC;AACH,CAAC,CAAC;AAvGW,QAAA,0BAA0B,8BAuGrC"}
1
+ {"version":3,"file":"CompositionManager.js","sourceRoot":"","sources":["../src/CompositionManager.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,+CASe;AA8FF,QAAA,kBAAkB,GAAG,IAAA,qBAAa,EAA4B;IAC1E,YAAY,EAAE,EAAE;IAChB,mBAAmB,EAAE,GAAG,EAAE,CAAC,SAAS;IACpC,qBAAqB,EAAE,GAAG,EAAE,CAAC,SAAS;IACtC,cAAc,EAAE,GAAG,EAAE,CAAC,SAAS;IAC/B,gB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f,GAAG,EAAE;QACJ,OAAO;YACN,eAAe,EAAE,GAAG,EAAE,CAAC,YAAY;SACnC,CAAC;IACH,CAAC,EACD,CAAC,YAAY,CAAC,CACd,CAAC;IAEF,MAAM,YAAY,GAAG,IAAA,eAAO,EAAC,GAA8B,EAAE;QAC5D,OAAO;YACN,YAAY;YACZ,mBAAmB;YACnB,qBAAqB;YACrB,kBAAkB;YAClB,qBAAqB;YACrB,gBAAgB;YAChB,kBAAkB;YAClB,aAAa;YACb,eAAe;YACf,SAAS;YACT,MAAM;YACN,OAAO;YACP,cAAc;YACd,gBAAgB;SAChB,CAAC;IACH,CAAC,EAAE;QACF,YAAY;QACZ,kBAAkB;QAClB,mBAAmB;QACnB,gBAAgB;QAChB,qBAAqB;QACrB,kBAAkB;QAClB,aAAa;QACb,eAAe;QACf,SAAS;QACT,MAAM;QACN,cAAc;QACd,gBAAgB;QAChB,OAAO;KACP,CAAC,CAAC;IAEH,OAAO,CACN,uBAAC,0BAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,YAC9C,QAAQ,WACoB,CAC9B,CAAC;AACH,CAAC,CAAC;AArIW,QAAA,0BAA0B,8BAqIrC"}
@@ -5,9 +5,9 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const shared_audio_tags_1 = require("./audio/shared-audio-tags");
7
7
  const CompositionManager_1 = require("./CompositionManager");
8
+ const delay_render_1 = require("./delay-render");
8
9
  const nonce_1 = require("./nonce");
9
10
  const random_1 = require("./random");
10
- const ready_manager_1 = require("./ready-manager");
11
11
  const timeline_position_state_1 = require("./timeline-position-state");
12
12
  const RemotionRoot = ({ children }) => {
13
13
  var _a;
@@ -21,9 +21,9 @@ const RemotionRoot = ({ children }) => {
21
21
  (0, react_1.useLayoutEffect)(() => {
22
22
  if (typeof window !== 'undefined') {
23
23
  window.remotion_setFrame = (f) => {
24
- const id = (0, ready_manager_1.delayRender)(`Setting the current frame to ${f}`);
24
+ const id = (0, delay_render_1.delayRender)(`Setting the current frame to ${f}`);
25
25
  setFrame(f);
26
- requestAnimationFrame(() => (0, ready_manager_1.continueRender)(id));
26
+ requestAnimationFrame(() => (0, delay_render_1.continueRender)(id));
27
27
  };
28
28
  window.remotion_isPlayer = false;
29
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RemotionRoot.js","sourceRoot":"","sources":["../src/RemotionRoot.tsx"],"names":[],"mappings":";;;;AAAA,iCAMe;AACf,iEAAqE;AACrE,6DAAgE;AAChE,mCAAoD;AACpD,qCAAgC;AAChC,mDAA4D;AAC5D,uEAMmC;AAE5B,MAAM,YAAY,GAEpB,CAAC,EAAC,QAAQ,EAAC,EAAE,EAAE;;IACnB,MAAM,CAAC,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAA,eAAM,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC9D,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAS,MAAA,MAAM,CAAC,qBAAqB,mCAAI,CAAC,CAAC,CAAC;IAC9E,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAU,KAAK,CAAC,CAAC;IACvD,MAAM,iBAAiB,GAAG,IAAA,cAAM,EAAU,KAAK,CAAC,CAAC;IACjD,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IACtD,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IACpD,MAAM,iBAAiB,GAAG,IAAA,cAAM,EAAqB,EAAE,CAAC,CAAC;IAEzD,IAAA,uBAAe,EAAC,GAAG,EAAE;QACpB,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;YAClC,MAAM,CAAC,iBAAiB,GAAG,CAAC,CAAS,EAAE,EAAE;gBACxC,MAAM,E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,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,EAAE;gBACtC,IAAI,MAAM,KAAK,MAAM,EAAE;oBACtB,gBAAgB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;iBAC/B;YACF,CAAC,CAAC,CAAC;SACH;IACF,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACN,uBAAC,oBAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,YACzC,uBAAC,yCAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,oBAAoB,YACpD,uBAAC,4CAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,uBAAuB,YAC1D,uBAAC,+CAA0B,cAC1B,uBAAC,8CAA0B;oBAC1B,8LAA8L;;wBAA9L,8LAA8L;wBAC9L,iBAAiB,EAAE,CAAC,YAEnB,QAAQ,WACmB,WACD,WACA,WACJ,WACJ,CACxB,CAAC;AACH,CAAC,CAAC;AA5EW,QAAA,YAAY,gBA4EvB"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { RemotionMainAudioProps } from './props';
3
- export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "onEnded" | "autoPlay" | "controls" | "loop"> & {
3
+ export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "autoPlay" | "controls" | "loop" | "onEnded"> & {
4
4
  volume?: import("../volume-prop").VolumeProp | undefined;
5
5
  playbackRate?: number | undefined;
6
- } & RemotionMainAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
6
+ } & RemotionMainAudioProps, "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "volume" | "playbackRate" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
7
7
  //# sourceMappingURL=Audio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../src/audio/Audio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAOjE,OAAO,EAAqB,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAsDnE,eAAO,MAAM,KAAK;;;usJAAyC,CAAC"}
1
+ {"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../src/audio/Audio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAOjE,OAAO,EAAqB,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAuDnE,eAAO,MAAM,KAAK;;;usJAAyC,CAAC"}
@@ -14,6 +14,7 @@ const AudioRefForwardingFunction = (props, ref) => {
14
14
  const audioContext = (0, react_1.useContext)(shared_audio_tags_1.SharedAudioContext);
15
15
  const { startFrom, endAt, ...otherProps } = props;
16
16
  const onError = (0, react_1.useCallback)((e) => {
17
+ console.log(e.currentTarget.error);
17
18
  throw new Error(`Could not play audio with src ${otherProps.src}: ${e.currentTarget.error}`);
18
19
  }, [otherProps.src]);
19
20
  if (typeof startFrom !== 'undefined' || typeof endAt !== 'undefined') {
@@ -1 +1 @@
1
- {"version":3,"file":"Audio.js","sourceRoot":"","sources":["../../src/audio/Audio.tsx"],"names":[],"mappings":";;;;AAAA,iCAAiE;AACjE,wDAA0D;AAC1D,8CAAuC;AACvC,kEAA2D;AAC3D,4EAAoE;AACpE,+DAA0D;AAC1D,2DAAsD;AAEtD,2DAAuD;AAEvD,MAAM,0BAA0B,GAG5B,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IAClB,MAAM,YAAY,GAAG,IAAA,kBAAU,EAAC,sCAAkB,CAAC,CAAC;IACpD,MAAM,EAAC,SAAS,EAAE,KAAK,EAAE,GAAG,UAAU,EAAC,GAAG,KAAK,CAAC;IAEhD,MAAM,OAAO,GAA8C,IAAA,mBAAW,EACrE,CAAC,CAAC,EAAE,EAAE;QACL,MAAM,IAAI,KAAK,CACd,iCAAiC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,aAAa,CAAC,KAAK,EAAE,CAC3E,CAAC;IACH,CAAC,EACD,CAAC,UAAU,CAAC,GAAG,CAAC,CAChB,CAAC;IAEF,IAAI,OAAO,SAAS,KAAK,WAAW,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;QACrE,IAAA,kDAAsB,EAAC,SAAS,EAAE,KAAK,CAAC,CAAC;QAEzC,MAAM,gBAAgB,GAAG,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,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AC,0BAA0B,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- export declare const AudioForDevelopment: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "onEnded" | "autoPlay" | "controls" | "loop"> & {
2
+ export declare const AudioForDevelopment: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "autoPlay" | "controls" | "loop" | "onEnded"> & {
3
3
  volume?: import("../volume-prop").VolumeProp | undefined;
4
4
  playbackRate?: number | undefined;
5
5
  } & {
6
6
  shouldPreMountAudioTags: boolean;
7
- }, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
7
+ }, "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "volume" | "playbackRate" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
8
8
  //# sourceMappingURL=AudioForDevelopment.d.ts.map
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { RemotionAudioProps } from './props';
3
- export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key"> & React.RefAttributes<HTMLAudioElement>>;
3
+ export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "id" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLAudioElement>>;
4
4
  //# sourceMappingURL=AudioForRendering.d.ts.map
@@ -0,0 +1,6 @@
1
+ /**
2
+ * When passing a function as the prop for `volume`,
3
+ * we calculate the way more intuitive value for currentFrame
4
+ */
5
+ export declare const useFrameForVolumeProp: () => number;
6
+ //# sourceMappingURL=use-frame-for-volume-prop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-frame-for-volume-prop.d.ts","sourceRoot":"","sources":["../../src/audio/use-frame-for-volume-prop.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,cAIjC,CAAC"}