@flighthq/easing 0.2.1-next.841.373388f → 0.3.0-next.1032.e2b99fc

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.
Files changed (47) hide show
  1. package/dist/contract.d.ts +20 -0
  2. package/dist/contract.d.ts.map +1 -0
  3. package/dist/contract.js +20 -0
  4. package/dist/contract.js.map +1 -0
  5. package/dist/createEasingSamples.d.ts +1 -1
  6. package/dist/createEasingSamples.d.ts.map +1 -1
  7. package/dist/easeBack.d.ts +1 -1
  8. package/dist/easeBack.d.ts.map +1 -1
  9. package/dist/easeBounce.d.ts +1 -1
  10. package/dist/easeBounce.d.ts.map +1 -1
  11. package/dist/easeCircular.d.ts +1 -1
  12. package/dist/easeCircular.d.ts.map +1 -1
  13. package/dist/easeCombinators.d.ts +1 -1
  14. package/dist/easeCombinators.d.ts.map +1 -1
  15. package/dist/easeCubic.d.ts +1 -1
  16. package/dist/easeCubic.d.ts.map +1 -1
  17. package/dist/easeCubicBezier.d.ts +1 -1
  18. package/dist/easeCubicBezier.d.ts.map +1 -1
  19. package/dist/easeElastic.d.ts +1 -1
  20. package/dist/easeElastic.d.ts.map +1 -1
  21. package/dist/easeExponential.d.ts +1 -1
  22. package/dist/easeExponential.d.ts.map +1 -1
  23. package/dist/easeLinear.d.ts +1 -1
  24. package/dist/easeLinear.d.ts.map +1 -1
  25. package/dist/easePiecewise.d.ts +1 -1
  26. package/dist/easePiecewise.d.ts.map +1 -1
  27. package/dist/easePower.d.ts +1 -1
  28. package/dist/easePower.d.ts.map +1 -1
  29. package/dist/easeQuadratic.d.ts +1 -1
  30. package/dist/easeQuadratic.d.ts.map +1 -1
  31. package/dist/easeQuartic.d.ts +1 -1
  32. package/dist/easeQuartic.d.ts.map +1 -1
  33. package/dist/easeQuintic.d.ts +1 -1
  34. package/dist/easeQuintic.d.ts.map +1 -1
  35. package/dist/easeSine.d.ts +1 -1
  36. package/dist/easeSine.d.ts.map +1 -1
  37. package/dist/easeSmoothstep.d.ts +1 -1
  38. package/dist/easeSmoothstep.d.ts.map +1 -1
  39. package/dist/easeSteps.d.ts +1 -1
  40. package/dist/easeSteps.d.ts.map +1 -1
  41. package/dist/getEasingDerivative.d.ts +1 -1
  42. package/dist/getEasingDerivative.d.ts.map +1 -1
  43. package/dist/index.d.ts +1 -19
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/index.js +1 -19
  46. package/dist/index.js.map +1 -1
  47. package/package.json +6 -2
@@ -0,0 +1,20 @@
1
+ export * from './createEasingSamples';
2
+ export * from './easeBack';
3
+ export * from './easeBounce';
4
+ export * from './easeCircular';
5
+ export * from './easeCombinators';
6
+ export * from './easeCubic';
7
+ export * from './easeCubicBezier';
8
+ export * from './easeElastic';
9
+ export * from './easeExponential';
10
+ export * from './easeLinear';
11
+ export * from './easePiecewise';
12
+ export * from './easePower';
13
+ export * from './easeQuadratic';
14
+ export * from './easeQuartic';
15
+ export * from './easeQuintic';
16
+ export * from './easeSine';
17
+ export * from './easeSmoothstep';
18
+ export * from './easeSteps';
19
+ export * from './getEasingDerivative';
20
+ //# sourceMappingURL=contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,20 @@
1
+ export * from './createEasingSamples';
2
+ export * from './easeBack';
3
+ export * from './easeBounce';
4
+ export * from './easeCircular';
5
+ export * from './easeCombinators';
6
+ export * from './easeCubic';
7
+ export * from './easeCubicBezier';
8
+ export * from './easeElastic';
9
+ export * from './easeExponential';
10
+ export * from './easeLinear';
11
+ export * from './easePiecewise';
12
+ export * from './easePower';
13
+ export * from './easeQuadratic';
14
+ export * from './easeQuartic';
15
+ export * from './easeQuintic';
16
+ export * from './easeSine';
17
+ export * from './easeSmoothstep';
18
+ export * from './easeSteps';
19
+ export * from './getEasingDerivative';
20
+ //# sourceMappingURL=contract.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare function createEasingSamples(ease: EasingFunction, count: number, out?: Float32Array): Float32Array;
3
3
  //# sourceMappingURL=createEasingSamples.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createEasingSamples.d.ts","sourceRoot":"","sources":["../src/createEasingSamples.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAgBtD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,YAAY,GAAG,YAAY,CAoBzG"}
1
+ {"version":3,"file":"createEasingSamples.d.ts","sourceRoot":"","sources":["../src/createEasingSamples.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAgB/D,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,YAAY,GAAG,YAAY,CAoBzG"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeInBack: EasingFunction;
3
3
  export declare const easeInOutBack: EasingFunction;
4
4
  export declare const easeOutBack: EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeBack.d.ts","sourceRoot":"","sources":["../src/easeBack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,UAAU,EAAE,cAAiD,CAAC;AAE3E,eAAO,MAAM,aAAa,EAAE,cACyE,CAAC;AAEtG,eAAO,MAAM,WAAW,EAAE,cAA4D,CAAC"}
1
+ {"version":3,"file":"easeBack.d.ts","sourceRoot":"","sources":["../src/easeBack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,UAAU,EAAE,cAAiD,CAAC;AAE3E,eAAO,MAAM,aAAa,EAAE,cACyE,CAAC;AAEtG,eAAO,MAAM,WAAW,EAAE,cAA4D,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeInBounce: EasingFunction;
3
3
  export declare const easeInOutBounce: EasingFunction;
4
4
  export declare const easeOutBounce: EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeBounce.d.ts","sourceRoot":"","sources":["../src/easeBounce.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,YAAY,EAAE,cAA4C,CAAC;AAExE,eAAO,MAAM,eAAe,EAAE,cAC6C,CAAC;AAE5E,eAAO,MAAM,aAAa,EAAE,cAAoC,CAAC"}
1
+ {"version":3,"file":"easeBounce.d.ts","sourceRoot":"","sources":["../src/easeBounce.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,YAAY,EAAE,cAA4C,CAAC;AAExE,eAAO,MAAM,eAAe,EAAE,cAC6C,CAAC;AAE5E,eAAO,MAAM,aAAa,EAAE,cAAoC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeInCircular: EasingFunction;
3
3
  export declare const easeInOutCircular: EasingFunction;
4
4
  export declare const easeOutCircular: EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeCircular.d.ts","sourceRoot":"","sources":["../src/easeCircular.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,cAAc,EAAE,cAAgD,CAAC;AAE9E,eAAO,MAAM,iBAAiB,EAAE,cAC2D,CAAC;AAE5F,eAAO,MAAM,eAAe,EAAE,cAAwD,CAAC"}
1
+ {"version":3,"file":"easeCircular.d.ts","sourceRoot":"","sources":["../src/easeCircular.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,cAAc,EAAE,cAAgD,CAAC;AAE9E,eAAO,MAAM,iBAAiB,EAAE,cAC2D,CAAC;AAE5F,eAAO,MAAM,eAAe,EAAE,cAAwD,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare function easeClamp(ease: EasingFunction): EasingFunction;
3
3
  export declare function easeClampOutput(ease: EasingFunction, min: number, max: number): EasingFunction;
4
4
  export declare function easeInvert(ease: EasingFunction): EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeCombinators.d.ts","sourceRoot":"","sources":["../src/easeCombinators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAetD,wBAAgB,SAAS,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAE9D;AAKD,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,cAAc,CAK9F;AAKD,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAE/D;AAMD,wBAAgB,UAAU,CAAC,MAAM,EAAE,cAAc,GAAG,cAAc,CAKjE;AAID,wBAAgB,WAAW,CAAC,MAAM,EAAE,cAAc,GAAG,cAAc,CAElE;AAKD,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,cAAc,CAExG"}
1
+ {"version":3,"file":"easeCombinators.d.ts","sourceRoot":"","sources":["../src/easeCombinators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAe/D,wBAAgB,SAAS,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAE9D;AAKD,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,cAAc,CAK9F;AAKD,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAE/D;AAMD,wBAAgB,UAAU,CAAC,MAAM,EAAE,cAAc,GAAG,cAAc,CAKjE;AAID,wBAAgB,WAAW,CAAC,MAAM,EAAE,cAAc,GAAG,cAAc,CAElE;AAKD,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,cAAc,CAExG"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeInCubic: EasingFunction;
3
3
  export declare const easeInOutCubic: EasingFunction;
4
4
  export declare const easeOutCubic: EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeCubic.d.ts","sourceRoot":"","sources":["../src/easeCubic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,WAAW,EAAE,cAAiC,CAAC;AAE5D,eAAO,MAAM,cAAc,EAAE,cAAmF,CAAC;AAEjH,eAAO,MAAM,YAAY,EAAE,cAA8C,CAAC"}
1
+ {"version":3,"file":"easeCubic.d.ts","sourceRoot":"","sources":["../src/easeCubic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,WAAW,EAAE,cAAiC,CAAC;AAE5D,eAAO,MAAM,cAAc,EAAE,cAAmF,CAAC;AAEjH,eAAO,MAAM,YAAY,EAAE,cAA8C,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare function easeCubicBezier(x1: number, y1: number, x2: number, y2: number): EasingFunction;
3
3
  //# sourceMappingURL=easeCubicBezier.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"easeCubicBezier.d.ts","sourceRoot":"","sources":["../src/easeCubicBezier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAQtD,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,cAAc,CA8D9F"}
1
+ {"version":3,"file":"easeCubicBezier.d.ts","sourceRoot":"","sources":["../src/easeCubicBezier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAQ/D,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,cAAc,CA8D9F"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeInElastic: EasingFunction;
3
3
  export declare const easeInOutElastic: EasingFunction;
4
4
  export declare const easeOutElastic: EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeElastic.d.ts","sourceRoot":"","sources":["../src/easeElastic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,aAAa,EAAE,cAG3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,cAI9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,cAG5B,CAAC"}
1
+ {"version":3,"file":"easeElastic.d.ts","sourceRoot":"","sources":["../src/easeElastic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,cAG3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,cAI9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,cAG5B,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeInExponential: EasingFunction;
3
3
  export declare const easeInOutExponential: EasingFunction;
4
4
  export declare const easeOutExponential: EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeExponential.d.ts","sourceRoot":"","sources":["../src/easeExponential.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,iBAAiB,EAAE,cAAgE,CAAC;AAEjG,eAAO,MAAM,oBAAoB,EAAE,cAGlC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,cAAgE,CAAC"}
1
+ {"version":3,"file":"easeExponential.d.ts","sourceRoot":"","sources":["../src/easeExponential.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,iBAAiB,EAAE,cAAgE,CAAC;AAEjG,eAAO,MAAM,oBAAoB,EAAE,cAGlC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,cAAgE,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeLinear: EasingFunction;
3
3
  //# sourceMappingURL=easeLinear.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"easeLinear.d.ts","sourceRoot":"","sources":["../src/easeLinear.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,UAAU,EAAE,cAAyB,CAAC"}
1
+ {"version":3,"file":"easeLinear.d.ts","sourceRoot":"","sources":["../src/easeLinear.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,UAAU,EAAE,cAAyB,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { EasingFunction, EasingSegment } from '@flighthq/types';
1
+ import type { EasingFunction, EasingSegment } from '@flighthq/types/contract';
2
2
  export declare function easePiecewise(segments: Readonly<ReadonlyArray<Readonly<EasingSegment>>>): EasingFunction;
3
3
  //# sourceMappingURL=easePiecewise.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"easePiecewise.d.ts","sourceRoot":"","sources":["../src/easePiecewise.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAYrE,wBAAgB,aAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,cAAc,CAoCxG"}
1
+ {"version":3,"file":"easePiecewise.d.ts","sourceRoot":"","sources":["../src/easePiecewise.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAY9E,wBAAgB,aAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,cAAc,CAoCxG"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare function easeInOutPower(exponent: number): EasingFunction;
3
3
  export declare function easeInPower(exponent: number): EasingFunction;
4
4
  export declare function easeOutPower(exponent: number): EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easePower.d.ts","sourceRoot":"","sources":["../src/easePower.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKtD,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAK/D;AAMD,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAE5D;AAKD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAE7D"}
1
+ {"version":3,"file":"easePower.d.ts","sourceRoot":"","sources":["../src/easePower.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK/D,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAK/D;AAMD,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAE5D;AAKD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAE7D"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeInOutQuadratic: EasingFunction;
3
3
  export declare const easeInQuadratic: EasingFunction;
4
4
  export declare const easeOutQuadratic: EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeQuadratic.d.ts","sourceRoot":"","sources":["../src/easeQuadratic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,EAAE,cAA+E,CAAC;AAEjH,eAAO,MAAM,eAAe,EAAE,cAA6B,CAAC;AAE5D,eAAO,MAAM,gBAAgB,EAAE,cAAmC,CAAC"}
1
+ {"version":3,"file":"easeQuadratic.d.ts","sourceRoot":"","sources":["../src/easeQuadratic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,kBAAkB,EAAE,cAA+E,CAAC;AAEjH,eAAO,MAAM,eAAe,EAAE,cAA6B,CAAC;AAE5D,eAAO,MAAM,gBAAgB,EAAE,cAAmC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeInOutQuartic: EasingFunction;
3
3
  export declare const easeInQuartic: EasingFunction;
4
4
  export declare const easeOutQuartic: EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeQuartic.d.ts","sourceRoot":"","sources":["../src/easeQuartic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,gBAAgB,EAAE,cAAuF,CAAC;AAEvH,eAAO,MAAM,aAAa,EAAE,cAAqC,CAAC;AAElE,eAAO,MAAM,cAAc,EAAE,cAA8C,CAAC"}
1
+ {"version":3,"file":"easeQuartic.d.ts","sourceRoot":"","sources":["../src/easeQuartic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,gBAAgB,EAAE,cAAuF,CAAC;AAEvH,eAAO,MAAM,aAAa,EAAE,cAAqC,CAAC;AAElE,eAAO,MAAM,cAAc,EAAE,cAA8C,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeInOutQuintic: EasingFunction;
3
3
  export declare const easeInQuintic: EasingFunction;
4
4
  export declare const easeOutQuintic: EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeQuintic.d.ts","sourceRoot":"","sources":["../src/easeQuintic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,gBAAgB,EAAE,cACqC,CAAC;AAErE,eAAO,MAAM,aAAa,EAAE,cAAyC,CAAC;AAEtE,eAAO,MAAM,cAAc,EAAE,cAA8C,CAAC"}
1
+ {"version":3,"file":"easeQuintic.d.ts","sourceRoot":"","sources":["../src/easeQuintic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,gBAAgB,EAAE,cACqC,CAAC;AAErE,eAAO,MAAM,aAAa,EAAE,cAAyC,CAAC;AAEtE,eAAO,MAAM,cAAc,EAAE,cAA8C,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare const easeInOutSine: EasingFunction;
3
3
  export declare const easeInSine: EasingFunction;
4
4
  export declare const easeOutSine: EasingFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"easeSine.d.ts","sourceRoot":"","sources":["../src/easeSine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,aAAa,EAAE,cAAwD,CAAC;AAErF,eAAO,MAAM,UAAU,EAAE,cAAuD,CAAC;AAEjF,eAAO,MAAM,WAAW,EAAE,cAAmD,CAAC"}
1
+ {"version":3,"file":"easeSine.d.ts","sourceRoot":"","sources":["../src/easeSine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,cAAwD,CAAC;AAErF,eAAO,MAAM,UAAU,EAAE,cAAuD,CAAC;AAEjF,eAAO,MAAM,WAAW,EAAE,cAAmD,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EasingFunction, ScalarRemap } from '@flighthq/types';
1
+ import type { EasingFunction, ScalarRemap } from '@flighthq/types/contract';
2
2
  export declare const easeSmootherstep: EasingFunction;
3
3
  export declare const easeSmoothstep: EasingFunction;
4
4
  export declare function easeSmoothstepRange(edge0: number, edge1: number): ScalarRemap;
@@ -1 +1 @@
1
- {"version":3,"file":"easeSmoothstep.d.ts","sourceRoot":"","sources":["../src/easeSmoothstep.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAKnE,eAAO,MAAM,gBAAgB,EAAE,cAA2D,CAAC;AAG3F,eAAO,MAAM,cAAc,EAAE,cAA2C,CAAC;AAMzE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,WAAW,CAK7E"}
1
+ {"version":3,"file":"easeSmoothstep.d.ts","sourceRoot":"","sources":["../src/easeSmoothstep.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAK5E,eAAO,MAAM,gBAAgB,EAAE,cAA2D,CAAC;AAG3F,eAAO,MAAM,cAAc,EAAE,cAA2C,CAAC;AAMzE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,WAAW,CAK7E"}
@@ -1,3 +1,3 @@
1
- import type { EasingFunction, StepPosition } from '@flighthq/types';
1
+ import type { EasingFunction, StepPosition } from '@flighthq/types/contract';
2
2
  export declare function easeSteps(count: number, position?: StepPosition): EasingFunction;
3
3
  //# sourceMappingURL=easeSteps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"easeSteps.d.ts","sourceRoot":"","sources":["../src/easeSteps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAcpE,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,GAAE,YAAwB,GAAG,cAAc,CAc3F"}
1
+ {"version":3,"file":"easeSteps.d.ts","sourceRoot":"","sources":["../src/easeSteps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAc7E,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,GAAE,YAAwB,GAAG,cAAc,CAc3F"}
@@ -1,3 +1,3 @@
1
- import type { EasingFunction } from '@flighthq/types';
1
+ import type { EasingFunction } from '@flighthq/types/contract';
2
2
  export declare function getEasingDerivative(ease: EasingFunction, t: number, epsilon?: number): number;
3
3
  //# sourceMappingURL=getEasingDerivative.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEasingDerivative.d.ts","sourceRoot":"","sources":["../src/getEasingDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AActD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,GAAE,MAAuB,GAAG,MAAM,CAW7G"}
1
+ {"version":3,"file":"getEasingDerivative.d.ts","sourceRoot":"","sources":["../src/getEasingDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAc/D,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,GAAE,MAAuB,GAAG,MAAM,CAW7G"}
package/dist/index.d.ts CHANGED
@@ -1,20 +1,2 @@
1
- export * from './createEasingSamples';
2
- export * from './easeBack';
3
- export * from './easeBounce';
4
- export * from './easeCircular';
5
- export * from './easeCombinators';
6
- export * from './easeCubic';
7
- export * from './easeCubicBezier';
8
- export * from './easeElastic';
9
- export * from './easeExponential';
10
- export * from './easeLinear';
11
- export * from './easePiecewise';
12
- export * from './easePower';
13
- export * from './easeQuadratic';
14
- export * from './easeQuartic';
15
- export * from './easeQuintic';
16
- export * from './easeSine';
17
- export * from './easeSmoothstep';
18
- export * from './easeSteps';
19
- export * from './getEasingDerivative';
1
+ export { createEasingSamples, easeClamp, easeClampOutput, easeCubicBezier, easeInBack, easeInBounce, easeInCircular, easeInCubic, easeInElastic, easeInExponential, easeInOutBack, easeInOutBounce, easeInOutCircular, easeInOutCubic, easeInOutElastic, easeInOutExponential, easeInOutPower, easeInOutQuadratic, easeInOutQuartic, easeInOutQuintic, easeInOutSine, easeInPower, easeInQuadratic, easeInQuartic, easeInQuintic, easeInSine, easeInvert, easeLinear, easeMirror, easeOutBack, easeOutBounce, easeOutCircular, easeOutCubic, easeOutElastic, easeOutExponential, easeOutPower, easeOutQuadratic, easeOutQuartic, easeOutQuintic, easeOutSine, easePiecewise, easeReverse, easeScaleOutput, easeSmootherstep, easeSmoothstep, easeSmoothstepRange, easeSteps, getEasingDerivative, } from './contract';
20
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,SAAS,EACT,eAAe,EACf,eAAe,EACf,UAAU,EACV,YAAY,EACZ,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,eAAe,EACf,aAAa,EACb,aAAa,EACb,UAAU,EACV,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,WAAW,EACX,aAAa,EACb,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,SAAS,EACT,mBAAmB,GACpB,MAAM,YAAY,CAAC"}
package/dist/index.js CHANGED
@@ -1,20 +1,2 @@
1
- export * from './createEasingSamples';
2
- export * from './easeBack';
3
- export * from './easeBounce';
4
- export * from './easeCircular';
5
- export * from './easeCombinators';
6
- export * from './easeCubic';
7
- export * from './easeCubicBezier';
8
- export * from './easeElastic';
9
- export * from './easeExponential';
10
- export * from './easeLinear';
11
- export * from './easePiecewise';
12
- export * from './easePower';
13
- export * from './easeQuadratic';
14
- export * from './easeQuartic';
15
- export * from './easeQuintic';
16
- export * from './easeSine';
17
- export * from './easeSmoothstep';
18
- export * from './easeSteps';
19
- export * from './getEasingDerivative';
1
+ export { createEasingSamples, easeClamp, easeClampOutput, easeCubicBezier, easeInBack, easeInBounce, easeInCircular, easeInCubic, easeInElastic, easeInExponential, easeInOutBack, easeInOutBounce, easeInOutCircular, easeInOutCubic, easeInOutElastic, easeInOutExponential, easeInOutPower, easeInOutQuadratic, easeInOutQuartic, easeInOutQuintic, easeInOutSine, easeInPower, easeInQuadratic, easeInQuartic, easeInQuintic, easeInSine, easeInvert, easeLinear, easeMirror, easeOutBack, easeOutBounce, easeOutCircular, easeOutCubic, easeOutElastic, easeOutExponential, easeOutPower, easeOutQuadratic, easeOutQuartic, easeOutQuintic, easeOutSine, easePiecewise, easeReverse, easeScaleOutput, easeSmootherstep, easeSmoothstep, easeSmoothstepRange, easeSteps, getEasingDerivative, } from './contract';
20
2
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,SAAS,EACT,eAAe,EACf,eAAe,EACf,UAAU,EACV,YAAY,EACZ,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,eAAe,EACf,aAAa,EACb,aAAa,EACb,UAAU,EACV,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,WAAW,EACX,aAAa,EACb,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,SAAS,EACT,mBAAmB,GACpB,MAAM,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/easing",
3
- "version": "0.2.1-next.841.373388f",
3
+ "version": "0.3.0-next.1032.e2b99fc",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/flighthq/flight.git",
@@ -13,6 +13,10 @@
13
13
  ".": {
14
14
  "types": "./dist/index.d.ts",
15
15
  "default": "./dist/index.js"
16
+ },
17
+ "./contract": {
18
+ "types": "./dist/contract.d.ts",
19
+ "default": "./dist/contract.js"
16
20
  }
17
21
  },
18
22
  "files": [
@@ -32,7 +36,7 @@
32
36
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
33
37
  },
34
38
  "dependencies": {
35
- "@flighthq/types": "0.2.1-next.841.373388f"
39
+ "@flighthq/types": "0.3.0-next.1032.e2b99fc"
36
40
  },
37
41
  "devDependencies": {
38
42
  "typescript": "^5.3.0"