@remotion/vercel 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.
- package/dist/esm/index.mjs +222 -0
- package/package.json +4 -4
package/dist/esm/index.mjs
CHANGED
|
@@ -865,6 +865,49 @@ var borderSchema = {
|
|
|
865
865
|
description: "Border color"
|
|
866
866
|
}
|
|
867
867
|
};
|
|
868
|
+
var borderRadiusSchema = {
|
|
869
|
+
"style.borderRadius": {
|
|
870
|
+
type: "number",
|
|
871
|
+
default: 0,
|
|
872
|
+
min: 0,
|
|
873
|
+
step: 1,
|
|
874
|
+
description: "Border radius",
|
|
875
|
+
hiddenFromList: false,
|
|
876
|
+
keyframable: true
|
|
877
|
+
},
|
|
878
|
+
"style.borderTopLeftRadius": {
|
|
879
|
+
type: "number",
|
|
880
|
+
default: 0,
|
|
881
|
+
min: 0,
|
|
882
|
+
step: 1,
|
|
883
|
+
description: "Top left radius",
|
|
884
|
+
hiddenFromList: false
|
|
885
|
+
},
|
|
886
|
+
"style.borderTopRightRadius": {
|
|
887
|
+
type: "number",
|
|
888
|
+
default: 0,
|
|
889
|
+
min: 0,
|
|
890
|
+
step: 1,
|
|
891
|
+
description: "Top right radius",
|
|
892
|
+
hiddenFromList: false
|
|
893
|
+
},
|
|
894
|
+
"style.borderBottomRightRadius": {
|
|
895
|
+
type: "number",
|
|
896
|
+
default: 0,
|
|
897
|
+
min: 0,
|
|
898
|
+
step: 1,
|
|
899
|
+
description: "Bottom right radius",
|
|
900
|
+
hiddenFromList: false
|
|
901
|
+
},
|
|
902
|
+
"style.borderBottomLeftRadius": {
|
|
903
|
+
type: "number",
|
|
904
|
+
default: 0,
|
|
905
|
+
min: 0,
|
|
906
|
+
step: 1,
|
|
907
|
+
description: "Bottom left radius",
|
|
908
|
+
hiddenFromList: false
|
|
909
|
+
}
|
|
910
|
+
};
|
|
868
911
|
var backgroundSchema = {
|
|
869
912
|
"style.backgroundColor": {
|
|
870
913
|
type: "color",
|
|
@@ -872,6 +915,29 @@ var backgroundSchema = {
|
|
|
872
915
|
description: "Color"
|
|
873
916
|
}
|
|
874
917
|
};
|
|
918
|
+
var svgStrokeSchema = {
|
|
919
|
+
stroke: {
|
|
920
|
+
type: "color",
|
|
921
|
+
default: "none",
|
|
922
|
+
description: "Stroke"
|
|
923
|
+
},
|
|
924
|
+
strokeWidth: {
|
|
925
|
+
type: "number",
|
|
926
|
+
default: 1,
|
|
927
|
+
description: "Stroke width",
|
|
928
|
+
min: 0,
|
|
929
|
+
step: 1,
|
|
930
|
+
hiddenFromList: false
|
|
931
|
+
}
|
|
932
|
+
};
|
|
933
|
+
var svgPaintSchema = {
|
|
934
|
+
fill: {
|
|
935
|
+
type: "color",
|
|
936
|
+
default: undefined,
|
|
937
|
+
description: "Fill"
|
|
938
|
+
},
|
|
939
|
+
...svgStrokeSchema
|
|
940
|
+
};
|
|
875
941
|
var premountSchema = {
|
|
876
942
|
premountFor: {
|
|
877
943
|
type: "number",
|
|
@@ -894,10 +960,55 @@ var premountSchema = {
|
|
|
894
960
|
var sequencePremountSchema = {
|
|
895
961
|
...premountSchema
|
|
896
962
|
};
|
|
963
|
+
var cropSchema = {
|
|
964
|
+
cropLeft: {
|
|
965
|
+
type: "number",
|
|
966
|
+
default: 0,
|
|
967
|
+
description: "Crop left",
|
|
968
|
+
min: 0,
|
|
969
|
+
max: 1,
|
|
970
|
+
step: 0.01,
|
|
971
|
+
hiddenFromList: false,
|
|
972
|
+
keyframable: true
|
|
973
|
+
},
|
|
974
|
+
cropRight: {
|
|
975
|
+
type: "number",
|
|
976
|
+
default: 0,
|
|
977
|
+
description: "Crop right",
|
|
978
|
+
min: 0,
|
|
979
|
+
max: 1,
|
|
980
|
+
step: 0.01,
|
|
981
|
+
hiddenFromList: false,
|
|
982
|
+
keyframable: true
|
|
983
|
+
},
|
|
984
|
+
cropTop: {
|
|
985
|
+
type: "number",
|
|
986
|
+
default: 0,
|
|
987
|
+
description: "Crop top",
|
|
988
|
+
min: 0,
|
|
989
|
+
max: 1,
|
|
990
|
+
step: 0.01,
|
|
991
|
+
hiddenFromList: false,
|
|
992
|
+
keyframable: true
|
|
993
|
+
},
|
|
994
|
+
cropBottom: {
|
|
995
|
+
type: "number",
|
|
996
|
+
default: 0,
|
|
997
|
+
description: "Crop bottom",
|
|
998
|
+
min: 0,
|
|
999
|
+
max: 1,
|
|
1000
|
+
step: 0.01,
|
|
1001
|
+
hiddenFromList: false,
|
|
1002
|
+
keyframable: true
|
|
1003
|
+
}
|
|
1004
|
+
};
|
|
1005
|
+
var sequenceCropSchema = cropSchema;
|
|
897
1006
|
var sequenceStyleSchema = {
|
|
1007
|
+
...sequenceCropSchema,
|
|
898
1008
|
...transformSchema,
|
|
899
1009
|
...backgroundSchema,
|
|
900
1010
|
...borderSchema,
|
|
1011
|
+
...borderRadiusSchema,
|
|
901
1012
|
...sequencePremountSchema
|
|
902
1013
|
};
|
|
903
1014
|
var hiddenField = {
|
|
@@ -2505,6 +2616,49 @@ var borderSchema = {
|
|
|
2505
2616
|
description: "Border color"
|
|
2506
2617
|
}
|
|
2507
2618
|
};
|
|
2619
|
+
var borderRadiusSchema = {
|
|
2620
|
+
"style.borderRadius": {
|
|
2621
|
+
type: "number",
|
|
2622
|
+
default: 0,
|
|
2623
|
+
min: 0,
|
|
2624
|
+
step: 1,
|
|
2625
|
+
description: "Border radius",
|
|
2626
|
+
hiddenFromList: false,
|
|
2627
|
+
keyframable: true
|
|
2628
|
+
},
|
|
2629
|
+
"style.borderTopLeftRadius": {
|
|
2630
|
+
type: "number",
|
|
2631
|
+
default: 0,
|
|
2632
|
+
min: 0,
|
|
2633
|
+
step: 1,
|
|
2634
|
+
description: "Top left radius",
|
|
2635
|
+
hiddenFromList: false
|
|
2636
|
+
},
|
|
2637
|
+
"style.borderTopRightRadius": {
|
|
2638
|
+
type: "number",
|
|
2639
|
+
default: 0,
|
|
2640
|
+
min: 0,
|
|
2641
|
+
step: 1,
|
|
2642
|
+
description: "Top right radius",
|
|
2643
|
+
hiddenFromList: false
|
|
2644
|
+
},
|
|
2645
|
+
"style.borderBottomRightRadius": {
|
|
2646
|
+
type: "number",
|
|
2647
|
+
default: 0,
|
|
2648
|
+
min: 0,
|
|
2649
|
+
step: 1,
|
|
2650
|
+
description: "Bottom right radius",
|
|
2651
|
+
hiddenFromList: false
|
|
2652
|
+
},
|
|
2653
|
+
"style.borderBottomLeftRadius": {
|
|
2654
|
+
type: "number",
|
|
2655
|
+
default: 0,
|
|
2656
|
+
min: 0,
|
|
2657
|
+
step: 1,
|
|
2658
|
+
description: "Bottom left radius",
|
|
2659
|
+
hiddenFromList: false
|
|
2660
|
+
}
|
|
2661
|
+
};
|
|
2508
2662
|
var backgroundSchema = {
|
|
2509
2663
|
"style.backgroundColor": {
|
|
2510
2664
|
type: "color",
|
|
@@ -2512,6 +2666,29 @@ var backgroundSchema = {
|
|
|
2512
2666
|
description: "Color"
|
|
2513
2667
|
}
|
|
2514
2668
|
};
|
|
2669
|
+
var svgStrokeSchema = {
|
|
2670
|
+
stroke: {
|
|
2671
|
+
type: "color",
|
|
2672
|
+
default: "none",
|
|
2673
|
+
description: "Stroke"
|
|
2674
|
+
},
|
|
2675
|
+
strokeWidth: {
|
|
2676
|
+
type: "number",
|
|
2677
|
+
default: 1,
|
|
2678
|
+
description: "Stroke width",
|
|
2679
|
+
min: 0,
|
|
2680
|
+
step: 1,
|
|
2681
|
+
hiddenFromList: false
|
|
2682
|
+
}
|
|
2683
|
+
};
|
|
2684
|
+
var svgPaintSchema = {
|
|
2685
|
+
fill: {
|
|
2686
|
+
type: "color",
|
|
2687
|
+
default: undefined,
|
|
2688
|
+
description: "Fill"
|
|
2689
|
+
},
|
|
2690
|
+
...svgStrokeSchema
|
|
2691
|
+
};
|
|
2515
2692
|
var premountSchema = {
|
|
2516
2693
|
premountFor: {
|
|
2517
2694
|
type: "number",
|
|
@@ -2534,10 +2711,55 @@ var premountSchema = {
|
|
|
2534
2711
|
var sequencePremountSchema = {
|
|
2535
2712
|
...premountSchema
|
|
2536
2713
|
};
|
|
2714
|
+
var cropSchema = {
|
|
2715
|
+
cropLeft: {
|
|
2716
|
+
type: "number",
|
|
2717
|
+
default: 0,
|
|
2718
|
+
description: "Crop left",
|
|
2719
|
+
min: 0,
|
|
2720
|
+
max: 1,
|
|
2721
|
+
step: 0.01,
|
|
2722
|
+
hiddenFromList: false,
|
|
2723
|
+
keyframable: true
|
|
2724
|
+
},
|
|
2725
|
+
cropRight: {
|
|
2726
|
+
type: "number",
|
|
2727
|
+
default: 0,
|
|
2728
|
+
description: "Crop right",
|
|
2729
|
+
min: 0,
|
|
2730
|
+
max: 1,
|
|
2731
|
+
step: 0.01,
|
|
2732
|
+
hiddenFromList: false,
|
|
2733
|
+
keyframable: true
|
|
2734
|
+
},
|
|
2735
|
+
cropTop: {
|
|
2736
|
+
type: "number",
|
|
2737
|
+
default: 0,
|
|
2738
|
+
description: "Crop top",
|
|
2739
|
+
min: 0,
|
|
2740
|
+
max: 1,
|
|
2741
|
+
step: 0.01,
|
|
2742
|
+
hiddenFromList: false,
|
|
2743
|
+
keyframable: true
|
|
2744
|
+
},
|
|
2745
|
+
cropBottom: {
|
|
2746
|
+
type: "number",
|
|
2747
|
+
default: 0,
|
|
2748
|
+
description: "Crop bottom",
|
|
2749
|
+
min: 0,
|
|
2750
|
+
max: 1,
|
|
2751
|
+
step: 0.01,
|
|
2752
|
+
hiddenFromList: false,
|
|
2753
|
+
keyframable: true
|
|
2754
|
+
}
|
|
2755
|
+
};
|
|
2756
|
+
var sequenceCropSchema = cropSchema;
|
|
2537
2757
|
var sequenceStyleSchema = {
|
|
2758
|
+
...sequenceCropSchema,
|
|
2538
2759
|
...transformSchema,
|
|
2539
2760
|
...backgroundSchema,
|
|
2540
2761
|
...borderSchema,
|
|
2762
|
+
...borderRadiusSchema,
|
|
2541
2763
|
...sequencePremountSchema
|
|
2542
2764
|
};
|
|
2543
2765
|
var hiddenField = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/vercel",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.501",
|
|
4
4
|
"description": "Render Remotion videos on Vercel Sandbox",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@remotion/renderer": "4.0.
|
|
27
|
-
"remotion": "4.0.
|
|
26
|
+
"@remotion/renderer": "4.0.501",
|
|
27
|
+
"remotion": "4.0.501"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@vercel/sandbox": ">=1.0.0"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"./package.json": "./package.json"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
41
|
+
"@remotion/eslint-config-internal": "4.0.501",
|
|
42
42
|
"@vercel/blob": "2.3.0",
|
|
43
43
|
"@vercel/sandbox": "1.6.0",
|
|
44
44
|
"eslint": "9.19.0",
|