@cratis/event-models 0.144.5 → 0.145.0

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.
@@ -3,4 +3,4 @@ import type { BoardCanvasChrome } from './BoardCanvasChrome';
3
3
  export interface BoardCanvasProps extends Omit<CanvasProps, 'controlsLabels' | 'controlsIcons' | 'controlsGlassSurface' | 'captureAttributes' | 'controlsFollowViewportInsets' | 'readOnly'> {
4
4
  chrome?: BoardCanvasChrome;
5
5
  }
6
- export declare const BoardCanvas: ({ chrome, onHelp, helpTitle, ...props }: BoardCanvasProps) => import("react").JSX.Element;
6
+ export declare const BoardCanvas: ({ chrome, onHelp, helpTitle, onTransformChange, ...props }: BoardCanvasProps) => import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const DEFAULT_MIN_ZOOM = 0.1;
2
+ export declare const DEFAULT_MAX_ZOOM = 5;
3
+ export declare const zoomWheelHasNoEffect: (event: {
4
+ ctrlKey: boolean;
5
+ metaKey: boolean;
6
+ deltaY: number;
7
+ }, zoom: number, minZoom: number, maxZoom: number) => boolean;