@canva/design 1.3.0 → 1.4.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.
Files changed (2) hide show
  1. package/index.d.ts +4 -1
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -97,7 +97,10 @@ export declare type AppElementRenderer<A extends AppElementData> = (
97
97
  * A return value of {@link AppElementRenderer} function.
98
98
  * It is an array of elements to render within an app element.
99
99
  */
100
- export declare type AppElementRendererOutput = NativeSimpleElementWithBox[];
100
+ export declare type AppElementRendererOutput = Exclude<
101
+ NativeSimpleElementWithBox,
102
+ NativeVideoElementWithBox
103
+ >[];
101
104
 
102
105
  /**
103
106
  * @public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canva/design",
3
- "version": "1.3.0",
3
+ "version": "1.4.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",
@@ -16,4 +16,4 @@
16
16
  }
17
17
  },
18
18
  "typings": "./index.d.ts"
19
- }
19
+ }