@pixerate/editor-react 0.121.0 → 0.122.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.
- package/dist/{chunk-CQXZVIV7.js → chunk-VR3JON4V.js} +417 -295
- package/dist/image-editor/ChannelsPanel.d.cts +15 -0
- package/dist/image-editor/ChannelsPanel.d.ts +15 -0
- package/dist/image-editor/index.cjs +425 -303
- package/dist/image-editor/index.d.cts +1 -0
- package/dist/image-editor/index.d.ts +1 -0
- package/dist/image-editor/index.js +3 -1
- package/dist/index.cjs +945 -823
- package/dist/index.js +3 -1
- package/package.json +3 -3
|
@@ -0,0 +1,15 @@
|
|
|
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; and the Quick Mask
|
|
13
|
+
* mode switch (Q on the canvas). Every change is one undo step on the controller.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ChannelsPanel: React.FC<ChannelsPanelProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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; and the Quick Mask
|
|
13
|
+
* mode switch (Q on the canvas). Every change is one undo step on the controller.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ChannelsPanel: React.FC<ChannelsPanelProps>;
|