@spiffcommerce/core 0.10.112 → 0.10.113
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/main.js +8 -8
- package/dist/module.js +9 -9
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1153,6 +1153,7 @@ export const EditorCore: FunctionComponent<{
|
|
|
1153
1153
|
borderRadius?: number;
|
|
1154
1154
|
handleContextMenu?: (e: any) => void;
|
|
1155
1155
|
onMouseMove?: (event: React.MouseEvent<SVGRectElement, MouseEvent>) => void;
|
|
1156
|
+
onContextMenuHandlePointerDown?: (event: PointerEvent) => void;
|
|
1156
1157
|
handleKeyDown: (event: KeyboardEvent, adjustmentBoundary?: Region) => void;
|
|
1157
1158
|
handleKeyUp: (event: KeyboardEvent) => void;
|
|
1158
1159
|
handlePointerMove: (e: PointerEvent, adjustmentBoundary?: Region) => void;
|
|
@@ -1174,6 +1175,7 @@ export const AdvancedEditor: FunctionComponent<{
|
|
|
1174
1175
|
borderRadius?: number;
|
|
1175
1176
|
handleContextMenu?: (event: React.MouseEvent) => void;
|
|
1176
1177
|
onMouseMove?: (event: React.MouseEvent<SVGRectElement, MouseEvent>) => void;
|
|
1178
|
+
onContextMenuHandlePointerDown?: (event: PointerEvent) => void;
|
|
1177
1179
|
onElementSelected?: (id: string | undefined, element: PointerEvent) => void;
|
|
1178
1180
|
}>;
|
|
1179
1181
|
export const createDesign: (workflowManager: WorkflowManager, workflow: _Workflow1, layouts: _ILayout1[], getReducerState: () => _CommandState1, product: Product, transaction: Transaction, workflowSelections: WorkflowSelections, designName: string, onProgressUpdate: DesignCreationProgressUpdate, updateVariationRecords: (variationRecords: VariationRecord[]) => Promise<void>, variationRecords: VariationRecord[], createPreviewImage: (shouldRender3D?: boolean) => Promise<string>, workflowMetadata?: WorkflowMetadata) => Promise<DesignCreationMessage>;
|