@microfox/remotion 1.0.1 → 1.0.2

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/index.mjs CHANGED
@@ -842,7 +842,7 @@ import { z } from "zod";
842
842
  var VideoAtomDataProps = z.object({
843
843
  src: z.string(),
844
844
  // Video source URL
845
- style: z.record(z.any()).optional(),
845
+ style: z.record(z.string(), z.any()).optional(),
846
846
  // CSS styles object
847
847
  className: z.string().optional(),
848
848
  // CSS class names
@@ -881,22 +881,19 @@ var Atom4 = ({ data }) => {
881
881
  const objectFit = data.fit ? { objectFit: data.fit } : {};
882
882
  return { ...baseStyle, ...objectFit };
883
883
  }, [data.style, data.fit]);
884
- return (
885
- // @ts-ignore
886
- /* @__PURE__ */ React10.createElement(
887
- Video,
888
- {
889
- className: data.className,
890
- src: source,
891
- style: combinedStyle,
892
- trimBefore,
893
- trimAfter,
894
- playbackRate: data.playbackRate,
895
- volume: data.volume,
896
- muted: data.muted,
897
- loop: data.loop
898
- }
899
- )
884
+ return /* @__PURE__ */ React10.createElement(
885
+ Video,
886
+ {
887
+ className: data.className,
888
+ src: source,
889
+ style: combinedStyle,
890
+ trimBefore,
891
+ trimAfter,
892
+ playbackRate: data.playbackRate,
893
+ volume: data.volume,
894
+ muted: data.muted,
895
+ loop: data.loop
896
+ }
900
897
  );
901
898
  };
902
899
  var config5 = {