@pixerate/editor-react 0.71.0 → 0.73.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/{chunk-63FQB5BT.js → chunk-VNZKHFEM.js} +525 -382
- package/dist/chunk-VNZKHFEM.js.map +1 -0
- package/dist/image-editor/index.cjs +575 -444
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +15 -1
- package/dist/image-editor/index.d.ts +15 -1
- package/dist/image-editor/index.js +3 -1
- package/dist/index.cjs +1004 -873
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/vector/index.cjs +910 -175
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +67 -3
- package/dist/vector/index.d.ts +67 -3
- package/dist/vector/index.js +915 -164
- package/dist/vector/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-63FQB5BT.js.map +0 -1
|
@@ -179,6 +179,17 @@ interface LayersPanelProps {
|
|
|
179
179
|
*/
|
|
180
180
|
declare const LayersPanel: React__default.FC<LayersPanelProps>;
|
|
181
181
|
|
|
182
|
+
interface ColorProfilePanelProps {
|
|
183
|
+
controller: ImageEditorController;
|
|
184
|
+
className?: string;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Colour management: the document's profile (working space) with Assign Profile and Convert to
|
|
188
|
+
* Profile (intent, black point compensation), and View › Proof Setup (profile, intent, simulate
|
|
189
|
+
* paper, gamut warning).
|
|
190
|
+
*/
|
|
191
|
+
declare const ColorProfilePanel: React__default.FC<ColorProfilePanelProps>;
|
|
192
|
+
|
|
182
193
|
interface LayerEffectsPanelProps {
|
|
183
194
|
controller: ImageEditorController;
|
|
184
195
|
/** The layer whose effects to show (default: the active layer). */
|
|
@@ -201,6 +212,9 @@ interface BrushOptionsBarProps {
|
|
|
201
212
|
* smoothing, pressure toggles, the foreground and background colours (D resets, X swaps) and
|
|
202
213
|
* Edit › Fill / Clear on the active layer. With the Mixer Brush: its load (Load brush / Clean
|
|
203
214
|
* brush), Wet / Load / Mix, load and clean each stroke, and the RGB / Pigment mixing toggle.
|
|
215
|
+
* With a retouching tool: the clone source (Alt-click the canvas to set it), Sample, the Spot
|
|
216
|
+
* Healing type, the tone Range, Exposure / Strength and the Aligned / Protect tones / Vibrance
|
|
217
|
+
* toggles that tool uses.
|
|
204
218
|
* Shortcuts are handled by `handlePaintShortcut` in the editor.
|
|
205
219
|
*/
|
|
206
220
|
declare const BrushOptionsBar: React__default.FC<BrushOptionsBarProps>;
|
|
@@ -246,4 +260,4 @@ interface TypeOptionsBarProps {
|
|
|
246
260
|
*/
|
|
247
261
|
declare const TypeOptionsBar: React__default.FC<TypeOptionsBarProps>;
|
|
248
262
|
|
|
249
|
-
export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, BrushOptionsBar, type BrushOptionsBarProps, 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 };
|
|
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 };
|
|
@@ -179,6 +179,17 @@ interface LayersPanelProps {
|
|
|
179
179
|
*/
|
|
180
180
|
declare const LayersPanel: React__default.FC<LayersPanelProps>;
|
|
181
181
|
|
|
182
|
+
interface ColorProfilePanelProps {
|
|
183
|
+
controller: ImageEditorController;
|
|
184
|
+
className?: string;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Colour management: the document's profile (working space) with Assign Profile and Convert to
|
|
188
|
+
* Profile (intent, black point compensation), and View › Proof Setup (profile, intent, simulate
|
|
189
|
+
* paper, gamut warning).
|
|
190
|
+
*/
|
|
191
|
+
declare const ColorProfilePanel: React__default.FC<ColorProfilePanelProps>;
|
|
192
|
+
|
|
182
193
|
interface LayerEffectsPanelProps {
|
|
183
194
|
controller: ImageEditorController;
|
|
184
195
|
/** The layer whose effects to show (default: the active layer). */
|
|
@@ -201,6 +212,9 @@ interface BrushOptionsBarProps {
|
|
|
201
212
|
* smoothing, pressure toggles, the foreground and background colours (D resets, X swaps) and
|
|
202
213
|
* Edit › Fill / Clear on the active layer. With the Mixer Brush: its load (Load brush / Clean
|
|
203
214
|
* brush), Wet / Load / Mix, load and clean each stroke, and the RGB / Pigment mixing toggle.
|
|
215
|
+
* With a retouching tool: the clone source (Alt-click the canvas to set it), Sample, the Spot
|
|
216
|
+
* Healing type, the tone Range, Exposure / Strength and the Aligned / Protect tones / Vibrance
|
|
217
|
+
* toggles that tool uses.
|
|
204
218
|
* Shortcuts are handled by `handlePaintShortcut` in the editor.
|
|
205
219
|
*/
|
|
206
220
|
declare const BrushOptionsBar: React__default.FC<BrushOptionsBarProps>;
|
|
@@ -246,4 +260,4 @@ interface TypeOptionsBarProps {
|
|
|
246
260
|
*/
|
|
247
261
|
declare const TypeOptionsBar: React__default.FC<TypeOptionsBarProps>;
|
|
248
262
|
|
|
249
|
-
export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, BrushOptionsBar, type BrushOptionsBarProps, 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 };
|
|
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 };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AdjustmentLayersPanel,
|
|
3
3
|
BrushOptionsBar,
|
|
4
|
+
ColorProfilePanel,
|
|
4
5
|
ControlSlider,
|
|
5
6
|
CurvesEditor,
|
|
6
7
|
FreeTransformOptionsBar,
|
|
@@ -14,10 +15,11 @@ import {
|
|
|
14
15
|
TypeOptionsBar,
|
|
15
16
|
useImageEditor,
|
|
16
17
|
useImageHistogram
|
|
17
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-VNZKHFEM.js";
|
|
18
19
|
export {
|
|
19
20
|
AdjustmentLayersPanel,
|
|
20
21
|
BrushOptionsBar,
|
|
22
|
+
ColorProfilePanel,
|
|
21
23
|
ControlSlider,
|
|
22
24
|
CurvesEditor,
|
|
23
25
|
FreeTransformOptionsBar,
|