@canva/design 2.7.0 → 2.7.1

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
@@ -2620,6 +2620,7 @@ export declare namespace DesignEditing {
2620
2620
  */
2621
2621
  readonly elements: ElementList;
2622
2622
  };
2623
+
2623
2624
  /**
2624
2625
  * @public
2625
2626
  * A page in a design.
@@ -2630,6 +2631,7 @@ export declare namespace DesignEditing {
2630
2631
  * - Additional page types may be supported in future releases.
2631
2632
  */
2632
2633
  export type Page = AbsolutePage | Unsupported;
2634
+
2633
2635
  {
2634
2636
  }
2635
2637
  }
@@ -3234,6 +3236,7 @@ export declare type FontWeight =
3234
3236
  export declare const getCurrentPageContext: () => Promise<PageContext>;
3235
3237
 
3236
3238
  /**
3239
+ * @deprecated
3237
3240
  * @public
3238
3241
  * Gets the default dimensions that a new page will have when it is added to a design.
3239
3242
  * It is possible for a user to resize a page without resizing the entire design, e.g. by clicking
@@ -9,10 +9,6 @@ Object.defineProperty(exports, "FakeDesignInteractionClient", {
9
9
  }
10
10
  });
11
11
  class FakeDesignInteractionClient {
12
- async getDesignTitle() {
13
- await this.delay();
14
- return 'title';
15
- }
16
12
  async getDesignToken() {
17
13
  await this.delay();
18
14
  return {
@@ -1,8 +1,4 @@
1
1
  export class FakeDesignInteractionClient {
2
- async getDesignTitle() {
3
- await this.delay();
4
- return 'title';
5
- }
6
2
  async getDesignToken() {
7
3
  await this.delay();
8
4
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canva/design",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "The Canva Apps SDK design library",
5
5
  "author": "Canva Pty Ltd.",
6
6
  "license": "SEE LICENSE IN LICENSE.md FILE",