@lottiefiles/lottie-player 1.4.1 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), enforced with [semantic-release](https://github.com/semantic-release/semantic-release).
4
4
 
5
5
 
6
+ ## [1.2.1](https://github.com/LottieFiles/lottie-player/compare/v1.2.0...v1.2.1) (2021-09-30)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **safari fix:** safari height width inherit to container, eslint error fixes ([8c96be5](https://github.com/LottieFiles/lottie-player/commit/8c96be586d3128833d264f2c75511b4d03e95289))
12
+
6
13
  # [1.2.0](https://github.com/LottieFiles/lottie-player/compare/v1.1.4...v1.2.0) (2021-09-21)
7
14
 
8
15
 
@@ -54,6 +54,14 @@ export declare class LottiePlayer extends LitElement {
54
54
  * Number of times to loop animation.
55
55
  */
56
56
  count?: number;
57
+ /**
58
+ * Player state.
59
+ */
60
+ currentState: PlayerState;
61
+ /**
62
+ * Animation speed.
63
+ */
64
+ description: string;
57
65
  /**
58
66
  * Direction of animation.
59
67
  */
@@ -62,6 +70,10 @@ export declare class LottiePlayer extends LitElement {
62
70
  * Whether to play on mouse hover
63
71
  */
64
72
  hover: boolean;
73
+ /**
74
+ * Intermission
75
+ */
76
+ intermission: number;
65
77
  /**
66
78
  * Whether to loop animation.
67
79
  */
@@ -78,6 +90,10 @@ export declare class LottiePlayer extends LitElement {
78
90
  * Renderer to use.
79
91
  */
80
92
  renderer: "svg";
93
+ /**
94
+ * seeker
95
+ */
96
+ seeker: any;
81
97
  /**
82
98
  * Animation speed.
83
99
  */
@@ -86,16 +102,6 @@ export declare class LottiePlayer extends LitElement {
86
102
  * Bodymovin JSON data or URL to JSON.
87
103
  */
88
104
  src?: string;
89
- /**
90
- * Player state.
91
- */
92
- currentState: PlayerState;
93
- seeker: any;
94
- intermission: number;
95
- /**
96
- * Animation speed.
97
- */
98
- description: string;
99
105
  /**
100
106
  * Animation container.
101
107
  */
@@ -1 +1 @@
1
- {"version":3,"file":"lottie-player.d.ts","sourceRoot":"","sources":["src/lottie-player.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EAIV,cAAc,EACf,MAAM,aAAa,CAAC;AAOrB,oBAAY,WAAW;IACrB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAGD,oBAAY,QAAQ;IAClB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAGD,oBAAY,YAAY;IACtB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAa9D;AAiCD;;;;;;GAMG;AACH,qBACa,YAAa,SAAQ,UAAU;IAC1C;;OAEG;IAEI,QAAQ,EAAE,OAAO,CAAS;IAEjC;;OAEG;IAEI,UAAU,CAAC,EAAE,MAAM,CAAiB;IAE3C;;OAEG;IAEI,QAAQ,EAAE,OAAO,CAAS;IAEjC;;OAEG;IAEI,KAAK,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IAEI,SAAS,EAAE,MAAM,CAAK;IAE7B;;OAEG;IAEI,KAAK,EAAE,OAAO,CAAS;IAE9B;;OAEG;IAEI,IAAI,EAAE,OAAO,CAAS;IAE7B;;OAEG;IAEI,IAAI,EAAE,QAAQ,CAAmB;IAExC;;OAEG;IAEI,mBAAmB,EAAE,MA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