@spiffcommerce/core 0.10.104 → 0.10.106

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
@@ -1130,6 +1130,7 @@ export const useEditorInteraction: (editorRef: RefObject<SVGRectElement>, intera
1130
1130
  };
1131
1131
  export const useShortcutCombination: (shortcutKeys: string[], callback: () => void) => void;
1132
1132
  export const EditorCore: FunctionComponent<{
1133
+ isMobile: boolean;
1133
1134
  color?: string;
1134
1135
  editorRef: RefObject<SVGRectElement>;
1135
1136
  zoomableElementRef: RefObject<HTMLDivElement>;
@@ -1164,6 +1165,7 @@ export const EditorCore: FunctionComponent<{
1164
1165
  * with more granular control such as toolbars, direct element manipulation, and more.
1165
1166
  */
1166
1167
  export const AdvancedEditor: FunctionComponent<{
1168
+ isMobile: boolean;
1167
1169
  color?: string;
1168
1170
  guidelineColor?: string;
1169
1171
  borderRadius?: number;
@@ -1584,7 +1586,7 @@ export class FrameStepHandle extends StepHandle<_FrameStepData1> {
1584
1586
  onFrameDataChanged(callback: (frameData: _FrameData1) => void): void;
1585
1587
  selectImage(asset: IServerModel<_Asset1>): void;
1586
1588
  getImageData(): PatternImageData | undefined;
1587
- getCurrentFrameStep(frameData: _FrameData1, uploading: any, imageUploadComplete: any): Promise<FrameStep>;
1589
+ getCurrentFrameStep(frameData: _FrameData1, uploading?: any, imageUploadComplete?: any, variants?: _VariantResource1[]): FrameStep;
1588
1590
  getFrameService(): FrameService | undefined;
1589
1591
  hasOverlayImageKey(): string | undefined;
1590
1592
  hasVaryingUpload(): boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.104",
3
+ "version": "0.10.106",
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",