@lottiefiles/dotlottie-web 0.37.0-beta.7 → 0.37.0-beta.8

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/index.d.cts CHANGED
@@ -131,31 +131,21 @@ interface Config {
131
131
  segment?: [number, number];
132
132
  speed?: number;
133
133
  src?: string;
134
+ themeId?: string;
134
135
  useFrameInterpolation?: boolean;
135
136
  }
136
137
  interface Manifest {
137
- activeAnimationId?: string;
138
138
  animations: Array<{
139
- autoplay?: boolean;
140
- defaultTheme?: string;
141
- direction?: 1 | -1;
142
- hover?: boolean;
139
+ background?: string;
143
140
  id: string;
144
- intermission?: number;
145
- loop?: boolean | number;
146
- playMode?: 'bounce' | 'normal';
147
- speed?: number;
148
- themeColor?: string;
141
+ initialTheme?: string;
142
+ themes?: string[];
149
143
  }>;
150
- author?: string;
151
- custom?: Record<string, unknown>;
152
- description?: string;
153
144
  generator?: string;
154
- keywords?: string;
155
- revision?: number;
156
- states?: string[];
145
+ stateMachines?: Array<{
146
+ id: string;
147
+ }>;
157
148
  themes?: Array<{
158
- animations: string[];
159
149
  id: string;
160
150
  }>;
161
151
  version?: string;
package/dist/index.d.ts CHANGED
@@ -131,31 +131,21 @@ interface Config {
131
131
  segment?: [number, number];
132
132
  speed?: number;
133
133
  src?: string;
134
+ themeId?: string;
134
135
  useFrameInterpolation?: boolean;
135
136
  }
136
137
  interface Manifest {
137
- activeAnimationId?: string;
138
138
  animations: Array<{
139
- autoplay?: boolean;
140
- defaultTheme?: string;
141
- direction?: 1 | -1;
142
- hover?: boolean;
139
+ background?: string;
143
140
  id: string;
144
- intermission?: number;
145
- loop?: boolean | number;
146
- playMode?: 'bounce' | 'normal';
147
- speed?: number;
148
- themeColor?: string;
141
+ initialTheme?: string;
142
+ themes?: string[];
149
143
  }>;
150
- author?: string;
151
- custom?: Record<string, unknown>;
152
- description?: string;
153
144
  generator?: string;
154
- keywords?: string;
155
- revision?: number;
156
- states?: string[];
145
+ stateMachines?: Array<{
146
+ id: string;
147
+ }>;
157
148
  themes?: Array<{
158
- animations: string[];
159
149
  id: string;
160
150
  }>;
161
151
  version?: string;