@pixerate/editor-react 0.148.0 → 0.150.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.
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { ImageEditorController, SelectionMask } from '@pixerate/editor/image-editor';
3
+ export interface SelectionRecipePanelProps {
4
+ controller: ImageEditorController;
5
+ /** The current selection (`state.selection`), so the panel re-renders with it. */
6
+ selection?: SelectionMask | null;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * Live selection: the steps that made the selection, editable afterwards (each change replays
11
+ * them as one undo step), as the `*_selection_step` tools do. Freeze keeps the selection and drops
12
+ * the steps. Hidden while the selection is frozen or empty.
13
+ */
14
+ export declare const SelectionRecipePanel: React.FC<SelectionRecipePanelProps>;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { ImageEditorController, SelectionMask } from '@pixerate/editor/image-editor';
3
+ export interface SelectionRecipePanelProps {
4
+ controller: ImageEditorController;
5
+ /** The current selection (`state.selection`), so the panel re-renders with it. */
6
+ selection?: SelectionMask | null;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * Live selection: the steps that made the selection, editable afterwards (each change replays
11
+ * them as one undo step), as the `*_selection_step` tools do. Freeze keeps the selection and drops
12
+ * the steps. Hidden while the selection is frozen or empty.
13
+ */
14
+ export declare const SelectionRecipePanel: React.FC<SelectionRecipePanelProps>;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { ImageEditorController, ImageLayer } from '@pixerate/editor/image-editor';
3
+ export interface VectorMaskEdgesPanelProps {
4
+ controller: ImageEditorController;
5
+ /** The layer whose vector mask to edit. */
6
+ layer: ImageLayer;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * Hybrid mask edges: the soft segments of a layer's vector mask (feather or matte), with their
11
+ * settings, as `set_vector_mask_edge` sets them. Alt+Shift-click a segment with Direct Selection
12
+ * to cycle its mode on the canvas. Every change is one undo step.
13
+ */
14
+ export declare const VectorMaskEdgesPanel: React.FC<VectorMaskEdgesPanelProps>;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { ImageEditorController, ImageLayer } from '@pixerate/editor/image-editor';
3
+ export interface VectorMaskEdgesPanelProps {
4
+ controller: ImageEditorController;
5
+ /** The layer whose vector mask to edit. */
6
+ layer: ImageLayer;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * Hybrid mask edges: the soft segments of a layer's vector mask (feather or matte), with their
11
+ * settings, as `set_vector_mask_edge` sets them. Alt+Shift-click a segment with Direct Selection
12
+ * to cycle its mode on the canvas. Every change is one undo step.
13
+ */
14
+ export declare const VectorMaskEdgesPanel: React.FC<VectorMaskEdgesPanelProps>;