@zinejs/core 0.7.1 → 0.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinejs/core",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Framework-agnostic flipbook engine with CSS and WebGL2 renderers and no dependencies.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -1,11 +0,0 @@
1
- import type { PageRect, Vec2 } from './foldFromPointer';
2
- export type HitRegion = 'corner' | 'page' | 'outside';
3
- /**
4
- * Classify a page-local point into a hit region.
5
- *
6
- * Coordinates are page-local (see `foldFromPointer`): (0,0) top-left,
7
- * page spanning (0,0)..(width,height). `cornerSize` is the width/height of each
8
- * grabbable corner box. All four corners report `corner`; the engine decides
9
- * which are actually grabbable for the current spread layout (LTR/RTL, cover).
10
- */
11
- export declare function hitTest(point: Vec2, pageRect: PageRect, cornerSize: number): HitRegion;