@leafer-ui/interface 1.0.3 → 1.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/interface",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "@leafer-ui/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,6 +22,6 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/interface": "1.0.3"
25
+ "@leafer/interface": "1.0.4"
26
26
  }
27
27
  }
package/src/IUI.ts CHANGED
@@ -408,7 +408,7 @@ export interface IUI extends IUIAttrData, IFillAttrData, IStrokeAttrData, ICorne
408
408
  killAnimate(type?: IAnimateType): void
409
409
 
410
410
  export(filename: string, options?: IExportOptions | number | boolean): Promise<IExportResult>
411
- clone(newData?: IUIInputData): IUI
411
+ clone(data?: IUIInputData): IUI
412
412
  }
413
413
 
414
414
 
package/types/index.d.ts CHANGED
@@ -849,7 +849,7 @@ interface IUI extends IUIAttrData, IFillAttrData, IStrokeAttrData, ICornerRadius
849
849
  animate(keyframe?: IUIInputData | IKeyframe[] | IAnimation, options?: ITransition, type?: IAnimateType, isTemp?: boolean): IAnimate;
850
850
  killAnimate(type?: IAnimateType): void;
851
851
  export(filename: string, options?: IExportOptions | number | boolean): Promise<IExportResult>;
852
- clone(newData?: IUIInputData): IUI;
852
+ clone(data?: IUIInputData): IUI;
853
853
  }
854
854
  interface IStateStyle extends IUIInputData {
855
855
  }