@spiffcommerce/core 0.10.7 → 0.10.10

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/types.d.ts CHANGED
@@ -301,7 +301,7 @@ declare class PictureStepService implements StepService<_PictureStepData1> {
301
301
  export const pictureStepService: PictureStepService;
302
302
  declare class QuestionStepService implements StepService<_QuestionStepData1> {
303
303
  init(stepData: _Step1<_QuestionStepData1>, workflowManager: WorkflowManager, reducerState?: _LayoutsState1): Promise<null | (() => Promise<void>)>;
304
- selectVariant(stepData: _Step1<_QuestionStepData1>, variantId: string, workflowManager: WorkflowManager): void;
304
+ selectVariant(stepData: _Step1<_QuestionStepData1>, variantId: string, workflowManager: WorkflowManager): Promise<void>;
305
305
  }
306
306
  export const questionStepService: QuestionStepService;
307
307
  declare class ShapeStepService implements StepService<_ShapeStepData1> {
@@ -1042,6 +1042,7 @@ export const EditorCore: FunctionComponent<{
1042
1042
  targetedElements?: string[];
1043
1043
  borderRadius?: number;
1044
1044
  handleContextMenu?: (e: any) => void;
1045
+ onMouseMove?: (event: React.MouseEvent<SVGSVGElement, React.MouseEvent>) => void;
1045
1046
  handleKeyDown: (event: KeyboardEvent, adjustmentBoundary?: Region) => void;
1046
1047
  handleKeyUp: (event: KeyboardEvent) => void;
1047
1048
  handlePointerMove: (e: PointerEvent, adjustmentBoundary?: Region) => void;
@@ -1060,7 +1061,8 @@ export const AdvancedEditor: FunctionComponent<{
1060
1061
  color?: string;
1061
1062
  guidelineColor?: string;
1062
1063
  borderRadius?: number;
1063
- handleContextMenu?: (event: MouseEvent) => void;
1064
+ handleContextMenu?: (event: React.MouseEvent) => void;
1065
+ onMouseMove?: (event: React.MouseEvent<SVGSVGElement, MouseEvent>) => void;
1064
1066
  onElementSelected?: (id: string | undefined, element: PointerEvent) => void;
1065
1067
  }>;
1066
1068
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.7",
3
+ "version": "0.10.10",
4
4
  "description": "Core client API for interacting with the Spiff Commerce backend.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",