@nous-excalidraw/math 0.18.2-beta.1 → 0.18.2-beta.2

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.
@@ -235,6 +235,8 @@ export declare const ZOOM_STEP_COARSE_THRESHOLD = 0.1;
235
235
  * - zoom in: 10% when current zoom is at or above 10%
236
236
  * - zoom out: 10% only when current zoom is above 10%
237
237
  */
238
+ export declare const getDisplayedZoomPercent: (zoomValue: number) => number;
239
+ export declare const getDisplayedZoomValue: (zoomValue: number) => number;
238
240
  export declare const getInteractiveZoomStep: (zoomValue: number, direction?: "in" | "out") => number;
239
241
  /** Initial canvas zoom on app start (15%). */
240
242
  export declare const INITIAL_CANVAS_ZOOM = 0.15;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nous-excalidraw/math",
3
- "version": "0.18.2-beta.1",
3
+ "version": "0.18.2-beta.2",
4
4
  "type": "module",
5
5
  "types": "./dist/types/math/src/index.d.ts",
6
6
  "main": "./dist/prod/index.js",
@@ -61,6 +61,6 @@
61
61
  "build:esm": "rimraf dist && node ../../scripts/buildBase.js && yarn gen:types"
62
62
  },
63
63
  "dependencies": {
64
- "@nous-excalidraw/common": "0.18.2-beta.1"
64
+ "@nous-excalidraw/common": "0.18.2-beta.2"
65
65
  }
66
66
  }