@cesdk/cesdk-js 1.6.0 → 1.6.3
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.wasm +0 -0
- package/cesdk-engine.umd.d.ts +8 -4
- package/cesdk-engine.umd.js +1 -1
- package/cesdk.umd.js +1 -1
- package/index.d.ts +8 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -373,6 +373,12 @@ export declare class BlockAPI {
|
|
|
373
373
|
* @param flip - If the flip should be enabled.
|
|
374
374
|
*/
|
|
375
375
|
setFlipVertical(id: DesignBlockId, flip: boolean): void;
|
|
376
|
+
/**
|
|
377
|
+
* Query if the given block shows placeholder content.
|
|
378
|
+
* @param id - The block to query.
|
|
379
|
+
* @returns true, if the block shows placeholder content.
|
|
380
|
+
*/
|
|
381
|
+
hasPlaceholderContent(id: DesignBlockId): boolean;
|
|
376
382
|
/**
|
|
377
383
|
* Query a block's width.
|
|
378
384
|
* @param id - The block to query.
|
|
@@ -2039,13 +2045,11 @@ export declare interface Translations {
|
|
|
2039
2045
|
/** @public */
|
|
2040
2046
|
declare type TypefaceDefinition = Preset & {
|
|
2041
2047
|
family: string;
|
|
2042
|
-
fonts:
|
|
2043
|
-
{
|
|
2048
|
+
fonts: {
|
|
2044
2049
|
fontURL: string;
|
|
2045
2050
|
weight: FontWeight;
|
|
2046
2051
|
style: FontStyle;
|
|
2047
|
-
}
|
|
2048
|
-
];
|
|
2052
|
+
}[];
|
|
2049
2053
|
};
|
|
2050
2054
|
|
|
2051
2055
|
declare interface UIOptionsForSingleDesignUnit {
|