@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.
- package/dist/PaintGradientEditorView-CCPCY5Ib.d.cts +14 -0
- package/dist/PaintGradientEditorView-CCPCY5Ib.d.ts +14 -0
- package/dist/canvas/index.cjs +662 -561
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +36 -5
- package/dist/canvas/index.d.ts +36 -5
- package/dist/canvas/index.js +232 -129
- package/dist/canvas/index.js.map +1 -1
- package/dist/chunk-MO354USR.js +126 -0
- package/dist/chunk-MO354USR.js.map +1 -0
- package/dist/{chunk-LWMUV5TC.js → chunk-QARGR5E5.js} +278 -253
- package/dist/chunk-QARGR5E5.js.map +1 -0
- package/dist/image-editor/index.cjs +677 -531
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +8 -2
- package/dist/image-editor/index.d.ts +8 -2
- package/dist/image-editor/index.js +4 -1
- package/dist/index.cjs +1095 -949
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/paint-editor/index.cjs +438 -289
- package/dist/paint-editor/index.cjs.map +1 -1
- package/dist/paint-editor/index.d.cts +8 -3
- package/dist/paint-editor/index.d.ts +8 -3
- package/dist/paint-editor/index.js +215 -187
- package/dist/paint-editor/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-LWMUV5TC.js.map +0 -1
|
@@ -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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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-
|
|
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,
|