@aarsteinmedia/dotlottie-player 4.0.2 → 4.0.4
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/CHANGELOG.md +157 -0
- package/dist/cjs/index.js +335 -20184
- package/dist/esm/index.js +316 -20184
- package/dist/index.js +2 -2
- package/package.json +4 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Changelog for @aarsteinmedia/dotlottie-player
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
Changelog was only added since [3.2.3], so it's not exhaustive. [Please report any missing noteable changes to us](https://github.com/aarsteinmedia/dotlottie-player/issues), and we'll add them promptly.
|
|
9
|
+
|
|
10
|
+
## [4.0.4] - 31-10-2024
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Added Changelog to npm package
|
|
15
|
+
|
|
16
|
+
- Removed minification from module versions
|
|
17
|
+
|
|
18
|
+
## [4.0.3] - 30-10-2024
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Fixed typo causing externals to be bundled
|
|
23
|
+
|
|
24
|
+
## [4.0.2] - 30-10-2024
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- Conditionally loading of controls
|
|
29
|
+
|
|
30
|
+
## [4.0.1] - 29-10-2024
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- Added attribute listener to `src`
|
|
35
|
+
|
|
36
|
+
## [4.0.0] - 24-10-2024
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- Refactored type import
|
|
41
|
+
- BREAKING CHANGE:
|
|
42
|
+
```diff
|
|
43
|
+
- import type { DotLottiePlayer } from '@aarsteinmedia/dotlottie-player'
|
|
44
|
+
+ import type DotLottiePlayer from '@aarsteinmedia/dotlottie-player'
|
|
45
|
+
```
|
|
46
|
+
- Rich data moved from attributes to properties
|
|
47
|
+
- BREAKING CHANGE:
|
|
48
|
+
```diff
|
|
49
|
+
<dotlottie-player
|
|
50
|
+
id="find-me"
|
|
51
|
+
- multianimationsettings="[{ autoplay: true, loop: false }]"
|
|
52
|
+
- segment="[0, 1]"
|
|
53
|
+
></dotlottie-player>
|
|
54
|
+
|
|
55
|
+
+ const player = document.querySelector('#find-me')
|
|
56
|
+
+ player?.setMultianimationsettings([{ autoplay: true, loop: false }])
|
|
57
|
+
+ player?.setSegment([0, 1])
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
- Moved `./dist/custom-elements.json` to `./custom-elements.json`
|
|
61
|
+
|
|
62
|
+
### Added
|
|
63
|
+
|
|
64
|
+
- Added unit tests
|
|
65
|
+
|
|
66
|
+
## [3.2.5] - 21-10-2024
|
|
67
|
+
|
|
68
|
+
### Changed
|
|
69
|
+
|
|
70
|
+
- Fixed typo, causing some types not to be resolved
|
|
71
|
+
|
|
72
|
+
## [3.2.4] - 20-10-2024
|
|
73
|
+
|
|
74
|
+
### Changed
|
|
75
|
+
|
|
76
|
+
- Extended browser support
|
|
77
|
+
|
|
78
|
+
## [3.2.3] - 14-10-2024
|
|
79
|
+
|
|
80
|
+
### Added
|
|
81
|
+
|
|
82
|
+
- Added Changelog
|
|
83
|
+
|
|
84
|
+
### Changed
|
|
85
|
+
|
|
86
|
+
- Migrated from eslint@8 to eslint@9
|
|
87
|
+
|
|
88
|
+
## [3.2.2] - 27-09-2024
|
|
89
|
+
|
|
90
|
+
### Changed
|
|
91
|
+
|
|
92
|
+
- Minor stylistic changes
|
|
93
|
+
|
|
94
|
+
## [3.2.1] - 03-09-2024
|
|
95
|
+
|
|
96
|
+
### Changed
|
|
97
|
+
|
|
98
|
+
- Minor stylistic changes
|
|
99
|
+
|
|
100
|
+
## [3.2.0] - 02-09-2024
|
|
101
|
+
|
|
102
|
+
### Changed
|
|
103
|
+
|
|
104
|
+
- Refactored code
|
|
105
|
+
- Code splitting for maintainability, with no intended changes for how the component is consumed
|
|
106
|
+
|
|
107
|
+
## [3.1.0] - 02-09-2024
|
|
108
|
+
|
|
109
|
+
### Added
|
|
110
|
+
|
|
111
|
+
- Added support for AVIF images in assets
|
|
112
|
+
|
|
113
|
+
### Changed
|
|
114
|
+
|
|
115
|
+
- Refactored return types
|
|
116
|
+
- `addAnimation` now returns object
|
|
117
|
+
```typescript
|
|
118
|
+
public async addAnimation(
|
|
119
|
+
configs: AnimationAttributes[],
|
|
120
|
+
fileName?: string,
|
|
121
|
+
shouldDownload = true
|
|
122
|
+
): Promise<{
|
|
123
|
+
result?: void | ArrayBuffer
|
|
124
|
+
success: boolean
|
|
125
|
+
error?: string
|
|
126
|
+
}>
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## [3.0.0] - 06-09-2024
|
|
130
|
+
|
|
131
|
+
### Changed
|
|
132
|
+
|
|
133
|
+
- Refactored imports
|
|
134
|
+
- BREAKING CHANGE:
|
|
135
|
+
```diff
|
|
136
|
+
- import type DotLottiePlayer from '@aarsteinmedia/dotlottie-player'
|
|
137
|
+
+ import type { DotLottiePlayer } from '@aarsteinmedia/dotlottie-player'
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Removed
|
|
141
|
+
|
|
142
|
+
- Removed dependencies
|
|
143
|
+
- `@lit`
|
|
144
|
+
|
|
145
|
+
[4.0.4]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/4.0.4
|
|
146
|
+
[4.0.3]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/4.0.3
|
|
147
|
+
[4.0.2]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/4.0.2
|
|
148
|
+
[4.0.1]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/4.0.1
|
|
149
|
+
[4.0.0]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/4.0.0
|
|
150
|
+
[3.2.5]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/3.2.5
|
|
151
|
+
[3.2.4]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/3.2.4
|
|
152
|
+
[3.2.3]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/3.2.3
|
|
153
|
+
[3.2.2]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/3.2.2
|
|
154
|
+
[3.2.1]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/3.2.1
|
|
155
|
+
[3.2.0]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/3.2.0
|
|
156
|
+
[3.1.0]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/3.1.0
|
|
157
|
+
[3.0.0]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/3.0.0
|