@pixerate/editor-react 0.140.0 → 0.141.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,16 @@
1
+ import React from 'react';
2
+ import type { ImageEditorController } from '@pixerate/editor/image-editor';
3
+ export interface PathsPanelProps {
4
+ controller: ImageEditorController;
5
+ /** Thumbnail size in CSS pixels (default 32). */
6
+ thumbnailSize?: number;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * The Paths panel: the document's saved paths and its Work Path (in italics) with outline
11
+ * thumbnails. Click selects a path, double-click renames it (renaming the Work Path saves it).
12
+ * Load as Selection (Shift adds, Alt subtracts), Make Work Path from the selection, Fill and
13
+ * Stroke on the active layer with a colour and width, Add Vector Mask to the active layer,
14
+ * Duplicate and Delete. Every change is one undo step on the controller.
15
+ */
16
+ export declare const PathsPanel: React.FC<PathsPanelProps>;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import type { ImageEditorController } from '@pixerate/editor/image-editor';
3
+ export interface PathsPanelProps {
4
+ controller: ImageEditorController;
5
+ /** Thumbnail size in CSS pixels (default 32). */
6
+ thumbnailSize?: number;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * The Paths panel: the document's saved paths and its Work Path (in italics) with outline
11
+ * thumbnails. Click selects a path, double-click renames it (renaming the Work Path saves it).
12
+ * Load as Selection (Shift adds, Alt subtracts), Make Work Path from the selection, Fill and
13
+ * Stroke on the active layer with a colour and width, Add Vector Mask to the active layer,
14
+ * Duplicate and Delete. Every change is one undo step on the controller.
15
+ */
16
+ export declare const PathsPanel: React.FC<PathsPanelProps>;