@connectedxm/zpl-generator 0.0.23 → 0.0.24

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.
@@ -20,7 +20,7 @@ export declare function tokenizeWords(value: string): string[][];
20
20
  * Width scales linearly with height: at half the height, each glyph is
21
21
  * roughly half as wide, so twice as many characters fit per line.
22
22
  */
23
- export declare function countLinesAtHeight(field: TextField, value: string, height: number): number;
23
+ export declare function countLinesAtHeight(field: TextField, value: string, height: number, safetyFactor?: number): number;
24
24
  /**
25
25
  * Counts how many lines the field data will occupy inside a ^FB field.
26
26
  * Exported so consuming projects (e.g. React label previews) can reuse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/zpl-generator",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",