@remotion/promo-pages 4.0.332 → 4.0.334

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.332 make /Users/jonathanburger/remotion/packages/promo-pages
3
+ > @remotion/promo-pages@4.0.334 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 300ms
8
+ Done in 93ms
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.332", checkMultipleRemotionVersions = () => {
738
+ }, VERSION = "4.0.334", checkMultipleRemotionVersions = () => {
739
739
  if (typeof globalThis === "undefined") {
740
740
  return;
741
741
  }
@@ -13670,6 +13670,10 @@ var Checkmark = () => /* @__PURE__ */ jsx73("svg", {
13670
13670
  d: "M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"
13671
13671
  })
13672
13672
  });
13673
+ var formatPlaybackRate = (rate) => {
13674
+ const str = rate.toString();
13675
+ return str.includes(".") ? str : str + ".0";
13676
+ };
13673
13677
  var PlaybackrateOption = ({ rate, onSelect, selectedRate, keyboardSelectedRate }) => {
13674
13678
  const onClick = useCallback62((e) => {
13675
13679
  e.stopPropagation();
@@ -13701,7 +13705,7 @@ var PlaybackrateOption = ({ rate, onSelect, selectedRate, keyboardSelectedRate }
13701
13705
  style: checkmarkContainer,
13702
13706
  children: rate === selectedRate ? /* @__PURE__ */ jsx73(Checkmark, {}) : null
13703
13707
  }),
13704
- rate.toFixed(1),
13708
+ formatPlaybackRate(rate),
13705
13709
  "x"
13706
13710
  ]
13707
13711
  }, rate);
@@ -19349,6 +19353,24 @@ var ParameterizeAndEdit = () => {
19349
19353
  })
19350
19354
  })
19351
19355
  ]
19356
+ }),
19357
+ /* @__PURE__ */ jsx95("br", {}),
19358
+ /* @__PURE__ */ jsxs39("a", {
19359
+ className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center",
19360
+ href: "/docs/editor-starter",
19361
+ children: [
19362
+ "Remotion Editor Starter",
19363
+ " ",
19364
+ /* @__PURE__ */ jsx95("svg", {
19365
+ style: icon3,
19366
+ xmlns: "http://www.w3.org/2000/svg",
19367
+ viewBox: "0 0 448 512",
19368
+ children: /* @__PURE__ */ jsx95("path", {
19369
+ fill: "currentColor",
19370
+ d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
19371
+ })
19372
+ })
19373
+ ]
19352
19374
  })
19353
19375
  ]
19354
19376
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/promo-pages",
3
- "version": "4.0.332",
3
+ "version": "4.0.334",
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/animated-emoji": "4.0.332",
14
- "@remotion/lottie": "4.0.332",
15
- "@remotion/lambda": "4.0.332",
16
- "@remotion/paths": "4.0.332",
17
- "@remotion/player": "4.0.332",
18
- "@remotion/shapes": "4.0.332",
19
- "remotion": "4.0.332",
20
- "create-video": "4.0.332"
13
+ "@remotion/lambda": "4.0.334",
14
+ "create-video": "4.0.334",
15
+ "@remotion/player": "4.0.334",
16
+ "remotion": "4.0.334",
17
+ "@remotion/shapes": "4.0.334",
18
+ "@remotion/paths": "4.0.334",
19
+ "@remotion/lottie": "4.0.334",
20
+ "@remotion/animated-emoji": "4.0.334"
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.332"
37
+ "@remotion/eslint-config-internal": "4.0.334"
38
38
  },
39
39
  "repository": {
40
40
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/promo-pages"
@@ -82,6 +82,23 @@ export const ParameterizeAndEdit: React.FC = () => {
82
82
  />
83
83
  </svg>
84
84
  </a>
85
+ <br />
86
+ <a
87
+ className="no-underline text-brand font-brand font-bold inline-flex flex-row items-center"
88
+ href="/docs/editor-starter"
89
+ >
90
+ Remotion Editor Starter{' '}
91
+ <svg
92
+ style={icon}
93
+ xmlns="http://www.w3.org/2000/svg"
94
+ viewBox="0 0 448 512"
95
+ >
96
+ <path
97
+ fill="currentColor"
98
+ d="M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
99
+ />
100
+ </svg>
101
+ </a>
85
102
  </div>
86
103
  </div>
87
104
  </div>