remotion 4.0.499 → 4.0.501

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 (57) hide show
  1. package/dist/cjs/AbsoluteFill.d.ts +237 -1
  2. package/dist/cjs/AbsoluteFill.js +40 -103
  3. package/dist/cjs/AbsoluteFillElement.d.ts +3 -0
  4. package/dist/cjs/AbsoluteFillElement.js +111 -0
  5. package/dist/cjs/Composition.js +2 -1
  6. package/dist/cjs/CompositionManager.d.ts +0 -1
  7. package/dist/cjs/Folder.js +2 -1
  8. package/dist/cjs/HtmlInCanvas.d.ts +84 -3
  9. package/dist/cjs/HtmlInCanvas.js +30 -2
  10. package/dist/cjs/Img.d.ts +84 -11
  11. package/dist/cjs/Img.js +16 -5
  12. package/dist/cjs/Interactive.d.ts +211 -6
  13. package/dist/cjs/Interactive.js +33 -11
  14. package/dist/cjs/Sequence.d.ts +4 -0
  15. package/dist/cjs/Sequence.js +30 -13
  16. package/dist/cjs/TimelineContext.d.ts +0 -1
  17. package/dist/cjs/TimelineContext.js +1 -4
  18. package/dist/cjs/animated-image/AnimatedImage.d.ts +82 -1
  19. package/dist/cjs/animated-image/AnimatedImage.js +13 -2
  20. package/dist/cjs/animated-image/props.d.ts +2 -2
  21. package/dist/cjs/audio/AudioForPreview.d.ts +0 -1
  22. package/dist/cjs/audio/AudioForPreview.js +1 -1
  23. package/dist/cjs/audio/html5-audio.d.ts +2 -2
  24. package/dist/cjs/audio/html5-audio.js +2 -2
  25. package/dist/cjs/canvas-image/CanvasImage.d.ts +83 -3
  26. package/dist/cjs/canvas-image/CanvasImage.js +13 -2
  27. package/dist/cjs/canvas-image/props.d.ts +6 -7
  28. package/dist/cjs/effects/Solid.d.ts +84 -3
  29. package/dist/cjs/effects/Solid.js +13 -2
  30. package/dist/cjs/enable-sequence-stack-traces.d.ts +4 -0
  31. package/dist/cjs/enable-sequence-stack-traces.js +16 -1
  32. package/dist/cjs/index.d.ts +3 -3
  33. package/dist/cjs/interactivity-schema.d.ts +420 -1
  34. package/dist/cjs/interactivity-schema.js +122 -1
  35. package/dist/cjs/internals.d.ts +211 -2
  36. package/dist/cjs/internals.js +7 -0
  37. package/dist/cjs/no-react.d.ts +81 -0
  38. package/dist/cjs/sequence-crop.d.ts +20 -0
  39. package/dist/cjs/sequence-crop.js +59 -0
  40. package/dist/cjs/series/index.js +4 -4
  41. package/dist/cjs/static-file.js +10 -0
  42. package/dist/cjs/truncate-src-for-label.js +5 -1
  43. package/dist/cjs/use-crop-style.d.ts +6 -0
  44. package/dist/cjs/use-crop-style.js +19 -0
  45. package/dist/cjs/use-media-in-timeline.d.ts +0 -1
  46. package/dist/cjs/use-media-in-timeline.js +1 -7
  47. package/dist/cjs/version.d.ts +1 -1
  48. package/dist/cjs/version.js +1 -1
  49. package/dist/cjs/video/OffthreadVideo.js +6 -6
  50. package/dist/cjs/video/html5-video.d.ts +2 -2
  51. package/dist/cjs/video/html5-video.js +5 -5
  52. package/dist/cjs/video/props.d.ts +1 -1
  53. package/dist/cjs/with-interactivity-schema.js +22 -12
  54. package/dist/esm/index.mjs +2453 -2022
  55. package/dist/esm/no-react.mjs +111 -0
  56. package/dist/esm/version.mjs +1 -1
  57. package/package.json +2 -2
@@ -793,6 +793,49 @@ var borderSchema = {
793
793
  description: "Border color"
794
794
  }
795
795
  };
796
+ var borderRadiusSchema = {
797
+ "style.borderRadius": {
798
+ type: "number",
799
+ default: 0,
800
+ min: 0,
801
+ step: 1,
802
+ description: "Border radius",
803
+ hiddenFromList: false,
804
+ keyframable: true
805
+ },
806
+ "style.borderTopLeftRadius": {
807
+ type: "number",
808
+ default: 0,
809
+ min: 0,
810
+ step: 1,
811
+ description: "Top left radius",
812
+ hiddenFromList: false
813
+ },
814
+ "style.borderTopRightRadius": {
815
+ type: "number",
816
+ default: 0,
817
+ min: 0,
818
+ step: 1,
819
+ description: "Top right radius",
820
+ hiddenFromList: false
821
+ },
822
+ "style.borderBottomRightRadius": {
823
+ type: "number",
824
+ default: 0,
825
+ min: 0,
826
+ step: 1,
827
+ description: "Bottom right radius",
828
+ hiddenFromList: false
829
+ },
830
+ "style.borderBottomLeftRadius": {
831
+ type: "number",
832
+ default: 0,
833
+ min: 0,
834
+ step: 1,
835
+ description: "Bottom left radius",
836
+ hiddenFromList: false
837
+ }
838
+ };
796
839
  var backgroundSchema = {
797
840
  "style.backgroundColor": {
798
841
  type: "color",
@@ -800,6 +843,29 @@ var backgroundSchema = {
800
843
  description: "Color"
801
844
  }
802
845
  };
846
+ var svgStrokeSchema = {
847
+ stroke: {
848
+ type: "color",
849
+ default: "none",
850
+ description: "Stroke"
851
+ },
852
+ strokeWidth: {
853
+ type: "number",
854
+ default: 1,
855
+ description: "Stroke width",
856
+ min: 0,
857
+ step: 1,
858
+ hiddenFromList: false
859
+ }
860
+ };
861
+ var svgPaintSchema = {
862
+ fill: {
863
+ type: "color",
864
+ default: undefined,
865
+ description: "Fill"
866
+ },
867
+ ...svgStrokeSchema
868
+ };
803
869
  var premountSchema = {
804
870
  premountFor: {
805
871
  type: "number",
@@ -822,10 +888,55 @@ var premountSchema = {
822
888
  var sequencePremountSchema = {
823
889
  ...premountSchema
824
890
  };
891
+ var cropSchema = {
892
+ cropLeft: {
893
+ type: "number",
894
+ default: 0,
895
+ description: "Crop left",
896
+ min: 0,
897
+ max: 1,
898
+ step: 0.01,
899
+ hiddenFromList: false,
900
+ keyframable: true
901
+ },
902
+ cropRight: {
903
+ type: "number",
904
+ default: 0,
905
+ description: "Crop right",
906
+ min: 0,
907
+ max: 1,
908
+ step: 0.01,
909
+ hiddenFromList: false,
910
+ keyframable: true
911
+ },
912
+ cropTop: {
913
+ type: "number",
914
+ default: 0,
915
+ description: "Crop top",
916
+ min: 0,
917
+ max: 1,
918
+ step: 0.01,
919
+ hiddenFromList: false,
920
+ keyframable: true
921
+ },
922
+ cropBottom: {
923
+ type: "number",
924
+ default: 0,
925
+ description: "Crop bottom",
926
+ min: 0,
927
+ max: 1,
928
+ step: 0.01,
929
+ hiddenFromList: false,
930
+ keyframable: true
931
+ }
932
+ };
933
+ var sequenceCropSchema = cropSchema;
825
934
  var sequenceStyleSchema = {
935
+ ...sequenceCropSchema,
826
936
  ...transformSchema,
827
937
  ...backgroundSchema,
828
938
  ...borderSchema,
939
+ ...borderRadiusSchema,
829
940
  ...sequencePremountSchema
830
941
  };
831
942
  var hiddenField = {
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var VERSION = "4.0.499";
2
+ var VERSION = "4.0.501";
3
3
  export {
4
4
  VERSION
5
5
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/core"
4
4
  },
5
5
  "name": "remotion",
6
- "version": "4.0.499",
6
+ "version": "4.0.501",
7
7
  "description": "Make videos programmatically",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "react-dom": "19.2.3",
36
36
  "webpack": "5.105.0",
37
37
  "zod": "4.4.3",
38
- "@remotion/eslint-config-internal": "4.0.499",
38
+ "@remotion/eslint-config-internal": "4.0.501",
39
39
  "eslint": "9.19.0",
40
40
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
41
41
  },