@pixerate/editor-react 0.76.0 → 0.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/PaintGradientEditorView-CCPCY5Ib.d.cts +14 -0
  2. package/dist/PaintGradientEditorView-CCPCY5Ib.d.ts +14 -0
  3. package/dist/canvas/index.cjs +662 -561
  4. package/dist/canvas/index.cjs.map +1 -1
  5. package/dist/canvas/index.d.cts +36 -5
  6. package/dist/canvas/index.d.ts +36 -5
  7. package/dist/canvas/index.js +232 -129
  8. package/dist/canvas/index.js.map +1 -1
  9. package/dist/{chunk-LWMUV5TC.js → chunk-2EW42UXC.js} +639 -461
  10. package/dist/chunk-2EW42UXC.js.map +1 -0
  11. package/dist/chunk-FX3EREF5.js +206 -0
  12. package/dist/chunk-FX3EREF5.js.map +1 -0
  13. package/dist/chunk-MO354USR.js +126 -0
  14. package/dist/chunk-MO354USR.js.map +1 -0
  15. package/dist/chunk-ZQZAKUUM.js +416 -0
  16. package/dist/chunk-ZQZAKUUM.js.map +1 -0
  17. package/dist/effects/index.cjs +606 -0
  18. package/dist/effects/index.cjs.map +1 -0
  19. package/dist/effects/index.d.cts +80 -0
  20. package/dist/effects/index.d.ts +80 -0
  21. package/dist/effects/index.js +16 -0
  22. package/dist/effects/index.js.map +1 -0
  23. package/dist/image-editor/index.cjs +1388 -534
  24. package/dist/image-editor/index.cjs.map +1 -1
  25. package/dist/image-editor/index.d.cts +36 -3
  26. package/dist/image-editor/index.d.ts +36 -3
  27. package/dist/image-editor/index.js +10 -1
  28. package/dist/index.cjs +1806 -952
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.cts +4 -1
  31. package/dist/index.d.ts +4 -1
  32. package/dist/index.js +10 -1
  33. package/dist/index.js.map +1 -1
  34. package/dist/paint-editor/index.cjs +438 -289
  35. package/dist/paint-editor/index.cjs.map +1 -1
  36. package/dist/paint-editor/index.d.cts +8 -3
  37. package/dist/paint-editor/index.d.ts +8 -3
  38. package/dist/paint-editor/index.js +215 -187
  39. package/dist/paint-editor/index.js.map +1 -1
  40. package/dist/parameters/index.js +55 -439
  41. package/dist/parameters/index.js.map +1 -1
  42. package/dist/video-editor/index.cjs +732 -17
  43. package/dist/video-editor/index.cjs.map +1 -1
  44. package/dist/video-editor/index.d.cts +31 -3
  45. package/dist/video-editor/index.d.ts +31 -3
  46. package/dist/video-editor/index.js +184 -17
  47. package/dist/video-editor/index.js.map +1 -1
  48. package/package.json +8 -3
  49. package/dist/chunk-LWMUV5TC.js.map +0 -1
@@ -1,5 +1,6 @@
1
1
  import { PaintEditorController, PaintEditorState, PaintDirectorOptions, PaintPresence, PaintDirector, PaintEditorOptions, PaintTool, PaintView, SliderControl } from '@pixerate/editor/paint-editor';
2
2
  import React__default from 'react';
3
+ import { P as PaintGradientEditorProps } from '../PaintGradientEditorView-CCPCY5Ib.cjs';
3
4
 
4
5
  interface UsePaintEditorReturn {
5
6
  controller: PaintEditorController;
@@ -91,7 +92,7 @@ interface BrushPanelProps {
91
92
  * angle, paper grain, position and pressure smoothing, dynamics, rotation mode and blend mode;
92
93
  * then the engine's own controls (`brushEngineControls`): blender strength and blend distance,
93
94
  * smudge strength and length, pick-up and mix ratios, RGB / pigment mixing, dirty brush,
94
- * multi-colour and the brush load. Save the edited brush, import and export libraries as JSON.
95
+ * the brush's own gradient paint (the multi-colour brush) and the brush load. Save the edited brush, import and export libraries as JSON.
95
96
  */
96
97
  declare const BrushPanel: React__default.FC<BrushPanelProps>;
97
98
 
@@ -142,7 +143,8 @@ interface WetPanelProps {
142
143
  * Wet media: whether paint is wet, Dry now, Pause / Resume, the water overlay and speed; Wet paper
143
144
  * on the active layer; canvas tilt; the active layer's wet settings (viscosity, evaporation, edge
144
145
  * darkening, granulation, blooms, bleed, pigment weight, lifting, staining) and flow map; and the
145
- * kernel in use, with a note when it runs slower than it could (no cross-origin isolation).
146
+ * kernel in use, with a note when it runs slower than it could (no cross-origin isolation); and
147
+ * Engine B, the WebGPU accelerator for large washes, with a switch to force the CPU.
146
148
  */
147
149
  declare const WetPanel: React__default.FC<WetPanelProps>;
148
150
 
@@ -184,4 +186,7 @@ declare const PaintSlider: React__default.FC<{
184
186
  onCommit?: (v: number) => void;
185
187
  }>;
186
188
 
187
- export { BrushPanel, type BrushPanelProps, ColorPanel, type ColorPanelProps, PaintCanvas, type PaintCanvasProps, PaintEditor, type PaintEditorProps, PaintLayersPanel, type PaintLayersPanelProps, PaintPresenceLayer, PaintSlider, PaintToolbar, type PaintToolbarProps, PaperPanel, type PaperPanelProps, StickerPanel, type StickerPanelProps, type UsePaintEditorReturn, WetPanel, type WetPanelProps, usePaintDirector, usePaintEditor, usePaintEditorState };
189
+ /** The gradient paint editor (see `PaintGradientEditorView`). */
190
+ declare const PaintGradientEditor: React__default.FC<PaintGradientEditorProps>;
191
+
192
+ export { BrushPanel, type BrushPanelProps, ColorPanel, type ColorPanelProps, PaintCanvas, type PaintCanvasProps, PaintEditor, type PaintEditorProps, PaintGradientEditor, PaintGradientEditorProps, PaintLayersPanel, type PaintLayersPanelProps, PaintPresenceLayer, PaintSlider, PaintToolbar, type PaintToolbarProps, PaperPanel, type PaperPanelProps, StickerPanel, type StickerPanelProps, type UsePaintEditorReturn, WetPanel, type WetPanelProps, usePaintDirector, usePaintEditor, usePaintEditorState };
@@ -1,5 +1,6 @@
1
1
  import { PaintEditorController, PaintEditorState, PaintDirectorOptions, PaintPresence, PaintDirector, PaintEditorOptions, PaintTool, PaintView, SliderControl } from '@pixerate/editor/paint-editor';
2
2
  import React__default from 'react';
3
+ import { P as PaintGradientEditorProps } from '../PaintGradientEditorView-CCPCY5Ib.js';
3
4
 
4
5
  interface UsePaintEditorReturn {
5
6
  controller: PaintEditorController;
@@ -91,7 +92,7 @@ interface BrushPanelProps {
91
92
  * angle, paper grain, position and pressure smoothing, dynamics, rotation mode and blend mode;
92
93
  * then the engine's own controls (`brushEngineControls`): blender strength and blend distance,
93
94
  * smudge strength and length, pick-up and mix ratios, RGB / pigment mixing, dirty brush,
94
- * multi-colour and the brush load. Save the edited brush, import and export libraries as JSON.
95
+ * the brush's own gradient paint (the multi-colour brush) and the brush load. Save the edited brush, import and export libraries as JSON.
95
96
  */
96
97
  declare const BrushPanel: React__default.FC<BrushPanelProps>;
97
98
 
@@ -142,7 +143,8 @@ interface WetPanelProps {
142
143
  * Wet media: whether paint is wet, Dry now, Pause / Resume, the water overlay and speed; Wet paper
143
144
  * on the active layer; canvas tilt; the active layer's wet settings (viscosity, evaporation, edge
144
145
  * darkening, granulation, blooms, bleed, pigment weight, lifting, staining) and flow map; and the
145
- * kernel in use, with a note when it runs slower than it could (no cross-origin isolation).
146
+ * kernel in use, with a note when it runs slower than it could (no cross-origin isolation); and
147
+ * Engine B, the WebGPU accelerator for large washes, with a switch to force the CPU.
146
148
  */
147
149
  declare const WetPanel: React__default.FC<WetPanelProps>;
148
150
 
@@ -184,4 +186,7 @@ declare const PaintSlider: React__default.FC<{
184
186
  onCommit?: (v: number) => void;
185
187
  }>;
186
188
 
187
- export { BrushPanel, type BrushPanelProps, ColorPanel, type ColorPanelProps, PaintCanvas, type PaintCanvasProps, PaintEditor, type PaintEditorProps, PaintLayersPanel, type PaintLayersPanelProps, PaintPresenceLayer, PaintSlider, PaintToolbar, type PaintToolbarProps, PaperPanel, type PaperPanelProps, StickerPanel, type StickerPanelProps, type UsePaintEditorReturn, WetPanel, type WetPanelProps, usePaintDirector, usePaintEditor, usePaintEditorState };
189
+ /** The gradient paint editor (see `PaintGradientEditorView`). */
190
+ declare const PaintGradientEditor: React__default.FC<PaintGradientEditorProps>;
191
+
192
+ export { BrushPanel, type BrushPanelProps, ColorPanel, type ColorPanelProps, PaintCanvas, type PaintCanvasProps, PaintEditor, type PaintEditorProps, PaintGradientEditor, PaintGradientEditorProps, PaintLayersPanel, type PaintLayersPanelProps, PaintPresenceLayer, PaintSlider, PaintToolbar, type PaintToolbarProps, PaperPanel, type PaperPanelProps, StickerPanel, type StickerPanelProps, type UsePaintEditorReturn, WetPanel, type WetPanelProps, usePaintDirector, usePaintEditor, usePaintEditorState };