exodeui 6.0.34 → 6.0.38

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.
@@ -51,6 +51,8 @@ export declare class ExodeUIEngine {
51
51
  setComponentChangeCallback(cb: (event: ComponentEvent) => void): void;
52
52
  setToggleCallback(cb: (name: string, checked: boolean) => void): void;
53
53
  setInputChangeCallback(cb: (name: string, text: string) => void): void;
54
+ private ensurePathPoints;
55
+ private svgPathToPoints;
54
56
  setOnLogCallback(cb: (msg: string) => void): void;
55
57
  private debugLog;
56
58
  setInputFocusCallback(cb: (name: string) => void): void;
@@ -64,6 +66,16 @@ export declare class ExodeUIEngine {
64
66
  updateObjectOptions(id: string, newOptions: any): void;
65
67
  updateGraphData(nameOrId: string, data: number[]): void;
66
68
  load(data: Artboard): void;
69
+ /**
70
+ * Pre-loads all images found in the artboard into the image cache.
71
+ * This ensures base64 images from Figma exports are decoded before the first render frame.
72
+ */
73
+ private preloadImages;
74
+ /**
75
+ * Decompresses strings that were compressed during export.
76
+ * Matches the Editor's optimization pipeline.
77
+ */
78
+ private decompressStrings;
67
79
  reset(): void;
68
80
  private updateAutoLayout;
69
81
  private loadFonts;
@@ -146,4 +158,5 @@ export declare class ExodeUIEngine {
146
158
  private applyBehaviorSensor;
147
159
  private lerp;
148
160
  private deepMerge;
161
+ private renderFittedImage;
149
162
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "6.0.34",
3
+ "version": "6.0.38",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -42,7 +42,9 @@
42
42
  "dependencies": {
43
43
  "@chenglou/pretext": "^0.0.3",
44
44
  "@dimforge/rapier2d-compat": "^0.19.3",
45
+ "@types/lz-string": "1.3.34",
45
46
  "fflate": "^0.8.2",
47
+ "lz-string": "1.5.0",
46
48
  "msgpackr": "^1.11.9"
47
49
  }
48
50
  }