@teachinglab/omd 0.3.4 → 0.3.5
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/canvas/core/omdCanvas.js +1 -1
- package/canvas/index.js +0 -1
- package/canvas/ui/toolbar.js +2 -0
- package/index.js +4 -1
- package/package.json +1 -1
package/canvas/core/omdCanvas.js
CHANGED
|
@@ -7,7 +7,7 @@ import { SelectTool } from '../tools/SelectTool.js';
|
|
|
7
7
|
import { Cursor } from '../ui/cursor.js';
|
|
8
8
|
import { Toolbar } from '../ui/toolbar.js';
|
|
9
9
|
import { FocusFrameManager } from '../features/focusFrameManager.js';
|
|
10
|
-
|
|
10
|
+
import {jsvgGroup} from '@teachinglab/jsvg'
|
|
11
11
|
/**
|
|
12
12
|
* Main OMD Canvas class
|
|
13
13
|
* Provides the primary interface for creating and managing a drawing canvas
|
package/canvas/index.js
CHANGED
|
@@ -27,7 +27,6 @@ export { mathUtils } from './utils/mathUtils.js';
|
|
|
27
27
|
|
|
28
28
|
// Focus frame system
|
|
29
29
|
export { FocusFrameManager } from './features/focusFrameManager.js';
|
|
30
|
-
import { omdCanvas } from './core/omdCanvas.js';
|
|
31
30
|
/**
|
|
32
31
|
* Quick setup function for common use cases
|
|
33
32
|
* @param {HTMLElement|string} container - Container element or selector
|
package/canvas/ui/toolbar.js
CHANGED
package/index.js
CHANGED
|
@@ -13,10 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
// Export everything from the core OMD library (equations, nodes, display, etc.)
|
|
15
15
|
export * from './omd/core/index.js';
|
|
16
|
-
|
|
16
|
+
export * from './canvas/index.js';
|
|
17
17
|
// Export everything from the visualization components
|
|
18
18
|
export * from './src/index.js';
|
|
19
19
|
|
|
20
|
+
// Re-export canvas helpers/events so package consumers can import them from the package root
|
|
21
|
+
export { EventManager } from './canvas/events/eventManager.js';
|
|
22
|
+
|
|
20
23
|
// Export utility components
|
|
21
24
|
export { omdNodeOverlay, omdNodeOverlayPresets } from './omd/utils/omdNodeOverlay.js';
|
|
22
25
|
|