@remotion/promo-pages 4.0.317 → 4.0.318

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.
@@ -1,8 +1,8 @@
1
1
 
2
2
  
3
- > @remotion/promo-pages@4.0.317 make /Users/jonathanburger/remotion/packages/promo-pages
3
+ > @remotion/promo-pages@4.0.318 make /Users/jonathanburger/remotion/packages/promo-pages
4
4
  > bun --env-file=../.env.bundle bundle.ts
5
5
 
6
6
  ≈ tailwindcss v4.1.1
7
7
 
8
- Done in 37ms
8
+ Done in 36ms
package/dist/Homepage.js CHANGED
@@ -735,7 +735,7 @@ var __defProp2, __export2 = (target, all) => {
735
735
  });
736
736
  }, useIsPlayer = () => {
737
737
  return useContext(IsPlayerContext);
738
- }, VERSION = "4.0.317", checkMultipleRemotionVersions = () => {
738
+ }, VERSION = "4.0.318", checkMultipleRemotionVersions = () => {
739
739
  if (typeof globalThis === "undefined") {
740
740
  return;
741
741
  }
@@ -13201,7 +13201,7 @@ var useElementSize = (ref, options) => {
13201
13201
  setSize(null);
13202
13202
  return;
13203
13203
  }
13204
- const probableCssParentScale = contentRect.width === 0 ? 1 : newSize[0].width / contentRect.width;
13204
+ const probableCssParentScale = contentRect.width === 0 || contentRect.width === 0 ? 1 : newSize[0].width / contentRect.width;
13205
13205
  const width = options.shouldApplyCssTransforms ? newSize[0].width : newSize[0].width * (1 / probableCssParentScale);
13206
13206
  const height = options.shouldApplyCssTransforms ? newSize[0].height : newSize[0].height * (1 / probableCssParentScale);
13207
13207
  setSize((prevState) => {
@@ -14995,8 +14995,7 @@ var acknowledgeRemotionLicenseMessage = (acknowledge, logLevel) => {
14995
14995
  return;
14996
14996
  }
14997
14997
  warningShown = true;
14998
- Internals.Log.warn(logLevel, "Note: Some companies are required to obtain a license to use Remotion. See: https://remotion.dev/license");
14999
- Internals.Log.warn(logLevel, "Pass the `acknowledgeRemotionLicense` prop to `<Player />` function to make this message disappear.");
14998
+ Internals.Log.warn(logLevel, "Note: Some companies are required to obtain a license to use Remotion. See: https://remotion.dev/license\nPass the `acknowledgeRemotionLicense` prop to `<Player />` function to make this message disappear.");
15000
14999
  };
15001
15000
  var validateSingleFrame = (frame, variableName) => {
15002
15001
  if (typeof frame === "undefined" || frame === null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/promo-pages",
3
- "version": "4.0.317",
3
+ "version": "4.0.318",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -10,14 +10,14 @@
10
10
  "polished": "4.3.1",
11
11
  "zod": "3.22.3",
12
12
  "bun-plugin-tailwind": "0.0.15",
13
- "@remotion/lambda": "4.0.317",
14
- "@remotion/lottie": "4.0.317",
15
- "@remotion/player": "4.0.317",
16
- "@remotion/animated-emoji": "4.0.317",
17
- "create-video": "4.0.317",
18
- "remotion": "4.0.317",
19
- "@remotion/shapes": "4.0.317",
20
- "@remotion/paths": "4.0.317"
13
+ "@remotion/animated-emoji": "4.0.318",
14
+ "@remotion/paths": "4.0.318",
15
+ "@remotion/lottie": "4.0.318",
16
+ "@remotion/shapes": "4.0.318",
17
+ "@remotion/lambda": "4.0.318",
18
+ "remotion": "4.0.318",
19
+ "@remotion/player": "4.0.318",
20
+ "create-video": "4.0.318"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@eslint/eslintrc": "3.1.0",
@@ -34,7 +34,7 @@
34
34
  "tailwind-merge": "2.5.2",
35
35
  "bun-plugin-tailwind": "0.0.13",
36
36
  "clsx": "2.1.1",
37
- "@remotion/eslint-config-internal": "4.0.317"
37
+ "@remotion/eslint-config-internal": "4.0.318"
38
38
  },
39
39
  "repository": {
40
40
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/promo-pages"