exodeui 6.2.9 → 6.2.11

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.
@@ -22,6 +22,15 @@ export interface ExodeUICanvasProps {
22
22
  onInputBlur?: (name: string) => void;
23
23
  onLog?: (msg: string) => void;
24
24
  onLogicUpdate?: (values: Record<string, any>) => void;
25
+ onButtonClick?: (name: string, objectId: string) => void;
26
+ onGraphPointClick?: (event: {
27
+ objectId: string;
28
+ componentName: string;
29
+ datasetIndex: number;
30
+ pointIndex: number;
31
+ value: number;
32
+ label: string;
33
+ }) => void;
25
34
  currentTime?: number;
26
35
  revision?: number;
27
36
  scrollY?: number;
@@ -26,6 +26,8 @@ export declare class ExodeUIEngine {
26
26
  private onInputFocus?;
27
27
  private onInputBlur?;
28
28
  private onLog?;
29
+ private onButtonClick?;
30
+ private onGraphPointClick?;
29
31
  private justFiredTriggers;
30
32
  private rootTransform;
31
33
  private canvasWidth;
@@ -56,6 +58,15 @@ export declare class ExodeUIEngine {
56
58
  setToggleCallback(cb: (name: string, checked: boolean) => void): void;
57
59
  setLogicUpdateCallback(cb: (values: Record<string, any>) => void): void;
58
60
  setInputChangeCallback(cb: (name: string, text: string) => void): void;
61
+ setButtonClickCallback(cb: (name: string, objectId: string) => void): void;
62
+ setGraphPointClickCallback(cb: (event: {
63
+ objectId: string;
64
+ componentName: string;
65
+ datasetIndex: number;
66
+ pointIndex: number;
67
+ value: number;
68
+ label: string;
69
+ }) => void): void;
59
70
  private ensurePathPoints;
60
71
  private svgPathToPoints;
61
72
  setOnLogCallback(cb: (msg: string) => void): void;
@@ -474,7 +474,7 @@ export interface ShapeObject {
474
474
  id: string;
475
475
  name: string;
476
476
  transform: Transform;
477
- geometry: Geometry;
477
+ geometry?: Geometry;
478
478
  style: Style;
479
479
  parentId?: string;
480
480
  children?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "6.2.9",
3
+ "version": "6.2.11",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",