@pixerate/editor-react 0.147.0 → 0.148.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-FL5RL6NO.js → chunk-HVGT7UE7.js} +478 -413
- package/dist/image-editor/SeparateSubjectPanel.d.cts +14 -0
- package/dist/image-editor/SeparateSubjectPanel.d.ts +14 -0
- package/dist/image-editor/index.cjs +489 -423
- 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 +1014 -948
- package/dist/index.js +3 -1
- package/package.json +3 -3
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ImageEditorController, SelectionMask } from '@pixerate/editor/image-editor';
|
|
3
|
+
export interface SeparateSubjectPanelProps {
|
|
4
|
+
controller: ImageEditorController;
|
|
5
|
+
/** The current selection (`state.selection`): the subject to separate. */
|
|
6
|
+
selection?: SelectionMask | null;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Separate Subject: the selected subject onto its own masked layer over a background plate with
|
|
11
|
+
* the subject's area filled, in one undo step, as the `separate_subject` tool does. Shows progress
|
|
12
|
+
* while the fill runs and can be cancelled.
|
|
13
|
+
*/
|
|
14
|
+
export declare const SeparateSubjectPanel: React.FC<SeparateSubjectPanelProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ImageEditorController, SelectionMask } from '@pixerate/editor/image-editor';
|
|
3
|
+
export interface SeparateSubjectPanelProps {
|
|
4
|
+
controller: ImageEditorController;
|
|
5
|
+
/** The current selection (`state.selection`): the subject to separate. */
|
|
6
|
+
selection?: SelectionMask | null;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Separate Subject: the selected subject onto its own masked layer over a background plate with
|
|
11
|
+
* the subject's area filled, in one undo step, as the `separate_subject` tool does. Shows progress
|
|
12
|
+
* while the fill runs and can be cancelled.
|
|
13
|
+
*/
|
|
14
|
+
export declare const SeparateSubjectPanel: React.FC<SeparateSubjectPanelProps>;
|