@cesdk/engine 1.53.0-nightly.20250527 → 1.53.0-nightly.20250529

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
@@ -1118,6 +1118,7 @@ export declare class BlockAPI {
1118
1118
  * Update a block's height and optionally maintain the crop.
1119
1119
  * If the crop is maintained, the crop values will be automatically adjusted.
1120
1120
  * The content fill mode `Cover` is only kept if the `features/transformEditsRetainCoverMode` setting is enabled, otherwise it will change to `Crop`.
1121
+ * If the size of a group is changed, both dimensions are modified and the aspect ratio of the group is kept.
1121
1122
  * Required scope: 'layer/resize'
1122
1123
  * @param id - The block to update.
1123
1124
  * @param value - The new height of the block.
@@ -1180,7 +1181,7 @@ export declare class BlockAPI {
1180
1181
  * @param id - The block to duplicate.
1181
1182
  * @returns The handle of the duplicate.
1182
1183
  */
1183
- duplicate(id: DesignBlockId): DesignBlockId;
1184
+ duplicate(id: DesignBlockId, attachToParent?: boolean): DesignBlockId;
1184
1185
  /**
1185
1186
  * Destroys a block.
1186
1187
  * Required scope: 'lifecycle/destroy'
@@ -2674,7 +2675,7 @@ export declare class BlockAPI {
2674
2675
  */
2675
2676
  getDuration(id: DesignBlockId): number;
2676
2677
  /**
2677
- * Set an block as duration source so that the overall page duration is automatically determined by this.
2678
+ * Set a block as duration source so that the overall page duration is automatically determined by this.
2678
2679
  * If no defining block is set, the page duration is calculated over all children.
2679
2680
  * Only one block per page can be marked as duration source. Will automatically unmark the previously marked.
2680
2681
  * Note: This is only supported for blocks that have a duration.