@cesdk/engine 1.42.0-rc.0 → 1.42.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/index.d.ts CHANGED
@@ -1038,6 +1038,8 @@ export declare class BlockAPI {
1038
1038
  getHeightMode(id: DesignBlockId): SizeMode;
1039
1039
  /**
1040
1040
  * Update a block's width and optionally maintain the crop.
1041
+ * If the crop is maintained, the crop values will be automatically adjusted.
1042
+ * The content fill mode `Cover` is only kept if the `features/transformEditsRetainCoverMode` setting is enabled, otherwise it will change to `Crop`.
1041
1043
  * Required scope: 'layer/resize'
1042
1044
  * @param id - The block to update.
1043
1045
  * @param value - The new width of the block.
@@ -1053,6 +1055,8 @@ export declare class BlockAPI {
1053
1055
  setWidthMode(id: DesignBlockId, mode: SizeMode): void;
1054
1056
  /**
1055
1057
  * Update a block's height and optionally maintain the crop.
1058
+ * If the crop is maintained, the crop values will be automatically adjusted.
1059
+ * The content fill mode `Cover` is only kept if the `features/transformEditsRetainCoverMode` setting is enabled, otherwise it will change to `Crop`.
1056
1060
  * Required scope: 'layer/resize'
1057
1061
  * @param id - The block to update.
1058
1062
  * @param value - The new height of the block.