exodeui 2.6.36 → 2.6.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.
package/dist/types.d.ts CHANGED
@@ -198,6 +198,49 @@ export type Geometry = {
198
198
  isClosed?: boolean;
199
199
  is_closed?: boolean;
200
200
  };
201
+ export declare enum BehaviorType {
202
+ Proximity = "Proximity",
203
+ Magnetic = "Magnetic",
204
+ Parallax = "Parallax",
205
+ Velocity = "Velocity",
206
+ Shear = "Shear",
207
+ Repel = "Repel",
208
+ Orbit = "Orbit",
209
+ Elastic = "Elastic",
210
+ Dilation = "Dilation",
211
+ Vortex = "Vortex",
212
+ Fluid = "Fluid",
213
+ Holographic = "Holographic",
214
+ Sticky = "Sticky"
215
+ }
216
+ export declare enum BehaviorSensor {
217
+ Scale = "Scale",
218
+ Opacity = "Opacity",
219
+ RotateZ = "RotateZ",
220
+ RotateX = "RotateX",
221
+ RotateY = "RotateY",
222
+ PositionX = "PositionX",
223
+ PositionY = "PositionY",
224
+ SkewX = "SkewX",
225
+ Blur = "Blur",
226
+ Exposure = "Exposure",
227
+ HueShift = "HueShift",
228
+ Negative = "Negative",
229
+ CornerRadius = "CornerRadius",
230
+ StrokeWidth = "StrokeWidth",
231
+ BoxShadow = "BoxShadow",
232
+ FontSize = "FontSize",
233
+ LetterSpacing = "LetterSpacing"
234
+ }
235
+ export interface Behavior {
236
+ id: string;
237
+ type: BehaviorType;
238
+ enabled: boolean;
239
+ sensors: BehaviorSensor[];
240
+ settings?: Record<string, any>;
241
+ startTime?: number;
242
+ endTime?: number;
243
+ }
201
244
  export interface Trigger {
202
245
  id: string;
203
246
  name: string;
@@ -279,6 +322,7 @@ export interface ShapeObject {
279
322
  maskFeather?: number;
280
323
  maskType?: 'alpha' | 'luma';
281
324
  maskBlendMode?: string;
325
+ behaviors?: Behavior[];
282
326
  }
283
327
  export interface Keyframe {
284
328
  time: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "2.6.36",
3
+ "version": "2.6.38",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -39,8 +39,9 @@
39
39
  "vitest": "^4.0.17"
40
40
  },
41
41
  "dependencies": {
42
+ "@chenglou/pretext": "^0.0.3",
42
43
  "@dimforge/rapier2d-compat": "^0.19.3",
43
44
  "fflate": "^0.8.2",
44
45
  "msgpackr": "^1.11.9"
45
46
  }
46
- }
47
+ }