@pixerate/editor-react 0.160.0 → 0.162.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/paint-editor/StickerPanel.d.cts +3 -3
- package/dist/paint-editor/StickerPanel.d.ts +3 -3
- package/dist/paint-editor/StrokePanel.d.cts +12 -0
- package/dist/paint-editor/StrokePanel.d.ts +12 -0
- package/dist/paint-editor/index.cjs +399 -303
- package/dist/paint-editor/index.d.cts +1 -0
- package/dist/paint-editor/index.d.ts +1 -0
- package/dist/paint-editor/index.js +167 -72
- package/package.json +3 -3
|
@@ -5,8 +5,8 @@ export interface StickerPanelProps {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* The active layer's stickers: pick one
|
|
9
|
-
* bring it to the front or back, or delete it
|
|
10
|
-
* layer without stickers.
|
|
8
|
+
* The active layer's stickers: pick one (here, or with the Stickers tool on the canvas) to change
|
|
9
|
+
* its stamp, place, size, rotation, opacity and colour, bring it to the front or back, or delete it
|
|
10
|
+
* (each change one undo step). Shows nothing for a layer without stickers.
|
|
11
11
|
*/
|
|
12
12
|
export declare const StickerPanel: React.FC<StickerPanelProps>;
|
|
@@ -5,8 +5,8 @@ export interface StickerPanelProps {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* The active layer's stickers: pick one
|
|
9
|
-
* bring it to the front or back, or delete it
|
|
10
|
-
* layer without stickers.
|
|
8
|
+
* The active layer's stickers: pick one (here, or with the Stickers tool on the canvas) to change
|
|
9
|
+
* its stamp, place, size, rotation, opacity and colour, bring it to the front or back, or delete it
|
|
10
|
+
* (each change one undo step). Shows nothing for a layer without stickers.
|
|
11
11
|
*/
|
|
12
12
|
export declare const StickerPanel: React.FC<StickerPanelProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface StrokePanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The active stroke layer's strokes: pick one (here, or with the Select stroke tool on the
|
|
9
|
+
* canvas) to change its brush, size, opacity, flow, colour or seed, move it up or down, or delete
|
|
10
|
+
* it. The layer redraws exactly; each change is one undo step. Shows nothing for other layers.
|
|
11
|
+
*/
|
|
12
|
+
export declare const StrokePanel: React.FC<StrokePanelProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PaintEditorController } from '@pixerate/editor/paint-editor';
|
|
3
|
+
export interface StrokePanelProps {
|
|
4
|
+
controller: PaintEditorController;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The active stroke layer's strokes: pick one (here, or with the Select stroke tool on the
|
|
9
|
+
* canvas) to change its brush, size, opacity, flow, colour or seed, move it up or down, or delete
|
|
10
|
+
* it. The layer redraws exactly; each change is one undo step. Shows nothing for other layers.
|
|
11
|
+
*/
|
|
12
|
+
export declare const StrokePanel: React.FC<StrokePanelProps>;
|