exodeui 2.6.12 → 2.6.14

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
@@ -87,6 +87,13 @@ export type Geometry = {
87
87
  textCase?: 'none' | 'uppercase' | 'lowercase' | 'capitalize';
88
88
  paragraphSpacing?: number;
89
89
  textInputId?: string;
90
+ segments?: {
91
+ text: string;
92
+ fill: Fill;
93
+ fontSize?: number;
94
+ fontFamily?: string;
95
+ fontWeight?: string | number;
96
+ }[];
90
97
  } | {
91
98
  type: 'Triangle';
92
99
  width: number;
@@ -179,8 +186,26 @@ export interface Physics {
179
186
  frictionAir: number;
180
187
  isSensor: boolean;
181
188
  }
189
+ export interface Constraint {
190
+ id?: string;
191
+ type: 'Translation' | 'Rotation' | 'Scale' | 'Transform' | 'Distance' | 'IK' | 'FollowPath' | 'FollowPointer';
192
+ targetId: string;
193
+ strength: number;
194
+ copyX?: boolean;
195
+ copyY?: boolean;
196
+ limitX?: {
197
+ enabled: boolean;
198
+ min: number;
199
+ max: number;
200
+ };
201
+ limitY?: {
202
+ enabled: boolean;
203
+ min: number;
204
+ max: number;
205
+ };
206
+ }
182
207
  export interface ShapeObject {
183
- type: 'Shape' | 'Group' | 'Component' | 'Frame' | 'Button';
208
+ type: 'Shape' | 'Group' | 'Component' | 'Frame' | 'Button' | 'Bone';
184
209
  id: string;
185
210
  name: string;
186
211
  transform: Transform;
@@ -190,12 +215,15 @@ export interface ShapeObject {
190
215
  children?: string[];
191
216
  triggers?: Trigger[];
192
217
  interactions?: Interaction[];
218
+ constraints?: Constraint[];
193
219
  physics?: Physics;
194
220
  renderAsGroup?: boolean;
195
221
  opacity?: number;
196
222
  visible?: boolean;
197
223
  isVisible?: boolean;
198
224
  blendMode?: string;
225
+ compositeOperation?: string;
226
+ options?: any;
199
227
  }
200
228
  export interface Keyframe {
201
229
  time: number;
@@ -335,3 +363,10 @@ export interface Layout {
335
363
  fit: Fit;
336
364
  alignment: Alignment;
337
365
  }
366
+ export interface ComponentEvent {
367
+ objectId: string;
368
+ componentName: string;
369
+ variant: string;
370
+ property: string;
371
+ value: any;
372
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "2.6.12",
3
+ "version": "2.6.14",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",