@aurigma/design-atoms-interfaces 1.0.10 → 1.0.12
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.
|
@@ -18,6 +18,8 @@ export interface ISetPrintAreasOptions {
|
|
|
18
18
|
replaceAll?: boolean;
|
|
19
19
|
/** If `true`, changes the surface size to match the new print area or surface. If it's `false` and a mockup is defined, then the surface size remains unchanged. By default, `updateSurfaceSize` is `false`, and the surface size changes only if no mockups are specified. */
|
|
20
20
|
updateSurfaceSize?: boolean;
|
|
21
|
+
/** If true, clears user-deleted items after merging */
|
|
22
|
+
clearRemovedItems?: boolean;
|
|
21
23
|
}
|
|
22
24
|
export interface IUpdateSurfaceOptions<TProduct> extends ISetPrintAreasOptions {
|
|
23
25
|
product: TProduct;
|
|
@@ -27,4 +29,6 @@ export interface IUpdateSurfaceOptions<TProduct> extends ISetPrintAreasOptions {
|
|
|
27
29
|
newProductSurfaces?: number[];
|
|
28
30
|
/** Defines how new surfaces will replace existing surfaces in the product. If `changeSurfaceLength`, removes all pages in the product and replaces them with pages of the new product. */
|
|
29
31
|
updateBehavior?: UpdateSurfaceBehavior;
|
|
32
|
+
/** If "fit" after updating the surface, the zoom mode `ZoomMode.bestFit` will be set. Default "fit" */
|
|
33
|
+
zoomModeAfterUpdate?: "fit" | "current";
|
|
30
34
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@aurigma/design-atoms-interfaces","version":"1.0.
|
|
1
|
+
{"name":"@aurigma/design-atoms-interfaces","version":"1.0.12","description":"","main":"index.js","author":"Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)","license":"SEE LICENSE IN License.md","keywords":["customer's canvas","web-to-print","image manipulation","design","personalization","web-to-print editor","design editor"]}
|