🎥 Make videos programmatically with React
Merge remote-tracking branch 'origin/main' into jonnyburger-interactive-path-testbed-073
Jonny Burgerbb97a901f66f
diff --cc packages/canvas/src/canvas-internals.tsindex 0000000000,3f5fea6f27..037df543f8mode 000000,100644..100644--- a/packages/canvas/src/canvas-internals.ts+++ b/packages/canvas/src/canvas-internals.ts@@@ -1,0 -1,68 +1,70 @@@+ // Shared with Remotion Studio through CanvasInternals on the package root.+ export {calculateTimeline} from './calculate-timeline';+ export {useIsCanvasSequenceHovered} from './hover';+ export type {+ CanvasOutline,+ CanvasOutlinePoint,+ CanvasOutlineUv,+ CanvasOutlineCrop,++ CanvasOutlineMatrix,++ CanvasOutlinePath,+ CanvasOutlineTarget,+ } from './outline-geometry';+ export {getCanvasOutlinePoint, getCanvasOutlineUv} from './outline-geometry';+ export {+ measureCanvasOutlineTargets,+ cropCanvasOutlinePoints,+ canvasOutlinesAreEqual,+ getTransformedSvgViewportPoints,+ } from './outline-measurement';+ export {orderCanvasOutlinesForRendering} from './outline-order';+ export type {+ CanvasOutlineOrderTarget,+ CanvasOutlineSequenceParent,+ } from './outline-order';+ export {useCanvasOutlineMeasurements} from './use-canvas-outline-measurements';+ export {useCanvasOutlines} from './use-canvas-outlines';+ export type {CanvasOutlineRenderTarget} from './use-canvas-outlines';+ export {CanvasOutlinePolygon} from './canvas-outline-polygon';+ export type {CanvasOutlinePolygonProps} from './canvas-outline-polygon';+ export {+ getCanvasOutlineSelectionInteraction,+ handleCanvasOutlinePointerDown,+ } from './outline-interaction';+ export type {CanvasOutlinePointerDownDecision} from './outline-interaction';+ export {+ getCanvasActiveOutlineTargets,+ getCanvasOutlineActivity,+ getCanvasOutlineLayoutTargets,+ getCanvasSelectableOutlines,+ getCanvasSelectedSequenceKeys,+ getCanvasSequenceKeysContainingSelection,+ getCanvasVisibleOutlineTargets,+ } from './outline-targets';+ export type {+ CanvasSelectableOutline,+ CanvasOutlineLayoutTarget,+ } from './outline-targets';+ export {getConnectedCompositions} from './get-connected-compositions';+ export {+ getParentSequencePlaybackRate,+ getCascadedStart,+ getCascadedStartWithTrim,+ getTimelineVisibleDuration,+ getTimelineVisibleStart,+ } from './get-sequence-visible-range';+ export {getTimelineNestedLevel} from './get-timeline-nestedness';+ export {getTimelineSequenceSortKey} from './get-timeline-sequence-sort-key';+ export type {+ TimelineLoopDisplay,+ TimelineTrackWithOriginalTimings,+ } from './get-timeline-sequence-sort-key';+ export {+ EMPTY_CANVAS_SELECTION,+ getCanvasSelectionAfterInteraction,+ getCanvasSequenceSelectionKey,+ useCanvasSelectionController,+ } from './selection';+ export {sortItemsByCommitOrder} from './sort-by-commit-order';+ export {timelineSequenceNodePathToKey} from './timeline-sequence-node-path-to-key';+ export {useCanvasRuntimeValueSnapshots} from './use-runtime-value-snapshots';diff --cc packages/canvas/src/index.tsindex 218f76167d,f48c291eec..70e0f3c5c8--- a/packages/canvas/src/index.ts+++ b/packages/canvas/src/index.ts@@@ -15,78 -33,14 +33,16 @@@ export typeCanvasOutlinePoint,CanvasOutlineUv,CanvasOutlineCrop,+ CanvasOutlineMatrix,+ CanvasOutlinePath,CanvasOutlineTarget,- } from './outline-geometry';- export {getCanvasOutlinePoint, getCanvasOutlineUv} from './outline-geometry';- export {- measureCanvasOutlineTargets,- cropCanvasOutlinePoints,- canvasOutlinesAreEqual,- getTransformedSvgViewportPoints,- } from './outline-measurement';- export {orderCanvasOutlinesForRendering} from './outline-order';- export type {CanvasOutlineOrderTarget,CanvasOutlineSequenceParent,- } from './outline-order';- export {useCanvasOutlineMeasurements} from './use-canvas-outline-measurements';- export {useCanvasOutlines} from './use-canvas-outlines';- export type {CanvasOutlineRenderTarget} from './use-canvas-outlines';- export {CanvasOutlinePolygon} from './canvas-outline-polygon';- export type {CanvasOutlinePolygonProps} from './canvas-outline-polygon';- export {- getCanvasOutlineSelectionInteraction,- handleCanvasOutlinePointerDown,- } from './outline-interaction';- export type {CanvasOutlinePointerDownDecision} from './outline-interaction';- export {- getCanvasActiveOutlineTargets,- getCanvasOutlineActivity,- getCanvasOutlineLayoutTargets,- getCanvasSelectableOutlines,- getCanvasSelectedSequenceKeys,- getCanvasSequenceKeysContainingSelection,- getCanvasVisibleOutlineTargets,- } from './outline-targets';- export type {+ CanvasOutlineRenderTarget,+ CanvasOutlinePolygonProps,+ CanvasOutlinePointerDownDecision,CanvasSelectableOutline,CanvasOutlineLayoutTarget,- } from './outline-targets';- export {getCanvasSequenceNodePathInfo} from './sequence-node-path';- export type {CanvasSequenceNodePathResolver} from './sequence-node-path';- export {getConnectedCompositions} from './get-connected-compositions';- export {- getParentSequencePlaybackRate,- getCascadedStart,- getCascadedStartWithTrim,- getTimelineVisibleDuration,- getTimelineVisibleStart,- } from './get-sequence-visible-range';- export {getTimelineNestedLevel} from './get-timeline-nestedness';- export {getTimelineSequenceSortKey} from './get-timeline-sequence-sort-key';- export type {- SequenceNodePathInfo,TimelineLoopDisplay,- TimelineTrackData,TimelineTrackWithOriginalTimings,- } from './get-timeline-sequence-sort-key';- export {- createCanvasSelectionController,- EMPTY_CANVAS_SELECTION,- getCanvasSelectionAfterInteraction,- getCanvasSelectionItemKey,- getCanvasSequenceSelectionKey,- useCanvasSelection,- useCanvasSelectionController,- } from './selection';- export type {- CanvasSelectionController,- CanvasSelectionItem,- CanvasSelectionInteraction,- CanvasSelectionSnapshot,- } from './selection';- export {sortItemsByCommitOrder} from './sort-by-commit-order';- export {timelineSequenceNodePathToKey} from './timeline-sequence-node-path-to-key';- export {useCanvasRuntimeValueSnapshots} from './use-runtime-value-snapshots';+ } from './canvas-internals';