@vvfx/lottie2ir 0.0.1-beta.10 → 0.0.1-beta.12

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.
@@ -7,12 +7,15 @@ interface ParsedLottieLayerContext {
7
7
  asset?: LottieImageAsset | LottiePrecompAsset;
8
8
  layerId: string;
9
9
  parentLayerId?: string;
10
+ parentTransformLayers?: LottieVisualLayer[];
10
11
  matte?: IRLayerMatte;
11
12
  }
12
13
  interface ParseLottieLayerStackOptions {
13
14
  layers: LottieLayer[];
14
15
  assetById: ReadonlyMap<string, LottieAsset>;
15
16
  fonts: LottieFont[];
17
+ inPoint: number;
18
+ outPoint: number;
16
19
  }
17
20
  interface ParseLottieLayerStackResult {
18
21
  contexts: ParsedLottieLayerContext[];
@@ -23,5 +26,5 @@ interface ParseLottieLayerStackResult {
23
26
  *
24
27
  * Supported layers are returned in IR back-to-front painter order after every reference is known.
25
28
  */
26
- export declare function parseLottieLayerStack({ layers, assetById, fonts, }: ParseLottieLayerStackOptions): ParseLottieLayerStackResult;
29
+ export declare function parseLottieLayerStack({ layers, assetById, fonts, inPoint, outPoint, }: ParseLottieLayerStackOptions): ParseLottieLayerStackResult;
27
30
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vvfx/lottie2ir",
3
- "version": "0.0.1-beta.10",
3
+ "version": "0.0.1-beta.12",
4
4
  "description": "Lottie to Animation IR converter",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",
@@ -19,14 +19,14 @@
19
19
  "@lottie-animation-community/lottie-types": "^1.2.0",
20
20
  "@progress/jszip-esm": "^1.0.4",
21
21
  "uuid": "^13.0.0",
22
- "@vvfx/animation-ir": "0.0.1-beta.10"
22
+ "@vvfx/animation-ir": "0.0.1-beta.12"
23
23
  },
24
24
  "devDependencies": {
25
- "@galacean/effects": "2.9.0",
26
- "@galacean/effects-specification": "2.7.2",
25
+ "@galacean/effects": "2.11.0-alpha.1",
26
+ "@galacean/effects-specification": "2.8.1",
27
27
  "@lottie-animation-community/lottie-specs": "^0.3.2",
28
28
  "ajv": "^8.20.0",
29
- "@vvfx/ge-ir": "0.0.1-beta.10"
29
+ "@vvfx/ge-ir": "0.0.1-beta.12"
30
30
  },
31
31
  "contributors": [
32
32
  {
@@ -39,6 +39,20 @@
39
39
  "access": "public",
40
40
  "registry": "https://registry.npmjs.org"
41
41
  },
42
+ "repository": "https://github.com/galacean/design-bridge",
43
+ "bugs": {
44
+ "url": "https://github.com/galacean/design-bridge/issues"
45
+ },
46
+ "homepage": "https://github.com/galacean/design-bridge/tree/main/packages/lottie2ir#readme",
47
+ "keywords": [
48
+ "lottie",
49
+ "animation",
50
+ "animation-ir",
51
+ "converter"
52
+ ],
53
+ "engines": {
54
+ "node": ">=24"
55
+ },
42
56
  "scripts": {
43
57
  "prebuild": "pnpm clean",
44
58
  "build": "pnpm build:declaration && pnpm build:module",