@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.
Binary file
@@ -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
  /**