@spiffcommerce/core 17.2.1 → 17.3.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
@@ -2389,6 +2389,7 @@ declare class TextStepService implements StepService<TextStepData> {
2389
2389
  * @returns A list of color objects containg fill, stroke and variant if available.
2390
2390
  */
2391
2391
  availableFillColors(stepData: Step<TextStepData>): ColorOption[];
2392
+ changeAlignment(stepData: Step<TextStepData>, alignment: "left" | "center" | "right", elements: RegionElement[], workflowManager: WorkflowManager): void;
2392
2393
  changeFillColor(stepData: Step<TextStepData>, newColor: ColorOption, elements: RegionElement[], workflowManager: WorkflowManager): Promise<void>;
2393
2394
  availableFillImages(stepData: Step<TextStepData>): Promise<TextFillImage[]>;
2394
2395
  changeFillImage(stepData: Step<TextStepData>, fillImage: TextFillImage, elements: RegionElement[], workflowManager: WorkflowManager): Promise<void>;
@@ -2610,6 +2611,8 @@ declare class TextStepHandle extends StepHandle<TextStepData> {
2610
2611
  getAvailableFillImages(): Promise<TextFillImage[]>;
2611
2612
  setFillImage(fillImage: TextFillImage): Promise<void>;
2612
2613
  getFillImage(): TextFillImage | undefined;
2614
+ getAlignment(): string | undefined;
2615
+ setAlignment(alignment: "left" | "center" | "right"): void;
2613
2616
  /**
2614
2617
  * When true & the step has replaceable text configured the user will be
2615
2618
  * abled to edit the entire text string including the non-replaceable text.