exodeui 2.6.12 → 2.6.13

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
@@ -179,8 +179,26 @@ export interface Physics {
179
179
  frictionAir: number;
180
180
  isSensor: boolean;
181
181
  }
182
+ export interface Constraint {
183
+ id?: string;
184
+ type: 'Translation' | 'Rotation' | 'Scale' | 'Transform' | 'Distance' | 'IK' | 'FollowPath' | 'FollowPointer';
185
+ targetId: string;
186
+ strength: number;
187
+ copyX?: boolean;
188
+ copyY?: boolean;
189
+ limitX?: {
190
+ enabled: boolean;
191
+ min: number;
192
+ max: number;
193
+ };
194
+ limitY?: {
195
+ enabled: boolean;
196
+ min: number;
197
+ max: number;
198
+ };
199
+ }
182
200
  export interface ShapeObject {
183
- type: 'Shape' | 'Group' | 'Component' | 'Frame' | 'Button';
201
+ type: 'Shape' | 'Group' | 'Component' | 'Frame' | 'Button' | 'Bone';
184
202
  id: string;
185
203
  name: string;
186
204
  transform: Transform;
@@ -190,12 +208,15 @@ export interface ShapeObject {
190
208
  children?: string[];
191
209
  triggers?: Trigger[];
192
210
  interactions?: Interaction[];
211
+ constraints?: Constraint[];
193
212
  physics?: Physics;
194
213
  renderAsGroup?: boolean;
195
214
  opacity?: number;
196
215
  visible?: boolean;
197
216
  isVisible?: boolean;
198
217
  blendMode?: string;
218
+ compositeOperation?: string;
219
+ options?: any;
199
220
  }
200
221
  export interface Keyframe {
201
222
  time: number;
@@ -335,3 +356,10 @@ export interface Layout {
335
356
  fit: Fit;
336
357
  alignment: Alignment;
337
358
  }
359
+ export interface ComponentEvent {
360
+ objectId: string;
361
+ componentName: string;
362
+ variant: string;
363
+ property: string;
364
+ value: any;
365
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "2.6.12",
3
+ "version": "2.6.13",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",