@lottiefiles/dotlottie-svelte 0.5.0 → 0.5.1

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.
@@ -18,7 +18,6 @@ export let layout = void 0;
18
18
  export let playOnHover = false;
19
19
  export let animationId = "";
20
20
  export let themeId = "";
21
- export let stateMachineId = "";
22
21
  export let themeData = "";
23
22
  export let dotLottieRefCallback = () => {
24
23
  };
@@ -146,11 +145,6 @@ $:
146
145
  if (dotLottie && dotLottie.isLoaded && dotLottie.activeThemeId !== themeId) {
147
146
  dotLottie.setTheme(themeId);
148
147
  }
149
- $:
150
- if (dotLottie && dotLottie.isLoaded && dotLottie.activeStateMachineId() !== stateMachineId) {
151
- dotLottie.stateMachineLoad(stateMachineId);
152
- dotLottie.stateMachineStart();
153
- }
154
148
  $:
155
149
  if (dotLottie && dotLottie.isLoaded) {
156
150
  dotLottie.setThemeData(themeData);
@@ -18,7 +18,6 @@ declare const __propDef: {
18
18
  playOnHover?: boolean | undefined;
19
19
  animationId?: string | undefined;
20
20
  themeId?: string | undefined;
21
- stateMachineId?: string | undefined;
22
21
  themeData?: string | undefined;
23
22
  dotLottieRefCallback?: ((dotLottie: DotLottie) => void) | undefined;
24
23
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lottiefiles/dotlottie-svelte",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "description": "Svelte component wrapper around the dotlottie-web library to render Lottie and dotLottie animations",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  "svelte": "^4.0.0"
34
34
  },
35
35
  "dependencies": {
36
- "@lottiefiles/dotlottie-web": "0.39.0"
36
+ "@lottiefiles/dotlottie-web": "0.42.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@sveltejs/adapter-auto": "^3.0.0",