@spiffcommerce/core 0.10.91 → 0.10.92

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
@@ -1264,6 +1264,18 @@ export class IllustrationStepHandle extends StepHandle<_IllustrationStepData1> {
1264
1264
  * Set color for the illustration.
1265
1265
  */
1266
1266
  setColor(key: string, value: string): Promise<void>;
1267
+ getColorOption(): Promise<import("@spiffcommerce/papyrus").IServerModel<import("@spiffcommerce/papyrus").OptionResource> | undefined>;
1268
+ getAvailableColors(): Promise<{
1269
+ fill: string | undefined;
1270
+ stroke: string | undefined;
1271
+ variant: _VariantResource1;
1272
+ }[] | {
1273
+ fill: string;
1274
+ stroke: string;
1275
+ }[]>;
1276
+ hasVaryingSelection(): boolean | undefined;
1277
+ hasVaryingColors(): boolean | undefined;
1278
+ isColorPickerEnabled(): boolean;
1267
1279
  }
1268
1280
  export class PictureStepHandle extends StepHandle<_PictureStepData1> {
1269
1281
  constructor(manager: WorkflowManager, step: _Step1<_PictureStepData1>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.91",
3
+ "version": "0.10.92",
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",