@remotion/animation-utils 4.0.423 → 4.0.425

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.
@@ -1,3 +1,6 @@
1
- import type { InterpolateOptions } from 'remotion';
2
- import type { Style } from '../../type';
3
- export declare const interpolateStyles: (input: number, inputRange: number[], outputStylesRange: Style[], options?: InterpolateOptions) => import("react").CSSProperties;
1
+ import type { ExtrapolateType } from 'remotion';
2
+ export declare const interpolateStyles: (input: number, inputRange: number[], outputStylesRange: import("react").CSSProperties[], options?: Partial<{
3
+ easing: import("remotion").EasingFunction;
4
+ extrapolateLeft: ExtrapolateType;
5
+ extrapolateRight: ExtrapolateType;
6
+ }> | undefined) => import("react").CSSProperties;
@@ -1,11 +1,14 @@
1
1
  import type { ColorMatchers, CSSPropertiesValue } from '../../type';
2
2
  declare function getColorMatchers(): ColorMatchers;
3
3
  declare const breakDownValueIntoUnitNumberAndFunctions: (value: CSSPropertiesValue) => ({
4
+ number?: undefined;
5
+ unit?: undefined;
4
6
  color: string;
5
7
  function?: undefined;
8
+ } | {
6
9
  number?: undefined;
7
10
  unit?: undefined;
8
- } | {
11
+ color?: undefined;
9
12
  function: {
10
13
  name: string;
11
14
  values: ({
@@ -15,27 +18,24 @@ declare const breakDownValueIntoUnitNumberAndFunctions: (value: CSSPropertiesVal
15
18
  number: number;
16
19
  unit?: undefined;
17
20
  } | {
18
- unit: string;
19
21
  number?: undefined;
22
+ unit: string;
20
23
  })[];
21
24
  };
22
- color?: undefined;
23
- number?: undefined;
24
- unit?: undefined;
25
25
  } | {
26
- number: number;
27
- unit: string;
28
26
  color?: undefined;
29
27
  function?: undefined;
30
- } | {
31
28
  number: number;
29
+ unit: string;
30
+ } | {
31
+ unit?: undefined;
32
32
  color?: undefined;
33
33
  function?: undefined;
34
- unit?: undefined;
34
+ number: number;
35
35
  } | {
36
- unit: string;
36
+ number?: undefined;
37
37
  color?: undefined;
38
38
  function?: undefined;
39
- number?: undefined;
39
+ unit: string;
40
40
  })[];
41
41
  export { breakDownValueIntoUnitNumberAndFunctions, getColorMatchers };
@@ -1,4 +1,3 @@
1
- import type { TransformFunctionReturnType } from '../../type';
2
1
  import { matrix, matrix3d, perspective, rotate, rotate3d, rotateX, rotateY, rotateZ, scale, scale3d, scaleX, scaleY, scaleZ, skew, skewX, skewY, translate, translate3d, translateX, translateY, translateZ } from './transform-functions';
3
- export declare const makeTransform: (transforms: TransformFunctionReturnType[]) => string;
2
+ export declare const makeTransform: (transforms: string[]) => string;
4
3
  export { matrix, matrix3d, perspective, rotate, rotate3d, rotateX, rotateY, rotateZ, scale, scale3d, scaleX, scaleY, scaleZ, skew, skewX, skewY, translate, translate3d, translateX, translateY, translateZ, };
package/package.json CHANGED
@@ -7,19 +7,19 @@
7
7
  "name": "Chetan Karwa",
8
8
  "email": "cbkarwa@gmail.com"
9
9
  },
10
- "version": "4.0.423",
10
+ "version": "4.0.425",
11
11
  "description": "Helpers for animating CSS properties",
12
12
  "main": "./dist/index.js",
13
13
  "module": "./dist/index.mjs",
14
14
  "types": "./dist/index.d.ts",
15
15
  "scripts": {
16
- "formatting": "prettier --experimental-cli src --check",
16
+ "formatting": "prettier src --check",
17
17
  "lint": "eslint src",
18
- "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts",
18
+ "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",
19
19
  "test": "bun test src"
20
20
  },
21
21
  "dependencies": {
22
- "remotion": "4.0.423"
22
+ "remotion": "4.0.425"
23
23
  },
24
24
  "files": [
25
25
  "dist",
@@ -30,8 +30,9 @@
30
30
  "react-dom": ">=16.8.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@remotion/eslint-config-internal": "4.0.423",
34
- "eslint": "9.19.0"
33
+ "@remotion/eslint-config-internal": "4.0.425",
34
+ "eslint": "9.19.0",
35
+ "@typescript/native-preview": "7.0.0-dev.20260217.1"
35
36
  },
36
37
  "exports": {
37
38
  "./package.json": "./package.json",