@remotion/studio 4.0.461 → 4.0.463

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.
Files changed (56) hide show
  1. package/dist/components/AssetSelector.js +2 -6
  2. package/dist/components/CompSelectorRef.js +2 -6
  3. package/dist/components/ExpandedTracksProvider.js +13 -23
  4. package/dist/components/Timeline/SubscribeToNodePaths.d.ts +4 -3
  5. package/dist/components/Timeline/SubscribeToNodePaths.js +6 -1
  6. package/dist/components/Timeline/Timeline.js +1 -1
  7. package/dist/components/Timeline/TimelineColorField.d.ts +11 -0
  8. package/dist/components/Timeline/TimelineColorField.js +181 -0
  9. package/dist/components/Timeline/TimelineEffectFieldRow.d.ts +11 -0
  10. package/dist/components/Timeline/TimelineEffectFieldRow.js +167 -0
  11. package/dist/components/Timeline/TimelineEffectGroupRow.d.ts +17 -0
  12. package/dist/components/Timeline/TimelineEffectGroupRow.js +73 -0
  13. package/dist/components/Timeline/TimelineExpandedRow.d.ts +3 -3
  14. package/dist/components/Timeline/TimelineExpandedRow.js +12 -1
  15. package/dist/components/Timeline/TimelineExpandedSection.d.ts +2 -2
  16. package/dist/components/Timeline/TimelineExpandedSection.js +7 -20
  17. package/dist/components/Timeline/TimelineFieldRow.d.ts +3 -3
  18. package/dist/components/Timeline/TimelineFieldRow.js +17 -45
  19. package/dist/components/Timeline/TimelineLayerEye.d.ts +5 -3
  20. package/dist/components/Timeline/TimelineLayerEye.js +18 -1
  21. package/dist/components/Timeline/TimelineListItem.js +61 -17
  22. package/dist/components/Timeline/TimelineNumberField.js +1 -1
  23. package/dist/components/Timeline/TimelineRotationField.js +1 -1
  24. package/dist/components/Timeline/TimelineSchemaField.d.ts +8 -2
  25. package/dist/components/Timeline/TimelineSchemaField.js +20 -11
  26. package/dist/components/Timeline/TimelineTracks.js +4 -4
  27. package/dist/components/Timeline/TimelineTranslateField.js +4 -2
  28. package/dist/components/Timeline/save-effect-prop.d.ts +12 -0
  29. package/dist/components/Timeline/save-effect-prop.js +42 -0
  30. package/dist/components/Timeline/save-prop-queue.d.ts +12 -0
  31. package/dist/components/Timeline/save-prop-queue.js +63 -0
  32. package/dist/components/Timeline/save-sequence-prop.d.ts +11 -0
  33. package/dist/components/Timeline/save-sequence-prop.js +38 -0
  34. package/dist/components/Timeline/sequence-props-subscription-store.d.ts +2 -1
  35. package/dist/components/Timeline/sequence-props-subscription-store.js +10 -4
  36. package/dist/components/Timeline/use-sequence-props-subscription.d.ts +2 -1
  37. package/dist/components/Timeline/use-sequence-props-subscription.js +3 -1
  38. package/dist/components/Timeline/use-timeline-height.js +3 -3
  39. package/dist/esm/chunk-5gtx3pza.js +9 -0
  40. package/dist/esm/{chunk-yzh34sp0.js → chunk-b0m62frw.js} +4511 -3740
  41. package/dist/esm/index.mjs +20 -24
  42. package/dist/esm/internals.mjs +4509 -3753
  43. package/dist/esm/previewEntry.mjs +3190 -2445
  44. package/dist/esm/renderEntry.mjs +3 -4
  45. package/dist/helpers/calculate-timeline.js +13 -5
  46. package/dist/helpers/get-timeline-sequence-sort-key.d.ts +3 -2
  47. package/dist/helpers/persist-boolean-map.d.ts +5 -0
  48. package/dist/helpers/persist-boolean-map.js +56 -0
  49. package/dist/helpers/persist-open-folders.d.ts +4 -3
  50. package/dist/helpers/persist-open-folders.js +4 -7
  51. package/dist/helpers/timeline-layout.d.ts +13 -13
  52. package/dist/helpers/timeline-layout.js +23 -35
  53. package/dist/icons/eyedropper.d.ts +4 -0
  54. package/dist/icons/eyedropper.js +6 -0
  55. package/package.json +11 -12
  56. package/dist/esm/chunk-6jf1natv.js +0 -25
@@ -1,19 +1,3 @@
1
- var __create = Object.create;
2
- var __getProtoOf = Object.getPrototypeOf;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __toESM = (mod, isNodeMode, target) => {
7
- target = mod != null ? __create(__getProtoOf(mod)) : {};
8
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
9
- for (let key of __getOwnPropNames(mod))
10
- if (!__hasOwnProp.call(to, key))
11
- __defProp(to, key, {
12
- get: () => mod[key],
13
- enumerable: true
14
- });
15
- return to;
16
- };
17
1
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
18
2
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
19
3
  }) : x)(function(x) {
@@ -166,7 +150,6 @@ var calcNewProps = (compositionId, defaultProps) => {
166
150
  generatedDefaultProps
167
151
  };
168
152
  };
169
-
170
153
  // src/api/pause.ts
171
154
  import { Internals as Internals3 } from "remotion";
172
155
  var pause = () => {
@@ -563,23 +546,36 @@ var visualControlStore = {
563
546
 
564
547
  // src/visual-controls/VisualControls.tsx
565
548
  import {
566
- createContext,
549
+ createContext as createContext2,
567
550
  createRef,
568
551
  useCallback,
569
- useEffect,
552
+ useEffect as useEffect2,
570
553
  useImperativeHandle,
571
- useMemo,
554
+ useMemo as useMemo2,
572
555
  useRef,
573
- useState
556
+ useState as useState2
574
557
  } from "react";
575
558
  import { useRemotionEnvironment } from "remotion";
559
+
560
+ // src/components/get-zod-if-possible.tsx
561
+ import {
562
+ createContext,
563
+ useContext,
564
+ useEffect,
565
+ useMemo,
566
+ useState
567
+ } from "react";
576
568
  import { jsx as jsx2 } from "react/jsx-runtime";
577
- var VisualControlsTabActivatedContext = createContext(false);
578
- var VisualControlsContext = createContext({
569
+ var ZodContext = createContext(null);
570
+
571
+ // src/visual-controls/VisualControls.tsx
572
+ import { jsx as jsx3 } from "react/jsx-runtime";
573
+ var VisualControlsTabActivatedContext = createContext2(false);
574
+ var VisualControlsContext = createContext2({
579
575
  handles: {}
580
576
  });
581
577
  var visualControlRef = createRef();
582
- var SetVisualControlsContext = createContext({
578
+ var SetVisualControlsContext = createContext2({
583
579
  updateHandles: () => {
584
580
  throw new Error("updateHandles is not implemented");
585
581
  },