@pixerate/editor-react 0.76.0 → 0.77.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.
@@ -1,5 +1,7 @@
1
1
  import { ImageEditorController, ImageEditorState, ImageEditorTool, CropBox, AspectRatio, ImageAdjustments, AdjustmentKind, AdjustmentLayerInit, AdjustmentLayerUpdate, ImageHistogram, DepthMaskOptions, CreateAnnotationPayload, Annotation, ImagePoint, ExportOptions, SerializedImageEditorState, AIResultOptions, ImageEditorOptions, InpaintHook, RemoveBackgroundHook, ImageEditorAIHooks, ControlSpec, CurvePoint, AdjustmentLayer, SelectionToolOptions, SelectionMask, FreeTransformTool, ShapeToolOptions, TypeToolOptions, TextEditSession } from '@pixerate/editor/image-editor';
2
2
  import React__default from 'react';
3
+ import { P as PaintGradientEditorProps } from '../PaintGradientEditorView-CCPCY5Ib.cjs';
4
+ import '@pixerate/editor/paint-editor';
3
5
 
4
6
  interface UseImageEditorReturn {
5
7
  controller: ImageEditorController;
@@ -210,7 +212,8 @@ interface BrushOptionsBarProps {
210
212
  /**
211
213
  * The paint tools: Move / Brush / Mixer / Eraser, the brush's size, hardness, opacity, flow and
212
214
  * smoothing, pressure toggles, the foreground and background colours (D resets, X swaps) and
213
- * Edit › Fill / Clear on the active layer. With the Mixer Brush: its load (Load brush / Clean
215
+ * Edit › Fill / Clear on the active layer, and gradient paint for the brush (the colour changes as
216
+ * the stroke goes; `PaintGradientEditor`). With the Mixer Brush: its load (Load brush / Clean
214
217
  * brush), Wet / Load / Mix, load and clean each stroke, and the RGB / Pigment mixing toggle.
215
218
  * With a retouching tool: the clone source (Alt-click the canvas to set it), Sample, the Spot
216
219
  * Healing type, the tone Range, Exposure / Strength and the Aligned / Protect tones / Vibrance
@@ -260,4 +263,7 @@ interface TypeOptionsBarProps {
260
263
  */
261
264
  declare const TypeOptionsBar: React__default.FC<TypeOptionsBarProps>;
262
265
 
263
- export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, BrushOptionsBar, type BrushOptionsBarProps, ColorProfilePanel, type ColorProfilePanelProps, ControlSlider, type ControlSliderProps, CurvesEditor, type CurvesEditorProps, FreeTransformOptionsBar, type FreeTransformOptionsBarProps, Histogram, type HistogramProps, ImageEditor, type ImageEditorProps, LayerEffectsPanel, type LayerEffectsPanelProps, LayersPanel, type LayersPanelProps, RefineEdgePanel, type RefineEdgePanelProps, SelectionOptionsBar, type SelectionOptionsBarProps, ShapeOptionsBar, type ShapeOptionsBarProps, TypeOptionsBar, type TypeOptionsBarProps, type UseImageEditorReturn, useImageEditor, useImageHistogram };
266
+ /** The gradient paint editor for the image editor's brush (see `PaintGradientEditorView`). */
267
+ declare const PaintGradientEditor: React__default.FC<PaintGradientEditorProps>;
268
+
269
+ export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, BrushOptionsBar, type BrushOptionsBarProps, ColorProfilePanel, type ColorProfilePanelProps, ControlSlider, type ControlSliderProps, CurvesEditor, type CurvesEditorProps, FreeTransformOptionsBar, type FreeTransformOptionsBarProps, Histogram, type HistogramProps, ImageEditor, type ImageEditorProps, LayerEffectsPanel, type LayerEffectsPanelProps, LayersPanel, type LayersPanelProps, PaintGradientEditor, PaintGradientEditorProps, RefineEdgePanel, type RefineEdgePanelProps, SelectionOptionsBar, type SelectionOptionsBarProps, ShapeOptionsBar, type ShapeOptionsBarProps, TypeOptionsBar, type TypeOptionsBarProps, type UseImageEditorReturn, useImageEditor, useImageHistogram };
@@ -1,5 +1,7 @@
1
1
  import { ImageEditorController, ImageEditorState, ImageEditorTool, CropBox, AspectRatio, ImageAdjustments, AdjustmentKind, AdjustmentLayerInit, AdjustmentLayerUpdate, ImageHistogram, DepthMaskOptions, CreateAnnotationPayload, Annotation, ImagePoint, ExportOptions, SerializedImageEditorState, AIResultOptions, ImageEditorOptions, InpaintHook, RemoveBackgroundHook, ImageEditorAIHooks, ControlSpec, CurvePoint, AdjustmentLayer, SelectionToolOptions, SelectionMask, FreeTransformTool, ShapeToolOptions, TypeToolOptions, TextEditSession } from '@pixerate/editor/image-editor';
2
2
  import React__default from 'react';
3
+ import { P as PaintGradientEditorProps } from '../PaintGradientEditorView-CCPCY5Ib.js';
4
+ import '@pixerate/editor/paint-editor';
3
5
 
4
6
  interface UseImageEditorReturn {
5
7
  controller: ImageEditorController;
@@ -210,7 +212,8 @@ interface BrushOptionsBarProps {
210
212
  /**
211
213
  * The paint tools: Move / Brush / Mixer / Eraser, the brush's size, hardness, opacity, flow and
212
214
  * smoothing, pressure toggles, the foreground and background colours (D resets, X swaps) and
213
- * Edit › Fill / Clear on the active layer. With the Mixer Brush: its load (Load brush / Clean
215
+ * Edit › Fill / Clear on the active layer, and gradient paint for the brush (the colour changes as
216
+ * the stroke goes; `PaintGradientEditor`). With the Mixer Brush: its load (Load brush / Clean
214
217
  * brush), Wet / Load / Mix, load and clean each stroke, and the RGB / Pigment mixing toggle.
215
218
  * With a retouching tool: the clone source (Alt-click the canvas to set it), Sample, the Spot
216
219
  * Healing type, the tone Range, Exposure / Strength and the Aligned / Protect tones / Vibrance
@@ -260,4 +263,7 @@ interface TypeOptionsBarProps {
260
263
  */
261
264
  declare const TypeOptionsBar: React__default.FC<TypeOptionsBarProps>;
262
265
 
263
- export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, BrushOptionsBar, type BrushOptionsBarProps, ColorProfilePanel, type ColorProfilePanelProps, ControlSlider, type ControlSliderProps, CurvesEditor, type CurvesEditorProps, FreeTransformOptionsBar, type FreeTransformOptionsBarProps, Histogram, type HistogramProps, ImageEditor, type ImageEditorProps, LayerEffectsPanel, type LayerEffectsPanelProps, LayersPanel, type LayersPanelProps, RefineEdgePanel, type RefineEdgePanelProps, SelectionOptionsBar, type SelectionOptionsBarProps, ShapeOptionsBar, type ShapeOptionsBarProps, TypeOptionsBar, type TypeOptionsBarProps, type UseImageEditorReturn, useImageEditor, useImageHistogram };
266
+ /** The gradient paint editor for the image editor's brush (see `PaintGradientEditorView`). */
267
+ declare const PaintGradientEditor: React__default.FC<PaintGradientEditorProps>;
268
+
269
+ export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, BrushOptionsBar, type BrushOptionsBarProps, ColorProfilePanel, type ColorProfilePanelProps, ControlSlider, type ControlSliderProps, CurvesEditor, type CurvesEditorProps, FreeTransformOptionsBar, type FreeTransformOptionsBarProps, Histogram, type HistogramProps, ImageEditor, type ImageEditorProps, LayerEffectsPanel, type LayerEffectsPanelProps, LayersPanel, type LayersPanelProps, PaintGradientEditor, PaintGradientEditorProps, RefineEdgePanel, type RefineEdgePanelProps, SelectionOptionsBar, type SelectionOptionsBarProps, ShapeOptionsBar, type ShapeOptionsBarProps, TypeOptionsBar, type TypeOptionsBarProps, type UseImageEditorReturn, useImageEditor, useImageHistogram };
@@ -9,13 +9,15 @@ import {
9
9
  ImageEditor,
10
10
  LayerEffectsPanel,
11
11
  LayersPanel,
12
+ PaintGradientEditor,
12
13
  RefineEdgePanel,
13
14
  SelectionOptionsBar,
14
15
  ShapeOptionsBar,
15
16
  TypeOptionsBar,
16
17
  useImageEditor,
17
18
  useImageHistogram
18
- } from "../chunk-LWMUV5TC.js";
19
+ } from "../chunk-QARGR5E5.js";
20
+ import "../chunk-MO354USR.js";
19
21
  export {
20
22
  AdjustmentLayersPanel,
21
23
  BrushOptionsBar,
@@ -27,6 +29,7 @@ export {
27
29
  ImageEditor,
28
30
  LayerEffectsPanel,
29
31
  LayersPanel,
32
+ PaintGradientEditor,
30
33
  RefineEdgePanel,
31
34
  SelectionOptionsBar,
32
35
  ShapeOptionsBar,