@remotion/promo-pages 4.0.259 → 4.0.261

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.258 make /Users/jonathanburger/remotion/packages/promo-pages
3
+ > @remotion/promo-pages@4.0.261 make /Users/jonathanburger/remotion/packages/promo-pages
4
4
  > bun --env-file=../.env.bundle bundle.ts
5
5
 
6
6
  ≈ tailwindcss v4.0.0
7
7
 
8
- Done in 53ms
8
+ Done in 37ms
package/bundle.ts CHANGED
@@ -28,7 +28,15 @@ const result = await Bun.build({
28
28
  './src/components/homepage/Pricing.tsx',
29
29
  ],
30
30
  format: 'esm',
31
- external: ['react', 'react-dom', 'lottie-web', 'hls.js', 'plyr', 'zod'],
31
+ external: [
32
+ 'react',
33
+ 'react/jsx-runtime',
34
+ 'react-dom',
35
+ 'lottie-web',
36
+ 'hls.js',
37
+ 'plyr',
38
+ 'zod',
39
+ ],
32
40
  });
33
41
 
34
42
  for (const output of result.outputs) {
package/dist/Homepage.js CHANGED
@@ -720,7 +720,7 @@ var __defProp2, __export2 = (target, all) => {
720
720
  });
721
721
  }, useIsPlayer = () => {
722
722
  return useContext(IsPlayerContext);
723
- }, VERSION = "4.0.258", checkMultipleRemotionVersions = () => {
723
+ }, VERSION = "4.0.261", checkMultipleRemotionVersions = () => {
724
724
  if (typeof globalThis === "undefined") {
725
725
  return;
726
726
  }
@@ -834,7 +834,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
834
834
  setNonce(context.getNonce);
835
835
  }, [context]);
836
836
  return nonce;
837
- }, exports_timeline_position_state, CompositionManager, EditorPropsContext, editorPropsProviderRef, EditorPropsProvider = ({ children }) => {
837
+ }, exports_timeline_position_state, CompositionManager, EditorPropsContext, editorPropsProviderRef, timeValueRef, EditorPropsProvider = ({ children }) => {
838
838
  const [props, setProps] = React42.useState({});
839
839
  const updateProps = useCallback22(({
840
840
  defaultProps,
@@ -5509,6 +5509,7 @@ var init_esm = __esm(() => {
5509
5509
  }
5510
5510
  });
5511
5511
  editorPropsProviderRef = React42.createRef();
5512
+ timeValueRef = React42.createRef();
5512
5513
  validCodecs = [
5513
5514
  "h264",
5514
5515
  "h265",
@@ -5819,7 +5820,8 @@ var init_esm = __esm(() => {
5819
5820
  Log,
5820
5821
  LogLevelContext,
5821
5822
  useLogLevel,
5822
- playbackLogging
5823
+ playbackLogging,
5824
+ timeValueRef
5823
5825
  };
5824
5826
  PERCENTAGE = NUMBER + "%";
5825
5827
  IsInsideSeriesContext = createContext19(false);
@@ -7880,7 +7882,7 @@ var CompanyPricing = () => {
7880
7882
  children: [
7881
7883
  /* @__PURE__ */ jsx4("div", {
7882
7884
  className: "fontbrand font-bold text-lg",
7883
- children: "WebCodec Conversion Units"
7885
+ children: "WebCodecs Conversion Units"
7884
7886
  }),
7885
7887
  /* @__PURE__ */ jsxs4("div", {
7886
7888
  className: "text-muted fontbrand text-sm",
@@ -13331,10 +13333,12 @@ var PlayerTimeLabel = ({ durationInFrames, maxTimeLabelWidth, fps }) => {
13331
13333
  textOverflow: "ellipsis"
13332
13334
  };
13333
13335
  }, [maxTimeLabelWidth]);
13336
+ const isLastFrame = frame === durationInFrames - 1;
13337
+ const frameToDisplay = isLastFrame ? frame + 1 : frame;
13334
13338
  return /* @__PURE__ */ jsxs72("div", {
13335
13339
  style: timeLabel,
13336
13340
  children: [
13337
- formatTime(frame / fps),
13341
+ formatTime(frameToDisplay / fps),
13338
13342
  " / ",
13339
13343
  formatTime(durationInFrames / fps)
13340
13344
  ]
@@ -19636,6 +19640,7 @@ var listOfRemotionPackages = [
19636
19640
  "@remotion/lambda-ruby",
19637
19641
  "@remotion/lambda-python",
19638
19642
  "@remotion/lambda",
19643
+ "@remotion/lambda-client",
19639
19644
  "@remotion/layout-utils",
19640
19645
  "@remotion/licensing",
19641
19646
  "@remotion/lottie",
@@ -19653,6 +19658,7 @@ var listOfRemotionPackages = [
19653
19658
  "@remotion/promo-pages",
19654
19659
  "@remotion/streaming",
19655
19660
  "@remotion/serverless",
19661
+ "@remotion/serverless-client",
19656
19662
  "@remotion/studio-server",
19657
19663
  "@remotion/studio-shared",
19658
19664
  "@remotion/studio",
@@ -1845,7 +1845,7 @@ var CompanyPricing = () => {
1845
1845
  children: [
1846
1846
  /* @__PURE__ */ jsx4("div", {
1847
1847
  className: "fontbrand font-bold text-lg",
1848
- children: "WebCodec Conversion Units"
1848
+ children: "WebCodecs Conversion Units"
1849
1849
  }),
1850
1850
  /* @__PURE__ */ jsxs4("div", {
1851
1851
  className: "text-muted fontbrand text-sm",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/promo-pages",
3
- "version": "4.0.259",
3
+ "version": "4.0.261",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -8,36 +8,35 @@
8
8
  "dependencies": {
9
9
  "hls.js": "1.5.19",
10
10
  "polished": "4.3.1",
11
- "react": "19.0.0",
12
- "react-dom": "19.0.0",
13
11
  "vite": "^5.4.12",
14
12
  "zod": "3.22.3",
15
- "@remotion/animated-emoji": "4.0.259",
16
- "@remotion/lottie": "4.0.259",
17
- "@remotion/shapes": "4.0.259",
18
- "@remotion/player": "4.0.259",
19
- "@remotion/lambda": "4.0.259",
20
- "@remotion/eslint-config-internal": "4.0.259",
21
- "create-video": "4.0.259",
22
- "remotion": "4.0.259",
23
- "@remotion/paths": "4.0.259"
13
+ "@remotion/lottie": "4.0.261",
14
+ "@remotion/animated-emoji": "4.0.261",
15
+ "@remotion/lambda": "4.0.261",
16
+ "remotion": "4.0.261",
17
+ "@remotion/player": "4.0.261",
18
+ "@remotion/shapes": "4.0.261",
19
+ "@remotion/paths": "4.0.261",
20
+ "create-video": "4.0.261"
24
21
  },
25
22
  "devDependencies": {
26
23
  "@eslint/eslintrc": "3.1.0",
27
24
  "@types/react": "19.0.0",
28
25
  "@types/react-dom": "19.0.0",
29
- "eslint": "9.14.0",
30
- "eslint-config-next": "15.0.4",
26
+ "eslint": "9.19.0",
27
+ "eslint-config-next": "15.1.6",
31
28
  "plyr": "^3.7.3",
32
29
  "postcss": "8.4.47",
33
30
  "tailwindcss": "4.0.0",
34
31
  "@tailwindcss/cli": "4.0.0",
35
32
  "@tailwindcss/vite": "4.0.0",
36
- "tailwindcss-scoped-preflight": "3.4.10",
33
+ "react": "19.0.0",
34
+ "react-dom": "19.0.0",
37
35
  "@vitejs/plugin-react-swc": "^3.5.0",
38
36
  "tailwind-merge": "2.5.2",
39
37
  "bun-plugin-tailwind": "0.0.13",
40
- "clsx": "2.1.1"
38
+ "clsx": "2.1.1",
39
+ "@remotion/eslint-config-internal": "4.0.261"
41
40
  },
42
41
  "repository": {
43
42
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/promo-pages"
@@ -253,7 +253,7 @@ export const CompanyPricing: React.FC = () => {
253
253
  <div className={'flex flex-row items-center'}>
254
254
  <div style={textUnitWrapper}>
255
255
  <div className={'fontbrand font-bold text-lg'}>
256
- WebCodec Conversion Units
256
+ WebCodecs Conversion Units
257
257
  </div>
258
258
  <div className={'text-muted fontbrand text-sm'}>
259
259
  Allows for{' '}
package/tsconfig.json CHANGED
@@ -1,15 +1,11 @@
1
1
  {
2
+ "extends": "../tsconfig.settings.json",
2
3
  "compilerOptions": {
3
- "target": "ES2021",
4
+ "rootDir": "src",
5
+ "outDir": "dist",
4
6
  "module": "Preserve",
5
- "moduleResolution": "Bundler",
6
- "jsx": "react-jsx",
7
- "strict": true,
8
- "noEmit": true,
9
7
  "lib": ["ES2021", "DOM"],
10
- "esModuleInterop": true,
11
- "skipLibCheck": true,
12
- "forceConsistentCasingInFileNames": true,
13
- "noUnusedLocals": true
14
- }
8
+ "moduleResolution": "Bundler"
9
+ },
10
+ "include": ["src"]
15
11
  }