@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/dotlottie-player.wasm +0 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -17
- package/dist/index.d.ts +7 -17
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
140
|
-
defaultTheme?: string;
|
|
141
|
-
direction?: 1 | -1;
|
|
142
|
-
hover?: boolean;
|
|
139
|
+
background?: string;
|
|
143
140
|
id: string;
|
|
144
|
-
|
|
145
|
-
|
|
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
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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
|
-
|
|
140
|
-
defaultTheme?: string;
|
|
141
|
-
direction?: 1 | -1;
|
|
142
|
-
hover?: boolean;
|
|
139
|
+
background?: string;
|
|
143
140
|
id: string;
|
|
144
|
-
|
|
145
|
-
|
|
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
|
-
|
|
155
|
-
|
|
156
|
-
|
|
145
|
+
stateMachines?: Array<{
|
|
146
|
+
id: string;
|
|
147
|
+
}>;
|
|
157
148
|
themes?: Array<{
|
|
158
|
-
animations: string[];
|
|
159
149
|
id: string;
|
|
160
150
|
}>;
|
|
161
151
|
version?: string;
|