@leafer-in/html 1.0.0-rc.27 → 1.0.0-rc.30

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-in/html",
3
- "version": "1.0.0-rc.27",
3
+ "version": "1.0.0-rc.30",
4
4
  "description": "@leafer-in/html",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -34,8 +34,8 @@
34
34
  "leaferjs"
35
35
  ],
36
36
  "dependencies": {
37
- "@leafer-ui/draw": "1.0.0-rc.27",
38
- "@leafer-ui/interface": "1.0.0-rc.27",
39
- "@leafer-in/interface": "1.0.0-rc.27"
37
+ "@leafer-ui/draw": "1.0.0-rc.30",
38
+ "@leafer-ui/interface": "1.0.0-rc.30",
39
+ "@leafer-in/interface": "1.0.0-rc.30"
40
40
  }
41
41
  }
package/src/HTMLText.ts CHANGED
@@ -15,7 +15,7 @@ export class HTMLText extends Image implements IImage {
15
15
  declare public __: IHTMLTextData
16
16
 
17
17
  @boundsType('')
18
- public text: IString
18
+ public text?: IString
19
19
 
20
20
  constructor(data?: IHTMLTextInputData) {
21
21
  super(data)
package/types/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import { IHTMLTextData, IHTMLTextInputData } from '@leafer-in/interface';
5
5
  declare class HTMLText extends Image implements IImage {
6
6
  get __tag(): string;
7
7
  __: IHTMLTextData;
8
- text: IString;
8
+ text?: IString;
9
9
  constructor(data?: IHTMLTextInputData);
10
10
  __updateBoxBounds(): void;
11
11
  }