@aarsteinmedia/dotlottie-player 5.1.3 → 5.1.5
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 +13 -0
- package/dist/index.d.ts +2 -9
- package/dist/unpkg.js +5 -5
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
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
9
|
|
|
10
|
+
## [5.1.5] - 04-06-2025
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Fixed issue with enums causing compiler errors in TypeScript
|
|
15
|
+
|
|
16
|
+
## [5.1.4] - 03-06-2025
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Minor bugfix to expression handlers
|
|
21
|
+
|
|
10
22
|
## [5.1.3] - 02-06-2025
|
|
11
23
|
|
|
12
24
|
### Changed
|
|
@@ -237,6 +249,7 @@ Changelog was only added since [3.2.3], so it's not exhaustive. [Please report a
|
|
|
237
249
|
- Removed dependencies
|
|
238
250
|
- `@lit`
|
|
239
251
|
|
|
252
|
+
[5.1.4]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/5.1.4
|
|
240
253
|
[5.1.3]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/5.1.3
|
|
241
254
|
[5.1.0]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/5.1.0
|
|
242
255
|
[5.0.4]: https://www.npmjs.com/package/@aarsteinmedia/dotlottie-player/v/5.0.4
|
package/dist/index.d.ts
CHANGED
|
@@ -59,13 +59,6 @@ declare abstract class PropertyCallbackElement extends HTMLElement {
|
|
|
59
59
|
propertyChangedCallback(_name: string, _oldValue: unknown, _value: unknown): void;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
declare enum ObjectFit {
|
|
63
|
-
Contain = "contain",
|
|
64
|
-
Cover = "cover",
|
|
65
|
-
Fill = "fill",
|
|
66
|
-
None = "none",
|
|
67
|
-
ScaleDown = "scale-down"
|
|
68
|
-
}
|
|
69
62
|
declare enum PlayerState {
|
|
70
63
|
Completed = "completed",
|
|
71
64
|
Destroyed = "destroyed",
|
|
@@ -142,8 +135,8 @@ declare class DotLottiePlayer extends PropertyCallbackElement {
|
|
|
142
135
|
get loop(): Loop;
|
|
143
136
|
set mode(value: PlayMode);
|
|
144
137
|
get mode(): PlayMode;
|
|
145
|
-
set objectfit(value:
|
|
146
|
-
get objectfit():
|
|
138
|
+
set objectfit(value: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down');
|
|
139
|
+
get objectfit(): "contain" | "cover" | "fill" | "none" | "scale-down";
|
|
147
140
|
set preserveAspectRatio(value: PreserveAspectRatio | null);
|
|
148
141
|
get preserveAspectRatio(): PreserveAspectRatio | null;
|
|
149
142
|
set renderer(value: RendererType);
|