@tomorrowevening/theatre-studio 1.0.4 → 1.0.6
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/IDBStorage.d.ts +16 -0
- package/dist/IDBStorage.d.ts.map +1 -0
- package/dist/PaneManager.d.ts +16 -0
- package/dist/PaneManager.d.ts.map +1 -0
- package/dist/Scrub.d.ts +83 -0
- package/dist/Scrub.d.ts.map +1 -0
- package/dist/Studio.d.ts +79 -0
- package/dist/Studio.d.ts.map +1 -0
- package/dist/StudioBundle.d.ts +10 -0
- package/dist/StudioBundle.d.ts.map +1 -0
- package/dist/StudioStore/StudioStore.d.ts +46 -0
- package/dist/StudioStore/StudioStore.d.ts.map +1 -0
- package/dist/StudioStore/createTransactionPrivateApi.d.ts +3 -0
- package/dist/StudioStore/createTransactionPrivateApi.d.ts.map +1 -0
- package/dist/StudioStore/generateDiskStateRevision.d.ts +2 -0
- package/dist/StudioStore/generateDiskStateRevision.d.ts.map +1 -0
- package/dist/StudioStore/persistStateOfStudio.d.ts +5 -0
- package/dist/StudioStore/persistStateOfStudio.d.ts.map +1 -0
- package/dist/TheatreStudio.d.ts +426 -0
- package/dist/TheatreStudio.d.ts.map +1 -0
- package/dist/UI/UI.d.ts +14 -0
- package/dist/UI/UI.d.ts.map +1 -0
- package/dist/UI/UINonSSRBits.d.ts +10 -0
- package/dist/UI/UINonSSRBits.d.ts.map +1 -0
- package/dist/UIRoot/PanelsRoot.d.ts +4 -0
- package/dist/UIRoot/PanelsRoot.d.ts.map +1 -0
- package/dist/UIRoot/PointerCapturing.d.ts +46 -0
- package/dist/UIRoot/PointerCapturing.d.ts.map +1 -0
- package/dist/UIRoot/ProvideTheme.d.ts +6 -0
- package/dist/UIRoot/ProvideTheme.d.ts.map +1 -0
- package/dist/UIRoot/UIRoot.d.ts +5 -0
- package/dist/UIRoot/UIRoot.d.ts.map +1 -0
- package/dist/UIRoot/useKeyboardShortcuts.d.ts +7 -0
- package/dist/UIRoot/useKeyboardShortcuts.d.ts.map +1 -0
- package/dist/checkForUpdates.d.ts +2 -0
- package/dist/checkForUpdates.d.ts.map +1 -0
- package/dist/css.d.ts +39 -0
- package/dist/css.d.ts.map +1 -0
- package/dist/getStudio.d.ts +7 -0
- package/dist/getStudio.d.ts.map +1 -0
- package/dist/index.d.ts +6 -9
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/notify.d.ts +12 -0
- package/dist/notify.d.ts.map +1 -0
- package/dist/panels/BasePanel/BasePanel.d.ts +35 -0
- package/dist/panels/BasePanel/BasePanel.d.ts.map +1 -0
- package/dist/panels/BasePanel/ExtensionPaneWrapper.d.ts +8 -0
- package/dist/panels/BasePanel/ExtensionPaneWrapper.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelDragZone.d.ts +4 -0
- package/dist/panels/BasePanel/PanelDragZone.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelResizeHandle.d.ts +7 -0
- package/dist/panels/BasePanel/PanelResizeHandle.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelResizers.d.ts +4 -0
- package/dist/panels/BasePanel/PanelResizers.d.ts.map +1 -0
- package/dist/panels/BasePanel/PanelWrapper.d.ts +4 -0
- package/dist/panels/BasePanel/PanelWrapper.d.ts.map +1 -0
- package/dist/panels/BasePanel/common.d.ts +15 -0
- package/dist/panels/BasePanel/common.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DetailPanel.d.ts +6 -0
- package/dist/panels/DetailPanel/DetailPanel.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailCompoundPropEditor.d.ts +14 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailCompoundPropEditor.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailSimplePropEditor.d.ts +20 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/DetailSimplePropEditor.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/SingleRowPropEditor.d.ts +14 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/SingleRowPropEditor.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/getDetailRowHighlightBackground.d.ts +5 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/getDetailRowHighlightBackground.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/rowIndentationFormulaCSS.d.ts +2 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail/rowIndentationFormulaCSS.d.ts.map +1 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail.d.ts +26 -0
- package/dist/panels/DetailPanel/DeterminePropEditorForDetail.d.ts.map +1 -0
- package/dist/panels/DetailPanel/EmptyState.d.ts +4 -0
- package/dist/panels/DetailPanel/EmptyState.d.ts.map +1 -0
- package/dist/panels/DetailPanel/ObjectDetails.d.ts +8 -0
- package/dist/panels/DetailPanel/ObjectDetails.d.ts.map +1 -0
- package/dist/panels/DetailPanel/ProjectDetails/StateConflictRow.d.ts +7 -0
- package/dist/panels/DetailPanel/ProjectDetails/StateConflictRow.d.ts.map +1 -0
- package/dist/panels/DetailPanel/ProjectDetails.d.ts +7 -0
- package/dist/panels/DetailPanel/ProjectDetails.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/BaseItem.d.ts +18 -0
- package/dist/panels/OutlinePanel/BaseItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/ObjectsList/ObjectItem.d.ts +8 -0
- package/dist/panels/OutlinePanel/ObjectsList/ObjectItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/ObjectsList/ObjectsList.d.ts +11 -0
- package/dist/panels/OutlinePanel/ObjectsList/ObjectsList.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/OutlinePanel.d.ts +5 -0
- package/dist/panels/OutlinePanel/OutlinePanel.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/ProjectsList/ProjectListItem.d.ts +8 -0
- package/dist/panels/OutlinePanel/ProjectsList/ProjectListItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/ProjectsList/ProjectsList.d.ts +4 -0
- package/dist/panels/OutlinePanel/ProjectsList/ProjectsList.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetInstanceItem.d.ts +7 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetInstanceItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetItem.d.ts +8 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetItem.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetsList.d.ts +8 -0
- package/dist/panels/OutlinePanel/SheetsList/SheetsList.d.ts.map +1 -0
- package/dist/panels/OutlinePanel/outlinePanelUtils.d.ts +11 -0
- package/dist/panels/OutlinePanel/outlinePanelUtils.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/DopeSheet.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/DopeSheet.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/AnyCompositeRow.d.ts +21 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/AnyCompositeRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/Left.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/Left.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PropWithChildrenRow.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/PropWithChildrenRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetObjectRow.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetObjectRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetRow.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/SheetRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/usePropHighlightMouseEnter.d.ts +4 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Left/usePropHighlightMouseEnter.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeConnector.d.ts +13 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeConnector.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeDot.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeDot.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeEditor.d.ts +44 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeEditor.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeVisualDot.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/AggregateKeyframeVisualDot.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/iif.d.ts +2 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/iif.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/useAggregateKeyframeEditorUtils.d.ts +23 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregateKeyframeEditor/useAggregateKeyframeEditorUtils.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack.d.ts +19 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/AggregatedKeyframeTrack/AggregatedKeyframeTrack.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/BasicKeyframedTrack.d.ts +13 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/BasicKeyframedTrack.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/BasicKeyframeConnector.d.ts +6 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/BasicKeyframeConnector.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.d.ts +21 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveSegmentEditor.d.ts +12 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveSegmentEditor.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/EasingOption.d.ts +15 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/EasingOption.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/SVGCurveSegment.d.ts +9 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/SVGCurveSegment.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/colors.d.ts +4 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/colors.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/shared.d.ts +43 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/shared.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useFreezableMemo.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useFreezableMemo.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useUIOptionGrid.d.ts +32 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/useUIOptionGrid.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/DeterminePropEditorForSingleKeyframe.d.ts +17 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/DeterminePropEditorForSingleKeyframe.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeEditor.d.ts +19 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeEditor.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useSingleKeyframeInlineEditorPopover.d.ts +29 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useSingleKeyframeInlineEditorPopover.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useTempTransactionEditingTools.d.ts +18 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/useTempTransactionEditingTools.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetBackground.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetBackground.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetSelectionView.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/DopeSheetSelectionView.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/FocusRangeCurtains.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/FocusRangeCurtains.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/HorizontallyScrollableArea.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/HorizontallyScrollableArea.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/KeyframeSnapTarget.d.ts +36 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/KeyframeSnapTarget.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthEditorPopover.d.ts +12 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthEditorPopover.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthIndicator.d.ts +13 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/LengthIndicator/LengthIndicator.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PrimitivePropRow.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PrimitivePropRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PropWithChildrenRow.d.ts +11 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/PropWithChildrenRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Right.d.ts +9 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Right.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Row.d.ts +21 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/Row.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetObjectRow.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetObjectRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetRow.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/SheetRow.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/collectAggregateKeyframes.d.ts +58 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/collectAggregateKeyframes.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/keyframeRowUI/ConnectorLine.d.ts +20 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/Right/keyframeRowUI/ConnectorLine.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/selections.d.ts +82 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/selections.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/setCollapsedSheetObjectOrCompoundProp.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/DopeSheet/setCollapsedSheetObjectOrCompoundProp.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/FrameGrid.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/FrameGrid.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/StampsGrid.d.ts +15 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/StampsGrid.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/createGrid.d.ts +23 -0
- package/dist/panels/SequenceEditorPanel/FrameGrid/createGrid.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/FrameStampPositionProvider.d.ts +52 -0
- package/dist/panels/SequenceEditorPanel/FrameStampPositionProvider.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/BasicKeyframedTrack.d.ts +25 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/BasicKeyframedTrack.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/Curve.d.ts +14 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/Curve.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/CurveHandle.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/CurveHandle.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotNonScalar.d.ts +9 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotNonScalar.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotScalar.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorDotScalar.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorNonScalarDash.d.ts +7 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/GraphEditorNonScalarDash.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/KeyframeEditor.d.ts +27 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/BasicKeyframedTrack/KeyframeEditor/KeyframeEditor.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/GraphEditor.d.ts +28 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/GraphEditor.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/PrimitivePropGraph.d.ts +16 -0
- package/dist/panels/SequenceEditorPanel/GraphEditor/PrimitivePropGraph.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/GraphEditorToggle.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/GraphEditorToggle.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnap.d.ts +21 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnap.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnapHitZoneUI.d.ts +18 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/DopeSnapHitZoneUI.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeStrip.d.ts +32 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeStrip.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeThumb.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeThumb.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeZone.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FocusRangeZone/FocusRangeZone.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FrameStamp.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/FrameStamp.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/HorizontalScrollbar.d.ts +11 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/HorizontalScrollbar.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerDot.d.ts +11 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerDot.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerEditorPopover.d.ts +14 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/MarkerEditorPopover.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/Markers.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Markers/Markers.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Playhead.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/Playhead.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/PlayheadPositionPopover.d.ts +12 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/PlayheadPositionPopover.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/RightOverlay.d.ts +8 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/RightOverlay.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/TopStrip.d.ts +13 -0
- package/dist/panels/SequenceEditorPanel/RightOverlay/TopStrip.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/SequenceEditorPanel.d.ts +15 -0
- package/dist/panels/SequenceEditorPanel/SequenceEditorPanel.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/VerticalScrollContainer.d.ts +19 -0
- package/dist/panels/SequenceEditorPanel/VerticalScrollContainer.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/layout/layout.d.ts +146 -0
- package/dist/panels/SequenceEditorPanel/layout/layout.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/layout/tree.d.ts +71 -0
- package/dist/panels/SequenceEditorPanel/layout/tree.d.ts.map +1 -0
- package/dist/panels/SequenceEditorPanel/whatPropIsHighlighted.d.ts +10 -0
- package/dist/panels/SequenceEditorPanel/whatPropIsHighlighted.d.ts.map +1 -0
- package/dist/propEditors/DefaultValueIndicator.d.ts +12 -0
- package/dist/propEditors/DefaultValueIndicator.d.ts.map +1 -0
- package/dist/propEditors/NextPrevKeyframeCursors.d.ts +29 -0
- package/dist/propEditors/NextPrevKeyframeCursors.d.ts.map +1 -0
- package/dist/propEditors/getNearbyKeyframesOfTrack.d.ts +9 -0
- package/dist/propEditors/getNearbyKeyframesOfTrack.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/BooleanPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/BooleanPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/FilePropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/FilePropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/ISimplePropEditorReactProps.d.ts +10 -0
- package/dist/propEditors/simpleEditors/ISimplePropEditorReactProps.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/ImagePropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/ImagePropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/NumberPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/NumberPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/RgbaPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/RgbaPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/StringLiteralPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/StringLiteralPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/StringPropEditor.d.ts +6 -0
- package/dist/propEditors/simpleEditors/StringPropEditor.d.ts.map +1 -0
- package/dist/propEditors/simpleEditors/simplePropEditorByPropType.d.ts +10 -0
- package/dist/propEditors/simpleEditors/simplePropEditorByPropType.d.ts.map +1 -0
- package/dist/propEditors/useEditingToolsForCompoundProp.d.ts +27 -0
- package/dist/propEditors/useEditingToolsForCompoundProp.d.ts.map +1 -0
- package/dist/propEditors/useEditingToolsForSimpleProp.d.ts +47 -0
- package/dist/propEditors/useEditingToolsForSimpleProp.d.ts.map +1 -0
- package/dist/propEditors/utils/IEditingTools.d.ts +9 -0
- package/dist/propEditors/utils/IEditingTools.d.ts.map +1 -0
- package/dist/propEditors/utils/PropConfigForType.d.ts +5 -0
- package/dist/propEditors/utils/PropConfigForType.d.ts.map +1 -0
- package/dist/propEditors/utils/getPropTypeByPointer.d.ts +19 -0
- package/dist/propEditors/utils/getPropTypeByPointer.d.ts.map +1 -0
- package/dist/propEditors/utils/propNameTextCSS.d.ts +5 -0
- package/dist/propEditors/utils/propNameTextCSS.d.ts.map +1 -0
- package/dist/selectors.d.ts +13 -0
- package/dist/selectors.d.ts.map +1 -0
- package/dist/store/index.d.ts +210 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/stateEditors.d.ts +300 -0
- package/dist/store/stateEditors.d.ts.map +1 -0
- package/dist/store/types/ahistoric.d.ts +79 -0
- package/dist/store/types/ahistoric.d.ts.map +1 -0
- package/dist/store/types/ephemeral.d.ts +53 -0
- package/dist/store/types/ephemeral.d.ts.map +1 -0
- package/dist/store/types/historic.d.ts +104 -0
- package/dist/store/types/historic.d.ts.map +1 -0
- package/dist/store/types/index.d.ts +25 -0
- package/dist/store/types/index.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/ExtensionToolbar.d.ts +7 -0
- package/dist/toolbars/ExtensionToolbar/ExtensionToolbar.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/Toolset.d.ts +7 -0
- package/dist/toolbars/ExtensionToolbar/Toolset.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/tools/ExtensionFlyoutMenu.d.ts +7 -0
- package/dist/toolbars/ExtensionToolbar/tools/ExtensionFlyoutMenu.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/tools/IconButton.d.ts +8 -0
- package/dist/toolbars/ExtensionToolbar/tools/IconButton.d.ts.map +1 -0
- package/dist/toolbars/ExtensionToolbar/tools/Switch.d.ts +7 -0
- package/dist/toolbars/ExtensionToolbar/tools/Switch.d.ts.map +1 -0
- package/dist/toolbars/GlobalToolbar.d.ts +4 -0
- package/dist/toolbars/GlobalToolbar.d.ts.map +1 -0
- package/dist/toolbars/MoreMenu/MoreMenu.d.ts +4 -0
- package/dist/toolbars/MoreMenu/MoreMenu.d.ts.map +1 -0
- package/dist/toolbars/PinButton.d.ts +12 -0
- package/dist/toolbars/PinButton.d.ts.map +1 -0
- package/dist/uiComponents/DetailPanelButton.d.ts +5 -0
- package/dist/uiComponents/DetailPanelButton.d.ts.map +1 -0
- package/dist/uiComponents/PointerEventsHandler.d.ts +31 -0
- package/dist/uiComponents/PointerEventsHandler.d.ts.map +1 -0
- package/dist/uiComponents/Popover/ArrowContext.d.ts +4 -0
- package/dist/uiComponents/Popover/ArrowContext.d.ts.map +1 -0
- package/dist/uiComponents/Popover/BasicPopover.d.ts +9 -0
- package/dist/uiComponents/Popover/BasicPopover.d.ts.map +1 -0
- package/dist/uiComponents/Popover/BasicTooltip.d.ts +8 -0
- package/dist/uiComponents/Popover/BasicTooltip.d.ts.map +1 -0
- package/dist/uiComponents/Popover/ErrorTooltip.d.ts +8 -0
- package/dist/uiComponents/Popover/ErrorTooltip.d.ts.map +1 -0
- package/dist/uiComponents/Popover/MinimalTooltip.d.ts +8 -0
- package/dist/uiComponents/Popover/MinimalTooltip.d.ts.map +1 -0
- package/dist/uiComponents/Popover/PopoverArrow.d.ts +8 -0
- package/dist/uiComponents/Popover/PopoverArrow.d.ts.map +1 -0
- package/dist/uiComponents/Popover/TooltipContext.d.ts +7 -0
- package/dist/uiComponents/Popover/TooltipContext.d.ts.map +1 -0
- package/dist/uiComponents/Popover/TooltipWrapper.d.ts +21 -0
- package/dist/uiComponents/Popover/TooltipWrapper.d.ts.map +1 -0
- package/dist/uiComponents/Popover/usePopover.d.ts +29 -0
- package/dist/uiComponents/Popover/usePopover.d.ts.map +1 -0
- package/dist/uiComponents/Popover/useTooltip.d.ts +14 -0
- package/dist/uiComponents/Popover/useTooltip.d.ts.map +1 -0
- package/dist/uiComponents/RoomToClick.d.ts +6 -0
- package/dist/uiComponents/RoomToClick.d.ts.map +1 -0
- package/dist/uiComponents/SVGIcon.d.ts +8 -0
- package/dist/uiComponents/SVGIcon.d.ts.map +1 -0
- package/dist/uiComponents/ShowMousePosition.d.ts +4 -0
- package/dist/uiComponents/ShowMousePosition.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/EditingProvider.d.ts +15 -0
- package/dist/uiComponents/colorPicker/components/EditingProvider.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/RgbaColorPicker.d.ts +3 -0
- package/dist/uiComponents/colorPicker/components/RgbaColorPicker.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/Alpha.d.ts +11 -0
- package/dist/uiComponents/colorPicker/components/common/Alpha.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/AlphaColorPicker.d.ts +7 -0
- package/dist/uiComponents/colorPicker/components/common/AlphaColorPicker.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/Hue.d.ts +11 -0
- package/dist/uiComponents/colorPicker/components/common/Hue.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/Interactive.d.ts +13 -0
- package/dist/uiComponents/colorPicker/components/common/Interactive.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/Pointer.d.ts +10 -0
- package/dist/uiComponents/colorPicker/components/common/Pointer.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/components/common/Saturation.d.ts +12 -0
- package/dist/uiComponents/colorPicker/components/common/Saturation.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/hooks/useColorManipulation.d.ts +3 -0
- package/dist/uiComponents/colorPicker/hooks/useColorManipulation.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/hooks/useEventCallback.d.ts +2 -0
- package/dist/uiComponents/colorPicker/hooks/useEventCallback.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/dist/uiComponents/colorPicker/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/index.d.ts +3 -0
- package/dist/uiComponents/colorPicker/index.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/types.d.ts +47 -0
- package/dist/uiComponents/colorPicker/types.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/utils/clamp.d.ts +2 -0
- package/dist/uiComponents/colorPicker/utils/clamp.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/utils/compare.d.ts +5 -0
- package/dist/uiComponents/colorPicker/utils/compare.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/utils/convert.d.ts +27 -0
- package/dist/uiComponents/colorPicker/utils/convert.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/utils/round.d.ts +2 -0
- package/dist/uiComponents/colorPicker/utils/round.d.ts.map +1 -0
- package/dist/uiComponents/colorPicker/utils/validate.d.ts +2 -0
- package/dist/uiComponents/colorPicker/utils/validate.d.ts.map +1 -0
- package/dist/uiComponents/createCursorLock.d.ts +2 -0
- package/dist/uiComponents/createCursorLock.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicCheckbox.d.ts +5 -0
- package/dist/uiComponents/form/BasicCheckbox.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicNumberInput.d.ts +26 -0
- package/dist/uiComponents/form/BasicNumberInput.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicSelect.d.ts +10 -0
- package/dist/uiComponents/form/BasicSelect.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicStringInput.d.ts +19 -0
- package/dist/uiComponents/form/BasicStringInput.d.ts.map +1 -0
- package/dist/uiComponents/form/BasicSwitch.d.ts +9 -0
- package/dist/uiComponents/form/BasicSwitch.d.ts.map +1 -0
- package/dist/uiComponents/icons/AddImage.d.ts +4 -0
- package/dist/uiComponents/icons/AddImage.d.ts.map +1 -0
- package/dist/uiComponents/icons/ArrowClockwise.d.ts +4 -0
- package/dist/uiComponents/icons/ArrowClockwise.d.ts.map +1 -0
- package/dist/uiComponents/icons/ArrowsOutCardinal.d.ts +4 -0
- package/dist/uiComponents/icons/ArrowsOutCardinal.d.ts.map +1 -0
- package/dist/uiComponents/icons/Bell.d.ts +4 -0
- package/dist/uiComponents/icons/Bell.d.ts.map +1 -0
- package/dist/uiComponents/icons/Camera.d.ts +4 -0
- package/dist/uiComponents/icons/Camera.d.ts.map +1 -0
- package/dist/uiComponents/icons/ChevronDown.d.ts +4 -0
- package/dist/uiComponents/icons/ChevronDown.d.ts.map +1 -0
- package/dist/uiComponents/icons/ChevronLeft.d.ts +4 -0
- package/dist/uiComponents/icons/ChevronLeft.d.ts.map +1 -0
- package/dist/uiComponents/icons/ChevronRight.d.ts +4 -0
- package/dist/uiComponents/icons/ChevronRight.d.ts.map +1 -0
- package/dist/uiComponents/icons/Cube.d.ts +4 -0
- package/dist/uiComponents/icons/Cube.d.ts.map +1 -0
- package/dist/uiComponents/icons/CubeFull.d.ts +4 -0
- package/dist/uiComponents/icons/CubeFull.d.ts.map +1 -0
- package/dist/uiComponents/icons/CubeHalf.d.ts +4 -0
- package/dist/uiComponents/icons/CubeHalf.d.ts.map +1 -0
- package/dist/uiComponents/icons/CubeRendered.d.ts +4 -0
- package/dist/uiComponents/icons/CubeRendered.d.ts.map +1 -0
- package/dist/uiComponents/icons/Details.d.ts +4 -0
- package/dist/uiComponents/icons/Details.d.ts.map +1 -0
- package/dist/uiComponents/icons/DoubleChevronLeft.d.ts +4 -0
- package/dist/uiComponents/icons/DoubleChevronLeft.d.ts.map +1 -0
- package/dist/uiComponents/icons/DoubleChevronRight.d.ts +4 -0
- package/dist/uiComponents/icons/DoubleChevronRight.d.ts.map +1 -0
- package/dist/uiComponents/icons/Ellipsis.d.ts +4 -0
- package/dist/uiComponents/icons/Ellipsis.d.ts.map +1 -0
- package/dist/uiComponents/icons/EllipsisFill.d.ts +4 -0
- package/dist/uiComponents/icons/EllipsisFill.d.ts.map +1 -0
- package/dist/uiComponents/icons/GlobeSimple.d.ts +4 -0
- package/dist/uiComponents/icons/GlobeSimple.d.ts.map +1 -0
- package/dist/uiComponents/icons/Outline.d.ts +4 -0
- package/dist/uiComponents/icons/Outline.d.ts.map +1 -0
- package/dist/uiComponents/icons/Package.d.ts +4 -0
- package/dist/uiComponents/icons/Package.d.ts.map +1 -0
- package/dist/uiComponents/icons/Resize.d.ts +4 -0
- package/dist/uiComponents/icons/Resize.d.ts.map +1 -0
- package/dist/uiComponents/icons/Trash.d.ts +4 -0
- package/dist/uiComponents/icons/Trash.d.ts.map +1 -0
- package/dist/uiComponents/icons/index.d.ts +21 -0
- package/dist/uiComponents/icons/index.d.ts.map +1 -0
- package/dist/uiComponents/isSafari.d.ts +2 -0
- package/dist/uiComponents/isSafari.d.ts.map +1 -0
- package/dist/uiComponents/onPointerOutside.d.ts +6 -0
- package/dist/uiComponents/onPointerOutside.d.ts.map +1 -0
- package/dist/uiComponents/selects/BasicSelect.d.ts +15 -0
- package/dist/uiComponents/selects/BasicSelect.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/BaseMenu.d.ts +16 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/BaseMenu.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/ContextMenu.d.ts +27 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/Item.d.ts +10 -0
- package/dist/uiComponents/simpleContextMenu/ContextMenu/Item.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/useContextMenu.d.ts +11 -0
- package/dist/uiComponents/simpleContextMenu/useContextMenu.d.ts.map +1 -0
- package/dist/uiComponents/simpleContextMenu/useRequestContextMenu.d.ts +13 -0
- package/dist/uiComponents/simpleContextMenu/useRequestContextMenu.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarDropdownSelect.d.ts +16 -0
- package/dist/uiComponents/toolbar/ToolbarDropdownSelect.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarIconButton.d.ts +4 -0
- package/dist/uiComponents/toolbar/ToolbarIconButton.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelect.d.ts +15 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelect.d.ts.map +1 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelectContainer.d.ts +3 -0
- package/dist/uiComponents/toolbar/ToolbarSwitchSelectContainer.d.ts.map +1 -0
- package/dist/uiComponents/useBoundingClientRect.d.ts +2 -0
- package/dist/uiComponents/useBoundingClientRect.d.ts.map +1 -0
- package/dist/uiComponents/useDebugRefreshEvery.d.ts +9 -0
- package/dist/uiComponents/useDebugRefreshEvery.d.ts.map +1 -0
- package/dist/uiComponents/useDrag.d.ts +76 -0
- package/dist/uiComponents/useDrag.d.ts.map +1 -0
- package/dist/uiComponents/useHotspot.d.ts +2 -0
- package/dist/uiComponents/useHotspot.d.ts.map +1 -0
- package/dist/uiComponents/useHover.d.ts +2 -0
- package/dist/uiComponents/useHover.d.ts.map +1 -0
- package/dist/uiComponents/useHoverWithoutDescendants.d.ts +5 -0
- package/dist/uiComponents/useHoverWithoutDescendants.d.ts.map +1 -0
- package/dist/uiComponents/useKeyDown.d.ts +3 -0
- package/dist/uiComponents/useKeyDown.d.ts.map +1 -0
- package/dist/uiComponents/useKeyDownCallback.d.ts +7 -0
- package/dist/uiComponents/useKeyDownCallback.d.ts.map +1 -0
- package/dist/uiComponents/useLockSet.d.ts +5 -0
- package/dist/uiComponents/useLockSet.d.ts.map +1 -0
- package/dist/uiComponents/useLogger.d.ts +7 -0
- package/dist/uiComponents/useLogger.d.ts.map +1 -0
- package/dist/uiComponents/useOnClickOutside.d.ts +2 -0
- package/dist/uiComponents/useOnClickOutside.d.ts.map +1 -0
- package/dist/uiComponents/useOnKeyDown.d.ts +2 -0
- package/dist/uiComponents/useOnKeyDown.d.ts.map +1 -0
- package/dist/uiComponents/usePresence.d.ts +30 -0
- package/dist/uiComponents/usePresence.d.ts.map +1 -0
- package/dist/uiComponents/useValToAtom.d.ts +3 -0
- package/dist/uiComponents/useValToAtom.d.ts.map +1 -0
- package/dist/utils/absoluteDims.d.ts +3 -0
- package/dist/utils/absoluteDims.d.ts.map +1 -0
- package/dist/utils/contextualWebComponents.d.ts +5 -0
- package/dist/utils/contextualWebComponents.d.ts.map +1 -0
- package/dist/utils/copyToClipboard.d.ts +2 -0
- package/dist/utils/copyToClipboard.d.ts.map +1 -0
- package/dist/utils/derive-utils.d.ts +21 -0
- package/dist/utils/derive-utils.d.ts.map +1 -0
- package/dist/utils/devStringify.d.ts +7 -0
- package/dist/utils/devStringify.d.ts.map +1 -0
- package/dist/utils/invariant.d.ts +35 -0
- package/dist/utils/invariant.d.ts.map +1 -0
- package/dist/utils/isMac.d.ts +2 -0
- package/dist/utils/isMac.d.ts.map +1 -0
- package/dist/utils/keyboardUtils.d.ts +9 -0
- package/dist/utils/keyboardUtils.d.ts.map +1 -0
- package/dist/utils/mousePositionD.d.ts +6 -0
- package/dist/utils/mousePositionD.d.ts.map +1 -0
- package/dist/utils/redux/actionCreator.d.ts +49 -0
- package/dist/utils/redux/actionCreator.d.ts.map +1 -0
- package/dist/utils/redux/actionCreator.test.d.ts +2 -0
- package/dist/utils/redux/actionCreator.test.d.ts.map +1 -0
- package/dist/utils/redux/actionReducersBundle.d.ts +18 -0
- package/dist/utils/redux/actionReducersBundle.d.ts.map +1 -0
- package/dist/utils/redux/atomFromReduxStore.d.ts +4 -0
- package/dist/utils/redux/atomFromReduxStore.d.ts.map +1 -0
- package/dist/utils/redux/configureStore.d.ts +9 -0
- package/dist/utils/redux/configureStore.d.ts.map +1 -0
- package/dist/utils/redux/pointerFriendlySelector.d.ts +10 -0
- package/dist/utils/redux/pointerFriendlySelector.d.ts.map +1 -0
- package/dist/utils/redux/withHistory/withBatchActions.d.ts +19 -0
- package/dist/utils/redux/withHistory/withBatchActions.d.ts.map +1 -0
- package/dist/utils/redux/withHistory/withHistory.d.ts +127 -0
- package/dist/utils/redux/withHistory/withHistory.d.ts.map +1 -0
- package/dist/utils/renderInPortalInContext.d.ts +7 -0
- package/dist/utils/renderInPortalInContext.d.ts.map +1 -0
- package/dist/utils/selectClosestHTMLAncestor.d.ts +5 -0
- package/dist/utils/selectClosestHTMLAncestor.d.ts.map +1 -0
- package/dist/utils/tightJsonStringify.d.ts +23 -0
- package/dist/utils/tightJsonStringify.d.ts.map +1 -0
- package/dist/utils/tightJsonStringify.test.d.ts +2 -0
- package/dist/utils/tightJsonStringify.test.d.ts.map +1 -0
- package/dist/utils/useRefAndState.d.ts +18 -0
- package/dist/utils/useRefAndState.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/index.mjs +0 -105
- package/dist/index.mjs.map +0 -7
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
import type { IProject, IRafDriver, ISheet, ISheetObject } from '@tomorrowevening/theatre-core';
|
|
2
|
+
import type { Pointer } from '@tomorrowevening/theatre-dataverse';
|
|
3
|
+
import type { VoidFn } from '@tomorrowevening/theatre-shared/utils/types';
|
|
4
|
+
import type { IScrub } from '@tomorrowevening/theatre-studio/Scrub';
|
|
5
|
+
import type { PaneInstanceId } from '@tomorrowevening/theatre-shared/utils/ids';
|
|
6
|
+
import type TheatreSheetObject from '@tomorrowevening/theatre-core/sheetObjects/TheatreSheetObject';
|
|
7
|
+
import type TheatreSheet from '@tomorrowevening/theatre-core/sheets/TheatreSheet';
|
|
8
|
+
import type { __UNSTABLE_Project_OnDiskState } from '@tomorrowevening/theatre-core';
|
|
9
|
+
export interface ITransactionAPI {
|
|
10
|
+
/**
|
|
11
|
+
* Set the value of a prop by its pointer. If the prop is sequenced, the value
|
|
12
|
+
* will be a keyframe at the current sequence position.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* Usage:
|
|
16
|
+
* ```ts
|
|
17
|
+
* const obj = sheet.object("box", {x: 0, y: 0})
|
|
18
|
+
* studio.transaction(({set}) => {
|
|
19
|
+
* // set a specific prop's value
|
|
20
|
+
* set(obj.props.x, 10) // New value is {x: 10, y: 0}
|
|
21
|
+
* // values are set partially
|
|
22
|
+
* set(obj.props, {y: 11}) // New value is {x: 10, y: 11}
|
|
23
|
+
*
|
|
24
|
+
* // this will error, as there is no such prop as 'z'
|
|
25
|
+
* set(obj.props.z, 10)
|
|
26
|
+
* })
|
|
27
|
+
* ```
|
|
28
|
+
* @param pointer - A Pointer, like object.props
|
|
29
|
+
* @param value - The value to override the existing value. This is treated as a deep partial value.
|
|
30
|
+
*/
|
|
31
|
+
set<V>(pointer: Pointer<V>, value: V): void;
|
|
32
|
+
/**
|
|
33
|
+
* Unsets the value of a prop by its pointer.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* Usage:
|
|
37
|
+
* ```ts
|
|
38
|
+
* const obj = sheet.object("box", {x: 0, y: 0})
|
|
39
|
+
* studio.transaction(({set}) => {
|
|
40
|
+
* // set props.x to its default value
|
|
41
|
+
* unset(obj.props.x)
|
|
42
|
+
* // set all props to their default value
|
|
43
|
+
* set(obj.props)
|
|
44
|
+
* })
|
|
45
|
+
* ```
|
|
46
|
+
* @param pointer - A pointer, like object.props
|
|
47
|
+
*/
|
|
48
|
+
unset<V>(pointer: Pointer<V>): void;
|
|
49
|
+
/**
|
|
50
|
+
* EXPERIMENTAL API - this api may be removed without notice.
|
|
51
|
+
*
|
|
52
|
+
* Makes Theatre forget about this object. This means all the prop overrides and sequenced props
|
|
53
|
+
* will be reset, and the object won't show up in the exported state.
|
|
54
|
+
*/
|
|
55
|
+
__experimental_forgetObject(object: TheatreSheetObject): void;
|
|
56
|
+
/**
|
|
57
|
+
* EXPERIMENTAL API - this api may be removed without notice.
|
|
58
|
+
*
|
|
59
|
+
* Makes Theatre forget about this sheet.
|
|
60
|
+
*/
|
|
61
|
+
__experimental_forgetSheet(sheet: TheatreSheet): void;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export interface PaneClassDefinition {
|
|
67
|
+
/**
|
|
68
|
+
* Each pane has a `class`, which is a string.
|
|
69
|
+
*/
|
|
70
|
+
class: string;
|
|
71
|
+
mount: (opts: {
|
|
72
|
+
paneId: string;
|
|
73
|
+
node: HTMLElement;
|
|
74
|
+
}) => () => void;
|
|
75
|
+
}
|
|
76
|
+
export type ToolConfigIcon = {
|
|
77
|
+
type: 'Icon';
|
|
78
|
+
svgSource: string;
|
|
79
|
+
title: string;
|
|
80
|
+
onClick: () => void;
|
|
81
|
+
};
|
|
82
|
+
export type ToolConfigOption = {
|
|
83
|
+
value: string;
|
|
84
|
+
label: string;
|
|
85
|
+
svgSource: string;
|
|
86
|
+
};
|
|
87
|
+
export type ToolConfigSwitch = {
|
|
88
|
+
type: 'Switch';
|
|
89
|
+
value: string;
|
|
90
|
+
onChange: (value: string) => void;
|
|
91
|
+
options: ToolConfigOption[];
|
|
92
|
+
};
|
|
93
|
+
export type ToolconfigFlyoutMenuItem = {
|
|
94
|
+
label: string;
|
|
95
|
+
onClick?: () => void;
|
|
96
|
+
};
|
|
97
|
+
export type ToolConfigFlyoutMenu = {
|
|
98
|
+
/**
|
|
99
|
+
* A flyout menu
|
|
100
|
+
*/
|
|
101
|
+
type: 'Flyout';
|
|
102
|
+
/**
|
|
103
|
+
* The label of the trigger button
|
|
104
|
+
*/
|
|
105
|
+
label: string;
|
|
106
|
+
items: ToolconfigFlyoutMenuItem[];
|
|
107
|
+
};
|
|
108
|
+
export type ToolConfig = ToolConfigIcon | ToolConfigSwitch | ToolConfigFlyoutMenu;
|
|
109
|
+
export type ToolsetConfig = Array<ToolConfig>;
|
|
110
|
+
/**
|
|
111
|
+
* A Theatre.js Studio extension. You can define one either
|
|
112
|
+
* in a separate package, or within your project.
|
|
113
|
+
*/
|
|
114
|
+
export interface IExtension {
|
|
115
|
+
/**
|
|
116
|
+
* Pick a unique ID for your extension. Ideally the name would be unique if
|
|
117
|
+
* the extension was to be published to the npm repository.
|
|
118
|
+
*/
|
|
119
|
+
id: string;
|
|
120
|
+
/**
|
|
121
|
+
* Set this if you'd like to add a component to the global toolbar (on the top)
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* TODO
|
|
125
|
+
*/
|
|
126
|
+
toolbars?: {
|
|
127
|
+
[key in 'global' | string]: (set: (config: ToolsetConfig) => void, studio: IStudio) => () => void;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Introduces new pane types.
|
|
131
|
+
* @example
|
|
132
|
+
* TODO
|
|
133
|
+
*/
|
|
134
|
+
panes?: Array<PaneClassDefinition>;
|
|
135
|
+
}
|
|
136
|
+
export type PaneInstance<ClassName extends string> = {
|
|
137
|
+
extensionId: string;
|
|
138
|
+
instanceId: PaneInstanceId;
|
|
139
|
+
definition: PaneClassDefinition;
|
|
140
|
+
};
|
|
141
|
+
export interface IStudioUI {
|
|
142
|
+
/**
|
|
143
|
+
* Temporarily hides the studio
|
|
144
|
+
*/
|
|
145
|
+
hide(): void;
|
|
146
|
+
/**
|
|
147
|
+
* Whether the studio is currently visible or hidden
|
|
148
|
+
*/
|
|
149
|
+
readonly isHidden: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Makes the studio visible again.
|
|
152
|
+
*/
|
|
153
|
+
restore(): void;
|
|
154
|
+
renderToolset(toolsetId: string, htmlNode: HTMLElement): () => void;
|
|
155
|
+
}
|
|
156
|
+
export interface _StudioInitializeOpts {
|
|
157
|
+
/**
|
|
158
|
+
* The local storage key to use to persist the state.
|
|
159
|
+
*
|
|
160
|
+
* Default: "theatrejs:0.4"
|
|
161
|
+
*/
|
|
162
|
+
persistenceKey?: string;
|
|
163
|
+
/**
|
|
164
|
+
* Whether to persist the changes in the browser's temporary storage.
|
|
165
|
+
* It is useful to set this to false in the test environment or when debugging things.
|
|
166
|
+
*
|
|
167
|
+
* Default: true
|
|
168
|
+
*/
|
|
169
|
+
usePersistentStorage?: boolean;
|
|
170
|
+
__experimental_rafDriver?: IRafDriver | undefined;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* This is the public api of Theatre's studio. It is exposed through:
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* Basic usage:
|
|
177
|
+
* ```ts
|
|
178
|
+
* import studio from '@tomorrowevening/theatre-studio'
|
|
179
|
+
*
|
|
180
|
+
* studio.initialize()
|
|
181
|
+
* ```
|
|
182
|
+
*
|
|
183
|
+
* @example
|
|
184
|
+
* Usage with **tree-shaking**:
|
|
185
|
+
* ```ts
|
|
186
|
+
* import studio from '@tomorrowevening/theatre-studio'
|
|
187
|
+
*
|
|
188
|
+
* if (process.env.NODE_ENV !== 'production') {
|
|
189
|
+
* studio.initialize()
|
|
190
|
+
* }
|
|
191
|
+
* ```
|
|
192
|
+
*/
|
|
193
|
+
export interface IStudio {
|
|
194
|
+
readonly ui: IStudioUI;
|
|
195
|
+
/**
|
|
196
|
+
* Initializes the studio. Call it once in your index.js/index.ts module.
|
|
197
|
+
* It silently ignores subsequent calls.
|
|
198
|
+
*/
|
|
199
|
+
initialize(opts?: _StudioInitializeOpts): void;
|
|
200
|
+
/**
|
|
201
|
+
* Runs an undo-able transaction. Creates a single undo level for all
|
|
202
|
+
* the operations inside the transaction.
|
|
203
|
+
*
|
|
204
|
+
* Will roll back if an error is thrown.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* Usage:
|
|
208
|
+
* ```ts
|
|
209
|
+
* studio.transaction(({set, unset}) => {
|
|
210
|
+
* set(obj.props.x, 10) // set the value of obj.props.x to 10
|
|
211
|
+
* unset(obj.props.y) // unset the override at obj.props.y
|
|
212
|
+
* })
|
|
213
|
+
* ```
|
|
214
|
+
*/
|
|
215
|
+
transaction(fn: (api: ITransactionAPI) => void): void;
|
|
216
|
+
/**
|
|
217
|
+
* Creates a scrub, which is just like a transaction, except you
|
|
218
|
+
* can run it multiple times without creating extra undo levels.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* Usage:
|
|
222
|
+
* ```ts
|
|
223
|
+
* const scrub = studio.scrub()
|
|
224
|
+
* scrub.capture(({set}) => {
|
|
225
|
+
* set(obj.props.x, 10) // set the value of obj.props.x to 10
|
|
226
|
+
* })
|
|
227
|
+
*
|
|
228
|
+
* // half a second later...
|
|
229
|
+
* scrub.capture(({set}) => {
|
|
230
|
+
* set(obj.props.y, 11) // set the value of obj.props.y to 11
|
|
231
|
+
* // note that since we're not setting obj.props.x, its value reverts back to its old value (ie. not 10)
|
|
232
|
+
* })
|
|
233
|
+
*
|
|
234
|
+
* // then either:
|
|
235
|
+
* scrub.commit() // commits the scrub and creates a single undo level
|
|
236
|
+
* // or:
|
|
237
|
+
* scrub.reset() // clear all the ops in the scrub so we can run scrub.capture() again
|
|
238
|
+
* // or:
|
|
239
|
+
* scrub.discard() // clears the ops and destroys it (ie. can't call scrub.capture() anymore)
|
|
240
|
+
* ```
|
|
241
|
+
*/
|
|
242
|
+
scrub(): IScrub;
|
|
243
|
+
/**
|
|
244
|
+
* Creates a debounced scrub, which is just like a normal scrub, but
|
|
245
|
+
* automatically runs scrub.commit() after `threshhold` milliseconds have
|
|
246
|
+
* passed after the last `scrub.capture`.
|
|
247
|
+
*
|
|
248
|
+
* @param threshhold - How long to wait before committing the scrub
|
|
249
|
+
*
|
|
250
|
+
* @example
|
|
251
|
+
* Usage:
|
|
252
|
+
* ```ts
|
|
253
|
+
* // Will create a new undo-level after 2 seconds have passed
|
|
254
|
+
* // since the last scrub.capture()
|
|
255
|
+
* const scrub = studio.debouncedScrub(2000)
|
|
256
|
+
*
|
|
257
|
+
* // capture some ops
|
|
258
|
+
* scrub.capture(...)
|
|
259
|
+
* // wait one second
|
|
260
|
+
* await delay(1000)
|
|
261
|
+
* // capture more ops but no new undo level is made,
|
|
262
|
+
* // because the last scrub.capture() was called less than 2 seconds ago
|
|
263
|
+
* scrub.capture(...)
|
|
264
|
+
*
|
|
265
|
+
* // wait another seonc and half
|
|
266
|
+
* await delay(1500)
|
|
267
|
+
* // still no new undo level, because less than 2 seconds have passed
|
|
268
|
+
* // since the last capture
|
|
269
|
+
* scrub.capture(...)
|
|
270
|
+
*
|
|
271
|
+
* // wait 3 seconds
|
|
272
|
+
* await delay(3000) // at this point, one undo level is created.
|
|
273
|
+
*
|
|
274
|
+
* // this call to capture will start a new undo level
|
|
275
|
+
* scrub.capture(...)
|
|
276
|
+
* ```
|
|
277
|
+
*/
|
|
278
|
+
debouncedScrub(threshhold: number): Pick<IScrub, 'capture'>;
|
|
279
|
+
/**
|
|
280
|
+
* Sets the current selection.
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* Usage:
|
|
284
|
+
* ```ts
|
|
285
|
+
* const sheet1: ISheet = ...
|
|
286
|
+
* const obj1: ISheetObject<any> = ...
|
|
287
|
+
*
|
|
288
|
+
* studio.setSelection([sheet1, obj1])
|
|
289
|
+
* ```
|
|
290
|
+
*
|
|
291
|
+
* You can read the current selection from studio.selection
|
|
292
|
+
*/
|
|
293
|
+
setSelection(selection: Array<ISheetObject<any> | ISheet>): void;
|
|
294
|
+
/**
|
|
295
|
+
* Calls fn every time the current selection changes.
|
|
296
|
+
*/
|
|
297
|
+
onSelectionChange(fn: (s: Array<ISheetObject<{}> | ISheet>) => void): VoidFunction;
|
|
298
|
+
/**
|
|
299
|
+
* The current selection, consisting of Sheets and Sheet Objects
|
|
300
|
+
*
|
|
301
|
+
* @example
|
|
302
|
+
* Usage:
|
|
303
|
+
* ```ts
|
|
304
|
+
* console.log(studio.selection) // => [ISheetObject, ISheet]
|
|
305
|
+
* ```
|
|
306
|
+
*/
|
|
307
|
+
readonly selection: Array<ISheetObject<{}> | ISheet>;
|
|
308
|
+
/**
|
|
309
|
+
* Registers an extension
|
|
310
|
+
*/
|
|
311
|
+
extend(
|
|
312
|
+
/**
|
|
313
|
+
* The extension's definition
|
|
314
|
+
*/
|
|
315
|
+
extension: IExtension, opts?: {
|
|
316
|
+
/**
|
|
317
|
+
* Whether to reconfigure the extension. This is useful if you're
|
|
318
|
+
* hot-reloading the extension.
|
|
319
|
+
*
|
|
320
|
+
* Mind you, that if the old version of the extension defines a pane,
|
|
321
|
+
* and the new version doesn't, all instances of that pane will disappear, as expected.
|
|
322
|
+
* _However_, if you again reconfigure the extension with the old version, the instances
|
|
323
|
+
* of the pane that pane will re-appear.
|
|
324
|
+
*
|
|
325
|
+
* We're not sure about whether this behavior makes sense or not. If not, let us know
|
|
326
|
+
* in the discord server or open an issue on github.
|
|
327
|
+
*/
|
|
328
|
+
__experimental_reconfigure?: boolean;
|
|
329
|
+
}): void;
|
|
330
|
+
/**
|
|
331
|
+
* Creates a new pane
|
|
332
|
+
*
|
|
333
|
+
* @param paneClass - The class name of the pane (provided by an extension)
|
|
334
|
+
*/
|
|
335
|
+
createPane<PaneClass extends string>(paneClass: PaneClass): PaneInstance<PaneClass>;
|
|
336
|
+
/**
|
|
337
|
+
* Returns the Theatre.js project that contains the studio's sheets and objects.
|
|
338
|
+
*
|
|
339
|
+
* It is useful if you'd like to have sheets/objects that are present only when
|
|
340
|
+
* studio is present.
|
|
341
|
+
*/
|
|
342
|
+
getStudioProject(): IProject;
|
|
343
|
+
/**
|
|
344
|
+
* Creates a JSON object that contains the state of the project. You can use this
|
|
345
|
+
* to programmatically save the state of your projects to the storage system of your
|
|
346
|
+
* choice, rather than manually clicking on the "Export" button in the UI.
|
|
347
|
+
*
|
|
348
|
+
* @param projectId - same projectId as in `core.getProject(projectId)`
|
|
349
|
+
*
|
|
350
|
+
* @example
|
|
351
|
+
* Usage:
|
|
352
|
+
* ```ts
|
|
353
|
+
* const projectId = "project"
|
|
354
|
+
* const json = studio.createContentOfSaveFile(projectId)
|
|
355
|
+
* const string = JSON.stringify(json)
|
|
356
|
+
* fetch(`/projects/${projectId}/state`, {method: 'POST', body: string}).then(() => {
|
|
357
|
+
* console.log("Saved")
|
|
358
|
+
* })
|
|
359
|
+
* ```
|
|
360
|
+
*/
|
|
361
|
+
createContentOfSaveFile(projectId: string): Record<string, unknown>;
|
|
362
|
+
__experimental: {
|
|
363
|
+
/**
|
|
364
|
+
* Warning: This is an experimental API and will change in the future.
|
|
365
|
+
*
|
|
366
|
+
* Disables the play/pause keyboard shortcut (spacebar)
|
|
367
|
+
* Also see `__experimental_enablePlayPauseKeyboardShortcut()` to re-enable it.
|
|
368
|
+
*/
|
|
369
|
+
__experimental_disblePlayPauseKeyboardShortcut(): void;
|
|
370
|
+
/**
|
|
371
|
+
* Warning: This is an experimental API and will change in the future.
|
|
372
|
+
*
|
|
373
|
+
* Disables the play/pause keyboard shortcut (spacebar)
|
|
374
|
+
*/
|
|
375
|
+
__experimental_enablePlayPauseKeyboardShortcut(): void;
|
|
376
|
+
/**
|
|
377
|
+
* Clears persistent storage and ensures that the current state will not be
|
|
378
|
+
* saved on window unload. Further changes to state will continue writing to
|
|
379
|
+
* persistent storage, if enabled during initialization.
|
|
380
|
+
*
|
|
381
|
+
* @param persistenceKey - same persistencyKey as in `studio.initialize(opts)`, if any
|
|
382
|
+
*/
|
|
383
|
+
__experimental_clearPersistentStorage(persistenceKey?: string): void;
|
|
384
|
+
/**
|
|
385
|
+
* Warning: This is an experimental API and will change in the future.
|
|
386
|
+
*
|
|
387
|
+
* This is functionally the same as `studio.createContentOfSaveFile()`, but
|
|
388
|
+
* returns a typed object instead of a JSON object.
|
|
389
|
+
*
|
|
390
|
+
* See {@link __UNSTABLE_Project_OnDiskState} for more information.
|
|
391
|
+
*/
|
|
392
|
+
__experimental_createContentOfSaveFileTyped(projectId: string): __UNSTABLE_Project_OnDiskState;
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
export default class TheatreStudio implements IStudio {
|
|
396
|
+
readonly ui: {
|
|
397
|
+
hide(): void;
|
|
398
|
+
readonly isHidden: boolean;
|
|
399
|
+
restore(): void;
|
|
400
|
+
renderToolset(toolsetId: string, htmlNode: HTMLElement): () => void;
|
|
401
|
+
};
|
|
402
|
+
private readonly _cache;
|
|
403
|
+
__experimental: {
|
|
404
|
+
__experimental_disblePlayPauseKeyboardShortcut(): void;
|
|
405
|
+
__experimental_enablePlayPauseKeyboardShortcut(): void;
|
|
406
|
+
__experimental_clearPersistentStorage(persistenceKey?: string): void;
|
|
407
|
+
__experimental_createContentOfSaveFileTyped(projectId: string): __UNSTABLE_Project_OnDiskState;
|
|
408
|
+
};
|
|
409
|
+
initialize(opts?: Parameters<IStudio['initialize']>[0]): Promise<void>;
|
|
410
|
+
extend(extension: IExtension, opts?: {
|
|
411
|
+
__experimental_reconfigure?: boolean;
|
|
412
|
+
}): void;
|
|
413
|
+
transaction(fn: (api: ITransactionAPI) => void): void;
|
|
414
|
+
private _getSelectionPrism;
|
|
415
|
+
private _getSelection;
|
|
416
|
+
setSelection(selection: Array<ISheetObject | ISheet>): void;
|
|
417
|
+
onSelectionChange(fn: (s: (ISheetObject | ISheet)[]) => void): VoidFn;
|
|
418
|
+
get selection(): Array<ISheetObject | ISheet>;
|
|
419
|
+
scrub(): IScrub;
|
|
420
|
+
getStudioProject(): IProject;
|
|
421
|
+
debouncedScrub(threshold?: number): Pick<IScrub, 'capture'>;
|
|
422
|
+
createPane<PaneClass extends string>(paneClass: PaneClass): PaneInstance<PaneClass>;
|
|
423
|
+
destroyPane(paneId: string): void;
|
|
424
|
+
createContentOfSaveFile(projectId: string): Record<string, unknown>;
|
|
425
|
+
}
|
|
426
|
+
//# sourceMappingURL=TheatreStudio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TheatreStudio.d.ts","sourceRoot":"","sources":["../../../../studio/src/TheatreStudio.ts"],"names":[],"mappings":"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"}
|
package/dist/UI/UI.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Studio } from '@tomorrowevening/theatre-studio/Studio';
|
|
2
|
+
export default class UI {
|
|
3
|
+
readonly studio: Studio;
|
|
4
|
+
private _rendered;
|
|
5
|
+
private _nonSSRBits;
|
|
6
|
+
readonly ready: Promise<void>;
|
|
7
|
+
constructor(studio: Studio);
|
|
8
|
+
render(): void;
|
|
9
|
+
hide(): void;
|
|
10
|
+
restore(): void;
|
|
11
|
+
get isHidden(): boolean;
|
|
12
|
+
renderToolset(toolsetId: string, htmlNode: HTMLElement): () => void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=UI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UI.d.ts","sourceRoot":"","sources":["../../../../../studio/src/UI/UI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,wCAAwC,CAAA;AAQlE,MAAM,CAAC,OAAO,OAAO,EAAE;IAUT,QAAQ,CAAC,MAAM,EAAE,MAAM;IATnC,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,WAAW,CAEC;IACpB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAG5B;gBAEoB,MAAM,EAAE,MAAM;IAEnC,MAAM;IAgBN,IAAI;IAMJ,OAAO;IAOP,IAAI,QAAQ,YAIX;IAED,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW;CAuBvD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default class UINonSSRBits {
|
|
2
|
+
readonly containerEl: HTMLDivElement;
|
|
3
|
+
private _renderTimeout;
|
|
4
|
+
private _documentBodyUIIsRenderedIn;
|
|
5
|
+
readonly containerShadow: ShadowRoot & HTMLElement;
|
|
6
|
+
constructor();
|
|
7
|
+
render(): void;
|
|
8
|
+
renderToolset(toolsetId: string, htmlNode: HTMLElement): () => void;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=UINonSSRBits.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UINonSSRBits.d.ts","sourceRoot":"","sources":["../../../../../studio/src/UI/UINonSSRBits.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,QAAQ,CAAC,WAAW,iBAAgC;IACpD,OAAO,CAAC,cAAc,CAAsC;IAC5D,OAAO,CAAC,2BAA2B,CAAqC;IACxE,QAAQ,CAAC,eAAe,EAAE,UAAU,GAAG,WAAW,CAAA;;IAmClD,MAAM;IAgBN,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW;CAWvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PanelsRoot.d.ts","sourceRoot":"","sources":["../../../../../studio/src/UIRoot/PanelsRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,GAmBvB,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/** See {@link PointerCapturing} */
|
|
3
|
+
export type CapturedPointer = {
|
|
4
|
+
release(): void;
|
|
5
|
+
/** Double check that you still have the current capture and weren't forcibly released */
|
|
6
|
+
isCapturing(): boolean;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Introduced `PointerCapturing` for addressing issues with over-shooting easing curves closing the popup preset modal.
|
|
10
|
+
*
|
|
11
|
+
* Goal is to be able to determine if the pointer is being captured somewhere in studio (e.g. dragging).
|
|
12
|
+
*
|
|
13
|
+
* Some other ideas we considered before going with the PointerCapturing provider and context
|
|
14
|
+
* - provider: `onPointerCaptureChanged`
|
|
15
|
+
* - `onDragging={isMouseActive = true}` / `onMouseActive={isMouseActive = true}`
|
|
16
|
+
* - dragging tracked application wide (ephemeral state) in popover
|
|
17
|
+
*
|
|
18
|
+
* Caveats: I wonder if there's a shared abstraction we should use for "releasing" e.g. unsubscribe / untap in rxjs / tapable patterns.
|
|
19
|
+
*/
|
|
20
|
+
export type PointerCapturing = {
|
|
21
|
+
isPointerBeingCaptured(): boolean;
|
|
22
|
+
capturePointer(debugReason: string): CapturedPointer;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* See {@link PointerCapturing}.
|
|
26
|
+
*
|
|
27
|
+
* This should likely live towards the root of the application.
|
|
28
|
+
*
|
|
29
|
+
* Uncertain about whether nesting pointer capturing providers should be cognizant of each other.
|
|
30
|
+
*/
|
|
31
|
+
export declare function ProvidePointerCapturing(props: {
|
|
32
|
+
children?: React.ReactNode;
|
|
33
|
+
}): React.ReactElement;
|
|
34
|
+
/**
|
|
35
|
+
* Used to ensure we're locking drag and pointer events to a single place in the UI logic.
|
|
36
|
+
* Without this, we can much more easily accidentally create multiple drag handlers on
|
|
37
|
+
* child / parent dom elements which both `useDrag`, for example.
|
|
38
|
+
*
|
|
39
|
+
* An example of this helping us was when we first started building the Curve editor popover.
|
|
40
|
+
* In that activity, we were experiencing a weird issue where the popover would unmount while
|
|
41
|
+
* dragging away from the popover, and the drag end listener would not be called.
|
|
42
|
+
* By having "Pointer Capturing" we're able to identify that the pointer was not being properly
|
|
43
|
+
* released, because there would be a lock contention when trying to drag something else.
|
|
44
|
+
*/
|
|
45
|
+
export declare function usePointerCapturing(forDebugName: string): PointerCapturing;
|
|
46
|
+
//# sourceMappingURL=PointerCapturing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PointerCapturing.d.ts","sourceRoot":"","sources":["../../../../../studio/src/UIRoot/PointerCapturing.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAA;AAI3D,mCAAmC;AACnC,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,IAAI,IAAI,CAAA;IACf,yFAAyF;IACzF,WAAW,IAAI,OAAO,CAAA;CACvB,CAAA;AAED;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,sBAAsB,IAAI,OAAO,CAAA;IACjC,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,CAAA;CACrD,CAAA;AAgFD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,GAAG,KAAK,CAAC,YAAY,CAWrB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,GAAG,gBAAgB,CAc1E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProvideTheme.d.ts","sourceRoot":"","sources":["../../../../../studio/src/UIRoot/ProvideTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAC,CAExD,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UIRoot.d.ts","sourceRoot":"","sources":["../../../../../studio/src/UIRoot/UIRoot.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAkB,MAAM,OAAO,CAAA;AA6CtC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE;IACpC,eAAe,EAAE,UAAU,GAAG,WAAW,CAAA;CAC1C,4BAkEA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Prism } from '@tomorrowevening/theatre-dataverse';
|
|
2
|
+
import type Sequence from '@tomorrowevening/theatre-core/sequences/Sequence';
|
|
3
|
+
export declare function __experimental_disblePlayPauseKeyboardShortcut(): void;
|
|
4
|
+
export declare function __experimental_enablePlayPauseKeyboardShortcut(): void;
|
|
5
|
+
export default function useKeyboardShortcuts(): void;
|
|
6
|
+
export declare const getIsPlayheadAttachedToFocusRange: (k: Sequence) => Prism<boolean>;
|
|
7
|
+
//# sourceMappingURL=useKeyboardShortcuts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKeyboardShortcuts.d.ts","sourceRoot":"","sources":["../../../../../studio/src/UIRoot/useKeyboardShortcuts.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,oCAAoC,CAAA;AAG7D,OAAO,KAAK,QAAQ,MAAM,kDAAkD,CAAA;AAI5E,wBAAgB,8CAA8C,SAE7D;AAED,wBAAgB,8CAA8C,SAE7D;AAED,MAAM,CAAC,OAAO,UAAU,oBAAoB,SA6I3C;AAmBD,eAAO,MAAM,iCAAiC,iCAuB7C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkForUpdates.d.ts","sourceRoot":"","sources":["../../../../studio/src/checkForUpdates.ts"],"names":[],"mappings":"AA6BA,wBAA8B,eAAe,kBA0D5C"}
|
package/dist/css.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* This CSS string is used to correctly set pointer-events on an element
|
|
4
|
+
* when the pointer is dragging something.
|
|
5
|
+
* Naming explanation: "NormalMode" as opposed to dragging mode.
|
|
6
|
+
*
|
|
7
|
+
* @see PointerEventsHandler - the place that sets `.normal` on #pointer-root
|
|
8
|
+
*/
|
|
9
|
+
export declare const pointerEventsAutoInNormalMode: import("styled-components").FlattenSimpleInterpolation;
|
|
10
|
+
export declare const theme: {
|
|
11
|
+
panel: {
|
|
12
|
+
bg: string;
|
|
13
|
+
head: {
|
|
14
|
+
title: {
|
|
15
|
+
color: string;
|
|
16
|
+
};
|
|
17
|
+
punctuation: {
|
|
18
|
+
color: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
body: {
|
|
22
|
+
compoudThing: {
|
|
23
|
+
label: {
|
|
24
|
+
readonly color: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const panelUtils: {
|
|
31
|
+
panelBorder: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const PortalLayer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
34
|
+
export declare const ProvideStyles: React.FC<{
|
|
35
|
+
target: undefined | HTMLElement;
|
|
36
|
+
children: React.ReactNode;
|
|
37
|
+
}>;
|
|
38
|
+
export declare function withStyledShadow<Props extends {}>(Comp: React.ComponentType<Props>): React.ComponentType<Props>;
|
|
39
|
+
//# sourceMappingURL=css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../../../studio/src/css.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAkC,MAAM,OAAO,CAAA;AAMtD;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B,wDAOzC,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;CAqBjB,CAAA;AAED,eAAO,MAAM,UAAU;;CAEtB,CAAA;AAuBD,eAAO,MAAM,WAAW,oEAQvB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IACnC,MAAM,EAAE,SAAS,GAAG,WAAW,CAAA;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,CASA,CAAA;AAED,wBAAgB,gBAAgB,CAAC,KAAK,SAAS,EAAE,EAC/C,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,GAC/B,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAM5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStudio.d.ts","sourceRoot":"","sources":["../../../../studio/src/getStudio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAIpC,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,QAElC;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,SAAS,IAAI,MAAM,CAE1C"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { IStudio } from '@tomorrowevening/theatre-studio/TheatreStudio';
|
|
2
|
-
export { IExtension, IStudio, IStudioUI, PaneClassDefinition, PaneInstance, ToolConfig, ToolConfigIcon, ToolConfigSwitch, ToolsetConfig, _StudioInitializeOpts } from '@tomorrowevening/theatre-studio/TheatreStudio';
|
|
3
|
-
export { default as ToolbarDropdownSelect } from './uiComponents/toolbar/ToolbarDropdownSelect';
|
|
4
|
-
export { IScrub } from '@tomorrowevening/theatre-studio/Scrub';
|
|
5
|
-
|
|
6
1
|
/**
|
|
7
2
|
* The library providing the editor components of Theatre.js.
|
|
8
3
|
*
|
|
9
4
|
* @packageDocumentation
|
|
10
5
|
*/
|
|
11
|
-
|
|
6
|
+
import type { IStudio } from '@tomorrowevening/theatre-studio/TheatreStudio';
|
|
12
7
|
/**
|
|
13
8
|
* The main instance of Studio. Read more at {@link IStudio}
|
|
14
9
|
*/
|
|
15
10
|
declare const studio: IStudio;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export {
|
|
11
|
+
export default studio;
|
|
12
|
+
export { default as ToolbarDropdownSelect } from './uiComponents/toolbar/ToolbarDropdownSelect';
|
|
13
|
+
export type { IScrub } from '@tomorrowevening/theatre-studio/Scrub';
|
|
14
|
+
export type { IStudio, IExtension, PaneInstance, PaneClassDefinition, IStudioUI, _StudioInitializeOpts, ToolsetConfig, ToolConfig, ToolConfigIcon, ToolConfigSwitch, } from '@tomorrowevening/theatre-studio/TheatreStudio';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../studio/src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,+CAA+C,CAAA;AAK1E;;GAEG;AACH,QAAA,MAAM,MAAM,EAAE,OAAoC,CAAA;AAElD,eAAe,MAAM,CAAA;AAkDrB,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,8CAA8C,CAAA;AAW7F,YAAY,EAAC,MAAM,EAAC,MAAM,uCAAuC,CAAA;AACjE,YAAY,EACV,OAAO,EACP,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,SAAS,EACT,qBAAqB,EACrB,aAAa,EACb,UAAU,EACV,cAAc,EACd,gBAAgB,GACjB,MAAM,+CAA+C,CAAA"}
|