@excalidraw/excalidraw 0.15.1-b64beaf → 0.15.2-2a4799d

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": "@excalidraw/excalidraw",
3
- "version": "0.15.1-b64beaf",
3
+ "version": "0.15.2-2a4799d",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -32,6 +32,7 @@ export declare const getLineHeightInPx: (fontSize: ExcalidrawTextElement["fontSi
32
32
  export declare const getApproxMinLineHeight: (fontSize: ExcalidrawTextElement["fontSize"], lineHeight: ExcalidrawTextElement["lineHeight"]) => number;
33
33
  export declare const getTextWidth: (text: string, font: FontString) => number;
34
34
  export declare const getTextHeight: (text: string, fontSize: number, lineHeight: ExcalidrawTextElement["lineHeight"]) => number;
35
+ export declare const parseTokens: (text: string) => string[];
35
36
  export declare const wrapText: (text: string, font: FontString, maxWidth: number) => string;
36
37
  export declare const charWidth: {
37
38
  calculate: (char: string, font: FontString) => number;