@lottiefiles/dotlottie-web 0.1.0 → 0.2.0
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/LICENSE +16 -0
- package/README.md +128 -60
- package/dist/{chunk-MKIEOQX3.js → chunk-6PRCY2FC.js} +3 -3
- package/dist/chunk-6PRCY2FC.js.map +1 -0
- package/dist/chunk-D6WZHSLE.js +24 -0
- package/dist/chunk-D6WZHSLE.js.map +1 -0
- package/dist/dotlottie.d.ts +37 -5
- package/dist/dotlottie.js +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/utils.d.ts +3 -2
- package/dist/utils.js +1 -1
- package/package.json +8 -4
- package/dist/chunk-MKIEOQX3.js.map +0 -1
- package/dist/chunk-ZKPMVSNF.js +0 -24
- package/dist/chunk-ZKPMVSNF.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { DotLottie } from './dotlottie.js';
|
|
1
|
+
export { DotLottie, Options } from './dotlottie.js';
|
|
2
2
|
export { BaseEvent, CompleteEvent, Event, EventListener, EventManager, EventType, FrameEvent, LoadErrorEvent, LoadEvent, LoopEvent, PauseEvent, PlayEvent, StopEvent } from './event-manager.js';
|
|
3
|
+
export { getAnimationJSONFromDotLottie, loadAnimationJSONFromURL } from './utils.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { a as DotLottie } from './chunk-
|
|
1
|
+
export { a as DotLottie } from './chunk-D6WZHSLE.js';
|
|
2
2
|
export { a as EventManager } from './chunk-VRCJABVO.js';
|
|
3
|
-
|
|
3
|
+
export { a as getAnimationJSONFromDotLottie, b as loadAnimationJSONFromURL } from './chunk-6PRCY2FC.js';
|
|
4
4
|
import './chunk-7Q3PPTBP.js';
|
|
5
5
|
//# sourceMappingURL=out.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Copyright 2023 Design Barn Inc.
|
|
3
3
|
*/
|
|
4
|
-
declare function
|
|
4
|
+
declare function getAnimationJSONFromDotLottie(dotLottieBuffer: ArrayBuffer): Promise<string>;
|
|
5
|
+
declare function loadAnimationJSONFromURL(animationURL: string): Promise<string>;
|
|
5
6
|
|
|
6
|
-
export {
|
|
7
|
+
export { getAnimationJSONFromDotLottie, loadAnimationJSONFromURL };
|
package/dist/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lottiefiles/dotlottie-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Lottie and DotLottie player for the web",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/LottieFiles/dotlottie-web.git",
|
|
9
|
-
"directory": "packages/
|
|
9
|
+
"directory": "packages/web"
|
|
10
10
|
},
|
|
11
11
|
"homepage": "https://github.com/LottieFiles/dotlottie-web#readme",
|
|
12
12
|
"bugs": "https://github.com/LottieFiles/dotlottie-web/issues",
|
|
@@ -26,8 +26,12 @@
|
|
|
26
26
|
],
|
|
27
27
|
"keywords": [
|
|
28
28
|
"dotlottie",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
29
|
+
"lottie",
|
|
30
|
+
"player",
|
|
31
|
+
"animation",
|
|
32
|
+
"web",
|
|
33
|
+
"canvas",
|
|
34
|
+
"javascript"
|
|
31
35
|
],
|
|
32
36
|
"dependencies": {
|
|
33
37
|
"@dotlottie/dotlottie-js": "^0.6.0"
|