@leafer-ui/interface 1.0.0-rc.2 → 1.0.0-rc.3

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.0-rc.2",
3
+ "version": "1.0.0-rc.3",
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.0-rc.2"
25
+ "@leafer/interface": "1.0.0-rc.3"
26
26
  }
27
27
  }
package/src/IUI.ts CHANGED
@@ -138,6 +138,9 @@ export interface ITextRowData {
138
138
  data?: ITextCharData[]
139
139
  words?: ITextWordData[]
140
140
 
141
+ startCharSize?: number
142
+ endCharSize?: number
143
+
141
144
  paraStart?: boolean // paragraph start
142
145
  paraEnd?: boolean // paragraph end
143
146
  isOverflow?: boolean
package/types/index.d.ts CHANGED
@@ -391,6 +391,8 @@ interface ITextRowData {
391
391
  text?: string;
392
392
  data?: ITextCharData[];
393
393
  words?: ITextWordData[];
394
+ startCharSize?: number;
395
+ endCharSize?: number;
394
396
  paraStart?: boolean;
395
397
  paraEnd?: boolean;
396
398
  isOverflow?: boolean;