@pixerate/editor-react 0.82.0 → 0.84.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/vector/index.cjs +418 -309
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +23 -1
- package/dist/vector/index.d.ts +23 -1
- package/dist/vector/index.js +287 -180
- package/dist/vector/index.js.map +1 -1
- package/package.json +3 -3
package/dist/vector/index.d.cts
CHANGED
|
@@ -317,6 +317,28 @@ interface VectorSymmetryPanelProps {
|
|
|
317
317
|
*/
|
|
318
318
|
declare function VectorSymmetryPanel({ controller, className }: VectorSymmetryPanelProps): React__default.JSX.Element;
|
|
319
319
|
|
|
320
|
+
interface VectorPerspectivePanelProps {
|
|
321
|
+
controller: VectorEditorController;
|
|
322
|
+
className?: string;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Perspective drawing: add a 1-, 2- or 3-point grid, pick the plane new shapes are drawn on, lay
|
|
326
|
+
* the selection onto it, show or hide the grid, or remove it. Grid changes and attaching are one
|
|
327
|
+
* undo step each.
|
|
328
|
+
*/
|
|
329
|
+
declare function VectorPerspectivePanel({ controller, className }: VectorPerspectivePanelProps): React__default.JSX.Element;
|
|
330
|
+
|
|
331
|
+
interface VectorLensPanelProps {
|
|
332
|
+
controller: VectorEditorController;
|
|
333
|
+
className?: string;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Lens: for a selected closed path, what it does to what is below it (none, magnify, fish eye,
|
|
337
|
+
* brighten, invert, tinted grayscale, colour add, colour limit, heat map, wireframe,
|
|
338
|
+
* transparency), its amount and colour. Each change is one undo step.
|
|
339
|
+
*/
|
|
340
|
+
declare function VectorLensPanel({ controller, className }: VectorLensPanelProps): React__default.JSX.Element | null;
|
|
341
|
+
|
|
320
342
|
interface VectorProviderEffectsPanelProps {
|
|
321
343
|
controller: VectorEditorController;
|
|
322
344
|
className?: string;
|
|
@@ -328,4 +350,4 @@ interface VectorProviderEffectsPanelProps {
|
|
|
328
350
|
*/
|
|
329
351
|
declare function VectorProviderEffectsPanel({ controller, className }: VectorProviderEffectsPanelProps): React__default.JSX.Element;
|
|
330
352
|
|
|
331
|
-
export { type UseVectorEditorResult, VectorAppearancePanel, type VectorAppearancePanelProps, VectorCanvas, type VectorCanvasProps, type VectorCommandTarget, VectorConnectorPanel, type VectorConnectorPanelProps, VectorConstraintsPanel, type VectorConstraintsPanelProps, VectorEditor, type VectorEditorProps, VectorEffectsPanel, type VectorEffectsPanelProps, VectorEnvelopePanel, type VectorEnvelopePanelProps, VectorFilterDefs, VectorFramePanel, type VectorFramePanelProps, VectorGradientAnnotator, VectorGradientDefs, VectorGradientEditor, type VectorGradientEditorProps, VectorMaskPanel, type VectorMaskPanelProps, VectorMaskedNodes, VectorProviderEffectsPanel, type VectorProviderEffectsPanelProps, VectorSceneNodes, VectorShadingPanel, type VectorShadingPanelProps, VectorStylePanel, type VectorStylePanelProps, VectorSymbolsPanel, type VectorSymbolsPanelProps, VectorSymmetryPanel, type VectorSymmetryPanelProps, VectorTextElement, VectorTextPanel, type VectorTextPanelProps, VectorToolbar, type VectorToolbarProps, VectorTracePanel, type VectorTracePanelProps, VectorWidthPointEditor, type VectorWidthPointEditorProps, useVectorCommands, useVectorEditor, useVectorEditorController, useVectorEditorState, useVectorEffectsTools };
|
|
353
|
+
export { type UseVectorEditorResult, VectorAppearancePanel, type VectorAppearancePanelProps, VectorCanvas, type VectorCanvasProps, type VectorCommandTarget, VectorConnectorPanel, type VectorConnectorPanelProps, VectorConstraintsPanel, type VectorConstraintsPanelProps, VectorEditor, type VectorEditorProps, VectorEffectsPanel, type VectorEffectsPanelProps, VectorEnvelopePanel, type VectorEnvelopePanelProps, VectorFilterDefs, VectorFramePanel, type VectorFramePanelProps, VectorGradientAnnotator, VectorGradientDefs, VectorGradientEditor, type VectorGradientEditorProps, VectorLensPanel, type VectorLensPanelProps, VectorMaskPanel, type VectorMaskPanelProps, VectorMaskedNodes, VectorPerspectivePanel, type VectorPerspectivePanelProps, VectorProviderEffectsPanel, type VectorProviderEffectsPanelProps, VectorSceneNodes, VectorShadingPanel, type VectorShadingPanelProps, VectorStylePanel, type VectorStylePanelProps, VectorSymbolsPanel, type VectorSymbolsPanelProps, VectorSymmetryPanel, type VectorSymmetryPanelProps, VectorTextElement, VectorTextPanel, type VectorTextPanelProps, VectorToolbar, type VectorToolbarProps, VectorTracePanel, type VectorTracePanelProps, VectorWidthPointEditor, type VectorWidthPointEditorProps, useVectorCommands, useVectorEditor, useVectorEditorController, useVectorEditorState, useVectorEffectsTools };
|
package/dist/vector/index.d.ts
CHANGED
|
@@ -317,6 +317,28 @@ interface VectorSymmetryPanelProps {
|
|
|
317
317
|
*/
|
|
318
318
|
declare function VectorSymmetryPanel({ controller, className }: VectorSymmetryPanelProps): React__default.JSX.Element;
|
|
319
319
|
|
|
320
|
+
interface VectorPerspectivePanelProps {
|
|
321
|
+
controller: VectorEditorController;
|
|
322
|
+
className?: string;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Perspective drawing: add a 1-, 2- or 3-point grid, pick the plane new shapes are drawn on, lay
|
|
326
|
+
* the selection onto it, show or hide the grid, or remove it. Grid changes and attaching are one
|
|
327
|
+
* undo step each.
|
|
328
|
+
*/
|
|
329
|
+
declare function VectorPerspectivePanel({ controller, className }: VectorPerspectivePanelProps): React__default.JSX.Element;
|
|
330
|
+
|
|
331
|
+
interface VectorLensPanelProps {
|
|
332
|
+
controller: VectorEditorController;
|
|
333
|
+
className?: string;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Lens: for a selected closed path, what it does to what is below it (none, magnify, fish eye,
|
|
337
|
+
* brighten, invert, tinted grayscale, colour add, colour limit, heat map, wireframe,
|
|
338
|
+
* transparency), its amount and colour. Each change is one undo step.
|
|
339
|
+
*/
|
|
340
|
+
declare function VectorLensPanel({ controller, className }: VectorLensPanelProps): React__default.JSX.Element | null;
|
|
341
|
+
|
|
320
342
|
interface VectorProviderEffectsPanelProps {
|
|
321
343
|
controller: VectorEditorController;
|
|
322
344
|
className?: string;
|
|
@@ -328,4 +350,4 @@ interface VectorProviderEffectsPanelProps {
|
|
|
328
350
|
*/
|
|
329
351
|
declare function VectorProviderEffectsPanel({ controller, className }: VectorProviderEffectsPanelProps): React__default.JSX.Element;
|
|
330
352
|
|
|
331
|
-
export { type UseVectorEditorResult, VectorAppearancePanel, type VectorAppearancePanelProps, VectorCanvas, type VectorCanvasProps, type VectorCommandTarget, VectorConnectorPanel, type VectorConnectorPanelProps, VectorConstraintsPanel, type VectorConstraintsPanelProps, VectorEditor, type VectorEditorProps, VectorEffectsPanel, type VectorEffectsPanelProps, VectorEnvelopePanel, type VectorEnvelopePanelProps, VectorFilterDefs, VectorFramePanel, type VectorFramePanelProps, VectorGradientAnnotator, VectorGradientDefs, VectorGradientEditor, type VectorGradientEditorProps, VectorMaskPanel, type VectorMaskPanelProps, VectorMaskedNodes, VectorProviderEffectsPanel, type VectorProviderEffectsPanelProps, VectorSceneNodes, VectorShadingPanel, type VectorShadingPanelProps, VectorStylePanel, type VectorStylePanelProps, VectorSymbolsPanel, type VectorSymbolsPanelProps, VectorSymmetryPanel, type VectorSymmetryPanelProps, VectorTextElement, VectorTextPanel, type VectorTextPanelProps, VectorToolbar, type VectorToolbarProps, VectorTracePanel, type VectorTracePanelProps, VectorWidthPointEditor, type VectorWidthPointEditorProps, useVectorCommands, useVectorEditor, useVectorEditorController, useVectorEditorState, useVectorEffectsTools };
|
|
353
|
+
export { type UseVectorEditorResult, VectorAppearancePanel, type VectorAppearancePanelProps, VectorCanvas, type VectorCanvasProps, type VectorCommandTarget, VectorConnectorPanel, type VectorConnectorPanelProps, VectorConstraintsPanel, type VectorConstraintsPanelProps, VectorEditor, type VectorEditorProps, VectorEffectsPanel, type VectorEffectsPanelProps, VectorEnvelopePanel, type VectorEnvelopePanelProps, VectorFilterDefs, VectorFramePanel, type VectorFramePanelProps, VectorGradientAnnotator, VectorGradientDefs, VectorGradientEditor, type VectorGradientEditorProps, VectorLensPanel, type VectorLensPanelProps, VectorMaskPanel, type VectorMaskPanelProps, VectorMaskedNodes, VectorPerspectivePanel, type VectorPerspectivePanelProps, VectorProviderEffectsPanel, type VectorProviderEffectsPanelProps, VectorSceneNodes, VectorShadingPanel, type VectorShadingPanelProps, VectorStylePanel, type VectorStylePanelProps, VectorSymbolsPanel, type VectorSymbolsPanelProps, VectorSymmetryPanel, type VectorSymmetryPanelProps, VectorTextElement, VectorTextPanel, type VectorTextPanelProps, VectorToolbar, type VectorToolbarProps, VectorTracePanel, type VectorTracePanelProps, VectorWidthPointEditor, type VectorWidthPointEditorProps, useVectorCommands, useVectorEditor, useVectorEditorController, useVectorEditorState, useVectorEffectsTools };
|