exodeui 6.3.13 → 6.3.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.
@@ -151,6 +151,7 @@ export declare class ExodeUIEngine {
151
151
  private handlePointerEvent;
152
152
  handleKeyDown(e: KeyboardEvent): void;
153
153
  private fireEventForObject;
154
+ private fireAnalyticsEvent;
154
155
  private initGlobalAnimationTriggers;
155
156
  private triggerGlobalAnimation;
156
157
  private handleAnimationFinished;
@@ -166,6 +166,22 @@ export interface Adjustments {
166
166
  shadows?: number;
167
167
  blur?: number;
168
168
  }
169
+ export interface AnalyticsParameter {
170
+ key: string;
171
+ value: string;
172
+ type: 'literal' | 'variable';
173
+ }
174
+ export interface AnalyticsConfig {
175
+ isEnabled: boolean;
176
+ eventName: string;
177
+ triggerType: 'click' | 'hover' | 'visible';
178
+ platforms: {
179
+ ga4: boolean;
180
+ meta: boolean;
181
+ mixpanel: boolean;
182
+ };
183
+ parameters: AnalyticsParameter[];
184
+ }
169
185
  export interface Style {
170
186
  fill?: Fill;
171
187
  stroke?: {
@@ -191,6 +207,7 @@ export interface Style {
191
207
  liquidFill?: LiquidFillConfig;
192
208
  artEffect?: ArtEffectConfig;
193
209
  palette?: string[];
210
+ analytics?: AnalyticsConfig;
194
211
  }
195
212
  export type Geometry = {
196
213
  type: 'Rectangle';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "6.3.13",
3
+ "version": "6.3.14",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",