@tldraw/core
Advanced tools
Comparing version 1.12.0 to 1.13.0
@@ -8,2 +8,3 @@ import * as React from 'react'; | ||
snapLines?: TLSnapLine[]; | ||
eraseLine?: number[][]; | ||
grid?: number; | ||
@@ -27,3 +28,3 @@ users?: TLUsers<T>; | ||
} | ||
export declare const Canvas: (<T extends TLShape, M extends Record<string, unknown>>({ id, page, pageState, assets, snapLines, grid, users, userId, meta, performanceMode, externalContainerRef, showDashedBrush, hideHandles, hideBounds, hideIndicators, hideBindingHandles, hideCloneHandles, hideResizeHandles, hideRotateHandle, hideGrid, onBoundsChange, }: CanvasProps<T, M>) => JSX.Element) & { | ||
export declare const Canvas: (<T extends TLShape, M extends Record<string, unknown>>({ id, page, pageState, assets, snapLines, eraseLine, grid, users, userId, meta, performanceMode, externalContainerRef, showDashedBrush, hideHandles, hideBounds, hideIndicators, hideBindingHandles, hideCloneHandles, hideResizeHandles, hideRotateHandle, hideGrid, onBoundsChange, }: CanvasProps<T, M>) => JSX.Element) & { | ||
displayName: string; | ||
@@ -30,0 +31,0 @@ }; |
@@ -43,2 +43,6 @@ import * as React from 'react'; | ||
/** | ||
* (optional) The current erase line to render. | ||
*/ | ||
eraseLine?: number[][]; | ||
/** | ||
* (optional) The current user's id, used to identify the user. | ||
@@ -113,5 +117,5 @@ */ | ||
*/ | ||
export declare const Renderer: (<T extends TLShape, M extends Record<string, unknown>>({ id, shapeUtils, page, pageState, assets, users, userId, theme, meta, snapLines, grid, containerRef, performanceMode, hideHandles, hideIndicators, hideCloneHandles, hideBindingHandles, hideResizeHandles, hideRotateHandles, hideBounds, hideGrid, showDashedBrush, ...rest }: RendererProps<T, M>) => JSX.Element) & { | ||
export declare const Renderer: (<T extends TLShape, M extends Record<string, unknown>>({ id, shapeUtils, page, pageState, assets, users, userId, theme, meta, snapLines, eraseLine, grid, containerRef, performanceMode, hideHandles, hideIndicators, hideCloneHandles, hideBindingHandles, hideResizeHandles, hideRotateHandles, hideBounds, hideGrid, showDashedBrush, ...rest }: RendererProps<T, M>) => JSX.Element) & { | ||
displayName: string; | ||
}; | ||
//# sourceMappingURL=Renderer.d.ts.map |
{ | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"name": "@tldraw/core", | ||
@@ -44,2 +44,3 @@ "description": "The tldraw core renderer and utilities.", | ||
"mobx-react-lite": "^3.2.3", | ||
"perfect-freehand": "^1.1.0", | ||
"resize-observer-polyfill": "^1.5.1" | ||
@@ -46,0 +47,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
843693
163
8819
8
+ Addedperfect-freehand@^1.1.0
+ Addedperfect-freehand@1.2.2(transitive)