@contember/echo 0.0.18 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/config/drawingConfig.d.ts +2 -2
- package/dist/echo.es.js +2059 -2047
- package/dist/echo.umd.js +45 -44
- package/dist/features/drawing/components/Shape.d.ts +3 -5
- package/dist/features/drawing/index.d.ts +0 -3
- package/dist/features/launcher/components/EchoLauncherButton.d.ts +2 -0
- package/dist/stores/drawingStore.d.ts +40 -0
- package/dist/stores/echoStore.d.ts +11 -46
- package/dist/stores/feedbackStore.d.ts +12 -0
- package/dist/stores/index.d.ts +3 -1
- package/dist/stores/widgetStore.d.ts +22 -0
- package/dist/types.d.ts +1 -1
- package/dist/utils/geometry.d.ts +1 -0
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/storage.d.ts +1 -1
- package/dist/utils/svg.d.ts +13 -0
- package/package.json +2 -1
- package/dist/features/drawing/hooks/index.d.ts +0 -3
- package/dist/features/drawing/hooks/useDrag.d.ts +0 -17
- package/dist/features/drawing/hooks/useDrawing.d.ts +0 -11
- package/dist/features/drawing/hooks/useViewport.d.ts +0 -4
- package/dist/features/drawing/types/index.d.ts +0 -21
- package/dist/features/drawing/utils/index.d.ts +0 -2
- package/dist/features/drawing/utils/svg.d.ts +0 -12
- package/dist/features/launcher/components/EchoButton.d.ts +0 -2
- package/dist/stores/welcomeMessageStore.d.ts +0 -4
- package/dist/utils/shape.d.ts +0 -2
- /package/dist/{features/drawing/utils → utils}/events.d.ts +0 -0
@@ -2,7 +2,7 @@ import type { DrawingTool } from '~/types';
|
|
2
2
|
interface ToolConfig {
|
3
3
|
id: DrawingTool;
|
4
4
|
label: string;
|
5
|
-
|
5
|
+
getCursor: (color: string) => string;
|
6
6
|
strokeWidth: {
|
7
7
|
active: number;
|
8
8
|
normal: number;
|
@@ -14,5 +14,5 @@ interface ToolConfig {
|
|
14
14
|
};
|
15
15
|
hysteresis?: number;
|
16
16
|
}
|
17
|
-
export declare const
|
17
|
+
export declare const toolConfig: Record<DrawingTool, ToolConfig>;
|
18
18
|
export {};
|