@pixerate/editor-react 0.121.0 → 0.123.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 ChannelsPanelProps {
4
+ controller: ImageEditorController;
5
+ /** Thumbnail size in CSS pixels (default 32). */
6
+ thumbnailSize?: number;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * The Channels panel: the alpha channels (saved selections) with thumbnails, an eye to show
11
+ * each as a tint, click to load it as the selection (Shift adds, Alt subtracts, both
12
+ * intersect), double-click to rename; Save Selection, Duplicate and Delete; Import (a mask
13
+ * image into a new channel) and Export PNG (the active channel, else the selection); and the
14
+ * Quick Mask mode switch (Q on the canvas). Every change is one undo step on the controller.
15
+ */
16
+ export declare const ChannelsPanel: React.FC<ChannelsPanelProps>;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import type { ImageEditorController } from '@pixerate/editor/image-editor';
3
+ export interface ChannelsPanelProps {
4
+ controller: ImageEditorController;
5
+ /** Thumbnail size in CSS pixels (default 32). */
6
+ thumbnailSize?: number;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * The Channels panel: the alpha channels (saved selections) with thumbnails, an eye to show
11
+ * each as a tint, click to load it as the selection (Shift adds, Alt subtracts, both
12
+ * intersect), double-click to rename; Save Selection, Duplicate and Delete; Import (a mask
13
+ * image into a new channel) and Export PNG (the active channel, else the selection); and the
14
+ * Quick Mask mode switch (Q on the canvas). Every change is one undo step on the controller.
15
+ */
16
+ export declare const ChannelsPanel: React.FC<ChannelsPanelProps>;