@pixerate/editor-react 0.57.0 → 0.59.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.
@@ -156,4 +156,29 @@ interface RefineEdgePanelProps {
156
156
  */
157
157
  declare const RefineEdgePanel: React__default.FC<RefineEdgePanelProps>;
158
158
 
159
- export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, ControlSlider, type ControlSliderProps, CurvesEditor, type CurvesEditorProps, Histogram, type HistogramProps, ImageEditor, type ImageEditorProps, RefineEdgePanel, type RefineEdgePanelProps, SelectionOptionsBar, type SelectionOptionsBarProps, type UseImageEditorReturn, useImageEditor, useImageHistogram };
159
+ interface LayersPanelProps {
160
+ controller: ImageEditorController;
161
+ /** Thumbnail size in px (default 32). */
162
+ thumbnailSize?: number;
163
+ className?: string;
164
+ }
165
+ /**
166
+ * The layer stack, top first: visibility, thumbnails, names (double-click to rename), locks,
167
+ * mask thumbnails (click to paint the mask, Shift-click to disable it), drag to reorder or drop
168
+ * into a group, opacity / fill / blend / clipping for the active layer, and the layer menu
169
+ * (right-click a row, or the ⋯ button). Every action is one undo step on the controller.
170
+ */
171
+ declare const LayersPanel: React__default.FC<LayersPanelProps>;
172
+
173
+ interface BrushOptionsBarProps {
174
+ controller: ImageEditorController;
175
+ className?: string;
176
+ }
177
+ /**
178
+ * The paint tools: Move / Brush / Eraser, the brush's size, hardness, opacity, flow and smoothing,
179
+ * pressure toggles, the foreground and background colours (D resets, X swaps) and Edit › Fill /
180
+ * Clear on the active layer. Shortcuts are handled by `handlePaintShortcut` in the editor.
181
+ */
182
+ declare const BrushOptionsBar: React__default.FC<BrushOptionsBarProps>;
183
+
184
+ export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, BrushOptionsBar, type BrushOptionsBarProps, ControlSlider, type ControlSliderProps, CurvesEditor, type CurvesEditorProps, Histogram, type HistogramProps, ImageEditor, type ImageEditorProps, LayersPanel, type LayersPanelProps, RefineEdgePanel, type RefineEdgePanelProps, SelectionOptionsBar, type SelectionOptionsBarProps, type UseImageEditorReturn, useImageEditor, useImageHistogram };
@@ -156,4 +156,29 @@ interface RefineEdgePanelProps {
156
156
  */
157
157
  declare const RefineEdgePanel: React__default.FC<RefineEdgePanelProps>;
158
158
 
159
- export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, ControlSlider, type ControlSliderProps, CurvesEditor, type CurvesEditorProps, Histogram, type HistogramProps, ImageEditor, type ImageEditorProps, RefineEdgePanel, type RefineEdgePanelProps, SelectionOptionsBar, type SelectionOptionsBarProps, type UseImageEditorReturn, useImageEditor, useImageHistogram };
159
+ interface LayersPanelProps {
160
+ controller: ImageEditorController;
161
+ /** Thumbnail size in px (default 32). */
162
+ thumbnailSize?: number;
163
+ className?: string;
164
+ }
165
+ /**
166
+ * The layer stack, top first: visibility, thumbnails, names (double-click to rename), locks,
167
+ * mask thumbnails (click to paint the mask, Shift-click to disable it), drag to reorder or drop
168
+ * into a group, opacity / fill / blend / clipping for the active layer, and the layer menu
169
+ * (right-click a row, or the ⋯ button). Every action is one undo step on the controller.
170
+ */
171
+ declare const LayersPanel: React__default.FC<LayersPanelProps>;
172
+
173
+ interface BrushOptionsBarProps {
174
+ controller: ImageEditorController;
175
+ className?: string;
176
+ }
177
+ /**
178
+ * The paint tools: Move / Brush / Eraser, the brush's size, hardness, opacity, flow and smoothing,
179
+ * pressure toggles, the foreground and background colours (D resets, X swaps) and Edit › Fill /
180
+ * Clear on the active layer. Shortcuts are handled by `handlePaintShortcut` in the editor.
181
+ */
182
+ declare const BrushOptionsBar: React__default.FC<BrushOptionsBarProps>;
183
+
184
+ export { AdjustmentLayersPanel, type AdjustmentLayersPanelProps, BrushOptionsBar, type BrushOptionsBarProps, ControlSlider, type ControlSliderProps, CurvesEditor, type CurvesEditorProps, Histogram, type HistogramProps, ImageEditor, type ImageEditorProps, LayersPanel, type LayersPanelProps, RefineEdgePanel, type RefineEdgePanelProps, SelectionOptionsBar, type SelectionOptionsBarProps, type UseImageEditorReturn, useImageEditor, useImageHistogram };
@@ -1,20 +1,24 @@
1
1
  import {
2
2
  AdjustmentLayersPanel,
3
+ BrushOptionsBar,
3
4
  ControlSlider,
4
5
  CurvesEditor,
5
6
  Histogram,
6
7
  ImageEditor,
8
+ LayersPanel,
7
9
  RefineEdgePanel,
8
10
  SelectionOptionsBar,
9
11
  useImageEditor,
10
12
  useImageHistogram
11
- } from "../chunk-ZU54BMDC.js";
13
+ } from "../chunk-SYTV33TW.js";
12
14
  export {
13
15
  AdjustmentLayersPanel,
16
+ BrushOptionsBar,
14
17
  ControlSlider,
15
18
  CurvesEditor,
16
19
  Histogram,
17
20
  ImageEditor,
21
+ LayersPanel,
18
22
  RefineEdgePanel,
19
23
  SelectionOptionsBar,
20
24
  useImageEditor,