@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/assets/core/cesdk.wasm
CHANGED
|
Binary file
|
package/cesdk-engine.umd.d.ts
CHANGED
|
@@ -538,6 +538,12 @@ export declare class BlockAPI {
|
|
|
538
538
|
* @param flip - If the flip should be enabled.
|
|
539
539
|
*/
|
|
540
540
|
setFlipVertical(id: DesignBlockId, flip: boolean): void;
|
|
541
|
+
/**
|
|
542
|
+
* Query if the given block shows placeholder content.
|
|
543
|
+
* @param id - The block to query.
|
|
544
|
+
* @returns true, if the block shows placeholder content.
|
|
545
|
+
*/
|
|
546
|
+
hasPlaceholderContent(id: DesignBlockId): boolean;
|
|
541
547
|
/**
|
|
542
548
|
* Query a block's width.
|
|
543
549
|
* @param id - The block to query.
|
|
@@ -1989,13 +1995,11 @@ declare type TemplateDefinition = Preset & {
|
|
|
1989
1995
|
/** @public */
|
|
1990
1996
|
declare type TypefaceDefinition = Preset & {
|
|
1991
1997
|
family: string;
|
|
1992
|
-
fonts:
|
|
1993
|
-
{
|
|
1998
|
+
fonts: {
|
|
1994
1999
|
fontURL: string;
|
|
1995
2000
|
weight: FontWeight;
|
|
1996
2001
|
style: FontStyle;
|
|
1997
|
-
}
|
|
1998
|
-
];
|
|
2002
|
+
}[];
|
|
1999
2003
|
};
|
|
2000
2004
|
|
|
2001
2005
|
/**
|