@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/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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cesdk/cesdk-js",
3
- "version": "1.6.0",
3
+ "version": "1.6.3",
4
4
  "main": "./cesdk.umd.js",
5
5
  "types": "./index.d.ts",
6
6
  "homepage": "https://www.img.ly",