@remotion/promo-pages 4.0.396 → 4.0.397

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/Homepage.js CHANGED
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.396", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.397", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -5337,16 +5337,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
5337
5337
  });
5338
5338
  }, exports_default_css, injected, injectCSS = (css) => {
5339
5339
  if (typeof document === "undefined") {
5340
- return;
5340
+ return () => {};
5341
5341
  }
5342
5342
  if (injected[css]) {
5343
- return;
5343
+ return () => {};
5344
5344
  }
5345
5345
  const head = document.head || document.getElementsByTagName("head")[0];
5346
5346
  const style = document.createElement("style");
5347
5347
  style.appendChild(document.createTextNode(css));
5348
5348
  head.prepend(style);
5349
- injected[css] = true;
5349
+ injected[css] = style;
5350
+ return () => {
5351
+ const styleElement = injected[css];
5352
+ if (styleElement) {
5353
+ if (styleElement.parentNode) {
5354
+ styleElement.parentNode.removeChild(styleElement);
5355
+ }
5356
+ delete injected[css];
5357
+ }
5358
+ };
5350
5359
  }, OBJECTFIT_CONTAIN_CLASS_NAME = "__remotion_objectfitcontain", makeDefaultPreviewCSS = (scope, backgroundColor) => {
5351
5360
  if (!scope) {
5352
5361
  return `
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.396", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.397", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -5337,16 +5337,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
5337
5337
  });
5338
5338
  }, exports_default_css, injected, injectCSS = (css) => {
5339
5339
  if (typeof document === "undefined") {
5340
- return;
5340
+ return () => {};
5341
5341
  }
5342
5342
  if (injected[css]) {
5343
- return;
5343
+ return () => {};
5344
5344
  }
5345
5345
  const head = document.head || document.getElementsByTagName("head")[0];
5346
5346
  const style = document.createElement("style");
5347
5347
  style.appendChild(document.createTextNode(css));
5348
5348
  head.prepend(style);
5349
- injected[css] = true;
5349
+ injected[css] = style;
5350
+ return () => {
5351
+ const styleElement = injected[css];
5352
+ if (styleElement) {
5353
+ if (styleElement.parentNode) {
5354
+ styleElement.parentNode.removeChild(styleElement);
5355
+ }
5356
+ delete injected[css];
5357
+ }
5358
+ };
5350
5359
  }, OBJECTFIT_CONTAIN_CLASS_NAME = "__remotion_objectfitcontain", makeDefaultPreviewCSS = (scope, backgroundColor) => {
5351
5360
  if (!scope) {
5352
5361
  return `
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.396", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.397", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -5337,16 +5337,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
5337
5337
  });
5338
5338
  }, exports_default_css, injected, injectCSS = (css) => {
5339
5339
  if (typeof document === "undefined") {
5340
- return;
5340
+ return () => {};
5341
5341
  }
5342
5342
  if (injected[css]) {
5343
- return;
5343
+ return () => {};
5344
5344
  }
5345
5345
  const head = document.head || document.getElementsByTagName("head")[0];
5346
5346
  const style = document.createElement("style");
5347
5347
  style.appendChild(document.createTextNode(css));
5348
5348
  head.prepend(style);
5349
- injected[css] = true;
5349
+ injected[css] = style;
5350
+ return () => {
5351
+ const styleElement = injected[css];
5352
+ if (styleElement) {
5353
+ if (styleElement.parentNode) {
5354
+ styleElement.parentNode.removeChild(styleElement);
5355
+ }
5356
+ delete injected[css];
5357
+ }
5358
+ };
5350
5359
  }, OBJECTFIT_CONTAIN_CLASS_NAME = "__remotion_objectfitcontain", makeDefaultPreviewCSS = (scope, backgroundColor) => {
5351
5360
  if (!scope) {
5352
5361
  return `
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.396", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.397", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -5337,16 +5337,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
5337
5337
  });
5338
5338
  }, exports_default_css, injected, injectCSS = (css) => {
5339
5339
  if (typeof document === "undefined") {
5340
- return;
5340
+ return () => {};
5341
5341
  }
5342
5342
  if (injected[css]) {
5343
- return;
5343
+ return () => {};
5344
5344
  }
5345
5345
  const head = document.head || document.getElementsByTagName("head")[0];
5346
5346
  const style = document.createElement("style");
5347
5347
  style.appendChild(document.createTextNode(css));
5348
5348
  head.prepend(style);
5349
- injected[css] = true;
5349
+ injected[css] = style;
5350
+ return () => {
5351
+ const styleElement = injected[css];
5352
+ if (styleElement) {
5353
+ if (styleElement.parentNode) {
5354
+ styleElement.parentNode.removeChild(styleElement);
5355
+ }
5356
+ delete injected[css];
5357
+ }
5358
+ };
5350
5359
  }, OBJECTFIT_CONTAIN_CLASS_NAME = "__remotion_objectfitcontain", makeDefaultPreviewCSS = (scope, backgroundColor) => {
5351
5360
  if (!scope) {
5352
5361
  return `
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.396", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.397", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -5337,16 +5337,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
5337
5337
  });
5338
5338
  }, exports_default_css, injected, injectCSS = (css) => {
5339
5339
  if (typeof document === "undefined") {
5340
- return;
5340
+ return () => {};
5341
5341
  }
5342
5342
  if (injected[css]) {
5343
- return;
5343
+ return () => {};
5344
5344
  }
5345
5345
  const head = document.head || document.getElementsByTagName("head")[0];
5346
5346
  const style = document.createElement("style");
5347
5347
  style.appendChild(document.createTextNode(css));
5348
5348
  head.prepend(style);
5349
- injected[css] = true;
5349
+ injected[css] = style;
5350
+ return () => {
5351
+ const styleElement = injected[css];
5352
+ if (styleElement) {
5353
+ if (styleElement.parentNode) {
5354
+ styleElement.parentNode.removeChild(styleElement);
5355
+ }
5356
+ delete injected[css];
5357
+ }
5358
+ };
5350
5359
  }, OBJECTFIT_CONTAIN_CLASS_NAME = "__remotion_objectfitcontain", makeDefaultPreviewCSS = (scope, backgroundColor) => {
5351
5360
  if (!scope) {
5352
5361
  return `
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.396", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.397", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -5337,16 +5337,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
5337
5337
  });
5338
5338
  }, exports_default_css, injected, injectCSS = (css) => {
5339
5339
  if (typeof document === "undefined") {
5340
- return;
5340
+ return () => {};
5341
5341
  }
5342
5342
  if (injected[css]) {
5343
- return;
5343
+ return () => {};
5344
5344
  }
5345
5345
  const head = document.head || document.getElementsByTagName("head")[0];
5346
5346
  const style = document.createElement("style");
5347
5347
  style.appendChild(document.createTextNode(css));
5348
5348
  head.prepend(style);
5349
- injected[css] = true;
5349
+ injected[css] = style;
5350
+ return () => {
5351
+ const styleElement = injected[css];
5352
+ if (styleElement) {
5353
+ if (styleElement.parentNode) {
5354
+ styleElement.parentNode.removeChild(styleElement);
5355
+ }
5356
+ delete injected[css];
5357
+ }
5358
+ };
5350
5359
  }, OBJECTFIT_CONTAIN_CLASS_NAME = "__remotion_objectfitcontain", makeDefaultPreviewCSS = (scope, backgroundColor) => {
5351
5360
  if (!scope) {
5352
5361
  return `
package/dist/design.js CHANGED
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.396", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.397", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -5337,16 +5337,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
5337
5337
  });
5338
5338
  }, exports_default_css, injected, injectCSS = (css) => {
5339
5339
  if (typeof document === "undefined") {
5340
- return;
5340
+ return () => {};
5341
5341
  }
5342
5342
  if (injected[css]) {
5343
- return;
5343
+ return () => {};
5344
5344
  }
5345
5345
  const head = document.head || document.getElementsByTagName("head")[0];
5346
5346
  const style = document.createElement("style");
5347
5347
  style.appendChild(document.createTextNode(css));
5348
5348
  head.prepend(style);
5349
- injected[css] = true;
5349
+ injected[css] = style;
5350
+ return () => {
5351
+ const styleElement = injected[css];
5352
+ if (styleElement) {
5353
+ if (styleElement.parentNode) {
5354
+ styleElement.parentNode.removeChild(styleElement);
5355
+ }
5356
+ delete injected[css];
5357
+ }
5358
+ };
5350
5359
  }, OBJECTFIT_CONTAIN_CLASS_NAME = "__remotion_objectfitcontain", makeDefaultPreviewCSS = (scope, backgroundColor) => {
5351
5360
  if (!scope) {
5352
5361
  return `
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.396", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.397", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -5337,16 +5337,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
5337
5337
  });
5338
5338
  }, exports_default_css, injected, injectCSS = (css) => {
5339
5339
  if (typeof document === "undefined") {
5340
- return;
5340
+ return () => {};
5341
5341
  }
5342
5342
  if (injected[css]) {
5343
- return;
5343
+ return () => {};
5344
5344
  }
5345
5345
  const head = document.head || document.getElementsByTagName("head")[0];
5346
5346
  const style = document.createElement("style");
5347
5347
  style.appendChild(document.createTextNode(css));
5348
5348
  head.prepend(style);
5349
- injected[css] = true;
5349
+ injected[css] = style;
5350
+ return () => {
5351
+ const styleElement = injected[css];
5352
+ if (styleElement) {
5353
+ if (styleElement.parentNode) {
5354
+ styleElement.parentNode.removeChild(styleElement);
5355
+ }
5356
+ delete injected[css];
5357
+ }
5358
+ };
5350
5359
  }, OBJECTFIT_CONTAIN_CLASS_NAME = "__remotion_objectfitcontain", makeDefaultPreviewCSS = (scope, backgroundColor) => {
5351
5360
  if (!scope) {
5352
5361
  return `
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.396", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.397", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -5337,16 +5337,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
5337
5337
  });
5338
5338
  }, exports_default_css, injected, injectCSS = (css) => {
5339
5339
  if (typeof document === "undefined") {
5340
- return;
5340
+ return () => {};
5341
5341
  }
5342
5342
  if (injected[css]) {
5343
- return;
5343
+ return () => {};
5344
5344
  }
5345
5345
  const head = document.head || document.getElementsByTagName("head")[0];
5346
5346
  const style = document.createElement("style");
5347
5347
  style.appendChild(document.createTextNode(css));
5348
5348
  head.prepend(style);
5349
- injected[css] = true;
5349
+ injected[css] = style;
5350
+ return () => {
5351
+ const styleElement = injected[css];
5352
+ if (styleElement) {
5353
+ if (styleElement.parentNode) {
5354
+ styleElement.parentNode.removeChild(styleElement);
5355
+ }
5356
+ delete injected[css];
5357
+ }
5358
+ };
5350
5359
  }, OBJECTFIT_CONTAIN_CLASS_NAME = "__remotion_objectfitcontain", makeDefaultPreviewCSS = (scope, backgroundColor) => {
5351
5360
  if (!scope) {
5352
5361
  return `
package/dist/templates.js CHANGED
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.396", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.397", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -5337,16 +5337,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
5337
5337
  });
5338
5338
  }, exports_default_css, injected, injectCSS = (css) => {
5339
5339
  if (typeof document === "undefined") {
5340
- return;
5340
+ return () => {};
5341
5341
  }
5342
5342
  if (injected[css]) {
5343
- return;
5343
+ return () => {};
5344
5344
  }
5345
5345
  const head = document.head || document.getElementsByTagName("head")[0];
5346
5346
  const style = document.createElement("style");
5347
5347
  style.appendChild(document.createTextNode(css));
5348
5348
  head.prepend(style);
5349
- injected[css] = true;
5349
+ injected[css] = style;
5350
+ return () => {
5351
+ const styleElement = injected[css];
5352
+ if (styleElement) {
5353
+ if (styleElement.parentNode) {
5354
+ styleElement.parentNode.removeChild(styleElement);
5355
+ }
5356
+ delete injected[css];
5357
+ }
5358
+ };
5350
5359
  }, OBJECTFIT_CONTAIN_CLASS_NAME = "__remotion_objectfitcontain", makeDefaultPreviewCSS = (scope, backgroundColor) => {
5351
5360
  if (!scope) {
5352
5361
  return `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/promo-pages",
3
- "version": "4.0.396",
3
+ "version": "4.0.397",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -11,23 +11,23 @@
11
11
  },
12
12
  "type": "module",
13
13
  "dependencies": {
14
- "@remotion/animated-emoji": "4.0.396",
15
- "@remotion/design": "4.0.396",
16
- "@remotion/lambda": "4.0.396",
17
- "@remotion/lottie": "4.0.396",
18
- "@remotion/paths": "4.0.396",
19
- "@remotion/player": "4.0.396",
20
- "@remotion/shapes": "4.0.396",
21
- "@remotion/svg-3d-engine": "4.0.396",
22
- "create-video": "4.0.396",
14
+ "@remotion/animated-emoji": "4.0.397",
15
+ "@remotion/design": "4.0.397",
16
+ "@remotion/lambda": "4.0.397",
17
+ "@remotion/lottie": "4.0.397",
18
+ "@remotion/paths": "4.0.397",
19
+ "@remotion/player": "4.0.397",
20
+ "@remotion/shapes": "4.0.397",
21
+ "@remotion/svg-3d-engine": "4.0.397",
22
+ "create-video": "4.0.397",
23
23
  "hls.js": "1.5.19",
24
24
  "polished": "4.3.1",
25
- "remotion": "4.0.396",
25
+ "remotion": "4.0.397",
26
26
  "zod": "3.22.3",
27
27
  "bun-plugin-tailwind": "0.1.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@remotion/eslint-config-internal": "4.0.396",
30
+ "@remotion/eslint-config-internal": "4.0.397",
31
31
  "@eslint/eslintrc": "3.1.0",
32
32
  "@types/react": "19.2.7",
33
33
  "@types/react-dom": "19.2.3",