@galacean/effects-specification 2.3.0 → 2.3.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.
@@ -1,4 +1,4 @@
1
- import type { BaseItem, EndBehavior, MaskOptions } from './base-item';
1
+ import type { BaseItem, EndBehavior, MaskOptions, ObscuredOptions } from './base-item';
2
2
  import type { ItemType } from '../type';
3
3
  import type { BaseTextContentOptions, TextComponentData, TextContent } from './text-item';
4
4
  import type { vec2 } from '../number-expression';
@@ -45,5 +45,5 @@ export interface RichTextComponentData extends Omit<TextComponentData, 'options'
45
45
  /**
46
46
  * 富文本元素蒙版属性,传入表示需要作为蒙版/被遮挡/反向遮挡
47
47
  */
48
- mask?: MaskOptions;
48
+ mask?: MaskOptions | ObscuredOptions;
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-specification",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Galacean Effects JSON Specification",
5
5
  "module": "./es/index.js",
6
6
  "main": "./es/index.js",