@canva/design 2.7.1-beta.0 → 2.7.2-beta.0

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/beta.d.ts CHANGED
@@ -2625,6 +2625,7 @@ export declare namespace DesignEditing {
2625
2625
  */
2626
2626
  readonly elements: ElementList;
2627
2627
  };
2628
+
2628
2629
  /**
2629
2630
  * @public
2630
2631
  * A page in a design.
@@ -2635,6 +2636,7 @@ export declare namespace DesignEditing {
2635
2636
  * - Additional page types may be supported in future releases.
2636
2637
  */
2637
2638
  export type Page = AbsolutePage | Unsupported;
2639
+
2638
2640
  {
2639
2641
  }
2640
2642
  }
@@ -3325,6 +3327,7 @@ export declare type FontWeight =
3325
3327
  export declare const getCurrentPageContext: () => Promise<PageContext>;
3326
3328
 
3327
3329
  /**
3330
+ * @deprecated
3328
3331
  * @public
3329
3332
  * Gets the default dimensions that a new page will have when it is added to a design.
3330
3333
  * 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.1-beta.0",
3
+ "version": "2.7.2-beta.0",
4
4
  "description": "The Canva Apps SDK design library",
5
5
  "author": "Canva Pty Ltd.",
6
6
  "license": "SEE LICENSE IN LICENSE.md FILE",