@pixerate/editor-react 0.83.0 → 0.85.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 +476 -391
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +22 -1
- package/dist/vector/index.d.ts +22 -1
- package/dist/vector/index.js +336 -253
- package/dist/vector/index.js.map +1 -1
- package/package.json +3 -3
package/dist/vector/index.d.cts
CHANGED
|
@@ -274,6 +274,16 @@ interface VectorFramePanelProps {
|
|
|
274
274
|
*/
|
|
275
275
|
declare function VectorFramePanel({ controller, className }: VectorFramePanelProps): React__default.JSX.Element;
|
|
276
276
|
|
|
277
|
+
interface VectorPagesPanelProps {
|
|
278
|
+
controller: VectorEditorController;
|
|
279
|
+
className?: string;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Pages: the document's pages (top-level frames) to go to, adding pages and master pages, and the
|
|
283
|
+
* master page the selected page uses. Adding and applying are one undo step each.
|
|
284
|
+
*/
|
|
285
|
+
declare function VectorPagesPanel({ controller, className }: VectorPagesPanelProps): React__default.JSX.Element;
|
|
286
|
+
|
|
277
287
|
interface VectorConnectorPanelProps {
|
|
278
288
|
controller: VectorEditorController;
|
|
279
289
|
className?: string;
|
|
@@ -317,6 +327,17 @@ interface VectorSymmetryPanelProps {
|
|
|
317
327
|
*/
|
|
318
328
|
declare function VectorSymmetryPanel({ controller, className }: VectorSymmetryPanelProps): React__default.JSX.Element;
|
|
319
329
|
|
|
330
|
+
interface VectorPerspectivePanelProps {
|
|
331
|
+
controller: VectorEditorController;
|
|
332
|
+
className?: string;
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Perspective drawing: add a 1-, 2- or 3-point grid, pick the plane new shapes are drawn on, lay
|
|
336
|
+
* the selection onto it, show or hide the grid, or remove it. Grid changes and attaching are one
|
|
337
|
+
* undo step each.
|
|
338
|
+
*/
|
|
339
|
+
declare function VectorPerspectivePanel({ controller, className }: VectorPerspectivePanelProps): React__default.JSX.Element;
|
|
340
|
+
|
|
320
341
|
interface VectorLensPanelProps {
|
|
321
342
|
controller: VectorEditorController;
|
|
322
343
|
className?: string;
|
|
@@ -339,4 +360,4 @@ interface VectorProviderEffectsPanelProps {
|
|
|
339
360
|
*/
|
|
340
361
|
declare function VectorProviderEffectsPanel({ controller, className }: VectorProviderEffectsPanelProps): React__default.JSX.Element;
|
|
341
362
|
|
|
342
|
-
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, 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 };
|
|
363
|
+
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, VectorPagesPanel, type VectorPagesPanelProps, 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
|
@@ -274,6 +274,16 @@ interface VectorFramePanelProps {
|
|
|
274
274
|
*/
|
|
275
275
|
declare function VectorFramePanel({ controller, className }: VectorFramePanelProps): React__default.JSX.Element;
|
|
276
276
|
|
|
277
|
+
interface VectorPagesPanelProps {
|
|
278
|
+
controller: VectorEditorController;
|
|
279
|
+
className?: string;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Pages: the document's pages (top-level frames) to go to, adding pages and master pages, and the
|
|
283
|
+
* master page the selected page uses. Adding and applying are one undo step each.
|
|
284
|
+
*/
|
|
285
|
+
declare function VectorPagesPanel({ controller, className }: VectorPagesPanelProps): React__default.JSX.Element;
|
|
286
|
+
|
|
277
287
|
interface VectorConnectorPanelProps {
|
|
278
288
|
controller: VectorEditorController;
|
|
279
289
|
className?: string;
|
|
@@ -317,6 +327,17 @@ interface VectorSymmetryPanelProps {
|
|
|
317
327
|
*/
|
|
318
328
|
declare function VectorSymmetryPanel({ controller, className }: VectorSymmetryPanelProps): React__default.JSX.Element;
|
|
319
329
|
|
|
330
|
+
interface VectorPerspectivePanelProps {
|
|
331
|
+
controller: VectorEditorController;
|
|
332
|
+
className?: string;
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Perspective drawing: add a 1-, 2- or 3-point grid, pick the plane new shapes are drawn on, lay
|
|
336
|
+
* the selection onto it, show or hide the grid, or remove it. Grid changes and attaching are one
|
|
337
|
+
* undo step each.
|
|
338
|
+
*/
|
|
339
|
+
declare function VectorPerspectivePanel({ controller, className }: VectorPerspectivePanelProps): React__default.JSX.Element;
|
|
340
|
+
|
|
320
341
|
interface VectorLensPanelProps {
|
|
321
342
|
controller: VectorEditorController;
|
|
322
343
|
className?: string;
|
|
@@ -339,4 +360,4 @@ interface VectorProviderEffectsPanelProps {
|
|
|
339
360
|
*/
|
|
340
361
|
declare function VectorProviderEffectsPanel({ controller, className }: VectorProviderEffectsPanelProps): React__default.JSX.Element;
|
|
341
362
|
|
|
342
|
-
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, 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 };
|
|
363
|
+
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, VectorPagesPanel, type VectorPagesPanelProps, 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 };
|