exodeui 6.3.9 → 6.3.12

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.
@@ -38,6 +38,7 @@ export declare class ExodeUIEngine {
38
38
  private focusedId;
39
39
  private draggingSliderId;
40
40
  private activeDropdownId;
41
+ private activeObjectId;
41
42
  private draggingListViewId;
42
43
  scrollOffset: {
43
44
  x: number;
@@ -119,6 +120,7 @@ export declare class ExodeUIEngine {
119
120
  setInputStringArray(nameOrId: string, value: string[]): void;
120
121
  updateObjectProperty(id: string, property: string, value: any): void;
121
122
  updateInput(nameOrId: string, value: any): void;
123
+ private evaluateVariableTriggers;
122
124
  private evaluateTransitions;
123
125
  /**
124
126
  * Find a global transition from any state in the layer whose conditions are met.
@@ -547,6 +547,23 @@ export interface Track {
547
547
  property: string;
548
548
  keyframes: Keyframe[];
549
549
  }
550
+ export interface AnimationFlowRule {
551
+ id: string;
552
+ trigger: 'on_load' | 'after_delay' | 'after_anim' | 'on_scroll' | 'manual' | 'variable';
553
+ targetAnimationId: string;
554
+ delay?: number;
555
+ afterAnim?: string;
556
+ conditions?: {
557
+ variable: string;
558
+ operator: string;
559
+ value: any;
560
+ }[];
561
+ subAnimationIds?: string[];
562
+ loop?: boolean;
563
+ conditionVariableId?: string;
564
+ conditionOperator?: string;
565
+ conditionValue?: any;
566
+ }
550
567
  export interface PlayInstance {
551
568
  id: string;
552
569
  trigger: 'on_load' | 'after_delay' | 'after_anim' | 'on_scroll' | 'manual';
@@ -558,6 +575,7 @@ export interface PlayInstance {
558
575
  value: any;
559
576
  }[];
560
577
  subAnimationIds?: string[];
578
+ loop?: boolean;
561
579
  }
562
580
  export interface Animation {
563
581
  id: string;
@@ -748,6 +766,13 @@ export interface Artboard {
748
766
  seo?: SEOConfig;
749
767
  startupAnimationId?: string;
750
768
  startupSubAnimationIds?: string[];
769
+ animationFlow?: AnimationFlowRule[];
770
+ stateVariables?: {
771
+ id: string;
772
+ name: string;
773
+ type: 'Boolean' | 'Number' | 'Trigger';
774
+ value: any;
775
+ }[];
751
776
  lastModified?: number;
752
777
  }
753
778
  export type Fit = 'Cover' | 'Contain' | 'Fill' | 'FitWidth' | 'FitHeight' | 'None' | 'ScaleDown';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "6.3.9",
3
+ "version": "6.3.12",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",