@galacean/effects-specification 2.7.0 → 2.7.2

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/es/assets.d.ts CHANGED
@@ -81,7 +81,7 @@ export interface Image extends AssetBase {
81
81
  }
82
82
  export interface VideoInfo extends AssetBase {
83
83
  hevc?: {
84
- url: string | HTMLVideoElement;
84
+ url: string;
85
85
  codec: HevcVideoCodec;
86
86
  };
87
87
  }
@@ -43,7 +43,7 @@ export interface RichTextContentOptions extends BaseTextContentOptions {
43
43
  * 尺寸模式
44
44
  * @default TextSizeMode.autoWidth
45
45
  */
46
- sizeMode?: TextSizeMode;
46
+ autoResize?: TextSizeMode;
47
47
  }
48
48
  /**
49
49
  * 富文本元素渲染属性
package/es/type.d.ts CHANGED
@@ -205,7 +205,7 @@ export interface TextureSheetAnimation {
205
205
  /**
206
206
  * 图层帧动画是否循环播放
207
207
  */
208
- loop: boolean;
208
+ loop?: boolean;
209
209
  }
210
210
  /**
211
211
  * 精灵图坐标属性
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-specification",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "description": "Galacean Effects JSON Specification",
5
5
  "module": "./es/index.js",
6
6
  "main": "./es/index.js",