@remotion/promo-pages 4.0.377 → 4.0.379

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
@@ -756,7 +756,7 @@ var __defProp2, __export2 = (target, all) => {
756
756
  });
757
757
  }, useIsPlayer = () => {
758
758
  return useContext(IsPlayerContext);
759
- }, VERSION = "4.0.377", checkMultipleRemotionVersions = () => {
759
+ }, VERSION = "4.0.379", checkMultipleRemotionVersions = () => {
760
760
  if (typeof globalThis === "undefined") {
761
761
  return;
762
762
  }
@@ -3024,7 +3024,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
3024
3024
  Log.warn({ logLevel, tag: null }, "AudioContext is not supported in this browser");
3025
3025
  }
3026
3026
  }, useSingletonAudioContext = (logLevel, latencyHint) => {
3027
+ const env = useRemotionEnvironment();
3027
3028
  const audioContext = useMemo14(() => {
3029
+ if (env.isRendering) {
3030
+ return null;
3031
+ }
3028
3032
  if (typeof AudioContext === "undefined") {
3029
3033
  warnOnce(logLevel);
3030
3034
  return null;
@@ -3032,7 +3036,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3032
3036
  return new AudioContext({
3033
3037
  latencyHint
3034
3038
  });
3035
- }, [logLevel, latencyHint]);
3039
+ }, [logLevel, latencyHint, env.isRendering]);
3036
3040
  return audioContext;
3037
3041
  }, EMPTY_AUDIO = "data:audio/mp3;base64,/+MYxAAJcAV8AAgAABn//////+/gQ5BAMA+D4Pg+BAQBAEAwD4Pg+D4EBAEAQDAPg++hYBH///hUFQVBUFREDQNHmf///////+MYxBUGkAGIMAAAAP/29Xt6lUxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV/+MYxDUAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", compareProps = (obj1, obj2) => {
3038
3042
  const keysA = Object.keys(obj1).sort();
@@ -12970,7 +12974,9 @@ import { forwardRef as forwardRef122, createElement as createElement6 } from "re
12970
12974
  import * as React35 from "react";
12971
12975
  import { jsx as jsx223, jsxs as jsxs5 } from "react/jsx-runtime";
12972
12976
  import { jsx as jsx232 } from "react/jsx-runtime";
12977
+ import React362 from "react";
12973
12978
  import { jsx as jsx242 } from "react/jsx-runtime";
12979
+ import { jsx as jsx252 } from "react/jsx-runtime";
12974
12980
  function cn(...inputs) {
12975
12981
  return twMerge(clsx(inputs));
12976
12982
  }
@@ -13491,7 +13497,7 @@ var Counter = ({
13491
13497
  var Input = React52.forwardRef(({ className, ...props }, ref) => {
13492
13498
  return /* @__PURE__ */ jsx83("input", {
13493
13499
  ref,
13494
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13500
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13495
13501
  ...props
13496
13502
  });
13497
13503
  });
@@ -18250,12 +18256,23 @@ var Switch = ({ active, onToggle }) => {
18250
18256
  })
18251
18257
  });
18252
18258
  };
18259
+ var Textarea = React362.forwardRef(({ className, style, ...props }, ref) => {
18260
+ return /* @__PURE__ */ jsx242("textarea", {
18261
+ ref,
18262
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
18263
+ style: {
18264
+ ...style
18265
+ },
18266
+ ...props
18267
+ });
18268
+ });
18269
+ Textarea.displayName = "Textarea";
18253
18270
  var Triangle2 = (props) => {
18254
- return /* @__PURE__ */ jsx242("svg", {
18271
+ return /* @__PURE__ */ jsx252("svg", {
18255
18272
  viewBox: "0 0 127 131",
18256
18273
  fill: "none",
18257
18274
  ...props,
18258
- children: /* @__PURE__ */ jsx242("path", {
18275
+ children: /* @__PURE__ */ jsx252("path", {
18259
18276
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
18260
18277
  fill: "currentcolor"
18261
18278
  })
@@ -756,7 +756,7 @@ var __defProp2, __export2 = (target, all) => {
756
756
  });
757
757
  }, useIsPlayer = () => {
758
758
  return useContext(IsPlayerContext);
759
- }, VERSION = "4.0.377", checkMultipleRemotionVersions = () => {
759
+ }, VERSION = "4.0.379", checkMultipleRemotionVersions = () => {
760
760
  if (typeof globalThis === "undefined") {
761
761
  return;
762
762
  }
@@ -3024,7 +3024,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
3024
3024
  Log.warn({ logLevel, tag: null }, "AudioContext is not supported in this browser");
3025
3025
  }
3026
3026
  }, useSingletonAudioContext = (logLevel, latencyHint) => {
3027
+ const env = useRemotionEnvironment();
3027
3028
  const audioContext = useMemo14(() => {
3029
+ if (env.isRendering) {
3030
+ return null;
3031
+ }
3028
3032
  if (typeof AudioContext === "undefined") {
3029
3033
  warnOnce(logLevel);
3030
3034
  return null;
@@ -3032,7 +3036,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3032
3036
  return new AudioContext({
3033
3037
  latencyHint
3034
3038
  });
3035
- }, [logLevel, latencyHint]);
3039
+ }, [logLevel, latencyHint, env.isRendering]);
3036
3040
  return audioContext;
3037
3041
  }, EMPTY_AUDIO = "data:audio/mp3;base64,/+MYxAAJcAV8AAgAABn//////+/gQ5BAMA+D4Pg+BAQBAEAwD4Pg+D4EBAEAQDAPg++hYBH///hUFQVBUFREDQNHmf///////+MYxBUGkAGIMAAAAP/29Xt6lUxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV/+MYxDUAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", compareProps = (obj1, obj2) => {
3038
3042
  const keysA = Object.keys(obj1).sort();
@@ -12970,7 +12974,9 @@ import { forwardRef as forwardRef122, createElement as createElement6 } from "re
12970
12974
  import * as React35 from "react";
12971
12975
  import { jsx as jsx223, jsxs as jsxs5 } from "react/jsx-runtime";
12972
12976
  import { jsx as jsx232 } from "react/jsx-runtime";
12977
+ import React362 from "react";
12973
12978
  import { jsx as jsx242 } from "react/jsx-runtime";
12979
+ import { jsx as jsx252 } from "react/jsx-runtime";
12974
12980
  function cn(...inputs) {
12975
12981
  return twMerge(clsx(inputs));
12976
12982
  }
@@ -13491,7 +13497,7 @@ var Counter = ({
13491
13497
  var Input = React52.forwardRef(({ className, ...props }, ref) => {
13492
13498
  return /* @__PURE__ */ jsx83("input", {
13493
13499
  ref,
13494
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13500
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13495
13501
  ...props
13496
13502
  });
13497
13503
  });
@@ -18250,12 +18256,23 @@ var Switch = ({ active, onToggle }) => {
18250
18256
  })
18251
18257
  });
18252
18258
  };
18259
+ var Textarea = React362.forwardRef(({ className, style, ...props }, ref) => {
18260
+ return /* @__PURE__ */ jsx242("textarea", {
18261
+ ref,
18262
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
18263
+ style: {
18264
+ ...style
18265
+ },
18266
+ ...props
18267
+ });
18268
+ });
18269
+ Textarea.displayName = "Textarea";
18253
18270
  var Triangle2 = (props) => {
18254
- return /* @__PURE__ */ jsx242("svg", {
18271
+ return /* @__PURE__ */ jsx252("svg", {
18255
18272
  viewBox: "0 0 127 131",
18256
18273
  fill: "none",
18257
18274
  ...props,
18258
- children: /* @__PURE__ */ jsx242("path", {
18275
+ children: /* @__PURE__ */ jsx252("path", {
18259
18276
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
18260
18277
  fill: "currentcolor"
18261
18278
  })
@@ -756,7 +756,7 @@ var __defProp2, __export2 = (target, all) => {
756
756
  });
757
757
  }, useIsPlayer = () => {
758
758
  return useContext(IsPlayerContext);
759
- }, VERSION = "4.0.377", checkMultipleRemotionVersions = () => {
759
+ }, VERSION = "4.0.379", checkMultipleRemotionVersions = () => {
760
760
  if (typeof globalThis === "undefined") {
761
761
  return;
762
762
  }
@@ -3024,7 +3024,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
3024
3024
  Log.warn({ logLevel, tag: null }, "AudioContext is not supported in this browser");
3025
3025
  }
3026
3026
  }, useSingletonAudioContext = (logLevel, latencyHint) => {
3027
+ const env = useRemotionEnvironment();
3027
3028
  const audioContext = useMemo14(() => {
3029
+ if (env.isRendering) {
3030
+ return null;
3031
+ }
3028
3032
  if (typeof AudioContext === "undefined") {
3029
3033
  warnOnce(logLevel);
3030
3034
  return null;
@@ -3032,7 +3036,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3032
3036
  return new AudioContext({
3033
3037
  latencyHint
3034
3038
  });
3035
- }, [logLevel, latencyHint]);
3039
+ }, [logLevel, latencyHint, env.isRendering]);
3036
3040
  return audioContext;
3037
3041
  }, EMPTY_AUDIO = "data:audio/mp3;base64,/+MYxAAJcAV8AAgAABn//////+/gQ5BAMA+D4Pg+BAQBAEAwD4Pg+D4EBAEAQDAPg++hYBH///hUFQVBUFREDQNHmf///////+MYxBUGkAGIMAAAAP/29Xt6lUxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV/+MYxDUAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", compareProps = (obj1, obj2) => {
3038
3042
  const keysA = Object.keys(obj1).sort();
@@ -12794,7 +12798,9 @@ import { forwardRef as forwardRef122, createElement as createElement6 } from "re
12794
12798
  import * as React35 from "react";
12795
12799
  import { jsx as jsx223, jsxs as jsxs5 } from "react/jsx-runtime";
12796
12800
  import { jsx as jsx232 } from "react/jsx-runtime";
12801
+ import React362 from "react";
12797
12802
  import { jsx as jsx242 } from "react/jsx-runtime";
12803
+ import { jsx as jsx252 } from "react/jsx-runtime";
12798
12804
  function cn(...inputs) {
12799
12805
  return twMerge(clsx(inputs));
12800
12806
  }
@@ -13315,7 +13321,7 @@ var Counter = ({
13315
13321
  var Input = React52.forwardRef(({ className, ...props }, ref) => {
13316
13322
  return /* @__PURE__ */ jsx83("input", {
13317
13323
  ref,
13318
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13324
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13319
13325
  ...props
13320
13326
  });
13321
13327
  });
@@ -18074,12 +18080,23 @@ var Switch = ({ active, onToggle }) => {
18074
18080
  })
18075
18081
  });
18076
18082
  };
18083
+ var Textarea = React362.forwardRef(({ className, style, ...props }, ref) => {
18084
+ return /* @__PURE__ */ jsx242("textarea", {
18085
+ ref,
18086
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
18087
+ style: {
18088
+ ...style
18089
+ },
18090
+ ...props
18091
+ });
18092
+ });
18093
+ Textarea.displayName = "Textarea";
18077
18094
  var Triangle2 = (props) => {
18078
- return /* @__PURE__ */ jsx242("svg", {
18095
+ return /* @__PURE__ */ jsx252("svg", {
18079
18096
  viewBox: "0 0 127 131",
18080
18097
  fill: "none",
18081
18098
  ...props,
18082
- children: /* @__PURE__ */ jsx242("path", {
18099
+ children: /* @__PURE__ */ jsx252("path", {
18083
18100
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
18084
18101
  fill: "currentcolor"
18085
18102
  })
@@ -18422,6 +18439,15 @@ var DesignPage = () => {
18422
18439
  }),
18423
18440
  /* @__PURE__ */ jsx40("br", {}),
18424
18441
  /* @__PURE__ */ jsx40("br", {}),
18442
+ /* @__PURE__ */ jsx40("h2", {
18443
+ className: "text-brand",
18444
+ children: "<Textarea />"
18445
+ }),
18446
+ /* @__PURE__ */ jsx40(Textarea, {
18447
+ placeholder: "Enter your message"
18448
+ }),
18449
+ /* @__PURE__ */ jsx40("br", {}),
18450
+ /* @__PURE__ */ jsx40("br", {}),
18425
18451
  /* @__PURE__ */ jsx40("br", {}),
18426
18452
  /* @__PURE__ */ jsx40("h1", {
18427
18453
  children: "Example form set"
@@ -756,7 +756,7 @@ var __defProp2, __export2 = (target, all) => {
756
756
  });
757
757
  }, useIsPlayer = () => {
758
758
  return useContext(IsPlayerContext);
759
- }, VERSION = "4.0.377", checkMultipleRemotionVersions = () => {
759
+ }, VERSION = "4.0.379", checkMultipleRemotionVersions = () => {
760
760
  if (typeof globalThis === "undefined") {
761
761
  return;
762
762
  }
@@ -3024,7 +3024,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
3024
3024
  Log.warn({ logLevel, tag: null }, "AudioContext is not supported in this browser");
3025
3025
  }
3026
3026
  }, useSingletonAudioContext = (logLevel, latencyHint) => {
3027
+ const env = useRemotionEnvironment();
3027
3028
  const audioContext = useMemo14(() => {
3029
+ if (env.isRendering) {
3030
+ return null;
3031
+ }
3028
3032
  if (typeof AudioContext === "undefined") {
3029
3033
  warnOnce(logLevel);
3030
3034
  return null;
@@ -3032,7 +3036,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3032
3036
  return new AudioContext({
3033
3037
  latencyHint
3034
3038
  });
3035
- }, [logLevel, latencyHint]);
3039
+ }, [logLevel, latencyHint, env.isRendering]);
3036
3040
  return audioContext;
3037
3041
  }, EMPTY_AUDIO = "data:audio/mp3;base64,/+MYxAAJcAV8AAgAABn//////+/gQ5BAMA+D4Pg+BAQBAEAwD4Pg+D4EBAEAQDAPg++hYBH///hUFQVBUFREDQNHmf///////+MYxBUGkAGIMAAAAP/29Xt6lUxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV/+MYxDUAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", compareProps = (obj1, obj2) => {
3038
3042
  const keysA = Object.keys(obj1).sort();
@@ -12794,7 +12798,9 @@ import { forwardRef as forwardRef122, createElement as createElement6 } from "re
12794
12798
  import * as React35 from "react";
12795
12799
  import { jsx as jsx223, jsxs as jsxs5 } from "react/jsx-runtime";
12796
12800
  import { jsx as jsx232 } from "react/jsx-runtime";
12801
+ import React362 from "react";
12797
12802
  import { jsx as jsx242 } from "react/jsx-runtime";
12803
+ import { jsx as jsx252 } from "react/jsx-runtime";
12798
12804
  function cn(...inputs) {
12799
12805
  return twMerge(clsx(inputs));
12800
12806
  }
@@ -13315,7 +13321,7 @@ var Counter = ({
13315
13321
  var Input = React52.forwardRef(({ className, ...props }, ref) => {
13316
13322
  return /* @__PURE__ */ jsx83("input", {
13317
13323
  ref,
13318
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13324
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13319
13325
  ...props
13320
13326
  });
13321
13327
  });
@@ -18074,12 +18080,23 @@ var Switch = ({ active, onToggle }) => {
18074
18080
  })
18075
18081
  });
18076
18082
  };
18083
+ var Textarea = React362.forwardRef(({ className, style, ...props }, ref) => {
18084
+ return /* @__PURE__ */ jsx242("textarea", {
18085
+ ref,
18086
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
18087
+ style: {
18088
+ ...style
18089
+ },
18090
+ ...props
18091
+ });
18092
+ });
18093
+ Textarea.displayName = "Textarea";
18077
18094
  var Triangle2 = (props) => {
18078
- return /* @__PURE__ */ jsx242("svg", {
18095
+ return /* @__PURE__ */ jsx252("svg", {
18079
18096
  viewBox: "0 0 127 131",
18080
18097
  fill: "none",
18081
18098
  ...props,
18082
- children: /* @__PURE__ */ jsx242("path", {
18099
+ children: /* @__PURE__ */ jsx252("path", {
18083
18100
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
18084
18101
  fill: "currentcolor"
18085
18102
  })
@@ -756,7 +756,7 @@ var __defProp2, __export2 = (target, all) => {
756
756
  });
757
757
  }, useIsPlayer = () => {
758
758
  return useContext(IsPlayerContext);
759
- }, VERSION = "4.0.377", checkMultipleRemotionVersions = () => {
759
+ }, VERSION = "4.0.379", checkMultipleRemotionVersions = () => {
760
760
  if (typeof globalThis === "undefined") {
761
761
  return;
762
762
  }
@@ -3024,7 +3024,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
3024
3024
  Log.warn({ logLevel, tag: null }, "AudioContext is not supported in this browser");
3025
3025
  }
3026
3026
  }, useSingletonAudioContext = (logLevel, latencyHint) => {
3027
+ const env = useRemotionEnvironment();
3027
3028
  const audioContext = useMemo14(() => {
3029
+ if (env.isRendering) {
3030
+ return null;
3031
+ }
3028
3032
  if (typeof AudioContext === "undefined") {
3029
3033
  warnOnce(logLevel);
3030
3034
  return null;
@@ -3032,7 +3036,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3032
3036
  return new AudioContext({
3033
3037
  latencyHint
3034
3038
  });
3035
- }, [logLevel, latencyHint]);
3039
+ }, [logLevel, latencyHint, env.isRendering]);
3036
3040
  return audioContext;
3037
3041
  }, EMPTY_AUDIO = "data:audio/mp3;base64,/+MYxAAJcAV8AAgAABn//////+/gQ5BAMA+D4Pg+BAQBAEAwD4Pg+D4EBAEAQDAPg++hYBH///hUFQVBUFREDQNHmf///////+MYxBUGkAGIMAAAAP/29Xt6lUxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV/+MYxDUAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", compareProps = (obj1, obj2) => {
3038
3042
  const keysA = Object.keys(obj1).sort();
@@ -12794,7 +12798,9 @@ import { forwardRef as forwardRef122, createElement as createElement6 } from "re
12794
12798
  import * as React35 from "react";
12795
12799
  import { jsx as jsx223, jsxs as jsxs5 } from "react/jsx-runtime";
12796
12800
  import { jsx as jsx232 } from "react/jsx-runtime";
12801
+ import React362 from "react";
12797
12802
  import { jsx as jsx242 } from "react/jsx-runtime";
12803
+ import { jsx as jsx252 } from "react/jsx-runtime";
12798
12804
  function cn(...inputs) {
12799
12805
  return twMerge(clsx(inputs));
12800
12806
  }
@@ -13315,7 +13321,7 @@ var Counter = ({
13315
13321
  var Input = React52.forwardRef(({ className, ...props }, ref) => {
13316
13322
  return /* @__PURE__ */ jsx83("input", {
13317
13323
  ref,
13318
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13324
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13319
13325
  ...props
13320
13326
  });
13321
13327
  });
@@ -18074,12 +18080,23 @@ var Switch = ({ active, onToggle }) => {
18074
18080
  })
18075
18081
  });
18076
18082
  };
18083
+ var Textarea = React362.forwardRef(({ className, style, ...props }, ref) => {
18084
+ return /* @__PURE__ */ jsx242("textarea", {
18085
+ ref,
18086
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
18087
+ style: {
18088
+ ...style
18089
+ },
18090
+ ...props
18091
+ });
18092
+ });
18093
+ Textarea.displayName = "Textarea";
18077
18094
  var Triangle2 = (props) => {
18078
- return /* @__PURE__ */ jsx242("svg", {
18095
+ return /* @__PURE__ */ jsx252("svg", {
18079
18096
  viewBox: "0 0 127 131",
18080
18097
  fill: "none",
18081
18098
  ...props,
18082
- children: /* @__PURE__ */ jsx242("path", {
18099
+ children: /* @__PURE__ */ jsx252("path", {
18083
18100
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
18084
18101
  fill: "currentcolor"
18085
18102
  })
@@ -756,7 +756,7 @@ var __defProp2, __export2 = (target, all) => {
756
756
  });
757
757
  }, useIsPlayer = () => {
758
758
  return useContext(IsPlayerContext);
759
- }, VERSION = "4.0.377", checkMultipleRemotionVersions = () => {
759
+ }, VERSION = "4.0.379", checkMultipleRemotionVersions = () => {
760
760
  if (typeof globalThis === "undefined") {
761
761
  return;
762
762
  }
@@ -3024,7 +3024,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
3024
3024
  Log.warn({ logLevel, tag: null }, "AudioContext is not supported in this browser");
3025
3025
  }
3026
3026
  }, useSingletonAudioContext = (logLevel, latencyHint) => {
3027
+ const env = useRemotionEnvironment();
3027
3028
  const audioContext = useMemo14(() => {
3029
+ if (env.isRendering) {
3030
+ return null;
3031
+ }
3028
3032
  if (typeof AudioContext === "undefined") {
3029
3033
  warnOnce(logLevel);
3030
3034
  return null;
@@ -3032,7 +3036,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3032
3036
  return new AudioContext({
3033
3037
  latencyHint
3034
3038
  });
3035
- }, [logLevel, latencyHint]);
3039
+ }, [logLevel, latencyHint, env.isRendering]);
3036
3040
  return audioContext;
3037
3041
  }, EMPTY_AUDIO = "data:audio/mp3;base64,/+MYxAAJcAV8AAgAABn//////+/gQ5BAMA+D4Pg+BAQBAEAwD4Pg+D4EBAEAQDAPg++hYBH///hUFQVBUFREDQNHmf///////+MYxBUGkAGIMAAAAP/29Xt6lUxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV/+MYxDUAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", compareProps = (obj1, obj2) => {
3038
3042
  const keysA = Object.keys(obj1).sort();
@@ -12794,7 +12798,9 @@ import { forwardRef as forwardRef122, createElement as createElement6 } from "re
12794
12798
  import * as React35 from "react";
12795
12799
  import { jsx as jsx223, jsxs as jsxs5 } from "react/jsx-runtime";
12796
12800
  import { jsx as jsx232 } from "react/jsx-runtime";
12801
+ import React362 from "react";
12797
12802
  import { jsx as jsx242 } from "react/jsx-runtime";
12803
+ import { jsx as jsx252 } from "react/jsx-runtime";
12798
12804
  function cn(...inputs) {
12799
12805
  return twMerge(clsx(inputs));
12800
12806
  }
@@ -13315,7 +13321,7 @@ var Counter = ({
13315
13321
  var Input = React52.forwardRef(({ className, ...props }, ref) => {
13316
13322
  return /* @__PURE__ */ jsx83("input", {
13317
13323
  ref,
13318
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13324
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13319
13325
  ...props
13320
13326
  });
13321
13327
  });
@@ -18074,12 +18080,23 @@ var Switch = ({ active, onToggle }) => {
18074
18080
  })
18075
18081
  });
18076
18082
  };
18083
+ var Textarea = React362.forwardRef(({ className, style, ...props }, ref) => {
18084
+ return /* @__PURE__ */ jsx242("textarea", {
18085
+ ref,
18086
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
18087
+ style: {
18088
+ ...style
18089
+ },
18090
+ ...props
18091
+ });
18092
+ });
18093
+ Textarea.displayName = "Textarea";
18077
18094
  var Triangle2 = (props) => {
18078
- return /* @__PURE__ */ jsx242("svg", {
18095
+ return /* @__PURE__ */ jsx252("svg", {
18079
18096
  viewBox: "0 0 127 131",
18080
18097
  fill: "none",
18081
18098
  ...props,
18082
- children: /* @__PURE__ */ jsx242("path", {
18099
+ children: /* @__PURE__ */ jsx252("path", {
18083
18100
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
18084
18101
  fill: "currentcolor"
18085
18102
  })
package/dist/design.js CHANGED
@@ -756,7 +756,7 @@ var __defProp2, __export2 = (target, all) => {
756
756
  });
757
757
  }, useIsPlayer = () => {
758
758
  return useContext(IsPlayerContext);
759
- }, VERSION = "4.0.377", checkMultipleRemotionVersions = () => {
759
+ }, VERSION = "4.0.379", checkMultipleRemotionVersions = () => {
760
760
  if (typeof globalThis === "undefined") {
761
761
  return;
762
762
  }
@@ -3024,7 +3024,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
3024
3024
  Log.warn({ logLevel, tag: null }, "AudioContext is not supported in this browser");
3025
3025
  }
3026
3026
  }, useSingletonAudioContext = (logLevel, latencyHint) => {
3027
+ const env = useRemotionEnvironment();
3027
3028
  const audioContext = useMemo14(() => {
3029
+ if (env.isRendering) {
3030
+ return null;
3031
+ }
3028
3032
  if (typeof AudioContext === "undefined") {
3029
3033
  warnOnce(logLevel);
3030
3034
  return null;
@@ -3032,7 +3036,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3032
3036
  return new AudioContext({
3033
3037
  latencyHint
3034
3038
  });
3035
- }, [logLevel, latencyHint]);
3039
+ }, [logLevel, latencyHint, env.isRendering]);
3036
3040
  return audioContext;
3037
3041
  }, EMPTY_AUDIO = "data:audio/mp3;base64,/+MYxAAJcAV8AAgAABn//////+/gQ5BAMA+D4Pg+BAQBAEAwD4Pg+D4EBAEAQDAPg++hYBH///hUFQVBUFREDQNHmf///////+MYxBUGkAGIMAAAAP/29Xt6lUxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV/+MYxDUAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", compareProps = (obj1, obj2) => {
3038
3042
  const keysA = Object.keys(obj1).sort();
@@ -12794,7 +12798,9 @@ import { forwardRef as forwardRef122, createElement as createElement6 } from "re
12794
12798
  import * as React35 from "react";
12795
12799
  import { jsx as jsx223, jsxs as jsxs5 } from "react/jsx-runtime";
12796
12800
  import { jsx as jsx232 } from "react/jsx-runtime";
12801
+ import React362 from "react";
12797
12802
  import { jsx as jsx242 } from "react/jsx-runtime";
12803
+ import { jsx as jsx252 } from "react/jsx-runtime";
12798
12804
  function cn(...inputs) {
12799
12805
  return twMerge(clsx(inputs));
12800
12806
  }
@@ -13315,7 +13321,7 @@ var Counter = ({
13315
13321
  var Input = React52.forwardRef(({ className, ...props }, ref) => {
13316
13322
  return /* @__PURE__ */ jsx83("input", {
13317
13323
  ref,
13318
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13324
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13319
13325
  ...props
13320
13326
  });
13321
13327
  });
@@ -18074,12 +18080,23 @@ var Switch = ({ active, onToggle }) => {
18074
18080
  })
18075
18081
  });
18076
18082
  };
18083
+ var Textarea = React362.forwardRef(({ className, style, ...props }, ref) => {
18084
+ return /* @__PURE__ */ jsx242("textarea", {
18085
+ ref,
18086
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
18087
+ style: {
18088
+ ...style
18089
+ },
18090
+ ...props
18091
+ });
18092
+ });
18093
+ Textarea.displayName = "Textarea";
18077
18094
  var Triangle2 = (props) => {
18078
- return /* @__PURE__ */ jsx242("svg", {
18095
+ return /* @__PURE__ */ jsx252("svg", {
18079
18096
  viewBox: "0 0 127 131",
18080
18097
  fill: "none",
18081
18098
  ...props,
18082
- children: /* @__PURE__ */ jsx242("path", {
18099
+ children: /* @__PURE__ */ jsx252("path", {
18083
18100
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
18084
18101
  fill: "currentcolor"
18085
18102
  })
@@ -18422,6 +18439,15 @@ var DesignPage = () => {
18422
18439
  }),
18423
18440
  /* @__PURE__ */ jsx40("br", {}),
18424
18441
  /* @__PURE__ */ jsx40("br", {}),
18442
+ /* @__PURE__ */ jsx40("h2", {
18443
+ className: "text-brand",
18444
+ children: "<Textarea />"
18445
+ }),
18446
+ /* @__PURE__ */ jsx40(Textarea, {
18447
+ placeholder: "Enter your message"
18448
+ }),
18449
+ /* @__PURE__ */ jsx40("br", {}),
18450
+ /* @__PURE__ */ jsx40("br", {}),
18425
18451
  /* @__PURE__ */ jsx40("br", {}),
18426
18452
  /* @__PURE__ */ jsx40("h1", {
18427
18453
  children: "Example form set"
@@ -756,7 +756,7 @@ var __defProp2, __export2 = (target, all) => {
756
756
  });
757
757
  }, useIsPlayer = () => {
758
758
  return useContext(IsPlayerContext);
759
- }, VERSION = "4.0.377", checkMultipleRemotionVersions = () => {
759
+ }, VERSION = "4.0.379", checkMultipleRemotionVersions = () => {
760
760
  if (typeof globalThis === "undefined") {
761
761
  return;
762
762
  }
@@ -3024,7 +3024,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
3024
3024
  Log.warn({ logLevel, tag: null }, "AudioContext is not supported in this browser");
3025
3025
  }
3026
3026
  }, useSingletonAudioContext = (logLevel, latencyHint) => {
3027
+ const env = useRemotionEnvironment();
3027
3028
  const audioContext = useMemo14(() => {
3029
+ if (env.isRendering) {
3030
+ return null;
3031
+ }
3028
3032
  if (typeof AudioContext === "undefined") {
3029
3033
  warnOnce(logLevel);
3030
3034
  return null;
@@ -3032,7 +3036,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3032
3036
  return new AudioContext({
3033
3037
  latencyHint
3034
3038
  });
3035
- }, [logLevel, latencyHint]);
3039
+ }, [logLevel, latencyHint, env.isRendering]);
3036
3040
  return audioContext;
3037
3041
  }, EMPTY_AUDIO = "data:audio/mp3;base64,/+MYxAAJcAV8AAgAABn//////+/gQ5BAMA+D4Pg+BAQBAEAwD4Pg+D4EBAEAQDAPg++hYBH///hUFQVBUFREDQNHmf///////+MYxBUGkAGIMAAAAP/29Xt6lUxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV/+MYxDUAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", compareProps = (obj1, obj2) => {
3038
3042
  const keysA = Object.keys(obj1).sort();
@@ -12794,7 +12798,9 @@ import { forwardRef as forwardRef122, createElement as createElement6 } from "re
12794
12798
  import * as React35 from "react";
12795
12799
  import { jsx as jsx223, jsxs as jsxs5 } from "react/jsx-runtime";
12796
12800
  import { jsx as jsx232 } from "react/jsx-runtime";
12801
+ import React362 from "react";
12797
12802
  import { jsx as jsx242 } from "react/jsx-runtime";
12803
+ import { jsx as jsx252 } from "react/jsx-runtime";
12798
12804
  function cn(...inputs) {
12799
12805
  return twMerge(clsx(inputs));
12800
12806
  }
@@ -13315,7 +13321,7 @@ var Counter = ({
13315
13321
  var Input = React52.forwardRef(({ className, ...props }, ref) => {
13316
13322
  return /* @__PURE__ */ jsx83("input", {
13317
13323
  ref,
13318
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13324
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13319
13325
  ...props
13320
13326
  });
13321
13327
  });
@@ -18074,12 +18080,23 @@ var Switch = ({ active, onToggle }) => {
18074
18080
  })
18075
18081
  });
18076
18082
  };
18083
+ var Textarea = React362.forwardRef(({ className, style, ...props }, ref) => {
18084
+ return /* @__PURE__ */ jsx242("textarea", {
18085
+ ref,
18086
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
18087
+ style: {
18088
+ ...style
18089
+ },
18090
+ ...props
18091
+ });
18092
+ });
18093
+ Textarea.displayName = "Textarea";
18077
18094
  var Triangle2 = (props) => {
18078
- return /* @__PURE__ */ jsx242("svg", {
18095
+ return /* @__PURE__ */ jsx252("svg", {
18079
18096
  viewBox: "0 0 127 131",
18080
18097
  fill: "none",
18081
18098
  ...props,
18082
- children: /* @__PURE__ */ jsx242("path", {
18099
+ children: /* @__PURE__ */ jsx252("path", {
18083
18100
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
18084
18101
  fill: "currentcolor"
18085
18102
  })
package/dist/tailwind.css CHANGED
@@ -360,6 +360,9 @@
360
360
  .table {
361
361
  display: table;
362
362
  }
363
+ .field-sizing-content {
364
+ field-sizing: content;
365
+ }
363
366
  .aspect-square {
364
367
  aspect-ratio: 1 / 1;
365
368
  }
@@ -431,6 +434,9 @@
431
434
  .min-h-\[80px\] {
432
435
  min-height: 80px;
433
436
  }
437
+ .min-h-\[90px\] {
438
+ min-height: 90px;
439
+ }
434
440
  .min-h-\[500px\] {
435
441
  min-height: 500px;
436
442
  }
@@ -756,7 +756,7 @@ var __defProp2, __export2 = (target, all) => {
756
756
  });
757
757
  }, useIsPlayer = () => {
758
758
  return useContext(IsPlayerContext);
759
- }, VERSION = "4.0.377", checkMultipleRemotionVersions = () => {
759
+ }, VERSION = "4.0.379", checkMultipleRemotionVersions = () => {
760
760
  if (typeof globalThis === "undefined") {
761
761
  return;
762
762
  }
@@ -3024,7 +3024,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
3024
3024
  Log.warn({ logLevel, tag: null }, "AudioContext is not supported in this browser");
3025
3025
  }
3026
3026
  }, useSingletonAudioContext = (logLevel, latencyHint) => {
3027
+ const env = useRemotionEnvironment();
3027
3028
  const audioContext = useMemo14(() => {
3029
+ if (env.isRendering) {
3030
+ return null;
3031
+ }
3028
3032
  if (typeof AudioContext === "undefined") {
3029
3033
  warnOnce(logLevel);
3030
3034
  return null;
@@ -3032,7 +3036,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3032
3036
  return new AudioContext({
3033
3037
  latencyHint
3034
3038
  });
3035
- }, [logLevel, latencyHint]);
3039
+ }, [logLevel, latencyHint, env.isRendering]);
3036
3040
  return audioContext;
3037
3041
  }, EMPTY_AUDIO = "data:audio/mp3;base64,/+MYxAAJcAV8AAgAABn//////+/gQ5BAMA+D4Pg+BAQBAEAwD4Pg+D4EBAEAQDAPg++hYBH///hUFQVBUFREDQNHmf///////+MYxBUGkAGIMAAAAP/29Xt6lUxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV/+MYxDUAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", compareProps = (obj1, obj2) => {
3038
3042
  const keysA = Object.keys(obj1).sort();
@@ -12794,7 +12798,9 @@ import { forwardRef as forwardRef122, createElement as createElement6 } from "re
12794
12798
  import * as React35 from "react";
12795
12799
  import { jsx as jsx223, jsxs as jsxs5 } from "react/jsx-runtime";
12796
12800
  import { jsx as jsx232 } from "react/jsx-runtime";
12801
+ import React362 from "react";
12797
12802
  import { jsx as jsx242 } from "react/jsx-runtime";
12803
+ import { jsx as jsx252 } from "react/jsx-runtime";
12798
12804
  function cn(...inputs) {
12799
12805
  return twMerge(clsx(inputs));
12800
12806
  }
@@ -13315,7 +13321,7 @@ var Counter = ({
13315
13321
  var Input = React52.forwardRef(({ className, ...props }, ref) => {
13316
13322
  return /* @__PURE__ */ jsx83("input", {
13317
13323
  ref,
13318
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13324
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13319
13325
  ...props
13320
13326
  });
13321
13327
  });
@@ -18074,12 +18080,23 @@ var Switch = ({ active, onToggle }) => {
18074
18080
  })
18075
18081
  });
18076
18082
  };
18083
+ var Textarea = React362.forwardRef(({ className, style, ...props }, ref) => {
18084
+ return /* @__PURE__ */ jsx242("textarea", {
18085
+ ref,
18086
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
18087
+ style: {
18088
+ ...style
18089
+ },
18090
+ ...props
18091
+ });
18092
+ });
18093
+ Textarea.displayName = "Textarea";
18077
18094
  var Triangle2 = (props) => {
18078
- return /* @__PURE__ */ jsx242("svg", {
18095
+ return /* @__PURE__ */ jsx252("svg", {
18079
18096
  viewBox: "0 0 127 131",
18080
18097
  fill: "none",
18081
18098
  ...props,
18082
- children: /* @__PURE__ */ jsx242("path", {
18099
+ children: /* @__PURE__ */ jsx252("path", {
18083
18100
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
18084
18101
  fill: "currentcolor"
18085
18102
  })
package/dist/templates.js CHANGED
@@ -756,7 +756,7 @@ var __defProp2, __export2 = (target, all) => {
756
756
  });
757
757
  }, useIsPlayer = () => {
758
758
  return useContext(IsPlayerContext);
759
- }, VERSION = "4.0.377", checkMultipleRemotionVersions = () => {
759
+ }, VERSION = "4.0.379", checkMultipleRemotionVersions = () => {
760
760
  if (typeof globalThis === "undefined") {
761
761
  return;
762
762
  }
@@ -3024,7 +3024,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
3024
3024
  Log.warn({ logLevel, tag: null }, "AudioContext is not supported in this browser");
3025
3025
  }
3026
3026
  }, useSingletonAudioContext = (logLevel, latencyHint) => {
3027
+ const env = useRemotionEnvironment();
3027
3028
  const audioContext = useMemo14(() => {
3029
+ if (env.isRendering) {
3030
+ return null;
3031
+ }
3028
3032
  if (typeof AudioContext === "undefined") {
3029
3033
  warnOnce(logLevel);
3030
3034
  return null;
@@ -3032,7 +3036,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3032
3036
  return new AudioContext({
3033
3037
  latencyHint
3034
3038
  });
3035
- }, [logLevel, latencyHint]);
3039
+ }, [logLevel, latencyHint, env.isRendering]);
3036
3040
  return audioContext;
3037
3041
  }, EMPTY_AUDIO = "data:audio/mp3;base64,/+MYxAAJcAV8AAgAABn//////+/gQ5BAMA+D4Pg+BAQBAEAwD4Pg+D4EBAEAQDAPg++hYBH///hUFQVBUFREDQNHmf///////+MYxBUGkAGIMAAAAP/29Xt6lUxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV/+MYxDUAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", compareProps = (obj1, obj2) => {
3038
3042
  const keysA = Object.keys(obj1).sort();
@@ -12794,7 +12798,9 @@ import { forwardRef as forwardRef122, createElement as createElement6 } from "re
12794
12798
  import * as React35 from "react";
12795
12799
  import { jsx as jsx223, jsxs as jsxs5 } from "react/jsx-runtime";
12796
12800
  import { jsx as jsx232 } from "react/jsx-runtime";
12801
+ import React362 from "react";
12797
12802
  import { jsx as jsx242 } from "react/jsx-runtime";
12803
+ import { jsx as jsx252 } from "react/jsx-runtime";
12798
12804
  function cn(...inputs) {
12799
12805
  return twMerge(clsx(inputs));
12800
12806
  }
@@ -13315,7 +13321,7 @@ var Counter = ({
13315
13321
  var Input = React52.forwardRef(({ className, ...props }, ref) => {
13316
13322
  return /* @__PURE__ */ jsx83("input", {
13317
13323
  ref,
13318
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13324
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
13319
13325
  ...props
13320
13326
  });
13321
13327
  });
@@ -18074,12 +18080,23 @@ var Switch = ({ active, onToggle }) => {
18074
18080
  })
18075
18081
  });
18076
18082
  };
18083
+ var Textarea = React362.forwardRef(({ className, style, ...props }, ref) => {
18084
+ return /* @__PURE__ */ jsx242("textarea", {
18085
+ ref,
18086
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
18087
+ style: {
18088
+ ...style
18089
+ },
18090
+ ...props
18091
+ });
18092
+ });
18093
+ Textarea.displayName = "Textarea";
18077
18094
  var Triangle2 = (props) => {
18078
- return /* @__PURE__ */ jsx242("svg", {
18095
+ return /* @__PURE__ */ jsx252("svg", {
18079
18096
  viewBox: "0 0 127 131",
18080
18097
  fill: "none",
18081
18098
  ...props,
18082
- children: /* @__PURE__ */ jsx242("path", {
18099
+ children: /* @__PURE__ */ jsx252("path", {
18083
18100
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
18084
18101
  fill: "currentcolor"
18085
18102
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/promo-pages",
3
- "version": "4.0.377",
3
+ "version": "4.0.379",
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.377",
15
- "@remotion/design": "4.0.377",
16
- "@remotion/lambda": "4.0.377",
17
- "@remotion/lottie": "4.0.377",
18
- "@remotion/paths": "4.0.377",
19
- "@remotion/player": "4.0.377",
20
- "@remotion/shapes": "4.0.377",
21
- "@remotion/svg-3d-engine": "4.0.377",
22
- "create-video": "4.0.377",
14
+ "@remotion/animated-emoji": "4.0.379",
15
+ "@remotion/design": "4.0.379",
16
+ "@remotion/lambda": "4.0.379",
17
+ "@remotion/lottie": "4.0.379",
18
+ "@remotion/paths": "4.0.379",
19
+ "@remotion/player": "4.0.379",
20
+ "@remotion/shapes": "4.0.379",
21
+ "@remotion/svg-3d-engine": "4.0.379",
22
+ "create-video": "4.0.379",
23
23
  "hls.js": "1.5.19",
24
24
  "polished": "4.3.1",
25
- "remotion": "4.0.377",
25
+ "remotion": "4.0.379",
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.377",
30
+ "@remotion/eslint-config-internal": "4.0.379",
31
31
  "@eslint/eslintrc": "3.1.0",
32
32
  "@types/react": "19.0.0",
33
33
  "@types/react-dom": "19.0.0",