@pixerate/editor-react 0.89.0 → 0.90.1
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/animation-editor/AnimationEditor.d.cts +33 -0
- package/dist/animation-editor/AnimationEditor.d.ts +33 -0
- package/dist/animation-editor/AnimationEffectsPanel.d.cts +14 -0
- package/dist/animation-editor/AnimationEffectsPanel.d.ts +14 -0
- package/dist/animation-editor/AnimationStage.d.cts +24 -0
- package/dist/animation-editor/AnimationStage.d.ts +24 -0
- package/dist/animation-editor/CommandInspector.d.cts +14 -0
- package/dist/animation-editor/CommandInspector.d.ts +14 -0
- package/dist/animation-editor/CommandList.d.cts +16 -0
- package/dist/animation-editor/CommandList.d.ts +16 -0
- package/dist/animation-editor/CommitInput.d.cts +6 -0
- package/dist/animation-editor/CommitInput.d.ts +6 -0
- package/dist/animation-editor/EasePicker.d.cts +18 -0
- package/dist/animation-editor/EasePicker.d.ts +18 -0
- package/dist/animation-editor/PlayheadScrubber.d.cts +12 -0
- package/dist/animation-editor/PlayheadScrubber.d.ts +12 -0
- package/dist/animation-editor/SceneSettings.d.cts +12 -0
- package/dist/animation-editor/SceneSettings.d.ts +12 -0
- package/dist/animation-editor/ShotInspector.d.cts +14 -0
- package/dist/animation-editor/ShotInspector.d.ts +14 -0
- package/dist/animation-editor/ShotTimeline.d.cts +11 -0
- package/dist/animation-editor/ShotTimeline.d.ts +11 -0
- package/dist/animation-editor/index.cjs +0 -1
- package/dist/animation-editor/index.d.cts +11 -195
- package/dist/animation-editor/index.d.ts +11 -195
- package/dist/animation-editor/index.js +2 -3
- package/dist/animation-editor/useAnimationEditor.d.cts +34 -0
- package/dist/animation-editor/useAnimationEditor.d.ts +34 -0
- package/dist/canvas/AgentPresenceLayer.d.cts +11 -0
- package/dist/canvas/AgentPresenceLayer.d.ts +11 -0
- package/dist/canvas/AnimationTimeline.d.cts +22 -0
- package/dist/canvas/AnimationTimeline.d.ts +22 -0
- package/dist/canvas/CanvasComponentsPanel.d.cts +44 -0
- package/dist/canvas/CanvasComponentsPanel.d.ts +44 -0
- package/dist/canvas/CanvasDrawLayer.d.cts +23 -0
- package/dist/canvas/CanvasDrawLayer.d.ts +23 -0
- package/dist/canvas/CanvasEffects.d.cts +52 -0
- package/dist/canvas/CanvasEffects.d.ts +52 -0
- package/dist/canvas/CanvasGuidesLayer.d.cts +20 -0
- package/dist/canvas/CanvasGuidesLayer.d.ts +20 -0
- package/dist/canvas/DiagramPresenceLayer.d.cts +14 -0
- package/dist/canvas/DiagramPresenceLayer.d.ts +14 -0
- package/dist/canvas/MermaidDiagramNode.d.cts +37 -0
- package/dist/canvas/MermaidDiagramNode.d.ts +37 -0
- package/dist/canvas/MermaidFamilyScene.d.cts +29 -0
- package/dist/canvas/MermaidFamilyScene.d.ts +29 -0
- package/dist/canvas/MermaidThumbnail.d.cts +15 -0
- package/dist/canvas/MermaidThumbnail.d.ts +15 -0
- package/dist/canvas/ShapeNode.d.cts +31 -0
- package/dist/canvas/ShapeNode.d.ts +31 -0
- package/dist/canvas/TokenBindingPicker.d.cts +37 -0
- package/dist/canvas/TokenBindingPicker.d.ts +37 -0
- package/dist/canvas/index.cjs +0 -1
- package/dist/canvas/index.d.cts +40 -1084
- package/dist/canvas/index.d.ts +40 -1084
- package/dist/canvas/index.js +2 -3
- package/dist/canvas/useCanvasAnimation.d.cts +97 -0
- package/dist/canvas/useCanvasAnimation.d.ts +97 -0
- package/dist/canvas/useCanvasArrange.d.cts +80 -0
- package/dist/canvas/useCanvasArrange.d.ts +80 -0
- package/dist/canvas/useCanvasAutoLayout.d.cts +54 -0
- package/dist/canvas/useCanvasAutoLayout.d.ts +54 -0
- package/dist/canvas/useCanvasCapture.d.cts +20 -0
- package/dist/canvas/useCanvasCapture.d.ts +20 -0
- package/dist/canvas/useCanvasClipboard.d.cts +14 -0
- package/dist/canvas/useCanvasClipboard.d.ts +14 -0
- package/dist/canvas/useCanvasComponents.d.cts +74 -0
- package/dist/canvas/useCanvasComponents.d.ts +74 -0
- package/dist/canvas/useCanvasDocking.d.cts +15 -0
- package/dist/canvas/useCanvasDocking.d.ts +15 -0
- package/dist/canvas/useCanvasDraw.d.cts +37 -0
- package/dist/canvas/useCanvasDraw.d.ts +37 -0
- package/dist/canvas/useCanvasExplosion.d.cts +16 -0
- package/dist/canvas/useCanvasExplosion.d.ts +16 -0
- package/dist/canvas/useCanvasGraph.d.cts +27 -0
- package/dist/canvas/useCanvasGraph.d.ts +27 -0
- package/dist/canvas/useCanvasLayout.d.cts +25 -0
- package/dist/canvas/useCanvasLayout.d.ts +25 -0
- package/dist/canvas/useCanvasMeasure.d.cts +41 -0
- package/dist/canvas/useCanvasMeasure.d.ts +41 -0
- package/dist/canvas/useCanvasScenes.d.cts +61 -0
- package/dist/canvas/useCanvasScenes.d.ts +61 -0
- package/dist/canvas/useCanvasShortcuts.d.cts +22 -0
- package/dist/canvas/useCanvasShortcuts.d.ts +22 -0
- package/dist/canvas/useCanvasTokens.d.cts +24 -0
- package/dist/canvas/useCanvasTokens.d.ts +24 -0
- package/dist/canvas/useDiagramDirector.d.cts +21 -0
- package/dist/canvas/useDiagramDirector.d.ts +21 -0
- package/dist/canvas/useMermaidDiagram.d.cts +79 -0
- package/dist/canvas/useMermaidDiagram.d.ts +79 -0
- package/dist/canvas/useShapeBrushstroke.d.cts +37 -0
- package/dist/canvas/useShapeBrushstroke.d.ts +37 -0
- package/dist/canvas/useStreamingCanvas.d.cts +17 -0
- package/dist/canvas/useStreamingCanvas.d.ts +17 -0
- package/dist/chart/ChartCanvas.d.cts +44 -0
- package/dist/chart/ChartCanvas.d.ts +44 -0
- package/dist/chart/ChartDataGrid.d.cts +24 -0
- package/dist/chart/ChartDataGrid.d.ts +24 -0
- package/dist/chart/ChartEditor.d.cts +20 -0
- package/dist/chart/ChartEditor.d.ts +20 -0
- package/dist/chart/ChartInspector.d.cts +14 -0
- package/dist/chart/ChartInspector.d.ts +14 -0
- package/dist/chart/ChartStreamingView.d.cts +40 -0
- package/dist/chart/ChartStreamingView.d.ts +40 -0
- package/dist/chart/index.cjs +0 -1
- package/dist/chart/index.d.cts +7 -212
- package/dist/chart/index.d.ts +7 -212
- package/dist/chart/index.js +1 -2
- package/dist/chart/styles.d.cts +7 -0
- package/dist/chart/styles.d.ts +7 -0
- package/dist/chart/useChartEditor.d.cts +64 -0
- package/dist/chart/useChartEditor.d.ts +64 -0
- package/dist/chart-node/ChartNodeView.d.cts +27 -0
- package/dist/chart-node/ChartNodeView.d.ts +27 -0
- package/dist/chart-node/index.d.cts +1 -0
- package/dist/chart-node/index.d.ts +1 -0
- package/dist/{chunk-WOQ3H7KA.js → chunk-5R67YSSD.js} +1 -2
- package/dist/{chunk-SIEOYRHX.js → chunk-AILJ4JOW.js} +0 -1
- package/dist/{chunk-MO354USR.js → chunk-AJCWF6SN.js} +0 -1
- package/dist/{chunk-I3E4KSA2.js → chunk-FLS7Q32M.js} +0 -1
- package/dist/{chunk-34HEZX7J.js → chunk-GML6BYCN.js} +0 -1
- package/dist/{chunk-XWFU2CSG.js → chunk-NNM633RN.js} +0 -1
- package/dist/{chunk-ZQZAKUUM.js → chunk-OTGJEYHV.js} +0 -1
- package/dist/{chunk-4ZC2WCUO.js → chunk-SMLHUEEQ.js} +0 -1
- package/dist/{chunk-4FQXRPBN.js → chunk-SMMO7CZB.js} +2 -3
- package/dist/commands/CommandPalette.d.cts +16 -0
- package/dist/commands/CommandPalette.d.ts +16 -0
- package/dist/commands/index.cjs +0 -1
- package/dist/commands/index.d.cts +3 -69
- package/dist/commands/index.d.ts +3 -69
- package/dist/commands/index.js +1 -2
- package/dist/commands/useCommandPalette.d.cts +24 -0
- package/dist/commands/useCommandPalette.d.ts +24 -0
- package/dist/commands/useCommandShortcuts.d.cts +26 -0
- package/dist/commands/useCommandShortcuts.d.ts +26 -0
- package/dist/components/BubbleMenu.d.cts +13 -0
- package/dist/components/BubbleMenu.d.ts +13 -0
- package/dist/components/EditorContent.d.cts +6 -0
- package/dist/components/EditorContent.d.ts +6 -0
- package/dist/components/ExportDocxButton.d.cts +12 -0
- package/dist/components/ExportDocxButton.d.ts +12 -0
- package/dist/components/MergePreview.d.cts +28 -0
- package/dist/components/MergePreview.d.ts +28 -0
- package/dist/components/OutlinePanel.d.cts +28 -0
- package/dist/components/OutlinePanel.d.ts +28 -0
- package/dist/components/StylesGallery.d.cts +31 -0
- package/dist/components/StylesGallery.d.ts +31 -0
- package/dist/components/TemplateRenderer.d.cts +26 -0
- package/dist/components/TemplateRenderer.d.ts +26 -0
- package/dist/components/VariableForm.d.cts +27 -0
- package/dist/components/VariableForm.d.ts +27 -0
- package/dist/effects/EffectParameters.d.cts +28 -0
- package/dist/effects/EffectParameters.d.ts +28 -0
- package/dist/effects/EffectThumbnail.d.cts +15 -0
- package/dist/effects/EffectThumbnail.d.ts +15 -0
- package/dist/effects/EffectsBrowser.d.cts +22 -0
- package/dist/effects/EffectsBrowser.d.ts +22 -0
- package/dist/effects/index.cjs +0 -1
- package/dist/effects/index.d.cts +4 -82
- package/dist/effects/index.d.ts +4 -82
- package/dist/effects/index.js +2 -3
- package/dist/effects/useEffects.d.cts +16 -0
- package/dist/effects/useEffects.d.ts +16 -0
- package/dist/find-replace/FindReplaceBar.d.cts +19 -0
- package/dist/find-replace/FindReplaceBar.d.ts +19 -0
- package/dist/find-replace/index.d.cts +2 -0
- package/dist/find-replace/index.d.ts +2 -0
- package/dist/find-replace/useFindReplace.d.cts +24 -0
- package/dist/find-replace/useFindReplace.d.ts +24 -0
- package/dist/generation/AssetMentionChips.d.cts +24 -0
- package/dist/generation/AssetMentionChips.d.ts +24 -0
- package/dist/generation/GenerationHistory.d.cts +43 -0
- package/dist/generation/GenerationHistory.d.ts +43 -0
- package/dist/generation/GenerationSettings.d.cts +26 -0
- package/dist/generation/GenerationSettings.d.ts +26 -0
- package/dist/generation/JobProgress.d.cts +14 -0
- package/dist/generation/JobProgress.d.ts +14 -0
- package/dist/generation/index.cjs +0 -1
- package/dist/generation/index.d.cts +5 -124
- package/dist/generation/index.d.ts +5 -124
- package/dist/generation/index.js +1 -2
- package/dist/generation/useGenerationPlan.d.cts +18 -0
- package/dist/generation/useGenerationPlan.d.ts +18 -0
- package/dist/hooks/useAgentToolProvider.d.cts +11 -0
- package/dist/hooks/useAgentToolProvider.d.ts +11 -0
- package/dist/hooks/useDismissGuard.d.cts +26 -0
- package/dist/hooks/useDismissGuard.d.ts +26 -0
- package/dist/hooks/useDocxExport.d.cts +14 -0
- package/dist/hooks/useDocxExport.d.ts +14 -0
- package/dist/hooks/useEditor.d.cts +20 -0
- package/dist/hooks/useEditor.d.ts +20 -0
- package/dist/hooks/useFileImport.d.cts +23 -0
- package/dist/hooks/useFileImport.d.ts +23 -0
- package/dist/hooks/useHistory.d.cts +27 -0
- package/dist/hooks/useHistory.d.ts +27 -0
- package/dist/hooks/useHistoryDirty.d.cts +27 -0
- package/dist/hooks/useHistoryDirty.d.ts +27 -0
- package/dist/hooks/useHistoryShortcuts.d.cts +21 -0
- package/dist/hooks/useHistoryShortcuts.d.ts +21 -0
- package/dist/hooks/useMergePreview.d.cts +49 -0
- package/dist/hooks/useMergePreview.d.ts +49 -0
- package/dist/hooks/useNavigationGuard.d.cts +27 -0
- package/dist/hooks/useNavigationGuard.d.ts +27 -0
- package/dist/hooks/useOutline.d.cts +12 -0
- package/dist/hooks/useOutline.d.ts +12 -0
- package/dist/hooks/useParagraphStyles.d.cts +24 -0
- package/dist/hooks/useParagraphStyles.d.ts +24 -0
- package/dist/hooks/usePromptEditor.d.cts +57 -0
- package/dist/hooks/usePromptEditor.d.ts +57 -0
- package/dist/hooks/useToolBridge.d.cts +14 -0
- package/dist/hooks/useToolBridge.d.ts +14 -0
- package/dist/image-editor/AdjustmentLayersPanel.d.cts +13 -0
- package/dist/image-editor/AdjustmentLayersPanel.d.ts +13 -0
- package/dist/image-editor/BrushOptionsBar.d.cts +18 -0
- package/dist/image-editor/BrushOptionsBar.d.ts +18 -0
- package/dist/image-editor/ColorProfilePanel.d.cts +12 -0
- package/dist/image-editor/ColorProfilePanel.d.ts +12 -0
- package/dist/image-editor/ControlSlider.d.cts +12 -0
- package/dist/image-editor/ControlSlider.d.ts +12 -0
- package/dist/image-editor/CurvesEditor.d.cts +15 -0
- package/dist/image-editor/CurvesEditor.d.ts +15 -0
- package/dist/image-editor/FreeTransformOptionsBar.d.cts +14 -0
- package/dist/image-editor/FreeTransformOptionsBar.d.ts +14 -0
- package/dist/image-editor/Histogram.d.cts +14 -0
- package/dist/image-editor/Histogram.d.ts +14 -0
- package/dist/image-editor/ImageEditor.d.cts +22 -0
- package/dist/image-editor/ImageEditor.d.ts +22 -0
- package/dist/image-editor/ImageProviderEffectsPanel.d.cts +13 -0
- package/dist/image-editor/ImageProviderEffectsPanel.d.ts +13 -0
- package/dist/image-editor/LayerEffectsPanel.d.cts +14 -0
- package/dist/image-editor/LayerEffectsPanel.d.ts +14 -0
- package/dist/image-editor/LayersPanel.d.cts +22 -0
- package/dist/image-editor/LayersPanel.d.ts +22 -0
- package/dist/image-editor/PaintGradientEditor.d.cts +5 -0
- package/dist/image-editor/PaintGradientEditor.d.ts +5 -0
- package/dist/image-editor/RefineEdgePanel.d.cts +16 -0
- package/dist/image-editor/RefineEdgePanel.d.ts +16 -0
- package/dist/image-editor/SelectionOptionsBar.d.cts +18 -0
- package/dist/image-editor/SelectionOptionsBar.d.ts +18 -0
- package/dist/image-editor/ShapeOptionsBar.d.cts +14 -0
- package/dist/image-editor/ShapeOptionsBar.d.ts +14 -0
- package/dist/image-editor/TypeOptionsBar.d.cts +16 -0
- package/dist/image-editor/TypeOptionsBar.d.ts +16 -0
- package/dist/image-editor/index.cjs +0 -1
- package/dist/image-editor/index.d.cts +17 -296
- package/dist/image-editor/index.d.ts +17 -296
- package/dist/image-editor/index.js +4 -5
- package/dist/image-editor/useImageEditor.d.cts +70 -0
- package/dist/image-editor/useImageEditor.d.ts +70 -0
- package/dist/index.cjs +0 -1
- package/dist/index.d.cts +35 -802
- package/dist/index.d.ts +35 -802
- package/dist/index.js +9 -10
- package/dist/paint-editor/BrushPanel.d.cts +18 -0
- package/dist/paint-editor/BrushPanel.d.ts +18 -0
- package/dist/paint-editor/ColorPanel.d.cts +17 -0
- package/dist/paint-editor/ColorPanel.d.ts +17 -0
- package/dist/paint-editor/PaintCanvas.d.cts +40 -0
- package/dist/paint-editor/PaintCanvas.d.ts +40 -0
- package/dist/paint-editor/PaintEditor.d.cts +18 -0
- package/dist/paint-editor/PaintEditor.d.ts +18 -0
- package/dist/paint-editor/PaintEffectsPanel.d.cts +19 -0
- package/dist/paint-editor/PaintEffectsPanel.d.ts +19 -0
- package/dist/paint-editor/PaintGradientEditor.d.cts +5 -0
- package/dist/paint-editor/PaintGradientEditor.d.ts +5 -0
- package/dist/paint-editor/PaintGradientEditorView.d.cts +23 -0
- package/dist/paint-editor/PaintGradientEditorView.d.ts +23 -0
- package/dist/paint-editor/PaintLayersPanel.d.cts +12 -0
- package/dist/paint-editor/PaintLayersPanel.d.ts +12 -0
- package/dist/paint-editor/PaintToolbar.d.cts +17 -0
- package/dist/paint-editor/PaintToolbar.d.ts +17 -0
- package/dist/paint-editor/PaperPanel.d.cts +13 -0
- package/dist/paint-editor/PaperPanel.d.ts +13 -0
- package/dist/paint-editor/StickerPanel.d.cts +12 -0
- package/dist/paint-editor/StickerPanel.d.ts +12 -0
- package/dist/paint-editor/WetPanel.d.cts +14 -0
- package/dist/paint-editor/WetPanel.d.ts +14 -0
- package/dist/paint-editor/index.cjs +0 -1
- package/dist/paint-editor/index.d.cts +13 -211
- package/dist/paint-editor/index.d.ts +13 -211
- package/dist/paint-editor/index.js +3 -4
- package/dist/paint-editor/shared.d.cts +38 -0
- package/dist/paint-editor/shared.d.ts +38 -0
- package/dist/paint-editor/usePaintEditor.d.cts +22 -0
- package/dist/paint-editor/usePaintEditor.d.ts +22 -0
- package/dist/parameters/ParametersPanel.d.cts +27 -0
- package/dist/parameters/ParametersPanel.d.ts +27 -0
- package/dist/parameters/fields.d.cts +62 -0
- package/dist/parameters/fields.d.ts +62 -0
- package/dist/parameters/index.cjs +0 -1
- package/dist/parameters/index.d.cts +3 -121
- package/dist/parameters/index.d.ts +3 -121
- package/dist/parameters/index.js +1 -2
- package/dist/parameters/useParameters.d.cts +32 -0
- package/dist/parameters/useParameters.d.ts +32 -0
- package/dist/persistence/RecoveryPrompt.d.cts +20 -0
- package/dist/persistence/RecoveryPrompt.d.ts +20 -0
- package/dist/persistence/index.cjs +0 -1
- package/dist/persistence/index.d.cts +2 -77
- package/dist/persistence/index.d.ts +2 -77
- package/dist/persistence/index.js +1 -2
- package/dist/persistence/useAutosave.d.cts +54 -0
- package/dist/persistence/useAutosave.d.ts +54 -0
- package/dist/review/CommentButton.d.cts +12 -0
- package/dist/review/CommentButton.d.ts +12 -0
- package/dist/review/CommentsPanel.d.cts +21 -0
- package/dist/review/CommentsPanel.d.ts +21 -0
- package/dist/review/ReviewToolbar.d.cts +20 -0
- package/dist/review/ReviewToolbar.d.ts +20 -0
- package/dist/review/TrackedChangesList.d.cts +18 -0
- package/dist/review/TrackedChangesList.d.ts +18 -0
- package/dist/review/index.d.cts +6 -0
- package/dist/review/index.d.ts +6 -0
- package/dist/review/useDocumentCompare.d.cts +20 -0
- package/dist/review/useDocumentCompare.d.ts +20 -0
- package/dist/review/useReview.d.cts +32 -0
- package/dist/review/useReview.d.ts +32 -0
- package/dist/slots.d.cts +14 -0
- package/dist/slots.d.ts +14 -0
- package/dist/spreadsheet/FormulaHints.d.cts +24 -0
- package/dist/spreadsheet/FormulaHints.d.ts +24 -0
- package/dist/spreadsheet/NameManager.d.cts +14 -0
- package/dist/spreadsheet/NameManager.d.ts +14 -0
- package/dist/spreadsheet/SheetTabs.d.cts +13 -0
- package/dist/spreadsheet/SheetTabs.d.ts +13 -0
- package/dist/spreadsheet/SpreadsheetContextMenu.d.cts +14 -0
- package/dist/spreadsheet/SpreadsheetContextMenu.d.ts +14 -0
- package/dist/spreadsheet/SpreadsheetEditor.d.cts +24 -0
- package/dist/spreadsheet/SpreadsheetEditor.d.ts +24 -0
- package/dist/spreadsheet/SpreadsheetGroupRow.d.cts +19 -0
- package/dist/spreadsheet/SpreadsheetGroupRow.d.ts +19 -0
- package/dist/spreadsheet/SpreadsheetRulePanels.d.cts +18 -0
- package/dist/spreadsheet/SpreadsheetRulePanels.d.ts +18 -0
- package/dist/spreadsheet/SpreadsheetValidationDialog.d.cts +11 -0
- package/dist/spreadsheet/SpreadsheetValidationDialog.d.ts +11 -0
- package/dist/spreadsheet/index.cjs +0 -1
- package/dist/spreadsheet/index.d.cts +11 -309
- package/dist/spreadsheet/index.d.ts +11 -309
- package/dist/spreadsheet/index.js +1 -2
- package/dist/spreadsheet/useSpreadsheetEditor.d.cts +126 -0
- package/dist/spreadsheet/useSpreadsheetEditor.d.ts +126 -0
- package/dist/spreadsheet/useSpreadsheetTableInteractions.d.cts +30 -0
- package/dist/spreadsheet/useSpreadsheetTableInteractions.d.ts +30 -0
- package/dist/spreadsheet/useSpreadsheetViewport.d.cts +25 -0
- package/dist/spreadsheet/useSpreadsheetViewport.d.ts +25 -0
- package/dist/tables/InsertTableGrid.d.cts +25 -0
- package/dist/tables/InsertTableGrid.d.ts +25 -0
- package/dist/tables/TableBubbleMenu.d.cts +18 -0
- package/dist/tables/TableBubbleMenu.d.ts +18 -0
- package/dist/tables/TableToolbar.d.cts +23 -0
- package/dist/tables/TableToolbar.d.ts +23 -0
- package/dist/tables/index.d.cts +4 -0
- package/dist/tables/index.d.ts +4 -0
- package/dist/tables/useTableMenu.d.cts +17 -0
- package/dist/tables/useTableMenu.d.ts +17 -0
- package/dist/tokens/TokensPanel.d.cts +22 -0
- package/dist/tokens/TokensPanel.d.ts +22 -0
- package/dist/tokens/index.cjs +0 -1
- package/dist/tokens/index.d.cts +2 -54
- package/dist/tokens/index.d.ts +2 -54
- package/dist/tokens/index.js +0 -1
- package/dist/tokens/useTokens.d.cts +29 -0
- package/dist/tokens/useTokens.d.ts +29 -0
- package/dist/vector/VectorAppearancePanel.d.cts +14 -0
- package/dist/vector/VectorAppearancePanel.d.ts +14 -0
- package/dist/vector/VectorCanvas.d.cts +58 -0
- package/dist/vector/VectorCanvas.d.ts +58 -0
- package/dist/vector/VectorConnectorPanel.d.cts +12 -0
- package/dist/vector/VectorConnectorPanel.d.ts +12 -0
- package/dist/vector/VectorConstraintsPanel.d.cts +12 -0
- package/dist/vector/VectorConstraintsPanel.d.ts +12 -0
- package/dist/vector/VectorEditor.d.cts +23 -0
- package/dist/vector/VectorEditor.d.ts +23 -0
- package/dist/vector/VectorEffectsPanel.d.cts +13 -0
- package/dist/vector/VectorEffectsPanel.d.ts +13 -0
- package/dist/vector/VectorEnvelopePanel.d.cts +13 -0
- package/dist/vector/VectorEnvelopePanel.d.ts +13 -0
- package/dist/vector/VectorFramePanel.d.cts +12 -0
- package/dist/vector/VectorFramePanel.d.ts +12 -0
- package/dist/vector/VectorGeneratePanel.d.cts +15 -0
- package/dist/vector/VectorGeneratePanel.d.ts +15 -0
- package/dist/vector/VectorGradientEditor.d.cts +12 -0
- package/dist/vector/VectorGradientEditor.d.ts +12 -0
- package/dist/vector/VectorLensPanel.d.cts +12 -0
- package/dist/vector/VectorLensPanel.d.ts +12 -0
- package/dist/vector/VectorMaskPanel.d.cts +13 -0
- package/dist/vector/VectorMaskPanel.d.ts +13 -0
- package/dist/vector/VectorPagesPanel.d.cts +11 -0
- package/dist/vector/VectorPagesPanel.d.ts +11 -0
- package/dist/vector/VectorPerspectivePanel.d.cts +12 -0
- package/dist/vector/VectorPerspectivePanel.d.ts +12 -0
- package/dist/vector/VectorProviderEffectsPanel.d.cts +12 -0
- package/dist/vector/VectorProviderEffectsPanel.d.ts +12 -0
- package/dist/vector/VectorShadingPanel.d.cts +12 -0
- package/dist/vector/VectorShadingPanel.d.ts +12 -0
- package/dist/vector/VectorSymbolsPanel.d.cts +12 -0
- package/dist/vector/VectorSymbolsPanel.d.ts +12 -0
- package/dist/vector/VectorSymmetryPanel.d.cts +12 -0
- package/dist/vector/VectorSymmetryPanel.d.ts +12 -0
- package/dist/vector/VectorTextPanel.d.cts +14 -0
- package/dist/vector/VectorTextPanel.d.ts +14 -0
- package/dist/vector/VectorToolbar.d.cts +39 -0
- package/dist/vector/VectorToolbar.d.ts +39 -0
- package/dist/vector/VectorTracePanel.d.cts +12 -0
- package/dist/vector/VectorTracePanel.d.ts +12 -0
- package/dist/vector/VectorWidthPointEditor.d.cts +18 -0
- package/dist/vector/VectorWidthPointEditor.d.ts +18 -0
- package/dist/vector/index.cjs +14 -2
- package/dist/vector/index.d.cts +23 -384
- package/dist/vector/index.d.ts +23 -384
- package/dist/vector/index.js +17 -4
- package/dist/vector/useVectorEditor.d.cts +40 -0
- package/dist/vector/useVectorEditor.d.ts +40 -0
- package/dist/video-editor/ClipInspector.d.cts +14 -0
- package/dist/video-editor/ClipInspector.d.ts +14 -0
- package/dist/video-editor/MediaBin.d.cts +18 -0
- package/dist/video-editor/MediaBin.d.ts +18 -0
- package/dist/video-editor/TranscriptPanel.d.cts +17 -0
- package/dist/video-editor/TranscriptPanel.d.ts +17 -0
- package/dist/video-editor/VideoEditor.d.cts +41 -0
- package/dist/video-editor/VideoEditor.d.ts +41 -0
- package/dist/video-editor/VideoEffectsPanel.d.cts +13 -0
- package/dist/video-editor/VideoEffectsPanel.d.ts +13 -0
- package/dist/video-editor/VideoPreview.d.cts +17 -0
- package/dist/video-editor/VideoPreview.d.ts +17 -0
- package/dist/video-editor/VideoScopes.d.cts +17 -0
- package/dist/video-editor/VideoScopes.d.ts +17 -0
- package/dist/video-editor/VideoTimeline.d.cts +15 -0
- package/dist/video-editor/VideoTimeline.d.ts +15 -0
- package/dist/video-editor/VideoTransport.d.cts +14 -0
- package/dist/video-editor/VideoTransport.d.ts +14 -0
- package/dist/video-editor/index.cjs +0 -1
- package/dist/video-editor/index.d.cts +10 -203
- package/dist/video-editor/index.d.ts +10 -203
- package/dist/video-editor/index.js +2 -3
- package/dist/video-editor/useVideoEditor.d.cts +42 -0
- package/dist/video-editor/useVideoEditor.d.ts +42 -0
- package/package.json +124 -49
- package/dist/PaintGradientEditorView-CCPCY5Ib.d.cts +0 -14
- package/dist/PaintGradientEditorView-CCPCY5Ib.d.ts +0 -14
- package/dist/animation-editor/index.cjs.map +0 -1
- package/dist/animation-editor/index.js.map +0 -1
- package/dist/canvas/index.cjs.map +0 -1
- package/dist/canvas/index.js.map +0 -1
- package/dist/chart/index.cjs.map +0 -1
- package/dist/chart/index.js.map +0 -1
- package/dist/chunk-34HEZX7J.js.map +0 -1
- package/dist/chunk-4FQXRPBN.js.map +0 -1
- package/dist/chunk-4ZC2WCUO.js.map +0 -1
- package/dist/chunk-I3E4KSA2.js.map +0 -1
- package/dist/chunk-MO354USR.js.map +0 -1
- package/dist/chunk-SIEOYRHX.js.map +0 -1
- package/dist/chunk-WOQ3H7KA.js.map +0 -1
- package/dist/chunk-XWFU2CSG.js.map +0 -1
- package/dist/chunk-ZQZAKUUM.js.map +0 -1
- package/dist/commands/index.cjs.map +0 -1
- package/dist/commands/index.js.map +0 -1
- package/dist/effects/index.cjs.map +0 -1
- package/dist/effects/index.js.map +0 -1
- package/dist/generation/index.cjs.map +0 -1
- package/dist/generation/index.js.map +0 -1
- package/dist/image-editor/index.cjs.map +0 -1
- package/dist/image-editor/index.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/paint-editor/index.cjs.map +0 -1
- package/dist/paint-editor/index.js.map +0 -1
- package/dist/parameters/index.cjs.map +0 -1
- package/dist/parameters/index.js.map +0 -1
- package/dist/persistence/index.cjs.map +0 -1
- package/dist/persistence/index.js.map +0 -1
- package/dist/spreadsheet/index.cjs.map +0 -1
- package/dist/spreadsheet/index.js.map +0 -1
- package/dist/tokens/index.cjs.map +0 -1
- package/dist/tokens/index.js.map +0 -1
- package/dist/vector/index.cjs.map +0 -1
- package/dist/vector/index.js.map +0 -1
- package/dist/video-editor/index.cjs.map +0 -1
- package/dist/video-editor/index.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ChartDataGrid,
|
|
4
4
|
ChartInspector,
|
|
5
5
|
chartButtonClass
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AILJ4JOW.js";
|
|
7
7
|
import {
|
|
8
8
|
FormulaHints,
|
|
9
9
|
NameManager,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
useSpreadsheetClipboard,
|
|
19
19
|
useSpreadsheetEditor,
|
|
20
20
|
useSpreadsheetViewport
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GML6BYCN.js";
|
|
22
22
|
import {
|
|
23
23
|
AdjustmentLayersPanel,
|
|
24
24
|
BrushOptionsBar,
|
|
@@ -39,20 +39,20 @@ import {
|
|
|
39
39
|
useImageEditor,
|
|
40
40
|
useImageEffectsTools,
|
|
41
41
|
useImageHistogram
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-SMMO7CZB.js";
|
|
43
|
+
import "./chunk-AJCWF6SN.js";
|
|
44
|
+
import "./chunk-5R67YSSD.js";
|
|
45
|
+
import "./chunk-OTGJEYHV.js";
|
|
46
46
|
import {
|
|
47
47
|
CommandPalette,
|
|
48
48
|
useCommandPalette,
|
|
49
49
|
useCommandShortcuts,
|
|
50
50
|
useRegisterCommands
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-SMLHUEEQ.js";
|
|
52
52
|
import {
|
|
53
53
|
RecoveryPrompt,
|
|
54
54
|
useAutosave
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NNM633RN.js";
|
|
56
56
|
import {
|
|
57
57
|
AssetMentionChips,
|
|
58
58
|
GenerationHistory,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
useGenerationPlan,
|
|
62
62
|
useGenerationRecords,
|
|
63
63
|
useJobProgress
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-FLS7Q32M.js";
|
|
65
65
|
|
|
66
66
|
// src/hooks/usePromptEditor.ts
|
|
67
67
|
import { useMemo, useEffect, useRef } from "react";
|
|
@@ -2451,4 +2451,3 @@ export {
|
|
|
2451
2451
|
useTrackChanges,
|
|
2452
2452
|
withoutDirty
|
|
2453
2453
|
};
|
|
2454
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface BrushPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
/** Thumbnail size in px (default 112 × 32). */
|
|
6
|
+
thumbnailWidth?: number;
|
|
7
|
+
thumbnailHeight?: number;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The brush library (thumbnails rendered from a test stroke on the current paper, grouped by
|
|
12
|
+
* category) and the active brush's settings: size, opacity, flow, hardness, spacing, roundness,
|
|
13
|
+
* angle, paper grain, position and pressure smoothing, dynamics, rotation mode and blend mode;
|
|
14
|
+
* then the engine's own controls (`brushEngineControls`): blender strength and blend distance,
|
|
15
|
+
* smudge strength and length, pick-up and mix ratios, RGB / pigment mixing, dirty brush,
|
|
16
|
+
* the brush's own gradient paint (the multi-colour brush) and the brush load. Save the edited brush, import and export libraries as JSON.
|
|
17
|
+
*/
|
|
18
|
+
export declare const BrushPanel: React.FC<BrushPanelProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface BrushPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
/** Thumbnail size in px (default 112 × 32). */
|
|
6
|
+
thumbnailWidth?: number;
|
|
7
|
+
thumbnailHeight?: number;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The brush library (thumbnails rendered from a test stroke on the current paper, grouped by
|
|
12
|
+
* category) and the active brush's settings: size, opacity, flow, hardness, spacing, roundness,
|
|
13
|
+
* angle, paper grain, position and pressure smoothing, dynamics, rotation mode and blend mode;
|
|
14
|
+
* then the engine's own controls (`brushEngineControls`): blender strength and blend distance,
|
|
15
|
+
* smudge strength and length, pick-up and mix ratios, RGB / pigment mixing, dirty brush,
|
|
16
|
+
* the brush's own gradient paint (the multi-colour brush) and the brush load. Save the edited brush, import and export libraries as JSON.
|
|
17
|
+
*/
|
|
18
|
+
export declare const BrushPanel: React.FC<BrushPanelProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface ColorPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
/** Wheel diameter in px (default 168). */
|
|
6
|
+
wheelSize?: number;
|
|
7
|
+
/** Show the mixing pad (default true). */
|
|
8
|
+
mixingPad?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Colour: a hue wheel (painter's RYB or RGB) with the chosen harmony marked on it, saturation and
|
|
13
|
+
* value, the paint and second colours, harmony chips, swatches, and a mixing pad to paint on,
|
|
14
|
+
* smear with a palette knife (pigment mixing) and pick from (with a sample size), mix the paint
|
|
15
|
+
* and second colours in measured parts on, and keep by name.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ColorPanel: React.FC<ColorPanelProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface ColorPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
/** Wheel diameter in px (default 168). */
|
|
6
|
+
wheelSize?: number;
|
|
7
|
+
/** Show the mixing pad (default true). */
|
|
8
|
+
mixingPad?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Colour: a hue wheel (painter's RYB or RGB) with the chosen harmony marked on it, saturation and
|
|
13
|
+
* value, the paint and second colours, harmony chips, swatches, and a mixing pad to paint on,
|
|
14
|
+
* smear with a palette knife (pigment mixing) and pick from (with a sample size), mix the paint
|
|
15
|
+
* and second colours in measured parts on, and keep by name.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ColorPanel: React.FC<ColorPanelProps>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController, type PaintPresence, type PaintTool, type PaintView } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaintCanvasProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
/** The active tool (default brush). */
|
|
6
|
+
tool?: PaintTool;
|
|
7
|
+
/** Draw the symmetry axes and perspective lines (default true). */
|
|
8
|
+
showGuides?: boolean;
|
|
9
|
+
/** Fit the canvas in the viewport on mount (default true). */
|
|
10
|
+
fitOnMount?: boolean;
|
|
11
|
+
/** Called with a refusal (hidden or locked layer). */
|
|
12
|
+
onError?: (message: string | null) => void;
|
|
13
|
+
/** Agent cursors to draw over the canvas (see `PaintDirector` and `usePaintDirector`). */
|
|
14
|
+
presence?: PaintPresence;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The painting surface: a document-sized canvas the compositor draws into (only changed tiles are
|
|
19
|
+
* uploaded), shown through the view's zoom, pan, rotation and mirroring as a CSS transform (the
|
|
20
|
+
* pixels never resample). Pointer input goes through `PaintGesture`: coalesced samples, a predicted
|
|
21
|
+
* tail drawn as a thin preview, palm rejection, middle-button pan, wheel zoom and Shift+wheel
|
|
22
|
+
* rotation. Guides and floating reference images are drawn on top.
|
|
23
|
+
*/
|
|
24
|
+
export declare const PaintCanvas: React.FC<PaintCanvasProps>;
|
|
25
|
+
/**
|
|
26
|
+
* Agent cursors and notes over the canvas. Positions are document pixels, placed through the view
|
|
27
|
+
* (zoom, pan, rotation, mirroring), while the cursors themselves stay upright and unscaled.
|
|
28
|
+
*/
|
|
29
|
+
export declare const PaintPresenceLayer: React.FC<{
|
|
30
|
+
presence: PaintPresence;
|
|
31
|
+
view: PaintView;
|
|
32
|
+
canvas: {
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
};
|
|
36
|
+
viewport: {
|
|
37
|
+
width: number;
|
|
38
|
+
height: number;
|
|
39
|
+
};
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController, type PaintPresence, type PaintTool, type PaintView } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaintCanvasProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
/** The active tool (default brush). */
|
|
6
|
+
tool?: PaintTool;
|
|
7
|
+
/** Draw the symmetry axes and perspective lines (default true). */
|
|
8
|
+
showGuides?: boolean;
|
|
9
|
+
/** Fit the canvas in the viewport on mount (default true). */
|
|
10
|
+
fitOnMount?: boolean;
|
|
11
|
+
/** Called with a refusal (hidden or locked layer). */
|
|
12
|
+
onError?: (message: string | null) => void;
|
|
13
|
+
/** Agent cursors to draw over the canvas (see `PaintDirector` and `usePaintDirector`). */
|
|
14
|
+
presence?: PaintPresence;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The painting surface: a document-sized canvas the compositor draws into (only changed tiles are
|
|
19
|
+
* uploaded), shown through the view's zoom, pan, rotation and mirroring as a CSS transform (the
|
|
20
|
+
* pixels never resample). Pointer input goes through `PaintGesture`: coalesced samples, a predicted
|
|
21
|
+
* tail drawn as a thin preview, palm rejection, middle-button pan, wheel zoom and Shift+wheel
|
|
22
|
+
* rotation. Guides and floating reference images are drawn on top.
|
|
23
|
+
*/
|
|
24
|
+
export declare const PaintCanvas: React.FC<PaintCanvasProps>;
|
|
25
|
+
/**
|
|
26
|
+
* Agent cursors and notes over the canvas. Positions are document pixels, placed through the view
|
|
27
|
+
* (zoom, pan, rotation, mirroring), while the cursors themselves stay upright and unscaled.
|
|
28
|
+
*/
|
|
29
|
+
export declare const PaintPresenceLayer: React.FC<{
|
|
30
|
+
presence: PaintPresence;
|
|
31
|
+
view: PaintView;
|
|
32
|
+
canvas: {
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
};
|
|
36
|
+
viewport: {
|
|
37
|
+
width: number;
|
|
38
|
+
height: number;
|
|
39
|
+
};
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PaintEditorController, PaintPresence } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaintEditorProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
/** Base name of saved and exported files (default `painting`). */
|
|
6
|
+
fileName?: string;
|
|
7
|
+
/** Height of the editor (default 720 px). */
|
|
8
|
+
height?: number | string;
|
|
9
|
+
/** Agent cursors to draw over the canvas (see `usePaintDirector`). */
|
|
10
|
+
presence?: PaintPresence;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The paint editor: toolbar, brush library on the left, the canvas, and colour (wheel,
|
|
15
|
+
* harmonies, swatches, mixing pad), wet media, paper and layers on the right, and provider effects
|
|
16
|
+
* when an effects provider is registered.
|
|
17
|
+
*/
|
|
18
|
+
export declare const PaintEditor: React.FC<PaintEditorProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PaintEditorController, PaintPresence } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaintEditorProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
/** Base name of saved and exported files (default `painting`). */
|
|
6
|
+
fileName?: string;
|
|
7
|
+
/** Height of the editor (default 720 px). */
|
|
8
|
+
height?: number | string;
|
|
9
|
+
/** Agent cursors to draw over the canvas (see `usePaintDirector`). */
|
|
10
|
+
presence?: PaintPresence;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The paint editor: toolbar, brush library on the left, the canvas, and colour (wheel,
|
|
15
|
+
* harmonies, swatches, mixing pad), wet media, paper and layers on the right, and provider effects
|
|
16
|
+
* when an effects provider is registered.
|
|
17
|
+
*/
|
|
18
|
+
export declare const PaintEditor: React.FC<PaintEditorProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController, type PaintEffectsToolProviderOptions } from '@pixerate/editor/paint-editor';
|
|
3
|
+
import type { EffectProvider } from '@pixerate/editor/effects';
|
|
4
|
+
import type { ToolRegistry } from '@pixerate/editor/tools';
|
|
5
|
+
export interface PaintEffectsPanelProps {
|
|
6
|
+
controller: PaintEditorController;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/** The controller's effects provider, following `setEffectsProvider`. */
|
|
10
|
+
export declare function usePaintEffectsProvider(controller: PaintEditorController): EffectProvider | null;
|
|
11
|
+
/** Registers the paint effect tools (`set_paper_effect`, `add_effect_layer`, `apply_effect`, …) while mounted. */
|
|
12
|
+
export declare function usePaintEffectsTools(registry: ToolRegistry | null | undefined, controller: PaintEditorController, options?: PaintEffectsToolProviderOptions): void;
|
|
13
|
+
/**
|
|
14
|
+
* Provider effects in the paint editor: effect paper (a generator over the sheet, multiplied so
|
|
15
|
+
* the grain shows), effect layers, effect fills and light baked onto the active layer's dried
|
|
16
|
+
* paint; plus the controls of the effect paper and of an active effect layer. Each change is one
|
|
17
|
+
* undo step (a slider drag is one). Without a provider it says why nothing can be added.
|
|
18
|
+
*/
|
|
19
|
+
export declare const PaintEffectsPanel: React.FC<PaintEffectsPanelProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController, type PaintEffectsToolProviderOptions } from '@pixerate/editor/paint-editor';
|
|
3
|
+
import type { EffectProvider } from '@pixerate/editor/effects';
|
|
4
|
+
import type { ToolRegistry } from '@pixerate/editor/tools';
|
|
5
|
+
export interface PaintEffectsPanelProps {
|
|
6
|
+
controller: PaintEditorController;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/** The controller's effects provider, following `setEffectsProvider`. */
|
|
10
|
+
export declare function usePaintEffectsProvider(controller: PaintEditorController): EffectProvider | null;
|
|
11
|
+
/** Registers the paint effect tools (`set_paper_effect`, `add_effect_layer`, `apply_effect`, …) while mounted. */
|
|
12
|
+
export declare function usePaintEffectsTools(registry: ToolRegistry | null | undefined, controller: PaintEditorController, options?: PaintEffectsToolProviderOptions): void;
|
|
13
|
+
/**
|
|
14
|
+
* Provider effects in the paint editor: effect paper (a generator over the sheet, multiplied so
|
|
15
|
+
* the grain shows), effect layers, effect fills and light baked onto the active layer's dried
|
|
16
|
+
* paint; plus the controls of the effect paper and of an active effect layer. Each change is one
|
|
17
|
+
* undo step (a slider drag is one). Without a provider it says why nothing can be added.
|
|
18
|
+
*/
|
|
19
|
+
export declare const PaintEffectsPanel: React.FC<PaintEffectsPanelProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintGradientEditorProps } from './PaintGradientEditorView.cjs';
|
|
3
|
+
export type { PaintGradientEditorProps } from './PaintGradientEditorView.cjs';
|
|
4
|
+
/** The gradient paint editor (see `PaintGradientEditorView`). */
|
|
5
|
+
export declare const PaintGradientEditor: React.FC<PaintGradientEditorProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintGradientEditorProps } from './PaintGradientEditorView.js';
|
|
3
|
+
export type { PaintGradientEditorProps } from './PaintGradientEditorView.js';
|
|
4
|
+
/** The gradient paint editor (see `PaintGradientEditorView`). */
|
|
5
|
+
export declare const PaintGradientEditor: React.FC<PaintGradientEditorProps>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PaintGradientKit, PaintGradientSource } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaintGradientEditorProps {
|
|
4
|
+
value: PaintGradientSource;
|
|
5
|
+
onChange: (paint: PaintGradientSource) => void;
|
|
6
|
+
/** What `paint` / `secondary` stops show as (the editor's two colours). */
|
|
7
|
+
colors: {
|
|
8
|
+
paint: string;
|
|
9
|
+
secondary: string;
|
|
10
|
+
};
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface PaintGradientEditorViewProps extends PaintGradientEditorProps {
|
|
14
|
+
/** The gradient helpers (`PAINT_GRADIENT_KIT`, from the editor's own entry). */
|
|
15
|
+
kit: PaintGradientKit;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Gradient paint editor (the vector editor's stop ramp, for paint): click the ramp to add a stop,
|
|
19
|
+
* pick a stop to edit its colour (or the paint / second colour), opacity, position and midpoint;
|
|
20
|
+
* the mixing space, what moves the stroke along it (distance with length and repeat, pressure,
|
|
21
|
+
* tilt, speed, direction, time, across the tip, random), softness, reverse, and starting presets.
|
|
22
|
+
*/
|
|
23
|
+
export declare const PaintGradientEditorView: React.FC<PaintGradientEditorViewProps>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PaintGradientKit, PaintGradientSource } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaintGradientEditorProps {
|
|
4
|
+
value: PaintGradientSource;
|
|
5
|
+
onChange: (paint: PaintGradientSource) => void;
|
|
6
|
+
/** What `paint` / `secondary` stops show as (the editor's two colours). */
|
|
7
|
+
colors: {
|
|
8
|
+
paint: string;
|
|
9
|
+
secondary: string;
|
|
10
|
+
};
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface PaintGradientEditorViewProps extends PaintGradientEditorProps {
|
|
14
|
+
/** The gradient helpers (`PAINT_GRADIENT_KIT`, from the editor's own entry). */
|
|
15
|
+
kit: PaintGradientKit;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Gradient paint editor (the vector editor's stop ramp, for paint): click the ramp to add a stop,
|
|
19
|
+
* pick a stop to edit its colour (or the paint / second colour), opacity, position and midpoint;
|
|
20
|
+
* the mixing space, what moves the stroke along it (distance with length and repeat, pressure,
|
|
21
|
+
* tilt, speed, direction, time, across the tip, random), softness, reverse, and starting presets.
|
|
22
|
+
*/
|
|
23
|
+
export declare const PaintGradientEditorView: React.FC<PaintGradientEditorViewProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaintLayersPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The layer stack, top first: visibility, names (double-click to rename), the active layer's
|
|
9
|
+
* opacity, blend mode and locks, and new layer / group, duplicate, move up / down, merge down and
|
|
10
|
+
* delete. Every change is one undo step.
|
|
11
|
+
*/
|
|
12
|
+
export declare const PaintLayersPanel: React.FC<PaintLayersPanelProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaintLayersPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The layer stack, top first: visibility, names (double-click to rename), the active layer's
|
|
9
|
+
* opacity, blend mode and locks, and new layer / group, duplicate, move up / down, merge down and
|
|
10
|
+
* delete. Every change is one undo step.
|
|
11
|
+
*/
|
|
12
|
+
export declare const PaintLayersPanel: React.FC<PaintLayersPanelProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController, type PaintTool } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaintToolbarProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
tool: PaintTool;
|
|
6
|
+
onToolChange: (tool: PaintTool) => void;
|
|
7
|
+
/** Base name of saved and exported files (default `painting`). */
|
|
8
|
+
fileName?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Tools (brush, eyedropper, pan, rotate view), undo / redo, view rotation, mirroring and reset,
|
|
13
|
+
* the symmetry and perspective guides, stencils (ruler, circle, mask), the tracing image and reference images, the drawing hand,
|
|
14
|
+
* and file actions: save / open JSON, export PNG, JPEG and PSD, a time-lapse (zipped frames, video
|
|
15
|
+
* project and ffmpeg command) and a PNG repainted from the strokes at twice the size.
|
|
16
|
+
*/
|
|
17
|
+
export declare const PaintToolbar: React.FC<PaintToolbarProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController, type PaintTool } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaintToolbarProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
tool: PaintTool;
|
|
6
|
+
onToolChange: (tool: PaintTool) => void;
|
|
7
|
+
/** Base name of saved and exported files (default `painting`). */
|
|
8
|
+
fileName?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Tools (brush, eyedropper, pan, rotate view), undo / redo, view rotation, mirroring and reset,
|
|
13
|
+
* the symmetry and perspective guides, stencils (ruler, circle, mask), the tracing image and reference images, the drawing hand,
|
|
14
|
+
* and file actions: save / open JSON, export PNG, JPEG and PSD, a time-lapse (zipped frames, video
|
|
15
|
+
* project and ffmpeg command) and a PNG repainted from the strokes at twice the size.
|
|
16
|
+
*/
|
|
17
|
+
export declare const PaintToolbar: React.FC<PaintToolbarProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaperPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The paper library by family (each a generated grain preview) and the current paper's colour,
|
|
9
|
+
* grain depth, scale, shading and contrast, the wet-media properties and metallic sheen (each
|
|
10
|
+
* change one undo step; sliders commit on release); then the light for thick paint and metallic
|
|
11
|
+
* paper (not an undo step) and Flatten relief for the active layer.
|
|
12
|
+
*/
|
|
13
|
+
export declare const PaperPanel: React.FC<PaperPanelProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface PaperPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The paper library by family (each a generated grain preview) and the current paper's colour,
|
|
9
|
+
* grain depth, scale, shading and contrast, the wet-media properties and metallic sheen (each
|
|
10
|
+
* change one undo step; sliders commit on release); then the light for thick paint and metallic
|
|
11
|
+
* paper (not an undo step) and Flatten relief for the active layer.
|
|
12
|
+
*/
|
|
13
|
+
export declare const PaperPanel: React.FC<PaperPanelProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface StickerPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The active layer's stickers: pick one to change its stamp, size, rotation, opacity and colour,
|
|
9
|
+
* bring it to the front or back, or delete it (each change one undo step). Shows nothing for a
|
|
10
|
+
* layer without stickers.
|
|
11
|
+
*/
|
|
12
|
+
export declare const StickerPanel: React.FC<StickerPanelProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface StickerPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The active layer's stickers: pick one to change its stamp, size, rotation, opacity and colour,
|
|
9
|
+
* bring it to the front or back, or delete it (each change one undo step). Shows nothing for a
|
|
10
|
+
* layer without stickers.
|
|
11
|
+
*/
|
|
12
|
+
export declare const StickerPanel: React.FC<StickerPanelProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface WetPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Wet media: whether paint is wet, Dry now, Pause / Resume, the water overlay and speed; Wet paper
|
|
9
|
+
* on the active layer; canvas tilt; the active layer's wet settings (viscosity, evaporation, edge
|
|
10
|
+
* darkening, granulation, blooms, bleed, pigment weight, lifting, staining) and flow map; and the
|
|
11
|
+
* kernel in use, with a note when it runs slower than it could (no cross-origin isolation); and
|
|
12
|
+
* Engine B, the WebGPU accelerator for large washes, with a switch to force the CPU.
|
|
13
|
+
*/
|
|
14
|
+
export declare const WetPanel: React.FC<WetPanelProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface WetPanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Wet media: whether paint is wet, Dry now, Pause / Resume, the water overlay and speed; Wet paper
|
|
9
|
+
* on the active layer; canvas tilt; the active layer's wet settings (viscosity, evaporation, edge
|
|
10
|
+
* darkening, granulation, blooms, bleed, pigment weight, lifting, staining) and flow map; and the
|
|
11
|
+
* kernel in use, with a note when it runs slower than it could (no cross-origin isolation); and
|
|
12
|
+
* Engine B, the WebGPU accelerator for large washes, with a switch to force the CPU.
|
|
13
|
+
*/
|
|
14
|
+
export declare const WetPanel: React.FC<WetPanelProps>;
|