@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.
@@ -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
@@ -1,4 +1,6 @@
1
1
  import {omdColor} from '../../src/omdColor.js';
2
+ import { jsvgRect, jsvgGroup } from '@teachinglab/jsvg';
3
+ import { jsvgButton } from '@teachinglab/jsvg';
2
4
 
3
5
  export class Toolbar {
4
6
  /**
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teachinglab/omd",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "omd",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",