@spiffcommerce/core 17.2.0 → 17.2.2-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/index.d.ts CHANGED
@@ -684,6 +684,7 @@ interface LineItemMetadata {
684
684
  interface ProductWorkflow$1 {
685
685
  friendlyName: string;
686
686
  id: string;
687
+ index?: number;
687
688
  present?: boolean;
688
689
  imageUrl: string;
689
690
  workflowName: string;
@@ -2388,6 +2389,7 @@ declare class TextStepService implements StepService<TextStepData> {
2388
2389
  * @returns A list of color objects containg fill, stroke and variant if available.
2389
2390
  */
2390
2391
  availableFillColors(stepData: Step<TextStepData>): ColorOption[];
2392
+ changeAlignment(stepData: Step<TextStepData>, alignment: "left" | "center" | "right", elements: RegionElement[], workflowManager: WorkflowManager): void;
2391
2393
  changeFillColor(stepData: Step<TextStepData>, newColor: ColorOption, elements: RegionElement[], workflowManager: WorkflowManager): Promise<void>;
2392
2394
  availableFillImages(stepData: Step<TextStepData>): Promise<TextFillImage[]>;
2393
2395
  changeFillImage(stepData: Step<TextStepData>, fillImage: TextFillImage, elements: RegionElement[], workflowManager: WorkflowManager): Promise<void>;
@@ -2609,6 +2611,8 @@ declare class TextStepHandle extends StepHandle<TextStepData> {
2609
2611
  getAvailableFillImages(): Promise<TextFillImage[]>;
2610
2612
  setFillImage(fillImage: TextFillImage): Promise<void>;
2611
2613
  getFillImage(): TextFillImage | undefined;
2614
+ getAlignment(): string | undefined;
2615
+ setAlignment(alignment: "left" | "center" | "right"): void;
2612
2616
  /**
2613
2617
  * When true & the step has replaceable text configured the user will be
2614
2618
  * abled to edit the entire text string including the non-replaceable text.