@spiffcommerce/theme-bridge 1.4.0 → 1.5.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 +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,18 @@ import { GetWorkflowOptions } from '@spiffcommerce/core';
|
|
|
3
3
|
interface SpiffThemeContextBase {
|
|
4
4
|
applicationKey: string;
|
|
5
5
|
configuration: SpiffThemeInstallConfiguration;
|
|
6
|
+
/**
|
|
7
|
+
* The HTML element to render your Spiff theme into.
|
|
8
|
+
*/
|
|
6
9
|
container: HTMLElement;
|
|
10
|
+
/**
|
|
11
|
+
* The ISO 4217 currency code to present prices in.
|
|
12
|
+
*/
|
|
7
13
|
currency?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Whether the iframe is embedded into the main page content or displayed in a modal.
|
|
16
|
+
*/
|
|
17
|
+
embedMode?: boolean;
|
|
8
18
|
}
|
|
9
19
|
interface GetNewBundleOptions {
|
|
10
20
|
productCollectionId?: string;
|