@pixerate/editor-react 0.64.0 → 0.66.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,4 +1,4 @@
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 } from '@pixerate/editor/image-editor';
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 } from '@pixerate/editor/image-editor';
2
2
  import React__default from 'react';
3
3
 
4
4
  interface UseImageEditorReturn {
@@ -205,4 +205,17 @@ interface BrushOptionsBarProps {
205
205
  */
206
206
  declare const BrushOptionsBar: React__default.FC<BrushOptionsBarProps>;
207
207
 
208
- export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, BrushOptionsBar, type BrushOptionsBarProps, ControlSlider, type ControlSliderProps, CurvesEditor, type CurvesEditorProps, Histogram, type HistogramProps, ImageEditor, type ImageEditorProps, LayerEffectsPanel, type LayerEffectsPanelProps, LayersPanel, type LayersPanelProps, RefineEdgePanel, type RefineEdgePanelProps, SelectionOptionsBar, type SelectionOptionsBarProps, type UseImageEditorReturn, useImageEditor, useImageHistogram };
208
+ interface FreeTransformOptionsBarProps {
209
+ tool: FreeTransformTool;
210
+ className?: string;
211
+ }
212
+ /**
213
+ * Free Transform's options bar (Photoshop's): the mode switch (Free, Rotate, Skew, Distort,
214
+ * Perspective, Warp), the reference-point locator, X / Y of the reference point, W / H in percent
215
+ * with the proportional chain, the angle and skews, the interpolation, and Commit (Enter) / Cancel
216
+ * (Esc). In Warp mode the numbers give way to the warp style, bend, horizontal and vertical
217
+ * distortion, orientation and grid. Typed values apply on Enter or when the field loses focus.
218
+ */
219
+ declare const FreeTransformOptionsBar: React__default.FC<FreeTransformOptionsBarProps>;
220
+
221
+ 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, type UseImageEditorReturn, useImageEditor, useImageHistogram };
@@ -1,4 +1,4 @@
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 } from '@pixerate/editor/image-editor';
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 } from '@pixerate/editor/image-editor';
2
2
  import React__default from 'react';
3
3
 
4
4
  interface UseImageEditorReturn {
@@ -205,4 +205,17 @@ interface BrushOptionsBarProps {
205
205
  */
206
206
  declare const BrushOptionsBar: React__default.FC<BrushOptionsBarProps>;
207
207
 
208
- export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, BrushOptionsBar, type BrushOptionsBarProps, ControlSlider, type ControlSliderProps, CurvesEditor, type CurvesEditorProps, Histogram, type HistogramProps, ImageEditor, type ImageEditorProps, LayerEffectsPanel, type LayerEffectsPanelProps, LayersPanel, type LayersPanelProps, RefineEdgePanel, type RefineEdgePanelProps, SelectionOptionsBar, type SelectionOptionsBarProps, type UseImageEditorReturn, useImageEditor, useImageHistogram };
208
+ interface FreeTransformOptionsBarProps {
209
+ tool: FreeTransformTool;
210
+ className?: string;
211
+ }
212
+ /**
213
+ * Free Transform's options bar (Photoshop's): the mode switch (Free, Rotate, Skew, Distort,
214
+ * Perspective, Warp), the reference-point locator, X / Y of the reference point, W / H in percent
215
+ * with the proportional chain, the angle and skews, the interpolation, and Commit (Enter) / Cancel
216
+ * (Esc). In Warp mode the numbers give way to the warp style, bend, horizontal and vertical
217
+ * distortion, orientation and grid. Typed values apply on Enter or when the field loses focus.
218
+ */
219
+ declare const FreeTransformOptionsBar: React__default.FC<FreeTransformOptionsBarProps>;
220
+
221
+ 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, type UseImageEditorReturn, useImageEditor, useImageHistogram };
@@ -3,6 +3,7 @@ import {
3
3
  BrushOptionsBar,
4
4
  ControlSlider,
5
5
  CurvesEditor,
6
+ FreeTransformOptionsBar,
6
7
  Histogram,
7
8
  ImageEditor,
8
9
  LayerEffectsPanel,
@@ -11,12 +12,13 @@ import {
11
12
  SelectionOptionsBar,
12
13
  useImageEditor,
13
14
  useImageHistogram
14
- } from "../chunk-M4WLX3IR.js";
15
+ } from "../chunk-LCTQWNTL.js";
15
16
  export {
16
17
  AdjustmentLayersPanel,
17
18
  BrushOptionsBar,
18
19
  ControlSlider,
19
20
  CurvesEditor,
21
+ FreeTransformOptionsBar,
20
22
  Histogram,
21
23
  ImageEditor,
22
24
  LayerEffectsPanel,