@lottiefiles/lottie-player 1.5.0 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +98 -26
- package/dist/lottie-player.d.ts.map +1 -1
- package/dist/lottie-player.esm.js +2 -2
- package/dist/lottie-player.esm.js.map +1 -1
- package/dist/lottie-player.js +1 -1
- package/dist/lottie-player.js.map +1 -1
- package/dist/lottie-player.styles.d.ts.map +1 -1
- package/dist/tgs-player.esm.js +1 -1
- package/dist/tgs-player.esm.js.map +1 -1
- package/dist/tgs-player.js +1 -1
- package/dist/tgs-player.js.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
@@ -1,76 +1,148 @@
|
|
1
1
|
# Changelog
|
2
|
+
|
2
3
|
All notable changes to this project will be documented in this file.
|
3
4
|
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
5
|
|
6
|
+
## 1.5.4
|
5
7
|
|
6
|
-
|
8
|
+
- Fix focus with a css outline on button
|
9
|
+
- Fix tabindex when you have multiple animation on the same page
|
10
|
+
- Hide svg element from focus list
|
11
|
+
- Add a way to hide the slider for some animation
|
12
|
+
- add role to div container to prevent lighthouse warnings
|
7
13
|
|
14
|
+
## 1.5.3
|
8
15
|
|
9
16
|
### Bug Fixes
|
10
17
|
|
11
|
-
|
18
|
+
- Missing tgs player.js file added
|
12
19
|
|
13
|
-
|
20
|
+
## 1.5.2
|
14
21
|
|
22
|
+
### Bug Fixes
|
15
23
|
|
16
|
-
|
24
|
+
- Lang tag added, tests added to test for breakage of interactivity library.
|
17
25
|
|
18
|
-
|
26
|
+
## 1.5.1
|
19
27
|
|
20
|
-
|
28
|
+
### Bug Fixes
|
21
29
|
|
30
|
+
- **web-worker:** fixed web worker prop to work correctly with proper bundling adjustments.
|
22
31
|
|
23
|
-
|
32
|
+
## 1.5.0
|
24
33
|
|
25
|
-
|
34
|
+
### Bug Fixes
|
26
35
|
|
27
|
-
|
36
|
+
- **web-worker:** added web worker prop.
|
28
37
|
|
38
|
+
## 1.4.5
|
29
39
|
|
30
40
|
### Bug Fixes
|
31
41
|
|
32
|
-
|
42
|
+
- **loop:** loop counter started at zero. changed to 1 instead.
|
33
43
|
|
34
|
-
##
|
44
|
+
## 1.4.4
|
35
45
|
|
46
|
+
### Bug Fixes
|
47
|
+
|
48
|
+
- **resize:** fixed width and height responsiveness issues
|
49
|
+
|
50
|
+
## 1.4.3
|
36
51
|
|
37
52
|
### Bug Fixes
|
38
53
|
|
39
|
-
|
40
|
-
* **network calls:** removed redundant network call to json url ([8726536](https://github.com/LottieFiles/lottie-player/commit/8726536f12403694e5213c70189d877cc9fdec6a))
|
54
|
+
- **safari:** fixed safari glitching animation issue (used flex for controls placement instead of grid system)
|
41
55
|
|
42
|
-
##
|
56
|
+
## 1.4.2
|
43
57
|
|
58
|
+
### Bug Fixes
|
59
|
+
|
60
|
+
- **code:** fixed typescript errors with type assertions and restructuring of code
|
61
|
+
|
62
|
+
## 1.4.1
|
44
63
|
|
45
64
|
### Bug Fixes
|
46
65
|
|
47
|
-
|
66
|
+
- **code:** fixed typescript errors with type assertions and restructuring of code
|
67
|
+
- **container:** added width and height inheritence to animation container
|
48
68
|
|
49
|
-
|
69
|
+
## 1.4.0
|
70
|
+
|
71
|
+
### Features
|
72
|
+
|
73
|
+
- **event listeners:** added event listeners before json error check
|
74
|
+
- **cleanup:** added a destroy method for cleanup of dom
|
75
|
+
|
76
|
+
## 1.3.1
|
50
77
|
|
78
|
+
### Chore
|
79
|
+
|
80
|
+
- **rollback:** rollback previous changes
|
81
|
+
|
82
|
+
## 1.3.0
|
51
83
|
|
52
84
|
### Bug Fixes
|
53
85
|
|
54
|
-
|
86
|
+
- **network call fix:** attempt to fix dual network call
|
55
87
|
|
88
|
+
## [1.2.1](https://github.com/LottieFiles/lottie-player/compare/v1.2.0...v1.2.1) (2021-09-30)
|
89
|
+
|
90
|
+
### Bug Fixes
|
91
|
+
|
92
|
+
- **safari fix:** safari height width inherit to container, eslint error fixes ([8c96be5](https://github.com/LottieFiles/lottie-player/commit/8c96be586d3128833d264f2c75511b4d03e95289))
|
93
|
+
|
94
|
+
# [1.2.0](https://github.com/LottieFiles/lottie-player/compare/v1.1.4...v1.2.0) (2021-09-21)
|
56
95
|
|
57
96
|
### Features
|
58
97
|
|
59
|
-
|
98
|
+
- **events and cleanup:** added event listeners before json error check and added a destroy method for cleanup ([646d63b](https://github.com/LottieFiles/lottie-player/commit/646d63b14e89a2c0079ddc9224fc8d8e97d84806))
|
60
99
|
|
61
|
-
|
100
|
+
## [1.1.4](https://github.com/LottieFiles/lottie-player/compare/v1.1.3...v1.1.4) (2021-09-02)
|
101
|
+
|
102
|
+
### Bug Fixes
|
103
|
+
|
104
|
+
- **rollback:** rollback due to race condition issues ([556307f](https://github.com/LottieFiles/lottie-player/commit/556307fc57a807c03ad1b3639c3e464d73cd87be))
|
62
105
|
|
106
|
+
## [1.1.3](https://github.com/LottieFiles/lottie-player/compare/v1.1.2...v1.1.3) (2021-09-02)
|
63
107
|
|
64
108
|
### Bug Fixes
|
65
109
|
|
66
|
-
|
110
|
+
- **asset path bug fix:** asset path bug fix ([27d24e7](https://github.com/LottieFiles/lottie-player/commit/27d24e731b7203f849171657eae190bf55d59be8))
|
111
|
+
|
112
|
+
## [1.1.2](https://github.com/LottieFiles/lottie-player/compare/v1.1.1...v1.1.2) (2021-09-01)
|
113
|
+
|
114
|
+
### Bug Fixes
|
115
|
+
|
116
|
+
- **cleanup:** cleanup ([339c0cb](https://github.com/LottieFiles/lottie-player/commit/339c0cb9396a6a0e5b5264769ac8d7b6498d163c))
|
117
|
+
- **network calls:** removed redundant network call to json url ([8726536](https://github.com/LottieFiles/lottie-player/commit/8726536f12403694e5213c70189d877cc9fdec6a))
|
118
|
+
|
119
|
+
## [1.1.1](https://github.com/LottieFiles/lottie-player/compare/v1.1.0...v1.1.1) (2021-07-06)
|
120
|
+
|
121
|
+
### Bug Fixes
|
122
|
+
|
123
|
+
- **player.ts:** race condition bug fix ([3a57dba](https://github.com/LottieFiles/lottie-player/commit/3a57dba10c043ec9549dc790e6a83398b0253094))
|
124
|
+
|
125
|
+
# [1.1.0](https://github.com/LottieFiles/lottie-player/compare/v1.0.0...v1.1.0) (2021-07-05)
|
126
|
+
|
127
|
+
### Bug Fixes
|
128
|
+
|
129
|
+
- **duplicate method:** duplicate method bug fix ([7b09f39](https://github.com/LottieFiles/lottie-player/commit/7b09f39d32211575257f873b0219809639a4a1ae))
|
130
|
+
|
131
|
+
### Features
|
132
|
+
|
133
|
+
- **err handling:** err handling ([8ac685f](https://github.com/LottieFiles/lottie-player/commit/8ac685f0f9ca33bc1e36593edec16080a6197aa9))
|
134
|
+
|
135
|
+
# 1.0.0 (2021-06-22)
|
136
|
+
|
137
|
+
### Bug Fixes
|
67
138
|
|
139
|
+
- **player.tsx:** race condition fix ([9ec58ef](https://github.com/LottieFiles/lottie-player/commit/9ec58ef4a7ac185a20fc93203fb2409e05178223))
|
68
140
|
|
69
141
|
### Features
|
70
142
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
143
|
+
- **accessibility:** added aria labels, and roles needed for voiceover tools,added keyboard ctrls ([1a76011](https://github.com/LottieFiles/lottie-player/commit/1a76011a2e908437f25ef9057307bf1bf9431461))
|
144
|
+
- added basic sanity checks/tests ([e6ebe61](https://github.com/LottieFiles/lottie-player/commit/e6ebe616665000ce57e995e242bfee0435e8e71f))
|
145
|
+
- added lerna, sample project using local dependency ([59d0bc0](https://github.com/LottieFiles/lottie-player/commit/59d0bc0f4cb94cd565cd590563c41673b9e43ed9))
|
146
|
+
- fix tests, add sample lottie ([823a104](https://github.com/LottieFiles/lottie-player/commit/823a104094e49e34fb2f851a9ad6d34aebc5d9bf))
|
147
|
+
- **package bump:** lottie web version bump ([71d5339](https://github.com/LottieFiles/lottie-player/commit/71d53399c291b2af30fd7abfad7e35a90efef9d9))
|
148
|
+
- **packages:** lottie web engine bump to 5.7.8 ([f4e1a94](https://github.com/LottieFiles/lottie-player/commit/f4e1a94b61e034aeeb91bb2d4c6f339cb8b16647))
|
@@ -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,YAAY,EAAE,WAAW,CAAuB;IAEvD;;OAEG;IAEI,WAAW,EAAE,MAAM,CAAsB;IAEhD;;OAEG;IAEI,SAAS,EAAE,MAAM,CAAK;IAE7B;;OAEG;IAEI,KAAK,EAAE,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