@cesdk/node 1.45.0 → 1.202502.25-nightly
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/assets/core/{cesdk-v1.45.0-XHZXX7DG.data → cesdk-v1.202502.25-nightly-44YCFRT6.data}
RENAMED
|
Binary file
|
package/assets/core/{cesdk-v1.45.0-C3IDQBDF.wasm → cesdk-v1.202502.25-nightly-EY4XQJQ7.wasm}
RENAMED
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -1490,6 +1490,7 @@ export declare class BlockAPI {
|
|
|
1490
1490
|
getSourceSet(id: DesignBlockId, property: string): Source[];
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Set the property of the given block.
|
|
1493
|
+
* The crop and content fill mode of the associated block will be set to the default values.
|
|
1493
1494
|
* @param id - The block whose property should be set.
|
|
1494
1495
|
* @param property - The name of the property to set.
|
|
1495
1496
|
* @param sourceSet - The block's new source set.
|
|
@@ -1498,6 +1499,8 @@ export declare class BlockAPI {
|
|
|
1498
1499
|
/**
|
|
1499
1500
|
* Add a source to the `sourceSet` property of the given block.
|
|
1500
1501
|
* If there already exists in source set an image with the same width, that existing image will be replaced.
|
|
1502
|
+
* If the source set is or gets empty, the crop and content fill mode of the associated block will be set to the default values.
|
|
1503
|
+
* Note: This fetches the resource from the given URI to obtain the image dimensions. It is recommended to use setSourceSet if the dimension is known.
|
|
1501
1504
|
* @param id - The block to update.
|
|
1502
1505
|
* @param property - The name of the property to modify.
|
|
1503
1506
|
* @param uri - The source to add to the source set.
|
|
@@ -1506,6 +1509,8 @@ export declare class BlockAPI {
|
|
|
1506
1509
|
/**
|
|
1507
1510
|
* Add a video file URI to the `sourceSet` property of the given block.
|
|
1508
1511
|
* If there already exists in source set an video with the same width, that existing video will be replaced.
|
|
1512
|
+
* If the source set is or gets empty, the crop and content fill mode of the associated block will be set to the default values.
|
|
1513
|
+
* Note: This fetches the resource from the given URI to obtain the video dimensions. It is recommended to use setSourceSet if the dimension is known.
|
|
1509
1514
|
* @param id - The block to update.
|
|
1510
1515
|
* @param property - The name of the property to modify.
|
|
1511
1516
|
* @param uri - The source to add to the source set.
|